@keystrokehq/paypal 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/activate-plan.cjs +1 -0
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +3 -15
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +3 -15
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs +1 -0
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +1 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +3 -33
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +3 -33
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +1 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +1 -0
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +5 -25
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +5 -25
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +1 -0
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -20
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -20
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +1 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -15
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +3 -15
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +1 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +1 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +5 -23
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +5 -23
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +1 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +3 -55
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +3 -55
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +5 -151
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +5 -151
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +1 -0
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +3 -77
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +3 -77
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +1 -0
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +1 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +3 -48
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +3 -48
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +1 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +1 -0
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +3 -49
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -49
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +1 -0
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +1 -0
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +3 -21
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -21
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +1 -0
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +1 -0
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +3 -88
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +3 -88
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +1 -0
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -119
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -119
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +1 -0
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +3 -32
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +3 -32
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +1 -0
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +1 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +3 -13
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +3 -13
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +1 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -21
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -21
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +3 -15
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +3 -15
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +3 -16
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +3 -16
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +3 -15
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +3 -15
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +3 -15
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +3 -15
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +1 -0
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +3 -15
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +3 -15
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +1 -0
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +1 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +3 -49
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +3 -49
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +1 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -0
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +3 -13
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +3 -13
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -0
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +3 -13
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +3 -13
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +3 -18
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -18
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +1 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +3 -20
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +3 -20
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs +1 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -15
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -15
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +1 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +3 -15
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +3 -15
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +1 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -16
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -16
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -0
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +3 -15
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -15
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +1 -0
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +1 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -15
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +3 -15
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs +1 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +1 -0
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +3 -15
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +3 -15
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs +1 -0
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -15
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -15
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +1 -0
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +3 -16
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +3 -16
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs +1 -0
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -15
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -15
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +1 -0
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -15
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +3 -15
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs +1 -0
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +1 -0
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +3 -15
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +3 -15
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +1 -0
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +1 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +3 -15
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +3 -15
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +1 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -21
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -21
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -18
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -18
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +5 -23
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +5 -23
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +1 -0
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +3 -18
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -18
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +1 -0
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -17
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -17
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -17
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -17
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +1 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +3 -17
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +3 -17
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +1 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +1 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -13
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +3 -13
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +1 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +1 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -13
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +3 -13
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +1 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -15
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -15
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +1 -0
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -22
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -22
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +1 -0
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +1 -0
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -22
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +3 -22
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs +1 -0
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +1 -0
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +3 -22
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +3 -22
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +1 -0
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +1 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -22
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -22
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +1 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +1 -0
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +3 -13
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +3 -13
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +1 -0
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +1 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +3 -18
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +3 -18
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +1 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +1 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +3 -15
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +3 -15
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +1 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +1 -0
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +5 -56
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +5 -56
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +1 -0
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +1 -0
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +3 -20
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +3 -20
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +1 -0
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +1 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +3 -18
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +3 -18
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +1 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +1 -0
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +3 -22
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +3 -22
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +1 -0
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +5 -183
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +5 -183
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +1 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -22
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -22
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +1 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +1 -0
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +3 -225
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +3 -225
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs +1 -0
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +1 -0
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +3 -32
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +3 -32
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +1 -0
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +1 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +3 -18
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +3 -18
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +1 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +3 -36
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +3 -36
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListProductsInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items that are returned in the response.\").optional(),\n page_size: z.number().int().default(10).describe(\"The number of items to return in the response. Defaults to 10.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total items and total pages in the response.\").optional(),\n}).describe(\"Request model for listing PayPal products.\");\nconst PaypalListProducts_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListProducts_ProductElementSchema = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable().optional(),\n name: z.string().describe(\"The product name.\").nullable().optional(),\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of links related to the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created.\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n}).passthrough().describe(\"The details for a product in the collection response.\");\nexport const PaypalListProductsOutput = z.object({\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n products: z.array(PaypalListProducts_ProductElementSchema).describe(\"An array of products.\"),\n total_items: z.number().int().describe(\"The total number of items.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal products.\");\n\nexport const paypalListProducts = action(\"PAYPAL_LIST_PRODUCTS\", {\n slug: \"paypal-list-products\",\n name: \"List PayPal Products\",\n description: \"List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalListProductsInput,\n output: PaypalListProductsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.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 PaypalListProductsInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items that are returned in the response.\").optional(),\n page_size: z.number().int().default(10).describe(\"The number of items to return in the response. Defaults to 10.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total items and total pages in the response.\").optional(),\n}).describe(\"Request model for listing PayPal products.\");\nconst PaypalListProducts_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListProducts_ProductElementSchema = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable().optional(),\n name: z.string().describe(\"The product name.\").nullable().optional(),\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of links related to the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created.\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n}).passthrough().describe(\"The details for a product in the collection response.\");\nexport const PaypalListProductsOutput = z.object({\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n products: z.array(PaypalListProducts_ProductElementSchema).describe(\"An array of products.\"),\n total_items: z.number().int().describe(\"The total number of items.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal products.\");\n\nexport const paypalListProducts: AppAction<\n typeof PaypalListProductsInput,\n typeof PaypalListProductsOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_PRODUCTS\", {\n slug: \"paypal-list-products\",\n name: \"List PayPal Products\",\n description: \"List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalListProductsInput,\n output: PaypalListProductsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAQjF,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uBAAuB;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).passthrough().describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.record(z.string(), z.unknown()).describe(\"Address details.\").nullable().optional(),\n}).passthrough().describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).passthrough().describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).passthrough().describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).passthrough().describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).passthrough().describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC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AAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,kBAAkBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAC/F,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,QAAQA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;AACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.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 PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).passthrough().describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.record(z.string(), z.unknown()).describe(\"Address details.\").nullable().optional(),\n}).passthrough().describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).passthrough().describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).passthrough().describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).passthrough().describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).passthrough().describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates: AppAction<\n typeof PaypalListTemplatesInput,\n typeof PaypalListTemplatesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,S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AEhF,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,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/list-templates.d.ts
|
|
@@ -62,23 +64,7 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
62
64
|
standard_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63
65
|
}, z.core.$loose>>;
|
|
64
66
|
}, z.core.$loose>;
|
|
65
|
-
declare const paypalListTemplates:
|
|
66
|
-
page?: number | undefined;
|
|
67
|
-
fields?: "all" | "none" | undefined;
|
|
68
|
-
page_size?: number | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
accessToken: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
accessToken: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
67
|
+
declare const paypalListTemplates: AppAction<typeof PaypalListTemplatesInput, typeof PaypalListTemplatesOutput, typeof paypal.credential>;
|
|
82
68
|
//#endregion
|
|
83
69
|
export { paypalListTemplates };
|
|
84
70
|
//# sourceMappingURL=list-templates.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.cts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAqDxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-templates.d.ts
|
|
@@ -62,23 +64,7 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
62
64
|
standard_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63
65
|
}, z.core.$loose>>;
|
|
64
66
|
}, z.core.$loose>;
|
|
65
|
-
declare const paypalListTemplates:
|
|
66
|
-
page?: number | undefined;
|
|
67
|
-
fields?: "all" | "none" | undefined;
|
|
68
|
-
page_size?: number | undefined;
|
|
69
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
70
|
-
connectionId: z.ZodString;
|
|
71
|
-
entityId: z.ZodString;
|
|
72
|
-
instanceId: z.ZodString;
|
|
73
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
74
|
-
accessToken: z.ZodString;
|
|
75
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
76
|
-
connectionId: z.ZodString;
|
|
77
|
-
entityId: z.ZodString;
|
|
78
|
-
instanceId: z.ZodString;
|
|
79
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
80
|
-
accessToken: z.ZodString;
|
|
81
|
-
}, z.core.$strip>>]>;
|
|
67
|
+
declare const paypalListTemplates: AppAction<typeof PaypalListTemplatesInput, typeof PaypalListTemplatesOutput, typeof paypal.credential>;
|
|
82
68
|
//#endregion
|
|
83
69
|
export { paypalListTemplates };
|
|
84
70
|
//# sourceMappingURL=list-templates.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-templates.d.mts","names":[],"sources":["../../src/actions/list-templates.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;cAqDxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAQzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).passthrough().describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.record(z.string(), z.unknown()).describe(\"Address details.\").nullable().optional(),\n}).passthrough().describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).passthrough().describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).passthrough().describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).passthrough().describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).passthrough().describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template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,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.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 PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).passthrough().describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.record(z.string(), z.unknown()).describe(\"Address details.\").nullable().optional(),\n}).passthrough().describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).passthrough().describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).passthrough().describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).passthrough().describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).passthrough().describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates: AppAction<\n typeof PaypalListTemplatesInput,\n typeof PaypalListTemplatesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,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CAAC,CAAC,SAAS;CACrI,UAAU,2CAA2C,SAAS,CAAC,CAAC,SAAS;CACzE,eAAe,yCAAyC,SAAS,CAAC,CAAC,SAAS;CAC5E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClG,kBAAkB,EAAE,QAAQ,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmB,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qEAAqE;AAS/F,MAAa,sBAIT,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAjBuC,EAAE,OAAO;EAChD,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-web-profiles.cjs","names":["z","action"],"sources":["../../src/actions/list-web-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebProfilesInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25. Maximum is 20.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list web experience profiles.\");\nconst PaypalListWebProfiles_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"The user action. Sets the label, shipping, tax, and other flow options.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The URL to redirect to after the bank transaction is pending.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use when the user returns from the PayPal site to the merchant site.\").nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters for a web experience profile.\");\nconst PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters for a web experience profile.\");\nconst PaypalListWebProfiles_StyleAndPresentationSchema = z.object({\n brand_name: z.string().describe(\"The brand name that is displayed on the PayPal checkout page.\").nullable().optional(),\n logo_image: z.string().describe(\"The URL of the logo image that is displayed in the checkout flow.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that are displayed in the checkout flow.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters for a web experience profile.\");\nconst PaypalListWebProfiles_WebProfileSchema = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to true to persist for three hours, false for permanent.\").nullable().optional(),\n flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),\n presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional(),\n}).passthrough().describe(\"A payment web experience profile.\");\nexport const PaypalListWebProfilesOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"An array of HATEOAS links related to the response for pagination.\").nullable().optional(),\n profiles: z.array(PaypalListWebProfiles_WebProfileSchema).describe(\"An array of web experience profile objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of web experience profiles.\");\n\nexport const paypalListWebProfiles = action(\"PAYPAL_LIST_WEB_PROFILES\", {\n slug: \"paypal-list-web-profiles\",\n name: \"List web experience profiles\",\n description: \"Lists web experience profiles from PayPal with optional pagination. Use this action when you need to retrieve available web experience profiles for customizing the checkout experience. This is a read-only operation that returns profile details including flow configuration, input field settings, and branding options. Results can be paginated using page and page_size parameters. The response includes up to 20 profiles by default (configurable via page_size), with HATEOAS links for pagination if more results exist.\",\n input: PaypalListWebProfilesInput,\n output: PaypalListWebProfilesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-web-profiles.cjs","names":["z","action"],"sources":["../../src/actions/list-web-profiles.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 PaypalListWebProfilesInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25. Maximum is 20.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list web experience profiles.\");\nconst PaypalListWebProfiles_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"The user action. Sets the label, shipping, tax, and other flow options.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The URL to redirect to after the bank transaction is pending.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use when the user returns from the PayPal site to the merchant site.\").nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters for a web experience profile.\");\nconst PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters for a web experience profile.\");\nconst PaypalListWebProfiles_StyleAndPresentationSchema = z.object({\n brand_name: z.string().describe(\"The brand name that is displayed on the PayPal checkout page.\").nullable().optional(),\n logo_image: z.string().describe(\"The URL of the logo image that is displayed in the checkout flow.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that are displayed in the checkout flow.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters for a web experience profile.\");\nconst PaypalListWebProfiles_WebProfileSchema = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to true to persist for three hours, false for permanent.\").nullable().optional(),\n flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),\n presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional(),\n}).passthrough().describe(\"A payment web experience profile.\");\nexport const PaypalListWebProfilesOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"An array of HATEOAS links related to the response for pagination.\").nullable().optional(),\n profiles: z.array(PaypalListWebProfiles_WebProfileSchema).describe(\"An array of web experience profile objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of web experience profiles.\");\n\nexport const paypalListWebProfiles: AppAction<\n typeof PaypalListWebProfilesInput,\n typeof PaypalListWebProfilesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEB_PROFILES\", {\n slug: \"paypal-list-web-profiles\",\n name: \"List web experience profiles\",\n description: \"Lists web experience profiles from PayPal with optional pagination. Use this action when you need to retrieve available web experience profiles for customizing the checkout experience. This is a read-only operation that returns profile details including flow configuration, input field settings, and branding options. Results can be paginated using page and page_size parameters. The response includes up to 20 profiles by default (configurable via page_size), with HATEOAS links for pagination if more results exist.\",\n input: PaypalListWebProfilesInput,\n output: PaypalListWebProfilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oFAAoF,CAAC,CAAC,SAAS;CAC1I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,+EAA+E,CAAC,CAAC,SAAS;CAC3I,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC7H,CAAC,CAAC,CAAC,SAAS,0CAA0C;AACtD,MAAM,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yEAAyE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChI,mBAAmB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SAAS,uFAAuF,CAAC,CAAC,SAAS;CAC5H,WAAWA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,qIAAqI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3L,aAAa,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACxE,cAAc,oDAAoD,SAAS,CAAC,CAAC,SAAS;CACtF,cAAc,iDAAiD,SAAS,CAAC,CAAC,SAAS;AACrF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,8BAA8BA,IAAAA,EAAE,OAAO;CAClD,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,mEAAmE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpJ,UAAUA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,6CAA6C;CAChH,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAITC,eAAAA,OAAO,4BAA4B;CACrC,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/list-web-profiles.d.ts
|
|
@@ -31,23 +33,7 @@ declare const PaypalListWebProfilesOutput: z.ZodObject<{
|
|
|
31
33
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const paypalListWebProfiles:
|
|
35
|
-
page?: number | undefined;
|
|
36
|
-
page_size?: number | undefined;
|
|
37
|
-
total_required?: boolean | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
accessToken: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
36
|
+
declare const paypalListWebProfiles: AppAction<typeof PaypalListWebProfilesInput, typeof PaypalListWebProfilesOutput, typeof paypal.credential>;
|
|
51
37
|
//#endregion
|
|
52
38
|
export { paypalListWebProfiles };
|
|
53
39
|
//# sourceMappingURL=list-web-profiles.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-web-profiles.d.cts","names":[],"sources":["../../src/actions/list-web-profiles.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-web-profiles.d.cts","names":[],"sources":["../../src/actions/list-web-profiles.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,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/list-web-profiles.d.ts
|
|
@@ -31,23 +33,7 @@ declare const PaypalListWebProfilesOutput: z.ZodObject<{
|
|
|
31
33
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
34
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
35
|
}, z.core.$loose>;
|
|
34
|
-
declare const paypalListWebProfiles:
|
|
35
|
-
page?: number | undefined;
|
|
36
|
-
page_size?: number | undefined;
|
|
37
|
-
total_required?: boolean | undefined;
|
|
38
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
39
|
-
connectionId: z.ZodString;
|
|
40
|
-
entityId: z.ZodString;
|
|
41
|
-
instanceId: z.ZodString;
|
|
42
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
43
|
-
accessToken: z.ZodString;
|
|
44
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
45
|
-
connectionId: z.ZodString;
|
|
46
|
-
entityId: z.ZodString;
|
|
47
|
-
instanceId: z.ZodString;
|
|
48
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
49
|
-
accessToken: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>]>;
|
|
36
|
+
declare const paypalListWebProfiles: AppAction<typeof PaypalListWebProfilesInput, typeof PaypalListWebProfilesOutput, typeof paypal.credential>;
|
|
51
37
|
//#endregion
|
|
52
38
|
export { paypalListWebProfiles };
|
|
53
39
|
//# sourceMappingURL=list-web-profiles.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-web-profiles.d.mts","names":[],"sources":["../../src/actions/list-web-profiles.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-web-profiles.d.mts","names":[],"sources":["../../src/actions/list-web-profiles.ts"],"mappings":";;;;;cAMa,0BAAA,EAA0B,CAAA,CAAA,SAAA;;;;;cA4B1B,2BAAA,EAA2B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;cAO3B,qBAAA,EAAuB,SAAA,QAC3B,0BAAA,SACA,2BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-web-profiles.mjs","names":[],"sources":["../../src/actions/list-web-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebProfilesInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25. Maximum is 20.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list web experience profiles.\");\nconst PaypalListWebProfiles_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"The user action. Sets the label, shipping, tax, and other flow options.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The URL to redirect to after the bank transaction is pending.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use when the user returns from the PayPal site to the merchant site.\").nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters for a web experience profile.\");\nconst PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters for a web experience profile.\");\nconst PaypalListWebProfiles_StyleAndPresentationSchema = z.object({\n brand_name: z.string().describe(\"The brand name that is displayed on the PayPal checkout page.\").nullable().optional(),\n logo_image: z.string().describe(\"The URL of the logo image that is displayed in the checkout flow.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that are displayed in the checkout flow.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters for a web experience profile.\");\nconst PaypalListWebProfiles_WebProfileSchema = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to true to persist for three hours, false for permanent.\").nullable().optional(),\n flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),\n presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional(),\n}).passthrough().describe(\"A payment web experience profile.\");\nexport const PaypalListWebProfilesOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"An array of HATEOAS links related to the response for pagination.\").nullable().optional(),\n profiles: z.array(PaypalListWebProfiles_WebProfileSchema).describe(\"An array of web experience profile objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of web experience profiles.\");\n\nexport const paypalListWebProfiles = action(\"PAYPAL_LIST_WEB_PROFILES\", {\n slug: \"paypal-list-web-profiles\",\n name: \"List web experience profiles\",\n description: \"Lists web experience profiles from PayPal with optional pagination. Use this action when you need to retrieve available web experience profiles for customizing the checkout experience. This is a read-only operation that returns profile details including flow configuration, input field settings, and branding options. Results can be paginated using page and page_size parameters. The response includes up to 20 profiles by default (configurable via page_size), with HATEOAS links for pagination if more results exist.\",\n input: PaypalListWebProfilesInput,\n output: PaypalListWebProfilesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-web-profiles.mjs","names":[],"sources":["../../src/actions/list-web-profiles.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 PaypalListWebProfilesInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25. Maximum is 20.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list web experience profiles.\");\nconst PaypalListWebProfiles_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"The user action. Sets the label, shipping, tax, and other flow options.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The URL to redirect to after the bank transaction is pending.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use when the user returns from the PayPal site to the merchant site.\").nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters for a web experience profile.\");\nconst PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters for a web experience profile.\");\nconst PaypalListWebProfiles_StyleAndPresentationSchema = z.object({\n brand_name: z.string().describe(\"The brand name that is displayed on the PayPal checkout page.\").nullable().optional(),\n logo_image: z.string().describe(\"The URL of the logo image that is displayed in the checkout flow.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that are displayed in the checkout flow.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters for a web experience profile.\");\nconst PaypalListWebProfiles_WebProfileSchema = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to true to persist for three hours, false for permanent.\").nullable().optional(),\n flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),\n presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional(),\n}).passthrough().describe(\"A payment web experience profile.\");\nexport const PaypalListWebProfilesOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"An array of HATEOAS links related to the response for pagination.\").nullable().optional(),\n profiles: z.array(PaypalListWebProfiles_WebProfileSchema).describe(\"An array of web experience profile objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of web experience profiles.\");\n\nexport const paypalListWebProfiles: AppAction<\n typeof PaypalListWebProfilesInput,\n typeof PaypalListWebProfilesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEB_PROFILES\", {\n slug: \"paypal-list-web-profiles\",\n name: \"List web experience profiles\",\n description: \"Lists web experience profiles from PayPal with optional pagination. Use this action when you need to retrieve available web experience profiles for customizing the checkout experience. This is a read-only operation that returns profile details including flow configuration, input field settings, and branding options. Results can be paginated using page and page_size parameters. The response includes up to 20 profiles by default (configurable via page_size), with HATEOAS links for pagination if more results exist.\",\n input: PaypalListWebProfilesInput,\n output: PaypalListWebProfilesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,6BAA6B,EAAE,OAAO;CACjD,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CA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}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-type-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-event-type-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhookEventTypeSubscriptionsInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook for which to list event type subscriptions.\"),\n}).describe(\"Request model for listing webhook event type subscriptions.\");\nconst PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version of an event type subscription.\");\nconst PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type (e.g., ACTIVE, DEPRECATED).\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscription within a webhook.\");\nexport const PaypalListWebhookEventTypeSubscriptionsOutput = z.object({\n event_types: z.array(PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema).describe(\"An array of event type subscriptions for the webhook.\"),\n}).passthrough().describe(\"Response model for listing webhook event type subscriptions.\");\n\nexport const paypalListWebhookEventTypeSubscriptions = action(\"PAYPAL_LIST_WEBHOOK_EVENT_TYPE_SUBSCRIPTIONS\", {\n slug: \"paypal-list-webhook-event-type-subscriptions\",\n name: \"List webhook event type subscriptions\",\n description: \"Lists event type subscriptions for a specific PayPal webhook. Use this action when you need to retrieve the list of event types to which a specific webhook is subscribed. This is useful for auditing webhook configurations, verifying which events a webhook is set up to receive, or checking the status of event subscriptions. Unlike the ListWebhookEventTypes action which lists all available event types, this action returns only the event types that a specific webhook is subscribed to. This is a read-only operation that does not modify any webhook configuration.\",\n input: PaypalListWebhookEventTypeSubscriptionsInput,\n output: PaypalListWebhookEventTypeSubscriptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-type-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-event-type-subscriptions.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 PaypalListWebhookEventTypeSubscriptionsInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook for which to list event type subscriptions.\"),\n}).describe(\"Request model for listing webhook event type subscriptions.\");\nconst PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version of an event type subscription.\");\nconst PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type (e.g., ACTIVE, DEPRECATED).\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscription within a webhook.\");\nexport const PaypalListWebhookEventTypeSubscriptionsOutput = z.object({\n event_types: z.array(PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema).describe(\"An array of event type subscriptions for the webhook.\"),\n}).passthrough().describe(\"Response model for listing webhook event type subscriptions.\");\n\nexport const paypalListWebhookEventTypeSubscriptions: AppAction<\n typeof PaypalListWebhookEventTypeSubscriptionsInput,\n typeof PaypalListWebhookEventTypeSubscriptionsOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOK_EVENT_TYPE_SUBSCRIPTIONS\", {\n slug: \"paypal-list-webhook-event-type-subscriptions\",\n name: \"List webhook event type subscriptions\",\n description: \"Lists event type subscriptions for a specific PayPal webhook. Use this action when you need to retrieve the list of event types to which a specific webhook is subscribed. This is useful for auditing webhook configurations, verifying which events a webhook is set up to receive, or checking the status of event subscriptions. Unlike the ListWebhookEventTypes action which lists all available event types, this action returns only the event types that a specific webhook is subscribed to. This is a read-only operation that does not modify any webhook configuration.\",\n input: PaypalListWebhookEventTypeSubscriptionsInput,\n output: PaypalListWebhookEventTypeSubscriptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+CAA+CA,IAAAA,EAAE,OAAO,EACnE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACrG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAAgEA,IAAAA,EAAE,OAAO,EAC7E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAM,6EAA6EA,IAAAA,EAAE,OAAO;CAC1F,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmBA,IAAAA,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAa,gDAAgDA,IAAAA,EAAE,OAAO,EACpE,aAAaA,IAAAA,EAAE,MAAM,0EAA0E,CAAC,CAAC,SAAS,uDAAuD,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAA8D;AAExF,MAAa,0CAITC,eAAAA,OAAO,gDAAgD;CACzD,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/list-webhook-event-type-subscriptions.d.ts
|
|
@@ -14,21 +16,7 @@ declare const PaypalListWebhookEventTypeSubscriptionsOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const paypalListWebhookEventTypeSubscriptions:
|
|
18
|
-
webhook_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const paypalListWebhookEventTypeSubscriptions: AppAction<typeof PaypalListWebhookEventTypeSubscriptionsInput, typeof PaypalListWebhookEventTypeSubscriptionsOutput, typeof paypal.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { paypalListWebhookEventTypeSubscriptions };
|
|
34
22
|
//# sourceMappingURL=list-webhook-event-type-subscriptions.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-type-subscriptions.d.cts","names":[],"sources":["../../src/actions/list-webhook-event-type-subscriptions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-type-subscriptions.d.cts","names":[],"sources":["../../src/actions/list-webhook-event-type-subscriptions.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAY5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,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/list-webhook-event-type-subscriptions.d.ts
|
|
@@ -14,21 +16,7 @@ declare const PaypalListWebhookEventTypeSubscriptionsOutput: z.ZodObject<{
|
|
|
14
16
|
}, z.core.$loose>>>>;
|
|
15
17
|
}, z.core.$loose>>;
|
|
16
18
|
}, z.core.$loose>;
|
|
17
|
-
declare const paypalListWebhookEventTypeSubscriptions:
|
|
18
|
-
webhook_id: string;
|
|
19
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
20
|
-
connectionId: z.ZodString;
|
|
21
|
-
entityId: z.ZodString;
|
|
22
|
-
instanceId: z.ZodString;
|
|
23
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodString;
|
|
25
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
26
|
-
connectionId: z.ZodString;
|
|
27
|
-
entityId: z.ZodString;
|
|
28
|
-
instanceId: z.ZodString;
|
|
29
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
30
|
-
accessToken: z.ZodString;
|
|
31
|
-
}, z.core.$strip>>]>;
|
|
19
|
+
declare const paypalListWebhookEventTypeSubscriptions: AppAction<typeof PaypalListWebhookEventTypeSubscriptionsInput, typeof PaypalListWebhookEventTypeSubscriptionsOutput, typeof paypal.credential>;
|
|
32
20
|
//#endregion
|
|
33
21
|
export { paypalListWebhookEventTypeSubscriptions };
|
|
34
22
|
//# sourceMappingURL=list-webhook-event-type-subscriptions.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-type-subscriptions.d.mts","names":[],"sources":["../../src/actions/list-webhook-event-type-subscriptions.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-type-subscriptions.d.mts","names":[],"sources":["../../src/actions/list-webhook-event-type-subscriptions.ts"],"mappings":";;;;;cAMa,4CAAA,EAA4C,CAAA,CAAA,SAAA;;;cAY5C,6CAAA,EAA6C,CAAA,CAAA,SAAA;;;;;;;;;;cAI7C,uCAAA,EAAyC,SAAA,QAC7C,4CAAA,SACA,6CAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-type-subscriptions.mjs","names":[],"sources":["../../src/actions/list-webhook-event-type-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhookEventTypeSubscriptionsInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook for which to list event type subscriptions.\"),\n}).describe(\"Request model for listing webhook event type subscriptions.\");\nconst PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version of an event type subscription.\");\nconst PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type (e.g., ACTIVE, DEPRECATED).\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscription within a webhook.\");\nexport const PaypalListWebhookEventTypeSubscriptionsOutput = z.object({\n event_types: z.array(PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema).describe(\"An array of event type subscriptions for the webhook.\"),\n}).passthrough().describe(\"Response model for listing webhook event type subscriptions.\");\n\nexport const paypalListWebhookEventTypeSubscriptions = action(\"PAYPAL_LIST_WEBHOOK_EVENT_TYPE_SUBSCRIPTIONS\", {\n slug: \"paypal-list-webhook-event-type-subscriptions\",\n name: \"List webhook event type subscriptions\",\n description: \"Lists event type subscriptions for a specific PayPal webhook. Use this action when you need to retrieve the list of event types to which a specific webhook is subscribed. This is useful for auditing webhook configurations, verifying which events a webhook is set up to receive, or checking the status of event subscriptions. Unlike the ListWebhookEventTypes action which lists all available event types, this action returns only the event types that a specific webhook is subscribed to. This is a read-only operation that does not modify any webhook configuration.\",\n input: PaypalListWebhookEventTypeSubscriptionsInput,\n output: PaypalListWebhookEventTypeSubscriptionsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-type-subscriptions.mjs","names":[],"sources":["../../src/actions/list-webhook-event-type-subscriptions.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 PaypalListWebhookEventTypeSubscriptionsInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook for which to list event type subscriptions.\"),\n}).describe(\"Request model for listing webhook event type subscriptions.\");\nconst PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version of an event type subscription.\");\nconst PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type (e.g., ACTIVE, DEPRECATED).\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalListWebhookEventTypeSubscriptions_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscription within a webhook.\");\nexport const PaypalListWebhookEventTypeSubscriptionsOutput = z.object({\n event_types: z.array(PaypalListWebhookEventTypeSubscriptions_WebhookEventTypeSubscriptionSchema).describe(\"An array of event type subscriptions for the webhook.\"),\n}).passthrough().describe(\"Response model for listing webhook event type subscriptions.\");\n\nexport const paypalListWebhookEventTypeSubscriptions: AppAction<\n typeof PaypalListWebhookEventTypeSubscriptionsInput,\n typeof PaypalListWebhookEventTypeSubscriptionsOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOK_EVENT_TYPE_SUBSCRIPTIONS\", {\n slug: \"paypal-list-webhook-event-type-subscriptions\",\n name: \"List webhook event type subscriptions\",\n description: \"Lists event type subscriptions for a specific PayPal webhook. Use this action when you need to retrieve the list of event types to which a specific webhook is subscribed. This is useful for auditing webhook configurations, verifying which events a webhook is set up to receive, or checking the status of event subscriptions. Unlike the ListWebhookEventTypes action which lists all available event types, this action returns only the event types that a specific webhook is subscribed to. This is a read-only operation that does not modify any webhook configuration.\",\n input: PaypalListWebhookEventTypeSubscriptionsInput,\n output: PaypalListWebhookEventTypeSubscriptionsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,+CAA+C,EAAE,OAAO,EACnE,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,mEAAmE,EACrG,CAAC,CAAC,CAAC,SAAS,6DAA6D;AACzE,MAAM,gEAAgE,EAAE,OAAO,EAC7E,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D;AACvF,MAAM,6EAA6E,EAAE,OAAO;CAC1F,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmB,EAAE,MAAM,6DAA6D,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAKlF,MAAa,0CAIT,OAAO,gDAAgD;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb2D,EAAE,OAAO,EACpE,aAAa,EAAE,MAAM,0EAA0E,CAAC,CAAC,SAAS,uDAAuD,EACnK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-types.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-event-types.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhookEventTypesInput = z.object({}).describe(\"Request model for listing webhook event types - no parameters required.\");\nconst PaypalListWebhookEventTypes_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version of an event type.\");\nconst PaypalListWebhookEventTypes_WebhookEventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type (e.g., ACTIVE, DEPRECATED).\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalListWebhookEventTypes_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook event type.\");\nexport const PaypalListWebhookEventTypesOutput = z.object({\n event_types: z.array(PaypalListWebhookEventTypes_WebhookEventTypeSchema).describe(\"An array of webhook event types.\"),\n}).passthrough().describe(\"Response model for listing webhook event types.\");\n\nexport const paypalListWebhookEventTypes = action(\"PAYPAL_LIST_WEBHOOK_EVENT_TYPES\", {\n slug: \"paypal-list-webhook-event-types\",\n name: \"List webhook event types\",\n description: \"Lists all available PayPal webhook event types to which you can subscribe. Use this action when you need to discover all webhook events available in the PayPal API before creating or configuring webhooks. This is useful for initial setup or when you need to display available webhook options to users. The endpoint requires no parameters and returns the full list of supported event types with their descriptions and statuses. This is a read-only operation that queries available events without modifying anything.\",\n input: PaypalListWebhookEventTypesInput,\n output: PaypalListWebhookEventTypesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-types.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-event-types.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 PaypalListWebhookEventTypesInput = z.object({}).describe(\"Request model for listing webhook event types - no parameters required.\");\nconst PaypalListWebhookEventTypes_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version of an event type.\");\nconst PaypalListWebhookEventTypes_WebhookEventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type (e.g., ACTIVE, DEPRECATED).\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalListWebhookEventTypes_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook event type.\");\nexport const PaypalListWebhookEventTypesOutput = z.object({\n event_types: z.array(PaypalListWebhookEventTypes_WebhookEventTypeSchema).describe(\"An array of webhook event types.\"),\n}).passthrough().describe(\"Response model for listing webhook event types.\");\n\nexport const paypalListWebhookEventTypes: AppAction<\n typeof PaypalListWebhookEventTypesInput,\n typeof PaypalListWebhookEventTypesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOK_EVENT_TYPES\", {\n slug: \"paypal-list-webhook-event-types\",\n name: \"List webhook event types\",\n description: \"Lists all available PayPal webhook event types to which you can subscribe. Use this action when you need to discover all webhook events available in the PayPal API before creating or configuring webhooks. This is useful for initial setup or when you need to display available webhook options to users. The endpoint requires no parameters and returns the full list of supported event types with their descriptions and statuses. This is a read-only operation that queries available events without modifying anything.\",\n input: PaypalListWebhookEventTypesInput,\n output: PaypalListWebhookEventTypesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/I,MAAM,oDAAoDA,IAAAA,EAAE,OAAO,EACjE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,qDAAqDA,IAAAA,EAAE,OAAO;CAClE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmBA,IAAAA,EAAE,MAAM,iDAAiD,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO,EACxD,aAAaA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,kCAAkC,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,8BAITC,eAAAA,OAAO,mCAAmC;CAC5C,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/list-webhook-event-types.d.ts
|
|
@@ -12,19 +14,7 @@ declare const PaypalListWebhookEventTypesOutput: z.ZodObject<{
|
|
|
12
14
|
}, z.core.$loose>>>>;
|
|
13
15
|
}, z.core.$loose>>;
|
|
14
16
|
}, z.core.$loose>;
|
|
15
|
-
declare const paypalListWebhookEventTypes:
|
|
16
|
-
connectionId: z.ZodString;
|
|
17
|
-
entityId: z.ZodString;
|
|
18
|
-
instanceId: z.ZodString;
|
|
19
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
20
|
-
accessToken: z.ZodString;
|
|
21
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
22
|
-
connectionId: z.ZodString;
|
|
23
|
-
entityId: z.ZodString;
|
|
24
|
-
instanceId: z.ZodString;
|
|
25
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
26
|
-
accessToken: z.ZodString;
|
|
27
|
-
}, z.core.$strip>>]>;
|
|
17
|
+
declare const paypalListWebhookEventTypes: AppAction<typeof PaypalListWebhookEventTypesInput, typeof PaypalListWebhookEventTypesOutput, typeof paypal.credential>;
|
|
28
18
|
//#endregion
|
|
29
19
|
export { paypalListWebhookEventTypes };
|
|
30
20
|
//# sourceMappingURL=list-webhook-event-types.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-types.d.cts","names":[],"sources":["../../src/actions/list-webhook-event-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-types.d.cts","names":[],"sources":["../../src/actions/list-webhook-event-types.ts"],"mappings":";;;;;cAMa,gCAAA,EAAgC,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAUhC,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;cAIjC,2BAAA,EAA6B,SAAA,QACjC,gCAAA,SACA,iCAAA,SACA,MAAA,CAAO,UAAA"}
|