@keystrokehq/paypal 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/activate-plan.cjs +1 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +14 -2
- package/dist/actions/activate-plan.d.mts +14 -2
- package/dist/actions/activate-plan.mjs +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +5 -5
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +21 -8
- package/dist/actions/add-batch-trackers.d.mts +21 -8
- package/dist/actions/add-batch-trackers.mjs +5 -5
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +16 -16
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +34 -22
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +34 -22
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +16 -16
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +3 -3
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +16 -4
- package/dist/actions/cancel-invoice.d.mts +16 -4
- package/dist/actions/cancel-invoice.mjs +3 -3
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +3 -3
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +16 -4
- package/dist/actions/cancel-reminders.d.mts +16 -4
- package/dist/actions/cancel-reminders.mjs +3 -3
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +9 -9
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +23 -11
- package/dist/actions/capture-subscription-payment.d.mts +23 -11
- package/dist/actions/capture-subscription-payment.mjs +9 -9
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -1
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +14 -2
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +14 -2
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -1
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +22 -22
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +49 -34
- package/dist/actions/create-invoice.d.mts +49 -34
- package/dist/actions/create-invoice.mjs +22 -22
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +31 -31
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +55 -39
- package/dist/actions/create-payment.d.mts +55 -39
- package/dist/actions/create-payment.mjs +31 -31
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +8 -8
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +24 -10
- package/dist/actions/create-payments-billing-plans.d.mts +24 -10
- package/dist/actions/create-payments-billing-plans.mjs +8 -8
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +12 -12
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +27 -14
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +27 -14
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +12 -12
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +2 -2
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +15 -3
- package/dist/actions/create-product.d.mts +15 -3
- package/dist/actions/create-product.mjs +2 -2
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +15 -15
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +34 -21
- package/dist/actions/create-subscription.d.mts +34 -21
- package/dist/actions/create-subscription.mjs +15 -15
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +25 -25
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +49 -31
- package/dist/actions/create-template.d.mts +49 -31
- package/dist/actions/create-template.mjs +25 -25
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +5 -5
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +18 -6
- package/dist/actions/create-web-profile.d.mts +18 -6
- package/dist/actions/create-web-profile.mjs +5 -5
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +2 -2
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +15 -3
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +15 -3
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +2 -2
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +4 -4
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +18 -5
- package/dist/actions/create-webhook.d.mts +18 -5
- package/dist/actions/create-webhook.mjs +4 -4
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -1
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +14 -2
- package/dist/actions/deactivate-plan.d.mts +14 -2
- package/dist/actions/deactivate-plan.mjs +1 -1
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -1
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +14 -2
- package/dist/actions/delete-external-payment.d.mts +14 -2
- package/dist/actions/delete-external-payment.mjs +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +14 -2
- package/dist/actions/delete-invoice-payment-record.d.mts +14 -2
- package/dist/actions/delete-invoice-payment-record.mjs +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +14 -2
- package/dist/actions/delete-invoice-refund-record.d.mts +14 -2
- package/dist/actions/delete-invoice-refund-record.mjs +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +3 -3
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +16 -4
- package/dist/actions/delete-invoice.d.mts +16 -4
- package/dist/actions/delete-invoice.mjs +3 -3
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -1
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +14 -2
- package/dist/actions/delete-payment-resource.d.mts +14 -2
- package/dist/actions/delete-payment-resource.mjs +1 -1
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +3 -3
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +16 -4
- package/dist/actions/delete-template.d.mts +16 -4
- package/dist/actions/delete-template.mjs +3 -3
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -1
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +14 -2
- package/dist/actions/delete-web-profile.d.mts +14 -2
- package/dist/actions/delete-web-profile.mjs +1 -1
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +16 -4
- package/dist/actions/delete-webhook.d.mts +16 -4
- package/dist/actions/delete-webhook.mjs +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +5 -5
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +18 -6
- package/dist/actions/fetch-node.d.mts +18 -6
- package/dist/actions/fetch-node.mjs +5 -5
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +16 -4
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +16 -4
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +7 -7
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +24 -11
- package/dist/actions/find-eligible-methods.d.mts +24 -11
- package/dist/actions/find-eligible-methods.mjs +7 -7
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -1
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +14 -2
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +14 -2
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -1
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +14 -2
- package/dist/actions/generate-next-invoice-number-v2.d.mts +14 -2
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +14 -2
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +14 -2
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -1
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +4 -4
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +17 -5
- package/dist/actions/generate-qr-code.d.mts +17 -5
- package/dist/actions/generate-qr-code.mjs +4 -4
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +10 -10
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +24 -12
- package/dist/actions/get-billing-subscriptions.d.mts +24 -12
- package/dist/actions/get-billing-subscriptions.mjs +10 -10
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +24 -24
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +45 -33
- package/dist/actions/get-invoice.d.mts +45 -33
- package/dist/actions/get-invoice.mjs +24 -24
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +15 -3
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +15 -3
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +20 -20
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +42 -30
- package/dist/actions/get-invoicing-template.d.mts +42 -30
- package/dist/actions/get-invoicing-template.mjs +20 -20
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +16 -16
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +37 -25
- package/dist/actions/get-order.d.mts +37 -25
- package/dist/actions/get-order.mjs +16 -16
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +14 -14
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +35 -23
- package/dist/actions/get-payment.d.mts +35 -23
- package/dist/actions/get-payment.mjs +14 -14
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +3 -3
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +16 -4
- package/dist/actions/get-payments-refund.d.mts +16 -4
- package/dist/actions/get-payments-refund.mjs +3 -3
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +11 -11
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +24 -12
- package/dist/actions/get-plan.d.mts +24 -12
- package/dist/actions/get-plan.mjs +11 -11
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +2 -2
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +15 -3
- package/dist/actions/get-product.d.mts +15 -3
- package/dist/actions/get-product.mjs +2 -2
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +10 -10
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +26 -14
- package/dist/actions/get-subscription.d.mts +26 -14
- package/dist/actions/get-subscription.mjs +10 -10
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +3 -3
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +16 -4
- package/dist/actions/get-user-info.d.mts +16 -4
- package/dist/actions/get-user-info.mjs +3 -3
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +3 -3
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +16 -4
- package/dist/actions/get-userinfo.d.mts +16 -4
- package/dist/actions/get-userinfo.mjs +3 -3
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +4 -4
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +17 -5
- package/dist/actions/get-web-profile.d.mts +17 -5
- package/dist/actions/get-web-profile.mjs +4 -4
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +2 -2
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +15 -3
- package/dist/actions/get-webhook-lookup.d.mts +15 -3
- package/dist/actions/get-webhook-lookup.mjs +2 -2
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +4 -4
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +17 -5
- package/dist/actions/get-webhook.d.mts +17 -5
- package/dist/actions/get-webhook.mjs +4 -4
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +5 -5
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +19 -7
- package/dist/actions/list-disputes.d.mts +19 -7
- package/dist/actions/list-disputes.mjs +5 -5
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +15 -15
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +32 -20
- package/dist/actions/list-invoices.d.mts +32 -20
- package/dist/actions/list-invoices.mjs +15 -15
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +7 -7
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +22 -10
- package/dist/actions/list-legacy-billing-plans.d.mts +22 -10
- package/dist/actions/list-legacy-billing-plans.mjs +7 -7
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +20 -20
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +40 -28
- package/dist/actions/list-payments.d.mts +40 -28
- package/dist/actions/list-payments.mjs +20 -20
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +8 -8
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +22 -10
- package/dist/actions/list-plans.d.mts +22 -10
- package/dist/actions/list-plans.mjs +8 -8
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +17 -5
- package/dist/actions/list-products.d.mts +17 -5
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +8 -8
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +22 -10
- package/dist/actions/list-templates.d.mts +22 -10
- package/dist/actions/list-templates.mjs +8 -8
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +6 -6
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +19 -7
- package/dist/actions/list-web-profiles.d.mts +19 -7
- package/dist/actions/list-web-profiles.mjs +6 -6
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +16 -4
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +16 -4
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +3 -3
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +16 -4
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +16 -4
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +3 -3
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +3 -3
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +16 -4
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +16 -4
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +3 -3
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +15 -3
- package/dist/actions/list-webhooks.d.mts +15 -3
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +2 -2
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +16 -3
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +16 -3
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +2 -2
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +2 -2
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +16 -3
- package/dist/actions/patch-plan.d.mts +16 -3
- package/dist/actions/patch-plan.mjs +2 -2
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +3 -3
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +17 -4
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +17 -4
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +3 -3
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +2 -2
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +16 -3
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +16 -3
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +2 -2
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +2 -2
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +15 -3
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +15 -3
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +2 -2
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +4 -4
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +17 -5
- package/dist/actions/query-braintree-report.d.mts +17 -5
- package/dist/actions/query-braintree-report.mjs +4 -4
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +11 -11
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +25 -13
- package/dist/actions/retrieve-payment-resource.d.mts +25 -13
- package/dist/actions/retrieve-payment-resource.mjs +11 -11
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +11 -11
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +28 -16
- package/dist/actions/search-invoices.d.mts +28 -16
- package/dist/actions/search-invoices.mjs +11 -11
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +2 -2
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +15 -3
- package/dist/actions/send-invoice.d.mts +15 -3
- package/dist/actions/send-invoice.mjs +2 -2
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +4 -4
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +17 -5
- package/dist/actions/simulate-webhook-event.d.mts +17 -5
- package/dist/actions/simulate-webhook-event.mjs +4 -4
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +3 -3
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +17 -4
- package/dist/actions/update-dispute.d.mts +17 -4
- package/dist/actions/update-dispute.mjs +3 -3
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +34 -34
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +67 -49
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +67 -49
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +34 -34
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +2 -2
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +16 -3
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +16 -3
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +2 -2
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +4 -4
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +18 -5
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +18 -5
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +4 -4
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +39 -39
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +78 -57
- package/dist/actions/update-templates.d.mts +78 -57
- package/dist/actions/update-templates.mjs +39 -39
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +2 -2
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +15 -3
- package/dist/actions/update-web-profile.d.mts +15 -3
- package/dist/actions/update-web-profile.mjs +2 -2
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +2 -2
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +15 -3
- package/dist/actions/verify-payment-method.d.mts +15 -3
- package/dist/actions/verify-payment-method.mjs +2 -2
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -1
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +14 -2
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +14 -2
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +9 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +9 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -1
- package/dist/app.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -5,15 +5,15 @@ const PaypalGetInvoiceInput = z.object({ invoice_id: z.string().describe("The ID
|
|
|
5
5
|
const PaypalGetInvoice_TaxTotalSchema = z.object({
|
|
6
6
|
value: z.string().describe("Value").nullable().optional(),
|
|
7
7
|
currency_code: z.string().describe("Currency code").nullable().optional()
|
|
8
|
-
}).describe("Model for tax total breakdown.");
|
|
8
|
+
}).passthrough().describe("Model for tax total breakdown.");
|
|
9
9
|
const PaypalGetInvoice_DiscountSchema = z.object({
|
|
10
10
|
value: z.string().describe("Value").nullable().optional(),
|
|
11
11
|
currency_code: z.string().describe("Currency code").nullable().optional()
|
|
12
|
-
}).describe("Model for discount breakdown.");
|
|
12
|
+
}).passthrough().describe("Model for discount breakdown.");
|
|
13
13
|
const PaypalGetInvoice_MoneySchema = z.object({
|
|
14
14
|
value: z.string().describe("The monetary value. For currencies like JPY that are not typically fractional, this is an integer.").nullable(),
|
|
15
15
|
currency_code: z.string().describe("The three-character ISO-4217 currency code that identifies the currency.").nullable()
|
|
16
|
-
}).describe("Model for currency and amount.");
|
|
16
|
+
}).passthrough().describe("Model for currency and amount.");
|
|
17
17
|
const PaypalGetInvoice_InvoiceItemSchema = z.object({
|
|
18
18
|
id: z.string().describe("Item ID").nullable().optional(),
|
|
19
19
|
tax: PaypalGetInvoice_TaxTotalSchema.nullable().optional(),
|
|
@@ -24,46 +24,46 @@ const PaypalGetInvoice_InvoiceItemSchema = z.object({
|
|
|
24
24
|
description: z.string().describe("Item description").nullable().optional(),
|
|
25
25
|
unit_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),
|
|
26
26
|
unit_of_measure: z.string().describe("Unit of measure").nullable().optional()
|
|
27
|
-
}).describe("Model for invoice line item.");
|
|
27
|
+
}).passthrough().describe("Model for invoice line item.");
|
|
28
28
|
const PaypalGetInvoice_LinkDescriptionSchema = z.object({
|
|
29
29
|
rel: z.string().describe("The relationship between the response and the linked resource").nullable(),
|
|
30
30
|
href: z.string().describe("The URL of the link").nullable(),
|
|
31
31
|
method: z.string().describe("The HTTP method to use when following the link").nullable().optional()
|
|
32
|
-
}).describe("Model for HATEOAS link information.");
|
|
32
|
+
}).passthrough().describe("Model for HATEOAS link information.");
|
|
33
33
|
const PaypalGetInvoice_CustomAmountSchema = z.object({
|
|
34
34
|
value: z.string().describe("Value").nullable().optional(),
|
|
35
35
|
currency_code: z.string().describe("Currency code").nullable().optional()
|
|
36
|
-
}).describe("Model for custom amount breakdown.");
|
|
36
|
+
}).passthrough().describe("Model for custom amount breakdown.");
|
|
37
37
|
const PaypalGetInvoice_ShippingSchema = z.object({
|
|
38
38
|
value: z.string().describe("Value").nullable().optional(),
|
|
39
39
|
currency_code: z.string().describe("Currency code").nullable().optional()
|
|
40
|
-
}).describe("Model for shipping cost breakdown.");
|
|
40
|
+
}).passthrough().describe("Model for shipping cost breakdown.");
|
|
41
41
|
const PaypalGetInvoice_ItemTotalSchema = z.object({
|
|
42
42
|
value: z.string().describe("Value").nullable().optional(),
|
|
43
43
|
currency_code: z.string().describe("Currency code").nullable().optional()
|
|
44
|
-
}).describe("Model for item total breakdown.");
|
|
44
|
+
}).passthrough().describe("Model for item total breakdown.");
|
|
45
45
|
const PaypalGetInvoice_AmountBreakdownSchema = z.object({
|
|
46
46
|
custom: PaypalGetInvoice_CustomAmountSchema.nullable().optional(),
|
|
47
47
|
discount: PaypalGetInvoice_DiscountSchema.nullable().optional(),
|
|
48
48
|
shipping: PaypalGetInvoice_ShippingSchema.nullable().optional(),
|
|
49
49
|
tax_total: PaypalGetInvoice_TaxTotalSchema.nullable().optional(),
|
|
50
50
|
item_total: PaypalGetInvoice_ItemTotalSchema.nullable().optional()
|
|
51
|
-
}).describe("Model for amount breakdown including item total, tax, shipping, and discounts.");
|
|
51
|
+
}).passthrough().describe("Model for amount breakdown including item total, tax, shipping, and discounts.");
|
|
52
52
|
const PaypalGetInvoice_InvoiceAmountSchema = z.object({
|
|
53
53
|
value: z.string().describe("The monetary value").nullable(),
|
|
54
54
|
breakdown: PaypalGetInvoice_AmountBreakdownSchema.nullable().optional(),
|
|
55
55
|
currency_code: z.string().describe("The three-character ISO-4217 currency code").nullable()
|
|
56
|
-
}).describe("Model for invoice amount summary.");
|
|
56
|
+
}).passthrough().describe("Model for invoice amount summary.");
|
|
57
57
|
const PaypalGetInvoice_InvoiceMetadataSchema = z.object({
|
|
58
58
|
preview: z.boolean().describe("Whether this is a preview").nullable().optional(),
|
|
59
59
|
create_time: z.string().describe("When the invoice was created").nullable().optional(),
|
|
60
60
|
last_sent_time: z.string().describe("When the invoice was last sent").nullable().optional(),
|
|
61
61
|
last_updated_time: z.string().describe("When the invoice was last updated").nullable().optional()
|
|
62
|
-
}).describe("Model for invoice metadata.");
|
|
62
|
+
}).passthrough().describe("Model for invoice metadata.");
|
|
63
63
|
const PaypalGetInvoice_PaymentTermSchema = z.object({
|
|
64
64
|
due_by: z.string().describe("The due date for the payment term").nullable().optional(),
|
|
65
65
|
interval: z.string().describe("The interval for the payment term").nullable().optional()
|
|
66
|
-
}).describe("Model for payment term.");
|
|
66
|
+
}).passthrough().describe("Model for payment term.");
|
|
67
67
|
const PaypalGetInvoice_InvoiceDetailSchema = z.object({
|
|
68
68
|
memo: z.string().describe("A note for the payer").nullable().optional(),
|
|
69
69
|
note: z.string().describe("A note to the merchant").nullable().optional(),
|
|
@@ -74,15 +74,15 @@ const PaypalGetInvoice_InvoiceDetailSchema = z.object({
|
|
|
74
74
|
currency_code: z.string().describe("The three-character ISO-4217 currency code").nullable(),
|
|
75
75
|
invoice_number: z.string().describe("The unique invoice number").nullable().optional(),
|
|
76
76
|
terms_and_conditions: z.string().describe("The terms and conditions").nullable().optional()
|
|
77
|
-
}).describe("Model for invoice details.");
|
|
77
|
+
}).passthrough().describe("Model for invoice details.");
|
|
78
78
|
const PaypalGetInvoice_RefundTransactionSchema = z.object({
|
|
79
79
|
date: z.string().describe("Refund date").nullable().optional(),
|
|
80
80
|
type: z.string().describe("Refund type").nullable().optional()
|
|
81
|
-
}).describe("Model for refund transaction detail.");
|
|
81
|
+
}).passthrough().describe("Model for refund transaction detail.");
|
|
82
82
|
const PaypalGetInvoice_RefundsSchema = z.object({
|
|
83
83
|
transactions: z.array(PaypalGetInvoice_RefundTransactionSchema).describe("Refund transactions").nullable().optional(),
|
|
84
84
|
refund_amount: PaypalGetInvoice_MoneySchema.nullable().optional()
|
|
85
|
-
}).describe("Model for invoice refunds.");
|
|
85
|
+
}).passthrough().describe("Model for invoice refunds.");
|
|
86
86
|
const PaypalGetInvoice_InvoicerSchema = z.object({
|
|
87
87
|
tax_id: z.string().describe("Tax identification number").nullable().optional(),
|
|
88
88
|
website: z.string().describe("Website URL").nullable().optional(),
|
|
@@ -90,21 +90,21 @@ const PaypalGetInvoice_InvoicerSchema = z.object({
|
|
|
90
90
|
business_name: z.string().describe("Business name of the invoicer").nullable().optional(),
|
|
91
91
|
email_address: z.string().describe("Email address of the invoicer").nullable().optional(),
|
|
92
92
|
additional_notes: z.string().describe("Additional notes").nullable().optional()
|
|
93
|
-
}).describe("Model for invoicer information.");
|
|
93
|
+
}).passthrough().describe("Model for invoicer information.");
|
|
94
94
|
const PaypalGetInvoice_PaymentTransactionSchema = z.object({
|
|
95
95
|
date: z.string().describe("Transaction date").nullable().optional(),
|
|
96
96
|
type: z.string().describe("Payment type").nullable().optional(),
|
|
97
97
|
amount: PaypalGetInvoice_MoneySchema.nullable().optional(),
|
|
98
98
|
method: z.string().describe("Payment method").nullable().optional()
|
|
99
|
-
}).describe("Model for payment transaction detail.");
|
|
99
|
+
}).passthrough().describe("Model for payment transaction detail.");
|
|
100
100
|
const PaypalGetInvoice_PaymentsSchema = z.object({
|
|
101
101
|
paid_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),
|
|
102
102
|
transactions: z.array(PaypalGetInvoice_PaymentTransactionSchema).describe("Payment transactions").nullable().optional()
|
|
103
|
-
}).describe("Model for invoice payments.");
|
|
103
|
+
}).passthrough().describe("Model for invoice payments.");
|
|
104
104
|
const PaypalGetInvoice_PartialPaymentSchema = z.object({
|
|
105
105
|
min_amount_due: PaypalGetInvoice_MoneySchema.nullable().optional(),
|
|
106
106
|
allow_partial_payment: z.boolean().describe("Whether partial payments are allowed").nullable().optional()
|
|
107
|
-
}).describe("Model for partial payment configuration.");
|
|
107
|
+
}).passthrough().describe("Model for partial payment configuration.");
|
|
108
108
|
const PaypalGetInvoice_ConfigurationSchema = z.object({
|
|
109
109
|
allow_tip: z.boolean().describe("Whether to allow tip").nullable().optional(),
|
|
110
110
|
template_id: z.string().describe("Template ID used for this invoice").nullable().optional(),
|
|
@@ -112,23 +112,23 @@ const PaypalGetInvoice_ConfigurationSchema = z.object({
|
|
|
112
112
|
partial_payment: PaypalGetInvoice_PartialPaymentSchema.nullable().optional(),
|
|
113
113
|
has_conditional_rule: z.boolean().describe("Whether conditional rules apply").nullable().optional(),
|
|
114
114
|
tax_calculated_after_discount: z.boolean().describe("Whether tax is calculated after discount").nullable().optional()
|
|
115
|
-
}).describe("Model for invoice configuration.");
|
|
115
|
+
}).passthrough().describe("Model for invoice configuration.");
|
|
116
116
|
const PaypalGetInvoice_BillingInfoSchema = z.object({
|
|
117
117
|
last_name: z.string().describe("Last name").nullable().optional(),
|
|
118
118
|
first_name: z.string().describe("First name").nullable().optional(),
|
|
119
119
|
business_name: z.string().describe("Business name").nullable().optional(),
|
|
120
120
|
email_address: z.string().describe("Email address").nullable().optional()
|
|
121
|
-
}).describe("Model for billing information.");
|
|
121
|
+
}).passthrough().describe("Model for billing information.");
|
|
122
122
|
const PaypalGetInvoice_ShippingInfoSchema = z.object({
|
|
123
123
|
last_name: z.string().describe("Last name").nullable().optional(),
|
|
124
124
|
first_name: z.string().describe("First name").nullable().optional(),
|
|
125
125
|
business_name: z.string().describe("Business name").nullable().optional(),
|
|
126
126
|
email_address: z.string().describe("Email address").nullable().optional()
|
|
127
|
-
}).describe("Model for shipping information.");
|
|
127
|
+
}).passthrough().describe("Model for shipping information.");
|
|
128
128
|
const PaypalGetInvoice_RecipientSchema = z.object({
|
|
129
129
|
billing_info: PaypalGetInvoice_BillingInfoSchema.nullable().optional(),
|
|
130
130
|
shipping_info: PaypalGetInvoice_ShippingInfoSchema.nullable().optional()
|
|
131
|
-
}).describe("Model for primary recipient information.");
|
|
131
|
+
}).passthrough().describe("Model for primary recipient information.");
|
|
132
132
|
const paypalGetInvoice = action("PAYPAL_GET_INVOICE", {
|
|
133
133
|
slug: "paypal-get-invoice",
|
|
134
134
|
name: "Get Invoice",
|
|
@@ -150,7 +150,7 @@ const paypalGetInvoice = action("PAYPAL_GET_INVOICE", {
|
|
|
150
150
|
configuration: PaypalGetInvoice_ConfigurationSchema.nullable().optional(),
|
|
151
151
|
primary_recipients: z.array(PaypalGetInvoice_RecipientSchema).describe("The billing and shipping information").nullable().optional(),
|
|
152
152
|
additional_recipients: z.array(z.string()).describe("An array of CC: email addresses for notifications").nullable().optional()
|
|
153
|
-
}).describe("Response model containing invoice details from PayPal API.")
|
|
153
|
+
}).passthrough().describe("Response model containing invoice details from PayPal API.")
|
|
154
154
|
});
|
|
155
155
|
//#endregion
|
|
156
156
|
export { paypalGetInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoice.mjs","names":[],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to retrieve.\"),\n}).describe(\"Request model for getting a PayPal invoice by ID.\");\nconst PaypalGetInvoice_TaxTotalSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).describe(\"Model for tax total breakdown.\");\nconst PaypalGetInvoice_DiscountSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).describe(\"Model for discount breakdown.\");\nconst PaypalGetInvoice_MoneySchema = z.object({\n value: z.string().describe(\"The monetary value. For currencies like JPY that are not typically fractional, this is an integer.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\").nullable(),\n}).describe(\"Model for currency and amount.\");\nconst PaypalGetInvoice_InvoiceItemSchema = z.object({\n id: z.string().describe(\"Item ID\").nullable().optional(),\n tax: PaypalGetInvoice_TaxTotalSchema.nullable().optional(),\n name: z.string().describe(\"Item name\").nullable(),\n discount: PaypalGetInvoice_DiscountSchema.nullable().optional(),\n quantity: z.string().describe(\"Quantity\").nullable(),\n item_date: z.string().describe(\"Date of the item\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n unit_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"Unit of measure\").nullable().optional(),\n}).describe(\"Model for invoice line item.\");\nconst PaypalGetInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the response and the linked resource\").nullable(),\n href: z.string().describe(\"The URL of the link\").nullable(),\n method: z.string().describe(\"The HTTP method to use when following the link\").nullable().optional(),\n}).describe(\"Model for HATEOAS link information.\");\nconst PaypalGetInvoice_CustomAmountSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).describe(\"Model for custom amount breakdown.\");\nconst PaypalGetInvoice_ShippingSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).describe(\"Model for shipping cost breakdown.\");\nconst PaypalGetInvoice_ItemTotalSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).describe(\"Model for item total breakdown.\");\nconst PaypalGetInvoice_AmountBreakdownSchema = z.object({\n custom: PaypalGetInvoice_CustomAmountSchema.nullable().optional(),\n discount: PaypalGetInvoice_DiscountSchema.nullable().optional(),\n shipping: PaypalGetInvoice_ShippingSchema.nullable().optional(),\n tax_total: PaypalGetInvoice_TaxTotalSchema.nullable().optional(),\n item_total: PaypalGetInvoice_ItemTotalSchema.nullable().optional(),\n}).describe(\"Model for amount breakdown including item total, tax, shipping, and discounts.\");\nconst PaypalGetInvoice_InvoiceAmountSchema = z.object({\n value: z.string().describe(\"The monetary value\").nullable(),\n breakdown: PaypalGetInvoice_AmountBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code\").nullable(),\n}).describe(\"Model for invoice amount summary.\");\nconst PaypalGetInvoice_InvoiceMetadataSchema = z.object({\n preview: z.boolean().describe(\"Whether this is a preview\").nullable().optional(),\n create_time: z.string().describe(\"When the invoice was created\").nullable().optional(),\n last_sent_time: z.string().describe(\"When the invoice was last sent\").nullable().optional(),\n last_updated_time: z.string().describe(\"When the invoice was last updated\").nullable().optional(),\n}).describe(\"Model for invoice metadata.\");\nconst PaypalGetInvoice_PaymentTermSchema = z.object({\n due_by: z.string().describe(\"The due date for the payment term\").nullable().optional(),\n interval: z.string().describe(\"The interval for the payment term\").nullable().optional(),\n}).describe(\"Model for payment term.\");\nconst PaypalGetInvoice_InvoiceDetailSchema = z.object({\n memo: z.string().describe(\"A note for the payer\").nullable().optional(),\n note: z.string().describe(\"A note to the merchant\").nullable().optional(),\n metadata: PaypalGetInvoice_InvoiceMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"A reference for the invoice\").nullable().optional(),\n invoice_date: z.string().describe(\"The invoice creation date\").nullable().optional(),\n payment_term: PaypalGetInvoice_PaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code\").nullable(),\n invoice_number: z.string().describe(\"The unique invoice number\").nullable().optional(),\n terms_and_conditions: z.string().describe(\"The terms and conditions\").nullable().optional(),\n}).describe(\"Model for invoice details.\");\nconst PaypalGetInvoice_RefundTransactionSchema = z.object({\n date: z.string().describe(\"Refund date\").nullable().optional(),\n type: z.string().describe(\"Refund type\").nullable().optional(),\n}).describe(\"Model for refund transaction detail.\");\nconst PaypalGetInvoice_RefundsSchema = z.object({\n transactions: z.array(PaypalGetInvoice_RefundTransactionSchema).describe(\"Refund transactions\").nullable().optional(),\n refund_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n}).describe(\"Model for invoice refunds.\");\nconst PaypalGetInvoice_InvoicerSchema = z.object({\n tax_id: z.string().describe(\"Tax identification number\").nullable().optional(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n logo_url: z.string().describe(\"URL of the logo image\").nullable().optional(),\n business_name: z.string().describe(\"Business name of the invoicer\").nullable().optional(),\n email_address: z.string().describe(\"Email address of the invoicer\").nullable().optional(),\n additional_notes: z.string().describe(\"Additional notes\").nullable().optional(),\n}).describe(\"Model for invoicer information.\");\nconst PaypalGetInvoice_PaymentTransactionSchema = z.object({\n date: z.string().describe(\"Transaction date\").nullable().optional(),\n type: z.string().describe(\"Payment type\").nullable().optional(),\n amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n method: z.string().describe(\"Payment method\").nullable().optional(),\n}).describe(\"Model for payment transaction detail.\");\nconst PaypalGetInvoice_PaymentsSchema = z.object({\n paid_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n transactions: z.array(PaypalGetInvoice_PaymentTransactionSchema).describe(\"Payment transactions\").nullable().optional(),\n}).describe(\"Model for invoice payments.\");\nconst PaypalGetInvoice_PartialPaymentSchema = z.object({\n min_amount_due: PaypalGetInvoice_MoneySchema.nullable().optional(),\n allow_partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").nullable().optional(),\n}).describe(\"Model for partial payment configuration.\");\nconst PaypalGetInvoice_ConfigurationSchema = z.object({\n allow_tip: z.boolean().describe(\"Whether to allow tip\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for this invoice\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether tax is inclusive in amounts\").nullable().optional(),\n partial_payment: PaypalGetInvoice_PartialPaymentSchema.nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Whether conditional rules apply\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Whether tax is calculated after discount\").nullable().optional(),\n}).describe(\"Model for invoice configuration.\");\nconst PaypalGetInvoice_BillingInfoSchema = z.object({\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n email_address: z.string().describe(\"Email address\").nullable().optional(),\n}).describe(\"Model for billing information.\");\nconst PaypalGetInvoice_ShippingInfoSchema = z.object({\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n email_address: z.string().describe(\"Email address\").nullable().optional(),\n}).describe(\"Model for shipping information.\");\nconst PaypalGetInvoice_RecipientSchema = z.object({\n billing_info: PaypalGetInvoice_BillingInfoSchema.nullable().optional(),\n shipping_info: PaypalGetInvoice_ShippingInfoSchema.nullable().optional(),\n}).describe(\"Model for primary recipient information.\");\nexport const PaypalGetInvoiceOutput = z.object({\n id: z.string().describe(\"The ID of the invoice\").nullable().optional(),\n items: z.array(PaypalGetInvoice_InvoiceItemSchema).describe(\"An array of invoice line item information\").nullable().optional(),\n links: z.array(PaypalGetInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links\").nullable().optional(),\n amount: PaypalGetInvoice_InvoiceAmountSchema.nullable().optional(),\n detail: PaypalGetInvoice_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice. Possible values: 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\").nullable().optional(),\n refunds: PaypalGetInvoice_RefundsSchema.nullable().optional(),\n gratuity: PaypalGetInvoice_MoneySchema.nullable().optional(),\n invoicer: PaypalGetInvoice_InvoicerSchema.nullable().optional(),\n payments: PaypalGetInvoice_PaymentsSchema.nullable().optional(),\n parent_id: z.string().describe(\"The parent ID for a group invoice\").nullable().optional(),\n due_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n configuration: PaypalGetInvoice_ConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalGetInvoice_RecipientSchema).describe(\"The billing and shipping information\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC: email addresses for notifications\").nullable().optional(),\n}).describe(\"Response model containing invoice details from PayPal API.\");\n\nexport const paypalGetInvoice = action(\"PAYPAL_GET_INVOICE\", {\n slug: \"paypal-get-invoice\",\n name: \"Get Invoice\",\n description: \"Retrieves detailed information about a specific PayPal invoice by its ID. Use this action when you need to get details about an existing invoice, such as its status, amount, line items, payment history, or refund information. This is useful for verifying invoice details, tracking payment status, or auditing invoice information. This is a read-only operation that returns the complete invoice details including invoicer information, recipient details, items, amounts, payments, refunds, and HATEOAS links for related actions. Note: The invoice ID is a path parameter, not a query parameter.\",\n input: PaypalGetInvoiceInput,\n output: PaypalGetInvoiceOutput,\n});\n"],"mappings":";;;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AAU,gCAAgC,SAAS,CAAC,CAAC,SAAS;EAC9D,WAAW,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxF,YAAY,6BAA6B,SAAS,CAAC,CAAC,SAAS;EAC7D,eAAe,qCAAqC,SAAS,CAAC,CAAC,SAAS;EACxE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,SAAS,4DAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-invoice.mjs","names":[],"sources":["../../src/actions/get-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to retrieve.\"),\n}).describe(\"Request model for getting a PayPal invoice by ID.\");\nconst PaypalGetInvoice_TaxTotalSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for tax total breakdown.\");\nconst PaypalGetInvoice_DiscountSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for discount breakdown.\");\nconst PaypalGetInvoice_MoneySchema = z.object({\n value: z.string().describe(\"The monetary value. For currencies like JPY that are not typically fractional, this is an integer.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\").nullable(),\n}).passthrough().describe(\"Model for currency and amount.\");\nconst PaypalGetInvoice_InvoiceItemSchema = z.object({\n id: z.string().describe(\"Item ID\").nullable().optional(),\n tax: PaypalGetInvoice_TaxTotalSchema.nullable().optional(),\n name: z.string().describe(\"Item name\").nullable(),\n discount: PaypalGetInvoice_DiscountSchema.nullable().optional(),\n quantity: z.string().describe(\"Quantity\").nullable(),\n item_date: z.string().describe(\"Date of the item\").nullable().optional(),\n description: z.string().describe(\"Item description\").nullable().optional(),\n unit_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"Unit of measure\").nullable().optional(),\n}).passthrough().describe(\"Model for invoice line item.\");\nconst PaypalGetInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the response and the linked resource\").nullable(),\n href: z.string().describe(\"The URL of the link\").nullable(),\n method: z.string().describe(\"The HTTP method to use when following the link\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information.\");\nconst PaypalGetInvoice_CustomAmountSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for custom amount breakdown.\");\nconst PaypalGetInvoice_ShippingSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for shipping cost breakdown.\");\nconst PaypalGetInvoice_ItemTotalSchema = z.object({\n value: z.string().describe(\"Value\").nullable().optional(),\n currency_code: z.string().describe(\"Currency code\").nullable().optional(),\n}).passthrough().describe(\"Model for item total breakdown.\");\nconst PaypalGetInvoice_AmountBreakdownSchema = z.object({\n custom: PaypalGetInvoice_CustomAmountSchema.nullable().optional(),\n discount: PaypalGetInvoice_DiscountSchema.nullable().optional(),\n shipping: PaypalGetInvoice_ShippingSchema.nullable().optional(),\n tax_total: PaypalGetInvoice_TaxTotalSchema.nullable().optional(),\n item_total: PaypalGetInvoice_ItemTotalSchema.nullable().optional(),\n}).passthrough().describe(\"Model for amount breakdown including item total, tax, shipping, and discounts.\");\nconst PaypalGetInvoice_InvoiceAmountSchema = z.object({\n value: z.string().describe(\"The monetary value\").nullable(),\n breakdown: PaypalGetInvoice_AmountBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code\").nullable(),\n}).passthrough().describe(\"Model for invoice amount summary.\");\nconst PaypalGetInvoice_InvoiceMetadataSchema = z.object({\n preview: z.boolean().describe(\"Whether this is a preview\").nullable().optional(),\n create_time: z.string().describe(\"When the invoice was created\").nullable().optional(),\n last_sent_time: z.string().describe(\"When the invoice was last sent\").nullable().optional(),\n last_updated_time: z.string().describe(\"When the invoice was last updated\").nullable().optional(),\n}).passthrough().describe(\"Model for invoice metadata.\");\nconst PaypalGetInvoice_PaymentTermSchema = z.object({\n due_by: z.string().describe(\"The due date for the payment term\").nullable().optional(),\n interval: z.string().describe(\"The interval for the payment term\").nullable().optional(),\n}).passthrough().describe(\"Model for payment term.\");\nconst PaypalGetInvoice_InvoiceDetailSchema = z.object({\n memo: z.string().describe(\"A note for the payer\").nullable().optional(),\n note: z.string().describe(\"A note to the merchant\").nullable().optional(),\n metadata: PaypalGetInvoice_InvoiceMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"A reference for the invoice\").nullable().optional(),\n invoice_date: z.string().describe(\"The invoice creation date\").nullable().optional(),\n payment_term: PaypalGetInvoice_PaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code\").nullable(),\n invoice_number: z.string().describe(\"The unique invoice number\").nullable().optional(),\n terms_and_conditions: z.string().describe(\"The terms and conditions\").nullable().optional(),\n}).passthrough().describe(\"Model for invoice details.\");\nconst PaypalGetInvoice_RefundTransactionSchema = z.object({\n date: z.string().describe(\"Refund date\").nullable().optional(),\n type: z.string().describe(\"Refund type\").nullable().optional(),\n}).passthrough().describe(\"Model for refund transaction detail.\");\nconst PaypalGetInvoice_RefundsSchema = z.object({\n transactions: z.array(PaypalGetInvoice_RefundTransactionSchema).describe(\"Refund transactions\").nullable().optional(),\n refund_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"Model for invoice refunds.\");\nconst PaypalGetInvoice_InvoicerSchema = z.object({\n tax_id: z.string().describe(\"Tax identification number\").nullable().optional(),\n website: z.string().describe(\"Website URL\").nullable().optional(),\n logo_url: z.string().describe(\"URL of the logo image\").nullable().optional(),\n business_name: z.string().describe(\"Business name of the invoicer\").nullable().optional(),\n email_address: z.string().describe(\"Email address of the invoicer\").nullable().optional(),\n additional_notes: z.string().describe(\"Additional notes\").nullable().optional(),\n}).passthrough().describe(\"Model for invoicer information.\");\nconst PaypalGetInvoice_PaymentTransactionSchema = z.object({\n date: z.string().describe(\"Transaction date\").nullable().optional(),\n type: z.string().describe(\"Payment type\").nullable().optional(),\n amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n method: z.string().describe(\"Payment method\").nullable().optional(),\n}).passthrough().describe(\"Model for payment transaction detail.\");\nconst PaypalGetInvoice_PaymentsSchema = z.object({\n paid_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n transactions: z.array(PaypalGetInvoice_PaymentTransactionSchema).describe(\"Payment transactions\").nullable().optional(),\n}).passthrough().describe(\"Model for invoice payments.\");\nconst PaypalGetInvoice_PartialPaymentSchema = z.object({\n min_amount_due: PaypalGetInvoice_MoneySchema.nullable().optional(),\n allow_partial_payment: z.boolean().describe(\"Whether partial payments are allowed\").nullable().optional(),\n}).passthrough().describe(\"Model for partial payment configuration.\");\nconst PaypalGetInvoice_ConfigurationSchema = z.object({\n allow_tip: z.boolean().describe(\"Whether to allow tip\").nullable().optional(),\n template_id: z.string().describe(\"Template ID used for this invoice\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether tax is inclusive in amounts\").nullable().optional(),\n partial_payment: PaypalGetInvoice_PartialPaymentSchema.nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Whether conditional rules apply\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Whether tax is calculated after discount\").nullable().optional(),\n}).passthrough().describe(\"Model for invoice configuration.\");\nconst PaypalGetInvoice_BillingInfoSchema = z.object({\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n email_address: z.string().describe(\"Email address\").nullable().optional(),\n}).passthrough().describe(\"Model for billing information.\");\nconst PaypalGetInvoice_ShippingInfoSchema = z.object({\n last_name: z.string().describe(\"Last name\").nullable().optional(),\n first_name: z.string().describe(\"First name\").nullable().optional(),\n business_name: z.string().describe(\"Business name\").nullable().optional(),\n email_address: z.string().describe(\"Email address\").nullable().optional(),\n}).passthrough().describe(\"Model for shipping information.\");\nconst PaypalGetInvoice_RecipientSchema = z.object({\n billing_info: PaypalGetInvoice_BillingInfoSchema.nullable().optional(),\n shipping_info: PaypalGetInvoice_ShippingInfoSchema.nullable().optional(),\n}).passthrough().describe(\"Model for primary recipient information.\");\nexport const PaypalGetInvoiceOutput = z.object({\n id: z.string().describe(\"The ID of the invoice\").nullable().optional(),\n items: z.array(PaypalGetInvoice_InvoiceItemSchema).describe(\"An array of invoice line item information\").nullable().optional(),\n links: z.array(PaypalGetInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links\").nullable().optional(),\n amount: PaypalGetInvoice_InvoiceAmountSchema.nullable().optional(),\n detail: PaypalGetInvoice_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice. Possible values: 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\").nullable().optional(),\n refunds: PaypalGetInvoice_RefundsSchema.nullable().optional(),\n gratuity: PaypalGetInvoice_MoneySchema.nullable().optional(),\n invoicer: PaypalGetInvoice_InvoicerSchema.nullable().optional(),\n payments: PaypalGetInvoice_PaymentsSchema.nullable().optional(),\n parent_id: z.string().describe(\"The parent ID for a group invoice\").nullable().optional(),\n due_amount: PaypalGetInvoice_MoneySchema.nullable().optional(),\n configuration: PaypalGetInvoice_ConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalGetInvoice_RecipientSchema).describe(\"The billing and shipping information\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC: email addresses for notifications\").nullable().optional(),\n}).passthrough().describe(\"Response model containing invoice details from PayPal API.\");\n\nexport const paypalGetInvoice = action(\"PAYPAL_GET_INVOICE\", {\n slug: \"paypal-get-invoice\",\n name: \"Get Invoice\",\n description: \"Retrieves detailed information about a specific PayPal invoice by its ID. Use this action when you need to get details about an existing invoice, such as its status, amount, line items, payment history, or refund information. This is useful for verifying invoice details, tracking payment status, or auditing invoice information. This is a read-only operation that returns the complete invoice details including invoicer information, recipient details, items, amounts, payments, refunds, and HATEOAS links for related actions. Note: The invoice ID is a path parameter, not a query parameter.\",\n input: PaypalGetInvoiceInput,\n output: PaypalGetInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACtE,CAAC,CAAC,CAAC,SAAS,mDAAmD;AAC/D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAC1D,MAAM,kCAAkC,EAAE,OAAO;CAC/C,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,OAAO,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxD,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,eAAe,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC1E,CAAC,CAAC,CAAC,YAAY,CAAC,CAA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AS;EACxE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAOhB;AACV,CAAC"}
|
|
@@ -11,11 +11,11 @@ const PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema = zod.z.object({
|
|
|
11
11
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
12
12
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
13
13
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const PaypalGetInvoicingInvoicesQrCodeOutput = zod.z.object({
|
|
16
16
|
qr_code: PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema.nullable(),
|
|
17
17
|
content_type: zod.z.string().describe("The content type of the response, typically 'image/png'.").nullable().optional()
|
|
18
|
-
}).describe("Response containing the QR code image data for a PayPal invoice.");
|
|
18
|
+
}).passthrough().describe("Response containing the QR code image data for a PayPal invoice.");
|
|
19
19
|
const paypalGetInvoicingInvoicesQrCode = require_action.action("PAYPAL_GET_INVOICING_INVOICES_QR_CODE", {
|
|
20
20
|
slug: "paypal-get-invoicing-invoices-qr-code",
|
|
21
21
|
name: "Get Invoice QR Code",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoicing-invoices-qr-code.cjs","names":["z","action"],"sources":["../../src/actions/get-invoicing-invoices-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetInvoicingInvoicesQrCodeInput = z.object({\n width: z.number().int().default(200).describe(\"The width of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n action: z.string().default(\"pay\").describe(\"The action for the QR code. Can be 'pay' for payment or 'capture' for payment capture.\").optional(),\n height: z.number().int().default(200).describe(\"The height of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request to generate a QR code for a PayPal invoice.\");\nconst PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const PaypalGetInvoicingInvoicesQrCodeOutput = z.object({\n qr_code: PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema.nullable(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).describe(\"Response containing the QR code image data for a PayPal invoice.\");\n\nexport const paypalGetInvoicingInvoicesQrCode = action(\"PAYPAL_GET_INVOICING_INVOICES_QR_CODE\", {\n slug: \"paypal-get-invoicing-invoices-qr-code\",\n name: \"Get Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice. Use this action when you need to display a scannable QR code that customers can use to pay an invoice. The QR code contains encoded payment information that redirects customers to PayPal to complete the payment. You can customize the QR code dimensions using the width and height parameters. Note: The PayPal Invoicing v1 API is deprecated. Consider migrating to the v2 API for new integrations.\",\n input: PaypalGetInvoicingInvoicesQrCodeInput,\n output: PaypalGetInvoicingInvoicesQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC7J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-invoicing-invoices-qr-code.cjs","names":["z","action"],"sources":["../../src/actions/get-invoicing-invoices-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetInvoicingInvoicesQrCodeInput = z.object({\n width: z.number().int().default(200).describe(\"The width of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n action: z.string().default(\"pay\").describe(\"The action for the QR code. Can be 'pay' for payment or 'capture' for payment capture.\").optional(),\n height: z.number().int().default(200).describe(\"The height of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request to generate a QR code for a PayPal invoice.\");\nconst PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGetInvoicingInvoicesQrCodeOutput = z.object({\n qr_code: PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema.nullable(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the QR code image data for a PayPal invoice.\");\n\nexport const paypalGetInvoicingInvoicesQrCode = action(\"PAYPAL_GET_INVOICING_INVOICES_QR_CODE\", {\n slug: \"paypal-get-invoicing-invoices-qr-code\",\n name: \"Get Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice. Use this action when you need to display a scannable QR code that customers can use to pay an invoice. The QR code contains encoded payment information that redirects customers to PayPal to complete the payment. You can customize the QR code dimensions using the width and height parameters. Note: The PayPal Invoicing v1 API is deprecated. Consider migrating to the v2 API for new integrations.\",\n input: PaypalGetInvoicingInvoicesQrCodeInput,\n output: PaypalGetInvoicingInvoicesQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3J,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9I,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC7J,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0DAA0DA,IAAAA,EAAE,OAAO;CACvE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AACf,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAAS,wDAAwD,SAAS;CAC1E,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAAkE;AAE5F,MAAa,mCAAmCC,eAAAA,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -12,15 +12,27 @@ declare const PaypalGetInvoicingInvoicesQrCodeOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
s3url: z.ZodNullable<z.ZodString>;
|
|
14
14
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const paypalGetInvoicingInvoicesQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
invoice_id: string;
|
|
20
20
|
width?: number | undefined;
|
|
21
21
|
action?: string | undefined;
|
|
22
22
|
height?: number | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
accessToken: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
30
|
+
connectionId: z.ZodString;
|
|
31
|
+
entityId: z.ZodString;
|
|
32
|
+
instanceId: z.ZodString;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
accessToken: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
24
36
|
//#endregion
|
|
25
37
|
export { paypalGetInvoicingInvoicesQrCode };
|
|
26
38
|
//# sourceMappingURL=get-invoicing-invoices-qr-code.d.cts.map
|
|
@@ -12,15 +12,27 @@ declare const PaypalGetInvoicingInvoicesQrCodeOutput: z.ZodObject<{
|
|
|
12
12
|
name: z.ZodNullable<z.ZodString>;
|
|
13
13
|
s3url: z.ZodNullable<z.ZodString>;
|
|
14
14
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
15
|
-
}, z.core.$
|
|
15
|
+
}, z.core.$loose>>;
|
|
16
16
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>;
|
|
18
18
|
declare const paypalGetInvoicingInvoicesQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
19
19
|
invoice_id: string;
|
|
20
20
|
width?: number | undefined;
|
|
21
21
|
action?: string | undefined;
|
|
22
22
|
height?: number | undefined;
|
|
23
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential
|
|
23
|
+
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
24
|
+
connectionId: z.ZodString;
|
|
25
|
+
entityId: z.ZodString;
|
|
26
|
+
instanceId: z.ZodString;
|
|
27
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
28
|
+
accessToken: z.ZodString;
|
|
29
|
+
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
30
|
+
connectionId: z.ZodString;
|
|
31
|
+
entityId: z.ZodString;
|
|
32
|
+
instanceId: z.ZodString;
|
|
33
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
34
|
+
accessToken: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>]>;
|
|
24
36
|
//#endregion
|
|
25
37
|
export { paypalGetInvoicingInvoicesQrCode };
|
|
26
38
|
//# sourceMappingURL=get-invoicing-invoices-qr-code.d.mts.map
|
|
@@ -11,7 +11,7 @@ const PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema = z.object({
|
|
|
11
11
|
name: z.string().describe("Name of the file").nullable(),
|
|
12
12
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
13
13
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
14
|
-
});
|
|
14
|
+
}).passthrough();
|
|
15
15
|
const paypalGetInvoicingInvoicesQrCode = action("PAYPAL_GET_INVOICING_INVOICES_QR_CODE", {
|
|
16
16
|
slug: "paypal-get-invoicing-invoices-qr-code",
|
|
17
17
|
name: "Get Invoice QR Code",
|
|
@@ -20,7 +20,7 @@ const paypalGetInvoicingInvoicesQrCode = action("PAYPAL_GET_INVOICING_INVOICES_Q
|
|
|
20
20
|
output: z.object({
|
|
21
21
|
qr_code: PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema.nullable(),
|
|
22
22
|
content_type: z.string().describe("The content type of the response, typically 'image/png'.").nullable().optional()
|
|
23
|
-
}).describe("Response containing the QR code image data for a PayPal invoice.")
|
|
23
|
+
}).passthrough().describe("Response containing the QR code image data for a PayPal invoice.")
|
|
24
24
|
});
|
|
25
25
|
//#endregion
|
|
26
26
|
export { paypalGetInvoicingInvoicesQrCode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-invoicing-invoices-qr-code.mjs","names":[],"sources":["../../src/actions/get-invoicing-invoices-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetInvoicingInvoicesQrCodeInput = z.object({\n width: z.number().int().default(200).describe(\"The width of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n action: z.string().default(\"pay\").describe(\"The action for the QR code. Can be 'pay' for payment or 'capture' for payment capture.\").optional(),\n height: z.number().int().default(200).describe(\"The height of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request to generate a QR code for a PayPal invoice.\");\nconst PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const PaypalGetInvoicingInvoicesQrCodeOutput = z.object({\n qr_code: PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema.nullable(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).describe(\"Response containing the QR code image data for a PayPal invoice.\");\n\nexport const paypalGetInvoicingInvoicesQrCode = action(\"PAYPAL_GET_INVOICING_INVOICES_QR_CODE\", {\n slug: \"paypal-get-invoicing-invoices-qr-code\",\n name: \"Get Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice. Use this action when you need to display a scannable QR code that customers can use to pay an invoice. The QR code contains encoded payment information that redirects customers to PayPal to complete the payment. You can customize the QR code dimensions using the width and height parameters. Note: The PayPal Invoicing v1 API is deprecated. Consider migrating to the v2 API for new integrations.\",\n input: PaypalGetInvoicingInvoicesQrCodeInput,\n output: PaypalGetInvoicingInvoicesQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC7J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC;
|
|
1
|
+
{"version":3,"file":"get-invoicing-invoices-qr-code.mjs","names":[],"sources":["../../src/actions/get-invoicing-invoices-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetInvoicingInvoicesQrCodeInput = z.object({\n width: z.number().int().default(200).describe(\"The width of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n action: z.string().default(\"pay\").describe(\"The action for the QR code. Can be 'pay' for payment or 'capture' for payment capture.\").optional(),\n height: z.number().int().default(200).describe(\"The height of the QR code image in pixels. The minimum value is 150 and the maximum value is 600.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request to generate a QR code for a PayPal invoice.\");\nconst PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGetInvoicingInvoicesQrCodeOutput = z.object({\n qr_code: PaypalGetInvoicingInvoicesQrCode_FileDownloadableSchema.nullable(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response containing the QR code image data for a PayPal invoice.\");\n\nexport const paypalGetInvoicingInvoicesQrCode = action(\"PAYPAL_GET_INVOICING_INVOICES_QR_CODE\", {\n slug: \"paypal-get-invoicing-invoices-qr-code\",\n name: \"Get Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice. Use this action when you need to display a scannable QR code that customers can use to pay an invoice. The QR code contains encoded payment information that redirects customers to PayPal to complete the payment. You can customize the QR code dimensions using the width and height parameters. Note: The PayPal Invoicing v1 API is deprecated. Consider migrating to the v2 API for new integrations.\",\n input: PaypalGetInvoicingInvoicesQrCodeInput,\n output: PaypalGetInvoicingInvoicesQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwC,EAAE,OAAO;CAC5D,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS;CAC3J,QAAQ,EAAE,OAAO,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAC9I,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC7J,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,0DAA0D,EAAE,OAAO;CACvE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kBAAkB,CAAC,CAAC,SAAS;CACvD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,SAAS;CACtE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;AACnE,CAAC,CAAC,CAAC,YAAY;AAMf,MAAa,mCAAmC,OAAO,yCAAyC;CAC9F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVoD,EAAE,OAAO;EAC7D,SAAS,wDAAwD,SAAS;EAC1E,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,kEAOhB;AACV,CAAC"}
|
|
@@ -6,17 +6,17 @@ const PaypalGetInvoicingTemplate_TemplateLinkDescriptionSchema = zod.z.object({
|
|
|
6
6
|
rel: zod.z.string().describe("The link relationship type (e.g., 'self', 'up').").nullable(),
|
|
7
7
|
href: zod.z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
8
8
|
method: zod.z.string().describe("The HTTP method required to invoke the related resource (e.g., 'GET', 'POST').").nullable().optional()
|
|
9
|
-
}).describe("Model for HATEOAS link information in template responses.");
|
|
10
|
-
const PaypalGetInvoicingTemplate_TemplateItemSettingSchema = zod.z.
|
|
11
|
-
const PaypalGetInvoicingTemplate_TemplateSubtotalSettingSchema = zod.z.
|
|
9
|
+
}).passthrough().describe("Model for HATEOAS link information in template responses.");
|
|
10
|
+
const PaypalGetInvoicingTemplate_TemplateItemSettingSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Model for template item settings (display preference for item headers).");
|
|
11
|
+
const PaypalGetInvoicingTemplate_TemplateSubtotalSettingSchema = zod.z.record(zod.z.string(), zod.z.unknown()).describe("Model for template subtotal settings (display preference for subtotal headers).");
|
|
12
12
|
const PaypalGetInvoicingTemplate_TemplateSettingsSchema = zod.z.object({
|
|
13
13
|
template_item_settings: zod.z.array(PaypalGetInvoicingTemplate_TemplateItemSettingSchema).describe("The template item headers display preference.").nullable().optional(),
|
|
14
14
|
template_subtotal_settings: zod.z.array(PaypalGetInvoicingTemplate_TemplateSubtotalSettingSchema).describe("The template subtotal headers display preference.").nullable().optional()
|
|
15
|
-
}).describe("Model for template settings (sets a template as default or edit template).");
|
|
15
|
+
}).passthrough().describe("Model for template settings (sets a template as default or edit template).");
|
|
16
16
|
const PaypalGetInvoicingTemplate_TemplateMoneySchema = zod.z.object({
|
|
17
17
|
value: zod.z.string().describe("The monetary value.").nullable().optional(),
|
|
18
18
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable().optional()
|
|
19
|
-
}).describe("Model for currency and amount in template context.");
|
|
19
|
+
}).passthrough().describe("Model for currency and amount in template context.");
|
|
20
20
|
const PaypalGetInvoicingTemplate_TemplateInvoiceItemSchema = zod.z.object({
|
|
21
21
|
tax: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
22
22
|
name: zod.z.string().describe("The item name.").nullable().optional(),
|
|
@@ -26,29 +26,29 @@ const PaypalGetInvoicingTemplate_TemplateInvoiceItemSchema = zod.z.object({
|
|
|
26
26
|
description: zod.z.string().describe("The item description.").nullable().optional(),
|
|
27
27
|
unit_amount: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
28
28
|
unit_of_measure: zod.z.string().describe("The unit of measure for the item (e.g., 'QUANTITY', 'HOURS', 'AMOUNT').").nullable().optional()
|
|
29
|
-
}).describe("Model for invoice line-item information within a template.");
|
|
29
|
+
}).passthrough().describe("Model for invoice line-item information within a template.");
|
|
30
30
|
const PaypalGetInvoicingTemplate_TemplateAmountBreakdownSchema = zod.z.object({
|
|
31
31
|
custom: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
32
32
|
discount: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
33
33
|
shipping: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
34
34
|
tax_total: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
35
35
|
item_total: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional()
|
|
36
|
-
}).describe("Model for the amount breakdown within a template.");
|
|
36
|
+
}).passthrough().describe("Model for the amount breakdown within a template.");
|
|
37
37
|
const PaypalGetInvoicingTemplate_TemplateAmountSchema = zod.z.object({
|
|
38
38
|
value: zod.z.string().describe("The monetary value.").nullable().optional(),
|
|
39
39
|
breakdown: PaypalGetInvoicingTemplate_TemplateAmountBreakdownSchema.nullable().optional(),
|
|
40
40
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable().optional()
|
|
41
|
-
}).describe("Model for template amount summary.");
|
|
41
|
+
}).passthrough().describe("Model for template amount summary.");
|
|
42
42
|
const PaypalGetInvoicingTemplate_TemplateMetadataSchema = zod.z.object({
|
|
43
43
|
preview: zod.z.boolean().describe("Indicates whether this is a template preview.").nullable().optional(),
|
|
44
44
|
create_time: zod.z.string().describe("The date and time when the template was created, in RFC3339 format.").nullable().optional(),
|
|
45
45
|
last_sent_time: zod.z.string().describe("The date and time when the template was last sent.").nullable().optional(),
|
|
46
46
|
last_updated_time: zod.z.string().describe("The date and time when the template was last updated.").nullable().optional()
|
|
47
|
-
}).describe("Model for template metadata.");
|
|
47
|
+
}).passthrough().describe("Model for template metadata.");
|
|
48
48
|
const PaypalGetInvoicingTemplate_TemplatePaymentTermSchema = zod.z.object({
|
|
49
49
|
due_by: zod.z.string().describe("The due date for the payment term, in Internet date format.").nullable().optional(),
|
|
50
50
|
interval: zod.z.string().describe("The interval for the payment term.").nullable().optional()
|
|
51
|
-
}).describe("Model for payment term within a template.");
|
|
51
|
+
}).passthrough().describe("Model for payment term within a template.");
|
|
52
52
|
const PaypalGetInvoicingTemplate_TemplateDetailSchema = zod.z.object({
|
|
53
53
|
memo: zod.z.string().describe("A note for the payer.").nullable().optional(),
|
|
54
54
|
note: zod.z.string().describe("A note to the merchant.").nullable().optional(),
|
|
@@ -58,11 +58,11 @@ const PaypalGetInvoicingTemplate_TemplateDetailSchema = zod.z.object({
|
|
|
58
58
|
payment_term: PaypalGetInvoicingTemplate_TemplatePaymentTermSchema.nullable().optional(),
|
|
59
59
|
currency_code: zod.z.string().describe("The three-character ISO-4217 currency code.").nullable(),
|
|
60
60
|
terms_and_conditions: zod.z.string().describe("The terms and conditions.").nullable().optional()
|
|
61
|
-
}).describe("Model for template-related details including notes, terms, memo, and attachments.");
|
|
61
|
+
}).passthrough().describe("Model for template-related details including notes, terms, memo, and attachments.");
|
|
62
62
|
const PaypalGetInvoicingTemplate_PhoneSchema = zod.z.object({
|
|
63
63
|
country_code: zod.z.string().describe("The country code.").nullable().optional(),
|
|
64
64
|
national_number: zod.z.string().describe("The national number.").nullable().optional()
|
|
65
|
-
}).describe("Model for a phone number.");
|
|
65
|
+
}).passthrough().describe("Model for a phone number.");
|
|
66
66
|
const PaypalGetInvoicingTemplate_TemplateInvoicerSchema = zod.z.object({
|
|
67
67
|
phones: zod.z.array(PaypalGetInvoicingTemplate_PhoneSchema).describe("An array of phone numbers.").nullable().optional(),
|
|
68
68
|
tax_id: zod.z.string().describe("The tax identification number.").nullable().optional(),
|
|
@@ -70,34 +70,34 @@ const PaypalGetInvoicingTemplate_TemplateInvoicerSchema = zod.z.object({
|
|
|
70
70
|
logo_url: zod.z.string().describe("The URL of the logo image.").nullable().optional(),
|
|
71
71
|
email_address: zod.z.string().describe("The email address of the invoicer.").nullable().optional(),
|
|
72
72
|
additional_notes: zod.z.string().describe("Additional notes.").nullable().optional()
|
|
73
|
-
}).describe("Model for invoicer business information that appears on the invoice template.");
|
|
73
|
+
}).passthrough().describe("Model for invoicer business information that appears on the invoice template.");
|
|
74
74
|
const PaypalGetInvoicingTemplate_TemplatePartialPaymentSchema = zod.z.object({
|
|
75
75
|
total_due_amount: PaypalGetInvoicingTemplate_TemplateMoneySchema.nullable().optional(),
|
|
76
76
|
allow_partial_payment: zod.z.boolean().describe("Indicates whether the invoice allows partial payment.").nullable().optional()
|
|
77
|
-
}).describe("Model for partial payment configuration in templates.");
|
|
77
|
+
}).passthrough().describe("Model for partial payment configuration in templates.");
|
|
78
78
|
const PaypalGetInvoicingTemplate_TemplateConfigurationSchema = zod.z.object({
|
|
79
79
|
allow_tip: zod.z.boolean().describe("Indicates whether the invoice allows tips.").nullable().optional(),
|
|
80
80
|
tax_inclusive: zod.z.boolean().describe("Indicates whether tax is inclusive in amounts.").nullable().optional(),
|
|
81
81
|
partial_payment: PaypalGetInvoicingTemplate_TemplatePartialPaymentSchema.nullable().optional(),
|
|
82
82
|
has_conditional_rule: zod.z.boolean().describe("Indicates whether conditional rules apply to the invoice.").nullable().optional(),
|
|
83
83
|
tax_calculated_after_discount: zod.z.boolean().describe("Indicates whether tax is calculated after discount.").nullable().optional()
|
|
84
|
-
}).describe("Model for template configuration details.");
|
|
84
|
+
}).passthrough().describe("Model for template configuration details.");
|
|
85
85
|
const PaypalGetInvoicingTemplate_BillingInfoSchema = zod.z.object({
|
|
86
86
|
last_name: zod.z.string().describe("The last name.").nullable().optional(),
|
|
87
87
|
first_name: zod.z.string().describe("The first name.").nullable().optional(),
|
|
88
88
|
business_name: zod.z.string().describe("The business name.").nullable().optional(),
|
|
89
89
|
email_address: zod.z.string().describe("The email address.").nullable().optional()
|
|
90
|
-
}).describe("Model for billing information within template recipient.");
|
|
90
|
+
}).passthrough().describe("Model for billing information within template recipient.");
|
|
91
91
|
const PaypalGetInvoicingTemplate_ShippingInfoSchema = zod.z.object({
|
|
92
92
|
last_name: zod.z.string().describe("The last name.").nullable().optional(),
|
|
93
93
|
first_name: zod.z.string().describe("The first name.").nullable().optional(),
|
|
94
94
|
business_name: zod.z.string().describe("The business name.").nullable().optional(),
|
|
95
95
|
email_address: zod.z.string().describe("The email address.").nullable().optional()
|
|
96
|
-
}).describe("Model for shipping information within template recipient.");
|
|
96
|
+
}).passthrough().describe("Model for shipping information within template recipient.");
|
|
97
97
|
const PaypalGetInvoicingTemplate_RecipientInformationSchema = zod.z.object({
|
|
98
98
|
billing_info: PaypalGetInvoicingTemplate_BillingInfoSchema.nullable().optional(),
|
|
99
99
|
shipping_info: PaypalGetInvoicingTemplate_ShippingInfoSchema.nullable().optional()
|
|
100
|
-
}).describe("Model for recipient information including billing and shipping details.");
|
|
100
|
+
}).passthrough().describe("Model for recipient information including billing and shipping details.");
|
|
101
101
|
const PaypalGetInvoicingTemplate_TemplateInfoSchema = zod.z.object({
|
|
102
102
|
items: zod.z.array(PaypalGetInvoicingTemplate_TemplateInvoiceItemSchema).describe("An array of invoice line-item information.").nullable().optional(),
|
|
103
103
|
amount: PaypalGetInvoicingTemplate_TemplateAmountSchema.nullable().optional(),
|
|
@@ -107,7 +107,7 @@ const PaypalGetInvoicingTemplate_TemplateInfoSchema = zod.z.object({
|
|
|
107
107
|
configuration: PaypalGetInvoicingTemplate_TemplateConfigurationSchema.nullable().optional(),
|
|
108
108
|
primary_recipients: zod.z.array(PaypalGetInvoicingTemplate_RecipientInformationSchema).describe("The billing and shipping information including name, email, address, phone, and language.").nullable().optional(),
|
|
109
109
|
additional_recipients: zod.z.array(zod.z.string()).describe("An array of CC: email addresses to which notifications are sent.").nullable().optional()
|
|
110
|
-
}).describe("Model for template details including invoicer business information, invoice recipients, items, and configuration.");
|
|
110
|
+
}).passthrough().describe("Model for template details including invoicer business information, invoice recipients, items, and configuration.");
|
|
111
111
|
const PaypalGetInvoicingTemplate_UnitOfMeasureSchema = zod.z.enum([
|
|
112
112
|
"QUANTITY",
|
|
113
113
|
"HOURS",
|
|
@@ -122,7 +122,7 @@ const PaypalGetInvoicingTemplateOutput = zod.z.object({
|
|
|
122
122
|
unit_of_measure: PaypalGetInvoicingTemplate_UnitOfMeasureSchema.nullable().optional(),
|
|
123
123
|
default_template: zod.z.boolean().describe("Indicates whether this template is the default template. A invoicer can have one default template.").nullable().optional(),
|
|
124
124
|
standard_template: zod.z.boolean().describe("Indicates whether this template is an invoicer-created custom template. The system generates non-custom templates.").nullable().optional()
|
|
125
|
-
}).describe("Response model containing invoice template details from PayPal API.");
|
|
125
|
+
}).passthrough().describe("Response model containing invoice template details from PayPal API.");
|
|
126
126
|
const paypalGetInvoicingTemplate = require_action.action("PAYPAL_GET_INVOICING_TEMPLATE", {
|
|
127
127
|
slug: "paypal-get-invoicing-template",
|
|
128
128
|
name: "Get Invoice Template",
|