@keystrokehq/paypal 0.1.0 → 0.1.3
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 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +10 -3
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +10 -3
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +10 -10
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +79 -3
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +79 -3
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +10 -10
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +22 -22
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +94 -3
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +94 -3
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +22 -22
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +4 -4
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +36 -3
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +36 -3
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +4 -4
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +4 -4
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +25 -3
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +25 -3
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +4 -4
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +23 -23
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +67 -3
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +67 -3
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +23 -23
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -1
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +89 -3
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +89 -3
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -1
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +29 -29
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +431 -3
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +431 -3
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +29 -29
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +42 -42
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +215 -3
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +215 -3
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +42 -42
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +16 -16
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +154 -3
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +154 -3
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +16 -16
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +20 -20
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +143 -3
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +143 -3
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +20 -20
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +2 -2
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +184 -3
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +184 -3
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +2 -2
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +17 -17
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +255 -3
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +255 -3
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +17 -17
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +30 -30
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +323 -3
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +323 -3
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +30 -30
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +7 -7
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +81 -3
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +81 -3
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +7 -7
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +5 -5
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +11 -3
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +11 -3
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +5 -5
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +7 -7
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +37 -3
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +37 -3
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +7 -7
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +3 -3
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +10 -3
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +10 -3
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +3 -3
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -1
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +13 -3
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +13 -3
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +13 -3
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +13 -3
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +12 -3
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +12 -3
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +6 -6
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +25 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +25 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +6 -6
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +3 -3
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +10 -3
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +10 -3
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +3 -3
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +6 -6
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +25 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +25 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +6 -6
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +3 -3
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +10 -3
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +10 -3
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +3 -3
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +6 -6
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +24 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +24 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +6 -6
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +6 -6
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +21 -3
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +21 -3
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +6 -6
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +14 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +14 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +8 -8
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +120 -3
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +120 -3
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +8 -8
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +2 -2
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +7 -3
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +7 -3
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +2 -2
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +10 -3
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +10 -3
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +5 -3
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +5 -3
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -1
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +7 -7
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +38 -3
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +38 -3
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +7 -7
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +10 -10
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +86 -3
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +86 -3
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs +10 -10
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +33 -33
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +151 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +151 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +33 -33
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +5 -5
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +20 -3
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +20 -3
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +5 -5
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +22 -22
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +134 -3
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +134 -3
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +22 -22
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +16 -16
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +114 -3
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +114 -3
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +16 -16
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +14 -14
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +93 -3
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +93 -3
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +14 -14
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +3 -3
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +26 -3
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +26 -3
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs +3 -3
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +11 -11
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +52 -3
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +52 -3
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs +11 -11
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +5 -5
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +22 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +22 -3
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +5 -5
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +10 -10
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +79 -3
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +79 -3
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs +10 -10
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +3 -3
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +34 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +34 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +3 -3
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +3 -3
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +47 -3
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +47 -3
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs +3 -3
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +5 -5
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +26 -3
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +26 -3
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +5 -5
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +3 -3
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +15 -3
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +15 -3
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +3 -3
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +6 -6
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +23 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +23 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +6 -6
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +7 -7
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +57 -3
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +57 -3
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +7 -7
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +15 -15
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +82 -3
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +82 -3
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +15 -15
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +7 -7
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +83 -3
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +83 -3
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs +7 -7
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +20 -20
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +109 -3
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +109 -3
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +20 -20
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +11 -11
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +56 -3
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +56 -3
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +11 -11
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +30 -3
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +30 -3
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +8 -8
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +66 -3
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +66 -3
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +8 -8
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +7 -7
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +35 -3
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +35 -3
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +7 -7
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +4 -4
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +4 -4
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +4 -4
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +12 -3
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +12 -3
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +4 -4
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +3 -3
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +13 -3
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +13 -3
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +3 -3
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +3 -3
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +24 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +24 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +3 -3
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +2 -2
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +32 -3
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +32 -3
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +2 -2
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +2 -2
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +30 -3
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +30 -3
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs +2 -2
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +5 -5
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +37 -3
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +37 -3
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +5 -5
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +2 -2
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +30 -3
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +30 -3
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +2 -2
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +2 -2
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +6 -3
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +6 -3
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +2 -2
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +5 -5
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +30 -3
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +30 -3
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +5 -5
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +12 -12
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +60 -3
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +60 -3
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +12 -12
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +12 -12
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +156 -3
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +156 -3
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +12 -12
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +4 -4
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +30 -3
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +30 -3
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +4 -4
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +7 -7
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +42 -3
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +42 -3
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +7 -7
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +5 -5
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +40 -3
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +40 -3
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +5 -5
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +49 -49
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +544 -3
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +544 -3
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +49 -49
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +2 -2
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +30 -3
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +30 -3
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +2 -2
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +7 -7
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +41 -3
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +41 -3
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +7 -7
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +39 -39
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +636 -3
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +636 -3
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs +39 -39
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +4 -4
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +59 -3
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +59 -3
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +4 -4
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +5 -5
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +25 -3
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +25 -3
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +5 -5
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -1
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +52 -3
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +52 -3
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1,9 +1,36 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-pay-pal-product.d.ts
|
|
4
|
-
declare const PaypalUpdatePayPalProductInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalUpdatePayPalProductInput: z.ZodObject<{
|
|
5
|
+
patches: z.ZodArray<z.ZodObject<{
|
|
6
|
+
op: z.ZodEnum<{
|
|
7
|
+
replace: "replace";
|
|
8
|
+
add: "add";
|
|
9
|
+
remove: "remove";
|
|
10
|
+
move: "move";
|
|
11
|
+
copy: "copy";
|
|
12
|
+
test: "test";
|
|
13
|
+
}>;
|
|
14
|
+
from: z.ZodOptional<z.ZodString>;
|
|
15
|
+
path: z.ZodString;
|
|
16
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
product_id: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PaypalUpdatePayPalProductOutput: z.ZodObject<{
|
|
21
|
+
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
22
|
+
product_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
}, z.core.$loose>;
|
|
24
|
+
declare const paypalUpdatePayPalProduct: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
25
|
+
patches: {
|
|
26
|
+
[x: string]: unknown;
|
|
27
|
+
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
28
|
+
path: string;
|
|
29
|
+
from?: string | undefined;
|
|
30
|
+
value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
|
|
31
|
+
}[];
|
|
32
|
+
product_id: string;
|
|
33
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
34
|
//#endregion
|
|
8
35
|
export { paypalUpdatePayPalProduct };
|
|
9
36
|
//# sourceMappingURL=update-pay-pal-product.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-pay-pal-product.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-pay-pal-product.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAS9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,gCAAyB,wBAAA;;;;;;wCAMpC,MAAA;EAAA"}
|
|
@@ -24,13 +24,13 @@ const paypalUpdatePayPalProduct = action("PAYPAL_UPDATE_PAY_PAL_PRODUCT", {
|
|
|
24
24
|
z.array(z.unknown()),
|
|
25
25
|
z.record(z.string(), z.unknown())
|
|
26
26
|
]).optional()
|
|
27
|
-
}).describe("A single JSON Patch operation to apply to the product.")).describe("An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
|
|
27
|
+
}).passthrough().describe("A single JSON Patch operation to apply to the product.")).describe("An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
|
|
28
28
|
product_id: z.string().describe("The unique product ID.")
|
|
29
29
|
}).describe("Request to partially update a PayPal product using JSON Patch."),
|
|
30
30
|
output: z.object({
|
|
31
31
|
success: z.boolean().default(true).describe("Indicates whether the product update was successful.").nullable().optional(),
|
|
32
32
|
product_id: z.string().describe("The ID of the product that was updated.").nullable().optional()
|
|
33
|
-
}).describe("Response from partially updating a PayPal product.")
|
|
33
|
+
}).passthrough().describe("Response from partially updating a PayPal product.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { paypalUpdatePayPalProduct };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-pay-pal-product.mjs","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalProductInput
|
|
1
|
+
{"version":3,"file":"update-pay-pal-product.mjs","names":[],"sources":["../../src/actions/update-pay-pal-product.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalProductInput = z.object({\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 product (e.g., '/description', '/name'). Use forward slash as separator per RFC 6901.\"),\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 product.\")).describe(\"An array of JSON Patch operations to apply to the product. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n product_id: z.string().describe(\"The unique product ID.\"),\n}).describe(\"Request to partially update a PayPal product using JSON Patch.\");\nexport const PaypalUpdatePayPalProductOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the product update was successful.\").nullable().optional(),\n product_id: z.string().describe(\"The ID of the product that was updated.\").nullable().optional(),\n}).passthrough().describe(\"Response from partially updating a PayPal product.\");\n\nexport const paypalUpdatePayPalProduct = action(\"PAYPAL_UPDATE_PAY_PAL_PRODUCT\", {\n slug: \"paypal-update-pay-pal-product\",\n name: \"Update product (partial)\",\n description: \"Partially updates a PayPal product using JSON Patch (RFC 6902) operations. Use this action when you need to update specific fields of a product without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the product. Common use cases include updating the product name, description, 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: PaypalUpdatePayPalProductInput,\n output: PaypalUpdatePayPalProductOutput,\n});\n"],"mappings":";;AAkBA,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAlB4C,EAAE,OAAO;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,2IAA2I;GACrK,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,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;EAC1O,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;CAC1D,CAAC,CAAC,CAAC,SAAS,gEAUH;CACP,QAV6C,EAAE,OAAO;EACtD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oDAOhB;AACV,CAAC"}
|
|
@@ -21,26 +21,26 @@ const PaypalUpdatePayPalWebhookInput = zod.z.object({
|
|
|
21
21
|
zod.z.array(zod.z.unknown()),
|
|
22
22
|
zod.z.record(zod.z.string(), zod.z.unknown())
|
|
23
23
|
]).optional()
|
|
24
|
-
}).describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
|
|
24
|
+
}).passthrough().describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
|
|
25
25
|
webhook_id: zod.z.string().describe("The unique webhook ID.")
|
|
26
26
|
}).describe("Request to update a PayPal webhook using JSON Patch.");
|
|
27
27
|
const PaypalUpdatePayPalWebhook_LinkDescriptionSchema = zod.z.object({
|
|
28
|
-
rel: zod.z.string().describe("The link relationship type."),
|
|
29
|
-
href: zod.z.string().describe("The complete URL to the related resource."),
|
|
28
|
+
rel: zod.z.string().describe("The link relationship type.").nullable(),
|
|
29
|
+
href: zod.z.string().describe("The complete URL to the related resource.").nullable(),
|
|
30
30
|
method: zod.z.string().describe("The HTTP method for the link.").nullable().optional()
|
|
31
|
-
}).describe("HATEOAS link information.");
|
|
31
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
32
32
|
const PaypalUpdatePayPalWebhook_EventTypeSchema = zod.z.object({
|
|
33
|
-
name: zod.z.string().describe("The name of the event type."),
|
|
33
|
+
name: zod.z.string().describe("The name of the event type.").nullable(),
|
|
34
34
|
status: zod.z.string().describe("The status of the event type subscription.").nullable().optional(),
|
|
35
35
|
description: zod.z.string().describe("A description of the event type.").nullable().optional(),
|
|
36
36
|
resource_versions: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("The resource versions for the event type.").nullable().optional()
|
|
37
|
-
}).describe("An event type subscribed to by the webhook.");
|
|
37
|
+
}).passthrough().describe("An event type subscribed to by the webhook.");
|
|
38
38
|
const PaypalUpdatePayPalWebhookOutput = zod.z.object({
|
|
39
39
|
id: zod.z.string().describe("The ID of the webhook that was updated.").nullable().optional(),
|
|
40
40
|
url: zod.z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
|
|
41
41
|
links: zod.z.array(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
42
42
|
event_types: zod.z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
|
|
43
|
-
}).describe("Response from updating a PayPal webhook.");
|
|
43
|
+
}).passthrough().describe("Response from updating a PayPal webhook.");
|
|
44
44
|
const paypalUpdatePayPalWebhook = require_action.action("PAYPAL_UPDATE_PAY_PAL_WEBHOOK", {
|
|
45
45
|
slug: "paypal-update-pay-pal-webhook",
|
|
46
46
|
name: "Update Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-pay-pal-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput
|
|
1
|
+
{"version":3,"file":"update-pay-pal-webhook.cjs","names":["z","action"],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput = z.object({\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 webhook (e.g., '/url', '/event_types'). Use forward slash as separator per RFC 6901.\"),\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 webhook.\")).describe(\"An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n webhook_id: z.string().describe(\"The unique webhook ID.\"),\n}).describe(\"Request to update a PayPal webhook using JSON Patch.\");\nconst PaypalUpdatePayPalWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalUpdatePayPalWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type subscription.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n resource_versions: z.array(z.record(z.string(), z.unknown())).describe(\"The resource versions for the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type subscribed to by the webhook.\");\nexport const PaypalUpdatePayPalWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook that was updated.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a PayPal webhook.\");\n\nexport const paypalUpdatePayPalWebhook = action(\"PAYPAL_UPDATE_PAY_PAL_WEBHOOK\", {\n slug: \"paypal-update-pay-pal-webhook\",\n name: \"Update Webhook\",\n description: \"Updates a PayPal webhook using JSON Patch (RFC 6902) operations. Use this action when you need to modify specific fields of a webhook such as the URL or event types without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the webhook. Common use cases include updating the webhook URL, adding or removing event type subscriptions, or modifying other webhook configuration. A successful update returns HTTP 200 OK with the updated webhook object. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalWebhookInput,\n output: PaypalUpdatePayPalWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiCA,IAAAA,EAAE,OAAO;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,0IAA0I;EACpK,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,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;CAC1O,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkDA,IAAAA,EAAE,OAAO;CAC/D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AACvE,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,OAAOA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,aAAaA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAA0C;AAEpE,MAAa,4BAA4BC,eAAAA,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-pay-pal-webhook.d.ts
|
|
4
|
-
declare const PaypalUpdatePayPalWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalUpdatePayPalWebhookInput: z.ZodObject<{
|
|
5
|
+
patches: z.ZodArray<z.ZodObject<{
|
|
6
|
+
op: z.ZodEnum<{
|
|
7
|
+
replace: "replace";
|
|
8
|
+
add: "add";
|
|
9
|
+
remove: "remove";
|
|
10
|
+
move: "move";
|
|
11
|
+
copy: "copy";
|
|
12
|
+
test: "test";
|
|
13
|
+
}>;
|
|
14
|
+
from: z.ZodOptional<z.ZodString>;
|
|
15
|
+
path: z.ZodString;
|
|
16
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
webhook_id: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PaypalUpdatePayPalWebhookOutput: z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
|
+
rel: z.ZodNullable<z.ZodString>;
|
|
25
|
+
href: z.ZodNullable<z.ZodString>;
|
|
26
|
+
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
|
+
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
resource_versions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const paypalUpdatePayPalWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
patches: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
39
|
+
path: string;
|
|
40
|
+
from?: string | undefined;
|
|
41
|
+
value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
webhook_id: string;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { paypalUpdatePayPalWebhook };
|
|
9
47
|
//# sourceMappingURL=update-pay-pal-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-pay-pal-webhook.d.cts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-pay-pal-webhook.d.cts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA;;;;;;wCAMpC,MAAA;EAAA"}
|
|
@@ -1,9 +1,47 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
|
|
3
3
|
//#region src/actions/update-pay-pal-webhook.d.ts
|
|
4
|
-
declare const PaypalUpdatePayPalWebhookInput: z.
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
declare const PaypalUpdatePayPalWebhookInput: z.ZodObject<{
|
|
5
|
+
patches: z.ZodArray<z.ZodObject<{
|
|
6
|
+
op: z.ZodEnum<{
|
|
7
|
+
replace: "replace";
|
|
8
|
+
add: "add";
|
|
9
|
+
remove: "remove";
|
|
10
|
+
move: "move";
|
|
11
|
+
copy: "copy";
|
|
12
|
+
test: "test";
|
|
13
|
+
}>;
|
|
14
|
+
from: z.ZodOptional<z.ZodString>;
|
|
15
|
+
path: z.ZodString;
|
|
16
|
+
value: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodNumber, z.ZodBoolean, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
|
|
17
|
+
}, z.core.$loose>>;
|
|
18
|
+
webhook_id: z.ZodString;
|
|
19
|
+
}, z.core.$strip>;
|
|
20
|
+
declare const PaypalUpdatePayPalWebhookOutput: z.ZodObject<{
|
|
21
|
+
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
|
+
rel: z.ZodNullable<z.ZodString>;
|
|
25
|
+
href: z.ZodNullable<z.ZodString>;
|
|
26
|
+
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
}, z.core.$loose>>>>;
|
|
28
|
+
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
29
|
+
name: z.ZodNullable<z.ZodString>;
|
|
30
|
+
status: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
|
+
resource_versions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
|
+
}, z.core.$loose>;
|
|
35
|
+
declare const paypalUpdatePayPalWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
36
|
+
patches: {
|
|
37
|
+
[x: string]: unknown;
|
|
38
|
+
op: "replace" | "add" | "remove" | "move" | "copy" | "test";
|
|
39
|
+
path: string;
|
|
40
|
+
from?: string | undefined;
|
|
41
|
+
value?: string | number | boolean | Record<string, unknown> | unknown[] | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
webhook_id: string;
|
|
44
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
45
|
//#endregion
|
|
8
46
|
export { paypalUpdatePayPalWebhook };
|
|
9
47
|
//# sourceMappingURL=update-pay-pal-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-pay-pal-webhook.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,
|
|
1
|
+
{"version":3,"file":"update-pay-pal-webhook.d.mts","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"mappings":";;;cAIa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAoB9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;cAO/B,yBAAA,gCAAyB,wBAAA;;;;;;wCAMpC,MAAA;EAAA"}
|
|
@@ -21,20 +21,20 @@ const PaypalUpdatePayPalWebhookInput = z.object({
|
|
|
21
21
|
z.array(z.unknown()),
|
|
22
22
|
z.record(z.string(), z.unknown())
|
|
23
23
|
]).optional()
|
|
24
|
-
}).describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
|
|
24
|
+
}).passthrough().describe("A single JSON Patch operation to apply to the webhook.")).describe("An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'."),
|
|
25
25
|
webhook_id: z.string().describe("The unique webhook ID.")
|
|
26
26
|
}).describe("Request to update a PayPal webhook using JSON Patch.");
|
|
27
27
|
const PaypalUpdatePayPalWebhook_LinkDescriptionSchema = z.object({
|
|
28
|
-
rel: z.string().describe("The link relationship type."),
|
|
29
|
-
href: z.string().describe("The complete URL to the related resource."),
|
|
28
|
+
rel: z.string().describe("The link relationship type.").nullable(),
|
|
29
|
+
href: z.string().describe("The complete URL to the related resource.").nullable(),
|
|
30
30
|
method: z.string().describe("The HTTP method for the link.").nullable().optional()
|
|
31
|
-
}).describe("HATEOAS link information.");
|
|
31
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
32
32
|
const PaypalUpdatePayPalWebhook_EventTypeSchema = z.object({
|
|
33
|
-
name: z.string().describe("The name of the event type."),
|
|
33
|
+
name: z.string().describe("The name of the event type.").nullable(),
|
|
34
34
|
status: z.string().describe("The status of the event type subscription.").nullable().optional(),
|
|
35
35
|
description: z.string().describe("A description of the event type.").nullable().optional(),
|
|
36
36
|
resource_versions: z.array(z.record(z.string(), z.unknown())).describe("The resource versions for the event type.").nullable().optional()
|
|
37
|
-
}).describe("An event type subscribed to by the webhook.");
|
|
37
|
+
}).passthrough().describe("An event type subscribed to by the webhook.");
|
|
38
38
|
const paypalUpdatePayPalWebhook = action("PAYPAL_UPDATE_PAY_PAL_WEBHOOK", {
|
|
39
39
|
slug: "paypal-update-pay-pal-webhook",
|
|
40
40
|
name: "Update Webhook",
|
|
@@ -45,7 +45,7 @@ const paypalUpdatePayPalWebhook = action("PAYPAL_UPDATE_PAY_PAL_WEBHOOK", {
|
|
|
45
45
|
url: z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
|
|
46
46
|
links: z.array(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
47
47
|
event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
|
|
48
|
-
}).describe("Response from updating a PayPal webhook.")
|
|
48
|
+
}).passthrough().describe("Response from updating a PayPal webhook.")
|
|
49
49
|
});
|
|
50
50
|
//#endregion
|
|
51
51
|
export { paypalUpdatePayPalWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-pay-pal-webhook.mjs","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput
|
|
1
|
+
{"version":3,"file":"update-pay-pal-webhook.mjs","names":[],"sources":["../../src/actions/update-pay-pal-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdatePayPalWebhookInput = z.object({\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 webhook (e.g., '/url', '/event_types'). Use forward slash as separator per RFC 6901.\"),\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 webhook.\")).describe(\"An array of JSON Patch operations to apply to the webhook. Each operation follows RFC 6902 format with 'op', 'path', and optionally 'value'.\"),\n webhook_id: z.string().describe(\"The unique webhook ID.\"),\n}).describe(\"Request to update a PayPal webhook using JSON Patch.\");\nconst PaypalUpdatePayPalWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalUpdatePayPalWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type subscription.\").nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n resource_versions: z.array(z.record(z.string(), z.unknown())).describe(\"The resource versions for the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type subscribed to by the webhook.\");\nexport const PaypalUpdatePayPalWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook that was updated.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalUpdatePayPalWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalUpdatePayPalWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response from updating a PayPal webhook.\");\n\nexport const paypalUpdatePayPalWebhook = action(\"PAYPAL_UPDATE_PAY_PAL_WEBHOOK\", {\n slug: \"paypal-update-pay-pal-webhook\",\n name: \"Update Webhook\",\n description: \"Updates a PayPal webhook using JSON Patch (RFC 6902) operations. Use this action when you need to modify specific fields of a webhook such as the URL or event types without replacing the entire resource. This action accepts an array of patch operations (add, remove, replace, move, copy, test) and applies them to the webhook. Common use cases include updating the webhook URL, adding or removing event type subscriptions, or modifying other webhook configuration. A successful update returns HTTP 200 OK with the updated webhook object. This action is idempotent - applying the same patch multiple times produces the same result.\",\n input: PaypalUpdatePayPalWebhookInput,\n output: PaypalUpdatePayPalWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAAiC,EAAE,OAAO;CACrD,SAAS,EAAE,MAAM,EAAE,OAAO;EAC1B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,6FAA6F;EACvK,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;EACvI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,0IAA0I;EACpK,OAAO,EAAE,MAAM;GAAC,EAAE,OAAO;GAAG,EAAE,OAAO,CAAC,CAAC,IAAI;GAAG,EAAE,OAAO;GAAG,EAAE,QAAQ;GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC;GAAG,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC;EAAC,CAAC,CAAC,CAAC,SAAS;CAC5I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,CAAC,SAAS,8IAA8I;CAC1O,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB;AAC1D,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAClE,MAAM,kDAAkD,EAAE,OAAO;CAC/D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4C,EAAE,OAAO;CACzD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9F,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,mBAAmB,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAQvE,MAAa,4BAA4B,OAAO,iCAAiC;CAC/E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZ6C,EAAE,OAAO;EACtD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,yCAAyC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvF,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,aAAa,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0CAOhB;AACV,CAAC"}
|
|
@@ -8,23 +8,23 @@ const PaypalUpdateTemplatesInput = zod.z.object({
|
|
|
8
8
|
template_item_settings: zod.z.array(zod.z.object({
|
|
9
9
|
field_name: zod.z.string().describe("The field name for the display preference.").optional(),
|
|
10
10
|
display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
|
|
11
|
-
}).describe("Template item headers display preference.")).describe("The template item headers display preference.").optional(),
|
|
11
|
+
}).passthrough().describe("Template item headers display preference.")).describe("The template item headers display preference.").optional(),
|
|
12
12
|
template_details_settings: zod.z.array(zod.z.object({
|
|
13
13
|
field_name: zod.z.string().describe("The field name for the display preference.").optional(),
|
|
14
14
|
display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
|
|
15
|
-
}).describe("Template settings item for details, policy, or additional settings.")).describe("The template details settings.").optional(),
|
|
15
|
+
}).passthrough().describe("Template settings item for details, policy, or additional settings.")).describe("The template details settings.").optional(),
|
|
16
16
|
template_subtotal_settings: zod.z.array(zod.z.object({
|
|
17
17
|
field_name: zod.z.string().describe("The field name for the display preference.").optional(),
|
|
18
18
|
display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
|
|
19
|
-
}).describe("Template subtotal headers display preference.")).describe("The template subtotal headers display preference.").optional(),
|
|
19
|
+
}).passthrough().describe("Template subtotal headers display preference.")).describe("The template subtotal headers display preference.").optional(),
|
|
20
20
|
template_additional_settings: zod.z.array(zod.z.object({
|
|
21
21
|
field_name: zod.z.string().describe("The field name for the display preference.").optional(),
|
|
22
22
|
display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
|
|
23
|
-
}).describe("Template settings item for details, policy, or additional settings.")).describe("The template additional settings.").optional(),
|
|
23
|
+
}).passthrough().describe("Template settings item for details, policy, or additional settings.")).describe("The template additional settings.").optional(),
|
|
24
24
|
template_policy_and_agreement_settings: zod.z.array(zod.z.object({
|
|
25
25
|
field_name: zod.z.string().describe("The field name for the display preference.").optional(),
|
|
26
26
|
display_preference: zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").optional() }).describe("Display preference settings.").optional()
|
|
27
|
-
}).describe("Template settings item for details, policy, or additional settings.")).describe("The template policy and agreement settings.").optional()
|
|
27
|
+
}).passthrough().describe("Template settings item for details, policy, or additional settings.")).describe("The template policy and agreement settings.").optional()
|
|
28
28
|
}).describe("The template settings.").optional(),
|
|
29
29
|
template_info: zod.z.object({
|
|
30
30
|
items: zod.z.array(zod.z.object({
|
|
@@ -52,7 +52,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
|
|
|
52
52
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").optional()
|
|
53
53
|
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
54
54
|
unit_of_measure: zod.z.string().describe("The unit of measure of the item.").optional()
|
|
55
|
-
}).describe("An invoice line item.")).describe("An array of invoice line-item information.").optional(),
|
|
55
|
+
}).passthrough().describe("An invoice line item.")).describe("An array of invoice line-item information.").optional(),
|
|
56
56
|
amount: zod.z.object({
|
|
57
57
|
value: zod.z.string().describe("The total amount value.").optional(),
|
|
58
58
|
breakdown: zod.z.object({
|
|
@@ -101,7 +101,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
|
|
|
101
101
|
url: zod.z.string().describe("The URL to access the attachment.").optional(),
|
|
102
102
|
name: zod.z.string().describe("The file name of the attachment.").optional(),
|
|
103
103
|
content_type: zod.z.string().describe("The content type of the attachment.").optional()
|
|
104
|
-
}).describe("Attachment information.")).describe("The attachments for the template.").optional(),
|
|
104
|
+
}).passthrough().describe("Attachment information.")).describe("The attachments for the template.").optional(),
|
|
105
105
|
payment_term: zod.z.object({
|
|
106
106
|
due_date: zod.z.string().describe("The due date in ISO 8601 format.").optional(),
|
|
107
107
|
due_days: zod.z.number().int().describe("The number of days until the payment is due.").optional(),
|
|
@@ -141,7 +141,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
|
|
|
141
141
|
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
142
142
|
due_date: zod.z.string().describe("The due date in ISO 8601 format.").optional(),
|
|
143
143
|
term_type: zod.z.string().describe("The term type for the due date.").optional()
|
|
144
|
-
}).describe("Due date for partial payment.")).describe("The due dates for partial payment.").optional(),
|
|
144
|
+
}).passthrough().describe("Due date for partial payment.")).describe("The due dates for partial payment.").optional(),
|
|
145
145
|
term_type: zod.z.string().describe("The term type for partial payment.").optional()
|
|
146
146
|
}).describe("Partial payment configuration.").optional(),
|
|
147
147
|
has_conditional_rule: zod.z.boolean().describe("Indicates whether the template has conditional rules.").optional(),
|
|
@@ -188,7 +188,7 @@ const PaypalUpdateTemplatesInput = zod.z.object({
|
|
|
188
188
|
email_address: zod.z.string().describe("The email address of the shipping contact.").optional()
|
|
189
189
|
}).describe("Recipient shipping information.").optional(),
|
|
190
190
|
additional_info: zod.z.string().describe("Additional information for the recipient.").optional()
|
|
191
|
-
}).describe("The billing and shipping information for the recipient.")).describe("The billing and shipping information for the recipients.").optional(),
|
|
191
|
+
}).passthrough().describe("The billing and shipping information for the recipient.")).describe("The billing and shipping information for the recipients.").optional(),
|
|
192
192
|
additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC email addresses to which notifications are sent.").optional()
|
|
193
193
|
}).describe("The template details including invoicer business information, invoice recipients, items, and configuration.").optional(),
|
|
194
194
|
unit_of_measure: zod.z.enum([
|
|
@@ -203,40 +203,40 @@ const PaypalUpdateTemplates_LinkDescriptionSchema = zod.z.object({
|
|
|
203
203
|
rel: zod.z.string().describe("The link relationship type.").nullable().optional(),
|
|
204
204
|
href: zod.z.string().describe("The complete URL to the related resource.").nullable().optional(),
|
|
205
205
|
method: zod.z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
206
|
-
}).describe("HATEOAS link information.");
|
|
207
|
-
const PaypalUpdateTemplates_DisplayPreferenceSchema = zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").nullable().optional() }).describe("Display preference settings.");
|
|
206
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
207
|
+
const PaypalUpdateTemplates_DisplayPreferenceSchema = zod.z.object({ hidden: zod.z.boolean().describe("Whether the field is hidden.").nullable().optional() }).passthrough().describe("Display preference settings.");
|
|
208
208
|
const PaypalUpdateTemplates_TemplateItemSettingSchema = zod.z.object({
|
|
209
209
|
field_name: zod.z.string().describe("The field name for the display preference.").nullable().optional(),
|
|
210
210
|
display_preference: PaypalUpdateTemplates_DisplayPreferenceSchema.nullable().optional()
|
|
211
|
-
}).describe("Template item headers display preference.");
|
|
211
|
+
}).passthrough().describe("Template item headers display preference.");
|
|
212
212
|
const PaypalUpdateTemplates_TemplateSettingsItemSchema = zod.z.object({
|
|
213
213
|
field_name: zod.z.string().describe("The field name for the display preference.").nullable().optional(),
|
|
214
214
|
display_preference: PaypalUpdateTemplates_DisplayPreferenceSchema.nullable().optional()
|
|
215
|
-
}).describe("Template settings item for details, policy, or additional settings.");
|
|
215
|
+
}).passthrough().describe("Template settings item for details, policy, or additional settings.");
|
|
216
216
|
const PaypalUpdateTemplates_TemplateSubtotalSettingSchema = zod.z.object({
|
|
217
217
|
field_name: zod.z.string().describe("The field name for the display preference.").nullable().optional(),
|
|
218
218
|
display_preference: PaypalUpdateTemplates_DisplayPreferenceSchema.nullable().optional()
|
|
219
|
-
}).describe("Template subtotal headers display preference.");
|
|
219
|
+
}).passthrough().describe("Template subtotal headers display preference.");
|
|
220
220
|
const PaypalUpdateTemplates_TemplateSettingsSchema = zod.z.object({
|
|
221
221
|
template_item_settings: zod.z.array(PaypalUpdateTemplates_TemplateItemSettingSchema).describe("The template item headers display preference.").nullable().optional(),
|
|
222
222
|
template_details_settings: zod.z.array(PaypalUpdateTemplates_TemplateSettingsItemSchema).describe("The template details settings.").nullable().optional(),
|
|
223
223
|
template_subtotal_settings: zod.z.array(PaypalUpdateTemplates_TemplateSubtotalSettingSchema).describe("The template subtotal headers display preference.").nullable().optional(),
|
|
224
224
|
template_additional_settings: zod.z.array(PaypalUpdateTemplates_TemplateSettingsItemSchema).describe("The template additional settings.").nullable().optional(),
|
|
225
225
|
template_policy_and_agreement_settings: zod.z.array(PaypalUpdateTemplates_TemplateSettingsItemSchema).describe("The template policy and agreement settings.").nullable().optional()
|
|
226
|
-
}).describe("The template settings.");
|
|
226
|
+
}).passthrough().describe("The template settings.");
|
|
227
227
|
const PaypalUpdateTemplates_MoneySchema = zod.z.object({
|
|
228
228
|
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for others.").nullable().optional(),
|
|
229
229
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable().optional()
|
|
230
|
-
}).describe("The currency and amount for a financial transaction.");
|
|
230
|
+
}).passthrough().describe("The currency and amount for a financial transaction.");
|
|
231
231
|
const PaypalUpdateTemplates_TaxAmountSchema = zod.z.object({
|
|
232
232
|
name: zod.z.string().describe("The name of the tax.").nullable().optional(),
|
|
233
233
|
amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
234
234
|
percentage: zod.z.string().describe("The tax percentage.").nullable().optional()
|
|
235
|
-
}).describe("Tax amount information for an invoice item.");
|
|
235
|
+
}).passthrough().describe("Tax amount information for an invoice item.");
|
|
236
236
|
const PaypalUpdateTemplates_InvoiceItemDiscountSchema = zod.z.object({
|
|
237
237
|
amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
238
238
|
percentage: zod.z.string().describe("The discount percentage.").nullable().optional()
|
|
239
|
-
}).describe("Discount information for an invoice item.");
|
|
239
|
+
}).passthrough().describe("Discount information for an invoice item.");
|
|
240
240
|
const PaypalUpdateTemplates_InvoiceItemSchema = zod.z.object({
|
|
241
241
|
tax: PaypalUpdateTemplates_TaxAmountSchema.nullable().optional(),
|
|
242
242
|
name: zod.z.string().describe("The item name. Must be 1-200 characters.").nullable().optional(),
|
|
@@ -246,23 +246,23 @@ const PaypalUpdateTemplates_InvoiceItemSchema = zod.z.object({
|
|
|
246
246
|
description: zod.z.string().describe("The item description. Must be 1-2000 characters.").nullable().optional(),
|
|
247
247
|
unit_amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
248
248
|
unit_of_measure: zod.z.string().describe("The unit of measure of the item.").nullable().optional()
|
|
249
|
-
}).describe("An invoice line item.");
|
|
249
|
+
}).passthrough().describe("An invoice line item.");
|
|
250
250
|
const PaypalUpdateTemplates_DiscountAmountSchema = zod.z.object({
|
|
251
251
|
amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
252
252
|
percentage: zod.z.string().describe("The discount percentage.").nullable().optional()
|
|
253
|
-
}).describe("The discount amount information.");
|
|
253
|
+
}).passthrough().describe("The discount amount information.");
|
|
254
254
|
const PaypalUpdateTemplates_AmountBreakdownSchema = zod.z.object({
|
|
255
255
|
custom: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
256
256
|
discount: PaypalUpdateTemplates_DiscountAmountSchema.nullable().optional(),
|
|
257
257
|
shipping: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
258
258
|
tax_total: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
259
259
|
item_total: PaypalUpdateTemplates_MoneySchema.nullable().optional()
|
|
260
|
-
}).describe("The breakdown of the amount.");
|
|
260
|
+
}).passthrough().describe("The breakdown of the amount.");
|
|
261
261
|
const PaypalUpdateTemplates_InvoiceAmountSummarySchema = zod.z.object({
|
|
262
262
|
value: zod.z.string().describe("The total amount value.").nullable().optional(),
|
|
263
263
|
breakdown: PaypalUpdateTemplates_AmountBreakdownSchema.nullable().optional(),
|
|
264
264
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable().optional()
|
|
265
|
-
}).describe("The invoice amount summary.");
|
|
265
|
+
}).passthrough().describe("The invoice amount summary.");
|
|
266
266
|
const PaypalUpdateTemplates_TemplateMetadataSchema = zod.z.object({
|
|
267
267
|
create_time: zod.z.string().describe("The template creation time in ISO 8601 format.").nullable().optional(),
|
|
268
268
|
update_time: zod.z.string().describe("The template update time in ISO 8601 format.").nullable().optional(),
|
|
@@ -272,18 +272,18 @@ const PaypalUpdateTemplates_TemplateMetadataSchema = zod.z.object({
|
|
|
272
272
|
is_customer_supplied: zod.z.boolean().describe("Indicates whether the customer supplied the template.").nullable().optional(),
|
|
273
273
|
recipient_created_time: zod.z.string().describe("The recipient created time in ISO 8601 format.").nullable().optional(),
|
|
274
274
|
recipient_modified_time: zod.z.string().describe("The recipient modified time in ISO 8601 format.").nullable().optional()
|
|
275
|
-
}).describe("Template metadata.");
|
|
275
|
+
}).passthrough().describe("Template metadata.");
|
|
276
276
|
const PaypalUpdateTemplates_AttachmentSchema = zod.z.object({
|
|
277
277
|
id: zod.z.string().describe("The attachment ID.").nullable().optional(),
|
|
278
278
|
url: zod.z.string().describe("The URL to access the attachment.").nullable().optional(),
|
|
279
279
|
name: zod.z.string().describe("The file name of the attachment.").nullable().optional(),
|
|
280
280
|
content_type: zod.z.string().describe("The content type of the attachment.").nullable().optional()
|
|
281
|
-
}).describe("Attachment information.");
|
|
281
|
+
}).passthrough().describe("Attachment information.");
|
|
282
282
|
const PaypalUpdateTemplates_PaymentTermSchema = zod.z.object({
|
|
283
283
|
due_date: zod.z.string().describe("The due date in ISO 8601 format.").nullable().optional(),
|
|
284
284
|
due_days: zod.z.number().int().describe("The number of days until the payment is due.").nullable().optional(),
|
|
285
285
|
term_type: zod.z.string().describe("The term type for payment.").nullable().optional()
|
|
286
|
-
}).describe("Payment term configuration.");
|
|
286
|
+
}).passthrough().describe("Payment term configuration.");
|
|
287
287
|
const PaypalUpdateTemplates_TemplateDetailSchema = zod.z.object({
|
|
288
288
|
memo: zod.z.string().describe("A memo for the invoice. Must be 1-1000 characters.").nullable().optional(),
|
|
289
289
|
note: zod.z.string().describe("A note to the payer. Must be 1-1000 characters.").nullable().optional(),
|
|
@@ -293,16 +293,16 @@ const PaypalUpdateTemplates_TemplateDetailSchema = zod.z.object({
|
|
|
293
293
|
payment_term: PaypalUpdateTemplates_PaymentTermSchema.nullable().optional(),
|
|
294
294
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code for the invoice.").nullable().optional(),
|
|
295
295
|
terms_and_conditions: zod.z.string().describe("The terms of the invoice. Must be 1-1000 characters.").nullable().optional()
|
|
296
|
-
}).describe("The template-related details.");
|
|
296
|
+
}).passthrough().describe("The template-related details.");
|
|
297
297
|
const PaypalUpdateTemplates_InvoicerNameSchema = zod.z.object({
|
|
298
298
|
surname: zod.z.string().describe("The surname of the invoicer.").nullable().optional(),
|
|
299
299
|
full_name: zod.z.string().describe("The full name of the invoicer.").nullable().optional(),
|
|
300
300
|
given_name: zod.z.string().describe("The given name of the invoicer.").nullable().optional()
|
|
301
|
-
}).describe("Invoicer name information.");
|
|
301
|
+
}).passthrough().describe("Invoicer name information.");
|
|
302
302
|
const PaypalUpdateTemplates_InvoicerPhoneSchema = zod.z.object({
|
|
303
303
|
country_code: zod.z.string().describe("The country code for the phone number.").nullable().optional(),
|
|
304
304
|
national_number: zod.z.string().describe("The national number for the phone number.").nullable().optional()
|
|
305
|
-
}).describe("Invoicer phone information.");
|
|
305
|
+
}).passthrough().describe("Invoicer phone information.");
|
|
306
306
|
const PaypalUpdateTemplates_InvoicerInfoSchema = zod.z.object({
|
|
307
307
|
name: PaypalUpdateTemplates_InvoicerNameSchema.nullable().optional(),
|
|
308
308
|
phone: PaypalUpdateTemplates_InvoicerPhoneSchema.nullable().optional(),
|
|
@@ -311,27 +311,27 @@ const PaypalUpdateTemplates_InvoicerInfoSchema = zod.z.object({
|
|
|
311
311
|
logo_url: zod.z.string().describe("The URL to the logo image for the invoicer.").nullable().optional(),
|
|
312
312
|
email_address: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
|
|
313
313
|
additional_notes: zod.z.string().describe("Additional notes for the invoicer.").nullable().optional()
|
|
314
|
-
}).describe("The invoicer business information that appears on the invoice.");
|
|
314
|
+
}).passthrough().describe("The invoicer business information that appears on the invoice.");
|
|
315
315
|
const PaypalUpdateTemplates_DueDateSchema = zod.z.object({
|
|
316
316
|
amount: PaypalUpdateTemplates_MoneySchema.nullable().optional(),
|
|
317
317
|
due_date: zod.z.string().describe("The due date in ISO 8601 format.").nullable().optional(),
|
|
318
318
|
term_type: zod.z.string().describe("The term type for the due date.").nullable().optional()
|
|
319
|
-
}).describe("Due date for partial payment.");
|
|
319
|
+
}).passthrough().describe("Due date for partial payment.");
|
|
320
320
|
const PaypalUpdateTemplates_PartialPaymentSchema = zod.z.object({
|
|
321
321
|
due_dates: zod.z.array(PaypalUpdateTemplates_DueDateSchema).describe("The due dates for partial payment.").nullable().optional(),
|
|
322
322
|
term_type: zod.z.string().describe("The term type for partial payment.").nullable().optional()
|
|
323
|
-
}).describe("Partial payment configuration.");
|
|
323
|
+
}).passthrough().describe("Partial payment configuration.");
|
|
324
324
|
const PaypalUpdateTemplates_TemplateConfigurationSchema = zod.z.object({
|
|
325
325
|
allow_tip: zod.z.boolean().describe("Indicates whether the tip is allowed.").nullable().optional(),
|
|
326
326
|
tax_inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive.").nullable().optional(),
|
|
327
327
|
partial_payment: PaypalUpdateTemplates_PartialPaymentSchema.nullable().optional(),
|
|
328
328
|
has_conditional_rule: zod.z.boolean().describe("Indicates whether the template has conditional rules.").nullable().optional(),
|
|
329
329
|
tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether the tax is calculated after discount.").nullable().optional()
|
|
330
|
-
}).describe("The template configuration details.");
|
|
330
|
+
}).passthrough().describe("The template configuration details.");
|
|
331
331
|
const PaypalUpdateTemplates_RecipientPhoneSchema = zod.z.object({
|
|
332
332
|
country_code: zod.z.string().describe("The country code for the phone number.").nullable().optional(),
|
|
333
333
|
national_number: zod.z.string().describe("The national number for the phone number.").nullable().optional()
|
|
334
|
-
}).describe("Recipient phone information.");
|
|
334
|
+
}).passthrough().describe("Recipient phone information.");
|
|
335
335
|
const PaypalUpdateTemplates_RecipientAddressSchema = zod.z.object({
|
|
336
336
|
postal_code: zod.z.string().describe("The postal code.").nullable().optional(),
|
|
337
337
|
admin_area_1: zod.z.string().describe("The state or province.").nullable().optional(),
|
|
@@ -340,7 +340,7 @@ const PaypalUpdateTemplates_RecipientAddressSchema = zod.z.object({
|
|
|
340
340
|
address_line_1: zod.z.string().describe("The first line of the address.").nullable().optional(),
|
|
341
341
|
address_line_2: zod.z.string().describe("The second line of the address.").nullable().optional(),
|
|
342
342
|
address_line_3: zod.z.string().describe("The third line of the address.").nullable().optional()
|
|
343
|
-
}).describe("Recipient address information.");
|
|
343
|
+
}).passthrough().describe("Recipient address information.");
|
|
344
344
|
const PaypalUpdateTemplates_RecipientBillingInfoSchema = zod.z.object({
|
|
345
345
|
phone: PaypalUpdateTemplates_RecipientPhoneSchema.nullable().optional(),
|
|
346
346
|
address: PaypalUpdateTemplates_RecipientAddressSchema.nullable().optional(),
|
|
@@ -348,7 +348,7 @@ const PaypalUpdateTemplates_RecipientBillingInfoSchema = zod.z.object({
|
|
|
348
348
|
first_name: zod.z.string().describe("The first name of the billing contact.").nullable().optional(),
|
|
349
349
|
business_name: zod.z.string().describe("The business name of the billing contact.").nullable().optional(),
|
|
350
350
|
email_address: zod.z.string().describe("The email address of the billing contact.").nullable().optional()
|
|
351
|
-
}).describe("Recipient billing information.");
|
|
351
|
+
}).passthrough().describe("Recipient billing information.");
|
|
352
352
|
const PaypalUpdateTemplates_RecipientShippingInfoSchema = zod.z.object({
|
|
353
353
|
phone: PaypalUpdateTemplates_RecipientPhoneSchema.nullable().optional(),
|
|
354
354
|
address: PaypalUpdateTemplates_RecipientAddressSchema.nullable().optional(),
|
|
@@ -356,13 +356,13 @@ const PaypalUpdateTemplates_RecipientShippingInfoSchema = zod.z.object({
|
|
|
356
356
|
first_name: zod.z.string().describe("The first name of the shipping contact.").nullable().optional(),
|
|
357
357
|
business_name: zod.z.string().describe("The business name of the shipping contact.").nullable().optional(),
|
|
358
358
|
email_address: zod.z.string().describe("The email address of the shipping contact.").nullable().optional()
|
|
359
|
-
}).describe("Recipient shipping information.");
|
|
359
|
+
}).passthrough().describe("Recipient shipping information.");
|
|
360
360
|
const PaypalUpdateTemplates_RecipientInfoSchema = zod.z.object({
|
|
361
361
|
language: zod.z.string().describe("The language for the recipient.").nullable().optional(),
|
|
362
362
|
billing_info: PaypalUpdateTemplates_RecipientBillingInfoSchema.nullable().optional(),
|
|
363
363
|
shipping_info: PaypalUpdateTemplates_RecipientShippingInfoSchema.nullable().optional(),
|
|
364
364
|
additional_info: zod.z.string().describe("Additional information for the recipient.").nullable().optional()
|
|
365
|
-
}).describe("The billing and shipping information for the recipient.");
|
|
365
|
+
}).passthrough().describe("The billing and shipping information for the recipient.");
|
|
366
366
|
const PaypalUpdateTemplates_TemplateInfoSchema = zod.z.object({
|
|
367
367
|
items: zod.z.array(PaypalUpdateTemplates_InvoiceItemSchema).describe("An array of invoice line-item information.").nullable().optional(),
|
|
368
368
|
amount: PaypalUpdateTemplates_InvoiceAmountSummarySchema.nullable().optional(),
|
|
@@ -372,7 +372,7 @@ const PaypalUpdateTemplates_TemplateInfoSchema = zod.z.object({
|
|
|
372
372
|
configuration: PaypalUpdateTemplates_TemplateConfigurationSchema.nullable().optional(),
|
|
373
373
|
primary_recipients: zod.z.array(PaypalUpdateTemplates_RecipientInfoSchema).describe("The billing and shipping information for the recipients.").nullable().optional(),
|
|
374
374
|
additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC email addresses to which notifications are sent.").nullable().optional()
|
|
375
|
-
}).describe("The template details including invoicer business information, invoice recipients, items, and configuration.");
|
|
375
|
+
}).passthrough().describe("The template details including invoicer business information, invoice recipients, items, and configuration.");
|
|
376
376
|
const PaypalUpdateTemplates_UnitOfMeasureSchema = zod.z.enum([
|
|
377
377
|
"QUANTITY",
|
|
378
378
|
"HOURS",
|
|
@@ -389,7 +389,7 @@ const PaypalUpdateTemplatesOutput = zod.z.object({
|
|
|
389
389
|
unit_of_measure: PaypalUpdateTemplates_UnitOfMeasureSchema.nullable().optional(),
|
|
390
390
|
default_template: zod.z.boolean().describe("Indicates whether this template is the default template.").nullable().optional(),
|
|
391
391
|
standard_template: zod.z.boolean().describe("Indicates whether this template is a invoicer-created custom template.").nullable().optional()
|
|
392
|
-
}).describe("Response schema for an updated PayPal invoice template.");
|
|
392
|
+
}).passthrough().describe("Response schema for an updated PayPal invoice template.");
|
|
393
393
|
const paypalUpdateTemplates = require_action.action("PAYPAL_UPDATE_TEMPLATES", {
|
|
394
394
|
slug: "paypal-update-templates",
|
|
395
395
|
name: "Update template",
|