@keystrokehq/paypal 0.1.3 → 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 -3
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +3 -3
- 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 -21
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +3 -21
- 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 +3 -11
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +3 -11
- 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 -8
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -8
- 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 -3
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +3 -3
- 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 -11
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +5 -11
- 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 -43
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +3 -43
- 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 -139
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +5 -139
- 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 -65
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +3 -65
- 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 -36
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +3 -36
- 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 -37
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -37
- 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 -9
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -9
- 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 -76
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +3 -76
- 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 -107
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -107
- 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 -20
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +3 -20
- 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 -1
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +3 -1
- 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 -9
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -9
- 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 -3
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +3 -3
- 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 -4
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +3 -4
- 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 -4
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +3 -4
- 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 -4
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +3 -4
- 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 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +3 -3
- 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 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- 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 -3
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +3 -3
- 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 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
- 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 -37
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +3 -37
- 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 -1
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +3 -1
- 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 -3
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +3 -3
- 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 -1
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +3 -1
- 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 -6
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -6
- 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 -8
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +3 -8
- 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 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -3
- 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 -6
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +3 -6
- 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 -3
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +3 -3
- 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 -4
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -4
- 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 -3
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -3
- 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 -3
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +3 -3
- 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 -3
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +3 -3
- 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 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -3
- 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 -4
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +3 -4
- 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 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -3
- 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 -3
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +3 -3
- 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 -3
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +3 -3
- 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 -3
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +3 -3
- 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 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- 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 -9
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -9
- 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 -6
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -6
- 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 -8
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +3 -8
- 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 +3 -9
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +3 -9
- 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 -6
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -6
- 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 -5
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -5
- 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 -5
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -5
- 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 -5
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +3 -5
- 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 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
- 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 -1
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +3 -1
- 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 -1
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +3 -1
- 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 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -3
- 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 -10
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -10
- 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 -10
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +3 -10
- 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 -10
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +3 -10
- 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 -10
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -10
- 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 -1
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +3 -1
- 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 -6
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +3 -6
- 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 -3
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +3 -3
- 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 -44
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +5 -44
- 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 -8
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +3 -8
- 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 -6
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +3 -6
- 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 -10
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +3 -10
- 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 -171
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +5 -171
- 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 -10
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -10
- 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 -10
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +3 -10
- 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 -213
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +3 -213
- 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 -20
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +3 -20
- 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 -6
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +3 -6
- 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 -24
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +3 -24
- 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 +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- 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/find-eligible-methods.d.ts
|
|
@@ -84,43 +86,7 @@ declare const PaypalFindEligibleMethodsOutput: z.ZodObject<{
|
|
|
84
86
|
}, z.core.$loose>>>;
|
|
85
87
|
}, z.core.$loose>>>;
|
|
86
88
|
}, z.core.$loose>;
|
|
87
|
-
declare const paypalFindEligibleMethods:
|
|
88
|
-
purchase_units: {
|
|
89
|
-
[x: string]: unknown;
|
|
90
|
-
amount: {
|
|
91
|
-
value: string;
|
|
92
|
-
currency_code: string;
|
|
93
|
-
};
|
|
94
|
-
payee?: {
|
|
95
|
-
merchant_id?: string | undefined;
|
|
96
|
-
email_address?: string | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
customer?: {
|
|
100
|
-
id?: string | undefined;
|
|
101
|
-
email?: string | undefined;
|
|
102
|
-
phone?: {
|
|
103
|
-
country_code: string;
|
|
104
|
-
national_number: string;
|
|
105
|
-
extension_number?: string | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
channel?: {
|
|
108
|
-
client_os?: string | undefined;
|
|
109
|
-
device_type?: string | undefined;
|
|
110
|
-
browser_type?: string | undefined;
|
|
111
|
-
} | undefined;
|
|
112
|
-
country_code?: string | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
preferences?: {
|
|
115
|
-
payment_flow?: "ONE_TIME_PAYMENT" | "RECURRING_PAYMENT" | "VAULT_WITH_PAYMENT" | "VAULT_WITHOUT_PAYMENT" | undefined;
|
|
116
|
-
include_vault_tokens?: boolean | undefined;
|
|
117
|
-
include_account_details?: boolean | undefined;
|
|
118
|
-
payment_source_constraint?: {
|
|
119
|
-
constraint_type: "INCLUDE" | "EXCLUDE";
|
|
120
|
-
payment_sources: string[];
|
|
121
|
-
} | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
89
|
+
declare const paypalFindEligibleMethods: AppAction<typeof PaypalFindEligibleMethodsInput, typeof PaypalFindEligibleMethodsOutput, typeof paypal.credential>;
|
|
124
90
|
//#endregion
|
|
125
91
|
export { paypalFindEligibleMethods };
|
|
126
92
|
//# sourceMappingURL=find-eligible-methods.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-eligible-methods.d.cts","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.d.cts","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/find-eligible-methods.d.ts
|
|
@@ -84,43 +86,7 @@ declare const PaypalFindEligibleMethodsOutput: z.ZodObject<{
|
|
|
84
86
|
}, z.core.$loose>>>;
|
|
85
87
|
}, z.core.$loose>>>;
|
|
86
88
|
}, z.core.$loose>;
|
|
87
|
-
declare const paypalFindEligibleMethods:
|
|
88
|
-
purchase_units: {
|
|
89
|
-
[x: string]: unknown;
|
|
90
|
-
amount: {
|
|
91
|
-
value: string;
|
|
92
|
-
currency_code: string;
|
|
93
|
-
};
|
|
94
|
-
payee?: {
|
|
95
|
-
merchant_id?: string | undefined;
|
|
96
|
-
email_address?: string | undefined;
|
|
97
|
-
} | undefined;
|
|
98
|
-
}[];
|
|
99
|
-
customer?: {
|
|
100
|
-
id?: string | undefined;
|
|
101
|
-
email?: string | undefined;
|
|
102
|
-
phone?: {
|
|
103
|
-
country_code: string;
|
|
104
|
-
national_number: string;
|
|
105
|
-
extension_number?: string | undefined;
|
|
106
|
-
} | undefined;
|
|
107
|
-
channel?: {
|
|
108
|
-
client_os?: string | undefined;
|
|
109
|
-
device_type?: string | undefined;
|
|
110
|
-
browser_type?: string | undefined;
|
|
111
|
-
} | undefined;
|
|
112
|
-
country_code?: string | undefined;
|
|
113
|
-
} | undefined;
|
|
114
|
-
preferences?: {
|
|
115
|
-
payment_flow?: "ONE_TIME_PAYMENT" | "RECURRING_PAYMENT" | "VAULT_WITH_PAYMENT" | "VAULT_WITHOUT_PAYMENT" | undefined;
|
|
116
|
-
include_vault_tokens?: boolean | undefined;
|
|
117
|
-
include_account_details?: boolean | undefined;
|
|
118
|
-
payment_source_constraint?: {
|
|
119
|
-
constraint_type: "INCLUDE" | "EXCLUDE";
|
|
120
|
-
payment_sources: string[];
|
|
121
|
-
} | undefined;
|
|
122
|
-
} | undefined;
|
|
123
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
89
|
+
declare const paypalFindEligibleMethods: AppAction<typeof PaypalFindEligibleMethodsInput, typeof PaypalFindEligibleMethodsOutput, typeof paypal.credential>;
|
|
124
90
|
//#endregion
|
|
125
91
|
export { paypalFindEligibleMethods };
|
|
126
92
|
//# sourceMappingURL=find-eligible-methods.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-eligible-methods.d.mts","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.d.mts","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgE9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"find-eligible-methods.mjs","names":[],"sources":["../../src/actions/find-eligible-methods.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFindEligibleMethodsInput = z.object({\n customer: z.object({\n id: z.string().describe(\"The unique ID for a customer in merchant's or partner's system of records.\").optional(),\n email: z.string().describe(\"The internationalized email address.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"The country calling code, prefixed with '+' followed by the country code.\"),\n national_number: z.string().describe(\"The national number of the phone.\"),\n extension_number: z.string().describe(\"The extension number.\").optional(),\n}).describe(\"The phone number of the customer.\").optional(),\n channel: z.object({\n client_os: z.string().describe(\"The client operating system.\").optional(),\n device_type: z.string().describe(\"The type of device.\").optional(),\n browser_type: z.string().describe(\"The browser type of the customer.\").optional(),\n}).describe(\"The channel through which the customer is interacting with the merchant.\").optional(),\n country_code: z.string().describe(\"The country code of the customer, represented as the ISO 3166-1 alpha-2 country code.\").optional(),\n}).describe(\"Customer who is making a purchase from the merchant/partner.\").optional(),\n preferences: z.object({\n payment_flow: z.enum([\"ONE_TIME_PAYMENT\", \"RECURRING_PAYMENT\", \"VAULT_WITH_PAYMENT\", \"VAULT_WITHOUT_PAYMENT\"]).describe(\"Specifies the payment flow for eligibility assessment.\").optional(),\n include_vault_tokens: z.boolean().default(false).describe(\"If set to true, response will include vaulted token information if the eligible funding source has any instrument vaulted for the customer. Defaults to false.\").optional(),\n include_account_details: z.boolean().default(false).describe(\"If set to true, response will include confirmation if the customer has PayPal and/or Venmo accounts if they are eligible payment methods. Defaults to false.\").optional(),\n payment_source_constraint: z.object({\n constraint_type: z.enum([\"INCLUDE\", \"EXCLUDE\"]).describe(\"The constraint type for the payment sources. Use INCLUDE to restrict to specified sources, or EXCLUDE to exclude specified sources.\"),\n payment_sources: z.array(z.string()).describe(\"The list of payment sources to include or exclude based on the constraint_type.\"),\n}).describe(\"Payment source constraint defines the payment methods to include/exclude for eligibility assessment.\").optional(),\n}).describe(\"Preferences of merchant/partner consuming the API.\").optional(),\n purchase_units: z.array(z.object({\n payee: z.object({\n merchant_id: z.string().describe(\"The PayPal-assigned ID for the payee.\").optional(),\n email_address: z.string().describe(\"The email address of the payee.\").optional(),\n}).describe(\"The payee details for the purchase unit.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The monetary value, often in the format '10.00' with two decimal places.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for the purchase unit.\"),\n}).passthrough().describe(\"Purchase unit for payment eligibility.\")).describe(\"An array of purchase units for which to determine payment eligibility. Each unit includes amount and optionally payee information.\"),\n}).describe(\"Request schema for finding eligible payment methods.\\n\\nUse this action when you need to discover which payment methods\\nare available for a customer based on their country and purchase details.\\nThis helps determine what payment options (PayPal, Venmo, etc.) can be offered.\\n\\n**Required fields:**\\n- purchase_units: At least one purchase unit with amount information\\n\\n**Optional fields:**\\n- customer: Customer information including country_code and email\\n- preferences: Options for including vault tokens or specifying payment constraints\");\nconst PaypalFindEligibleMethods_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalFindEligibleMethods_PaymentSourceSchema = z.object({\n name: z.string().describe(\"The name on the payment source.\").nullable().optional(),\n type: z.string().describe(\"The type of the payment source.\").nullable().optional(),\n source_id: z.string().describe(\"The source ID of the vaulted instrument.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes of the payment source.\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the payment source.\").nullable().optional(),\n}).passthrough().describe(\"The vaulted payment method details.\");\nconst PaypalFindEligibleMethods_PaymentTokenSchema = z.object({\n id: z.string().describe(\"The unique ID of the payment token.\").nullable(),\n links: z.array(PaypalFindEligibleMethods_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to this payment token.\").nullable().optional(),\n payment_source: PaypalFindEligibleMethods_PaymentSourceSchema.nullable().optional(),\n}).passthrough().describe(\"Payment token for a vaulted instrument.\");\nconst PaypalFindEligibleMethods_PaymentMethodDetailsSchema = z.object({\n label: z.string().describe(\"The display label for the payment method.\").nullable().optional(),\n vault_status: z.string().describe(\"The vault status if the payment method is vaulted.\").nullable().optional(),\n product_usage: z.record(z.string(), z.unknown()).describe(\"Product-specific usage information for the payment method.\").nullable().optional(),\n}).passthrough().describe(\"Details about an eligible payment method.\");\nconst PaypalFindEligibleMethods_PaymentMethodsSchema = z.object({\n venmo: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_credit: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_pay_later: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"The eligible payment methods.\");\nexport const PaypalFindEligibleMethodsOutput = z.object({\n payment_tokens: z.array(PaypalFindEligibleMethods_PaymentTokenSchema).describe(\"Payment tokens for vaulted instruments, if available. Only included if include_vault_tokens is set to true in the request.\").nullable().optional(),\n eligible_methods: PaypalFindEligibleMethods_PaymentMethodsSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for find eligible payment methods.\\n\\nContains the list of eligible payment methods and optionally\\nvaulted tokens if requested in the preferences.\");\n\nexport const paypalFindEligibleMethods = action(\"PAYPAL_FIND_ELIGIBLE_METHODS\", {\n slug: \"paypal-find-eligible-methods\",\n name: \"Find eligible PayPal payment methods\",\n description: \"Find a list of eligible payment methods for a customer. Use this action when you need to determine which payment methods (such as PayPal, PayPal Credit, Pay Later, or Venmo) are available for a customer based on their country and purchase details. This is useful for displaying appropriate payment options during checkout or determining payment eligibility before creating an order. The response includes available payment methods and optionally vaulted tokens if the customer has saved payment instruments. **Common use cases:** - Pre-checkout payment method availability - Display appropriate payment options to customers - Determine eligible funding sources for a transaction\",\n input: PaypalFindEligibleMethodsInput,\n output: PaypalFindEligibleMethodsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,UAAU,EAAE,OAAO;EACnB,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;EAC/G,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC5E,OAAO,EAAE,OAAO;GAChB,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,2EAA2E;GAC7G,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC;GACxE,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS;EAC1E,CAAC,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EACxD,SAAS,EAAE,OAAO;GAClB,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS;GACxE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;GACjE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;EAClF,CAAC,CAAC,CAAC,SAAS,0EAA0E,CAAC,CAAC,SAAS;EAC/F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC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,MAAM,uDAAuD,EAAE,OAAO;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5F,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,eAAe,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2CAA2C;AACrE,MAAM,iDAAiD,EAAE,OAAO;CAC9D,OAAO,qDAAqD,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACjF,eAAe,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACxF,kBAAkB,qDAAqD,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAV6C,EAAE,OAAO;EACtD,gBAAgB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjO,kBAAkB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qKAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"find-eligible-methods.mjs","names":[],"sources":["../../src/actions/find-eligible-methods.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 PaypalFindEligibleMethodsInput = z.object({\n customer: z.object({\n id: z.string().describe(\"The unique ID for a customer in merchant's or partner's system of records.\").optional(),\n email: z.string().describe(\"The internationalized email address.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"The country calling code, prefixed with '+' followed by the country code.\"),\n national_number: z.string().describe(\"The national number of the phone.\"),\n extension_number: z.string().describe(\"The extension number.\").optional(),\n}).describe(\"The phone number of the customer.\").optional(),\n channel: z.object({\n client_os: z.string().describe(\"The client operating system.\").optional(),\n device_type: z.string().describe(\"The type of device.\").optional(),\n browser_type: z.string().describe(\"The browser type of the customer.\").optional(),\n}).describe(\"The channel through which the customer is interacting with the merchant.\").optional(),\n country_code: z.string().describe(\"The country code of the customer, represented as the ISO 3166-1 alpha-2 country code.\").optional(),\n}).describe(\"Customer who is making a purchase from the merchant/partner.\").optional(),\n preferences: z.object({\n payment_flow: z.enum([\"ONE_TIME_PAYMENT\", \"RECURRING_PAYMENT\", \"VAULT_WITH_PAYMENT\", \"VAULT_WITHOUT_PAYMENT\"]).describe(\"Specifies the payment flow for eligibility assessment.\").optional(),\n include_vault_tokens: z.boolean().default(false).describe(\"If set to true, response will include vaulted token information if the eligible funding source has any instrument vaulted for the customer. Defaults to false.\").optional(),\n include_account_details: z.boolean().default(false).describe(\"If set to true, response will include confirmation if the customer has PayPal and/or Venmo accounts if they are eligible payment methods. Defaults to false.\").optional(),\n payment_source_constraint: z.object({\n constraint_type: z.enum([\"INCLUDE\", \"EXCLUDE\"]).describe(\"The constraint type for the payment sources. Use INCLUDE to restrict to specified sources, or EXCLUDE to exclude specified sources.\"),\n payment_sources: z.array(z.string()).describe(\"The list of payment sources to include or exclude based on the constraint_type.\"),\n}).describe(\"Payment source constraint defines the payment methods to include/exclude for eligibility assessment.\").optional(),\n}).describe(\"Preferences of merchant/partner consuming the API.\").optional(),\n purchase_units: z.array(z.object({\n payee: z.object({\n merchant_id: z.string().describe(\"The PayPal-assigned ID for the payee.\").optional(),\n email_address: z.string().describe(\"The email address of the payee.\").optional(),\n}).describe(\"The payee details for the purchase unit.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The monetary value, often in the format '10.00' with two decimal places.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for the purchase unit.\"),\n}).passthrough().describe(\"Purchase unit for payment eligibility.\")).describe(\"An array of purchase units for which to determine payment eligibility. Each unit includes amount and optionally payee information.\"),\n}).describe(\"Request schema for finding eligible payment methods.\\n\\nUse this action when you need to discover which payment methods\\nare available for a customer based on their country and purchase details.\\nThis helps determine what payment options (PayPal, Venmo, etc.) can be offered.\\n\\n**Required fields:**\\n- purchase_units: At least one purchase unit with amount information\\n\\n**Optional fields:**\\n- customer: Customer information including country_code and email\\n- preferences: Options for including vault tokens or specifying payment constraints\");\nconst PaypalFindEligibleMethods_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalFindEligibleMethods_PaymentSourceSchema = z.object({\n name: z.string().describe(\"The name on the payment source.\").nullable().optional(),\n type: z.string().describe(\"The type of the payment source.\").nullable().optional(),\n source_id: z.string().describe(\"The source ID of the vaulted instrument.\").nullable().optional(),\n attributes: z.record(z.string(), z.unknown()).describe(\"Additional attributes of the payment source.\").nullable().optional(),\n email_address: z.string().describe(\"The email address associated with the payment source.\").nullable().optional(),\n}).passthrough().describe(\"The vaulted payment method details.\");\nconst PaypalFindEligibleMethods_PaymentTokenSchema = z.object({\n id: z.string().describe(\"The unique ID of the payment token.\").nullable(),\n links: z.array(PaypalFindEligibleMethods_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to this payment token.\").nullable().optional(),\n payment_source: PaypalFindEligibleMethods_PaymentSourceSchema.nullable().optional(),\n}).passthrough().describe(\"Payment token for a vaulted instrument.\");\nconst PaypalFindEligibleMethods_PaymentMethodDetailsSchema = z.object({\n label: z.string().describe(\"The display label for the payment method.\").nullable().optional(),\n vault_status: z.string().describe(\"The vault status if the payment method is vaulted.\").nullable().optional(),\n product_usage: z.record(z.string(), z.unknown()).describe(\"Product-specific usage information for the payment method.\").nullable().optional(),\n}).passthrough().describe(\"Details about an eligible payment method.\");\nconst PaypalFindEligibleMethods_PaymentMethodsSchema = z.object({\n venmo: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_credit: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n paypal_pay_later: PaypalFindEligibleMethods_PaymentMethodDetailsSchema.nullable().optional(),\n}).passthrough().describe(\"The eligible payment methods.\");\nexport const PaypalFindEligibleMethodsOutput = z.object({\n payment_tokens: z.array(PaypalFindEligibleMethods_PaymentTokenSchema).describe(\"Payment tokens for vaulted instruments, if available. Only included if include_vault_tokens is set to true in the request.\").nullable().optional(),\n eligible_methods: PaypalFindEligibleMethods_PaymentMethodsSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for find eligible payment methods.\\n\\nContains the list of eligible payment methods and optionally\\nvaulted tokens if requested in the preferences.\");\n\nexport const paypalFindEligibleMethods: AppAction<\n typeof PaypalFindEligibleMethodsInput,\n typeof PaypalFindEligibleMethodsOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_FIND_ELIGIBLE_METHODS\", {\n slug: \"paypal-find-eligible-methods\",\n name: \"Find eligible PayPal payment methods\",\n description: \"Find a list of eligible payment methods for a customer. Use this action when you need to determine which payment methods (such as PayPal, PayPal Credit, Pay Later, or Venmo) are available for a customer based on their country and purchase details. This is useful for displaying appropriate payment options during checkout or determining payment eligibility before creating an order. The response includes available payment methods and optionally vaulted tokens if the customer has saved payment instruments. **Common use cases:** - Pre-checkout payment method availability - Display appropriate payment options to customers - Determine eligible funding sources for a transaction\",\n input: PaypalFindEligibleMethodsInput,\n output: PaypalFindEligibleMethodsOutput,\n});\n"],"mappings":";;;;AAMA,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qD,SAAS,CAAC,CAAC,SAAS;CAChF,QAAQ,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACjF,eAAe,qDAAqD,SAAS,CAAC,CAAC,SAAS;CACxF,kBAAkB,qDAAqD,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+BAA+B;AAMzD,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAd6C,EAAE,OAAO;EACtD,gBAAgB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,4HAA4H,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjO,kBAAkB,+CAA+C,SAAS,CAAC,CAAC,SAAS;CACvF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qKAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-client-token.cjs","names":["z","action"],"sources":["../../src/actions/generate-client-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateClientTokenInput = z.object({}).describe(\"Request model for generating a PayPal client token.\\n\\nThis endpoint does not require any request body parameters.\\nThe client token is generated based on the authenticated user's credentials\\nwhich are passed via the Authorization header in metadata.\");\nexport const PaypalGenerateClientTokenOutput = z.object({\n expires_in: z.number().int().describe(\"The number of seconds until the client token expires.\").nullable().optional(),\n token_type: z.string().describe(\"The type of token returned (e.g., 'Bearer').\").nullable().optional(),\n client_token: z.string().describe(\"The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.\").nullable(),\n}).passthrough().describe(\"Response model for client token generation.\");\n\nexport const paypalGenerateClientToken = action(\"PAYPAL_GENERATE_CLIENT_TOKEN\", {\n slug: \"paypal-generate-client-token\",\n name: \"Generate PayPal Client Token\",\n description: \"Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.\",\n input: PaypalGenerateClientTokenInput,\n output: PaypalGenerateClientTokenOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-client-token.cjs","names":["z","action"],"sources":["../../src/actions/generate-client-token.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 PaypalGenerateClientTokenInput = z.object({}).describe(\"Request model for generating a PayPal client token.\\n\\nThis endpoint does not require any request body parameters.\\nThe client token is generated based on the authenticated user's credentials\\nwhich are passed via the Authorization header in metadata.\");\nexport const PaypalGenerateClientTokenOutput = z.object({\n expires_in: z.number().int().describe(\"The number of seconds until the client token expires.\").nullable().optional(),\n token_type: z.string().describe(\"The type of token returned (e.g., 'Bearer').\").nullable().optional(),\n client_token: z.string().describe(\"The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.\").nullable(),\n}).passthrough().describe(\"Response model for client token generation.\");\n\nexport const paypalGenerateClientToken: AppAction<\n typeof PaypalGenerateClientTokenInput,\n typeof PaypalGenerateClientTokenOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_CLIENT_TOKEN\", {\n slug: \"paypal-generate-client-token\",\n name: \"Generate PayPal Client Token\",\n description: \"Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.\",\n input: PaypalGenerateClientTokenInput,\n output: PaypalGenerateClientTokenOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6PAA6P;AACjU,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;AACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,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/generate-client-token.d.ts
|
|
@@ -7,7 +9,7 @@ declare const PaypalGenerateClientTokenOutput: z.ZodObject<{
|
|
|
7
9
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
10
|
client_token: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const paypalGenerateClientToken:
|
|
12
|
+
declare const paypalGenerateClientToken: AppAction<typeof PaypalGenerateClientTokenInput, typeof PaypalGenerateClientTokenOutput, typeof paypal.credential>;
|
|
11
13
|
//#endregion
|
|
12
14
|
export { paypalGenerateClientToken };
|
|
13
15
|
//# sourceMappingURL=generate-client-token.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-client-token.d.cts","names":[],"sources":["../../src/actions/generate-client-token.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-client-token.d.cts","names":[],"sources":["../../src/actions/generate-client-token.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,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/generate-client-token.d.ts
|
|
@@ -7,7 +9,7 @@ declare const PaypalGenerateClientTokenOutput: z.ZodObject<{
|
|
|
7
9
|
token_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
10
|
client_token: z.ZodNullable<z.ZodString>;
|
|
9
11
|
}, z.core.$loose>;
|
|
10
|
-
declare const paypalGenerateClientToken:
|
|
12
|
+
declare const paypalGenerateClientToken: AppAction<typeof PaypalGenerateClientTokenInput, typeof PaypalGenerateClientTokenOutput, typeof paypal.credential>;
|
|
11
13
|
//#endregion
|
|
12
14
|
export { paypalGenerateClientToken };
|
|
13
15
|
//# sourceMappingURL=generate-client-token.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-client-token.d.mts","names":[],"sources":["../../src/actions/generate-client-token.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-client-token.d.mts","names":[],"sources":["../../src/actions/generate-client-token.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAC9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;cAM/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-client-token.mjs","names":[],"sources":["../../src/actions/generate-client-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateClientTokenInput = z.object({}).describe(\"Request model for generating a PayPal client token.\\n\\nThis endpoint does not require any request body parameters.\\nThe client token is generated based on the authenticated user's credentials\\nwhich are passed via the Authorization header in metadata.\");\nexport const PaypalGenerateClientTokenOutput = z.object({\n expires_in: z.number().int().describe(\"The number of seconds until the client token expires.\").nullable().optional(),\n token_type: z.string().describe(\"The type of token returned (e.g., 'Bearer').\").nullable().optional(),\n client_token: z.string().describe(\"The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.\").nullable(),\n}).passthrough().describe(\"Response model for client token generation.\");\n\nexport const paypalGenerateClientToken = action(\"PAYPAL_GENERATE_CLIENT_TOKEN\", {\n slug: \"paypal-generate-client-token\",\n name: \"Generate PayPal Client Token\",\n description: \"Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.\",\n input: PaypalGenerateClientTokenInput,\n output: PaypalGenerateClientTokenOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-client-token.mjs","names":[],"sources":["../../src/actions/generate-client-token.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 PaypalGenerateClientTokenInput = z.object({}).describe(\"Request model for generating a PayPal client token.\\n\\nThis endpoint does not require any request body parameters.\\nThe client token is generated based on the authenticated user's credentials\\nwhich are passed via the Authorization header in metadata.\");\nexport const PaypalGenerateClientTokenOutput = z.object({\n expires_in: z.number().int().describe(\"The number of seconds until the client token expires.\").nullable().optional(),\n token_type: z.string().describe(\"The type of token returned (e.g., 'Bearer').\").nullable().optional(),\n client_token: z.string().describe(\"The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.\").nullable(),\n}).passthrough().describe(\"Response model for client token generation.\");\n\nexport const paypalGenerateClientToken: AppAction<\n typeof PaypalGenerateClientTokenInput,\n typeof PaypalGenerateClientTokenOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_CLIENT_TOKEN\", {\n slug: \"paypal-generate-client-token\",\n name: \"Generate PayPal Client Token\",\n description: \"Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.\",\n input: PaypalGenerateClientTokenInput,\n output: PaypalGenerateClientTokenOutput,\n});\n"],"mappings":";;;AAaA,MAAa,4BAIT,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAf4C,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6PAe3D;CACP,QAf6C,EAAE,OAAO;EACtD,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACpK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number-v2.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberV2Input = z.object({\n fetch_id: z.boolean().describe(\"Optional parameter to decide whether to fetch the next invoice number or ID. Set to true to fetch the ID, false or omitted for the number.\").optional(),\n}).describe(\"Request schema for generating the next invoice number from PayPal Invoicing API v2.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service v2 API.\");\nexport const PaypalGenerateNextInvoiceNumberV2Output = z.object({\n invoice_id: z.string().describe(\"The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}\").nullable().optional(),\n invoice_number: z.string().describe(\"The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number from PayPal API v2.\");\n\nexport const paypalGenerateNextInvoiceNumberV2 = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2\", {\n slug: \"paypal-generate-next-invoice-number-v2\",\n name: \"Generate Next Invoice Number (v2)\",\n description: \"Generates the next invoice number from PayPal's invoicing service using the v2 API. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberV2Input,\n output: PaypalGenerateNextInvoiceNumberV2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number-v2.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 PaypalGenerateNextInvoiceNumberV2Input = z.object({\n fetch_id: z.boolean().describe(\"Optional parameter to decide whether to fetch the next invoice number or ID. Set to true to fetch the ID, false or omitted for the number.\").optional(),\n}).describe(\"Request schema for generating the next invoice number from PayPal Invoicing API v2.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service v2 API.\");\nexport const PaypalGenerateNextInvoiceNumberV2Output = z.object({\n invoice_id: z.string().describe(\"The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}\").nullable().optional(),\n invoice_number: z.string().describe(\"The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number from PayPal API v2.\");\n\nexport const paypalGenerateNextInvoiceNumberV2: AppAction<\n typeof PaypalGenerateNextInvoiceNumberV2Input,\n typeof PaypalGenerateNextInvoiceNumberV2Output,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2\", {\n slug: \"paypal-generate-next-invoice-number-v2\",\n name: \"Generate Next Invoice Number (v2)\",\n description: \"Generates the next invoice number from PayPal's invoicing service using the v2 API. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberV2Input,\n output: PaypalGenerateNextInvoiceNumberV2Output,\n});\n"],"mappings":";;;;AAMA,MAAa,yCAAyCA,IAAAA,EAAE,OAAO,EAC7D,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAa,0CAA0CA,IAAAA,EAAE,OAAO;CAC9D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAAuF;AAEjH,MAAa,oCAITC,eAAAA,OAAO,0CAA0C;CACnD,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/generate-next-invoice-number-v2.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PaypalGenerateNextInvoiceNumberV2Output: z.ZodObject<{
|
|
|
8
10
|
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const paypalGenerateNextInvoiceNumberV2:
|
|
12
|
-
fetch_id?: boolean | undefined;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const paypalGenerateNextInvoiceNumberV2: AppAction<typeof PaypalGenerateNextInvoiceNumberV2Input, typeof PaypalGenerateNextInvoiceNumberV2Output, typeof paypal.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { paypalGenerateNextInvoiceNumberV2 };
|
|
16
16
|
//# sourceMappingURL=generate-next-invoice-number-v2.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number-v2.d.cts","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.d.cts","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,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/generate-next-invoice-number-v2.d.ts
|
|
@@ -8,9 +10,7 @@ declare const PaypalGenerateNextInvoiceNumberV2Output: z.ZodObject<{
|
|
|
8
10
|
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9
11
|
invoice_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
12
|
}, z.core.$loose>;
|
|
11
|
-
declare const paypalGenerateNextInvoiceNumberV2:
|
|
12
|
-
fetch_id?: boolean | undefined;
|
|
13
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
13
|
+
declare const paypalGenerateNextInvoiceNumberV2: AppAction<typeof PaypalGenerateNextInvoiceNumberV2Input, typeof PaypalGenerateNextInvoiceNumberV2Output, typeof paypal.credential>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { paypalGenerateNextInvoiceNumberV2 };
|
|
16
16
|
//# sourceMappingURL=generate-next-invoice-number-v2.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number-v2.d.mts","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.d.mts","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"mappings":";;;;;cAMa,sCAAA,EAAsC,CAAA,CAAA,SAAA;;;cAGtC,uCAAA,EAAuC,CAAA,CAAA,SAAA;;;;cAKvC,iCAAA,EAAmC,SAAA,QACvC,sCAAA,SACA,uCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number-v2.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberV2Input = z.object({\n fetch_id: z.boolean().describe(\"Optional parameter to decide whether to fetch the next invoice number or ID. Set to true to fetch the ID, false or omitted for the number.\").optional(),\n}).describe(\"Request schema for generating the next invoice number from PayPal Invoicing API v2.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service v2 API.\");\nexport const PaypalGenerateNextInvoiceNumberV2Output = z.object({\n invoice_id: z.string().describe(\"The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}\").nullable().optional(),\n invoice_number: z.string().describe(\"The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number from PayPal API v2.\");\n\nexport const paypalGenerateNextInvoiceNumberV2 = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2\", {\n slug: \"paypal-generate-next-invoice-number-v2\",\n name: \"Generate Next Invoice Number (v2)\",\n description: \"Generates the next invoice number from PayPal's invoicing service using the v2 API. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberV2Input,\n output: PaypalGenerateNextInvoiceNumberV2Output,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.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 PaypalGenerateNextInvoiceNumberV2Input = z.object({\n fetch_id: z.boolean().describe(\"Optional parameter to decide whether to fetch the next invoice number or ID. Set to true to fetch the ID, false or omitted for the number.\").optional(),\n}).describe(\"Request schema for generating the next invoice number from PayPal Invoicing API v2.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service v2 API.\");\nexport const PaypalGenerateNextInvoiceNumberV2Output = z.object({\n invoice_id: z.string().describe(\"The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}\").nullable().optional(),\n invoice_number: z.string().describe(\"The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number from PayPal API v2.\");\n\nexport const paypalGenerateNextInvoiceNumberV2: AppAction<\n typeof PaypalGenerateNextInvoiceNumberV2Input,\n typeof PaypalGenerateNextInvoiceNumberV2Output,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2\", {\n slug: \"paypal-generate-next-invoice-number-v2\",\n name: \"Generate Next Invoice Number (v2)\",\n description: \"Generates the next invoice number from PayPal's invoicing service using the v2 API. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberV2Input,\n output: PaypalGenerateNextInvoiceNumberV2Output,\n});\n"],"mappings":";;;AAcA,MAAa,oCAIT,OAAO,0CAA0C;CACnD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAhBoD,EAAE,OAAO,EAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,4NAcH;CACP,QAdqD,EAAE,OAAO;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number.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 PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber: AppAction<\n typeof PaypalGenerateNextInvoiceNumberInput,\n typeof PaypalGenerateNextInvoiceNumberOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMAAoM;AAC9Q,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,kCAITC,eAAAA,OAAO,uCAAuC;CAChD,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/generate-next-invoice-number.d.ts
|
|
@@ -5,7 +7,7 @@ declare const PaypalGenerateNextInvoiceNumberInput: z.ZodObject<{}, z.core.$stri
|
|
|
5
7
|
declare const PaypalGenerateNextInvoiceNumberOutput: z.ZodObject<{
|
|
6
8
|
number: z.ZodNullable<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const paypalGenerateNextInvoiceNumber:
|
|
10
|
+
declare const paypalGenerateNextInvoiceNumber: AppAction<typeof PaypalGenerateNextInvoiceNumberInput, typeof PaypalGenerateNextInvoiceNumberOutput, typeof paypal.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { paypalGenerateNextInvoiceNumber };
|
|
11
13
|
//# sourceMappingURL=generate-next-invoice-number.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number.d.cts","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.d.cts","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,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/generate-next-invoice-number.d.ts
|
|
@@ -5,7 +7,7 @@ declare const PaypalGenerateNextInvoiceNumberInput: z.ZodObject<{}, z.core.$stri
|
|
|
5
7
|
declare const PaypalGenerateNextInvoiceNumberOutput: z.ZodObject<{
|
|
6
8
|
number: z.ZodNullable<z.ZodString>;
|
|
7
9
|
}, z.core.$loose>;
|
|
8
|
-
declare const paypalGenerateNextInvoiceNumber:
|
|
10
|
+
declare const paypalGenerateNextInvoiceNumber: AppAction<typeof PaypalGenerateNextInvoiceNumberInput, typeof PaypalGenerateNextInvoiceNumberOutput, typeof paypal.credential>;
|
|
9
11
|
//#endregion
|
|
10
12
|
export { paypalGenerateNextInvoiceNumber };
|
|
11
13
|
//# sourceMappingURL=generate-next-invoice-number.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number.d.mts","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.d.mts","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"mappings":";;;;;cAMa,oCAAA,EAAoC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cACpC,qCAAA,EAAqC,CAAA,CAAA,SAAA;;;cAIrC,+BAAA,EAAiC,SAAA,QACrC,oCAAA,SACA,qCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number.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 PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber: AppAction<\n typeof PaypalGenerateNextInvoiceNumberInput,\n typeof PaypalGenerateNextInvoiceNumberOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":";;;AAWA,MAAa,kCAIT,OAAO,uCAAuC;CAChD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMAajE;CACP,QAbmD,EAAE,OAAO,EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-qr-code.cjs","names":["z","action"],"sources":["../../src/actions/generate-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-qr-code.cjs","names":["z","action"],"sources":["../../src/actions/generate-qr-code.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 PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode: AppAction<\n typeof PaypalGenerateQrCodeInput,\n typeof PaypalGenerateQrCodeOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC5N,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CA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AMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8LAA8L;AAExN,MAAa,uBAITC,eAAAA,OAAO,2BAA2B;CACpC,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/generate-qr-code.d.ts
|
|
@@ -33,12 +35,7 @@ declare const PaypalGenerateQrCodeOutput: z.ZodObject<{
|
|
|
33
35
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const paypalGenerateQrCode:
|
|
37
|
-
invoice_id: string;
|
|
38
|
-
width?: number | undefined;
|
|
39
|
-
action?: "details" | "pay" | undefined;
|
|
40
|
-
height?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const paypalGenerateQrCode: AppAction<typeof PaypalGenerateQrCodeInput, typeof PaypalGenerateQrCodeOutput, typeof paypal.credential>;
|
|
42
39
|
//#endregion
|
|
43
40
|
export { paypalGenerateQrCode };
|
|
44
41
|
//# sourceMappingURL=generate-qr-code.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-qr-code.d.cts","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-qr-code.d.cts","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAuBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,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/generate-qr-code.d.ts
|
|
@@ -33,12 +35,7 @@ declare const PaypalGenerateQrCodeOutput: z.ZodObject<{
|
|
|
33
35
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
36
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
37
|
}, z.core.$loose>;
|
|
36
|
-
declare const paypalGenerateQrCode:
|
|
37
|
-
invoice_id: string;
|
|
38
|
-
width?: number | undefined;
|
|
39
|
-
action?: "details" | "pay" | undefined;
|
|
40
|
-
height?: number | undefined;
|
|
41
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
38
|
+
declare const paypalGenerateQrCode: AppAction<typeof PaypalGenerateQrCodeInput, typeof PaypalGenerateQrCodeOutput, typeof paypal.credential>;
|
|
42
39
|
//#endregion
|
|
43
40
|
export { paypalGenerateQrCode };
|
|
44
41
|
//# sourceMappingURL=generate-qr-code.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-qr-code.d.mts","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-qr-code.d.mts","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"mappings":";;;;;cAMa,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;cAuBzB,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;cAU1B,oBAAA,EAAsB,SAAA,QAC1B,yBAAA,SACA,0BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-qr-code.mjs","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"generate-qr-code.mjs","names":[],"sources":["../../src/actions/generate-qr-code.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 PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode: AppAction<\n typeof PaypalGenerateQrCodeInput,\n typeof PaypalGenerateQrCodeOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: Paypal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