@keystrokehq/paypal 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/activate-plan.cjs +1 -0
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +3 -15
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +3 -15
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs +1 -0
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +1 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +3 -33
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +3 -33
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +1 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +1 -0
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +5 -25
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +5 -25
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +1 -0
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -20
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -20
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +1 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -15
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +3 -15
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +1 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +1 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +5 -23
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +5 -23
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +1 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +3 -55
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +3 -55
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +5 -151
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +5 -151
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +1 -0
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +3 -77
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +3 -77
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +1 -0
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +1 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +3 -48
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +3 -48
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +1 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +1 -0
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +3 -49
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -49
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +1 -0
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +1 -0
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +3 -21
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -21
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +1 -0
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +1 -0
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +3 -88
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +3 -88
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +1 -0
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -119
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -119
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +1 -0
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +3 -32
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +3 -32
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +1 -0
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +1 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +3 -13
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +3 -13
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +1 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -21
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -21
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +3 -15
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +3 -15
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +3 -16
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +3 -16
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +3 -15
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +3 -15
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +3 -15
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +3 -15
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +1 -0
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +3 -15
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +3 -15
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +1 -0
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +1 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +3 -49
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +3 -49
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +1 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -0
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +3 -13
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +3 -13
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -0
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +3 -13
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +3 -13
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +3 -18
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -18
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +1 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +3 -20
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +3 -20
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs +1 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -15
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -15
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +1 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +3 -15
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +3 -15
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +1 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -16
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -16
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -0
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +3 -15
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -15
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +1 -0
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +1 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -15
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +3 -15
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs +1 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +1 -0
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +3 -15
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +3 -15
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs +1 -0
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -15
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -15
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +1 -0
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +3 -16
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +3 -16
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs +1 -0
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -15
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -15
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +1 -0
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -15
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +3 -15
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs +1 -0
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +1 -0
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +3 -15
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +3 -15
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +1 -0
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +1 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +3 -15
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +3 -15
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +1 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -21
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -21
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -18
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -18
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +5 -23
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +5 -23
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +1 -0
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +3 -18
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -18
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +1 -0
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -17
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -17
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -17
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -17
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +1 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +3 -17
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +3 -17
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +1 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +1 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -13
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +3 -13
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +1 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +1 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -13
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +3 -13
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +1 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -15
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -15
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +1 -0
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -22
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -22
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +1 -0
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +1 -0
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -22
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +3 -22
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs +1 -0
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +1 -0
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +3 -22
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +3 -22
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +1 -0
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +1 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -22
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -22
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +1 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +1 -0
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +3 -13
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +3 -13
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +1 -0
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +1 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +3 -18
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +3 -18
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +1 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +1 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +3 -15
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +3 -15
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +1 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +1 -0
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +5 -56
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +5 -56
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +1 -0
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +1 -0
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +3 -20
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +3 -20
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +1 -0
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +1 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +3 -18
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +3 -18
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +1 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +1 -0
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +3 -22
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +3 -22
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +1 -0
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +5 -183
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +5 -183
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +1 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -22
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -22
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +1 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +1 -0
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +3 -225
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +3 -225
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs +1 -0
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +1 -0
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +3 -32
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +3 -32
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +1 -0
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +1 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +3 -18
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +3 -18
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +1 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +3 -36
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +3 -36
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
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.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-types.d.mts","names":[],"sources":["../../src/actions/list-webhook-event-types.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-event-types.d.mts","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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-event-types.mjs","names":[],"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.mjs","names":[],"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,mCAAmC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,yEAAyE;AAC/I,MAAM,oDAAoD,EAAE,OAAO,EACjE,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,qDAAqD,EAAE,OAAO;CAClE,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,iDAAiD,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAK3D,MAAa,8BAIT,OAAO,mCAAmC;CAC5C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb+C,EAAE,OAAO,EACxD,aAAa,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,kCAAkC,EACtH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-lookups.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-lookups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhookLookupsInput = z.object({}).describe(\"Request model for listing webhook lookups - no parameters required.\");\nconst PaypalListWebhookLookups_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook lookup responses.\");\nconst PaypalListWebhookLookups_WebhookLookupSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook lookup.\").nullable().optional(),\n links: z.array(PaypalListWebhookLookups_WebhookLookupLinkSchema).describe(\"An array of HATEOAS links related to the webhook lookup.\").nullable().optional(),\n client_id: z.string().describe(\"The client ID associated with the webhook lookup.\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook lookup entry.\");\nexport const PaypalListWebhookLookupsOutput = z.object({\n webhooks_lookups: z.array(PaypalListWebhookLookups_WebhookLookupSchema).describe(\"An array of webhook lookup objects.\"),\n}).passthrough().describe(\"Response model for listing webhook lookups.\");\n\nexport const paypalListWebhookLookups = action(\"PAYPAL_LIST_WEBHOOK_LOOKUPS\", {\n slug: \"paypal-list-webhook-lookups\",\n name: \"List webhook lookups\",\n description: \"Lists all webhook lookups associated with your PayPal application. Use this action when you need to retrieve webhook lookups that have been configured for your application. This is useful for auditing webhook configurations, verifying lookup status, or checking which client IDs have registered webhooks. This is a read-only operation that returns webhook lookup details including IDs, client IDs, and HATEOAS links for related actions. The action requires no input parameters.\",\n input: PaypalListWebhookLookupsInput,\n output: PaypalListWebhookLookupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-lookups.cjs","names":["z","action"],"sources":["../../src/actions/list-webhook-lookups.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 PaypalListWebhookLookupsInput = z.object({}).describe(\"Request model for listing webhook lookups - no parameters required.\");\nconst PaypalListWebhookLookups_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook lookup responses.\");\nconst PaypalListWebhookLookups_WebhookLookupSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook lookup.\").nullable().optional(),\n links: z.array(PaypalListWebhookLookups_WebhookLookupLinkSchema).describe(\"An array of HATEOAS links related to the webhook lookup.\").nullable().optional(),\n client_id: z.string().describe(\"The client ID associated with the webhook lookup.\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook lookup entry.\");\nexport const PaypalListWebhookLookupsOutput = z.object({\n webhooks_lookups: z.array(PaypalListWebhookLookups_WebhookLookupSchema).describe(\"An array of webhook lookup objects.\"),\n}).passthrough().describe(\"Response model for listing webhook lookups.\");\n\nexport const paypalListWebhookLookups: AppAction<\n typeof PaypalListWebhookLookupsInput,\n typeof PaypalListWebhookLookupsOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOK_LOOKUPS\", {\n slug: \"paypal-list-webhook-lookups\",\n name: \"List webhook lookups\",\n description: \"Lists all webhook lookups associated with your PayPal application. Use this action when you need to retrieve webhook lookups that have been configured for your application. This is useful for auditing webhook configurations, verifying lookup status, or checking which client IDs have registered webhooks. This is a read-only operation that returns webhook lookup details including IDs, client IDs, and HATEOAS links for related actions. The action requires no input parameters.\",\n input: PaypalListWebhookLookupsInput,\n output: PaypalListWebhookLookupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACxI,MAAM,mDAAmDA,IAAAA,EAAE,OAAO;CAChE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,+CAA+CA,IAAAA,EAAE,OAAO;CAC5D,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAOA,IAAAA,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAC7D,MAAa,iCAAiCA,IAAAA,EAAE,OAAO,EACrD,kBAAkBA,IAAAA,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qCAAqC,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,2BAITC,eAAAA,OAAO,+BAA+B;CACxC,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-lookups.d.ts
|
|
@@ -13,19 +15,7 @@ declare const PaypalListWebhookLookupsOutput: z.ZodObject<{
|
|
|
13
15
|
client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const paypalListWebhookLookups:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const paypalListWebhookLookups: AppAction<typeof PaypalListWebhookLookupsInput, typeof PaypalListWebhookLookupsOutput, typeof paypal.credential>;
|
|
29
19
|
//#endregion
|
|
30
20
|
export { paypalListWebhookLookups };
|
|
31
21
|
//# sourceMappingURL=list-webhook-lookups.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-lookups.d.cts","names":[],"sources":["../../src/actions/list-webhook-lookups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-lookups.d.cts","names":[],"sources":["../../src/actions/list-webhook-lookups.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,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-lookups.d.ts
|
|
@@ -13,19 +15,7 @@ declare const PaypalListWebhookLookupsOutput: z.ZodObject<{
|
|
|
13
15
|
client_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14
16
|
}, z.core.$loose>>;
|
|
15
17
|
}, z.core.$loose>;
|
|
16
|
-
declare const paypalListWebhookLookups:
|
|
17
|
-
connectionId: z.ZodString;
|
|
18
|
-
entityId: z.ZodString;
|
|
19
|
-
instanceId: z.ZodString;
|
|
20
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
accessToken: z.ZodString;
|
|
22
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
23
|
-
connectionId: z.ZodString;
|
|
24
|
-
entityId: z.ZodString;
|
|
25
|
-
instanceId: z.ZodString;
|
|
26
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
27
|
-
accessToken: z.ZodString;
|
|
28
|
-
}, z.core.$strip>>]>;
|
|
18
|
+
declare const paypalListWebhookLookups: AppAction<typeof PaypalListWebhookLookupsInput, typeof PaypalListWebhookLookupsOutput, typeof paypal.credential>;
|
|
29
19
|
//#endregion
|
|
30
20
|
export { paypalListWebhookLookups };
|
|
31
21
|
//# sourceMappingURL=list-webhook-lookups.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-lookups.d.mts","names":[],"sources":["../../src/actions/list-webhook-lookups.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-lookups.d.mts","names":[],"sources":["../../src/actions/list-webhook-lookups.ts"],"mappings":";;;;;cAMa,6BAAA,EAA6B,CAAA,CAAA,SAAA,KAAA,CAAA,CAAA,IAAA,CAAA,MAAA;AAAA,cAW7B,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;cAI9B,wBAAA,EAA0B,SAAA,QAC9B,6BAAA,SACA,8BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhook-lookups.mjs","names":[],"sources":["../../src/actions/list-webhook-lookups.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhookLookupsInput = z.object({}).describe(\"Request model for listing webhook lookups - no parameters required.\");\nconst PaypalListWebhookLookups_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook lookup responses.\");\nconst PaypalListWebhookLookups_WebhookLookupSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook lookup.\").nullable().optional(),\n links: z.array(PaypalListWebhookLookups_WebhookLookupLinkSchema).describe(\"An array of HATEOAS links related to the webhook lookup.\").nullable().optional(),\n client_id: z.string().describe(\"The client ID associated with the webhook lookup.\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook lookup entry.\");\nexport const PaypalListWebhookLookupsOutput = z.object({\n webhooks_lookups: z.array(PaypalListWebhookLookups_WebhookLookupSchema).describe(\"An array of webhook lookup objects.\"),\n}).passthrough().describe(\"Response model for listing webhook lookups.\");\n\nexport const paypalListWebhookLookups = action(\"PAYPAL_LIST_WEBHOOK_LOOKUPS\", {\n slug: \"paypal-list-webhook-lookups\",\n name: \"List webhook lookups\",\n description: \"Lists all webhook lookups associated with your PayPal application. Use this action when you need to retrieve webhook lookups that have been configured for your application. This is useful for auditing webhook configurations, verifying lookup status, or checking which client IDs have registered webhooks. This is a read-only operation that returns webhook lookup details including IDs, client IDs, and HATEOAS links for related actions. The action requires no input parameters.\",\n input: PaypalListWebhookLookupsInput,\n output: PaypalListWebhookLookupsOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhook-lookups.mjs","names":[],"sources":["../../src/actions/list-webhook-lookups.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 PaypalListWebhookLookupsInput = z.object({}).describe(\"Request model for listing webhook lookups - no parameters required.\");\nconst PaypalListWebhookLookups_WebhookLookupLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook lookup responses.\");\nconst PaypalListWebhookLookups_WebhookLookupSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook lookup.\").nullable().optional(),\n links: z.array(PaypalListWebhookLookups_WebhookLookupLinkSchema).describe(\"An array of HATEOAS links related to the webhook lookup.\").nullable().optional(),\n client_id: z.string().describe(\"The client ID associated with the webhook lookup.\").nullable().optional(),\n}).passthrough().describe(\"Model for a webhook lookup entry.\");\nexport const PaypalListWebhookLookupsOutput = z.object({\n webhooks_lookups: z.array(PaypalListWebhookLookups_WebhookLookupSchema).describe(\"An array of webhook lookup objects.\"),\n}).passthrough().describe(\"Response model for listing webhook lookups.\");\n\nexport const paypalListWebhookLookups: AppAction<\n typeof PaypalListWebhookLookupsInput,\n typeof PaypalListWebhookLookupsOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOK_LOOKUPS\", {\n slug: \"paypal-list-webhook-lookups\",\n name: \"List webhook lookups\",\n description: \"Lists all webhook lookups associated with your PayPal application. Use this action when you need to retrieve webhook lookups that have been configured for your application. This is useful for auditing webhook configurations, verifying lookup status, or checking which client IDs have registered webhooks. This is a read-only operation that returns webhook lookup details including IDs, client IDs, and HATEOAS links for related actions. The action requires no input parameters.\",\n input: PaypalListWebhookLookupsInput,\n output: PaypalListWebhookLookupsOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,gCAAgC,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACxI,MAAM,mDAAmD,EAAE,OAAO;CAChE,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAChF,MAAM,+CAA+C,EAAE,OAAO;CAC5D,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,OAAO,EAAE,MAAM,gDAAgD,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1J,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,mCAAmC;AAK7D,MAAa,2BAIT,OAAO,+BAA+B;CACxC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAb4C,EAAE,OAAO,EACrD,kBAAkB,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,qCAAqC,EACxH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhooksInput = z.object({\n anchor_type: z.enum([\"APPLICATION\", \"ACCOUNT\"]).default(\"APPLICATION\").describe(\"The type of entity to use as an anchor for filtering webhooks.\").optional(),\n}).describe(\"Request model for listing PayPal webhooks.\");\nconst PaypalListWebhooks_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook responses.\");\nconst PaypalListWebhooks_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type in a webhook.\");\nconst PaypalListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL of the webhook endpoint.\").nullable(),\n links: z.array(PaypalListWebhooks_WebhookLinkSchema).describe(\"An array of HATEOAS links related to the webhook.\").nullable().optional(),\n event_types: z.array(PaypalListWebhooks_EventTypeSchema).describe(\"An array of event types that this webhook is subscribed to.\"),\n}).passthrough().describe(\"Model for a PayPal webhook.\");\nexport const PaypalListWebhooksOutput = z.object({\n webhooks: z.array(PaypalListWebhooks_WebhookSchema).describe(\"An array of webhook objects.\"),\n}).passthrough().describe(\"Response model for listing PayPal webhooks.\");\n\nexport const paypalListWebhooks = action(\"PAYPAL_LIST_WEBHOOKS\", {\n slug: \"paypal-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Lists webhooks configured for an application or PayPal account. Use this action when you need to retrieve all webhooks that have been created and configured in your PayPal integration. This is useful for auditing existing webhook configurations, verifying webhook subscriptions, or checking webhook status. The results can be filtered by anchor_type to show webhooks for the application (APPLICATION) or a specific account (ACCOUNT). This is a read-only operation that returns webhook details including URLs, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalListWebhooksInput,\n output: PaypalListWebhooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.cjs","names":["z","action"],"sources":["../../src/actions/list-webhooks.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 PaypalListWebhooksInput = z.object({\n anchor_type: z.enum([\"APPLICATION\", \"ACCOUNT\"]).default(\"APPLICATION\").describe(\"The type of entity to use as an anchor for filtering webhooks.\").optional(),\n}).describe(\"Request model for listing PayPal webhooks.\");\nconst PaypalListWebhooks_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook responses.\");\nconst PaypalListWebhooks_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type in a webhook.\");\nconst PaypalListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL of the webhook endpoint.\").nullable(),\n links: z.array(PaypalListWebhooks_WebhookLinkSchema).describe(\"An array of HATEOAS links related to the webhook.\").nullable().optional(),\n event_types: z.array(PaypalListWebhooks_EventTypeSchema).describe(\"An array of event types that this webhook is subscribed to.\"),\n}).passthrough().describe(\"Model for a PayPal webhook.\");\nexport const PaypalListWebhooksOutput = z.object({\n webhooks: z.array(PaypalListWebhooks_WebhookSchema).describe(\"An array of webhook objects.\"),\n}).passthrough().describe(\"Response model for listing PayPal webhooks.\");\n\nexport const paypalListWebhooks: AppAction<\n typeof PaypalListWebhooksInput,\n typeof PaypalListWebhooksOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOKS\", {\n slug: \"paypal-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Lists webhooks configured for an application or PayPal account. Use this action when you need to retrieve all webhooks that have been created and configured in your PayPal integration. This is useful for auditing existing webhook configurations, verifying webhook subscriptions, or checking webhook status. The results can be filtered by anchor_type to show webhooks for the application (APPLICATION) or a specific account (ACCOUNT). This is a read-only operation that returns webhook details including URLs, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalListWebhooksInput,\n output: PaypalListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO,EAC9C,aAAaA,IAAAA,EAAE,KAAK,CAAC,eAAe,SAAS,CAAC,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC7J,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,uCAAuCA,IAAAA,EAAE,OAAO;CACpD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAOA,IAAAA,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,aAAaA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6DAA6D;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AACvD,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,UAAUA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,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-webhooks.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PaypalListWebhooksOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const paypalListWebhooks:
|
|
26
|
-
anchor_type?: "APPLICATION" | "ACCOUNT" | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const paypalListWebhooks: AppAction<typeof PaypalListWebhooksInput, typeof PaypalListWebhooksOutput, typeof paypal.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { paypalListWebhooks };
|
|
42
30
|
//# sourceMappingURL=list-webhooks.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.cts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,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-webhooks.d.ts
|
|
@@ -22,21 +24,7 @@ declare const PaypalListWebhooksOutput: z.ZodObject<{
|
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>>;
|
|
24
26
|
}, z.core.$loose>;
|
|
25
|
-
declare const paypalListWebhooks:
|
|
26
|
-
anchor_type?: "APPLICATION" | "ACCOUNT" | undefined;
|
|
27
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
28
|
-
connectionId: z.ZodString;
|
|
29
|
-
entityId: z.ZodString;
|
|
30
|
-
instanceId: z.ZodString;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
accessToken: z.ZodString;
|
|
33
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>;
|
|
27
|
+
declare const paypalListWebhooks: AppAction<typeof PaypalListWebhooksInput, typeof PaypalListWebhooksOutput, typeof paypal.credential>;
|
|
40
28
|
//#endregion
|
|
41
29
|
export { paypalListWebhooks };
|
|
42
30
|
//# sourceMappingURL=list-webhooks.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.d.mts","names":[],"sources":["../../src/actions/list-webhooks.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAkBvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAIxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebhooksInput = z.object({\n anchor_type: z.enum([\"APPLICATION\", \"ACCOUNT\"]).default(\"APPLICATION\").describe(\"The type of entity to use as an anchor for filtering webhooks.\").optional(),\n}).describe(\"Request model for listing PayPal webhooks.\");\nconst PaypalListWebhooks_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook responses.\");\nconst PaypalListWebhooks_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type in a webhook.\");\nconst PaypalListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL of the webhook endpoint.\").nullable(),\n links: z.array(PaypalListWebhooks_WebhookLinkSchema).describe(\"An array of HATEOAS links related to the webhook.\").nullable().optional(),\n event_types: z.array(PaypalListWebhooks_EventTypeSchema).describe(\"An array of event types that this webhook is subscribed to.\"),\n}).passthrough().describe(\"Model for a PayPal webhook.\");\nexport const PaypalListWebhooksOutput = z.object({\n webhooks: z.array(PaypalListWebhooks_WebhookSchema).describe(\"An array of webhook objects.\"),\n}).passthrough().describe(\"Response model for listing PayPal webhooks.\");\n\nexport const paypalListWebhooks = action(\"PAYPAL_LIST_WEBHOOKS\", {\n slug: \"paypal-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Lists webhooks configured for an application or PayPal account. Use this action when you need to retrieve all webhooks that have been created and configured in your PayPal integration. This is useful for auditing existing webhook configurations, verifying webhook subscriptions, or checking webhook status. The results can be filtered by anchor_type to show webhooks for the application (APPLICATION) or a specific account (ACCOUNT). This is a read-only operation that returns webhook details including URLs, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalListWebhooksInput,\n output: PaypalListWebhooksOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-webhooks.mjs","names":[],"sources":["../../src/actions/list-webhooks.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 PaypalListWebhooksInput = z.object({\n anchor_type: z.enum([\"APPLICATION\", \"ACCOUNT\"]).default(\"APPLICATION\").describe(\"The type of entity to use as an anchor for filtering webhooks.\").optional(),\n}).describe(\"Request model for listing PayPal webhooks.\");\nconst PaypalListWebhooks_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS links in webhook responses.\");\nconst PaypalListWebhooks_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type in a webhook.\");\nconst PaypalListWebhooks_WebhookSchema = z.object({\n id: z.string().describe(\"The unique identifier for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL of the webhook endpoint.\").nullable(),\n links: z.array(PaypalListWebhooks_WebhookLinkSchema).describe(\"An array of HATEOAS links related to the webhook.\").nullable().optional(),\n event_types: z.array(PaypalListWebhooks_EventTypeSchema).describe(\"An array of event types that this webhook is subscribed to.\"),\n}).passthrough().describe(\"Model for a PayPal webhook.\");\nexport const PaypalListWebhooksOutput = z.object({\n webhooks: z.array(PaypalListWebhooks_WebhookSchema).describe(\"An array of webhook objects.\"),\n}).passthrough().describe(\"Response model for listing PayPal webhooks.\");\n\nexport const paypalListWebhooks: AppAction<\n typeof PaypalListWebhooksInput,\n typeof PaypalListWebhooksOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_WEBHOOKS\", {\n slug: \"paypal-list-webhooks\",\n name: \"List Webhooks\",\n description: \"Lists webhooks configured for an application or PayPal account. Use this action when you need to retrieve all webhooks that have been created and configured in your PayPal integration. This is useful for auditing existing webhook configurations, verifying webhook subscriptions, or checking webhook status. The results can be filtered by anchor_type to show webhooks for the application (APPLICATION) or a specific account (ACCOUNT). This is a read-only operation that returns webhook details including URLs, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalListWebhooksInput,\n output: PaypalListWebhooksOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO,EAC9C,aAAa,EAAE,KAAK,CAAC,eAAe,SAAS,CAAC,CAAC,CAAC,QAAQ,aAAa,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS,EAC7J,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,uCAAuC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uCAAuC;AACjE,MAAM,mCAAmC,EAAE,OAAO;CAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACtE,OAAO,EAAE,MAAM,oCAAoC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvI,aAAa,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,6DAA6D;AACjI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6BAA6B;AAKvD,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbsC,EAAE,OAAO,EAC/C,UAAU,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,8BAA8B,EAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-orders.cjs","names":["z","action"],"sources":["../../src/actions/patch-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchOrdersInput = z.object({\n id: z.string().describe(\"The ID of the checkout order to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the order (e.g., '/purchase_units/0/description'). Use forward slash as separator per RFC 6901.\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the checkout order.\")).describe(\"An array of JSON Patch operations to apply to the order. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal checkout order using JSON Patch.\");\nexport const PaypalPatchOrdersOutput = z.object({\n message: z.string().describe(\"A message describing the result of the update.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the order update was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID used for correlation purposes.\").nullable().optional(),\n order_id: z.string().describe(\"The ID of the order that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal checkout order.\");\n\nexport const paypalPatchOrders = action(\"PAYPAL_PATCH_ORDERS\", {\n slug: \"paypal-patch-orders\",\n name: \"Update checkout order (partial)\",\n description: \"Partially updates a PayPal checkout order using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of an existing checkout order without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the checkout order. Common use cases include updating the order description, custom fields, or other patchable properties. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchOrdersInput,\n output: PaypalPatchOrdersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-orders.cjs","names":["z","action"],"sources":["../../src/actions/patch-orders.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 PaypalPatchOrdersInput = z.object({\n id: z.string().describe(\"The ID of the checkout order to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the order (e.g., '/purchase_units/0/description'). Use forward slash as separator per RFC 6901.\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the checkout order.\")).describe(\"An array of JSON Patch operations to apply to the order. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal checkout order using JSON Patch.\");\nexport const PaypalPatchOrdersOutput = z.object({\n message: z.string().describe(\"A message describing the result of the update.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the order update was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID used for correlation purposes.\").nullable().optional(),\n order_id: z.string().describe(\"The ID of the order that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal checkout order.\");\n\nexport const paypalPatchOrders: AppAction<\n typeof PaypalPatchOrdersInput,\n typeof PaypalPatchOrdersOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_PATCH_ORDERS\", {\n slug: \"paypal-patch-orders\",\n name: \"Update checkout order (partial)\",\n description: \"Partially updates a PayPal checkout order using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of an existing checkout order without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the checkout order. Common use cases include updating the order description, custom fields, or other patchable properties. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchOrdersInput,\n output: PaypalPatchOrdersOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;CACjE,YAAYA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC7B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;EACtL,OAAOA,IAAAA,EAAE,MAAM;GAACA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI;GAAGA,IAAAA,EAAE,OAAO;GAAGA,IAAAA,EAAE,QAAQ;GAAGA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,QAAQ,CAAC;GAAGA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,4IAA4I;AACjP,CAAC,CAAC,CAAC,SAAS,uEAAuE;AACnF,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtH,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAA2D;AAErF,MAAa,oBAITC,eAAAA,OAAO,uBAAuB;CAChC,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/patch-orders.d.ts
|
|
@@ -23,28 +25,7 @@ declare const PaypalPatchOrdersOutput: z.ZodObject<{
|
|
|
23
25
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const paypalPatchOrders:
|
|
27
|
-
id: string;
|
|
28
|
-
operations: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
31
|
-
from?: string | undefined;
|
|
32
|
-
path?: string | undefined;
|
|
33
|
-
value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
|
|
34
|
-
}[];
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const paypalPatchOrders: AppAction<typeof PaypalPatchOrdersInput, typeof PaypalPatchOrdersOutput, typeof paypal.credential>;
|
|
48
29
|
//#endregion
|
|
49
30
|
export { paypalPatchOrders };
|
|
50
31
|
//# sourceMappingURL=patch-orders.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-orders.d.cts","names":[],"sources":["../../src/actions/patch-orders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-orders.d.cts","names":[],"sources":["../../src/actions/patch-orders.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/patch-orders.d.ts
|
|
@@ -23,28 +25,7 @@ declare const PaypalPatchOrdersOutput: z.ZodObject<{
|
|
|
23
25
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
26
|
order_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
27
|
}, z.core.$loose>;
|
|
26
|
-
declare const paypalPatchOrders:
|
|
27
|
-
id: string;
|
|
28
|
-
operations: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
31
|
-
from?: string | undefined;
|
|
32
|
-
path?: string | undefined;
|
|
33
|
-
value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
|
|
34
|
-
}[];
|
|
35
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
36
|
-
connectionId: z.ZodString;
|
|
37
|
-
entityId: z.ZodString;
|
|
38
|
-
instanceId: z.ZodString;
|
|
39
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
40
|
-
accessToken: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
42
|
-
connectionId: z.ZodString;
|
|
43
|
-
entityId: z.ZodString;
|
|
44
|
-
instanceId: z.ZodString;
|
|
45
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
46
|
-
accessToken: z.ZodString;
|
|
47
|
-
}, z.core.$strip>>]>;
|
|
28
|
+
declare const paypalPatchOrders: AppAction<typeof PaypalPatchOrdersInput, typeof PaypalPatchOrdersOutput, typeof paypal.credential>;
|
|
48
29
|
//#endregion
|
|
49
30
|
export { paypalPatchOrders };
|
|
50
31
|
//# sourceMappingURL=patch-orders.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-orders.d.mts","names":[],"sources":["../../src/actions/patch-orders.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-orders.d.mts","names":[],"sources":["../../src/actions/patch-orders.ts"],"mappings":";;;;;cAMa,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAStB,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;cAOvB,iBAAA,EAAmB,SAAA,QACvB,sBAAA,SACA,uBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-orders.mjs","names":[],"sources":["../../src/actions/patch-orders.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchOrdersInput = z.object({\n id: z.string().describe(\"The ID of the checkout order to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the order (e.g., '/purchase_units/0/description'). Use forward slash as separator per RFC 6901.\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the checkout order.\")).describe(\"An array of JSON Patch operations to apply to the order. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal checkout order using JSON Patch.\");\nexport const PaypalPatchOrdersOutput = z.object({\n message: z.string().describe(\"A message describing the result of the update.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the order update was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID used for correlation purposes.\").nullable().optional(),\n order_id: z.string().describe(\"The ID of the order that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal checkout order.\");\n\nexport const paypalPatchOrders = action(\"PAYPAL_PATCH_ORDERS\", {\n slug: \"paypal-patch-orders\",\n name: \"Update checkout order (partial)\",\n description: \"Partially updates a PayPal checkout order using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of an existing checkout order without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the checkout order. Common use cases include updating the order description, custom fields, or other patchable properties. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchOrdersInput,\n output: PaypalPatchOrdersOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-orders.mjs","names":[],"sources":["../../src/actions/patch-orders.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 PaypalPatchOrdersInput = z.object({\n id: z.string().describe(\"The ID of the checkout order to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the order (e.g., '/purchase_units/0/description'). Use forward slash as separator per RFC 6901.\").optional(),\n value: z.union([z.string(), z.number().int(), z.number(), z.boolean(), z.array(z.unknown()), z.record(z.string(), z.unknown())]).optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the checkout order.\")).describe(\"An array of JSON Patch operations to apply to the order. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal checkout order using JSON Patch.\");\nexport const PaypalPatchOrdersOutput = z.object({\n message: z.string().describe(\"A message describing the result of the update.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the order update was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID used for correlation purposes.\").nullable().optional(),\n order_id: z.string().describe(\"The ID of the order that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal checkout order.\");\n\nexport const paypalPatchOrders: AppAction<\n typeof PaypalPatchOrdersInput,\n typeof PaypalPatchOrdersOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_PATCH_ORDERS\", {\n slug: \"paypal-patch-orders\",\n name: \"Update checkout order (partial)\",\n description: \"Partially updates a PayPal checkout order using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of an existing checkout order without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the checkout order. Common use cases include updating the order description, custom fields, or other patchable properties. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchOrdersInput,\n output: PaypalPatchOrdersOutput,\n});\n"],"mappings":";;;AAsBA,MAAa,oBAIT,OAAO,uBAAuB;CAChC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAxBoC,EAAE,OAAO;EAC7C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC;EACjE,YAAY,EAAE,MAAM,EAAE,OAAO;GAC7B,IAAI,EAAE,KAAK;IAAC;IAAO;IAAU;IAAW;IAAQ;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;GACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ,CAAC,CAAC,SAAS;GACtL,OAAO,EAAE,MAAM;IAAC,EAAE,OAAO;IAAG,EAAE,OAAO,CAAC,CAAC,IAAI;IAAG,EAAE,OAAO;IAAG,EAAE,QAAQ;IAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;IAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;GAAC,CAAC,CAAC,CAAC,SAAS;EAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,CAAC,SAAS,4IAA4I;CACjP,CAAC,CAAC,CAAC,SAAS,uEAgBH;CACP,QAhBqC,EAAE,OAAO;EAC9C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnG,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtH,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-plan.cjs","names":["z","action"],"sources":["../../src/actions/patch-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchPlanInput = z.object({\n id: z.string().describe(\"The unique billing plan ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the billing plan (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\n value: z.unknown().describe(\"The value to apply for 'add', 'replace', or 'test' operations. The 'remove' operation does not require a value.\").optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the billing plan.\")).describe(\"An array of JSON Patch operations to apply to the billing plan. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal billing plan using JSON Patch.\");\nexport const PaypalPatchPlanOutput = z.object({\n plan_id: z.string().describe(\"The ID of the billing plan that was updated.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the billing plan update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal billing plan.\");\n\nexport const paypalPatchPlan = action(\"PAYPAL_PATCH_PLAN\", {\n slug: \"paypal-patch-plan\",\n name: \"Update billing plan (partial)\",\n description: \"Partially updates a PayPal billing plan using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a billing plan without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the billing plan. Common use cases include updating the plan name, description, payment definitions, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchPlanInput,\n output: PaypalPatchPlanOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-plan.cjs","names":["z","action"],"sources":["../../src/actions/patch-plan.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 PaypalPatchPlanInput = z.object({\n id: z.string().describe(\"The unique billing plan ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the billing plan (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\n value: z.unknown().describe(\"The value to apply for 'add', 'replace', or 'test' operations. The 'remove' operation does not require a value.\").optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the billing plan.\")).describe(\"An array of JSON Patch operations to apply to the billing plan. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal billing plan using JSON Patch.\");\nexport const PaypalPatchPlanOutput = z.object({\n plan_id: z.string().describe(\"The ID of the billing plan that was updated.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the billing plan update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal billing plan.\");\n\nexport const paypalPatchPlan: AppAction<\n typeof PaypalPatchPlanInput,\n typeof PaypalPatchPlanOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_PATCH_PLAN\", {\n slug: \"paypal-patch-plan\",\n name: \"Update billing plan (partial)\",\n description: \"Partially updates a PayPal billing plan using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a billing plan without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the billing plan. Common use cases include updating the plan name, description, payment definitions, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchPlanInput,\n output: PaypalPatchPlanOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO;CAC3C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;CACrD,SAASA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EAC1B,IAAIA,IAAAA,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;EAC1K,OAAOA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;CAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,mJAAmJ;AACtP,CAAC,CAAC,CAAC,SAAS,qEAAqE;AACjF,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAAyD;AAEnF,MAAa,kBAITC,eAAAA,OAAO,qBAAqB;CAC9B,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/patch-plan.d.ts
|
|
@@ -21,28 +23,7 @@ declare const PaypalPatchPlanOutput: z.ZodObject<{
|
|
|
21
23
|
plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const paypalPatchPlan:
|
|
25
|
-
id: string;
|
|
26
|
-
patches: {
|
|
27
|
-
[x: string]: unknown;
|
|
28
|
-
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
29
|
-
path: string;
|
|
30
|
-
from?: string | undefined;
|
|
31
|
-
value?: unknown;
|
|
32
|
-
}[];
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const paypalPatchPlan: AppAction<typeof PaypalPatchPlanInput, typeof PaypalPatchPlanOutput, typeof paypal.credential>;
|
|
46
27
|
//#endregion
|
|
47
28
|
export { paypalPatchPlan };
|
|
48
29
|
//# sourceMappingURL=patch-plan.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-plan.d.cts","names":[],"sources":["../../src/actions/patch-plan.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-plan.d.cts","names":[],"sources":["../../src/actions/patch-plan.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,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/patch-plan.d.ts
|
|
@@ -21,28 +23,7 @@ declare const PaypalPatchPlanOutput: z.ZodObject<{
|
|
|
21
23
|
plan_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
24
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const paypalPatchPlan:
|
|
25
|
-
id: string;
|
|
26
|
-
patches: {
|
|
27
|
-
[x: string]: unknown;
|
|
28
|
-
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
29
|
-
path: string;
|
|
30
|
-
from?: string | undefined;
|
|
31
|
-
value?: unknown;
|
|
32
|
-
}[];
|
|
33
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
34
|
-
connectionId: z.ZodString;
|
|
35
|
-
entityId: z.ZodString;
|
|
36
|
-
instanceId: z.ZodString;
|
|
37
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
38
|
-
accessToken: z.ZodString;
|
|
39
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
40
|
-
connectionId: z.ZodString;
|
|
41
|
-
entityId: z.ZodString;
|
|
42
|
-
instanceId: z.ZodString;
|
|
43
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
44
|
-
accessToken: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>]>;
|
|
26
|
+
declare const paypalPatchPlan: AppAction<typeof PaypalPatchPlanInput, typeof PaypalPatchPlanOutput, typeof paypal.credential>;
|
|
46
27
|
//#endregion
|
|
47
28
|
export { paypalPatchPlan };
|
|
48
29
|
//# sourceMappingURL=patch-plan.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-plan.d.mts","names":[],"sources":["../../src/actions/patch-plan.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-plan.d.mts","names":[],"sources":["../../src/actions/patch-plan.ts"],"mappings":";;;;;cAMa,oBAAA,EAAoB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cASpB,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;;cAKrB,eAAA,EAAiB,SAAA,QACrB,oBAAA,SACA,qBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"patch-plan.mjs","names":[],"sources":["../../src/actions/patch-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalPatchPlanInput = z.object({\n id: z.string().describe(\"The unique billing plan ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the billing plan (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\n value: z.unknown().describe(\"The value to apply for 'add', 'replace', or 'test' operations. The 'remove' operation does not require a value.\").optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the billing plan.\")).describe(\"An array of JSON Patch operations to apply to the billing plan. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal billing plan using JSON Patch.\");\nexport const PaypalPatchPlanOutput = z.object({\n plan_id: z.string().describe(\"The ID of the billing plan that was updated.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the billing plan update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal billing plan.\");\n\nexport const paypalPatchPlan = action(\"PAYPAL_PATCH_PLAN\", {\n slug: \"paypal-patch-plan\",\n name: \"Update billing plan (partial)\",\n description: \"Partially updates a PayPal billing plan using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a billing plan without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the billing plan. Common use cases include updating the plan name, description, payment definitions, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchPlanInput,\n output: PaypalPatchPlanOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"patch-plan.mjs","names":[],"sources":["../../src/actions/patch-plan.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 PaypalPatchPlanInput = z.object({\n id: z.string().describe(\"The unique billing plan ID.\"),\n patches: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform. Valid values: 'add', 'remove', 'replace', 'move', 'copy', 'test'.\"),\n from: z.string().describe(\"The JSON Pointer path to copy or move the value from. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer path to the target location in the billing plan (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\n value: z.unknown().describe(\"The value to apply for 'add', 'replace', or 'test' operations. The 'remove' operation does not require a value.\").optional(),\n}).passthrough().describe(\"A single JSON Patch operation to apply to the billing plan.\")).describe(\"An array of JSON Patch operations to apply to the billing plan. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n}).describe(\"Request to partially update a PayPal billing plan using JSON Patch.\");\nexport const PaypalPatchPlanOutput = z.object({\n plan_id: z.string().describe(\"The ID of the billing plan that was updated.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the billing plan update was successful.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal billing plan.\");\n\nexport const paypalPatchPlan: AppAction<\n typeof PaypalPatchPlanInput,\n typeof PaypalPatchPlanOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_PATCH_PLAN\", {\n slug: \"paypal-patch-plan\",\n name: \"Update billing plan (partial)\",\n description: \"Partially updates a PayPal billing plan using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a billing plan without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the billing plan. Common use cases include updating the plan name, description, payment definitions, or other fields. A successful update returns HTTP 204 No Content with no JSON response body. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalPatchPlanInput,\n output: PaypalPatchPlanOutput,\n});\n"],"mappings":";;;AAoBA,MAAa,kBAIT,OAAO,qBAAqB;CAC9B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAtBkC,EAAE,OAAO;EAC3C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B;EACrD,SAAS,EAAE,MAAM,EAAE,OAAO;GAC1B,IAAI,EAAE,KAAK;IAAC;IAAO;IAAU;IAAW;IAAQ;IAAQ;GAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;GACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;GACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,gJAAgJ;GAC1K,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,iHAAiH,CAAC,CAAC,SAAS;EAC1J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6DAA6D,CAAC,CAAC,CAAC,SAAS,mJAAmJ;CACtP,CAAC,CAAC,CAAC,SAAS,qEAcH;CACP,QAdmC,EAAE,OAAO;EAC5C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjG,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yDAWhB;AACV,CAAC"}
|