@keystrokehq/paypal 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/activate-plan.cjs +1 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +14 -2
- package/dist/actions/activate-plan.d.mts +14 -2
- package/dist/actions/activate-plan.mjs +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +5 -5
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +21 -8
- package/dist/actions/add-batch-trackers.d.mts +21 -8
- package/dist/actions/add-batch-trackers.mjs +5 -5
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +16 -16
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +34 -22
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +34 -22
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +16 -16
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +3 -3
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +16 -4
- package/dist/actions/cancel-invoice.d.mts +16 -4
- package/dist/actions/cancel-invoice.mjs +3 -3
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +3 -3
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +16 -4
- package/dist/actions/cancel-reminders.d.mts +16 -4
- package/dist/actions/cancel-reminders.mjs +3 -3
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +9 -9
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +23 -11
- package/dist/actions/capture-subscription-payment.d.mts +23 -11
- package/dist/actions/capture-subscription-payment.mjs +9 -9
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -1
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +14 -2
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +14 -2
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -1
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +22 -22
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +49 -34
- package/dist/actions/create-invoice.d.mts +49 -34
- package/dist/actions/create-invoice.mjs +22 -22
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +31 -31
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +55 -39
- package/dist/actions/create-payment.d.mts +55 -39
- package/dist/actions/create-payment.mjs +31 -31
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +8 -8
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +24 -10
- package/dist/actions/create-payments-billing-plans.d.mts +24 -10
- package/dist/actions/create-payments-billing-plans.mjs +8 -8
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +12 -12
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +27 -14
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +27 -14
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +12 -12
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +2 -2
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +15 -3
- package/dist/actions/create-product.d.mts +15 -3
- package/dist/actions/create-product.mjs +2 -2
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +15 -15
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +34 -21
- package/dist/actions/create-subscription.d.mts +34 -21
- package/dist/actions/create-subscription.mjs +15 -15
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +25 -25
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +49 -31
- package/dist/actions/create-template.d.mts +49 -31
- package/dist/actions/create-template.mjs +25 -25
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +5 -5
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +18 -6
- package/dist/actions/create-web-profile.d.mts +18 -6
- package/dist/actions/create-web-profile.mjs +5 -5
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +2 -2
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +15 -3
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +15 -3
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +2 -2
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +4 -4
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +18 -5
- package/dist/actions/create-webhook.d.mts +18 -5
- package/dist/actions/create-webhook.mjs +4 -4
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -1
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +14 -2
- package/dist/actions/deactivate-plan.d.mts +14 -2
- package/dist/actions/deactivate-plan.mjs +1 -1
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -1
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +14 -2
- package/dist/actions/delete-external-payment.d.mts +14 -2
- package/dist/actions/delete-external-payment.mjs +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +14 -2
- package/dist/actions/delete-invoice-payment-record.d.mts +14 -2
- package/dist/actions/delete-invoice-payment-record.mjs +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +14 -2
- package/dist/actions/delete-invoice-refund-record.d.mts +14 -2
- package/dist/actions/delete-invoice-refund-record.mjs +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +3 -3
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +16 -4
- package/dist/actions/delete-invoice.d.mts +16 -4
- package/dist/actions/delete-invoice.mjs +3 -3
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -1
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +14 -2
- package/dist/actions/delete-payment-resource.d.mts +14 -2
- package/dist/actions/delete-payment-resource.mjs +1 -1
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +3 -3
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +16 -4
- package/dist/actions/delete-template.d.mts +16 -4
- package/dist/actions/delete-template.mjs +3 -3
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -1
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +14 -2
- package/dist/actions/delete-web-profile.d.mts +14 -2
- package/dist/actions/delete-web-profile.mjs +1 -1
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +16 -4
- package/dist/actions/delete-webhook.d.mts +16 -4
- package/dist/actions/delete-webhook.mjs +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +5 -5
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +18 -6
- package/dist/actions/fetch-node.d.mts +18 -6
- package/dist/actions/fetch-node.mjs +5 -5
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +16 -4
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +16 -4
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +7 -7
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +24 -11
- package/dist/actions/find-eligible-methods.d.mts +24 -11
- package/dist/actions/find-eligible-methods.mjs +7 -7
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -1
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +14 -2
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +14 -2
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -1
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +14 -2
- package/dist/actions/generate-next-invoice-number-v2.d.mts +14 -2
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +14 -2
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +14 -2
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -1
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +4 -4
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +17 -5
- package/dist/actions/generate-qr-code.d.mts +17 -5
- package/dist/actions/generate-qr-code.mjs +4 -4
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +10 -10
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +24 -12
- package/dist/actions/get-billing-subscriptions.d.mts +24 -12
- package/dist/actions/get-billing-subscriptions.mjs +10 -10
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +24 -24
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +45 -33
- package/dist/actions/get-invoice.d.mts +45 -33
- package/dist/actions/get-invoice.mjs +24 -24
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +15 -3
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +15 -3
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +20 -20
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +42 -30
- package/dist/actions/get-invoicing-template.d.mts +42 -30
- package/dist/actions/get-invoicing-template.mjs +20 -20
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +16 -16
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +37 -25
- package/dist/actions/get-order.d.mts +37 -25
- package/dist/actions/get-order.mjs +16 -16
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +14 -14
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +35 -23
- package/dist/actions/get-payment.d.mts +35 -23
- package/dist/actions/get-payment.mjs +14 -14
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +3 -3
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +16 -4
- package/dist/actions/get-payments-refund.d.mts +16 -4
- package/dist/actions/get-payments-refund.mjs +3 -3
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +11 -11
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +24 -12
- package/dist/actions/get-plan.d.mts +24 -12
- package/dist/actions/get-plan.mjs +11 -11
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +2 -2
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +15 -3
- package/dist/actions/get-product.d.mts +15 -3
- package/dist/actions/get-product.mjs +2 -2
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +10 -10
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +26 -14
- package/dist/actions/get-subscription.d.mts +26 -14
- package/dist/actions/get-subscription.mjs +10 -10
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +3 -3
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +16 -4
- package/dist/actions/get-user-info.d.mts +16 -4
- package/dist/actions/get-user-info.mjs +3 -3
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +3 -3
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +16 -4
- package/dist/actions/get-userinfo.d.mts +16 -4
- package/dist/actions/get-userinfo.mjs +3 -3
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +4 -4
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +17 -5
- package/dist/actions/get-web-profile.d.mts +17 -5
- package/dist/actions/get-web-profile.mjs +4 -4
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +2 -2
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +15 -3
- package/dist/actions/get-webhook-lookup.d.mts +15 -3
- package/dist/actions/get-webhook-lookup.mjs +2 -2
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +4 -4
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +17 -5
- package/dist/actions/get-webhook.d.mts +17 -5
- package/dist/actions/get-webhook.mjs +4 -4
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +5 -5
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +19 -7
- package/dist/actions/list-disputes.d.mts +19 -7
- package/dist/actions/list-disputes.mjs +5 -5
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +15 -15
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +32 -20
- package/dist/actions/list-invoices.d.mts +32 -20
- package/dist/actions/list-invoices.mjs +15 -15
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +7 -7
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +22 -10
- package/dist/actions/list-legacy-billing-plans.d.mts +22 -10
- package/dist/actions/list-legacy-billing-plans.mjs +7 -7
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +20 -20
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +40 -28
- package/dist/actions/list-payments.d.mts +40 -28
- package/dist/actions/list-payments.mjs +20 -20
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +8 -8
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +22 -10
- package/dist/actions/list-plans.d.mts +22 -10
- package/dist/actions/list-plans.mjs +8 -8
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +17 -5
- package/dist/actions/list-products.d.mts +17 -5
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +8 -8
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +22 -10
- package/dist/actions/list-templates.d.mts +22 -10
- package/dist/actions/list-templates.mjs +8 -8
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +6 -6
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +19 -7
- package/dist/actions/list-web-profiles.d.mts +19 -7
- package/dist/actions/list-web-profiles.mjs +6 -6
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -4
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -4
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +3 -3
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +16 -4
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +16 -4
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +3 -3
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +3 -3
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +16 -4
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +16 -4
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +3 -3
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +15 -3
- package/dist/actions/list-webhooks.d.mts +15 -3
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +2 -2
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +16 -3
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +16 -3
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +2 -2
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +2 -2
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +16 -3
- package/dist/actions/patch-plan.d.mts +16 -3
- package/dist/actions/patch-plan.mjs +2 -2
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +3 -3
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +17 -4
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +17 -4
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +3 -3
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +2 -2
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +16 -3
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +16 -3
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +2 -2
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +2 -2
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +15 -3
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +15 -3
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +2 -2
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +4 -4
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +17 -5
- package/dist/actions/query-braintree-report.d.mts +17 -5
- package/dist/actions/query-braintree-report.mjs +4 -4
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +11 -11
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +25 -13
- package/dist/actions/retrieve-payment-resource.d.mts +25 -13
- package/dist/actions/retrieve-payment-resource.mjs +11 -11
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +11 -11
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +28 -16
- package/dist/actions/search-invoices.d.mts +28 -16
- package/dist/actions/search-invoices.mjs +11 -11
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +2 -2
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +15 -3
- package/dist/actions/send-invoice.d.mts +15 -3
- package/dist/actions/send-invoice.mjs +2 -2
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +4 -4
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +17 -5
- package/dist/actions/simulate-webhook-event.d.mts +17 -5
- package/dist/actions/simulate-webhook-event.mjs +4 -4
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +3 -3
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +17 -4
- package/dist/actions/update-dispute.d.mts +17 -4
- package/dist/actions/update-dispute.mjs +3 -3
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +34 -34
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +67 -49
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +67 -49
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +34 -34
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +2 -2
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +16 -3
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +16 -3
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +2 -2
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +4 -4
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +18 -5
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +18 -5
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +4 -4
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +39 -39
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +78 -57
- package/dist/actions/update-templates.d.mts +78 -57
- package/dist/actions/update-templates.mjs +39 -39
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +2 -2
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +15 -3
- package/dist/actions/update-web-profile.d.mts +15 -3
- package/dist/actions/update-web-profile.mjs +2 -2
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +2 -2
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +15 -3
- package/dist/actions/verify-payment-method.d.mts +15 -3
- package/dist/actions/verify-payment-method.mjs +2 -2
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -1
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +14 -2
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +14 -2
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -34,12 +34,12 @@ declare const PaypalUpdateWebProfileOutput: z.ZodObject<{
|
|
|
34
34
|
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
35
|
field: z.ZodNullable<z.ZodString>;
|
|
36
36
|
issue: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
38
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
40
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const paypalUpdateWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
id: string;
|
|
45
45
|
name: string;
|
|
@@ -59,7 +59,19 @@ declare const paypalUpdateWebProfile: import("@keystrokehq/action").WorkflowActi
|
|
|
59
59
|
logo_image?: string | undefined;
|
|
60
60
|
locale_code?: string | undefined;
|
|
61
61
|
} | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
62
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
63
|
+
connectionId: z.ZodString;
|
|
64
|
+
entityId: z.ZodString;
|
|
65
|
+
instanceId: z.ZodString;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
accessToken: z.ZodString;
|
|
68
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
69
|
+
connectionId: z.ZodString;
|
|
70
|
+
entityId: z.ZodString;
|
|
71
|
+
instanceId: z.ZodString;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
accessToken: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>]>;
|
|
63
75
|
//#endregion
|
|
64
76
|
export { paypalUpdateWebProfile };
|
|
65
77
|
//# sourceMappingURL=update-web-profile.d.cts.map
|
|
@@ -34,12 +34,12 @@ declare const PaypalUpdateWebProfileOutput: z.ZodObject<{
|
|
|
34
34
|
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
35
35
|
field: z.ZodNullable<z.ZodString>;
|
|
36
36
|
issue: z.ZodNullable<z.ZodString>;
|
|
37
|
-
}, z.core.$
|
|
37
|
+
}, z.core.$loose>>>>;
|
|
38
38
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
40
40
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
41
41
|
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
|
-
}, z.core.$
|
|
42
|
+
}, z.core.$loose>;
|
|
43
43
|
declare const paypalUpdateWebProfile: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
44
44
|
id: string;
|
|
45
45
|
name: string;
|
|
@@ -59,7 +59,19 @@ declare const paypalUpdateWebProfile: import("@keystrokehq/action").WorkflowActi
|
|
|
59
59
|
logo_image?: string | undefined;
|
|
60
60
|
locale_code?: string | undefined;
|
|
61
61
|
} | undefined;
|
|
62
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
62
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
63
|
+
connectionId: z.ZodString;
|
|
64
|
+
entityId: z.ZodString;
|
|
65
|
+
instanceId: z.ZodString;
|
|
66
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
67
|
+
accessToken: z.ZodString;
|
|
68
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
69
|
+
connectionId: z.ZodString;
|
|
70
|
+
entityId: z.ZodString;
|
|
71
|
+
instanceId: z.ZodString;
|
|
72
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
73
|
+
accessToken: z.ZodString;
|
|
74
|
+
}, z.core.$strip>>]>;
|
|
63
75
|
//#endregion
|
|
64
76
|
export { paypalUpdateWebProfile };
|
|
65
77
|
//# sourceMappingURL=update-web-profile.d.mts.map
|
|
@@ -28,7 +28,7 @@ const PaypalUpdateWebProfileInput = z.object({
|
|
|
28
28
|
const PaypalUpdateWebProfile_ErrorDetailSchema = z.object({
|
|
29
29
|
field: z.string().describe("The field that caused the error.").nullable(),
|
|
30
30
|
issue: z.string().describe("The error issue description.").nullable()
|
|
31
|
-
}).describe("Details for an error response.");
|
|
31
|
+
}).passthrough().describe("Details for an error response.");
|
|
32
32
|
const paypalUpdateWebProfile = action("PAYPAL_UPDATE_WEB_PROFILE", {
|
|
33
33
|
slug: "paypal-update-web-profile",
|
|
34
34
|
name: "Update web experience profile",
|
|
@@ -41,7 +41,7 @@ const paypalUpdateWebProfile = action("PAYPAL_UPDATE_WEB_PROFILE", {
|
|
|
41
41
|
success: z.boolean().describe("Indicates whether the update was successful.").nullable().optional(),
|
|
42
42
|
debug_id: z.string().describe("The PayPal internal ID used for correlation purposes.").nullable().optional(),
|
|
43
43
|
information_link: z.string().describe("The URI to detailed information related to this error.").nullable().optional()
|
|
44
|
-
}).describe("Response from updating a PayPal web experience profile.\n\nA successful update returns HTTP 204 No Content with no JSON response body.")
|
|
44
|
+
}).passthrough().describe("Response from updating a PayPal web experience profile.\n\nA successful update returns HTTP 204 No Content with no JSON response body.")
|
|
45
45
|
});
|
|
46
46
|
//#endregion
|
|
47
47
|
export { paypalUpdateWebProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-web-profile.mjs","names":[],"sources":["../../src/actions/update-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to update.\"),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. True for three hours, false for permanent.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"Presents either the Continue or Pay Now checkout flow to the customer.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page to display on the PayPal site.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for Giropay or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method to redirect the customer to a return URL.\").optional(),\n}).describe(\"The flow configuration parameters for the web profile.\").optional(),\n input_fields: z.object({\n no_shipping: z.union([z.literal(0), z.literal(1), z.literal(2)]).describe(\"Indicates whether PayPal displays shipping address fields.\").optional(),\n address_override: z.union([z.literal(0), z.literal(1)]).describe(\"Indicates whether to display the shipping address passed to the call.\").optional(),\n}).describe(\"The input field customization parameters for the web profile.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character length and limitations: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Maximum width: 190 pixels, maximum height: 60 pixels. Valid media types: .gif, .jpg, .png. Character limit: 127.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US. Also 5-character codes like da_DK, he_IL, ja_JP, pt_BR, ru_RU, zh_CN, zh_HK, zh_TW.\").optional(),\n}).describe(\"The style and presentation parameters for the web profile.\").optional(),\n}).describe(\"Request to update a PayPal web experience profile.\\n\\nUse this action when you need to update the configuration of an existing\\nweb experience profile for PayPal payment flows. The profile defines how\\nthe checkout experience appears to customers, including branding, layout,\\nand shipping options.\");\nconst PaypalUpdateWebProfile_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable(),\n issue: z.string().describe(\"The error issue description.\").nullable(),\n}).describe(\"Details for an error response.\");\nexport const PaypalUpdateWebProfileOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n details: z.array(PaypalUpdateWebProfile_ErrorDetailSchema).describe(\"An array of additional details for the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful.\").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 URI to detailed information related to this error.\").nullable().optional(),\n}).describe(\"Response from updating a PayPal web experience profile.\\n\\nA successful update returns HTTP 204 No Content with no JSON response body.\");\n\nexport const paypalUpdateWebProfile = action(\"PAYPAL_UPDATE_WEB_PROFILE\", {\n slug: \"paypal-update-web-profile\",\n name: \"Update web experience profile\",\n description: \"Updates a PayPal web experience profile. Use this action when you need to modify an existing web experience profile that controls the checkout flow appearance, branding, shipping options, and customer experience for PayPal payments. This action replaces the entire profile configuration with the provided values. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - updating a profile with the same values produces the same result without side effects.\",\n input: PaypalUpdateWebProfileInput,\n output: PaypalUpdateWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC9J,aAAa,EAAE,OAAO;EACtB,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC5H,mBAAmB,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC7H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAC1L,wBAAwB,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO;EACvB,aAAa,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjJ,kBAAkB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO;EACvB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC3M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;EACtL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wOAAwO,CAAC,CAAC,SAAS;CACtR,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4SAA4S;AACxT,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,SAAS,gCAAgC;
|
|
1
|
+
{"version":3,"file":"update-web-profile.mjs","names":[],"sources":["../../src/actions/update-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to update.\"),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\"),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. True for three hours, false for permanent.\").optional(),\n flow_config: z.object({\n user_action: z.enum([\"COMMIT\"]).describe(\"Presents either the Continue or Pay Now checkout flow to the customer.\").optional(),\n landing_page_type: z.enum([\"login\", \"billing\"]).describe(\"The type of landing page to display on the PayPal site.\").optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for Giropay or bank transfer payment method.\").optional(),\n return_uri_http_method: z.enum([\"GET\", \"POST\"]).describe(\"The HTTP method to redirect the customer to a return URL.\").optional(),\n}).describe(\"The flow configuration parameters for the web profile.\").optional(),\n input_fields: z.object({\n no_shipping: z.union([z.literal(0), z.literal(1), z.literal(2)]).describe(\"Indicates whether PayPal displays shipping address fields.\").optional(),\n address_override: z.union([z.literal(0), z.literal(1)]).describe(\"Indicates whether to display the shipping address passed to the call.\").optional(),\n}).describe(\"The input field customization parameters for the web profile.\").optional(),\n presentation: z.object({\n brand_name: z.string().describe(\"A label that overrides the business name in the PayPal account on the PayPal pages. Character length and limitations: 127 single-byte alphanumeric characters.\").optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Maximum width: 190 pixels, maximum height: 60 pixels. Valid media types: .gif, .jpg, .png. Character limit: 127.\").optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US. Also 5-character codes like da_DK, he_IL, ja_JP, pt_BR, ru_RU, zh_CN, zh_HK, zh_TW.\").optional(),\n}).describe(\"The style and presentation parameters for the web profile.\").optional(),\n}).describe(\"Request to update a PayPal web experience profile.\\n\\nUse this action when you need to update the configuration of an existing\\nweb experience profile for PayPal payment flows. The profile defines how\\nthe checkout experience appears to customers, including branding, layout,\\nand shipping options.\");\nconst PaypalUpdateWebProfile_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable(),\n issue: z.string().describe(\"The error issue description.\").nullable(),\n}).passthrough().describe(\"Details for an error response.\");\nexport const PaypalUpdateWebProfileOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n details: z.array(PaypalUpdateWebProfile_ErrorDetailSchema).describe(\"An array of additional details for the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the update was successful.\").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 URI to detailed information related to this error.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a PayPal web experience profile.\\n\\nA successful update returns HTTP 204 No Content with no JSON response body.\");\n\nexport const paypalUpdateWebProfile = action(\"PAYPAL_UPDATE_WEB_PROFILE\", {\n slug: \"paypal-update-web-profile\",\n name: \"Update web experience profile\",\n description: \"Updates a PayPal web experience profile. Use this action when you need to modify an existing web experience profile that controls the checkout flow appearance, branding, shipping options, and customer experience for PayPal payments. This action replaces the entire profile configuration with the provided values. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - updating a profile with the same values produces the same result without side effects.\",\n input: PaypalUpdateWebProfileInput,\n output: PaypalUpdateWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8B,EAAE,OAAO;CAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD;CACzE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF;CACjH,WAAW,EAAE,QAAQ,CAAC,CAAC,SAAS,mHAAmH,CAAC,CAAC,SAAS;CAC9J,aAAa,EAAE,OAAO;EACtB,aAAa,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;EAC5H,mBAAmB,EAAE,KAAK,CAAC,SAAS,SAAS,CAAC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS;EAC7H,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS;EAC1L,wBAAwB,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACjI,CAAC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CAC7E,cAAc,EAAE,OAAO;EACvB,aAAa,EAAE,MAAM;GAAC,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;EACjJ,kBAAkB,EAAE,MAAM,CAAC,EAAE,QAAQ,CAAC,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,uEAAuE,CAAC,CAAC,SAAS;CACrJ,CAAC,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS;CACpF,cAAc,EAAE,OAAO;EACvB,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gKAAgK,CAAC,CAAC,SAAS;EAC3M,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,2IAA2I,CAAC,CAAC,SAAS;EACtL,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wOAAwO,CAAC,CAAC,SAAS;CACtR,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,SAAS,4SAA4S;AACxT,MAAM,2CAA2C,EAAE,OAAO;CACxD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACxE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;AACtE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAU1D,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd0C,EAAE,OAAO;EACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,SAAS,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAClG,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wIAOhB;AACV,CAAC"}
|
|
@@ -8,12 +8,12 @@ const PaypalVerifyPaymentMethodInput = zod.z.object({ input: zod.z.object({
|
|
|
8
8
|
const PaypalVerifyPaymentMethod_ErrorLocationSchema = zod.z.object({
|
|
9
9
|
line: zod.z.number().int().describe("The line number in the query.").nullable(),
|
|
10
10
|
column: zod.z.number().int().describe("The column number in the query.").nullable()
|
|
11
|
-
}).describe("A location in the GraphQL query where an error occurred.");
|
|
11
|
+
}).passthrough().describe("A location in the GraphQL query where an error occurred.");
|
|
12
12
|
const PaypalVerifyPaymentMethod_GraphQLErrorSchema = zod.z.object({
|
|
13
13
|
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(),
|
|
14
14
|
message: zod.z.string().describe("The error message.").nullable(),
|
|
15
15
|
locations: zod.z.array(PaypalVerifyPaymentMethod_ErrorLocationSchema).describe("The locations in the query where the error occurred.").nullable().optional()
|
|
16
|
-
}).describe("A GraphQL error from the API response.");
|
|
16
|
+
}).passthrough().describe("A GraphQL error from the API response.");
|
|
17
17
|
const PaypalVerifyPaymentMethodOutput = zod.z.object({
|
|
18
18
|
data: zod.z.record(zod.z.string(), zod.z.unknown()).describe("The Braintree GraphQL response wrapper containing the actual data and extensions.").nullable().optional(),
|
|
19
19
|
error: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-payment-method.cjs","names":["z","action"],"sources":["../../src/actions/verify-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyPaymentMethodInput = z.object({\n input: z.object({\n payment_method_id: z.string().describe(\"The ID of the payment method to verify. This should be a multi-use payment method that has been vaulted in the Braintree platform.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the verification. If not specified, the default merchant account is used.\").optional(),\n}).describe(\"The input containing the payment method ID and optional merchant account ID for verification.\"),\n}).describe(\"Request model for verifying a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to verify that a multi-use payment method is valid\\nand has passed fraud checks. Verification runs the payment method through your\\nconfigured fraud rules and confirms it is associated with a valid account with\\nthe card issuer.\\n\\nThis action is useful when you need to validate a payment method before using\\nit for transactions, or when you want to proactively check if a stored payment\\nmethod is still valid and not reported lost or stolen.\\n\\nNote: This action uses the Braintree GraphQL API endpoint at /graphql. The\\npayment method must be a multi-use (vaulted) token for verification to work.\");\nconst PaypalVerifyPaymentMethod_ErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query.\").nullable(),\n column: z.number().int().describe(\"The column number in the query.\").nullable(),\n}).describe(\"A location in the GraphQL query where an error occurred.\");\nconst PaypalVerifyPaymentMethod_GraphQLErrorSchema = 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(\"The error message.\").nullable(),\n locations: z.array(PaypalVerifyPaymentMethod_ErrorLocationSchema).describe(\"The locations in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A GraphQL error from the API response.\");\nexport const PaypalVerifyPaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The Braintree GraphQL response wrapper containing the actual data and extensions.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n errors: z.array(PaypalVerifyPaymentMethod_GraphQLErrorSchema).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n successful: z.boolean().describe(\"Whether the request was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for payment method verification.\");\n\nexport const paypalVerifyPaymentMethod = action(\"PAYPAL_VERIFY_PAYMENT_METHOD\", {\n slug: \"paypal-verify-payment-method\",\n name: \"Verify Payment Method via Braintree\",\n description: \"Verifies a multi-use payment method to ensure it has passed fraud rules and is associated with a valid account. Use this action when you need to verify that a vaulted (multi-use) payment method is valid before using it for transactions. The verification runs the payment method through your configured Braintree fraud rules and confirms with the card issuer that the card is associated with a valid account. This action is commonly used when a customer adds a new payment method and you want to validate it, when checking if a stored payment method is still valid before a scheduled transaction, or as part of a risk management workflow to pre-validate payment methods. The response includes a verification status (VERIFIED, FAILED, GATEWAY_REJECTED, or PROCESSOR_DECLINED) along with processor response codes. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The payment method must be a multi-use token that has been stored in the Braintree vault.\",\n input: PaypalVerifyPaymentMethodInput,\n output: PaypalVerifyPaymentMethodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO;CAChB,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAC3K,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC3G,CAAC,CAAC,CAAC,SAAS,osBAAosB;AAChtB,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"verify-payment-method.cjs","names":["z","action"],"sources":["../../src/actions/verify-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyPaymentMethodInput = z.object({\n input: z.object({\n payment_method_id: z.string().describe(\"The ID of the payment method to verify. This should be a multi-use payment method that has been vaulted in the Braintree platform.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the verification. If not specified, the default merchant account is used.\").optional(),\n}).describe(\"The input containing the payment method ID and optional merchant account ID for verification.\"),\n}).describe(\"Request model for verifying a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to verify that a multi-use payment method is valid\\nand has passed fraud checks. Verification runs the payment method through your\\nconfigured fraud rules and confirms it is associated with a valid account with\\nthe card issuer.\\n\\nThis action is useful when you need to validate a payment method before using\\nit for transactions, or when you want to proactively check if a stored payment\\nmethod is still valid and not reported lost or stolen.\\n\\nNote: This action uses the Braintree GraphQL API endpoint at /graphql. The\\npayment method must be a multi-use (vaulted) token for verification to work.\");\nconst PaypalVerifyPaymentMethod_ErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query.\").nullable(),\n column: z.number().int().describe(\"The column number in the query.\").nullable(),\n}).passthrough().describe(\"A location in the GraphQL query where an error occurred.\");\nconst PaypalVerifyPaymentMethod_GraphQLErrorSchema = 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(\"The error message.\").nullable(),\n locations: z.array(PaypalVerifyPaymentMethod_ErrorLocationSchema).describe(\"The locations in the query where the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"A GraphQL error from the API response.\");\nexport const PaypalVerifyPaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The Braintree GraphQL response wrapper containing the actual data and extensions.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n errors: z.array(PaypalVerifyPaymentMethod_GraphQLErrorSchema).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n successful: z.boolean().describe(\"Whether the request was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for payment method verification.\");\n\nexport const paypalVerifyPaymentMethod = action(\"PAYPAL_VERIFY_PAYMENT_METHOD\", {\n slug: \"paypal-verify-payment-method\",\n name: \"Verify Payment Method via Braintree\",\n description: \"Verifies a multi-use payment method to ensure it has passed fraud rules and is associated with a valid account. Use this action when you need to verify that a vaulted (multi-use) payment method is valid before using it for transactions. The verification runs the payment method through your configured Braintree fraud rules and confirms with the card issuer that the card is associated with a valid account. This action is commonly used when a customer adds a new payment method and you want to validate it, when checking if a stored payment method is still valid before a scheduled transaction, or as part of a risk management workflow to pre-validate payment methods. The response includes a verification status (VERIFIED, FAILED, GATEWAY_REJECTED, or PROCESSOR_DECLINED) along with processor response codes. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The payment method must be a multi-use token that has been stored in the Braintree vault.\",\n input: PaypalVerifyPaymentMethodInput,\n output: PaypalVerifyPaymentMethodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,OAAOA,IAAAA,EAAE,OAAO;CAChB,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAC3K,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC3G,CAAC,CAAC,CAAC,SAAS,osBAAosB;AAChtB,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,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,oBAAoB,CAAC,CAAC,SAAS;CAC5D,WAAWA,IAAAA,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAClE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,YAAYA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAAkD;AAE5E,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,8 +16,8 @@ declare const PaypalVerifyPaymentMethodOutput: z.ZodObject<{
|
|
|
16
16
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
line: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
column: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
successful: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
22
|
}, z.core.$loose>;
|
|
23
23
|
declare const paypalVerifyPaymentMethod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -25,7 +25,19 @@ declare const paypalVerifyPaymentMethod: import("@keystrokehq/action").WorkflowA
|
|
|
25
25
|
payment_method_id: string;
|
|
26
26
|
merchant_account_id?: string | undefined;
|
|
27
27
|
};
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { paypalVerifyPaymentMethod };
|
|
31
43
|
//# sourceMappingURL=verify-payment-method.d.cts.map
|
|
@@ -16,8 +16,8 @@ declare const PaypalVerifyPaymentMethodOutput: z.ZodObject<{
|
|
|
16
16
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
line: z.ZodNullable<z.ZodNumber>;
|
|
18
18
|
column: z.ZodNullable<z.ZodNumber>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
successful: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
22
22
|
}, z.core.$loose>;
|
|
23
23
|
declare const paypalVerifyPaymentMethod: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
@@ -25,7 +25,19 @@ declare const paypalVerifyPaymentMethod: import("@keystrokehq/action").WorkflowA
|
|
|
25
25
|
payment_method_id: string;
|
|
26
26
|
merchant_account_id?: string | undefined;
|
|
27
27
|
};
|
|
28
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
28
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
29
|
+
connectionId: z.ZodString;
|
|
30
|
+
entityId: z.ZodString;
|
|
31
|
+
instanceId: z.ZodString;
|
|
32
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
33
|
+
accessToken: z.ZodString;
|
|
34
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
35
|
+
connectionId: z.ZodString;
|
|
36
|
+
entityId: z.ZodString;
|
|
37
|
+
instanceId: z.ZodString;
|
|
38
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
39
|
+
accessToken: z.ZodString;
|
|
40
|
+
}, z.core.$strip>>]>;
|
|
29
41
|
//#endregion
|
|
30
42
|
export { paypalVerifyPaymentMethod };
|
|
31
43
|
//# sourceMappingURL=verify-payment-method.d.mts.map
|
|
@@ -8,12 +8,12 @@ const PaypalVerifyPaymentMethodInput = z.object({ input: z.object({
|
|
|
8
8
|
const PaypalVerifyPaymentMethod_ErrorLocationSchema = z.object({
|
|
9
9
|
line: z.number().int().describe("The line number in the query.").nullable(),
|
|
10
10
|
column: z.number().int().describe("The column number in the query.").nullable()
|
|
11
|
-
}).describe("A location in the GraphQL query where an error occurred.");
|
|
11
|
+
}).passthrough().describe("A location in the GraphQL query where an error occurred.");
|
|
12
12
|
const PaypalVerifyPaymentMethod_GraphQLErrorSchema = z.object({
|
|
13
13
|
path: z.array(z.union([z.string(), z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
|
|
14
14
|
message: z.string().describe("The error message.").nullable(),
|
|
15
15
|
locations: z.array(PaypalVerifyPaymentMethod_ErrorLocationSchema).describe("The locations in the query where the error occurred.").nullable().optional()
|
|
16
|
-
}).describe("A GraphQL error from the API response.");
|
|
16
|
+
}).passthrough().describe("A GraphQL error from the API response.");
|
|
17
17
|
const paypalVerifyPaymentMethod = action("PAYPAL_VERIFY_PAYMENT_METHOD", {
|
|
18
18
|
slug: "paypal-verify-payment-method",
|
|
19
19
|
name: "Verify Payment Method via Braintree",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-payment-method.mjs","names":[],"sources":["../../src/actions/verify-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyPaymentMethodInput = z.object({\n input: z.object({\n payment_method_id: z.string().describe(\"The ID of the payment method to verify. This should be a multi-use payment method that has been vaulted in the Braintree platform.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the verification. If not specified, the default merchant account is used.\").optional(),\n}).describe(\"The input containing the payment method ID and optional merchant account ID for verification.\"),\n}).describe(\"Request model for verifying a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to verify that a multi-use payment method is valid\\nand has passed fraud checks. Verification runs the payment method through your\\nconfigured fraud rules and confirms it is associated with a valid account with\\nthe card issuer.\\n\\nThis action is useful when you need to validate a payment method before using\\nit for transactions, or when you want to proactively check if a stored payment\\nmethod is still valid and not reported lost or stolen.\\n\\nNote: This action uses the Braintree GraphQL API endpoint at /graphql. The\\npayment method must be a multi-use (vaulted) token for verification to work.\");\nconst PaypalVerifyPaymentMethod_ErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query.\").nullable(),\n column: z.number().int().describe(\"The column number in the query.\").nullable(),\n}).describe(\"A location in the GraphQL query where an error occurred.\");\nconst PaypalVerifyPaymentMethod_GraphQLErrorSchema = 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(\"The error message.\").nullable(),\n locations: z.array(PaypalVerifyPaymentMethod_ErrorLocationSchema).describe(\"The locations in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A GraphQL error from the API response.\");\nexport const PaypalVerifyPaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The Braintree GraphQL response wrapper containing the actual data and extensions.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n errors: z.array(PaypalVerifyPaymentMethod_GraphQLErrorSchema).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n successful: z.boolean().describe(\"Whether the request was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for payment method verification.\");\n\nexport const paypalVerifyPaymentMethod = action(\"PAYPAL_VERIFY_PAYMENT_METHOD\", {\n slug: \"paypal-verify-payment-method\",\n name: \"Verify Payment Method via Braintree\",\n description: \"Verifies a multi-use payment method to ensure it has passed fraud rules and is associated with a valid account. Use this action when you need to verify that a vaulted (multi-use) payment method is valid before using it for transactions. The verification runs the payment method through your configured Braintree fraud rules and confirms with the card issuer that the card is associated with a valid account. This action is commonly used when a customer adds a new payment method and you want to validate it, when checking if a stored payment method is still valid before a scheduled transaction, or as part of a risk management workflow to pre-validate payment methods. The response includes a verification status (VERIFIED, FAILED, GATEWAY_REJECTED, or PROCESSOR_DECLINED) along with processor response codes. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The payment method must be a multi-use token that has been stored in the Braintree vault.\",\n input: PaypalVerifyPaymentMethodInput,\n output: PaypalVerifyPaymentMethodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO;CAChB,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAC3K,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC3G,CAAC,CAAC,CAAC,SAAS,osBAAosB;AAChtB,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,SAAS,0DAA0D;
|
|
1
|
+
{"version":3,"file":"verify-payment-method.mjs","names":[],"sources":["../../src/actions/verify-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyPaymentMethodInput = z.object({\n input: z.object({\n payment_method_id: z.string().describe(\"The ID of the payment method to verify. This should be a multi-use payment method that has been vaulted in the Braintree platform.\"),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the verification. If not specified, the default merchant account is used.\").optional(),\n}).describe(\"The input containing the payment method ID and optional merchant account ID for verification.\"),\n}).describe(\"Request model for verifying a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to verify that a multi-use payment method is valid\\nand has passed fraud checks. Verification runs the payment method through your\\nconfigured fraud rules and confirms it is associated with a valid account with\\nthe card issuer.\\n\\nThis action is useful when you need to validate a payment method before using\\nit for transactions, or when you want to proactively check if a stored payment\\nmethod is still valid and not reported lost or stolen.\\n\\nNote: This action uses the Braintree GraphQL API endpoint at /graphql. The\\npayment method must be a multi-use (vaulted) token for verification to work.\");\nconst PaypalVerifyPaymentMethod_ErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query.\").nullable(),\n column: z.number().int().describe(\"The column number in the query.\").nullable(),\n}).passthrough().describe(\"A location in the GraphQL query where an error occurred.\");\nconst PaypalVerifyPaymentMethod_GraphQLErrorSchema = 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(\"The error message.\").nullable(),\n locations: z.array(PaypalVerifyPaymentMethod_ErrorLocationSchema).describe(\"The locations in the query where the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"A GraphQL error from the API response.\");\nexport const PaypalVerifyPaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The Braintree GraphQL response wrapper containing the actual data and extensions.\").nullable().optional(),\n error: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n errors: z.array(PaypalVerifyPaymentMethod_GraphQLErrorSchema).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n successful: z.boolean().describe(\"Whether the request was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for payment method verification.\");\n\nexport const paypalVerifyPaymentMethod = action(\"PAYPAL_VERIFY_PAYMENT_METHOD\", {\n slug: \"paypal-verify-payment-method\",\n name: \"Verify Payment Method via Braintree\",\n description: \"Verifies a multi-use payment method to ensure it has passed fraud rules and is associated with a valid account. Use this action when you need to verify that a vaulted (multi-use) payment method is valid before using it for transactions. The verification runs the payment method through your configured Braintree fraud rules and confirms with the card issuer that the card is associated with a valid account. This action is commonly used when a customer adds a new payment method and you want to validate it, when checking if a stored payment method is still valid before a scheduled transaction, or as part of a risk management workflow to pre-validate payment methods. The response includes a verification status (VERIFIED, FAILED, GATEWAY_REJECTED, or PROCESSOR_DECLINED) along with processor response codes. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The payment method must be a multi-use token that has been stored in the Braintree vault.\",\n input: PaypalVerifyPaymentMethodInput,\n output: PaypalVerifyPaymentMethodOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO,EACrD,OAAO,EAAE,OAAO;CAChB,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,oIAAoI;CAC3K,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,SAAS,+FAA+F,EAC3G,CAAC,CAAC,CAAC,SAAS,osBAAosB;AAChtB,MAAM,gDAAgD,EAAE,OAAO;CAC7D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;AAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,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,oBAAoB,CAAC,CAAC,SAAS;CAC5D,WAAW,EAAE,MAAM,6CAA6C,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wCAAwC;AAQlE,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,mFAAmF,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1J,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,QAAQ,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,YAAY,EAAE,QAAQ,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kDAOhB;AACV,CAAC"}
|
|
@@ -23,7 +23,7 @@ const PaypalVerifyWebhookSignatureInput = zod.z.object({
|
|
|
23
23
|
transmission_sig: zod.z.string().describe("The PayPal-generated asymmetric signature. Appears in the PAYPAL-TRANSMISSION-SIG header of the notification message."),
|
|
24
24
|
transmission_time: zod.z.string().describe("The date and time of the HTTP transmission, in Internet date and time format. Appears in the PAYPAL-TRANSMISSION-TIME header of the notification message.")
|
|
25
25
|
}).describe("Request model for verifying a PayPal webhook signature.");
|
|
26
|
-
const PaypalVerifyWebhookSignatureOutput = zod.z.object({ verification_status: zod.z.enum(["SUCCESS", "FAILURE"]).describe("The status of the signature verification.").nullable() }).describe("Response model for webhook signature verification.");
|
|
26
|
+
const PaypalVerifyWebhookSignatureOutput = zod.z.object({ verification_status: zod.z.enum(["SUCCESS", "FAILURE"]).describe("The status of the signature verification.").nullable() }).passthrough().describe("Response model for webhook signature verification.");
|
|
27
27
|
const paypalVerifyWebhookSignature = require_action.action("PAYPAL_VERIFY_WEBHOOK_SIGNATURE", {
|
|
28
28
|
slug: "paypal-verify-webhook-signature",
|
|
29
29
|
name: "Verify Webhook Signature",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webhook-signature.cjs","names":["z","action"],"sources":["../../src/actions/verify-webhook-signature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyWebhookSignatureInput = z.object({\n cert_url: z.string().describe(\"The X.509 public key certificate. Download the certificate from this URL and use it to verify the signature. Extract this value from the PAYPAL-CERT-URL response header, which is received with the webhook notification.\"),\n auth_algo: z.string().describe(\"The algorithm that PayPal uses to generate the signature and that you can use to verify the signature. Extract this value from the PAYPAL-AUTH-ALGO response header, which is received with the webhook notification.\"),\n webhook_id: z.string().describe(\"The ID of the webhook as configured in your Developer Portal account.\"),\n webhook_event: z.object({\n id: z.string().describe(\"The ID of the webhook event notification.\"),\n links: z.array(z.object({\n rel: z.string().describe(\"The link relationship type.\").optional(),\n href: z.string().describe(\"The URI of the related resource.\").optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook events.\")).describe(\"An array of request-related HATEOAS links.\").optional(),\n summary: z.string().describe(\"A summary description for the event notification.\"),\n resource: z.record(z.string(), z.unknown()).describe(\"The resource that triggered the webhook event notification.\").optional(),\n event_type: z.string().describe(\"The event that triggered the webhook event notification.\"),\n create_time: z.string().describe(\"The date and time when the webhook event notification was created, in Internet date and time format.\"),\n event_version: z.string().describe(\"The event version in the webhook notification.\"),\n resource_type: z.string().describe(\"The name of the resource related to the webhook notification event.\"),\n resource_version: z.string().describe(\"The resource version in the webhook notification.\"),\n}).passthrough().describe(\"A webhook event notification.\"),\n transmission_id: z.string().describe(\"The ID of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-ID header of the notification message.\"),\n transmission_sig: z.string().describe(\"The PayPal-generated asymmetric signature. Appears in the PAYPAL-TRANSMISSION-SIG header of the notification message.\"),\n transmission_time: z.string().describe(\"The date and time of the HTTP transmission, in Internet date and time format. Appears in the PAYPAL-TRANSMISSION-TIME header of the notification message.\"),\n}).describe(\"Request model for verifying a PayPal webhook signature.\");\nexport const PaypalVerifyWebhookSignatureOutput = z.object({\n verification_status: z.enum([\"SUCCESS\", \"FAILURE\"]).describe(\"The status of the signature verification.\").nullable(),\n}).describe(\"Response model for webhook signature verification.\");\n\nexport const paypalVerifyWebhookSignature = action(\"PAYPAL_VERIFY_WEBHOOK_SIGNATURE\", {\n slug: \"paypal-verify-webhook-signature\",\n name: \"Verify Webhook Signature\",\n description: \"Verifies the signature of a PayPal webhook notification to confirm its authenticity. Use this action when you receive a webhook notification from PayPal and need to verify that it was actually sent by PayPal and not tampered with during transmission. This is essential for security when processing webhook events like payments, disputes, or subscription changes. The required parameters (auth_algo, cert_url, transmission_id, transmission_sig, transmission_time, webhook_id, and webhook_event) are extracted from the webhook notification headers and body that PayPal sends to your endpoint.\",\n input: PaypalVerifyWebhookSignatureInput,\n output: PaypalVerifyWebhookSignatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;CAC1P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;CACtP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,eAAeA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACxG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;CACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACnJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAC7J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;AACpM,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,oDAAoD;
|
|
1
|
+
{"version":3,"file":"verify-webhook-signature.cjs","names":["z","action"],"sources":["../../src/actions/verify-webhook-signature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyWebhookSignatureInput = z.object({\n cert_url: z.string().describe(\"The X.509 public key certificate. Download the certificate from this URL and use it to verify the signature. Extract this value from the PAYPAL-CERT-URL response header, which is received with the webhook notification.\"),\n auth_algo: z.string().describe(\"The algorithm that PayPal uses to generate the signature and that you can use to verify the signature. Extract this value from the PAYPAL-AUTH-ALGO response header, which is received with the webhook notification.\"),\n webhook_id: z.string().describe(\"The ID of the webhook as configured in your Developer Portal account.\"),\n webhook_event: z.object({\n id: z.string().describe(\"The ID of the webhook event notification.\"),\n links: z.array(z.object({\n rel: z.string().describe(\"The link relationship type.\").optional(),\n href: z.string().describe(\"The URI of the related resource.\").optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook events.\")).describe(\"An array of request-related HATEOAS links.\").optional(),\n summary: z.string().describe(\"A summary description for the event notification.\"),\n resource: z.record(z.string(), z.unknown()).describe(\"The resource that triggered the webhook event notification.\").optional(),\n event_type: z.string().describe(\"The event that triggered the webhook event notification.\"),\n create_time: z.string().describe(\"The date and time when the webhook event notification was created, in Internet date and time format.\"),\n event_version: z.string().describe(\"The event version in the webhook notification.\"),\n resource_type: z.string().describe(\"The name of the resource related to the webhook notification event.\"),\n resource_version: z.string().describe(\"The resource version in the webhook notification.\"),\n}).passthrough().describe(\"A webhook event notification.\"),\n transmission_id: z.string().describe(\"The ID of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-ID header of the notification message.\"),\n transmission_sig: z.string().describe(\"The PayPal-generated asymmetric signature. Appears in the PAYPAL-TRANSMISSION-SIG header of the notification message.\"),\n transmission_time: z.string().describe(\"The date and time of the HTTP transmission, in Internet date and time format. Appears in the PAYPAL-TRANSMISSION-TIME header of the notification message.\"),\n}).describe(\"Request model for verifying a PayPal webhook signature.\");\nexport const PaypalVerifyWebhookSignatureOutput = z.object({\n verification_status: z.enum([\"SUCCESS\", \"FAILURE\"]).describe(\"The status of the signature verification.\").nullable(),\n}).passthrough().describe(\"Response model for webhook signature verification.\");\n\nexport const paypalVerifyWebhookSignature = action(\"PAYPAL_VERIFY_WEBHOOK_SIGNATURE\", {\n slug: \"paypal-verify-webhook-signature\",\n name: \"Verify Webhook Signature\",\n description: \"Verifies the signature of a PayPal webhook notification to confirm its authenticity. Use this action when you receive a webhook notification from PayPal and need to verify that it was actually sent by PayPal and not tampered with during transmission. This is essential for security when processing webhook events like payments, disputes, or subscription changes. The required parameters (auth_algo, cert_url, transmission_id, transmission_sig, transmission_time, webhook_id, and webhook_event) are extracted from the webhook notification headers and body that PayPal sends to your endpoint.\",\n input: PaypalVerifyWebhookSignatureInput,\n output: PaypalVerifyWebhookSignatureOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;CAC1P,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;CACtP,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;CACvG,eAAeA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;EACnE,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;GACxB,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;GACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;EACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;EACvI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAChF,UAAUA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;EAC7H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;EAC1F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;EACvI,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;EACnF,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;EACxG,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;CACvD,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;CACnJ,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;CAC7J,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;AACpM,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAa,qCAAqCA,IAAAA,EAAE,OAAO,EACzD,qBAAqBA,IAAAA,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAAoD;AAE9E,MAAa,+BAA+BC,eAAAA,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -28,7 +28,7 @@ declare const PaypalVerifyWebhookSignatureOutput: z.ZodObject<{
|
|
|
28
28
|
SUCCESS: "SUCCESS";
|
|
29
29
|
FAILURE: "FAILURE";
|
|
30
30
|
}>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const paypalVerifyWebhookSignature: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
cert_url: string;
|
|
34
34
|
auth_algo: string;
|
|
@@ -52,7 +52,19 @@ declare const paypalVerifyWebhookSignature: import("@keystrokehq/action").Workfl
|
|
|
52
52
|
transmission_id: string;
|
|
53
53
|
transmission_sig: string;
|
|
54
54
|
transmission_time: string;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
entityId: z.ZodString;
|
|
58
|
+
instanceId: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
accessToken: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
62
|
+
connectionId: z.ZodString;
|
|
63
|
+
entityId: z.ZodString;
|
|
64
|
+
instanceId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
accessToken: z.ZodString;
|
|
67
|
+
}, z.core.$strip>>]>;
|
|
56
68
|
//#endregion
|
|
57
69
|
export { paypalVerifyWebhookSignature };
|
|
58
70
|
//# sourceMappingURL=verify-webhook-signature.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webhook-signature.d.cts","names":[],"sources":["../../src/actions/verify-webhook-signature.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA
|
|
1
|
+
{"version":3,"file":"verify-webhook-signature.d.cts","names":[],"sources":["../../src/actions/verify-webhook-signature.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -28,7 +28,7 @@ declare const PaypalVerifyWebhookSignatureOutput: z.ZodObject<{
|
|
|
28
28
|
SUCCESS: "SUCCESS";
|
|
29
29
|
FAILURE: "FAILURE";
|
|
30
30
|
}>>;
|
|
31
|
-
}, z.core.$
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const paypalVerifyWebhookSignature: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
cert_url: string;
|
|
34
34
|
auth_algo: string;
|
|
@@ -52,7 +52,19 @@ declare const paypalVerifyWebhookSignature: import("@keystrokehq/action").Workfl
|
|
|
52
52
|
transmission_id: string;
|
|
53
53
|
transmission_sig: string;
|
|
54
54
|
transmission_time: string;
|
|
55
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
55
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
56
|
+
connectionId: z.ZodString;
|
|
57
|
+
entityId: z.ZodString;
|
|
58
|
+
instanceId: z.ZodString;
|
|
59
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
60
|
+
accessToken: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
62
|
+
connectionId: z.ZodString;
|
|
63
|
+
entityId: z.ZodString;
|
|
64
|
+
instanceId: z.ZodString;
|
|
65
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
+
accessToken: z.ZodString;
|
|
67
|
+
}, z.core.$strip>>]>;
|
|
56
68
|
//#endregion
|
|
57
69
|
export { paypalVerifyWebhookSignature };
|
|
58
70
|
//# sourceMappingURL=verify-webhook-signature.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webhook-signature.d.mts","names":[],"sources":["../../src/actions/verify-webhook-signature.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA
|
|
1
|
+
{"version":3,"file":"verify-webhook-signature.d.mts","names":[],"sources":["../../src/actions/verify-webhook-signature.ts"],"mappings":";;;cAIa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;cAsBjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;cAIlC,4BAAA,gCAA4B,wBAAA"}
|
|
@@ -26,7 +26,7 @@ const paypalVerifyWebhookSignature = action("PAYPAL_VERIFY_WEBHOOK_SIGNATURE", {
|
|
|
26
26
|
transmission_sig: z.string().describe("The PayPal-generated asymmetric signature. Appears in the PAYPAL-TRANSMISSION-SIG header of the notification message."),
|
|
27
27
|
transmission_time: z.string().describe("The date and time of the HTTP transmission, in Internet date and time format. Appears in the PAYPAL-TRANSMISSION-TIME header of the notification message.")
|
|
28
28
|
}).describe("Request model for verifying a PayPal webhook signature."),
|
|
29
|
-
output: z.object({ verification_status: z.enum(["SUCCESS", "FAILURE"]).describe("The status of the signature verification.").nullable() }).describe("Response model for webhook signature verification.")
|
|
29
|
+
output: z.object({ verification_status: z.enum(["SUCCESS", "FAILURE"]).describe("The status of the signature verification.").nullable() }).passthrough().describe("Response model for webhook signature verification.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { paypalVerifyWebhookSignature };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verify-webhook-signature.mjs","names":[],"sources":["../../src/actions/verify-webhook-signature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyWebhookSignatureInput = z.object({\n cert_url: z.string().describe(\"The X.509 public key certificate. Download the certificate from this URL and use it to verify the signature. Extract this value from the PAYPAL-CERT-URL response header, which is received with the webhook notification.\"),\n auth_algo: z.string().describe(\"The algorithm that PayPal uses to generate the signature and that you can use to verify the signature. Extract this value from the PAYPAL-AUTH-ALGO response header, which is received with the webhook notification.\"),\n webhook_id: z.string().describe(\"The ID of the webhook as configured in your Developer Portal account.\"),\n webhook_event: z.object({\n id: z.string().describe(\"The ID of the webhook event notification.\"),\n links: z.array(z.object({\n rel: z.string().describe(\"The link relationship type.\").optional(),\n href: z.string().describe(\"The URI of the related resource.\").optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook events.\")).describe(\"An array of request-related HATEOAS links.\").optional(),\n summary: z.string().describe(\"A summary description for the event notification.\"),\n resource: z.record(z.string(), z.unknown()).describe(\"The resource that triggered the webhook event notification.\").optional(),\n event_type: z.string().describe(\"The event that triggered the webhook event notification.\"),\n create_time: z.string().describe(\"The date and time when the webhook event notification was created, in Internet date and time format.\"),\n event_version: z.string().describe(\"The event version in the webhook notification.\"),\n resource_type: z.string().describe(\"The name of the resource related to the webhook notification event.\"),\n resource_version: z.string().describe(\"The resource version in the webhook notification.\"),\n}).passthrough().describe(\"A webhook event notification.\"),\n transmission_id: z.string().describe(\"The ID of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-ID header of the notification message.\"),\n transmission_sig: z.string().describe(\"The PayPal-generated asymmetric signature. Appears in the PAYPAL-TRANSMISSION-SIG header of the notification message.\"),\n transmission_time: z.string().describe(\"The date and time of the HTTP transmission, in Internet date and time format. Appears in the PAYPAL-TRANSMISSION-TIME header of the notification message.\"),\n}).describe(\"Request model for verifying a PayPal webhook signature.\");\nexport const PaypalVerifyWebhookSignatureOutput = z.object({\n verification_status: z.enum([\"SUCCESS\", \"FAILURE\"]).describe(\"The status of the signature verification.\").nullable(),\n}).describe(\"Response model for webhook signature verification.\");\n\nexport const paypalVerifyWebhookSignature = action(\"PAYPAL_VERIFY_WEBHOOK_SIGNATURE\", {\n slug: \"paypal-verify-webhook-signature\",\n name: \"Verify Webhook Signature\",\n description: \"Verifies the signature of a PayPal webhook notification to confirm its authenticity. Use this action when you receive a webhook notification from PayPal and need to verify that it was actually sent by PayPal and not tampered with during transmission. This is essential for security when processing webhook events like payments, disputes, or subscription changes. The required parameters (auth_algo, cert_url, transmission_id, transmission_sig, transmission_time, webhook_id, and webhook_event) are extracted from the webhook notification headers and body that PayPal sends to your endpoint.\",\n input: PaypalVerifyWebhookSignatureInput,\n output: PaypalVerifyWebhookSignatureOutput,\n});\n"],"mappings":";;AA8BA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;EAC1P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;EACtP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,eAAe,EAAE,OAAO;GACxB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,OAAO,EAAE,MAAM,EAAE,OAAO;IACxB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;IACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;GACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;GAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;GAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;GACvI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;GACxG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACnJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;EAC7J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CACpM,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATgD,EAAE,OAAO,EACzD,qBAAqB,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"verify-webhook-signature.mjs","names":[],"sources":["../../src/actions/verify-webhook-signature.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalVerifyWebhookSignatureInput = z.object({\n cert_url: z.string().describe(\"The X.509 public key certificate. Download the certificate from this URL and use it to verify the signature. Extract this value from the PAYPAL-CERT-URL response header, which is received with the webhook notification.\"),\n auth_algo: z.string().describe(\"The algorithm that PayPal uses to generate the signature and that you can use to verify the signature. Extract this value from the PAYPAL-AUTH-ALGO response header, which is received with the webhook notification.\"),\n webhook_id: z.string().describe(\"The ID of the webhook as configured in your Developer Portal account.\"),\n webhook_event: z.object({\n id: z.string().describe(\"The ID of the webhook event notification.\"),\n links: z.array(z.object({\n rel: z.string().describe(\"The link relationship type.\").optional(),\n href: z.string().describe(\"The URI of the related resource.\").optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook events.\")).describe(\"An array of request-related HATEOAS links.\").optional(),\n summary: z.string().describe(\"A summary description for the event notification.\"),\n resource: z.record(z.string(), z.unknown()).describe(\"The resource that triggered the webhook event notification.\").optional(),\n event_type: z.string().describe(\"The event that triggered the webhook event notification.\"),\n create_time: z.string().describe(\"The date and time when the webhook event notification was created, in Internet date and time format.\"),\n event_version: z.string().describe(\"The event version in the webhook notification.\"),\n resource_type: z.string().describe(\"The name of the resource related to the webhook notification event.\"),\n resource_version: z.string().describe(\"The resource version in the webhook notification.\"),\n}).passthrough().describe(\"A webhook event notification.\"),\n transmission_id: z.string().describe(\"The ID of the HTTP transmission. Contained in the PAYPAL-TRANSMISSION-ID header of the notification message.\"),\n transmission_sig: z.string().describe(\"The PayPal-generated asymmetric signature. Appears in the PAYPAL-TRANSMISSION-SIG header of the notification message.\"),\n transmission_time: z.string().describe(\"The date and time of the HTTP transmission, in Internet date and time format. Appears in the PAYPAL-TRANSMISSION-TIME header of the notification message.\"),\n}).describe(\"Request model for verifying a PayPal webhook signature.\");\nexport const PaypalVerifyWebhookSignatureOutput = z.object({\n verification_status: z.enum([\"SUCCESS\", \"FAILURE\"]).describe(\"The status of the signature verification.\").nullable(),\n}).passthrough().describe(\"Response model for webhook signature verification.\");\n\nexport const paypalVerifyWebhookSignature = action(\"PAYPAL_VERIFY_WEBHOOK_SIGNATURE\", {\n slug: \"paypal-verify-webhook-signature\",\n name: \"Verify Webhook Signature\",\n description: \"Verifies the signature of a PayPal webhook notification to confirm its authenticity. Use this action when you receive a webhook notification from PayPal and need to verify that it was actually sent by PayPal and not tampered with during transmission. This is essential for security when processing webhook events like payments, disputes, or subscription changes. The required parameters (auth_algo, cert_url, transmission_id, transmission_sig, transmission_time, webhook_id, and webhook_event) are extracted from the webhook notification headers and body that PayPal sends to your endpoint.\",\n input: PaypalVerifyWebhookSignatureInput,\n output: PaypalVerifyWebhookSignatureOutput,\n});\n"],"mappings":";;AA8BA,MAAa,+BAA+B,OAAO,mCAAmC;CACpF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OA9B+C,EAAE,OAAO;EACxD,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,4NAA4N;EAC1P,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,uNAAuN;EACtP,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uEAAuE;EACvG,eAAe,EAAE,OAAO;GACxB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C;GACnE,OAAO,EAAE,MAAM,EAAE,OAAO;IACxB,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;IACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;GACzE,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;GACvI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;GAChF,UAAU,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,SAAS;GAC7H,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D;GAC1F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,sGAAsG;GACvI,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD;GACnF,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,qEAAqE;GACxG,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD;EAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;EACvD,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G;EACnJ,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH;EAC7J,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,2JAA2J;CACpM,CAAC,CAAC,CAAC,SAAS,yDASH;CACP,QATgD,EAAE,OAAO,EACzD,qBAAqB,EAAE,KAAK,CAAC,WAAW,SAAS,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,EACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
package/dist/app.cjs
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
let _keystrokehq_keystroke_app = require("@keystrokehq/keystroke/app");
|
|
2
|
+
let zod = require("zod");
|
|
1
3
|
//#region src/app.ts
|
|
2
|
-
const paypal = (0,
|
|
4
|
+
const paypal = (0, _keystrokehq_keystroke_app.defineApp)({
|
|
3
5
|
slug: "paypal",
|
|
4
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { accessToken: zod.z.string() }
|
|
5
8
|
});
|
|
6
9
|
//#endregion
|
|
7
10
|
exports.paypal = paypal;
|
package/dist/app.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.cjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const paypal = defineApp({\n slug: \"paypal\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.cjs","names":["z"],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const paypal = defineApp({\n slug: \"paypal\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,UAAA,GAAA,2BAAA,UAAA,CAAmB;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAaA,IAAAA,EAAE,OAAO,EACxB;AACF,CAAC"}
|
package/dist/app.d.cts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const paypal: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const paypal: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
accessToken: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
3
11
|
//#endregion
|
|
4
12
|
export { paypal };
|
|
5
13
|
//# sourceMappingURL=app.d.cts.map
|
package/dist/app.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.cts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.d.mts
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
1
3
|
//#region src/app.d.ts
|
|
2
|
-
declare const paypal: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential
|
|
4
|
+
declare const paypal: import("@keystrokehq/app").App<import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
5
|
+
connectionId: z.ZodString;
|
|
6
|
+
entityId: z.ZodString;
|
|
7
|
+
instanceId: z.ZodString;
|
|
8
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9
|
+
accessToken: z.ZodString;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
3
11
|
//#endregion
|
|
4
12
|
export { paypal };
|
|
5
13
|
//# sourceMappingURL=app.d.mts.map
|
package/dist/app.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.d.mts","names":[],"sources":["../src/app.ts"],"mappings":";;;cAGa,MAAA,6BAAM,GAAA,+BAAA,UAAA,WAAA,CAAA,CAAA,SAAA"}
|
package/dist/app.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineApp } from "@keystrokehq/keystroke/app";
|
|
2
|
+
import { z } from "zod";
|
|
2
3
|
//#region src/app.ts
|
|
3
4
|
const paypal = defineApp({
|
|
4
5
|
slug: "paypal",
|
|
5
|
-
auth: "keystroke"
|
|
6
|
+
auth: "keystroke",
|
|
7
|
+
credential: { accessToken: z.string() }
|
|
6
8
|
});
|
|
7
9
|
//#endregion
|
|
8
10
|
export { paypal };
|
package/dist/app.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\n\nexport const paypal = defineApp({\n slug: \"paypal\",\n auth: \"keystroke\",\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"app.mjs","names":[],"sources":["../src/app.ts"],"sourcesContent":["import { defineApp } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nexport const paypal = defineApp({\n slug: \"paypal\",\n auth: \"keystroke\",\n credential: {\n accessToken: z.string(),\n },\n});\n"],"mappings":";;;AAGA,MAAa,SAAS,UAAU;CAC9B,MAAM;CACN,MAAM;CACN,YAAY,EACV,aAAa,EAAE,OAAO,EACxB;AACF,CAAC"}
|