@keystrokehq/paypal 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/activate-plan.cjs +1 -0
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +3 -15
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +3 -15
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs +1 -0
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +1 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +3 -33
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +3 -33
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +1 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +1 -0
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +5 -25
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +5 -25
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +1 -0
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -20
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -20
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +1 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -15
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +3 -15
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +1 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +1 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +5 -23
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +5 -23
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +1 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +3 -55
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +3 -55
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +5 -151
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +5 -151
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +1 -0
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +3 -77
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +3 -77
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +1 -0
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +1 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +3 -48
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +3 -48
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +1 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +1 -0
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +3 -49
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -49
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +1 -0
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +1 -0
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +3 -21
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -21
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +1 -0
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +1 -0
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +3 -88
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +3 -88
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +1 -0
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -119
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -119
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +1 -0
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +3 -32
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +3 -32
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +1 -0
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +1 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +3 -13
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +3 -13
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +1 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -21
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -21
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +3 -15
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +3 -15
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +3 -16
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +3 -16
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +3 -15
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +3 -15
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +3 -15
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +3 -15
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +1 -0
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +3 -15
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +3 -15
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +1 -0
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +1 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +3 -49
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +3 -49
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +1 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -0
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +3 -13
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +3 -13
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -0
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +3 -13
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +3 -13
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +3 -18
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -18
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +1 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +3 -20
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +3 -20
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs +1 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -15
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -15
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +1 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +3 -15
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +3 -15
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +1 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -16
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -16
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -0
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +3 -15
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -15
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +1 -0
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +1 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -15
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +3 -15
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs +1 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +1 -0
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +3 -15
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +3 -15
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs +1 -0
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -15
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -15
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +1 -0
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +3 -16
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +3 -16
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs +1 -0
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -15
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -15
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +1 -0
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -15
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +3 -15
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs +1 -0
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +1 -0
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +3 -15
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +3 -15
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +1 -0
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +1 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +3 -15
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +3 -15
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +1 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -21
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -21
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -18
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -18
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +5 -23
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +5 -23
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +1 -0
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +3 -18
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -18
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +1 -0
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -17
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -17
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -17
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -17
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +1 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +3 -17
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +3 -17
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +1 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +1 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -13
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +3 -13
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +1 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +1 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -13
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +3 -13
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +1 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -15
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -15
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +1 -0
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -22
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -22
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +1 -0
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +1 -0
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -22
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +3 -22
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs +1 -0
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +1 -0
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +3 -22
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +3 -22
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +1 -0
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +1 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -22
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -22
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +1 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +1 -0
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +3 -13
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +3 -13
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +1 -0
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +1 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +3 -18
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +3 -18
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +1 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +1 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +3 -15
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +3 -15
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +1 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +1 -0
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +5 -56
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +5 -56
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +1 -0
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +1 -0
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +3 -20
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +3 -20
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +1 -0
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +1 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +3 -18
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +3 -18
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +1 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +1 -0
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +3 -22
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +3 -22
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +1 -0
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +5 -183
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +5 -183
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +1 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -22
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -22
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +1 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +1 -0
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +3 -225
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +3 -225
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs +1 -0
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +1 -0
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +3 -32
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +3 -32
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +1 -0
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +1 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +3 -18
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +3 -18
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +1 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +3 -36
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +3 -36
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-userinfo.d.ts
|
|
@@ -45,21 +47,7 @@ declare const PaypalGetUserinfoOutput: z.ZodObject<{
|
|
|
45
47
|
phone_number_verified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
verified_account_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const paypalGetUserinfo:
|
|
49
|
-
claims_schema?: "paypalv1.userinfo-1.0" | "openid" | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
accessToken: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
accessToken: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
50
|
+
declare const paypalGetUserinfo: AppAction<typeof PaypalGetUserinfoInput, typeof PaypalGetUserinfoOutput, typeof paypal.credential>;
|
|
63
51
|
//#endregion
|
|
64
52
|
export { paypalGetUserinfo };
|
|
65
53
|
//# sourceMappingURL=get-userinfo.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-userinfo.d.cts","names":[],"sources":["../../src/actions/get-userinfo.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-userinfo.d.cts","names":[],"sources":["../../src/actions/get-userinfo.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cActB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-userinfo.d.ts
|
|
@@ -45,21 +47,7 @@ declare const PaypalGetUserinfoOutput: z.ZodObject<{
|
|
|
45
47
|
phone_number_verified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
48
|
verified_account_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
47
49
|
}, z.core.$loose>;
|
|
48
|
-
declare const paypalGetUserinfo:
|
|
49
|
-
claims_schema?: "paypalv1.userinfo-1.0" | "openid" | undefined;
|
|
50
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
51
|
-
connectionId: z.ZodString;
|
|
52
|
-
entityId: z.ZodString;
|
|
53
|
-
instanceId: z.ZodString;
|
|
54
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
55
|
-
accessToken: z.ZodString;
|
|
56
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
57
|
-
connectionId: z.ZodString;
|
|
58
|
-
entityId: z.ZodString;
|
|
59
|
-
instanceId: z.ZodString;
|
|
60
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
61
|
-
accessToken: z.ZodString;
|
|
62
|
-
}, z.core.$strip>>]>;
|
|
50
|
+
declare const paypalGetUserinfo: AppAction<typeof PaypalGetUserinfoInput, typeof PaypalGetUserinfoOutput, typeof paypal.credential>;
|
|
63
51
|
//#endregion
|
|
64
52
|
export { paypalGetUserinfo };
|
|
65
53
|
//# sourceMappingURL=get-userinfo.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-userinfo.d.mts","names":[],"sources":["../../src/actions/get-userinfo.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-userinfo.d.mts","names":[],"sources":["../../src/actions/get-userinfo.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;cActB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA8BvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-userinfo.mjs","names":[],"sources":["../../src/actions/get-userinfo.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetUserinfoInput = z.object({\n claims_schema: z.enum([\"paypalv1.userinfo-1.0\", \"openid\"]).default(\"openid\").describe(\"The schema that defines the claims format.\").optional(),\n}).describe(\"Request model for retrieving PayPal user claims via OpenID Connect.\");\nconst PaypalGetUserinfo_AddressClaimSchema = z.object({\n region: z.string().describe(\"The region (state/province).\").nullable().optional(),\n country: z.string().describe(\"The country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n locality: z.string().describe(\"The locality (city).\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code (zip code).\").nullable().optional(),\n street_address: z.string().describe(\"The street address.\").nullable().optional(),\n}).passthrough().describe(\"The user's address claim.\");\nconst PaypalGetUserinfo_AuthClaimEntrySchema = z.object({\n name: z.string().describe(\"The name of the authentication claim.\").nullable().optional(),\n value: z.string().describe(\"The value of the authentication claim.\").nullable().optional(),\n}).passthrough().describe(\"An individual authentication claim entry.\");\nexport const PaypalGetUserinfoOutput = z.object({\n sub: z.string().describe(\"The subject (same as user_id, OIDC standard format).\").nullable().optional(),\n name: z.string().describe(\"The user's full name.\").nullable().optional(),\n email: z.string().describe(\"The user's email address.\").nullable().optional(),\n gender: z.string().describe(\"The user's gender (male, female, or other).\").nullable().optional(),\n locale: z.string().describe(\"The user's locale (language and country code).\").nullable().optional(),\n address: PaypalGetUserinfo_AddressClaimSchema.nullable().optional(),\n context: z.string().describe(\"The user context identifier.\").nullable().optional(),\n user_id: z.string().describe(\"The subject identifier (unique user ID in format 'https://paypal.com/PayPalID').\").nullable().optional(),\n payer_id: z.string().describe(\"The PayPal payer ID.\").nullable().optional(),\n zoneinfo: z.string().describe(\"The user's timezone zoneinfo string.\").nullable().optional(),\n age_range: z.string().describe(\"The user's age range if available.\").nullable().optional(),\n birthdate: z.string().describe(\"The user's birthdate in YYYY-MM-DD format.\").nullable().optional(),\n birth_year: z.string().describe(\"The user's birth year.\").nullable().optional(),\n given_name: z.string().describe(\"The user's first/given name.\").nullable().optional(),\n login_hint: z.string().describe(\"Login hint used for authentication.\").nullable().optional(),\n auth_claims: z.array(PaypalGetUserinfo_AuthClaimEntrySchema).describe(\"Additional authentication claims.\").nullable().optional(),\n birth_month: z.string().describe(\"The user's birth month.\").nullable().optional(),\n family_name: z.string().describe(\"The user's last/family name.\").nullable().optional(),\n middle_name: z.string().describe(\"The user's middle name if available.\").nullable().optional(),\n account_type: z.string().describe(\"The PayPal account type ('PERSONAL' or 'BUSINESS').\").nullable().optional(),\n phone_number: z.string().describe(\"The user's phone number.\").nullable().optional(),\n email_verified: z.string().describe(\"Indicates whether the email has been verified ('true' or 'false').\").nullable().optional(),\n claims_supported: z.array(z.string()).describe(\"List of supported claims by the server.\").nullable().optional(),\n verified_account: z.string().describe(\"Indicates whether the account is verified ('true' or 'false').\").nullable().optional(),\n preferred_username: z.string().describe(\"The user's preferred PayPal username.\").nullable().optional(),\n phone_number_verified: z.string().describe(\"Indicates whether the phone number has been verified ('true' or 'false').\").nullable().optional(),\n verified_account_type: z.string().describe(\"The type of verified account ('PERSONAL' or 'BUSINESS').\").nullable().optional(),\n}).passthrough().describe(\"Response model for PayPal OpenID Connect userinfo endpoint.\");\n\nexport const paypalGetUserinfo = action(\"PAYPAL_GET_USERINFO\", {\n slug: \"paypal-get-userinfo\",\n name: \"Get PayPal User Info\",\n description: \"Retrieves user claims from PayPal using OpenID Connect. Use when you need to obtain authenticated user's profile information such as email, name, and address based on an access token. This endpoint returns user identity information associated with the OAuth access token provided in the Authorization header. The access token must have been obtained via OpenID Connect authentication flow. This action requires an access token with the 'openid' scope. The token is passed via the Authorization header (Bearer token), which is automatically injected from the auth_metadata.\",\n input: PaypalGetUserinfoInput,\n output: PaypalGetUserinfoOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-userinfo.mjs","names":[],"sources":["../../src/actions/get-userinfo.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetUserinfoInput = z.object({\n claims_schema: z.enum([\"paypalv1.userinfo-1.0\", \"openid\"]).default(\"openid\").describe(\"The schema that defines the claims format.\").optional(),\n}).describe(\"Request model for retrieving PayPal user claims via OpenID Connect.\");\nconst PaypalGetUserinfo_AddressClaimSchema = z.object({\n region: z.string().describe(\"The region (state/province).\").nullable().optional(),\n country: z.string().describe(\"The country code (ISO 3166-1 alpha-2).\").nullable().optional(),\n locality: z.string().describe(\"The locality (city).\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code (zip code).\").nullable().optional(),\n street_address: z.string().describe(\"The street address.\").nullable().optional(),\n}).passthrough().describe(\"The user's address claim.\");\nconst PaypalGetUserinfo_AuthClaimEntrySchema = z.object({\n name: z.string().describe(\"The name of the authentication claim.\").nullable().optional(),\n value: z.string().describe(\"The value of the authentication claim.\").nullable().optional(),\n}).passthrough().describe(\"An individual authentication claim entry.\");\nexport const PaypalGetUserinfoOutput = z.object({\n sub: z.string().describe(\"The subject (same as user_id, OIDC standard format).\").nullable().optional(),\n name: z.string().describe(\"The user's full name.\").nullable().optional(),\n email: z.string().describe(\"The user's email address.\").nullable().optional(),\n gender: z.string().describe(\"The user's gender (male, female, or other).\").nullable().optional(),\n locale: z.string().describe(\"The user's locale (language and country code).\").nullable().optional(),\n address: PaypalGetUserinfo_AddressClaimSchema.nullable().optional(),\n context: z.string().describe(\"The user context identifier.\").nullable().optional(),\n user_id: z.string().describe(\"The subject identifier (unique user ID in format 'https://paypal.com/PayPalID').\").nullable().optional(),\n payer_id: z.string().describe(\"The PayPal payer ID.\").nullable().optional(),\n zoneinfo: z.string().describe(\"The user's timezone zoneinfo string.\").nullable().optional(),\n age_range: z.string().describe(\"The user's age range if available.\").nullable().optional(),\n birthdate: z.string().describe(\"The user's birthdate in YYYY-MM-DD format.\").nullable().optional(),\n birth_year: z.string().describe(\"The user's birth year.\").nullable().optional(),\n given_name: z.string().describe(\"The user's first/given name.\").nullable().optional(),\n login_hint: z.string().describe(\"Login hint used for authentication.\").nullable().optional(),\n auth_claims: z.array(PaypalGetUserinfo_AuthClaimEntrySchema).describe(\"Additional authentication claims.\").nullable().optional(),\n birth_month: z.string().describe(\"The user's birth month.\").nullable().optional(),\n family_name: z.string().describe(\"The user's last/family name.\").nullable().optional(),\n middle_name: z.string().describe(\"The user's middle name if available.\").nullable().optional(),\n account_type: z.string().describe(\"The PayPal account type ('PERSONAL' or 'BUSINESS').\").nullable().optional(),\n phone_number: z.string().describe(\"The user's phone number.\").nullable().optional(),\n email_verified: z.string().describe(\"Indicates whether the email has been verified ('true' or 'false').\").nullable().optional(),\n claims_supported: z.array(z.string()).describe(\"List of supported claims by the server.\").nullable().optional(),\n verified_account: z.string().describe(\"Indicates whether the account is verified ('true' or 'false').\").nullable().optional(),\n preferred_username: z.string().describe(\"The user's preferred PayPal username.\").nullable().optional(),\n phone_number_verified: z.string().describe(\"Indicates whether the phone number has been verified ('true' or 'false').\").nullable().optional(),\n verified_account_type: z.string().describe(\"The type of verified account ('PERSONAL' or 'BUSINESS').\").nullable().optional(),\n}).passthrough().describe(\"Response model for PayPal OpenID Connect userinfo endpoint.\");\n\nexport const paypalGetUserinfo: AppAction<\n typeof PaypalGetUserinfoInput,\n typeof PaypalGetUserinfoOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_USERINFO\", {\n slug: \"paypal-get-userinfo\",\n name: \"Get PayPal User Info\",\n description: \"Retrieves user claims from PayPal using OpenID Connect. Use when you need to obtain authenticated user's profile information such as email, name, and address based on an access token. This endpoint returns user identity information associated with the OAuth access token provided in the Authorization header. The access token must have been obtained via OpenID Connect authentication flow. This action requires an access token with the 'openid' scope. The token is passed via the Authorization header (Bearer token), which is automatically injected from the auth_metadata.\",\n input: PaypalGetUserinfoInput,\n output: PaypalGetUserinfoOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyB,EAAE,OAAO,EAC7C,eAAe,EAAE,KAAK,CAAC,yBAAyB,QAAQ,CAAC,CAAC,CAAC,QAAQ,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,EAC/I,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAM,uCAAuC,EAAE,OAAO;CACpD,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChF,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpF,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;A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AS,gEAAgE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5H,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5I,uBAAuB,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to retrieve.\"),\n}).describe(\"Request model for getting a PayPal web experience profile by ID.\");\nconst PaypalGetWebProfile_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"Presents either the **Continue** or **Pay Now** checkout flow to the customer. Default is **Continue**, or `user_action=continue`. When you do not know the final payment amount, accept this default flow. When you know the final payment amount, set `user_action=commit` to choose the **Pay Now** flow.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display on the PayPal site for user checkout. To use the non-PayPal account landing page, set to `Billing`. To use the PayPal account login landing page, set to `Login`.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use to redirect the customer to a return URL. Value is `GET` or `POST`.\").nullable().optional(),\n}).passthrough().describe(\"Model for flow configuration parameters.\");\nconst PaypalGetWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields on the experience pages. Value is 0 (display), 1 (redact), or 2 (from account profile).\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address that is passed to this call rather than the one on file. Value is 0 (display on file) or 1 (display passed address).\").nullable().optional(),\n}).passthrough().describe(\"Model for input field customization parameters.\");\nconst PaypalGetWebProfile_PresentationSchema = 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: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types: .gif, .jpg, .png. Maximum width: 190 pixels, maximum height: 60 pixels. Character length: 127 single-byte alphanumeric characters.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US. Also valid 5-character codes: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, zh_TW.\").nullable().optional(),\n}).passthrough().describe(\"Model for style and presentation parameters.\");\nexport const PaypalGetWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. To persist the profile permanently, set to `false`. To persist the profile for three hours, set to `true`.\").nullable().optional(),\n flow_config: PaypalGetWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalGetWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalGetWebProfile_PresentationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing web experience profile details from PayPal API.\");\n\nexport const paypalGetWebProfile = action(\"PAYPAL_GET_WEB_PROFILE\", {\n slug: \"paypal-get-web-profile\",\n name: \"Get Web Profile\",\n description: \"Retrieves detailed information about a PayPal web experience profile by its ID. Use when you need to get details about an existing web experience profile, such as its name, flow configuration, input field settings, or presentation style. This is useful for auditing profile settings, verifying configurations, or retrieving profile information before updating. This is a read-only operation that returns the web profile details including its ID, name, flow config, input fields, presentation settings, and temporary status.\",\n input: PaypalGetWebProfileInput,\n output: PaypalGetWebProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/get-web-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to retrieve.\"),\n}).describe(\"Request model for getting a PayPal web experience profile by ID.\");\nconst PaypalGetWebProfile_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"Presents either the **Continue** or **Pay Now** checkout flow to the customer. Default is **Continue**, or `user_action=continue`. When you do not know the final payment amount, accept this default flow. When you know the final payment amount, set `user_action=commit` to choose the **Pay Now** flow.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display on the PayPal site for user checkout. To use the non-PayPal account landing page, set to `Billing`. To use the PayPal account login landing page, set to `Login`.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use to redirect the customer to a return URL. Value is `GET` or `POST`.\").nullable().optional(),\n}).passthrough().describe(\"Model for flow configuration parameters.\");\nconst PaypalGetWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields on the experience pages. Value is 0 (display), 1 (redact), or 2 (from account profile).\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address that is passed to this call rather than the one on file. Value is 0 (display on file) or 1 (display passed address).\").nullable().optional(),\n}).passthrough().describe(\"Model for input field customization parameters.\");\nconst PaypalGetWebProfile_PresentationSchema = 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: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types: .gif, .jpg, .png. Maximum width: 190 pixels, maximum height: 60 pixels. Character length: 127 single-byte alphanumeric characters.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US. Also valid 5-character codes: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, zh_TW.\").nullable().optional(),\n}).passthrough().describe(\"Model for style and presentation parameters.\");\nexport const PaypalGetWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. To persist the profile permanently, set to `false`. To persist the profile for three hours, set to `true`.\").nullable().optional(),\n flow_config: PaypalGetWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalGetWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalGetWebProfile_PresentationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing web experience profile details from PayPal API.\");\n\nexport const paypalGetWebProfile: AppAction<\n typeof PaypalGetWebProfileInput,\n typeof PaypalGetWebProfileOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEB_PROFILE\", {\n slug: \"paypal-get-web-profile\",\n name: \"Get Web Profile\",\n description: \"Retrieves detailed information about a PayPal web experience profile by its ID. Use when you need to get details about an existing web experience profile, such as its name, flow configuration, input field settings, or presentation style. This is useful for auditing profile settings, verifying configurations, or retrieving profile information before updating. This is a read-only operation that returns the web profile details including its ID, name, flow config, input fields, presentation settings, and temporary status.\",\n input: PaypalGetWebProfileInput,\n output: PaypalGetWebProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAA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sQAAsQ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/T,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AACxE,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC5H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzO,aAAa,qCAAqC,SAAS,CAAC,CAAC,SAAS;CACtE,cAAc,sCAAsC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAc,uCAAuC,SAAS,CAAC,CAAC,SAAS;AAC3E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2EAA2E;AAErG,MAAa,sBAITC,eAAAA,OAAO,0BAA0B;CACnC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-web-profile.d.ts
|
|
@@ -24,21 +26,7 @@ declare const PaypalGetWebProfileOutput: z.ZodObject<{
|
|
|
24
26
|
locale_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const paypalGetWebProfile:
|
|
28
|
-
id: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const paypalGetWebProfile: AppAction<typeof PaypalGetWebProfileInput, typeof PaypalGetWebProfileOutput, typeof paypal.credential>;
|
|
42
30
|
//#endregion
|
|
43
31
|
export { paypalGetWebProfile };
|
|
44
32
|
//# sourceMappingURL=get-web-profile.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-web-profile.d.cts","names":[],"sources":["../../src/actions/get-web-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-web-profile.d.cts","names":[],"sources":["../../src/actions/get-web-profile.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-web-profile.d.ts
|
|
@@ -24,21 +26,7 @@ declare const PaypalGetWebProfileOutput: z.ZodObject<{
|
|
|
24
26
|
locale_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>>>;
|
|
26
28
|
}, z.core.$loose>;
|
|
27
|
-
declare const paypalGetWebProfile:
|
|
28
|
-
id: string;
|
|
29
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
30
|
-
connectionId: z.ZodString;
|
|
31
|
-
entityId: z.ZodString;
|
|
32
|
-
instanceId: z.ZodString;
|
|
33
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
-
accessToken: z.ZodString;
|
|
35
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>;
|
|
29
|
+
declare const paypalGetWebProfile: AppAction<typeof PaypalGetWebProfileInput, typeof PaypalGetWebProfileOutput, typeof paypal.credential>;
|
|
42
30
|
//#endregion
|
|
43
31
|
export { paypalGetWebProfile };
|
|
44
32
|
//# sourceMappingURL=get-web-profile.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-web-profile.d.mts","names":[],"sources":["../../src/actions/get-web-profile.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-web-profile.d.mts","names":[],"sources":["../../src/actions/get-web-profile.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;cAkBxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;cASzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-web-profile.mjs","names":[],"sources":["../../src/actions/get-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to retrieve.\"),\n}).describe(\"Request model for getting a PayPal web experience profile by ID.\");\nconst PaypalGetWebProfile_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"Presents either the **Continue** or **Pay Now** checkout flow to the customer. Default is **Continue**, or `user_action=continue`. When you do not know the final payment amount, accept this default flow. When you know the final payment amount, set `user_action=commit` to choose the **Pay Now** flow.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display on the PayPal site for user checkout. To use the non-PayPal account landing page, set to `Billing`. To use the PayPal account login landing page, set to `Login`.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use to redirect the customer to a return URL. Value is `GET` or `POST`.\").nullable().optional(),\n}).passthrough().describe(\"Model for flow configuration parameters.\");\nconst PaypalGetWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields on the experience pages. Value is 0 (display), 1 (redact), or 2 (from account profile).\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address that is passed to this call rather than the one on file. Value is 0 (display on file) or 1 (display passed address).\").nullable().optional(),\n}).passthrough().describe(\"Model for input field customization parameters.\");\nconst PaypalGetWebProfile_PresentationSchema = 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: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types: .gif, .jpg, .png. Maximum width: 190 pixels, maximum height: 60 pixels. Character length: 127 single-byte alphanumeric characters.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US. Also valid 5-character codes: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, zh_TW.\").nullable().optional(),\n}).passthrough().describe(\"Model for style and presentation parameters.\");\nexport const PaypalGetWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. To persist the profile permanently, set to `false`. To persist the profile for three hours, set to `true`.\").nullable().optional(),\n flow_config: PaypalGetWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalGetWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalGetWebProfile_PresentationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing web experience profile details from PayPal API.\");\n\nexport const paypalGetWebProfile = action(\"PAYPAL_GET_WEB_PROFILE\", {\n slug: \"paypal-get-web-profile\",\n name: \"Get Web Profile\",\n description: \"Retrieves detailed information about a PayPal web experience profile by its ID. Use when you need to get details about an existing web experience profile, such as its name, flow configuration, input field settings, or presentation style. This is useful for auditing profile settings, verifying configurations, or retrieving profile information before updating. This is a read-only operation that returns the web profile details including its ID, name, flow config, input fields, presentation settings, and temporary status.\",\n input: PaypalGetWebProfileInput,\n output: PaypalGetWebProfileOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-web-profile.mjs","names":[],"sources":["../../src/actions/get-web-profile.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to retrieve.\"),\n}).describe(\"Request model for getting a PayPal web experience profile by ID.\");\nconst PaypalGetWebProfile_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"Presents either the **Continue** or **Pay Now** checkout flow to the customer. Default is **Continue**, or `user_action=continue`. When you do not know the final payment amount, accept this default flow. When you know the final payment amount, set `user_action=commit` to choose the **Pay Now** flow.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display on the PayPal site for user checkout. To use the non-PayPal account landing page, set to `Billing`. To use the PayPal account login landing page, set to `Login`.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The merchant site URL to display after a bank transfer payment. In Germany, valid only for the Giropay payment method or bank transfer payment method.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use to redirect the customer to a return URL. Value is `GET` or `POST`.\").nullable().optional(),\n}).passthrough().describe(\"Model for flow configuration parameters.\");\nconst PaypalGetWebProfile_InputFieldsSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether PayPal displays shipping address fields on the experience pages. Value is 0 (display), 1 (redact), or 2 (from account profile).\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address that is passed to this call rather than the one on file. Value is 0 (display on file) or 1 (display passed address).\").nullable().optional(),\n}).passthrough().describe(\"Model for input field customization parameters.\");\nconst PaypalGetWebProfile_PresentationSchema = 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: 127 single-byte alphanumeric characters.\").nullable().optional(),\n logo_image: z.string().describe(\"A URL to the logo image. Valid media types: .gif, .jpg, .png. Maximum width: 190 pixels, maximum height: 60 pixels. Character length: 127 single-byte alphanumeric characters.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that the PayPal payment experience displays. Valid values: AU, AT, BE, BR, CA, CH, CN, DE, ES, GB, FR, IT, NL, PL, PT, RU, US. Also valid 5-character codes: da_DK, he_IL, id_ID, ja_JP, no_NO, pt_BR, ru_RU, sv_SE, th_TH, zh_CN, zh_HK, zh_TW.\").nullable().optional(),\n}).passthrough().describe(\"Model for style and presentation parameters.\");\nexport const PaypalGetWebProfileOutput = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. To persist the profile permanently, set to `false`. To persist the profile for three hours, set to `true`.\").nullable().optional(),\n flow_config: PaypalGetWebProfile_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalGetWebProfile_InputFieldsSchema.nullable().optional(),\n presentation: PaypalGetWebProfile_PresentationSchema.nullable().optional(),\n}).passthrough().describe(\"Response model containing web experience profile details from PayPal API.\");\n\nexport const paypalGetWebProfile: AppAction<\n typeof PaypalGetWebProfileInput,\n typeof PaypalGetWebProfileOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEB_PROFILE\", {\n slug: \"paypal-get-web-profile\",\n name: \"Get Web Profile\",\n description: \"Retrieves detailed information about a PayPal web experience profile by its ID. Use when you need to get details about an existing web experience profile, such as its name, flow configuration, input field settings, or presentation style. This is useful for auditing profile settings, verifying configurations, or retrieving profile information before updating. This is a read-only operation that returns the web profile details including its ID, name, flow config, input fields, presentation settings, and temporary status.\",\n input: PaypalGetWebProfileInput,\n output: PaypalGetWebProfileOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,EAC7E,CAAC,CAAC,CAAC,SAAS,kEAAkE;AAC9E,MAAM,uCAAuC,EAAE,OAAO;CACpD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,8SAA8S,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrW,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uMAAuM,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpQ,sBAAsB,EAAE,OAAO,CAAC,CAAC,SAAS,wJAAwJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxN,wBAAwB,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChK,CAAC,CAAC,CAAC,YAAY,CA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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-lookup.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebhookLookupInput = z.object({\n webhook_lookup_id: z.string().describe(\"The ID of the webhook lookup to retrieve. This is the unique identifier assigned when the webhook lookup was created.\"),\n}).describe(\"Request model for getting a PayPal webhook lookup by ID.\");\nconst PaypalGetWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook lookup responses.\");\nexport const PaypalGetWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalGetWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing webhook lookup details from PayPal API.\");\n\nexport const paypalGetWebhookLookup = action(\"PAYPAL_GET_WEBHOOK_LOOKUP\", {\n slug: \"paypal-get-webhook-lookup\",\n name: \"Get Webhook Lookup\",\n description: \"Retrieves detailed information about a specific PayPal webhook lookup by its ID. Use this action when you need to get details about a webhook lookup, such as its associated client ID and related HATEOAS links. This is useful for verifying webhook lookup information or auditing webhook lookup records. This is a read-only operation that returns the webhook lookup details including the lookup ID, client ID, and related links for navigation.\",\n input: PaypalGetWebhookLookupInput,\n output: PaypalGetWebhookLookupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook-lookup.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook-lookup.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebhookLookupInput = z.object({\n webhook_lookup_id: z.string().describe(\"The ID of the webhook lookup to retrieve. This is the unique identifier assigned when the webhook lookup was created.\"),\n}).describe(\"Request model for getting a PayPal webhook lookup by ID.\");\nconst PaypalGetWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook lookup responses.\");\nexport const PaypalGetWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalGetWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing webhook lookup details from PayPal API.\");\n\nexport const paypalGetWebhookLookup: AppAction<\n typeof PaypalGetWebhookLookupInput,\n typeof PaypalGetWebhookLookupOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEBHOOK_LOOKUP\", {\n slug: \"paypal-get-webhook-lookup\",\n name: \"Get Webhook Lookup\",\n description: \"Retrieves detailed information about a specific PayPal webhook lookup by its ID. Use this action when you need to get details about a webhook lookup, such as its associated client ID and related HATEOAS links. This is useful for verifying webhook lookup information or auditing webhook lookup records. This is a read-only operation that returns the webhook lookup details including the lookup ID, client ID, and related links for navigation.\",\n input: PaypalGetWebhookLookupInput,\n output: PaypalGetWebhookLookupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EAChK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiDA,IAAAA,EAAE,OAAO;CAC9D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAC3F,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;CAClE,OAAOA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAAmE;AAE7F,MAAa,yBAITC,eAAAA,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhook-lookup.d.ts
|
|
@@ -13,21 +15,7 @@ declare const PaypalGetWebhookLookupOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const paypalGetWebhookLookup:
|
|
17
|
-
webhook_lookup_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const paypalGetWebhookLookup: AppAction<typeof PaypalGetWebhookLookupInput, typeof PaypalGetWebhookLookupOutput, typeof paypal.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { paypalGetWebhookLookup };
|
|
33
21
|
//# sourceMappingURL=get-webhook-lookup.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-lookup.d.cts","names":[],"sources":["../../src/actions/get-webhook-lookup.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook-lookup.d.cts","names":[],"sources":["../../src/actions/get-webhook-lookup.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhook-lookup.d.ts
|
|
@@ -13,21 +15,7 @@ declare const PaypalGetWebhookLookupOutput: z.ZodObject<{
|
|
|
13
15
|
}, z.core.$loose>>>>;
|
|
14
16
|
client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const paypalGetWebhookLookup:
|
|
17
|
-
webhook_lookup_id: string;
|
|
18
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
19
|
-
connectionId: z.ZodString;
|
|
20
|
-
entityId: z.ZodString;
|
|
21
|
-
instanceId: z.ZodString;
|
|
22
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
23
|
-
accessToken: z.ZodString;
|
|
24
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
entityId: z.ZodString;
|
|
27
|
-
instanceId: z.ZodString;
|
|
28
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
29
|
-
accessToken: z.ZodString;
|
|
30
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const paypalGetWebhookLookup: AppAction<typeof PaypalGetWebhookLookupInput, typeof PaypalGetWebhookLookupOutput, typeof paypal.credential>;
|
|
31
19
|
//#endregion
|
|
32
20
|
export { paypalGetWebhookLookup };
|
|
33
21
|
//# sourceMappingURL=get-webhook-lookup.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-lookup.d.mts","names":[],"sources":["../../src/actions/get-webhook-lookup.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook-lookup.d.mts","names":[],"sources":["../../src/actions/get-webhook-lookup.ts"],"mappings":";;;;;cAMa,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;cAQ3B,4BAAA,EAA4B,CAAA,CAAA,SAAA;;;;;;;;;cAM5B,sBAAA,EAAwB,SAAA,QAC5B,2BAAA,SACA,4BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook-lookup.mjs","names":[],"sources":["../../src/actions/get-webhook-lookup.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebhookLookupInput = z.object({\n webhook_lookup_id: z.string().describe(\"The ID of the webhook lookup to retrieve. This is the unique identifier assigned when the webhook lookup was created.\"),\n}).describe(\"Request model for getting a PayPal webhook lookup by ID.\");\nconst PaypalGetWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook lookup responses.\");\nexport const PaypalGetWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalGetWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing webhook lookup details from PayPal API.\");\n\nexport const paypalGetWebhookLookup = action(\"PAYPAL_GET_WEBHOOK_LOOKUP\", {\n slug: \"paypal-get-webhook-lookup\",\n name: \"Get Webhook Lookup\",\n description: \"Retrieves detailed information about a specific PayPal webhook lookup by its ID. Use this action when you need to get details about a webhook lookup, such as its associated client ID and related HATEOAS links. This is useful for verifying webhook lookup information or auditing webhook lookup records. This is a read-only operation that returns the webhook lookup details including the lookup ID, client ID, and related links for navigation.\",\n input: PaypalGetWebhookLookupInput,\n output: PaypalGetWebhookLookupOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook-lookup.mjs","names":[],"sources":["../../src/actions/get-webhook-lookup.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebhookLookupInput = z.object({\n webhook_lookup_id: z.string().describe(\"The ID of the webhook lookup to retrieve. This is the unique identifier assigned when the webhook lookup was created.\"),\n}).describe(\"Request model for getting a PayPal webhook lookup by ID.\");\nconst PaypalGetWebhookLookup_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook lookup responses.\");\nexport const PaypalGetWebhookLookupOutput = z.object({\n id: z.string().describe(\"The ID of the webhook lookup.\").nullable(),\n links: z.array(PaypalGetWebhookLookup_WebhookLookupLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n client_id: z.string().describe(\"The application client ID.\").nullable().optional(),\n}).passthrough().describe(\"Response model containing webhook lookup details from PayPal API.\");\n\nexport const paypalGetWebhookLookup: AppAction<\n typeof PaypalGetWebhookLookupInput,\n typeof PaypalGetWebhookLookupOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEBHOOK_LOOKUP\", {\n slug: \"paypal-get-webhook-lookup\",\n name: \"Get Webhook Lookup\",\n description: \"Retrieves detailed information about a specific PayPal webhook lookup by its ID. Use this action when you need to get details about a webhook lookup, such as its associated client ID and related HATEOAS links. This is useful for verifying webhook lookup information or auditing webhook lookup records. This is a read-only operation that returns the webhook lookup details including the lookup ID, client ID, and related links for navigation.\",\n input: PaypalGetWebhookLookupInput,\n output: PaypalGetWebhookLookupOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,8BAA8B,EAAE,OAAO,EAClD,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,EAChK,CAAC,CAAC,CAAC,SAAS,0DAA0D;AACtE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iEAAiE;AAO3F,MAAa,yBAIT,OAAO,6BAA6B;CACtC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAf0C,EAAE,OAAO;EACnD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS;EAClE,OAAO,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1I,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook: AppAction<\n typeof PaypalGetWebhookInput,\n typeof PaypalGetWebhookOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":";;;;AA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7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhook.d.ts
|
|
@@ -21,21 +23,7 @@ declare const PaypalGetWebhookOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const paypalGetWebhook:
|
|
25
|
-
webhook_id: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const paypalGetWebhook: AppAction<typeof PaypalGetWebhookInput, typeof PaypalGetWebhookOutput, typeof paypal.credential>;
|
|
39
27
|
//#endregion
|
|
40
28
|
export { paypalGetWebhook };
|
|
41
29
|
//# sourceMappingURL=get-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhook.d.ts
|
|
@@ -21,21 +23,7 @@ declare const PaypalGetWebhookOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const paypalGetWebhook:
|
|
25
|
-
webhook_id: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
27
|
-
connectionId: z.ZodString;
|
|
28
|
-
entityId: z.ZodString;
|
|
29
|
-
instanceId: z.ZodString;
|
|
30
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
-
accessToken: z.ZodString;
|
|
32
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
33
|
-
connectionId: z.ZodString;
|
|
34
|
-
entityId: z.ZodString;
|
|
35
|
-
instanceId: z.ZodString;
|
|
36
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
-
accessToken: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const paypalGetWebhook: AppAction<typeof PaypalGetWebhookInput, typeof PaypalGetWebhookOutput, typeof paypal.credential>;
|
|
39
27
|
//#endregion
|
|
40
28
|
export { paypalGetWebhook };
|
|
41
29
|
//# sourceMappingURL=get-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook: AppAction<\n typeof PaypalGetWebhookInput,\n typeof PaypalGetWebhookOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID,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M;CACN,aAAa;CACb,OAAO;CACP,QAhBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;EAClJ,OAAO,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-disputes.cjs","names":["z","action"],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-disputes.cjs","names":["z","action"],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes: AppAction<\n typeof PaypalListDisputesInput,\n typeof PaypalListDisputesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC5Q,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAA+B;EAAuB;EAAY;EAAkB;CAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC7a,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACnL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACrL,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,S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