@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 @@
|
|
|
1
|
+
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.\"),\n}).describe(\"Input model for deleting a PayPal webhook.\");\nconst PaypalDeleteWebhook_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteWebhook_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteWebhookOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteWebhook_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Output model for deleting a PayPal webhook.\");\n\nexport const paypalDeleteWebhook = action(\"PAYPAL_DELETE_WEBHOOK\", {\n slug: \"paypal-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.\",\n input: PaypalDeleteWebhookInput,\n output: PaypalDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO,EAC7D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA0DA,IAAAA,EAAE,OAAO;CACvE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,wCAAsDA,IAAAA,EAAE,OAAO;CACnE,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF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3
|
+
//#region src/actions/delete-webhook.d.ts
|
|
4
|
+
declare const PaypalDeleteWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeleteWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeleteWebhook };
|
|
9
|
+
//# sourceMappingURL=delete-webhook.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.cts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAa5C,yBAAA,EAA2B,CAAA,CAAE,UAOgB;AAAA,cAE7C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/delete-webhook.d.ts
|
|
4
|
+
declare const PaypalDeleteWebhookInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalDeleteWebhookOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalDeleteWebhook };
|
|
9
|
+
//# sourceMappingURL=delete-webhook.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-webhook.d.mts","names":[],"sources":["../../src/actions/delete-webhook.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAEgB;AAAA,cAa5C,yBAAA,EAA2B,CAAA,CAAE,UAOgB;AAAA,cAE7C,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/delete-webhook.ts
|
|
4
|
+
const PaypalDeleteWebhookInput = z.object({ webhook_id: z.string().describe("The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.") }).describe("Input model for deleting a PayPal webhook.");
|
|
5
|
+
const PaypalDeleteWebhook_LinkDescriptionSchema = z.object({
|
|
6
|
+
rel: z.string().describe("The relationship between the resource and the link."),
|
|
7
|
+
href: z.string().describe("The URI of the related resource."),
|
|
8
|
+
method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
9
|
+
}).describe("HATEOAS link information.");
|
|
10
|
+
const PaypalDeleteWebhook_ErrorDetailSchema = z.object({
|
|
11
|
+
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
12
|
+
issue: z.string().describe("The issue description."),
|
|
13
|
+
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
14
|
+
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
15
|
+
description: z.string().describe("The error description.").nullable().optional()
|
|
16
|
+
}).describe("Error detail information.");
|
|
17
|
+
const paypalDeleteWebhook = action("PAYPAL_DELETE_WEBHOOK", {
|
|
18
|
+
slug: "paypal-delete-webhook",
|
|
19
|
+
name: "Delete Webhook",
|
|
20
|
+
description: "Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.",
|
|
21
|
+
input: PaypalDeleteWebhookInput,
|
|
22
|
+
output: z.object({
|
|
23
|
+
name: z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
24
|
+
links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
25
|
+
details: z.array(PaypalDeleteWebhook_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
26
|
+
message: z.string().describe("The message that describes the error.").nullable().optional(),
|
|
27
|
+
debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
28
|
+
information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
29
|
+
}).describe("Output model for deleting a PayPal webhook.")
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { paypalDeleteWebhook };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=delete-webhook.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebhookInput: z.ZodTypeAny = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.\"),\n}).describe(\"Input model for deleting a PayPal webhook.\");\nconst PaypalDeleteWebhook_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\"),\n href: z.string().describe(\"The URI of the related resource.\"),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteWebhook_ErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\"),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteWebhookOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteWebhook_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Output model for deleting a PayPal webhook.\");\n\nexport const paypalDeleteWebhook = action(\"PAYPAL_DELETE_WEBHOOK\", {\n slug: \"paypal-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.\",\n input: PaypalDeleteWebhookInput,\n output: PaypalDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO,EAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,4CAA0D,EAAE,OAAO;CACvE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD;CAC9E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;AACvC,MAAM,wCAAsD,EAAE,OAAO;CACnE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CACnD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,SAAS,2BAA2B;AAUvC,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/fetch-node.ts
|
|
4
|
+
const PaypalFetchNodeInput = zod.z.object({ node_id: zod.z.string().describe("The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.") }).describe("Request schema for fetching a Node object from Braintree GraphQL API.\n\nUse this action when you need to fetch any object that extends the GraphQL\nNode interface (e.g., transactions, customers, payment methods, etc.) using\nits global ID. This is useful for retrieving details about specific\nBraintree resources when you have their ID.");
|
|
5
|
+
const PaypalFetchNode_NodeDataSchema = zod.z.object({ id: zod.z.string().describe("The global ID of the node.").nullable().optional() }).describe("A placeholder model for the fetched node. The actual fields depend on the node type.");
|
|
6
|
+
const PaypalFetchNode_NodeResponseSchema = zod.z.object({ node: PaypalFetchNode_NodeDataSchema.nullable().optional() }).describe("Response schema for the node query.");
|
|
7
|
+
const PaypalFetchNode_GraphQLErrorLocationSchema = zod.z.object({
|
|
8
|
+
line: zod.z.number().int().describe("The line number in the query where the error occurred.").nullable().optional(),
|
|
9
|
+
column: zod.z.number().int().describe("The column number in the query where the error occurred.").nullable().optional()
|
|
10
|
+
}).describe("A location in the GraphQL query that caused an error.");
|
|
11
|
+
const PaypalFetchNode_GraphQLErrorSchema = zod.z.object({
|
|
12
|
+
path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
|
|
13
|
+
message: zod.z.string().describe("A human-readable error message describing the issue."),
|
|
14
|
+
locations: zod.z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe("The locations in the query that caused the error.").nullable().optional()
|
|
15
|
+
}).describe("A GraphQL error returned by the API.");
|
|
16
|
+
const PaypalFetchNodeOutput = zod.z.object({
|
|
17
|
+
data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),
|
|
18
|
+
errors: zod.z.array(PaypalFetchNode_GraphQLErrorSchema).describe("Any GraphQL errors that occurred during query execution.").nullable().optional()
|
|
19
|
+
}).describe("Root response schema for GraphQL node query.");
|
|
20
|
+
const paypalFetchNode = require_action.action("PAYPAL_FETCH_NODE", {
|
|
21
|
+
slug: "paypal-fetch-node",
|
|
22
|
+
name: "Fetch Braintree Node",
|
|
23
|
+
description: "Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.",
|
|
24
|
+
input: PaypalFetchNodeInput,
|
|
25
|
+
output: PaypalFetchNodeOutput
|
|
26
|
+
});
|
|
27
|
+
//#endregion
|
|
28
|
+
exports.paypalFetchNode = paypalFetchNode;
|
|
29
|
+
|
|
30
|
+
//# sourceMappingURL=fetch-node.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-node.cjs","names":["z","action"],"sources":["../../src/actions/fetch-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFetchNodeInput: z.ZodTypeAny = z.object({\n node_id: z.string().describe(\"The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.\"),\n}).describe(\"Request schema for fetching a Node object from Braintree GraphQL API.\\n\\nUse this action when you need to fetch any object that extends the GraphQL\\nNode interface (e.g., transactions, customers, payment methods, etc.) using\\nits global ID. This is useful for retrieving details about specific\\nBraintree resources when you have their ID.\");\nconst PaypalFetchNode_NodeDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The global ID of the node.\").nullable().optional(),\n}).describe(\"A placeholder model for the fetched node. The actual fields depend on the node type.\");\nconst PaypalFetchNode_NodeResponseSchema: z.ZodTypeAny = z.object({\n node: PaypalFetchNode_NodeDataSchema.nullable().optional(),\n}).describe(\"Response schema for the node query.\");\nconst PaypalFetchNode_GraphQLErrorLocationSchema: z.ZodTypeAny = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalFetchNode_GraphQLErrorSchema: z.ZodTypeAny = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\"),\n locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).describe(\"A GraphQL error returned by the API.\");\nexport const PaypalFetchNodeOutput: z.ZodTypeAny = z.object({\n data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),\n errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).describe(\"Root response schema for GraphQL node query.\");\n\nexport const paypalFetchNode = action(\"PAYPAL_FETCH_NODE\", {\n slug: \"paypal-fetch-node\",\n name: \"Fetch Braintree Node\",\n description: \"Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.\",\n input: PaypalFetchNodeInput,\n output: PaypalFetchNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqCA,IAAAA,EAAE,OAAO,EACzD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACtI,CAAC,CAAC,CAAC,SAAS,oVAAoV;AAChW,MAAM,iCAA+CA,IAAAA,EAAE,OAAO,EAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,qCAAmDA,IAAAA,EAAE,OAAO,EAChE,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC3D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,6CAA2DA,IAAAA,EAAE,OAAO;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,qCAAmDA,IAAAA,EAAE,OAAO;CAChE,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,WAAWA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAClD,MAAa,wBAAsCA,IAAAA,EAAE,OAAO;CAC1D,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAE1D,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,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/fetch-node.d.ts
|
|
4
|
+
declare const PaypalFetchNodeInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalFetchNodeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalFetchNode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalFetchNode };
|
|
9
|
+
//# sourceMappingURL=fetch-node.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-node.d.cts","names":[],"sources":["../../src/actions/fetch-node.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAE4T;AAAA,cAgBpV,qBAAA,EAAuB,CAAA,CAAE,UAGqB;AAAA,cAE9C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/fetch-node.d.ts
|
|
4
|
+
declare const PaypalFetchNodeInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalFetchNodeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalFetchNode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalFetchNode };
|
|
9
|
+
//# sourceMappingURL=fetch-node.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-node.d.mts","names":[],"sources":["../../src/actions/fetch-node.ts"],"mappings":";;;cAIa,oBAAA,EAAsB,CAAA,CAAE,UAE4T;AAAA,cAgBpV,qBAAA,EAAuB,CAAA,CAAE,UAGqB;AAAA,cAE9C,eAAA,gCAAe,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/fetch-node.ts
|
|
4
|
+
const PaypalFetchNodeInput = z.object({ node_id: z.string().describe("The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.") }).describe("Request schema for fetching a Node object from Braintree GraphQL API.\n\nUse this action when you need to fetch any object that extends the GraphQL\nNode interface (e.g., transactions, customers, payment methods, etc.) using\nits global ID. This is useful for retrieving details about specific\nBraintree resources when you have their ID.");
|
|
5
|
+
const PaypalFetchNode_NodeDataSchema = z.object({ id: z.string().describe("The global ID of the node.").nullable().optional() }).describe("A placeholder model for the fetched node. The actual fields depend on the node type.");
|
|
6
|
+
const PaypalFetchNode_NodeResponseSchema = z.object({ node: PaypalFetchNode_NodeDataSchema.nullable().optional() }).describe("Response schema for the node query.");
|
|
7
|
+
const PaypalFetchNode_GraphQLErrorLocationSchema = z.object({
|
|
8
|
+
line: z.number().int().describe("The line number in the query where the error occurred.").nullable().optional(),
|
|
9
|
+
column: z.number().int().describe("The column number in the query where the error occurred.").nullable().optional()
|
|
10
|
+
}).describe("A location in the GraphQL query that caused an error.");
|
|
11
|
+
const PaypalFetchNode_GraphQLErrorSchema = z.object({
|
|
12
|
+
path: z.array(z.union([z.string(), z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
|
|
13
|
+
message: z.string().describe("A human-readable error message describing the issue."),
|
|
14
|
+
locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe("The locations in the query that caused the error.").nullable().optional()
|
|
15
|
+
}).describe("A GraphQL error returned by the API.");
|
|
16
|
+
const paypalFetchNode = action("PAYPAL_FETCH_NODE", {
|
|
17
|
+
slug: "paypal-fetch-node",
|
|
18
|
+
name: "Fetch Braintree Node",
|
|
19
|
+
description: "Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.",
|
|
20
|
+
input: PaypalFetchNodeInput,
|
|
21
|
+
output: z.object({
|
|
22
|
+
data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),
|
|
23
|
+
errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe("Any GraphQL errors that occurred during query execution.").nullable().optional()
|
|
24
|
+
}).describe("Root response schema for GraphQL node query.")
|
|
25
|
+
});
|
|
26
|
+
//#endregion
|
|
27
|
+
export { paypalFetchNode };
|
|
28
|
+
|
|
29
|
+
//# sourceMappingURL=fetch-node.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fetch-node.mjs","names":[],"sources":["../../src/actions/fetch-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFetchNodeInput: z.ZodTypeAny = z.object({\n node_id: z.string().describe(\"The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.\"),\n}).describe(\"Request schema for fetching a Node object from Braintree GraphQL API.\\n\\nUse this action when you need to fetch any object that extends the GraphQL\\nNode interface (e.g., transactions, customers, payment methods, etc.) using\\nits global ID. This is useful for retrieving details about specific\\nBraintree resources when you have their ID.\");\nconst PaypalFetchNode_NodeDataSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The global ID of the node.\").nullable().optional(),\n}).describe(\"A placeholder model for the fetched node. The actual fields depend on the node type.\");\nconst PaypalFetchNode_NodeResponseSchema: z.ZodTypeAny = z.object({\n node: PaypalFetchNode_NodeDataSchema.nullable().optional(),\n}).describe(\"Response schema for the node query.\");\nconst PaypalFetchNode_GraphQLErrorLocationSchema: z.ZodTypeAny = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalFetchNode_GraphQLErrorSchema: z.ZodTypeAny = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\"),\n locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).describe(\"A GraphQL error returned by the API.\");\nexport const PaypalFetchNodeOutput: z.ZodTypeAny = z.object({\n data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),\n errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).describe(\"Root response schema for GraphQL node query.\");\n\nexport const paypalFetchNode = action(\"PAYPAL_FETCH_NODE\", {\n slug: \"paypal-fetch-node\",\n name: \"Fetch Braintree Node\",\n description: \"Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.\",\n input: PaypalFetchNodeInput,\n output: PaypalFetchNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAqC,EAAE,OAAO,EACzD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACtI,CAAC,CAAC,CAAC,SAAS,oVAAoV;AAChW,MAAM,iCAA+C,EAAE,OAAO,EAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,sFAAsF;AAClG,MAAM,qCAAmD,EAAE,OAAO,EAChE,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC3D,CAAC,CAAC,CAAC,SAAS,qCAAqC;AACjD,MAAM,6CAA2D,EAAE,OAAO;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,qCAAmD,EAAE,OAAO;CAChE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD;CACnF,WAAW,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,SAAS,sCAAsC;AAMlD,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAViD,EAAE,OAAO;EAC1D,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC7D,QAAQ,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,SAAS,8CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/finalize-pay-pal-braintree-dispute.ts
|
|
4
|
+
const PaypalFinalizePayPalBraintreeDisputeInput = zod.z.object({ dispute_id: zod.z.string().describe("The ID of the dispute to finalize. Only disputes with a status of OPEN can be finalized.") }).describe("Request schema for finalizing a Braintree dispute.");
|
|
5
|
+
const PaypalFinalizePayPalBraintreeDispute_DisputeSchema = zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique identifier for the dispute.").nullable().optional(),
|
|
7
|
+
status: zod.z.string().describe("The current status of the dispute after finalization.").nullable().optional()
|
|
8
|
+
}).describe("The dispute object returned after finalizing a dispute.");
|
|
9
|
+
const PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema = zod.z.object({ dispute: PaypalFinalizePayPalBraintreeDispute_DisputeSchema.nullable().optional() }).describe("The payload returned after finalizing a dispute.");
|
|
10
|
+
const PaypalFinalizePayPalBraintreeDisputeOutput = zod.z.object({ finalizeDispute: PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema.nullable().optional() }).describe("Response schema for finalizing a Braintree dispute.");
|
|
11
|
+
const paypalFinalizePayPalBraintreeDispute = require_action.action("PAYPAL_FINALIZE_PAY_PAL_BRAINTREE_DISPUTE", {
|
|
12
|
+
slug: "paypal-finalize-pay-pal-braintree-dispute",
|
|
13
|
+
name: "Finalize Braintree Dispute",
|
|
14
|
+
description: "Finalizes a Braintree dispute after adding evidence, submitting it to the cardholder's bank for review. Use this action when you have finished adding evidence to an OPEN dispute and want to formally submit it for review. Only disputes with a status of OPEN can be finalized. This action must be performed before the reply-by date deadline. Once finalized, the dispute cannot be modified or additional evidence added. Note: This action uses the Braintree GraphQL API endpoint, which is separate from the standard PayPal REST API.",
|
|
15
|
+
input: PaypalFinalizePayPalBraintreeDisputeInput,
|
|
16
|
+
output: PaypalFinalizePayPalBraintreeDisputeOutput
|
|
17
|
+
});
|
|
18
|
+
//#endregion
|
|
19
|
+
exports.paypalFinalizePayPalBraintreeDispute = paypalFinalizePayPalBraintreeDispute;
|
|
20
|
+
|
|
21
|
+
//# sourceMappingURL=finalize-pay-pal-braintree-dispute.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-pay-pal-braintree-dispute.cjs","names":["z","action"],"sources":["../../src/actions/finalize-pay-pal-braintree-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFinalizePayPalBraintreeDisputeInput: z.ZodTypeAny = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to finalize. Only disputes with a status of OPEN can be finalized.\"),\n}).describe(\"Request schema for finalizing a Braintree dispute.\");\nconst PaypalFinalizePayPalBraintreeDispute_DisputeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the dispute.\").nullable().optional(),\n status: z.string().describe(\"The current status of the dispute after finalization.\").nullable().optional(),\n}).describe(\"The dispute object returned after finalizing a dispute.\");\nconst PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema: z.ZodTypeAny = z.object({\n dispute: PaypalFinalizePayPalBraintreeDispute_DisputeSchema.nullable().optional(),\n}).describe(\"The payload returned after finalizing a dispute.\");\nexport const PaypalFinalizePayPalBraintreeDisputeOutput: z.ZodTypeAny = z.object({\n finalizeDispute: PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema.nullable().optional(),\n}).describe(\"Response schema for finalizing a Braintree dispute.\");\n\nexport const paypalFinalizePayPalBraintreeDispute = action(\"PAYPAL_FINALIZE_PAY_PAL_BRAINTREE_DISPUTE\", {\n slug: \"paypal-finalize-pay-pal-braintree-dispute\",\n name: \"Finalize Braintree Dispute\",\n description: \"Finalizes a Braintree dispute after adding evidence, submitting it to the cardholder's bank for review. Use this action when you have finished adding evidence to an OPEN dispute and want to formally submit it for review. Only disputes with a status of OPEN can be finalized. This action must be performed before the reply-by date deadline. Once finalized, the dispute cannot be modified or additional evidence added. Note: This action uses the Braintree GraphQL API endpoint, which is separate from the standard PayPal REST API.\",\n input: PaypalFinalizePayPalBraintreeDisputeInput,\n output: PaypalFinalizePayPalBraintreeDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0DA,IAAAA,EAAE,OAAO,EAC9E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EAC5H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qDAAmEA,IAAAA,EAAE,OAAO;CAChF,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,oEAAkFA,IAAAA,EAAE,OAAO,EAC/F,SAAS,mDAAmD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAC9D,MAAa,6CAA2DA,IAAAA,EAAE,OAAO,EAC/E,iBAAiB,kEAAkE,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAEjE,MAAa,uCAAuCC,eAAAA,OAAO,6CAA6C;CACtG,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/finalize-pay-pal-braintree-dispute.d.ts
|
|
4
|
+
declare const PaypalFinalizePayPalBraintreeDisputeInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalFinalizePayPalBraintreeDisputeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalFinalizePayPalBraintreeDispute: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalFinalizePayPalBraintreeDispute };
|
|
9
|
+
//# sourceMappingURL=finalize-pay-pal-braintree-dispute.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-pay-pal-braintree-dispute.d.cts","names":[],"sources":["../../src/actions/finalize-pay-pal-braintree-dispute.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEO;AAAA,cAQpD,0CAAA,EAA4C,CAAA,CAAE,UAEO;AAAA,cAErD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/finalize-pay-pal-braintree-dispute.d.ts
|
|
4
|
+
declare const PaypalFinalizePayPalBraintreeDisputeInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalFinalizePayPalBraintreeDisputeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalFinalizePayPalBraintreeDispute: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalFinalizePayPalBraintreeDispute };
|
|
9
|
+
//# sourceMappingURL=finalize-pay-pal-braintree-dispute.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-pay-pal-braintree-dispute.d.mts","names":[],"sources":["../../src/actions/finalize-pay-pal-braintree-dispute.ts"],"mappings":";;;cAIa,yCAAA,EAA2C,CAAA,CAAE,UAEO;AAAA,cAQpD,0CAAA,EAA4C,CAAA,CAAE,UAEO;AAAA,cAErD,oCAAA,gCAAoC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/finalize-pay-pal-braintree-dispute.ts
|
|
4
|
+
const PaypalFinalizePayPalBraintreeDisputeInput = z.object({ dispute_id: z.string().describe("The ID of the dispute to finalize. Only disputes with a status of OPEN can be finalized.") }).describe("Request schema for finalizing a Braintree dispute.");
|
|
5
|
+
const PaypalFinalizePayPalBraintreeDispute_DisputeSchema = z.object({
|
|
6
|
+
id: z.string().describe("The unique identifier for the dispute.").nullable().optional(),
|
|
7
|
+
status: z.string().describe("The current status of the dispute after finalization.").nullable().optional()
|
|
8
|
+
}).describe("The dispute object returned after finalizing a dispute.");
|
|
9
|
+
const PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema = z.object({ dispute: PaypalFinalizePayPalBraintreeDispute_DisputeSchema.nullable().optional() }).describe("The payload returned after finalizing a dispute.");
|
|
10
|
+
const paypalFinalizePayPalBraintreeDispute = action("PAYPAL_FINALIZE_PAY_PAL_BRAINTREE_DISPUTE", {
|
|
11
|
+
slug: "paypal-finalize-pay-pal-braintree-dispute",
|
|
12
|
+
name: "Finalize Braintree Dispute",
|
|
13
|
+
description: "Finalizes a Braintree dispute after adding evidence, submitting it to the cardholder's bank for review. Use this action when you have finished adding evidence to an OPEN dispute and want to formally submit it for review. Only disputes with a status of OPEN can be finalized. This action must be performed before the reply-by date deadline. Once finalized, the dispute cannot be modified or additional evidence added. Note: This action uses the Braintree GraphQL API endpoint, which is separate from the standard PayPal REST API.",
|
|
14
|
+
input: PaypalFinalizePayPalBraintreeDisputeInput,
|
|
15
|
+
output: z.object({ finalizeDispute: PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema.nullable().optional() }).describe("Response schema for finalizing a Braintree dispute.")
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
export { paypalFinalizePayPalBraintreeDispute };
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=finalize-pay-pal-braintree-dispute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finalize-pay-pal-braintree-dispute.mjs","names":[],"sources":["../../src/actions/finalize-pay-pal-braintree-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFinalizePayPalBraintreeDisputeInput: z.ZodTypeAny = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to finalize. Only disputes with a status of OPEN can be finalized.\"),\n}).describe(\"Request schema for finalizing a Braintree dispute.\");\nconst PaypalFinalizePayPalBraintreeDispute_DisputeSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique identifier for the dispute.\").nullable().optional(),\n status: z.string().describe(\"The current status of the dispute after finalization.\").nullable().optional(),\n}).describe(\"The dispute object returned after finalizing a dispute.\");\nconst PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema: z.ZodTypeAny = z.object({\n dispute: PaypalFinalizePayPalBraintreeDispute_DisputeSchema.nullable().optional(),\n}).describe(\"The payload returned after finalizing a dispute.\");\nexport const PaypalFinalizePayPalBraintreeDisputeOutput: z.ZodTypeAny = z.object({\n finalizeDispute: PaypalFinalizePayPalBraintreeDispute_FinalizeDisputePayloadSchema.nullable().optional(),\n}).describe(\"Response schema for finalizing a Braintree dispute.\");\n\nexport const paypalFinalizePayPalBraintreeDispute = action(\"PAYPAL_FINALIZE_PAY_PAL_BRAINTREE_DISPUTE\", {\n slug: \"paypal-finalize-pay-pal-braintree-dispute\",\n name: \"Finalize Braintree Dispute\",\n description: \"Finalizes a Braintree dispute after adding evidence, submitting it to the cardholder's bank for review. Use this action when you have finished adding evidence to an OPEN dispute and want to formally submit it for review. Only disputes with a status of OPEN can be finalized. This action must be performed before the reply-by date deadline. Once finalized, the dispute cannot be modified or additional evidence added. Note: This action uses the Braintree GraphQL API endpoint, which is separate from the standard PayPal REST API.\",\n input: PaypalFinalizePayPalBraintreeDisputeInput,\n output: PaypalFinalizePayPalBraintreeDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4CAA0D,EAAE,OAAO,EAC9E,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0FAA0F,EAC5H,CAAC,CAAC,CAAC,SAAS,oDAAoD;AAChE,MAAM,qDAAmE,EAAE,OAAO;CAChF,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,oEAAkF,EAAE,OAAO,EAC/F,SAAS,mDAAmD,SAAS,CAAC,CAAC,SAAS,EAClF,CAAC,CAAC,CAAC,SAAS,kDAAkD;AAK9D,MAAa,uCAAuC,OAAO,6CAA6C;CACtG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QATsE,EAAE,OAAO,EAC/E,iBAAiB,kEAAkE,SAAS,CAAC,CAAC,SAAS,EACzG,CAAC,CAAC,CAAC,SAAS,qDAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/find-eligible-methods.ts
|
|
4
|
+
const PaypalFindEligibleMethodsInput = zod.z.object({
|
|
5
|
+
customer: zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The unique ID for a customer in merchant's or partner's system of records.").optional(),
|
|
7
|
+
email: zod.z.string().describe("The internationalized email address.").optional(),
|
|
8
|
+
phone: zod.z.object({
|
|
9
|
+
country_code: zod.z.string().describe("The country calling code, prefixed with '+' followed by the country code."),
|
|
10
|
+
national_number: zod.z.string().describe("The national number of the phone."),
|
|
11
|
+
extension_number: zod.z.string().describe("The extension number.").optional()
|
|
12
|
+
}).describe("The phone number of the customer.").optional(),
|
|
13
|
+
channel: zod.z.object({
|
|
14
|
+
client_os: zod.z.string().describe("The client operating system.").optional(),
|
|
15
|
+
device_type: zod.z.string().describe("The type of device.").optional(),
|
|
16
|
+
browser_type: zod.z.string().describe("The browser type of the customer.").optional()
|
|
17
|
+
}).describe("The channel through which the customer is interacting with the merchant.").optional(),
|
|
18
|
+
country_code: zod.z.string().describe("The country code of the customer, represented as the ISO 3166-1 alpha-2 country code.").optional()
|
|
19
|
+
}).describe("Customer who is making a purchase from the merchant/partner.").optional(),
|
|
20
|
+
preferences: zod.z.object({
|
|
21
|
+
payment_flow: zod.z.enum([
|
|
22
|
+
"ONE_TIME_PAYMENT",
|
|
23
|
+
"RECURRING_PAYMENT",
|
|
24
|
+
"VAULT_WITH_PAYMENT",
|
|
25
|
+
"VAULT_WITHOUT_PAYMENT"
|
|
26
|
+
]).describe("Specifies the payment flow for eligibility assessment.").optional(),
|
|
27
|
+
include_vault_tokens: zod.z.boolean().default(false).describe("If set to true, response will include vaulted token information if the eligible funding source has any instrument vaulted for the customer. Defaults to false.").optional(),
|
|
28
|
+
include_account_details: zod.z.boolean().default(false).describe("If set to true, response will include confirmation if the customer has PayPal and/or Venmo accounts if they are eligible payment methods. Defaults to false.").optional(),
|
|
29
|
+
payment_source_constraint: zod.z.object({
|
|
30
|
+
constraint_type: zod.z.enum(["INCLUDE", "EXCLUDE"]).describe("The constraint type for the payment sources. Use INCLUDE to restrict to specified sources, or EXCLUDE to exclude specified sources."),
|
|
31
|
+
payment_sources: zod.z.array(zod.z.string()).describe("The list of payment sources to include or exclude based on the constraint_type.")
|
|
32
|
+
}).describe("Payment source constraint defines the payment methods to include/exclude for eligibility assessment.").optional()
|
|
33
|
+
}).describe("Preferences of merchant/partner consuming the API.").optional(),
|
|
34
|
+
purchase_units: zod.z.array(zod.z.object({
|
|
35
|
+
payee: zod.z.object({
|
|
36
|
+
merchant_id: zod.z.string().describe("The PayPal-assigned ID for the payee.").optional(),
|
|
37
|
+
email_address: zod.z.string().describe("The email address of the payee.").optional()
|
|
38
|
+
}).describe("The payee details for the purchase unit.").optional(),
|
|
39
|
+
amount: zod.z.object({
|
|
40
|
+
value: zod.z.string().describe("The monetary value, often in the format '10.00' with two decimal places."),
|
|
41
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
42
|
+
}).describe("The currency and amount for the purchase unit.")
|
|
43
|
+
}).describe("Purchase unit for payment eligibility.")).describe("An array of purchase units for which to determine payment eligibility. Each unit includes amount and optionally payee information.")
|
|
44
|
+
}).describe("Request schema for finding eligible payment methods.\n\nUse this action when you need to discover which payment methods\nare available for a customer based on their country and purchase details.\nThis helps determine what payment options (PayPal, Venmo, etc.) can be offered.\n\n**Required fields:**\n- purchase_units: At least one purchase unit with amount information\n\n**Optional fields:**\n- customer: Customer information including country_code and email\n- preferences: Options for including vault tokens or specifying payment constraints");
|
|
45
|
+
const PaypalFindEligibleMethods_LinkDescriptionSchema = zod.z.object({
|
|
46
|
+
rel: zod.z.string().describe("The link relationship type.").nullable().optional(),
|
|
47
|
+
href: zod.z.string().describe("The complete URL to the related resource.").nullable().optional(),
|
|
48
|
+
method: zod.z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
49
|
+
}).describe("HATEOAS link information.");
|
|
50
|
+
const PaypalFindEligibleMethods_PaymentSourceSchema = zod.z.object({
|
|
51
|
+
name: zod.z.string().describe("The name on the payment source.").nullable().optional(),
|
|
52
|
+
type: zod.z.string().describe("The type of the payment source.").nullable().optional(),
|
|
53
|
+
source_id: zod.z.string().describe("The source ID of the vaulted instrument.").nullable().optional(),
|
|
54
|
+
attributes: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Additional attributes of the payment source.").nullable().optional(),
|
|
55
|
+
email_address: zod.z.string().describe("The email address associated with the payment source.").nullable().optional()
|
|
56
|
+
}).describe("The vaulted payment method details.");
|
|
57
|
+
const PaypalFindEligibleMethods_PaymentTokenSchema = zod.z.object({
|
|
58
|
+
id: zod.z.string().describe("The unique ID of the payment token."),
|
|
59
|
+
links: zod.z.array(PaypalFindEligibleMethods_LinkDescriptionSchema).describe("An array of HATEOAS links related to this payment token.").nullable().optional(),
|
|
60
|
+
payment_source: PaypalFindEligibleMethods_PaymentSourceSchema.nullable().optional()
|
|
61
|
+
}).describe("Payment token for a vaulted instrument.");
|
|
62
|
+
const PaypalFindEligibleMethods_PaymentMethodDetailsSchema = zod.z.object({
|
|
63
|
+
label: zod.z.string().describe("The display label for the payment method.").nullable().optional(),
|
|
64
|
+
vault_status: zod.z.string().describe("The vault status if the payment method is vaulted.").nullable().optional(),
|
|
65
|
+
product_usage: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Product-specific usage information for the payment method.").nullable().optional()
|
|
66
|
+
}).describe("Details about an eligible payment method.");
|
|
67
|
+
const PaypalFindEligibleMethods_PaymentMethodsSchema = zod.z.object({
|
|
68
|
+
venmo: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),
|
|
69
|
+
paypal: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),
|
|
70
|
+
paypal_credit: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),
|
|
71
|
+
paypal_pay_later: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional()
|
|
72
|
+
}).describe("The eligible payment methods.");
|
|
73
|
+
const PaypalFindEligibleMethodsOutput = zod.z.object({
|
|
74
|
+
payment_tokens: zod.z.array(PaypalFindEligibleMethods_PaymentTokenSchema).describe("Payment tokens for vaulted instruments, if available. Only included if include_vault_tokens is set to true in the request.").nullable().optional(),
|
|
75
|
+
eligible_methods: PaypalFindEligibleMethods_PaymentMethodsSchema.nullable().optional()
|
|
76
|
+
}).describe("Response schema for find eligible payment methods.\n\nContains the list of eligible payment methods and optionally\nvaulted tokens if requested in the preferences.");
|
|
77
|
+
const paypalFindEligibleMethods = require_action.action("PAYPAL_FIND_ELIGIBLE_METHODS", {
|
|
78
|
+
slug: "paypal-find-eligible-methods",
|
|
79
|
+
name: "Find eligible PayPal payment methods",
|
|
80
|
+
description: "Find a list of eligible payment methods for a customer. Use this action when you need to determine which payment methods (such as PayPal, PayPal Credit, Pay Later, or Venmo) are available for a customer based on their country and purchase details. This is useful for displaying appropriate payment options during checkout or determining payment eligibility before creating an order. The response includes available payment methods and optionally vaulted tokens if the customer has saved payment instruments. **Common use cases:** - Pre-checkout payment method availability - Display appropriate payment options to customers - Determine eligible funding sources for a transaction",
|
|
81
|
+
input: PaypalFindEligibleMethodsInput,
|
|
82
|
+
output: PaypalFindEligibleMethodsOutput
|
|
83
|
+
});
|
|
84
|
+
//#endregion
|
|
85
|
+
exports.paypalFindEligibleMethods = paypalFindEligibleMethods;
|
|
86
|
+
|
|
87
|
+
//# sourceMappingURL=find-eligible-methods.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.cjs","names":["z","action"],"sources":["../../src/actions/find-eligible-methods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFindEligibleMethodsInput: z.ZodTypeAny = z.object({\n customer: z.object({\n id: z.string().describe(\"The unique ID for a customer in merchant's or partner's system of records.\").optional(),\n email: z.string().describe(\"The internationalized email address.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"The country calling code, prefixed with '+' followed by the country code.\"),\n national_number: z.string().describe(\"The national number of the phone.\"),\n extension_number: z.string().describe(\"The extension number.\").optional(),\n}).describe(\"The phone number of the customer.\").optional(),\n channel: z.object({\n client_os: z.string().describe(\"The client operating system.\").optional(),\n device_type: z.string().describe(\"The type of device.\").optional(),\n browser_type: z.string().describe(\"The browser type of the customer.\").optional(),\n}).describe(\"The channel through which the customer is interacting with the merchant.\").optional(),\n country_code: z.string().describe(\"The country code of the customer, represented as the ISO 3166-1 alpha-2 country code.\").optional(),\n}).describe(\"Customer who is making a purchase from the merchant/partner.\").optional(),\n preferences: z.object({\n payment_flow: z.enum([\"ONE_TIME_PAYMENT\", \"RECURRING_PAYMENT\", \"VAULT_WITH_PAYMENT\", \"VAULT_WITHOUT_PAYMENT\"]).describe(\"Specifies the payment flow for eligibility assessment.\").optional(),\n include_vault_tokens: z.boolean().default(false).describe(\"If set to true, response will include vaulted token information if the eligible funding source has any instrument vaulted for the customer. Defaults to false.\").optional(),\n include_account_details: z.boolean().default(false).describe(\"If set to true, response will include confirmation if the customer has PayPal and/or Venmo accounts if they are eligible payment methods. Defaults to false.\").optional(),\n payment_source_constraint: z.object({\n constraint_type: z.enum([\"INCLUDE\", \"EXCLUDE\"]).describe(\"The constraint type for the payment sources. Use INCLUDE to restrict to specified sources, or EXCLUDE to exclude specified sources.\"),\n payment_sources: z.array(z.string()).describe(\"The list of payment sources to include or exclude based on the constraint_type.\"),\n}).describe(\"Payment source constraint defines the payment methods to include/exclude for eligibility assessment.\").optional(),\n}).describe(\"Preferences of merchant/partner consuming the API.\").optional(),\n purchase_units: z.array(z.object({\n payee: z.object({\n merchant_id: z.string().describe(\"The PayPal-assigned ID for the payee.\").optional(),\n email_address: z.string().describe(\"The email address of the payee.\").optional(),\n}).describe(\"The payee details for the purchase unit.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The monetary value, often in the format '10.00' with two decimal places.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for the purchase unit.\"),\n}).describe(\"Purchase unit for payment eligibility.\")).describe(\"An array of purchase units for which to determine payment eligibility. Each unit includes amount and optionally payee information.\"),\n}).describe(\"Request schema for finding eligible payment methods.\\n\\nUse this action when you need to discover which payment methods\\nare available for a customer based on their country and purchase details.\\nThis helps determine what payment options (PayPal, Venmo, etc.) can be offered.\\n\\n**Required fields:**\\n- purchase_units: At least one purchase unit with amount information\\n\\n**Optional fields:**\\n- customer: Customer information including country_code and email\\n- preferences: Options for including vault tokens or specifying payment constraints\");\nconst PaypalFindEligibleMethods_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalFindEligibleMethods_PaymentSourceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name on the payment source.\").nullable().optional(),\n type: z.string().describe(\"The type of the payment source.\").nullable().optional(),\n source_id: z.string().describe(\"The source ID of the vaulted instrument.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes of the payment source.\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the payment source.\").nullable().optional(),\n}).describe(\"The vaulted payment method details.\");\nconst PaypalFindEligibleMethods_PaymentTokenSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the payment token.\"),\n links: z.array(PaypalFindEligibleMethods_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to this payment token.\").nullable().optional(),\n payment_source: PaypalFindEligibleMethods_PaymentSourceSchema.nullable().optional(),\n}).describe(\"Payment token for a vaulted instrument.\");\nconst PaypalFindEligibleMethods_PaymentMethodDetailsSchema: z.ZodTypeAny = z.object({\n label: z.string().describe(\"The display label for the payment method.\").nullable().optional(),\n vault_status: z.string().describe(\"The vault status if the payment method is vaulted.\").nullable().optional(),\n product_usage: z.record(z.string(), z.unknown()).describe(\"Product-specific usage information for the payment method.\").nullable().optional(),\n}).describe(\"Details about an eligible payment method.\");\nconst PaypalFindEligibleMethods_PaymentMethodsSchema: z.ZodTypeAny = z.object({\n venmo: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_credit: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_pay_later: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n}).describe(\"The eligible payment methods.\");\nexport const PaypalFindEligibleMethodsOutput: z.ZodTypeAny = z.object({\n payment_tokens: z.array(PaypalFindEligibleMethods_PaymentTokenSchema).describe(\"Payment tokens for vaulted instruments, if available. Only included if include_vault_tokens is set to true in the request.\").nullable().optional(),\n eligible_methods: PaypalFindEligibleMethods_PaymentMethodsSchema.nullable().optional(),\n}).describe(\"Response schema for find eligible payment methods.\\n\\nContains the list of eligible payment methods and optionally\\nvaulted tokens if requested in the preferences.\");\n\nexport const paypalFindEligibleMethods = action(\"PAYPAL_FIND_ELIGIBLE_METHODS\", {\n slug: \"paypal-find-eligible-methods\",\n name: \"Find eligible PayPal payment methods\",\n description: \"Find a list of eligible payment methods for a customer. Use this action when you need to determine which payment methods (such as PayPal, PayPal Credit, Pay Later, or Venmo) are available for a customer based on their country and purchase details. This is useful for displaying appropriate payment options during checkout or determining payment eligibility before creating an order. The response includes available payment methods and optionally vaulted tokens if the customer has saved payment instruments. **Common use cases:** - Pre-checkout payment method availability - Display appropriate payment options to customers - Determine eligible funding sources for a transaction\",\n input: PaypalFindEligibleMethodsInput,\n output: PaypalFindEligibleMethodsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO;CACnE,UAAUA,IAAAA,EAAE,OAAO;EACnB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC/G,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,OAAOA,IAAAA,EAAE,OAAO;GAChB,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;GAC7G,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GACxE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC1E,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxD,SAASA,IAAAA,EAAE,OAAO;GAClB,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GACjE,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACl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AAA,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/find-eligible-methods.d.ts
|
|
4
|
+
declare const PaypalFindEligibleMethodsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalFindEligibleMethodsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalFindEligibleMethods: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalFindEligibleMethods };
|
|
9
|
+
//# sourceMappingURL=find-eligible-methods.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.d.cts","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAmCigB;AAAA,cA6BniB,+BAAA,EAAiC,CAAA,CAAE,UAGkI;AAAA,cAErK,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/find-eligible-methods.d.ts
|
|
4
|
+
declare const PaypalFindEligibleMethodsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalFindEligibleMethodsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalFindEligibleMethods: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalFindEligibleMethods };
|
|
9
|
+
//# sourceMappingURL=find-eligible-methods.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.d.mts","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAmCigB;AAAA,cA6BniB,+BAAA,EAAiC,CAAA,CAAE,UAGkI;AAAA,cAErK,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/find-eligible-methods.ts
|
|
4
|
+
const PaypalFindEligibleMethodsInput = z.object({
|
|
5
|
+
customer: z.object({
|
|
6
|
+
id: z.string().describe("The unique ID for a customer in merchant's or partner's system of records.").optional(),
|
|
7
|
+
email: z.string().describe("The internationalized email address.").optional(),
|
|
8
|
+
phone: z.object({
|
|
9
|
+
country_code: z.string().describe("The country calling code, prefixed with '+' followed by the country code."),
|
|
10
|
+
national_number: z.string().describe("The national number of the phone."),
|
|
11
|
+
extension_number: z.string().describe("The extension number.").optional()
|
|
12
|
+
}).describe("The phone number of the customer.").optional(),
|
|
13
|
+
channel: z.object({
|
|
14
|
+
client_os: z.string().describe("The client operating system.").optional(),
|
|
15
|
+
device_type: z.string().describe("The type of device.").optional(),
|
|
16
|
+
browser_type: z.string().describe("The browser type of the customer.").optional()
|
|
17
|
+
}).describe("The channel through which the customer is interacting with the merchant.").optional(),
|
|
18
|
+
country_code: z.string().describe("The country code of the customer, represented as the ISO 3166-1 alpha-2 country code.").optional()
|
|
19
|
+
}).describe("Customer who is making a purchase from the merchant/partner.").optional(),
|
|
20
|
+
preferences: z.object({
|
|
21
|
+
payment_flow: z.enum([
|
|
22
|
+
"ONE_TIME_PAYMENT",
|
|
23
|
+
"RECURRING_PAYMENT",
|
|
24
|
+
"VAULT_WITH_PAYMENT",
|
|
25
|
+
"VAULT_WITHOUT_PAYMENT"
|
|
26
|
+
]).describe("Specifies the payment flow for eligibility assessment.").optional(),
|
|
27
|
+
include_vault_tokens: z.boolean().default(false).describe("If set to true, response will include vaulted token information if the eligible funding source has any instrument vaulted for the customer. Defaults to false.").optional(),
|
|
28
|
+
include_account_details: z.boolean().default(false).describe("If set to true, response will include confirmation if the customer has PayPal and/or Venmo accounts if they are eligible payment methods. Defaults to false.").optional(),
|
|
29
|
+
payment_source_constraint: z.object({
|
|
30
|
+
constraint_type: z.enum(["INCLUDE", "EXCLUDE"]).describe("The constraint type for the payment sources. Use INCLUDE to restrict to specified sources, or EXCLUDE to exclude specified sources."),
|
|
31
|
+
payment_sources: z.array(z.string()).describe("The list of payment sources to include or exclude based on the constraint_type.")
|
|
32
|
+
}).describe("Payment source constraint defines the payment methods to include/exclude for eligibility assessment.").optional()
|
|
33
|
+
}).describe("Preferences of merchant/partner consuming the API.").optional(),
|
|
34
|
+
purchase_units: z.array(z.object({
|
|
35
|
+
payee: z.object({
|
|
36
|
+
merchant_id: z.string().describe("The PayPal-assigned ID for the payee.").optional(),
|
|
37
|
+
email_address: z.string().describe("The email address of the payee.").optional()
|
|
38
|
+
}).describe("The payee details for the purchase unit.").optional(),
|
|
39
|
+
amount: z.object({
|
|
40
|
+
value: z.string().describe("The monetary value, often in the format '10.00' with two decimal places."),
|
|
41
|
+
currency_code: z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
42
|
+
}).describe("The currency and amount for the purchase unit.")
|
|
43
|
+
}).describe("Purchase unit for payment eligibility.")).describe("An array of purchase units for which to determine payment eligibility. Each unit includes amount and optionally payee information.")
|
|
44
|
+
}).describe("Request schema for finding eligible payment methods.\n\nUse this action when you need to discover which payment methods\nare available for a customer based on their country and purchase details.\nThis helps determine what payment options (PayPal, Venmo, etc.) can be offered.\n\n**Required fields:**\n- purchase_units: At least one purchase unit with amount information\n\n**Optional fields:**\n- customer: Customer information including country_code and email\n- preferences: Options for including vault tokens or specifying payment constraints");
|
|
45
|
+
const PaypalFindEligibleMethods_LinkDescriptionSchema = z.object({
|
|
46
|
+
rel: z.string().describe("The link relationship type.").nullable().optional(),
|
|
47
|
+
href: z.string().describe("The complete URL to the related resource.").nullable().optional(),
|
|
48
|
+
method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
49
|
+
}).describe("HATEOAS link information.");
|
|
50
|
+
const PaypalFindEligibleMethods_PaymentSourceSchema = z.object({
|
|
51
|
+
name: z.string().describe("The name on the payment source.").nullable().optional(),
|
|
52
|
+
type: z.string().describe("The type of the payment source.").nullable().optional(),
|
|
53
|
+
source_id: z.string().describe("The source ID of the vaulted instrument.").nullable().optional(),
|
|
54
|
+
attributes: z.record(z.string(), z.unknown()).describe("Additional attributes of the payment source.").nullable().optional(),
|
|
55
|
+
email_address: z.string().describe("The email address associated with the payment source.").nullable().optional()
|
|
56
|
+
}).describe("The vaulted payment method details.");
|
|
57
|
+
const PaypalFindEligibleMethods_PaymentTokenSchema = z.object({
|
|
58
|
+
id: z.string().describe("The unique ID of the payment token."),
|
|
59
|
+
links: z.array(PaypalFindEligibleMethods_LinkDescriptionSchema).describe("An array of HATEOAS links related to this payment token.").nullable().optional(),
|
|
60
|
+
payment_source: PaypalFindEligibleMethods_PaymentSourceSchema.nullable().optional()
|
|
61
|
+
}).describe("Payment token for a vaulted instrument.");
|
|
62
|
+
const PaypalFindEligibleMethods_PaymentMethodDetailsSchema = z.object({
|
|
63
|
+
label: z.string().describe("The display label for the payment method.").nullable().optional(),
|
|
64
|
+
vault_status: z.string().describe("The vault status if the payment method is vaulted.").nullable().optional(),
|
|
65
|
+
product_usage: z.record(z.string(), z.unknown()).describe("Product-specific usage information for the payment method.").nullable().optional()
|
|
66
|
+
}).describe("Details about an eligible payment method.");
|
|
67
|
+
const PaypalFindEligibleMethods_PaymentMethodsSchema = z.object({
|
|
68
|
+
venmo: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),
|
|
69
|
+
paypal: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),
|
|
70
|
+
paypal_credit: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),
|
|
71
|
+
paypal_pay_later: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional()
|
|
72
|
+
}).describe("The eligible payment methods.");
|
|
73
|
+
const paypalFindEligibleMethods = action("PAYPAL_FIND_ELIGIBLE_METHODS", {
|
|
74
|
+
slug: "paypal-find-eligible-methods",
|
|
75
|
+
name: "Find eligible PayPal payment methods",
|
|
76
|
+
description: "Find a list of eligible payment methods for a customer. Use this action when you need to determine which payment methods (such as PayPal, PayPal Credit, Pay Later, or Venmo) are available for a customer based on their country and purchase details. This is useful for displaying appropriate payment options during checkout or determining payment eligibility before creating an order. The response includes available payment methods and optionally vaulted tokens if the customer has saved payment instruments. **Common use cases:** - Pre-checkout payment method availability - Display appropriate payment options to customers - Determine eligible funding sources for a transaction",
|
|
77
|
+
input: PaypalFindEligibleMethodsInput,
|
|
78
|
+
output: z.object({
|
|
79
|
+
payment_tokens: z.array(PaypalFindEligibleMethods_PaymentTokenSchema).describe("Payment tokens for vaulted instruments, if available. Only included if include_vault_tokens is set to true in the request.").nullable().optional(),
|
|
80
|
+
eligible_methods: PaypalFindEligibleMethods_PaymentMethodsSchema.nullable().optional()
|
|
81
|
+
}).describe("Response schema for find eligible payment methods.\n\nContains the list of eligible payment methods and optionally\nvaulted tokens if requested in the preferences.")
|
|
82
|
+
});
|
|
83
|
+
//#endregion
|
|
84
|
+
export { paypalFindEligibleMethods };
|
|
85
|
+
|
|
86
|
+
//# sourceMappingURL=find-eligible-methods.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.mjs","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFindEligibleMethodsInput: z.ZodTypeAny = z.object({\n customer: z.object({\n id: z.string().describe(\"The unique ID for a customer in merchant's or partner's system of records.\").optional(),\n email: z.string().describe(\"The internationalized email address.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"The country calling code, prefixed with '+' followed by the country code.\"),\n national_number: z.string().describe(\"The national number of the phone.\"),\n extension_number: z.string().describe(\"The extension number.\").optional(),\n}).describe(\"The phone number of the customer.\").optional(),\n channel: z.object({\n client_os: z.string().describe(\"The client operating system.\").optional(),\n device_type: z.string().describe(\"The type of device.\").optional(),\n browser_type: z.string().describe(\"The browser type of the customer.\").optional(),\n}).describe(\"The channel through which the customer is interacting with the merchant.\").optional(),\n country_code: z.string().describe(\"The country code of the customer, represented as the ISO 3166-1 alpha-2 country code.\").optional(),\n}).describe(\"Customer who is making a purchase from the merchant/partner.\").optional(),\n preferences: z.object({\n payment_flow: z.enum([\"ONE_TIME_PAYMENT\", \"RECURRING_PAYMENT\", \"VAULT_WITH_PAYMENT\", \"VAULT_WITHOUT_PAYMENT\"]).describe(\"Specifies the payment flow for eligibility assessment.\").optional(),\n include_vault_tokens: z.boolean().default(false).describe(\"If set to true, response will include vaulted token information if the eligible funding source has any instrument vaulted for the customer. Defaults to false.\").optional(),\n include_account_details: z.boolean().default(false).describe(\"If set to true, response will include confirmation if the customer has PayPal and/or Venmo accounts if they are eligible payment methods. Defaults to false.\").optional(),\n payment_source_constraint: z.object({\n constraint_type: z.enum([\"INCLUDE\", \"EXCLUDE\"]).describe(\"The constraint type for the payment sources. Use INCLUDE to restrict to specified sources, or EXCLUDE to exclude specified sources.\"),\n payment_sources: z.array(z.string()).describe(\"The list of payment sources to include or exclude based on the constraint_type.\"),\n}).describe(\"Payment source constraint defines the payment methods to include/exclude for eligibility assessment.\").optional(),\n}).describe(\"Preferences of merchant/partner consuming the API.\").optional(),\n purchase_units: z.array(z.object({\n payee: z.object({\n merchant_id: z.string().describe(\"The PayPal-assigned ID for the payee.\").optional(),\n email_address: z.string().describe(\"The email address of the payee.\").optional(),\n}).describe(\"The payee details for the purchase unit.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The monetary value, often in the format '10.00' with two decimal places.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for the purchase unit.\"),\n}).describe(\"Purchase unit for payment eligibility.\")).describe(\"An array of purchase units for which to determine payment eligibility. Each unit includes amount and optionally payee information.\"),\n}).describe(\"Request schema for finding eligible payment methods.\\n\\nUse this action when you need to discover which payment methods\\nare available for a customer based on their country and purchase details.\\nThis helps determine what payment options (PayPal, Venmo, etc.) can be offered.\\n\\n**Required fields:**\\n- purchase_units: At least one purchase unit with amount information\\n\\n**Optional fields:**\\n- customer: Customer information including country_code and email\\n- preferences: Options for including vault tokens or specifying payment constraints\");\nconst PaypalFindEligibleMethods_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalFindEligibleMethods_PaymentSourceSchema: z.ZodTypeAny = z.object({\n name: z.string().describe(\"The name on the payment source.\").nullable().optional(),\n type: z.string().describe(\"The type of the payment source.\").nullable().optional(),\n source_id: z.string().describe(\"The source ID of the vaulted instrument.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes of the payment source.\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the payment source.\").nullable().optional(),\n}).describe(\"The vaulted payment method details.\");\nconst PaypalFindEligibleMethods_PaymentTokenSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The unique ID of the payment token.\"),\n links: z.array(PaypalFindEligibleMethods_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to this payment token.\").nullable().optional(),\n payment_source: PaypalFindEligibleMethods_PaymentSourceSchema.nullable().optional(),\n}).describe(\"Payment token for a vaulted instrument.\");\nconst PaypalFindEligibleMethods_PaymentMethodDetailsSchema: z.ZodTypeAny = z.object({\n label: z.string().describe(\"The display label for the payment method.\").nullable().optional(),\n vault_status: z.string().describe(\"The vault status if the payment method is vaulted.\").nullable().optional(),\n product_usage: z.record(z.string(), z.unknown()).describe(\"Product-specific usage information for the payment method.\").nullable().optional(),\n}).describe(\"Details about an eligible payment method.\");\nconst PaypalFindEligibleMethods_PaymentMethodsSchema: z.ZodTypeAny = z.object({\n venmo: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_credit: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_pay_later: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n}).describe(\"The eligible payment methods.\");\nexport const PaypalFindEligibleMethodsOutput: z.ZodTypeAny = z.object({\n payment_tokens: z.array(PaypalFindEligibleMethods_PaymentTokenSchema).describe(\"Payment tokens for vaulted instruments, if available. Only included if include_vault_tokens is set to true in the request.\").nullable().optional(),\n eligible_methods: PaypalFindEligibleMethods_PaymentMethodsSchema.nullable().optional(),\n}).describe(\"Response schema for find eligible payment methods.\\n\\nContains the list of eligible payment methods and optionally\\nvaulted tokens if requested in the preferences.\");\n\nexport const paypalFindEligibleMethods = action(\"PAYPAL_FIND_ELIGIBLE_METHODS\", {\n slug: \"paypal-find-eligible-methods\",\n name: \"Find eligible PayPal payment methods\",\n description: \"Find a list of eligible payment methods for a customer. Use this action when you need to determine which payment methods (such as PayPal, PayPal Credit, Pay Later, or Venmo) are available for a customer based on their country and purchase details. This is useful for displaying appropriate payment options during checkout or determining payment eligibility before creating an order. The response includes available payment methods and optionally vaulted tokens if the customer has saved payment instruments. **Common use cases:** - Pre-checkout payment method availability - Display appropriate payment options to customers - Determine eligible funding sources for a transaction\",\n input: PaypalFindEligibleMethodsInput,\n output: PaypalFindEligibleMethodsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iC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