@keystrokehq/paypal 0.1.0
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/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/activate-plan.cjs +19 -0
- package/dist/actions/activate-plan.cjs.map +1 -0
- package/dist/actions/activate-plan.d.cts +9 -0
- package/dist/actions/activate-plan.d.cts.map +1 -0
- package/dist/actions/activate-plan.d.mts +9 -0
- package/dist/actions/activate-plan.d.mts.map +1 -0
- package/dist/actions/activate-plan.mjs +16 -0
- package/dist/actions/activate-plan.mjs.map +1 -0
- package/dist/actions/add-batch-trackers.cjs +62 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -0
- package/dist/actions/add-batch-trackers.d.cts +9 -0
- package/dist/actions/add-batch-trackers.d.cts.map +1 -0
- package/dist/actions/add-batch-trackers.d.mts +9 -0
- package/dist/actions/add-batch-trackers.d.mts.map +1 -0
- package/dist/actions/add-batch-trackers.mjs +61 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -0
- package/dist/actions/authorize-order.cjs +101 -0
- package/dist/actions/authorize-order.cjs.map +1 -0
- package/dist/actions/authorize-order.d.cts +9 -0
- package/dist/actions/authorize-order.d.cts.map +1 -0
- package/dist/actions/authorize-order.d.mts +9 -0
- package/dist/actions/authorize-order.d.mts.map +1 -0
- package/dist/actions/authorize-order.mjs +100 -0
- package/dist/actions/authorize-order.mjs.map +1 -0
- package/dist/actions/cancel-invoice.cjs +44 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -0
- package/dist/actions/cancel-invoice.d.cts +9 -0
- package/dist/actions/cancel-invoice.d.cts.map +1 -0
- package/dist/actions/cancel-invoice.d.mts +9 -0
- package/dist/actions/cancel-invoice.d.mts.map +1 -0
- package/dist/actions/cancel-invoice.mjs +43 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -0
- package/dist/actions/cancel-reminders.cjs +36 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -0
- package/dist/actions/cancel-reminders.d.cts +9 -0
- package/dist/actions/cancel-reminders.d.cts.map +1 -0
- package/dist/actions/cancel-reminders.d.mts +9 -0
- package/dist/actions/cancel-reminders.d.mts.map +1 -0
- package/dist/actions/cancel-reminders.mjs +35 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -0
- package/dist/actions/capture-subscription-payment.cjs +79 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -0
- package/dist/actions/capture-subscription-payment.d.cts +9 -0
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -0
- package/dist/actions/capture-subscription-payment.d.mts +9 -0
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -0
- package/dist/actions/capture-subscription-payment.mjs +78 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -0
- package/dist/actions/charge-payment-method.cjs +58 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -0
- package/dist/actions/charge-payment-method.d.cts +9 -0
- package/dist/actions/charge-payment-method.d.cts.map +1 -0
- package/dist/actions/charge-payment-method.d.mts +9 -0
- package/dist/actions/charge-payment-method.d.mts.map +1 -0
- package/dist/actions/charge-payment-method.mjs +55 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -0
- package/dist/actions/create-invoice.cjs +294 -0
- package/dist/actions/create-invoice.cjs.map +1 -0
- package/dist/actions/create-invoice.d.cts +9 -0
- package/dist/actions/create-invoice.d.cts.map +1 -0
- package/dist/actions/create-invoice.d.mts +9 -0
- package/dist/actions/create-invoice.d.mts.map +1 -0
- package/dist/actions/create-invoice.mjs +293 -0
- package/dist/actions/create-invoice.mjs.map +1 -0
- package/dist/actions/create-payment.cjs +178 -0
- package/dist/actions/create-payment.cjs.map +1 -0
- package/dist/actions/create-payment.d.cts +9 -0
- package/dist/actions/create-payment.d.cts.map +1 -0
- package/dist/actions/create-payment.d.mts +9 -0
- package/dist/actions/create-payment.d.mts.map +1 -0
- package/dist/actions/create-payment.mjs +177 -0
- package/dist/actions/create-payment.mjs.map +1 -0
- package/dist/actions/create-payments-billing-plans.cjs +111 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -0
- package/dist/actions/create-payments-billing-plans.d.cts +9 -0
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -0
- package/dist/actions/create-payments-billing-plans.d.mts +9 -0
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -0
- package/dist/actions/create-payments-billing-plans.mjs +110 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -0
- package/dist/actions/create-plan.cjs +119 -0
- package/dist/actions/create-plan.cjs.map +1 -0
- package/dist/actions/create-plan.d.cts +9 -0
- package/dist/actions/create-plan.d.cts.map +1 -0
- package/dist/actions/create-plan.d.mts +9 -0
- package/dist/actions/create-plan.d.mts.map +1 -0
- package/dist/actions/create-plan.mjs +118 -0
- package/dist/actions/create-plan.mjs.map +1 -0
- package/dist/actions/create-product.cjs +190 -0
- package/dist/actions/create-product.cjs.map +1 -0
- package/dist/actions/create-product.d.cts +9 -0
- package/dist/actions/create-product.d.cts.map +1 -0
- package/dist/actions/create-product.d.mts +9 -0
- package/dist/actions/create-product.d.mts.map +1 -0
- package/dist/actions/create-product.mjs +189 -0
- package/dist/actions/create-product.mjs.map +1 -0
- package/dist/actions/create-subscription.cjs +183 -0
- package/dist/actions/create-subscription.cjs.map +1 -0
- package/dist/actions/create-subscription.d.cts +9 -0
- package/dist/actions/create-subscription.d.cts.map +1 -0
- package/dist/actions/create-subscription.d.mts +9 -0
- package/dist/actions/create-subscription.d.mts.map +1 -0
- package/dist/actions/create-subscription.mjs +182 -0
- package/dist/actions/create-subscription.mjs.map +1 -0
- package/dist/actions/create-template.cjs +234 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +233 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-web-profile.cjs +66 -0
- package/dist/actions/create-web-profile.cjs.map +1 -0
- package/dist/actions/create-web-profile.d.cts +9 -0
- package/dist/actions/create-web-profile.d.cts.map +1 -0
- package/dist/actions/create-web-profile.d.mts +9 -0
- package/dist/actions/create-web-profile.d.mts.map +1 -0
- package/dist/actions/create-web-profile.mjs +65 -0
- package/dist/actions/create-web-profile.mjs.map +1 -0
- package/dist/actions/create-webhook-lookup.cjs +25 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -0
- package/dist/actions/create-webhook-lookup.d.cts +9 -0
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -0
- package/dist/actions/create-webhook-lookup.d.mts +9 -0
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -0
- package/dist/actions/create-webhook-lookup.mjs +24 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +39 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +38 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/deactivate-plan.cjs +19 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -0
- package/dist/actions/deactivate-plan.d.cts +9 -0
- package/dist/actions/deactivate-plan.d.cts.map +1 -0
- package/dist/actions/deactivate-plan.d.mts +9 -0
- package/dist/actions/deactivate-plan.d.mts.map +1 -0
- package/dist/actions/deactivate-plan.mjs +16 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -0
- package/dist/actions/delete-external-payment.cjs +23 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -0
- package/dist/actions/delete-external-payment.d.cts +9 -0
- package/dist/actions/delete-external-payment.d.cts.map +1 -0
- package/dist/actions/delete-external-payment.d.mts +9 -0
- package/dist/actions/delete-external-payment.d.mts.map +1 -0
- package/dist/actions/delete-external-payment.mjs +20 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs +23 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -0
- package/dist/actions/delete-invoice-payment-record.d.cts +9 -0
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -0
- package/dist/actions/delete-invoice-payment-record.d.mts +9 -0
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs +20 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs +22 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -0
- package/dist/actions/delete-invoice-refund-record.d.cts +9 -0
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -0
- package/dist/actions/delete-invoice-refund-record.d.mts +9 -0
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs +19 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -0
- package/dist/actions/delete-invoice.cjs +36 -0
- package/dist/actions/delete-invoice.cjs.map +1 -0
- package/dist/actions/delete-invoice.d.cts +9 -0
- package/dist/actions/delete-invoice.d.cts.map +1 -0
- package/dist/actions/delete-invoice.d.mts +9 -0
- package/dist/actions/delete-invoice.d.mts.map +1 -0
- package/dist/actions/delete-invoice.mjs +35 -0
- package/dist/actions/delete-invoice.mjs.map +1 -0
- package/dist/actions/delete-payment-resource.cjs +19 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -0
- package/dist/actions/delete-payment-resource.d.cts +9 -0
- package/dist/actions/delete-payment-resource.d.cts.map +1 -0
- package/dist/actions/delete-payment-resource.d.mts +9 -0
- package/dist/actions/delete-payment-resource.d.mts.map +1 -0
- package/dist/actions/delete-payment-resource.mjs +16 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +36 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +35 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/delete-web-profile.cjs +19 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -0
- package/dist/actions/delete-web-profile.d.cts +9 -0
- package/dist/actions/delete-web-profile.d.cts.map +1 -0
- package/dist/actions/delete-web-profile.d.mts +9 -0
- package/dist/actions/delete-web-profile.d.mts.map +1 -0
- package/dist/actions/delete-web-profile.mjs +16 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +35 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +34 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/fetch-node.cjs +30 -0
- package/dist/actions/fetch-node.cjs.map +1 -0
- package/dist/actions/fetch-node.d.cts +9 -0
- package/dist/actions/fetch-node.d.cts.map +1 -0
- package/dist/actions/fetch-node.d.mts +9 -0
- package/dist/actions/fetch-node.d.mts.map +1 -0
- package/dist/actions/fetch-node.mjs +29 -0
- package/dist/actions/fetch-node.mjs.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +21 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +9 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +9 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +20 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -0
- package/dist/actions/find-eligible-methods.cjs +87 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -0
- package/dist/actions/find-eligible-methods.d.cts +9 -0
- package/dist/actions/find-eligible-methods.d.cts.map +1 -0
- package/dist/actions/find-eligible-methods.d.mts +9 -0
- package/dist/actions/find-eligible-methods.d.mts.map +1 -0
- package/dist/actions/find-eligible-methods.mjs +86 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -0
- package/dist/actions/generate-client-token.cjs +20 -0
- package/dist/actions/generate-client-token.cjs.map +1 -0
- package/dist/actions/generate-client-token.d.cts +9 -0
- package/dist/actions/generate-client-token.d.cts.map +1 -0
- package/dist/actions/generate-client-token.d.mts +9 -0
- package/dist/actions/generate-client-token.d.mts.map +1 -0
- package/dist/actions/generate-client-token.mjs +17 -0
- package/dist/actions/generate-client-token.mjs.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs +19 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.d.cts +9 -0
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.d.mts +9 -0
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs +16 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -0
- package/dist/actions/generate-next-invoice-number.cjs +16 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -0
- package/dist/actions/generate-next-invoice-number.d.cts +9 -0
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -0
- package/dist/actions/generate-next-invoice-number.d.mts +9 -0
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -0
- package/dist/actions/generate-next-invoice-number.mjs +13 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -0
- package/dist/actions/generate-qr-code.cjs +46 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -0
- package/dist/actions/generate-qr-code.d.cts +9 -0
- package/dist/actions/generate-qr-code.d.cts.map +1 -0
- package/dist/actions/generate-qr-code.d.mts +9 -0
- package/dist/actions/generate-qr-code.d.mts.map +1 -0
- package/dist/actions/generate-qr-code.mjs +45 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -0
- package/dist/actions/get-billing-subscriptions.cjs +98 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -0
- package/dist/actions/get-billing-subscriptions.d.cts +9 -0
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -0
- package/dist/actions/get-billing-subscriptions.d.mts +9 -0
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -0
- package/dist/actions/get-billing-subscriptions.mjs +97 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +159 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +158 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +29 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +9 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +9 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +28 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -0
- package/dist/actions/get-invoicing-template.cjs +136 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -0
- package/dist/actions/get-invoicing-template.d.cts +9 -0
- package/dist/actions/get-invoicing-template.d.cts.map +1 -0
- package/dist/actions/get-invoicing-template.d.mts +9 -0
- package/dist/actions/get-invoicing-template.d.mts.map +1 -0
- package/dist/actions/get-invoicing-template.mjs +135 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -0
- package/dist/actions/get-order.cjs +112 -0
- package/dist/actions/get-order.cjs.map +1 -0
- package/dist/actions/get-order.d.cts +9 -0
- package/dist/actions/get-order.d.cts.map +1 -0
- package/dist/actions/get-order.d.mts +9 -0
- package/dist/actions/get-order.d.mts.map +1 -0
- package/dist/actions/get-order.mjs +111 -0
- package/dist/actions/get-order.mjs.map +1 -0
- package/dist/actions/get-payment.cjs +98 -0
- package/dist/actions/get-payment.cjs.map +1 -0
- package/dist/actions/get-payment.d.cts +9 -0
- package/dist/actions/get-payment.d.cts.map +1 -0
- package/dist/actions/get-payment.d.mts +9 -0
- package/dist/actions/get-payment.d.mts.map +1 -0
- package/dist/actions/get-payment.mjs +97 -0
- package/dist/actions/get-payment.mjs.map +1 -0
- package/dist/actions/get-payments-refund.cjs +37 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -0
- package/dist/actions/get-payments-refund.d.cts +9 -0
- package/dist/actions/get-payments-refund.d.cts.map +1 -0
- package/dist/actions/get-payments-refund.d.mts +9 -0
- package/dist/actions/get-payments-refund.d.mts.map +1 -0
- package/dist/actions/get-payments-refund.mjs +36 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -0
- package/dist/actions/get-plan.cjs +69 -0
- package/dist/actions/get-plan.cjs.map +1 -0
- package/dist/actions/get-plan.d.cts +9 -0
- package/dist/actions/get-plan.d.cts.map +1 -0
- package/dist/actions/get-plan.d.mts +9 -0
- package/dist/actions/get-plan.d.mts.map +1 -0
- package/dist/actions/get-plan.mjs +68 -0
- package/dist/actions/get-plan.mjs.map +1 -0
- package/dist/actions/get-product.cjs +32 -0
- package/dist/actions/get-product.cjs.map +1 -0
- package/dist/actions/get-product.d.cts +9 -0
- package/dist/actions/get-product.d.cts.map +1 -0
- package/dist/actions/get-product.d.mts +9 -0
- package/dist/actions/get-product.d.mts.map +1 -0
- package/dist/actions/get-product.mjs +31 -0
- package/dist/actions/get-product.mjs.map +1 -0
- package/dist/actions/get-subscription.cjs +88 -0
- package/dist/actions/get-subscription.cjs.map +1 -0
- package/dist/actions/get-subscription.d.cts +9 -0
- package/dist/actions/get-subscription.d.cts.map +1 -0
- package/dist/actions/get-subscription.d.mts +9 -0
- package/dist/actions/get-subscription.d.mts.map +1 -0
- package/dist/actions/get-subscription.mjs +87 -0
- package/dist/actions/get-subscription.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +43 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +42 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/get-userinfo.cjs +55 -0
- package/dist/actions/get-userinfo.cjs.map +1 -0
- package/dist/actions/get-userinfo.d.cts +9 -0
- package/dist/actions/get-userinfo.d.cts.map +1 -0
- package/dist/actions/get-userinfo.d.mts +9 -0
- package/dist/actions/get-userinfo.d.mts.map +1 -0
- package/dist/actions/get-userinfo.mjs +54 -0
- package/dist/actions/get-userinfo.mjs.map +1 -0
- package/dist/actions/get-web-profile.cjs +38 -0
- package/dist/actions/get-web-profile.cjs.map +1 -0
- package/dist/actions/get-web-profile.d.cts +9 -0
- package/dist/actions/get-web-profile.d.cts.map +1 -0
- package/dist/actions/get-web-profile.d.mts +9 -0
- package/dist/actions/get-web-profile.d.mts.map +1 -0
- package/dist/actions/get-web-profile.mjs +37 -0
- package/dist/actions/get-web-profile.mjs.map +1 -0
- package/dist/actions/get-webhook-lookup.cjs +25 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -0
- package/dist/actions/get-webhook-lookup.d.cts +9 -0
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -0
- package/dist/actions/get-webhook-lookup.d.mts +9 -0
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -0
- package/dist/actions/get-webhook-lookup.mjs +24 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -0
- package/dist/actions/get-webhook.cjs +33 -0
- package/dist/actions/get-webhook.cjs.map +1 -0
- package/dist/actions/get-webhook.d.cts +9 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +9 -0
- package/dist/actions/get-webhook.d.mts.map +1 -0
- package/dist/actions/get-webhook.mjs +32 -0
- package/dist/actions/get-webhook.mjs.map +1 -0
- package/dist/actions/index.cjs +157 -0
- package/dist/actions/index.d.cts +79 -0
- package/dist/actions/index.d.mts +79 -0
- package/dist/actions/index.mjs +79 -0
- package/dist/actions/list-disputes.cjs +62 -0
- package/dist/actions/list-disputes.cjs.map +1 -0
- package/dist/actions/list-disputes.d.cts +9 -0
- package/dist/actions/list-disputes.d.cts.map +1 -0
- package/dist/actions/list-disputes.d.mts +9 -0
- package/dist/actions/list-disputes.d.mts.map +1 -0
- package/dist/actions/list-disputes.mjs +61 -0
- package/dist/actions/list-disputes.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +81 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +80 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs +87 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -0
- package/dist/actions/list-legacy-billing-plans.d.cts +9 -0
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -0
- package/dist/actions/list-legacy-billing-plans.d.mts +9 -0
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs +86 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -0
- package/dist/actions/list-payments.cjs +112 -0
- package/dist/actions/list-payments.cjs.map +1 -0
- package/dist/actions/list-payments.d.cts +9 -0
- package/dist/actions/list-payments.d.cts.map +1 -0
- package/dist/actions/list-payments.d.mts +9 -0
- package/dist/actions/list-payments.d.mts.map +1 -0
- package/dist/actions/list-payments.mjs +111 -0
- package/dist/actions/list-payments.mjs.map +1 -0
- package/dist/actions/list-plans.cjs +66 -0
- package/dist/actions/list-plans.cjs.map +1 -0
- package/dist/actions/list-plans.d.cts +9 -0
- package/dist/actions/list-plans.d.cts.map +1 -0
- package/dist/actions/list-plans.d.mts +9 -0
- package/dist/actions/list-plans.d.mts.map +1 -0
- package/dist/actions/list-plans.mjs +65 -0
- package/dist/actions/list-plans.mjs.map +1 -0
- package/dist/actions/list-products.cjs +37 -0
- package/dist/actions/list-products.cjs.map +1 -0
- package/dist/actions/list-products.d.cts +9 -0
- package/dist/actions/list-products.d.cts.map +1 -0
- package/dist/actions/list-products.d.mts +9 -0
- package/dist/actions/list-products.d.mts.map +1 -0
- package/dist/actions/list-products.mjs +36 -0
- package/dist/actions/list-products.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +74 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +73 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-web-profiles.cjs +48 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -0
- package/dist/actions/list-web-profiles.d.cts +9 -0
- package/dist/actions/list-web-profiles.d.cts.map +1 -0
- package/dist/actions/list-web-profiles.d.mts +9 -0
- package/dist/actions/list-web-profiles.d.mts.map +1 -0
- package/dist/actions/list-web-profiles.mjs +47 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +23 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +9 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +9 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +22 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -0
- package/dist/actions/list-webhook-event-types.cjs +23 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -0
- package/dist/actions/list-webhook-event-types.d.cts +9 -0
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -0
- package/dist/actions/list-webhook-event-types.d.mts +9 -0
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -0
- package/dist/actions/list-webhook-event-types.mjs +22 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -0
- package/dist/actions/list-webhook-lookups.cjs +26 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -0
- package/dist/actions/list-webhook-lookups.d.cts +9 -0
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -0
- package/dist/actions/list-webhook-lookups.d.mts +9 -0
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -0
- package/dist/actions/list-webhook-lookups.mjs +25 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +31 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +30 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/patch-orders.cjs +43 -0
- package/dist/actions/patch-orders.cjs.map +1 -0
- package/dist/actions/patch-orders.d.cts +9 -0
- package/dist/actions/patch-orders.d.cts.map +1 -0
- package/dist/actions/patch-orders.d.mts +9 -0
- package/dist/actions/patch-orders.d.mts.map +1 -0
- package/dist/actions/patch-orders.mjs +40 -0
- package/dist/actions/patch-orders.mjs.map +1 -0
- package/dist/actions/patch-plan.cjs +34 -0
- package/dist/actions/patch-plan.cjs.map +1 -0
- package/dist/actions/patch-plan.d.cts +9 -0
- package/dist/actions/patch-plan.d.cts.map +1 -0
- package/dist/actions/patch-plan.d.mts +9 -0
- package/dist/actions/patch-plan.d.mts.map +1 -0
- package/dist/actions/patch-plan.mjs +31 -0
- package/dist/actions/patch-plan.mjs.map +1 -0
- package/dist/actions/patch-subscription.cjs +49 -0
- package/dist/actions/patch-subscription.cjs.map +1 -0
- package/dist/actions/patch-subscription.d.cts +9 -0
- package/dist/actions/patch-subscription.d.cts.map +1 -0
- package/dist/actions/patch-subscription.d.mts +9 -0
- package/dist/actions/patch-subscription.d.mts.map +1 -0
- package/dist/actions/patch-subscription.mjs +48 -0
- package/dist/actions/patch-subscription.mjs.map +1 -0
- package/dist/actions/patch-web-profile.cjs +41 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -0
- package/dist/actions/patch-web-profile.d.cts +9 -0
- package/dist/actions/patch-web-profile.d.cts.map +1 -0
- package/dist/actions/patch-web-profile.d.mts +9 -0
- package/dist/actions/patch-web-profile.d.mts.map +1 -0
- package/dist/actions/patch-web-profile.mjs +38 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -0
- package/dist/actions/ping-braintree.cjs +19 -0
- package/dist/actions/ping-braintree.cjs.map +1 -0
- package/dist/actions/ping-braintree.d.cts +9 -0
- package/dist/actions/ping-braintree.d.cts.map +1 -0
- package/dist/actions/ping-braintree.d.mts +9 -0
- package/dist/actions/ping-braintree.d.mts.map +1 -0
- package/dist/actions/ping-braintree.mjs +16 -0
- package/dist/actions/ping-braintree.mjs.map +1 -0
- package/dist/actions/query-braintree-report.cjs +39 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -0
- package/dist/actions/query-braintree-report.d.cts +9 -0
- package/dist/actions/query-braintree-report.d.cts.map +1 -0
- package/dist/actions/query-braintree-report.d.mts +9 -0
- package/dist/actions/query-braintree-report.d.mts.map +1 -0
- package/dist/actions/query-braintree-report.mjs +38 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -0
- package/dist/actions/retrieve-payment-resource.cjs +72 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -0
- package/dist/actions/retrieve-payment-resource.d.cts +9 -0
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -0
- package/dist/actions/retrieve-payment-resource.d.mts +9 -0
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -0
- package/dist/actions/retrieve-payment-resource.mjs +71 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -0
- package/dist/actions/search-invoices.cjs +120 -0
- package/dist/actions/search-invoices.cjs.map +1 -0
- package/dist/actions/search-invoices.d.cts +9 -0
- package/dist/actions/search-invoices.d.cts.map +1 -0
- package/dist/actions/search-invoices.d.mts +9 -0
- package/dist/actions/search-invoices.d.mts.map +1 -0
- package/dist/actions/search-invoices.mjs +119 -0
- package/dist/actions/search-invoices.mjs.map +1 -0
- package/dist/actions/send-invoice.cjs +37 -0
- package/dist/actions/send-invoice.cjs.map +1 -0
- package/dist/actions/send-invoice.d.cts +9 -0
- package/dist/actions/send-invoice.d.cts.map +1 -0
- package/dist/actions/send-invoice.d.mts +9 -0
- package/dist/actions/send-invoice.d.mts.map +1 -0
- package/dist/actions/send-invoice.mjs +36 -0
- package/dist/actions/send-invoice.mjs.map +1 -0
- package/dist/actions/simulate-webhook-event.cjs +52 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -0
- package/dist/actions/simulate-webhook-event.d.cts +9 -0
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -0
- package/dist/actions/simulate-webhook-event.d.mts +9 -0
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -0
- package/dist/actions/simulate-webhook-event.mjs +51 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -0
- package/dist/actions/update-dispute.cjs +45 -0
- package/dist/actions/update-dispute.cjs.map +1 -0
- package/dist/actions/update-dispute.d.cts +9 -0
- package/dist/actions/update-dispute.d.cts.map +1 -0
- package/dist/actions/update-dispute.d.mts +9 -0
- package/dist/actions/update-dispute.d.mts.map +1 -0
- package/dist/actions/update-dispute.mjs +44 -0
- package/dist/actions/update-dispute.mjs.map +1 -0
- package/dist/actions/update-invoice.cjs +367 -0
- package/dist/actions/update-invoice.cjs.map +1 -0
- package/dist/actions/update-invoice.d.cts +9 -0
- package/dist/actions/update-invoice.d.cts.map +1 -0
- package/dist/actions/update-invoice.d.mts +9 -0
- package/dist/actions/update-invoice.d.mts.map +1 -0
- package/dist/actions/update-invoice.mjs +366 -0
- package/dist/actions/update-invoice.mjs.map +1 -0
- package/dist/actions/update-pay-pal-product.cjs +41 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -0
- package/dist/actions/update-pay-pal-product.d.cts +9 -0
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -0
- package/dist/actions/update-pay-pal-product.d.mts +9 -0
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -0
- package/dist/actions/update-pay-pal-product.mjs +38 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs +54 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -0
- package/dist/actions/update-pay-pal-webhook.d.cts +9 -0
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -0
- package/dist/actions/update-pay-pal-webhook.d.mts +9 -0
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs +53 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -0
- package/dist/actions/update-templates.cjs +403 -0
- package/dist/actions/update-templates.cjs.map +1 -0
- package/dist/actions/update-templates.d.cts +9 -0
- package/dist/actions/update-templates.d.cts.map +1 -0
- package/dist/actions/update-templates.d.mts +9 -0
- package/dist/actions/update-templates.d.mts.map +1 -0
- package/dist/actions/update-templates.mjs +402 -0
- package/dist/actions/update-templates.mjs.map +1 -0
- package/dist/actions/update-web-profile.cjs +50 -0
- package/dist/actions/update-web-profile.cjs.map +1 -0
- package/dist/actions/update-web-profile.d.cts +9 -0
- package/dist/actions/update-web-profile.d.cts.map +1 -0
- package/dist/actions/update-web-profile.d.mts +9 -0
- package/dist/actions/update-web-profile.d.mts.map +1 -0
- package/dist/actions/update-web-profile.mjs +49 -0
- package/dist/actions/update-web-profile.mjs.map +1 -0
- package/dist/actions/verify-payment-method.cjs +33 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -0
- package/dist/actions/verify-payment-method.d.cts +9 -0
- package/dist/actions/verify-payment-method.d.cts.map +1 -0
- package/dist/actions/verify-payment-method.d.mts +9 -0
- package/dist/actions/verify-payment-method.d.mts.map +1 -0
- package/dist/actions/verify-payment-method.mjs +32 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -0
- package/dist/actions/verify-webhook-signature.cjs +37 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -0
- package/dist/actions/verify-webhook-signature.d.cts +9 -0
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -0
- package/dist/actions/verify-webhook-signature.d.mts +9 -0
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -0
- package/dist/actions/verify-webhook-signature.mjs +34 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +162 -0
- package/dist/index.d.cts +81 -0
- package/dist/index.d.mts +81 -0
- package/dist/index.mjs +82 -0
- package/package.json +49 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/update-dispute.ts
|
|
4
|
+
const PaypalUpdateDisputeInput = z.object({
|
|
5
|
+
dispute_id: z.string().describe("The ID of the dispute to update."),
|
|
6
|
+
operations: z.array(z.object({
|
|
7
|
+
op: z.enum([
|
|
8
|
+
"add",
|
|
9
|
+
"remove",
|
|
10
|
+
"replace",
|
|
11
|
+
"move",
|
|
12
|
+
"copy",
|
|
13
|
+
"test"
|
|
14
|
+
]).describe("The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value."),
|
|
15
|
+
from: z.string().describe("The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.").optional(),
|
|
16
|
+
path: z.string().describe("The JSON Pointer to the target location in the document. Required for all operations except 'test'.").optional(),
|
|
17
|
+
value: z.unknown().describe("The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.").optional()
|
|
18
|
+
}).describe("A single JSON Patch operation to apply partial updates to a dispute.")).describe("Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.")
|
|
19
|
+
}).describe("Request to update a PayPal dispute using JSON Patch operations.");
|
|
20
|
+
const PaypalUpdateDispute_DisputeErrorDetailSchema = z.object({
|
|
21
|
+
field: z.string().describe("Field that caused the error").nullable().optional(),
|
|
22
|
+
issue: z.string().describe("Issue description").nullable().optional(),
|
|
23
|
+
value: z.string().describe("Invalid value provided").nullable().optional(),
|
|
24
|
+
location: z.string().describe("Location of the error").nullable().optional(),
|
|
25
|
+
description: z.string().describe("Error description").nullable().optional()
|
|
26
|
+
}).describe("Error detail structure for dispute error responses.");
|
|
27
|
+
const paypalUpdateDispute = action("PAYPAL_UPDATE_DISPUTE", {
|
|
28
|
+
slug: "paypal-update-dispute",
|
|
29
|
+
name: "Update Dispute",
|
|
30
|
+
description: "Partially update a PayPal dispute using JSON Patch operations. Use when you need to modify specific fields of an existing dispute such as notes, status, or other patchable properties. This action applies partial updates to the dispute using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order. The API returns HTTP 202 (Accepted) on success.",
|
|
31
|
+
input: PaypalUpdateDisputeInput,
|
|
32
|
+
output: z.object({
|
|
33
|
+
name: z.string().describe("Error name if the operation failed").nullable().optional(),
|
|
34
|
+
details: z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe("Error details if the operation failed").nullable().optional(),
|
|
35
|
+
message: z.string().describe("Status message or error description"),
|
|
36
|
+
success: z.boolean().describe("Whether the patch operation succeeded"),
|
|
37
|
+
debug_id: z.string().describe("PayPal debug ID for troubleshooting").nullable().optional(),
|
|
38
|
+
information_link: z.string().describe("Information link for detailed error documentation").nullable().optional()
|
|
39
|
+
}).describe("Response model for dispute patch operations.\n\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\nOn failure, returns the error details from PayPal API.")
|
|
40
|
+
});
|
|
41
|
+
//#endregion
|
|
42
|
+
export { paypalUpdateDispute };
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=update-dispute.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-dispute.mjs","names":[],"sources":["../../src/actions/update-dispute.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateDisputeInput: z.ZodTypeAny = z.object({\n dispute_id: z.string().describe(\"The ID of the dispute to update.\"),\n operations: z.array(z.object({\n op: z.enum([\"add\", \"remove\", \"replace\", \"move\", \"copy\", \"test\"]).describe(\"The operation to perform: 'add' inserts a value, 'remove' deletes a value, 'replace' updates an existing value, 'move' relocates a value, 'copy' duplicates a value, 'test' validates a value.\"),\n from: z.string().describe(\"The JSON Pointer from which to move the value. Required for 'move' and 'copy' operations.\").optional(),\n path: z.string().describe(\"The JSON Pointer to the target location in the document. Required for all operations except 'test'.\").optional(),\n value: z.unknown().describe(\"The value to apply. Required for 'add', 'replace', and 'test' operations. Not used for 'remove', 'copy', or 'move'. Can be a string, number, boolean, object, or array.\").optional(),\n}).describe(\"A single JSON Patch operation to apply partial updates to a dispute.\")).describe(\"Array of JSON Patch operations to apply to the dispute. Each operation is applied in order.\"),\n}).describe(\"Request to update a PayPal dispute using JSON Patch operations.\");\nconst PaypalUpdateDispute_DisputeErrorDetailSchema: z.ZodTypeAny = z.object({\n field: z.string().describe(\"Field that caused the error\").nullable().optional(),\n issue: z.string().describe(\"Issue description\").nullable().optional(),\n value: z.string().describe(\"Invalid value provided\").nullable().optional(),\n location: z.string().describe(\"Location of the error\").nullable().optional(),\n description: z.string().describe(\"Error description\").nullable().optional(),\n}).describe(\"Error detail structure for dispute error responses.\");\nexport const PaypalUpdateDisputeOutput: z.ZodTypeAny = z.object({\n name: z.string().describe(\"Error name if the operation failed\").nullable().optional(),\n details: z.array(PaypalUpdateDispute_DisputeErrorDetailSchema).describe(\"Error details if the operation failed\").nullable().optional(),\n message: z.string().describe(\"Status message or error description\"),\n success: z.boolean().describe(\"Whether the patch operation succeeded\"),\n debug_id: z.string().describe(\"PayPal debug ID for troubleshooting\").nullable().optional(),\n information_link: z.string().describe(\"Information link for detailed error documentation\").nullable().optional(),\n}).describe(\"Response model for dispute patch operations.\\n\\nOn success (HTTP 202 or 204), returns success=True with a confirmation message.\\nOn failure, returns the error details from PayPal API.\");\n\nexport const paypalUpdateDispute = action(\"PAYPAL_UPDATE_DISPUTE\", {\n slug: \"paypal-update-dispute\",\n name: \"Update Dispute\",\n description: \"Partially update a PayPal dispute using JSON Patch operations. Use when you need to modify specific fields of an existing dispute such as notes, status, or other patchable properties. This action applies partial updates to the dispute using RFC 6902 JSON Patch format. Multiple operations can be provided and will be applied in order. The API returns HTTP 202 (Accepted) on success.\",\n input: PaypalUpdateDisputeInput,\n output: PaypalUpdateDisputeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyC,EAAE,OAAO;CAC7D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC;CAClE,YAAY,EAAE,MAAM,EAAE,OAAO;EAC7B,IAAI,EAAE,KAAK;GAAC;GAAO;GAAU;GAAW;GAAQ;GAAQ;EAAM,CAAC,CAAC,CAAC,SAAS,gMAAgM;EAC1Q,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2FAA2F,CAAC,CAAC,SAAS;EAChI,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,SAAS;EAC1I,OAAO,EAAE,QAAQ,CAAC,CAAC,SAAS,yKAAyK,CAAC,CAAC,SAAS;CAClN,CAAC,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,CAAC,SAAS,6FAA6F;AAC3L,CAAC,CAAC,CAAC,SAAS,iEAAiE;AAC7E,MAAM,+CAA6D,EAAE,OAAO;CAC1E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9E,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpE,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,uBAAuB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5E,CAAC,CAAC,CAAC,SAAS,qDAAqD;AAUjE,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdqD,EAAE,OAAO;EAC9D,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpF,SAAS,EAAE,MAAM,4CAA4C,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC;EAClE,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,uCAAuC;EACrE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,qCAAqC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjH,CAAC,CAAC,CAAC,SAAS,yLAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/update-invoice.ts
|
|
4
|
+
const PaypalUpdateInvoiceInput = zod.z.object({
|
|
5
|
+
items: zod.z.array(zod.z.object({
|
|
6
|
+
id: zod.z.string().describe("The ID of the item.").optional(),
|
|
7
|
+
tax: zod.z.object({
|
|
8
|
+
id: zod.z.string().describe("The tax ID.").optional(),
|
|
9
|
+
name: zod.z.string().describe("The tax name.").optional(),
|
|
10
|
+
amount: zod.z.object({
|
|
11
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
12
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
13
|
+
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
14
|
+
percent: zod.z.string().describe("The tax percent.").optional()
|
|
15
|
+
}).describe("Tax applied to an item.").optional(),
|
|
16
|
+
name: zod.z.string().describe("The name of the item."),
|
|
17
|
+
discount: zod.z.object({
|
|
18
|
+
amount: zod.z.object({
|
|
19
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
20
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
21
|
+
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
22
|
+
percent: zod.z.string().describe("The discount percent.").optional()
|
|
23
|
+
}).describe("Discount applied to an item.").optional(),
|
|
24
|
+
quantity: zod.z.string().describe("The quantity of the item."),
|
|
25
|
+
item_date: zod.z.string().describe("The date of the item. The date format is YYYY-MM-DD.").optional(),
|
|
26
|
+
description: zod.z.string().describe("The description of the item.").optional(),
|
|
27
|
+
unit_amount: zod.z.object({
|
|
28
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
29
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
30
|
+
}).describe("The unit amount of the item."),
|
|
31
|
+
unit_of_measure: zod.z.string().describe("The unit of measure of the item.").optional()
|
|
32
|
+
}).describe("A single invoice line item.")).describe("An array of invoice line item information. The maximum items for an invoice is 100.").optional(),
|
|
33
|
+
amount: zod.z.object({
|
|
34
|
+
value: zod.z.string().describe("The value of the amount."),
|
|
35
|
+
breakdown: zod.z.object({
|
|
36
|
+
custom: zod.z.object({
|
|
37
|
+
label: zod.z.string().describe("The label for the custom amount.").optional(),
|
|
38
|
+
value: zod.z.string().describe("The value of the custom amount."),
|
|
39
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
40
|
+
}).describe("Custom amount breakdown.").optional(),
|
|
41
|
+
discount: zod.z.object({
|
|
42
|
+
value: zod.z.string().describe("The value of the discount amount."),
|
|
43
|
+
percent: zod.z.string().describe("The discount percent.").optional(),
|
|
44
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
45
|
+
}).describe("Discount amount breakdown.").optional(),
|
|
46
|
+
shipping: zod.z.object({
|
|
47
|
+
value: zod.z.string().describe("The value of the shipping amount."),
|
|
48
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
49
|
+
}).describe("Shipping cost breakdown.").optional(),
|
|
50
|
+
tax_total: zod.z.object({
|
|
51
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
52
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
53
|
+
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
54
|
+
item_total: zod.z.object({
|
|
55
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
56
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
57
|
+
}).describe("The currency and amount for a financial transaction.").optional()
|
|
58
|
+
}).describe("The breakdown of the amount.").optional(),
|
|
59
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
60
|
+
}).describe("The invoice amount summary.").optional(),
|
|
61
|
+
detail: zod.z.object({
|
|
62
|
+
memo: zod.z.string().describe("The memo text entered by the merchant.").optional(),
|
|
63
|
+
note: zod.z.string().describe("The invoice note with text. Useful for adding additional information.").optional(),
|
|
64
|
+
metadata: zod.z.object({
|
|
65
|
+
entity_id: zod.z.string().describe("The entity ID.").optional(),
|
|
66
|
+
entity_type: zod.z.string().describe("The entity type.").optional(),
|
|
67
|
+
created_date: zod.z.string().describe("The creation date.").optional(),
|
|
68
|
+
last_modified_date: zod.z.string().describe("The last modification date.").optional()
|
|
69
|
+
}).describe("The metadata of the invoice.").optional(),
|
|
70
|
+
reference: zod.z.string().describe("The reference text entered by the merchant.").optional(),
|
|
71
|
+
attachments: zod.z.array(zod.z.object({
|
|
72
|
+
id: zod.z.string().describe("The ID of the attachment.").optional(),
|
|
73
|
+
url: zod.z.string().describe("The URL of the attachment.").optional(),
|
|
74
|
+
name: zod.z.string().describe("The name of the attachment.").optional()
|
|
75
|
+
}).describe("An attachment for the invoice.")).describe("An array of attachments. The array is empty if no attachments are included.").optional(),
|
|
76
|
+
invoice_date: zod.z.string().describe("The date when the invoice was enabled. The date format is YYYY-MM-DD, such as 2018-12-15.").optional(),
|
|
77
|
+
payment_term: zod.z.object({
|
|
78
|
+
due_date: zod.z.string().describe("The due date. The date format is YYYY-MM-DD.").optional(),
|
|
79
|
+
term_type: zod.z.string().describe("The type of payment term.").optional(),
|
|
80
|
+
interval_days: zod.z.number().int().describe("The number of days until payment is due.").optional()
|
|
81
|
+
}).describe("The payment term of the invoice.").optional(),
|
|
82
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency."),
|
|
83
|
+
invoice_number: zod.z.string().describe("The invoice number. A value of manually entered or auto-generated.").optional(),
|
|
84
|
+
terms_and_conditions: zod.z.string().describe("The additional terms of the invoice.").optional()
|
|
85
|
+
}).describe("The details of the invoice. Includes invoice number, date, payment terms, and audit metadata."),
|
|
86
|
+
status: zod.z.enum([
|
|
87
|
+
"DRAFT",
|
|
88
|
+
"SENT",
|
|
89
|
+
"SCHEDULED",
|
|
90
|
+
"PAID",
|
|
91
|
+
"MARKED_AS_PAID",
|
|
92
|
+
"CANCELLED",
|
|
93
|
+
"REFUNDED",
|
|
94
|
+
"PARTIALLY_PAID",
|
|
95
|
+
"PARTIALLY_REFUNDED",
|
|
96
|
+
"MARKED_AS_REFUNDED",
|
|
97
|
+
"UNPAID",
|
|
98
|
+
"PAYMENT_PENDING",
|
|
99
|
+
"AUTO_CANCELLED",
|
|
100
|
+
"PAID_EXTERNAL",
|
|
101
|
+
"REFUNDED_EXTERNAL",
|
|
102
|
+
"SHARED"
|
|
103
|
+
]).describe("The status of an invoice.").optional(),
|
|
104
|
+
gratuity: zod.z.object({
|
|
105
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
106
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
107
|
+
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
108
|
+
invoicer: zod.z.object({
|
|
109
|
+
phones: zod.z.array(zod.z.object({
|
|
110
|
+
country_code: zod.z.string().describe("The country code.").optional(),
|
|
111
|
+
national_number: zod.z.string().describe("The national number.").optional()
|
|
112
|
+
}).describe("Phone number details.")).describe("The phone numbers.").optional(),
|
|
113
|
+
tax_id: zod.z.string().describe("The Tax ID.").optional(),
|
|
114
|
+
address: zod.z.object({
|
|
115
|
+
postal_code: zod.z.string().describe("The postal code.").optional(),
|
|
116
|
+
admin_area_1: zod.z.string().describe("The state name or code.").optional(),
|
|
117
|
+
admin_area_2: zod.z.string().describe("The city name.").optional(),
|
|
118
|
+
country_code: zod.z.string().describe("The country code.").optional(),
|
|
119
|
+
address_line_1: zod.z.string().describe("The first line of the address.").optional(),
|
|
120
|
+
address_line_2: zod.z.string().describe("The second line of the address.").optional()
|
|
121
|
+
}).describe("Address details.").optional(),
|
|
122
|
+
website: zod.z.string().describe("The website URL.").optional(),
|
|
123
|
+
logo_url: zod.z.string().describe("The logo URL.").optional(),
|
|
124
|
+
email_address: zod.z.string().describe("The email address of the invoicer.").optional(),
|
|
125
|
+
additional_notes: zod.z.string().describe("The additional notes.").optional()
|
|
126
|
+
}).describe("The invoicer business information.").optional(),
|
|
127
|
+
due_amount: zod.z.object({
|
|
128
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
129
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
130
|
+
}).describe("The currency and amount for a financial transaction.").optional(),
|
|
131
|
+
invoice_id: zod.z.string().describe("The ID of the invoice to update."),
|
|
132
|
+
configuration: zod.z.object({
|
|
133
|
+
allow_tip: zod.z.boolean().describe("Indicates whether the customer can add a tip.").optional(),
|
|
134
|
+
template_id: zod.z.string().describe("The template ID.").optional(),
|
|
135
|
+
tax_inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive.").optional(),
|
|
136
|
+
partial_payment: zod.z.object({}).describe("The partial payment details.").optional(),
|
|
137
|
+
has_conditional_rule: zod.z.boolean().describe("Indicates whether there are conditional rules.").optional(),
|
|
138
|
+
tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether tax is calculated after discount.").optional()
|
|
139
|
+
}).describe("The invoice configuration.").optional(),
|
|
140
|
+
send_to_invoicer: zod.z.boolean().default(true).describe("Indicates whether to send the invoice update notification to the merchant. Defaults to true.").optional(),
|
|
141
|
+
send_to_recipient: zod.z.boolean().default(true).describe("Indicates whether to send the invoice update notification to the recipient. Defaults to true.").optional(),
|
|
142
|
+
primary_recipients: zod.z.array(zod.z.object({
|
|
143
|
+
billing_info: zod.z.object({
|
|
144
|
+
phones: zod.z.array(zod.z.object({
|
|
145
|
+
country_code: zod.z.string().describe("The country code.").optional(),
|
|
146
|
+
national_number: zod.z.string().describe("The national number.").optional()
|
|
147
|
+
}).describe("Phone number details.")).describe("The phone numbers of the billing contact.").optional(),
|
|
148
|
+
address: zod.z.object({
|
|
149
|
+
postal_code: zod.z.string().describe("The postal code.").optional(),
|
|
150
|
+
admin_area_1: zod.z.string().describe("The state name or code.").optional(),
|
|
151
|
+
admin_area_2: zod.z.string().describe("The city name.").optional(),
|
|
152
|
+
country_code: zod.z.string().describe("The country code.").optional(),
|
|
153
|
+
address_line_1: zod.z.string().describe("The first line of the address.").optional(),
|
|
154
|
+
address_line_2: zod.z.string().describe("The second line of the address.").optional()
|
|
155
|
+
}).describe("Address details.").optional(),
|
|
156
|
+
language: zod.z.string().describe("The language of the billing contact.").optional(),
|
|
157
|
+
last_name: zod.z.string().describe("The last name of the billing contact.").optional(),
|
|
158
|
+
first_name: zod.z.string().describe("The first name of the billing contact.").optional(),
|
|
159
|
+
business_name: zod.z.string().describe("The business name of the billing contact.").optional(),
|
|
160
|
+
email_address: zod.z.string().describe("The email address of the billing contact.").optional()
|
|
161
|
+
}).describe("Billing information.").optional(),
|
|
162
|
+
shipping_info: zod.z.object({
|
|
163
|
+
phones: zod.z.array(zod.z.object({
|
|
164
|
+
country_code: zod.z.string().describe("The country code.").optional(),
|
|
165
|
+
national_number: zod.z.string().describe("The national number.").optional()
|
|
166
|
+
}).describe("Phone number details.")).describe("The phone numbers of the shipping contact.").optional(),
|
|
167
|
+
address: zod.z.object({
|
|
168
|
+
postal_code: zod.z.string().describe("The postal code.").optional(),
|
|
169
|
+
admin_area_1: zod.z.string().describe("The state name or code.").optional(),
|
|
170
|
+
admin_area_2: zod.z.string().describe("The city name.").optional(),
|
|
171
|
+
country_code: zod.z.string().describe("The country code.").optional(),
|
|
172
|
+
address_line_1: zod.z.string().describe("The first line of the address.").optional(),
|
|
173
|
+
address_line_2: zod.z.string().describe("The second line of the address.").optional()
|
|
174
|
+
}).describe("Address details.").optional(),
|
|
175
|
+
language: zod.z.string().describe("The language of the shipping contact.").optional(),
|
|
176
|
+
last_name: zod.z.string().describe("The last name of the shipping contact.").optional(),
|
|
177
|
+
first_name: zod.z.string().describe("The first name of the shipping contact.").optional(),
|
|
178
|
+
business_name: zod.z.string().describe("The business name of the shipping contact.").optional(),
|
|
179
|
+
email_address: zod.z.string().describe("The email address of the shipping contact.").optional()
|
|
180
|
+
}).describe("Shipping information.").optional()
|
|
181
|
+
}).describe("The billing and shipping information.")).describe("The billing and shipping information. Includes name, email, address, phone, and language.").optional(),
|
|
182
|
+
additional_recipients: zod.z.array(zod.z.string()).describe("An array of one or more CC: emails to which notifications are sent.").optional()
|
|
183
|
+
}).describe("Request to fully update a PayPal invoice.\n\nUse this action when you need to completely replace an invoice with new data.\nThe invoice must be in DRAFT status to be fully updated.");
|
|
184
|
+
const PaypalUpdateInvoice_MoneySchema = zod.z.object({
|
|
185
|
+
value: zod.z.string().describe("The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND."),
|
|
186
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
187
|
+
}).describe("The currency and amount for a financial transaction.");
|
|
188
|
+
const PaypalUpdateInvoice_TaxSchema = zod.z.object({
|
|
189
|
+
id: zod.z.string().describe("The tax ID.").nullable().optional(),
|
|
190
|
+
name: zod.z.string().describe("The tax name.").nullable().optional(),
|
|
191
|
+
amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
|
|
192
|
+
percent: zod.z.string().describe("The tax percent.").nullable().optional()
|
|
193
|
+
}).describe("Tax applied to an item.");
|
|
194
|
+
const PaypalUpdateInvoice_ItemDiscountSchema = zod.z.object({
|
|
195
|
+
amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
|
|
196
|
+
percent: zod.z.string().describe("The discount percent.").nullable().optional()
|
|
197
|
+
}).describe("Discount applied to an item.");
|
|
198
|
+
const PaypalUpdateInvoice_InvoiceItemSchema = zod.z.object({
|
|
199
|
+
id: zod.z.string().describe("The ID of the item.").nullable().optional(),
|
|
200
|
+
tax: PaypalUpdateInvoice_TaxSchema.nullable().optional(),
|
|
201
|
+
name: zod.z.string().describe("The name of the item."),
|
|
202
|
+
discount: PaypalUpdateInvoice_ItemDiscountSchema.nullable().optional(),
|
|
203
|
+
quantity: zod.z.string().describe("The quantity of the item."),
|
|
204
|
+
item_date: zod.z.string().describe("The date of the item. The date format is YYYY-MM-DD.").nullable().optional(),
|
|
205
|
+
description: zod.z.string().describe("The description of the item.").nullable().optional(),
|
|
206
|
+
unit_amount: PaypalUpdateInvoice_MoneySchema.nullable(),
|
|
207
|
+
unit_of_measure: zod.z.string().describe("The unit of measure of the item.").nullable().optional()
|
|
208
|
+
}).describe("A single invoice line item.");
|
|
209
|
+
const PaypalUpdateInvoice_LinkDescriptionSchema = zod.z.object({
|
|
210
|
+
rel: zod.z.string().describe("The link relation type."),
|
|
211
|
+
href: zod.z.string().describe("The target URI."),
|
|
212
|
+
method: zod.z.string().describe("The HTTP method required to access the link.").nullable().optional()
|
|
213
|
+
}).describe("The HATEOAS link information.");
|
|
214
|
+
const PaypalUpdateInvoice_CustomAmountSchema = zod.z.object({
|
|
215
|
+
label: zod.z.string().describe("The label for the custom amount.").nullable().optional(),
|
|
216
|
+
value: zod.z.string().describe("The value of the custom amount."),
|
|
217
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
218
|
+
}).describe("Custom amount breakdown.");
|
|
219
|
+
const PaypalUpdateInvoice_DiscountAmountSchema = zod.z.object({
|
|
220
|
+
value: zod.z.string().describe("The value of the discount amount."),
|
|
221
|
+
percent: zod.z.string().describe("The discount percent.").nullable().optional(),
|
|
222
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
223
|
+
}).describe("Discount amount breakdown.");
|
|
224
|
+
const PaypalUpdateInvoice_ShippingAmountSchema = zod.z.object({
|
|
225
|
+
value: zod.z.string().describe("The value of the shipping amount."),
|
|
226
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.")
|
|
227
|
+
}).describe("Shipping cost breakdown.");
|
|
228
|
+
const PaypalUpdateInvoice_AmountWithBreakdownSchema = zod.z.object({
|
|
229
|
+
custom: PaypalUpdateInvoice_CustomAmountSchema.nullable().optional(),
|
|
230
|
+
discount: PaypalUpdateInvoice_DiscountAmountSchema.nullable().optional(),
|
|
231
|
+
shipping: PaypalUpdateInvoice_ShippingAmountSchema.nullable().optional(),
|
|
232
|
+
tax_total: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
|
|
233
|
+
item_total: PaypalUpdateInvoice_MoneySchema.nullable().optional()
|
|
234
|
+
}).describe("The breakdown of the amount.");
|
|
235
|
+
const PaypalUpdateInvoice_InvoiceAmountSchema = zod.z.object({
|
|
236
|
+
value: zod.z.string().describe("The value of the amount."),
|
|
237
|
+
breakdown: PaypalUpdateInvoice_AmountWithBreakdownSchema.nullable().optional(),
|
|
238
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency.")
|
|
239
|
+
}).describe("The invoice amount summary.");
|
|
240
|
+
const PaypalUpdateInvoice_InvoiceMetadataSchema = zod.z.object({
|
|
241
|
+
entity_id: zod.z.string().describe("The entity ID.").nullable().optional(),
|
|
242
|
+
entity_type: zod.z.string().describe("The entity type.").nullable().optional(),
|
|
243
|
+
created_date: zod.z.string().describe("The creation date.").nullable().optional(),
|
|
244
|
+
last_modified_date: zod.z.string().describe("The last modification date.").nullable().optional()
|
|
245
|
+
}).describe("The metadata of the invoice.");
|
|
246
|
+
const PaypalUpdateInvoice_AttachmentSchema = zod.z.object({
|
|
247
|
+
id: zod.z.string().describe("The ID of the attachment.").nullable().optional(),
|
|
248
|
+
url: zod.z.string().describe("The URL of the attachment.").nullable().optional(),
|
|
249
|
+
name: zod.z.string().describe("The name of the attachment.").nullable().optional()
|
|
250
|
+
}).describe("An attachment for the invoice.");
|
|
251
|
+
const PaypalUpdateInvoice_PaymentTermSchema = zod.z.object({
|
|
252
|
+
due_date: zod.z.string().describe("The due date. The date format is YYYY-MM-DD.").nullable().optional(),
|
|
253
|
+
term_type: zod.z.string().describe("The type of payment term.").nullable().optional(),
|
|
254
|
+
interval_days: zod.z.number().int().describe("The number of days until payment is due.").nullable().optional()
|
|
255
|
+
}).describe("The payment term of the invoice.");
|
|
256
|
+
const PaypalUpdateInvoice_InvoiceDetailSchema = zod.z.object({
|
|
257
|
+
memo: zod.z.string().describe("The memo text entered by the merchant.").nullable().optional(),
|
|
258
|
+
note: zod.z.string().describe("The invoice note with text. Useful for adding additional information.").nullable().optional(),
|
|
259
|
+
metadata: PaypalUpdateInvoice_InvoiceMetadataSchema.nullable().optional(),
|
|
260
|
+
reference: zod.z.string().describe("The reference text entered by the merchant.").nullable().optional(),
|
|
261
|
+
attachments: zod.z.array(PaypalUpdateInvoice_AttachmentSchema).describe("An array of attachments. The array is empty if no attachments are included.").nullable().optional(),
|
|
262
|
+
invoice_date: zod.z.string().describe("The date when the invoice was enabled. The date format is YYYY-MM-DD, such as 2018-12-15.").nullable().optional(),
|
|
263
|
+
payment_term: PaypalUpdateInvoice_PaymentTermSchema.nullable().optional(),
|
|
264
|
+
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code that identifies the currency."),
|
|
265
|
+
invoice_number: zod.z.string().describe("The invoice number. A value of manually entered or auto-generated.").nullable().optional(),
|
|
266
|
+
terms_and_conditions: zod.z.string().describe("The additional terms of the invoice.").nullable().optional()
|
|
267
|
+
}).describe("The details of the invoice.");
|
|
268
|
+
const PaypalUpdateInvoice_RefundTransactionSchema = zod.z.object({
|
|
269
|
+
date: zod.z.string().describe("The refund date.").nullable().optional(),
|
|
270
|
+
type: zod.z.string().describe("The refund type.").nullable().optional(),
|
|
271
|
+
amount: PaypalUpdateInvoice_MoneySchema.nullable().optional()
|
|
272
|
+
}).describe("A refund transaction detail.");
|
|
273
|
+
const PaypalUpdateInvoice_RefundsSchema = zod.z.object({
|
|
274
|
+
transactions: zod.z.array(PaypalUpdateInvoice_RefundTransactionSchema).describe("The refund transactions.").nullable().optional(),
|
|
275
|
+
refunded_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional()
|
|
276
|
+
}).describe("The invoicing refund details.");
|
|
277
|
+
const PaypalUpdateInvoice_PhoneSchema = zod.z.object({
|
|
278
|
+
country_code: zod.z.string().describe("The country code.").nullable().optional(),
|
|
279
|
+
national_number: zod.z.string().describe("The national number.").nullable().optional()
|
|
280
|
+
}).describe("Phone number details.");
|
|
281
|
+
const PaypalUpdateInvoice_AddressSchema = zod.z.object({
|
|
282
|
+
postal_code: zod.z.string().describe("The postal code.").nullable().optional(),
|
|
283
|
+
admin_area_1: zod.z.string().describe("The state name or code.").nullable().optional(),
|
|
284
|
+
admin_area_2: zod.z.string().describe("The city name.").nullable().optional(),
|
|
285
|
+
country_code: zod.z.string().describe("The country code.").nullable().optional(),
|
|
286
|
+
address_line_1: zod.z.string().describe("The first line of the address.").nullable().optional(),
|
|
287
|
+
address_line_2: zod.z.string().describe("The second line of the address.").nullable().optional()
|
|
288
|
+
}).describe("Address details.");
|
|
289
|
+
const PaypalUpdateInvoice_InvoicerInfoSchema = zod.z.object({
|
|
290
|
+
phones: zod.z.array(PaypalUpdateInvoice_PhoneSchema).describe("The phone numbers.").nullable().optional(),
|
|
291
|
+
tax_id: zod.z.string().describe("The Tax ID.").nullable().optional(),
|
|
292
|
+
address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),
|
|
293
|
+
website: zod.z.string().describe("The website URL.").nullable().optional(),
|
|
294
|
+
logo_url: zod.z.string().describe("The logo URL.").nullable().optional(),
|
|
295
|
+
email_address: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
|
|
296
|
+
additional_notes: zod.z.string().describe("The additional notes.").nullable().optional()
|
|
297
|
+
}).describe("The invoicer business information.");
|
|
298
|
+
const PaypalUpdateInvoice_PaymentTransactionSchema = zod.z.object({
|
|
299
|
+
date: zod.z.string().describe("The payment date.").nullable().optional(),
|
|
300
|
+
type: zod.z.string().describe("The payment type.").nullable().optional(),
|
|
301
|
+
method: zod.z.string().describe("The payment method.").nullable().optional(),
|
|
302
|
+
transaction_id: zod.z.string().describe("The transaction ID.").nullable().optional()
|
|
303
|
+
}).describe("A payment transaction detail.");
|
|
304
|
+
const PaypalUpdateInvoice_PaymentsSchema = zod.z.object({
|
|
305
|
+
paid_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
|
|
306
|
+
transactions: zod.z.array(PaypalUpdateInvoice_PaymentTransactionSchema).describe("The payment transactions.").nullable().optional()
|
|
307
|
+
}).describe("The payments registered against the invoice.");
|
|
308
|
+
const PaypalUpdateInvoice_ConfigurationSchema = zod.z.object({
|
|
309
|
+
allow_tip: zod.z.boolean().describe("Indicates whether the customer can add a tip.").nullable().optional(),
|
|
310
|
+
template_id: zod.z.string().describe("The template ID.").nullable().optional(),
|
|
311
|
+
tax_inclusive: zod.z.boolean().describe("Indicates whether the tax is inclusive.").nullable().optional(),
|
|
312
|
+
partial_payment: zod.z.object({}).describe("The partial payment details.").nullable().optional(),
|
|
313
|
+
has_conditional_rule: zod.z.boolean().describe("Indicates whether there are conditional rules.").nullable().optional(),
|
|
314
|
+
tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether tax is calculated after discount.").nullable().optional()
|
|
315
|
+
}).describe("The invoice configuration.");
|
|
316
|
+
const PaypalUpdateInvoice_BillingInfoSchema = zod.z.object({
|
|
317
|
+
phones: zod.z.array(PaypalUpdateInvoice_PhoneSchema).describe("The phone numbers of the billing contact.").nullable().optional(),
|
|
318
|
+
address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),
|
|
319
|
+
language: zod.z.string().describe("The language of the billing contact.").nullable().optional(),
|
|
320
|
+
last_name: zod.z.string().describe("The last name of the billing contact.").nullable().optional(),
|
|
321
|
+
first_name: zod.z.string().describe("The first name of the billing contact.").nullable().optional(),
|
|
322
|
+
business_name: zod.z.string().describe("The business name of the billing contact.").nullable().optional(),
|
|
323
|
+
email_address: zod.z.string().describe("The email address of the billing contact.").nullable().optional()
|
|
324
|
+
}).describe("Billing information.");
|
|
325
|
+
const PaypalUpdateInvoice_ShippingInfoSchema = zod.z.object({
|
|
326
|
+
phones: zod.z.array(PaypalUpdateInvoice_PhoneSchema).describe("The phone numbers of the shipping contact.").nullable().optional(),
|
|
327
|
+
address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),
|
|
328
|
+
language: zod.z.string().describe("The language of the shipping contact.").nullable().optional(),
|
|
329
|
+
last_name: zod.z.string().describe("The last name of the shipping contact.").nullable().optional(),
|
|
330
|
+
first_name: zod.z.string().describe("The first name of the shipping contact.").nullable().optional(),
|
|
331
|
+
business_name: zod.z.string().describe("The business name of the shipping contact.").nullable().optional(),
|
|
332
|
+
email_address: zod.z.string().describe("The email address of the shipping contact.").nullable().optional()
|
|
333
|
+
}).describe("Shipping information.");
|
|
334
|
+
const PaypalUpdateInvoice_RecipientInfoSchema = zod.z.object({
|
|
335
|
+
billing_info: PaypalUpdateInvoice_BillingInfoSchema.nullable().optional(),
|
|
336
|
+
shipping_info: PaypalUpdateInvoice_ShippingInfoSchema.nullable().optional()
|
|
337
|
+
}).describe("The billing and shipping information.");
|
|
338
|
+
const PaypalUpdateInvoiceOutput = zod.z.object({
|
|
339
|
+
id: zod.z.string().describe("The ID of the invoice.").nullable().optional(),
|
|
340
|
+
name: zod.z.string().describe("Error name if the request failed.").nullable().optional(),
|
|
341
|
+
items: zod.z.array(PaypalUpdateInvoice_InvoiceItemSchema).describe("An array of invoice line items.").nullable().optional(),
|
|
342
|
+
links: zod.z.array(PaypalUpdateInvoice_LinkDescriptionSchema).describe("An array of HATEOAS links.").nullable().optional(),
|
|
343
|
+
amount: PaypalUpdateInvoice_InvoiceAmountSchema.nullable().optional(),
|
|
344
|
+
detail: PaypalUpdateInvoice_InvoiceDetailSchema.nullable().optional(),
|
|
345
|
+
status: zod.z.string().describe("The status of the invoice.").nullable().optional(),
|
|
346
|
+
message: zod.z.string().describe("Error message if the request failed.").nullable().optional(),
|
|
347
|
+
refunds: PaypalUpdateInvoice_RefundsSchema.nullable().optional(),
|
|
348
|
+
gratuity: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
|
|
349
|
+
invoicer: PaypalUpdateInvoice_InvoicerInfoSchema.nullable().optional(),
|
|
350
|
+
payments: PaypalUpdateInvoice_PaymentsSchema.nullable().optional(),
|
|
351
|
+
parent_id: zod.z.string().describe("The parent ID to an invoice that defines the group invoice to which the invoice is related.").nullable().optional(),
|
|
352
|
+
due_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),
|
|
353
|
+
configuration: PaypalUpdateInvoice_ConfigurationSchema.nullable().optional(),
|
|
354
|
+
primary_recipients: zod.z.array(PaypalUpdateInvoice_RecipientInfoSchema).describe("The billing and shipping information.").nullable().optional(),
|
|
355
|
+
additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC: email addresses.").nullable().optional()
|
|
356
|
+
}).describe("Response returned after fully updating a PayPal invoice.");
|
|
357
|
+
const paypalUpdateInvoice = require_action.action("PAYPAL_UPDATE_INVOICE", {
|
|
358
|
+
slug: "paypal-update-invoice",
|
|
359
|
+
name: "Update Invoice (Full)",
|
|
360
|
+
description: "Fully updates a PayPal invoice by replacing the entire invoice with the provided data. Use this action when you need to completely replace an invoice with new data. The invoice must be in DRAFT status to be fully updated. Note: This action sends optional notifications to both the recipient and the merchant by default. You can control this behavior using the send_to_recipient and send_to_invoicer parameters. This action is useful when you want to replace the entire invoice rather than making partial updates. For partial updates, use the UpdateInvoice action with PATCH semantics.",
|
|
361
|
+
input: PaypalUpdateInvoiceInput,
|
|
362
|
+
output: PaypalUpdateInvoiceOutput
|
|
363
|
+
});
|
|
364
|
+
//#endregion
|
|
365
|
+
exports.paypalUpdateInvoice = paypalUpdateInvoice;
|
|
366
|
+
|
|
367
|
+
//# sourceMappingURL=update-invoice.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.cjs","names":["z","action"],"sources":["../../src/actions/update-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalUpdateInvoiceInput: z.ZodTypeAny = z.object({\n items: z.array(z.object({\n id: z.string().describe(\"The ID of the item.\").optional(),\n tax: z.object({\n id: z.string().describe(\"The tax ID.\").optional(),\n name: z.string().describe(\"The tax name.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The tax percent.\").optional(),\n}).describe(\"Tax applied to an item.\").optional(),\n name: z.string().describe(\"The name of the item.\"),\n discount: z.object({\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The discount percent.\").optional(),\n}).describe(\"Discount applied to an item.\").optional(),\n quantity: z.string().describe(\"The quantity of the item.\"),\n item_date: z.string().describe(\"The date of the item. The date format is YYYY-MM-DD.\").optional(),\n description: z.string().describe(\"The description of the item.\").optional(),\n unit_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The unit amount of the item.\"),\n unit_of_measure: z.string().describe(\"The unit of measure of the item.\").optional(),\n}).describe(\"A single invoice line item.\")).describe(\"An array of invoice line item information. The maximum items for an invoice is 100.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The value of the amount.\"),\n breakdown: z.object({\n custom: z.object({\n label: z.string().describe(\"The label for the custom amount.\").optional(),\n value: z.string().describe(\"The value of the custom amount.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"Custom amount breakdown.\").optional(),\n discount: z.object({\n value: z.string().describe(\"The value of the discount amount.\"),\n percent: z.string().describe(\"The discount percent.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"Discount amount breakdown.\").optional(),\n shipping: z.object({\n value: z.string().describe(\"The value of the shipping amount.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"Shipping cost breakdown.\").optional(),\n tax_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n item_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"The breakdown of the amount.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The invoice amount summary.\").optional(),\n detail: z.object({\n memo: z.string().describe(\"The memo text entered by the merchant.\").optional(),\n note: z.string().describe(\"The invoice note with text. Useful for adding additional information.\").optional(),\n metadata: z.object({\n entity_id: z.string().describe(\"The entity ID.\").optional(),\n entity_type: z.string().describe(\"The entity type.\").optional(),\n created_date: z.string().describe(\"The creation date.\").optional(),\n last_modified_date: z.string().describe(\"The last modification date.\").optional(),\n}).describe(\"The metadata of the invoice.\").optional(),\n reference: z.string().describe(\"The reference text entered by the merchant.\").optional(),\n attachments: z.array(z.object({\n id: z.string().describe(\"The ID of the attachment.\").optional(),\n url: z.string().describe(\"The URL of the attachment.\").optional(),\n name: z.string().describe(\"The name of the attachment.\").optional(),\n}).describe(\"An attachment for the invoice.\")).describe(\"An array of attachments. The array is empty if no attachments are included.\").optional(),\n invoice_date: z.string().describe(\"The date when the invoice was enabled. The date format is YYYY-MM-DD, such as 2018-12-15.\").optional(),\n payment_term: z.object({\n due_date: z.string().describe(\"The due date. The date format is YYYY-MM-DD.\").optional(),\n term_type: z.string().describe(\"The type of payment term.\").optional(),\n interval_days: z.number().int().describe(\"The number of days until payment is due.\").optional(),\n}).describe(\"The payment term of the invoice.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n invoice_number: z.string().describe(\"The invoice number. A value of manually entered or auto-generated.\").optional(),\n terms_and_conditions: z.string().describe(\"The additional terms of the invoice.\").optional(),\n}).describe(\"The details of the invoice. Includes invoice number, date, payment terms, and audit metadata.\"),\n status: z.enum([\"DRAFT\", \"SENT\", \"SCHEDULED\", \"PAID\", \"MARKED_AS_PAID\", \"CANCELLED\", \"REFUNDED\", \"PARTIALLY_PAID\", \"PARTIALLY_REFUNDED\", \"MARKED_AS_REFUNDED\", \"UNPAID\", \"PAYMENT_PENDING\", \"AUTO_CANCELLED\", \"PAID_EXTERNAL\", \"REFUNDED_EXTERNAL\", \"SHARED\"]).describe(\"The status of an invoice.\").optional(),\n gratuity: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n invoicer: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national number.\").optional(),\n}).describe(\"Phone number details.\")).describe(\"The phone numbers.\").optional(),\n tax_id: z.string().describe(\"The Tax ID.\").optional(),\n address: z.object({\n postal_code: z.string().describe(\"The postal code.\").optional(),\n admin_area_1: z.string().describe(\"The state name or code.\").optional(),\n admin_area_2: z.string().describe(\"The city name.\").optional(),\n country_code: z.string().describe(\"The country code.\").optional(),\n address_line_1: z.string().describe(\"The first line of the address.\").optional(),\n address_line_2: z.string().describe(\"The second line of the address.\").optional(),\n}).describe(\"Address details.\").optional(),\n website: z.string().describe(\"The website URL.\").optional(),\n logo_url: z.string().describe(\"The logo URL.\").optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").optional(),\n additional_notes: z.string().describe(\"The additional notes.\").optional(),\n}).describe(\"The invoicer business information.\").optional(),\n due_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice to update.\"),\n configuration: z.object({\n allow_tip: z.boolean().describe(\"Indicates whether the customer can add a tip.\").optional(),\n template_id: z.string().describe(\"The template ID.\").optional(),\n tax_inclusive: z.boolean().describe(\"Indicates whether the tax is inclusive.\").optional(),\n partial_payment: z.object({}).describe(\"The partial payment details.\").optional(),\n has_conditional_rule: z.boolean().describe(\"Indicates whether there are conditional rules.\").optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Indicates whether tax is calculated after discount.\").optional(),\n}).describe(\"The invoice configuration.\").optional(),\n send_to_invoicer: z.boolean().default(true).describe(\"Indicates whether to send the invoice update notification to the merchant. Defaults to true.\").optional(),\n send_to_recipient: z.boolean().default(true).describe(\"Indicates whether to send the invoice update notification to the recipient. Defaults to true.\").optional(),\n primary_recipients: z.array(z.object({\n billing_info: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national number.\").optional(),\n}).describe(\"Phone number details.\")).describe(\"The phone numbers of the billing contact.\").optional(),\n address: z.object({\n postal_code: z.string().describe(\"The postal code.\").optional(),\n admin_area_1: z.string().describe(\"The state name or code.\").optional(),\n admin_area_2: z.string().describe(\"The city name.\").optional(),\n country_code: z.string().describe(\"The country code.\").optional(),\n address_line_1: z.string().describe(\"The first line of the address.\").optional(),\n address_line_2: z.string().describe(\"The second line of the address.\").optional(),\n}).describe(\"Address details.\").optional(),\n language: z.string().describe(\"The language of the billing contact.\").optional(),\n last_name: z.string().describe(\"The last name of the billing contact.\").optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").optional(),\n}).describe(\"Billing information.\").optional(),\n shipping_info: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national number.\").optional(),\n}).describe(\"Phone number details.\")).describe(\"The phone numbers of the shipping contact.\").optional(),\n address: z.object({\n postal_code: z.string().describe(\"The postal code.\").optional(),\n admin_area_1: z.string().describe(\"The state name or code.\").optional(),\n admin_area_2: z.string().describe(\"The city name.\").optional(),\n country_code: z.string().describe(\"The country code.\").optional(),\n address_line_1: z.string().describe(\"The first line of the address.\").optional(),\n address_line_2: z.string().describe(\"The second line of the address.\").optional(),\n}).describe(\"Address details.\").optional(),\n language: z.string().describe(\"The language of the shipping contact.\").optional(),\n last_name: z.string().describe(\"The last name of the shipping contact.\").optional(),\n first_name: z.string().describe(\"The first name of the shipping contact.\").optional(),\n business_name: z.string().describe(\"The business name of the shipping contact.\").optional(),\n email_address: z.string().describe(\"The email address of the shipping contact.\").optional(),\n}).describe(\"Shipping information.\").optional(),\n}).describe(\"The billing and shipping information.\")).describe(\"The billing and shipping information. Includes name, email, address, phone, and language.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of one or more CC: emails to which notifications are sent.\").optional(),\n}).describe(\"Request to fully update a PayPal invoice.\\n\\nUse this action when you need to completely replace an invoice with new data.\\nThe invoice must be in DRAFT status to be fully updated.\");\nconst PaypalUpdateInvoice_MoneySchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for currencies like TND.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\");\nconst PaypalUpdateInvoice_TaxSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The tax ID.\").nullable().optional(),\n name: z.string().describe(\"The tax name.\").nullable().optional(),\n amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n percent: z.string().describe(\"The tax percent.\").nullable().optional(),\n}).describe(\"Tax applied to an item.\");\nconst PaypalUpdateInvoice_ItemDiscountSchema: z.ZodTypeAny = z.object({\n amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n percent: z.string().describe(\"The discount percent.\").nullable().optional(),\n}).describe(\"Discount applied to an item.\");\nconst PaypalUpdateInvoice_InvoiceItemSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the item.\").nullable().optional(),\n tax: PaypalUpdateInvoice_TaxSchema.nullable().optional(),\n name: z.string().describe(\"The name of the item.\"),\n discount: PaypalUpdateInvoice_ItemDiscountSchema.nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\"),\n item_date: z.string().describe(\"The date of the item. The date format is YYYY-MM-DD.\").nullable().optional(),\n description: z.string().describe(\"The description of the item.\").nullable().optional(),\n unit_amount: PaypalUpdateInvoice_MoneySchema.nullable(),\n unit_of_measure: z.string().describe(\"The unit of measure of the item.\").nullable().optional(),\n}).describe(\"A single invoice line item.\");\nconst PaypalUpdateInvoice_LinkDescriptionSchema: z.ZodTypeAny = z.object({\n rel: z.string().describe(\"The link relation type.\"),\n href: z.string().describe(\"The target URI.\"),\n method: z.string().describe(\"The HTTP method required to access the link.\").nullable().optional(),\n}).describe(\"The HATEOAS link information.\");\nconst PaypalUpdateInvoice_CustomAmountSchema: z.ZodTypeAny = z.object({\n label: z.string().describe(\"The label for the custom amount.\").nullable().optional(),\n value: z.string().describe(\"The value of the custom amount.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"Custom amount breakdown.\");\nconst PaypalUpdateInvoice_DiscountAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the discount amount.\"),\n percent: z.string().describe(\"The discount percent.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"Discount amount breakdown.\");\nconst PaypalUpdateInvoice_ShippingAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the shipping amount.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\"),\n}).describe(\"Shipping cost breakdown.\");\nconst PaypalUpdateInvoice_AmountWithBreakdownSchema: z.ZodTypeAny = z.object({\n custom: PaypalUpdateInvoice_CustomAmountSchema.nullable().optional(),\n discount: PaypalUpdateInvoice_DiscountAmountSchema.nullable().optional(),\n shipping: PaypalUpdateInvoice_ShippingAmountSchema.nullable().optional(),\n tax_total: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n item_total: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n}).describe(\"The breakdown of the amount.\");\nconst PaypalUpdateInvoice_InvoiceAmountSchema: z.ZodTypeAny = z.object({\n value: z.string().describe(\"The value of the amount.\"),\n breakdown: PaypalUpdateInvoice_AmountWithBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The invoice amount summary.\");\nconst PaypalUpdateInvoice_InvoiceMetadataSchema: z.ZodTypeAny = z.object({\n entity_id: z.string().describe(\"The entity ID.\").nullable().optional(),\n entity_type: z.string().describe(\"The entity type.\").nullable().optional(),\n created_date: z.string().describe(\"The creation date.\").nullable().optional(),\n last_modified_date: z.string().describe(\"The last modification date.\").nullable().optional(),\n}).describe(\"The metadata of the invoice.\");\nconst PaypalUpdateInvoice_AttachmentSchema: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the attachment.\").nullable().optional(),\n url: z.string().describe(\"The URL of the attachment.\").nullable().optional(),\n name: z.string().describe(\"The name of the attachment.\").nullable().optional(),\n}).describe(\"An attachment for the invoice.\");\nconst PaypalUpdateInvoice_PaymentTermSchema: z.ZodTypeAny = z.object({\n due_date: z.string().describe(\"The due date. The date format is YYYY-MM-DD.\").nullable().optional(),\n term_type: z.string().describe(\"The type of payment term.\").nullable().optional(),\n interval_days: z.number().int().describe(\"The number of days until payment is due.\").nullable().optional(),\n}).describe(\"The payment term of the invoice.\");\nconst PaypalUpdateInvoice_InvoiceDetailSchema: z.ZodTypeAny = z.object({\n memo: z.string().describe(\"The memo text entered by the merchant.\").nullable().optional(),\n note: z.string().describe(\"The invoice note with text. Useful for adding additional information.\").nullable().optional(),\n metadata: PaypalUpdateInvoice_InvoiceMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"The reference text entered by the merchant.\").nullable().optional(),\n attachments: z.array(PaypalUpdateInvoice_AttachmentSchema).describe(\"An array of attachments. The array is empty if no attachments are included.\").nullable().optional(),\n invoice_date: z.string().describe(\"The date when the invoice was enabled. The date format is YYYY-MM-DD, such as 2018-12-15.\").nullable().optional(),\n payment_term: PaypalUpdateInvoice_PaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n invoice_number: z.string().describe(\"The invoice number. A value of manually entered or auto-generated.\").nullable().optional(),\n terms_and_conditions: z.string().describe(\"The additional terms of the invoice.\").nullable().optional(),\n}).describe(\"The details of the invoice.\");\nconst PaypalUpdateInvoice_RefundTransactionSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"The refund date.\").nullable().optional(),\n type: z.string().describe(\"The refund type.\").nullable().optional(),\n amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n}).describe(\"A refund transaction detail.\");\nconst PaypalUpdateInvoice_RefundsSchema: z.ZodTypeAny = z.object({\n transactions: z.array(PaypalUpdateInvoice_RefundTransactionSchema).describe(\"The refund transactions.\").nullable().optional(),\n refunded_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n}).describe(\"The invoicing refund details.\");\nconst PaypalUpdateInvoice_PhoneSchema: z.ZodTypeAny = z.object({\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n}).describe(\"Phone number details.\");\nconst PaypalUpdateInvoice_AddressSchema: z.ZodTypeAny = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The state name or code.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The city name.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"The first line of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"The second line of the address.\").nullable().optional(),\n}).describe(\"Address details.\");\nconst PaypalUpdateInvoice_InvoicerInfoSchema: z.ZodTypeAny = z.object({\n phones: z.array(PaypalUpdateInvoice_PhoneSchema).describe(\"The phone numbers.\").nullable().optional(),\n tax_id: z.string().describe(\"The Tax ID.\").nullable().optional(),\n address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),\n website: z.string().describe(\"The website URL.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n additional_notes: z.string().describe(\"The additional notes.\").nullable().optional(),\n}).describe(\"The invoicer business information.\");\nconst PaypalUpdateInvoice_PaymentTransactionSchema: z.ZodTypeAny = z.object({\n date: z.string().describe(\"The payment date.\").nullable().optional(),\n type: z.string().describe(\"The payment type.\").nullable().optional(),\n method: z.string().describe(\"The payment method.\").nullable().optional(),\n transaction_id: z.string().describe(\"The transaction ID.\").nullable().optional(),\n}).describe(\"A payment transaction detail.\");\nconst PaypalUpdateInvoice_PaymentsSchema: z.ZodTypeAny = z.object({\n paid_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n transactions: z.array(PaypalUpdateInvoice_PaymentTransactionSchema).describe(\"The payment transactions.\").nullable().optional(),\n}).describe(\"The payments registered against the invoice.\");\nconst PaypalUpdateInvoice_ConfigurationSchema: z.ZodTypeAny = z.object({\n allow_tip: z.boolean().describe(\"Indicates whether the customer can add a tip.\").nullable().optional(),\n template_id: z.string().describe(\"The template ID.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Indicates whether the tax is inclusive.\").nullable().optional(),\n partial_payment: z.object({}).describe(\"The partial payment details.\").nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Indicates whether there are conditional rules.\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Indicates whether tax is calculated after discount.\").nullable().optional(),\n}).describe(\"The invoice configuration.\");\nconst PaypalUpdateInvoice_BillingInfoSchema: z.ZodTypeAny = z.object({\n phones: z.array(PaypalUpdateInvoice_PhoneSchema).describe(\"The phone numbers of the billing contact.\").nullable().optional(),\n address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),\n language: z.string().describe(\"The language of the billing contact.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the billing contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").nullable().optional(),\n}).describe(\"Billing information.\");\nconst PaypalUpdateInvoice_ShippingInfoSchema: z.ZodTypeAny = z.object({\n phones: z.array(PaypalUpdateInvoice_PhoneSchema).describe(\"The phone numbers of the shipping contact.\").nullable().optional(),\n address: PaypalUpdateInvoice_AddressSchema.nullable().optional(),\n language: z.string().describe(\"The language of the shipping contact.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the shipping contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the shipping contact.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the shipping contact.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the shipping contact.\").nullable().optional(),\n}).describe(\"Shipping information.\");\nconst PaypalUpdateInvoice_RecipientInfoSchema: z.ZodTypeAny = z.object({\n billing_info: PaypalUpdateInvoice_BillingInfoSchema.nullable().optional(),\n shipping_info: PaypalUpdateInvoice_ShippingInfoSchema.nullable().optional(),\n}).describe(\"The billing and shipping information.\");\nexport const PaypalUpdateInvoiceOutput: z.ZodTypeAny = z.object({\n id: z.string().describe(\"The ID of the invoice.\").nullable().optional(),\n name: z.string().describe(\"Error name if the request failed.\").nullable().optional(),\n items: z.array(PaypalUpdateInvoice_InvoiceItemSchema).describe(\"An array of invoice line items.\").nullable().optional(),\n links: z.array(PaypalUpdateInvoice_LinkDescriptionSchema).describe(\"An array of HATEOAS links.\").nullable().optional(),\n amount: PaypalUpdateInvoice_InvoiceAmountSchema.nullable().optional(),\n detail: PaypalUpdateInvoice_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n message: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n refunds: PaypalUpdateInvoice_RefundsSchema.nullable().optional(),\n gratuity: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n invoicer: PaypalUpdateInvoice_InvoicerInfoSchema.nullable().optional(),\n payments: PaypalUpdateInvoice_PaymentsSchema.nullable().optional(),\n parent_id: z.string().describe(\"The parent ID to an invoice that defines the group invoice to which the invoice is related.\").nullable().optional(),\n due_amount: PaypalUpdateInvoice_MoneySchema.nullable().optional(),\n configuration: PaypalUpdateInvoice_ConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalUpdateInvoice_RecipientInfoSchema).describe(\"The billing and shipping information.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC: email addresses.\").nullable().optional(),\n}).describe(\"Response returned after fully updating a PayPal invoice.\");\n\nexport const paypalUpdateInvoice = action(\"PAYPAL_UPDATE_INVOICE\", {\n slug: \"paypal-update-invoice\",\n name: \"Update Invoice (Full)\",\n description: \"Fully updates a PayPal invoice by replacing the entire invoice with the provided data. Use this action when you need to completely replace an invoice with new data. The invoice must be in DRAFT status to be fully updated. Note: This action sends optional notifications to both the recipient and the merchant by default. You can control this behavior using the send_to_recipient and send_to_invoicer parameters. This action is useful when you want to replace the entire invoice rather than making partial updates. For partial updates, use the UpdateInvoice action with PATCH semantics.\",\n input: PaypalUpdateInvoiceInput,\n output: PaypalUpdateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAAyCA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qBAAqB,CAAC,CAAC,SAAS;EACxD,KAAKA,IAAAA,EAAE,OAAO;GACd,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,aAAa,CAAC,CAAC,SAAS;GAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS;GACpD,QAAQA,IAAAA,EAAE,OAAO;IACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G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{ z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-invoice.d.ts
|
|
4
|
+
declare const PaypalUpdateInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalUpdateInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalUpdateInvoice };
|
|
9
|
+
//# sourceMappingURL=update-invoice.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.d.cts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAkK0J;AAAA,cA2JtL,yBAAA,EAA2B,CAAA,CAAE,UAkB6B;AAAA,cAE1D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/update-invoice.d.ts
|
|
4
|
+
declare const PaypalUpdateInvoiceInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalUpdateInvoiceOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalUpdateInvoice: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalUpdateInvoice };
|
|
9
|
+
//# sourceMappingURL=update-invoice.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-invoice.d.mts","names":[],"sources":["../../src/actions/update-invoice.ts"],"mappings":";;;cAIa,wBAAA,EAA0B,CAAA,CAAE,UAkK0J;AAAA,cA2JtL,yBAAA,EAA2B,CAAA,CAAE,UAkB6B;AAAA,cAE1D,mBAAA,gCAAmB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|