@keystrokehq/paypal 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/activate-plan.cjs +1 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +1 -1
- package/dist/actions/activate-plan.d.mts +1 -1
- package/dist/actions/activate-plan.mjs +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +5 -5
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +8 -7
- package/dist/actions/add-batch-trackers.d.mts +8 -7
- 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 +19 -19
- package/dist/actions/authorize-order.d.mts +19 -19
- 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 +3 -3
- package/dist/actions/cancel-invoice.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/cancel-reminders.d.mts +3 -3
- 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 +9 -9
- package/dist/actions/capture-subscription-payment.d.mts +9 -9
- 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 +1 -1
- package/dist/actions/charge-payment-method.d.mts +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 +36 -33
- package/dist/actions/create-invoice.d.mts +36 -33
- 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 +42 -38
- package/dist/actions/create-payment.d.mts +42 -38
- 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 +11 -9
- package/dist/actions/create-payments-billing-plans.d.mts +11 -9
- 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 +14 -13
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +14 -13
- 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 +2 -2
- package/dist/actions/create-product.d.mts +2 -2
- 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 +21 -20
- package/dist/actions/create-subscription.d.mts +21 -20
- 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 +36 -30
- package/dist/actions/create-template.d.mts +36 -30
- 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 +5 -5
- package/dist/actions/create-web-profile.d.mts +5 -5
- 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 +2 -2
- package/dist/actions/create-webhook-lookup.d.mts +2 -2
- 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 +5 -4
- package/dist/actions/create-webhook.d.mts +5 -4
- 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 +1 -1
- package/dist/actions/deactivate-plan.d.mts +1 -1
- 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 +1 -1
- package/dist/actions/delete-external-payment.d.mts +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +3 -3
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -3
- package/dist/actions/delete-invoice.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/delete-payment-resource.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/delete-template.d.mts +3 -3
- 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 +1 -1
- package/dist/actions/delete-web-profile.d.mts +1 -1
- 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 +3 -3
- package/dist/actions/delete-webhook.d.mts +3 -3
- 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 +5 -5
- package/dist/actions/fetch-node.d.mts +5 -5
- 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 +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
- 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 +11 -10
- package/dist/actions/find-eligible-methods.d.mts +11 -10
- 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 +1 -1
- package/dist/actions/generate-client-token.d.mts +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 +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +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 +4 -4
- package/dist/actions/generate-qr-code.d.mts +4 -4
- 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 +11 -11
- package/dist/actions/get-billing-subscriptions.d.mts +11 -11
- 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 +32 -32
- package/dist/actions/get-invoice.d.mts +32 -32
- 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 +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +2 -2
- 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 +29 -29
- package/dist/actions/get-invoicing-template.d.mts +29 -29
- 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 +24 -24
- package/dist/actions/get-order.d.mts +24 -24
- 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 +22 -22
- package/dist/actions/get-payment.d.mts +22 -22
- 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 +3 -3
- package/dist/actions/get-payments-refund.d.mts +3 -3
- 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 +11 -11
- package/dist/actions/get-plan.d.mts +11 -11
- 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 +2 -2
- package/dist/actions/get-product.d.mts +2 -2
- 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 +13 -13
- package/dist/actions/get-subscription.d.mts +13 -13
- 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 +3 -3
- package/dist/actions/get-user-info.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/get-userinfo.d.mts +3 -3
- 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 +4 -4
- package/dist/actions/get-web-profile.d.mts +4 -4
- 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 +2 -2
- package/dist/actions/get-webhook-lookup.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/get-webhook.d.mts +4 -4
- 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 +6 -6
- package/dist/actions/list-disputes.d.mts +6 -6
- 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 +19 -19
- package/dist/actions/list-invoices.d.mts +19 -19
- 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 +9 -9
- package/dist/actions/list-legacy-billing-plans.d.mts +9 -9
- 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 +24 -24
- package/dist/actions/list-payments.d.mts +24 -24
- 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 +9 -9
- package/dist/actions/list-plans.d.mts +9 -9
- 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 +4 -4
- package/dist/actions/list-products.d.mts +4 -4
- 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 +9 -9
- package/dist/actions/list-templates.d.mts +9 -9
- 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 +6 -6
- package/dist/actions/list-web-profiles.d.mts +6 -6
- 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 +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/list-webhook-event-types.d.mts +3 -3
- 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 +3 -3
- package/dist/actions/list-webhook-lookups.d.mts +3 -3
- 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 +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- 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 +3 -2
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -2
- 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 +3 -2
- package/dist/actions/patch-plan.d.mts +3 -2
- 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 +4 -3
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +4 -3
- 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 +3 -2
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -2
- 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 +2 -2
- package/dist/actions/ping-braintree.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/query-braintree-report.d.mts +4 -4
- 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 +12 -12
- package/dist/actions/retrieve-payment-resource.d.mts +12 -12
- 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 +15 -15
- package/dist/actions/search-invoices.d.mts +15 -15
- 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 +2 -2
- package/dist/actions/send-invoice.d.mts +2 -2
- 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 +4 -4
- package/dist/actions/simulate-webhook-event.d.mts +4 -4
- 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 +4 -3
- package/dist/actions/update-dispute.d.mts +4 -3
- 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 +54 -48
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +54 -48
- 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 +3 -2
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -2
- 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 +5 -4
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +5 -4
- 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 +65 -56
- package/dist/actions/update-templates.d.mts +65 -56
- 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 +2 -2
- package/dist/actions/update-web-profile.d.mts +2 -2
- 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 +2 -2
- package/dist/actions/verify-payment-method.d.mts +2 -2
- 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 +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10,14 +10,14 @@ const PaypalListProducts_LinkDescriptionSchema = z.object({
|
|
|
10
10
|
rel: z.string().describe("The link relation type.").nullable().optional(),
|
|
11
11
|
href: z.string().describe("The hyperlink to the related resource.").nullable().optional(),
|
|
12
12
|
method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
|
|
13
|
-
}).describe("The request-related HATEOAS link information.");
|
|
13
|
+
}).passthrough().describe("The request-related HATEOAS link information.");
|
|
14
14
|
const PaypalListProducts_ProductElementSchema = z.object({
|
|
15
15
|
id: z.string().describe("The unique identifier for the product.").nullable().optional(),
|
|
16
16
|
name: z.string().describe("The product name.").nullable().optional(),
|
|
17
17
|
links: z.array(PaypalListProducts_LinkDescriptionSchema).describe("An array of links related to the product.").nullable().optional(),
|
|
18
18
|
create_time: z.string().describe("The date and time when the product was created.").nullable().optional(),
|
|
19
19
|
description: z.string().describe("The product description.").nullable().optional()
|
|
20
|
-
}).describe("The details for a product in the collection response.");
|
|
20
|
+
}).passthrough().describe("The details for a product in the collection response.");
|
|
21
21
|
const paypalListProducts = action("PAYPAL_LIST_PRODUCTS", {
|
|
22
22
|
slug: "paypal-list-products",
|
|
23
23
|
name: "List PayPal Products",
|
|
@@ -28,7 +28,7 @@ const paypalListProducts = action("PAYPAL_LIST_PRODUCTS", {
|
|
|
28
28
|
products: z.array(PaypalListProducts_ProductElementSchema).describe("An array of products."),
|
|
29
29
|
total_items: z.number().int().describe("The total number of items.").nullable().optional(),
|
|
30
30
|
total_pages: z.number().int().describe("The total number of pages.").nullable().optional()
|
|
31
|
-
}).describe("Response model for listing PayPal products.")
|
|
31
|
+
}).passthrough().describe("Response model for listing PayPal products.")
|
|
32
32
|
});
|
|
33
33
|
//#endregion
|
|
34
34
|
export { paypalListProducts };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListProductsInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items that are returned in the response.\").optional(),\n page_size: z.number().int().default(10).describe(\"The number of items to return in the response. Defaults to 10.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total items and total pages in the response.\").optional(),\n}).describe(\"Request model for listing PayPal products.\");\nconst PaypalListProducts_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListProducts_ProductElementSchema = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable().optional(),\n name: z.string().describe(\"The product name.\").nullable().optional(),\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of links related to the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created.\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n}).describe(\"The details for a product in the collection response.\");\nexport const PaypalListProductsOutput = z.object({\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n products: z.array(PaypalListProducts_ProductElementSchema).describe(\"An array of products.\"),\n total_items: z.number().int().describe(\"The total number of items.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages.\").nullable().optional(),\n}).describe(\"Response model for listing PayPal products.\");\n\nexport const paypalListProducts = action(\"PAYPAL_LIST_PRODUCTS\", {\n slug: \"paypal-list-products\",\n name: \"List PayPal Products\",\n description: \"List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalListProductsInput,\n output: PaypalListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,+CAA+C;
|
|
1
|
+
{"version":3,"file":"list-products.mjs","names":[],"sources":["../../src/actions/list-products.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListProductsInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items that are returned in the response.\").optional(),\n page_size: z.number().int().default(10).describe(\"The number of items to return in the response. Defaults to 10.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total items and total pages in the response.\").optional(),\n}).describe(\"Request model for listing PayPal products.\");\nconst PaypalListProducts_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListProducts_ProductElementSchema = z.object({\n id: z.string().describe(\"The unique identifier for the product.\").nullable().optional(),\n name: z.string().describe(\"The product name.\").nullable().optional(),\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of links related to the product.\").nullable().optional(),\n create_time: z.string().describe(\"The date and time when the product was created.\").nullable().optional(),\n description: z.string().describe(\"The product description.\").nullable().optional(),\n}).passthrough().describe(\"The details for a product in the collection response.\");\nexport const PaypalListProductsOutput = z.object({\n links: z.array(PaypalListProducts_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n products: z.array(PaypalListProducts_ProductElementSchema).describe(\"An array of products.\"),\n total_items: z.number().int().describe(\"The total number of items.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal products.\");\n\nexport const paypalListProducts = action(\"PAYPAL_LIST_PRODUCTS\", {\n slug: \"paypal-list-products\",\n name: \"List PayPal Products\",\n description: \"List products from the PayPal product catalog. Use when you need to retrieve a paginated list of products with their details, such as product IDs, names, and descriptions. This action supports pagination via page_size and page parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalListProductsInput,\n output: PaypalListProductsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4GAA4G,CAAC,CAAC,SAAS;CAClK,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,0CAA0C,EAAE,OAAO;CACvD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnE,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AAQjF,MAAa,qBAAqB,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,UAAU,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,uBAAuB;EAC3F,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzF,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
@@ -10,13 +10,13 @@ const PaypalListTemplates_LinkDescriptionSchema = zod.z.object({
|
|
|
10
10
|
rel: zod.z.string().describe("The link relation type.").nullable().optional(),
|
|
11
11
|
href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
|
|
12
12
|
method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
|
|
13
|
-
}).describe("The request-related HATEOAS link information.");
|
|
13
|
+
}).passthrough().describe("The request-related HATEOAS link information.");
|
|
14
14
|
const PaypalListTemplates_PhoneDetailSchema = zod.z.object({
|
|
15
15
|
phone_type: zod.z.string().describe("The phone type.").nullable().optional(),
|
|
16
16
|
country_code: zod.z.string().describe("The country code.").nullable().optional(),
|
|
17
17
|
national_number: zod.z.string().describe("The national number.").nullable().optional(),
|
|
18
18
|
extension_number: zod.z.string().describe("The extension number.").nullable().optional()
|
|
19
|
-
}).describe("The phone details including the phone number and type.");
|
|
19
|
+
}).passthrough().describe("The phone details including the phone number and type.");
|
|
20
20
|
const PaypalListTemplates_PortablePostalAddressSchema = zod.z.object({
|
|
21
21
|
postal_code: zod.z.string().describe("The postal code.").nullable().optional(),
|
|
22
22
|
admin_area_1: zod.z.string().describe("The first administrative area.").nullable().optional(),
|
|
@@ -27,12 +27,12 @@ const PaypalListTemplates_PortablePostalAddressSchema = zod.z.object({
|
|
|
27
27
|
address_line_1: zod.z.string().describe("Line 1 of the address.").nullable().optional(),
|
|
28
28
|
address_line_2: zod.z.string().describe("Line 2 of the address.").nullable().optional(),
|
|
29
29
|
address_line_3: zod.z.string().describe("Line 3 of the address.").nullable().optional(),
|
|
30
|
-
address_details: zod.z.
|
|
31
|
-
}).describe("The portable international postal address.");
|
|
30
|
+
address_details: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Address details.").nullable().optional()
|
|
31
|
+
}).passthrough().describe("The portable international postal address.");
|
|
32
32
|
const PaypalListTemplates_TemplateSettingsSchema = zod.z.object({
|
|
33
33
|
template_item_settings: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Item settings.").nullable().optional(),
|
|
34
34
|
template_adjustment_settings: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Adjustment settings.").nullable().optional()
|
|
35
|
-
}).describe("Template settings.");
|
|
35
|
+
}).passthrough().describe("Template settings.");
|
|
36
36
|
const PaypalListTemplates_TemplateDetailSchema = zod.z.object({
|
|
37
37
|
note: zod.z.string().describe("Note to buyer.").nullable().optional(),
|
|
38
38
|
items: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Template items.").nullable().optional(),
|
|
@@ -43,7 +43,7 @@ const PaypalListTemplates_TemplateDetailSchema = zod.z.object({
|
|
|
43
43
|
currency_code: zod.z.string().describe("The currency code.").nullable().optional(),
|
|
44
44
|
merchant_info: zod.z.record(zod.z.string(), zod.z.unknown()).describe("Merchant information.").nullable().optional(),
|
|
45
45
|
shipping_info: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("Shipping info.").nullable().optional()
|
|
46
|
-
}).describe("Template detail information.");
|
|
46
|
+
}).passthrough().describe("Template detail information.");
|
|
47
47
|
const PaypalListTemplates_TemplateSchema = zod.z.object({
|
|
48
48
|
id: zod.z.string().describe("The unique identifier for the template.").nullable().optional(),
|
|
49
49
|
name: zod.z.string().describe("The name of the template.").nullable().optional(),
|
|
@@ -53,14 +53,14 @@ const PaypalListTemplates_TemplateSchema = zod.z.object({
|
|
|
53
53
|
unit_of_measure: zod.z.string().describe("The unit of measure for the template.").nullable().optional(),
|
|
54
54
|
default_template: zod.z.boolean().describe("Indicates if this is the default template.").nullable().optional(),
|
|
55
55
|
standard_template: zod.z.boolean().describe("Indicates if this is a standard template.").nullable().optional()
|
|
56
|
-
}).describe("The template with invoice details to load with all captured fields.");
|
|
56
|
+
}).passthrough().describe("The template with invoice details to load with all captured fields.");
|
|
57
57
|
const PaypalListTemplatesOutput = zod.z.object({
|
|
58
58
|
links: zod.z.array(PaypalListTemplates_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
59
59
|
emails: zod.z.union([zod.z.array(zod.z.string()), zod.z.string()]).nullable().optional(),
|
|
60
60
|
phones: zod.z.array(PaypalListTemplates_PhoneDetailSchema).describe("An array of phone numbers in the user's PayPal profile.").nullable().optional(),
|
|
61
61
|
addresses: zod.z.array(PaypalListTemplates_PortablePostalAddressSchema).describe("An array of addresses in the user's PayPal profile.").nullable().optional(),
|
|
62
62
|
templates: zod.z.array(PaypalListTemplates_TemplateSchema).describe("An array of details for each template. If fields is none, returns only the template name, ID, and default status.")
|
|
63
|
-
}).describe("Response model for listing PayPal invoice templates.");
|
|
63
|
+
}).passthrough().describe("Response model for listing PayPal invoice templates.");
|
|
64
64
|
const paypalListTemplates = require_action.action("PAYPAL_LIST_TEMPLATES", {
|
|
65
65
|
slug: "paypal-list-templates",
|
|
66
66
|
name: "List PayPal Invoice Templates",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.object({}).describe(\"Address details.\").nullable().optional(),\n}).describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CA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C,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;AACrL,CAAC,CAAC,CAAC,SAAS,sDAAsD;AAElE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-templates.cjs","names":["z","action"],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).passthrough().describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.record(z.string(), z.unknown()).describe(\"Address details.\").nullable().optional(),\n}).passthrough().describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).passthrough().describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).passthrough().describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).passthrough().describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).passthrough().describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,C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A,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,WAAWA,IAAAA,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxJ,WAAWA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;AACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAAsD;AAEhF,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -14,14 +14,14 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
14
14
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
emails: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodString]>>>;
|
|
19
19
|
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
phone_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
national_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
extension_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
26
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
admin_area_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -32,8 +32,8 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
32
32
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
address_line_3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
address_details: z.ZodOptional<z.ZodNullable<z.
|
|
36
|
-
}, z.core.$
|
|
35
|
+
address_details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
templates: z.ZodArray<z.ZodObject<{
|
|
38
38
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,11 +41,11 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
41
41
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
45
|
settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
template_item_settings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
47
47
|
template_adjustment_settings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
template_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
50
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
@@ -56,12 +56,12 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
56
56
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
merchant_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
58
|
shipping_info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>>;
|
|
60
60
|
unit_of_measure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
default_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
62
62
|
standard_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63
|
-
}, z.core.$
|
|
64
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
|
+
}, z.core.$loose>;
|
|
65
65
|
declare const paypalListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
page?: number | undefined;
|
|
67
67
|
fields?: "all" | "none" | undefined;
|
|
@@ -14,14 +14,14 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
14
14
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15
15
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
-
}, z.core.$
|
|
17
|
+
}, z.core.$loose>>>>;
|
|
18
18
|
emails: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodArray<z.ZodString>, z.ZodString]>>>;
|
|
19
19
|
phones: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
20
20
|
phone_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
country_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
national_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
extension_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
addresses: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
26
26
|
postal_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
admin_area_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -32,8 +32,8 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
32
32
|
address_line_1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
33
|
address_line_2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
address_line_3: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
address_details: z.ZodOptional<z.ZodNullable<z.
|
|
36
|
-
}, z.core.$
|
|
35
|
+
address_details: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
36
|
+
}, z.core.$loose>>>>;
|
|
37
37
|
templates: z.ZodArray<z.ZodObject<{
|
|
38
38
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
39
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,11 +41,11 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
41
41
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42
42
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43
43
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
44
|
-
}, z.core.$
|
|
44
|
+
}, z.core.$loose>>>>;
|
|
45
45
|
settings: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
46
46
|
template_item_settings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
47
47
|
template_adjustment_settings: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
48
|
-
}, z.core.$
|
|
48
|
+
}, z.core.$loose>>>;
|
|
49
49
|
template_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
50
50
|
note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
items: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
@@ -56,12 +56,12 @@ declare const PaypalListTemplatesOutput: z.ZodObject<{
|
|
|
56
56
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
57
57
|
merchant_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
58
|
shipping_info: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
59
|
-
}, z.core.$
|
|
59
|
+
}, z.core.$loose>>>;
|
|
60
60
|
unit_of_measure: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
default_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
62
62
|
standard_template: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
63
|
-
}, z.core.$
|
|
64
|
-
}, z.core.$
|
|
63
|
+
}, z.core.$loose>>;
|
|
64
|
+
}, z.core.$loose>;
|
|
65
65
|
declare const paypalListTemplates: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
66
66
|
page?: number | undefined;
|
|
67
67
|
fields?: "all" | "none" | undefined;
|
|
@@ -10,13 +10,13 @@ const PaypalListTemplates_LinkDescriptionSchema = z.object({
|
|
|
10
10
|
rel: z.string().describe("The link relation type.").nullable().optional(),
|
|
11
11
|
href: z.string().describe("The hyperlink to the related resource.").nullable().optional(),
|
|
12
12
|
method: z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
|
|
13
|
-
}).describe("The request-related HATEOAS link information.");
|
|
13
|
+
}).passthrough().describe("The request-related HATEOAS link information.");
|
|
14
14
|
const PaypalListTemplates_PhoneDetailSchema = z.object({
|
|
15
15
|
phone_type: z.string().describe("The phone type.").nullable().optional(),
|
|
16
16
|
country_code: z.string().describe("The country code.").nullable().optional(),
|
|
17
17
|
national_number: z.string().describe("The national number.").nullable().optional(),
|
|
18
18
|
extension_number: z.string().describe("The extension number.").nullable().optional()
|
|
19
|
-
}).describe("The phone details including the phone number and type.");
|
|
19
|
+
}).passthrough().describe("The phone details including the phone number and type.");
|
|
20
20
|
const PaypalListTemplates_PortablePostalAddressSchema = z.object({
|
|
21
21
|
postal_code: z.string().describe("The postal code.").nullable().optional(),
|
|
22
22
|
admin_area_1: z.string().describe("The first administrative area.").nullable().optional(),
|
|
@@ -27,12 +27,12 @@ const PaypalListTemplates_PortablePostalAddressSchema = z.object({
|
|
|
27
27
|
address_line_1: z.string().describe("Line 1 of the address.").nullable().optional(),
|
|
28
28
|
address_line_2: z.string().describe("Line 2 of the address.").nullable().optional(),
|
|
29
29
|
address_line_3: z.string().describe("Line 3 of the address.").nullable().optional(),
|
|
30
|
-
address_details: z.
|
|
31
|
-
}).describe("The portable international postal address.");
|
|
30
|
+
address_details: z.record(z.string(), z.unknown()).describe("Address details.").nullable().optional()
|
|
31
|
+
}).passthrough().describe("The portable international postal address.");
|
|
32
32
|
const PaypalListTemplates_TemplateSettingsSchema = z.object({
|
|
33
33
|
template_item_settings: z.array(z.record(z.string(), z.unknown())).describe("Item settings.").nullable().optional(),
|
|
34
34
|
template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe("Adjustment settings.").nullable().optional()
|
|
35
|
-
}).describe("Template settings.");
|
|
35
|
+
}).passthrough().describe("Template settings.");
|
|
36
36
|
const PaypalListTemplates_TemplateDetailSchema = z.object({
|
|
37
37
|
note: z.string().describe("Note to buyer.").nullable().optional(),
|
|
38
38
|
items: z.array(z.record(z.string(), z.unknown())).describe("Template items.").nullable().optional(),
|
|
@@ -43,7 +43,7 @@ const PaypalListTemplates_TemplateDetailSchema = z.object({
|
|
|
43
43
|
currency_code: z.string().describe("The currency code.").nullable().optional(),
|
|
44
44
|
merchant_info: z.record(z.string(), z.unknown()).describe("Merchant information.").nullable().optional(),
|
|
45
45
|
shipping_info: z.array(z.record(z.string(), z.unknown())).describe("Shipping info.").nullable().optional()
|
|
46
|
-
}).describe("Template detail information.");
|
|
46
|
+
}).passthrough().describe("Template detail information.");
|
|
47
47
|
const PaypalListTemplates_TemplateSchema = z.object({
|
|
48
48
|
id: z.string().describe("The unique identifier for the template.").nullable().optional(),
|
|
49
49
|
name: z.string().describe("The name of the template.").nullable().optional(),
|
|
@@ -53,7 +53,7 @@ const PaypalListTemplates_TemplateSchema = z.object({
|
|
|
53
53
|
unit_of_measure: z.string().describe("The unit of measure for the template.").nullable().optional(),
|
|
54
54
|
default_template: z.boolean().describe("Indicates if this is the default template.").nullable().optional(),
|
|
55
55
|
standard_template: z.boolean().describe("Indicates if this is a standard template.").nullable().optional()
|
|
56
|
-
}).describe("The template with invoice details to load with all captured fields.");
|
|
56
|
+
}).passthrough().describe("The template with invoice details to load with all captured fields.");
|
|
57
57
|
const paypalListTemplates = action("PAYPAL_LIST_TEMPLATES", {
|
|
58
58
|
slug: "paypal-list-templates",
|
|
59
59
|
name: "List PayPal Invoice Templates",
|
|
@@ -65,7 +65,7 @@ const paypalListTemplates = action("PAYPAL_LIST_TEMPLATES", {
|
|
|
65
65
|
phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe("An array of phone numbers in the user's PayPal profile.").nullable().optional(),
|
|
66
66
|
addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe("An array of addresses in the user's PayPal profile.").nullable().optional(),
|
|
67
67
|
templates: z.array(PaypalListTemplates_TemplateSchema).describe("An array of details for each template. If fields is none, returns only the template name, ID, and default status.")
|
|
68
|
-
}).describe("Response model for listing PayPal invoice templates.")
|
|
68
|
+
}).passthrough().describe("Response model for listing PayPal invoice templates.")
|
|
69
69
|
});
|
|
70
70
|
//#endregion
|
|
71
71
|
export { paypalListTemplates };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.object({}).describe(\"Address details.\").nullable().optional(),\n}).describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CA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,EAAE,QAAQ,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,qEAAqE;AASjF,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAbuC,EAAE,OAAO;EAChD,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,QAAQ,EAAE,MAAM,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACvE,QAAQ,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;CACrL,CAAC,CAAC,CAAC,SAAS,sDAOF;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-templates.mjs","names":[],"sources":["../../src/actions/list-templates.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListTemplatesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved, for the list of templates. A combination of page=1 and page_size=20 returns the first 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoice templates.\");\nconst PaypalListTemplates_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListTemplates_PhoneDetailSchema = z.object({\n phone_type: z.string().describe(\"The phone type.\").nullable().optional(),\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national number.\").nullable().optional(),\n extension_number: z.string().describe(\"The extension number.\").nullable().optional(),\n}).passthrough().describe(\"The phone details including the phone number and type.\");\nconst PaypalListTemplates_PortablePostalAddressSchema = z.object({\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n admin_area_1: z.string().describe(\"The first administrative area.\").nullable().optional(),\n admin_area_2: z.string().describe(\"The second administrative area.\").nullable().optional(),\n admin_area_3: z.string().describe(\"The third administrative area.\").nullable().optional(),\n admin_area_4: z.string().describe(\"The fourth administrative area.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character ISO country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"Line 1 of the address.\").nullable().optional(),\n address_line_2: z.string().describe(\"Line 2 of the address.\").nullable().optional(),\n address_line_3: z.string().describe(\"Line 3 of the address.\").nullable().optional(),\n address_details: z.record(z.string(), z.unknown()).describe(\"Address details.\").nullable().optional(),\n}).passthrough().describe(\"The portable international postal address.\");\nconst PaypalListTemplates_TemplateSettingsSchema = z.object({\n template_item_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Item settings.\").nullable().optional(),\n template_adjustment_settings: z.array(z.record(z.string(), z.unknown())).describe(\"Adjustment settings.\").nullable().optional(),\n}).passthrough().describe(\"Template settings.\");\nconst PaypalListTemplates_TemplateDetailSchema = z.object({\n note: z.string().describe(\"Note to buyer.\").nullable().optional(),\n items: z.array(z.record(z.string(), z.unknown())).describe(\"Template items.\").nullable().optional(),\n terms: z.string().describe(\"Terms.\").nullable().optional(),\n custom: z.record(z.string(), z.unknown()).describe(\"Custom fields.\").nullable().optional(),\n logo_url: z.string().describe(\"The logo URL.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"Billing info.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"Merchant information.\").nullable().optional(),\n shipping_info: z.array(z.record(z.string(), z.unknown())).describe(\"Shipping info.\").nullable().optional(),\n}).passthrough().describe(\"Template detail information.\");\nconst PaypalListTemplates_TemplateSchema = z.object({\n id: z.string().describe(\"The unique identifier for the template.\").nullable().optional(),\n name: z.string().describe(\"The name of the template.\").nullable().optional(),\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of links related to the template.\").nullable().optional(),\n settings: PaypalListTemplates_TemplateSettingsSchema.nullable().optional(),\n template_info: PaypalListTemplates_TemplateDetailSchema.nullable().optional(),\n unit_of_measure: z.string().describe(\"The unit of measure for the template.\").nullable().optional(),\n default_template: z.boolean().describe(\"Indicates if this is the default template.\").nullable().optional(),\n standard_template: z.boolean().describe(\"Indicates if this is a standard template.\").nullable().optional(),\n}).passthrough().describe(\"The template with invoice details to load with all captured fields.\");\nexport const PaypalListTemplatesOutput = z.object({\n links: z.array(PaypalListTemplates_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n emails: z.union([z.array(z.string()), z.string()]).nullable().optional(),\n phones: z.array(PaypalListTemplates_PhoneDetailSchema).describe(\"An array of phone numbers in the user's PayPal profile.\").nullable().optional(),\n addresses: z.array(PaypalListTemplates_PortablePostalAddressSchema).describe(\"An array of addresses in the user's PayPal profile.\").nullable().optional(),\n templates: z.array(PaypalListTemplates_TemplateSchema).describe(\"An array of details for each template. If fields is none, returns only the template name, ID, and default status.\"),\n}).passthrough().describe(\"Response model for listing PayPal invoice templates.\");\n\nexport const paypalListTemplates = action(\"PAYPAL_LIST_TEMPLATES\", {\n slug: \"paypal-list-templates\",\n name: \"List PayPal Invoice Templates\",\n description: \"List invoice templates from PayPal. Use when you need to retrieve a paginated list of PayPal invoice templates with their details. This is a read-only operation that returns template information including names, IDs, settings, and default status. The action supports pagination via page and page_size parameters, and you can control which fields are returned using the fields parameter (set to 'none' for minimal template info).\",\n input: PaypalListTemplatesInput,\n output: PaypalListTemplatesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,sIAAsI,CAAC,CAAC,SAAS;CAC5L,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;AAC1H,CAAC,CAAC,CAAC,SAAS,qDAAqD;AACjE,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AACzE,MAAM,wCAAwC,EAAE,OAAO;CACrD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iBAAiB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvE,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,mBAAmB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,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yD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/I,WAAW,EAAE,MAAM,+CAA+C,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxJ,WAAW,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,mHAAmH;CACrL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sDAOhB;AACV,CAAC"}
|
|
@@ -11,16 +11,16 @@ const PaypalListWebProfiles_FlowConfigSchema = zod.z.object({
|
|
|
11
11
|
landing_page_type: zod.z.string().describe("The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.").nullable().optional(),
|
|
12
12
|
bank_txn_pending_url: zod.z.string().describe("The URL to redirect to after the bank transaction is pending.").nullable().optional(),
|
|
13
13
|
return_uri_http_method: zod.z.string().describe("The HTTP method to use when the user returns from the PayPal site to the merchant site.").nullable().optional()
|
|
14
|
-
}).describe("The flow configuration parameters for a web experience profile.");
|
|
14
|
+
}).passthrough().describe("The flow configuration parameters for a web experience profile.");
|
|
15
15
|
const PaypalListWebProfiles_InputFieldCustomizationSchema = zod.z.object({
|
|
16
16
|
no_shipping: zod.z.number().int().describe("Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.").nullable().optional(),
|
|
17
17
|
address_override: zod.z.number().int().describe("Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.").nullable().optional()
|
|
18
|
-
}).describe("The input field customization parameters for a web experience profile.");
|
|
18
|
+
}).passthrough().describe("The input field customization parameters for a web experience profile.");
|
|
19
19
|
const PaypalListWebProfiles_StyleAndPresentationSchema = zod.z.object({
|
|
20
20
|
brand_name: zod.z.string().describe("The brand name that is displayed on the PayPal checkout page.").nullable().optional(),
|
|
21
21
|
logo_image: zod.z.string().describe("The URL of the logo image that is displayed in the checkout flow.").nullable().optional(),
|
|
22
22
|
locale_code: zod.z.string().describe("The locale of pages that are displayed in the checkout flow.").nullable().optional()
|
|
23
|
-
}).describe("The style and presentation parameters for a web experience profile.");
|
|
23
|
+
}).passthrough().describe("The style and presentation parameters for a web experience profile.");
|
|
24
24
|
const PaypalListWebProfiles_WebProfileSchema = zod.z.object({
|
|
25
25
|
id: zod.z.string().describe("The ID of the web experience profile.").nullable().optional(),
|
|
26
26
|
name: zod.z.string().describe("The web experience profile name. Must be unique for a set of profiles for a merchant.").nullable(),
|
|
@@ -28,13 +28,13 @@ const PaypalListWebProfiles_WebProfileSchema = zod.z.object({
|
|
|
28
28
|
flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),
|
|
29
29
|
input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),
|
|
30
30
|
presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional()
|
|
31
|
-
}).describe("A payment web experience profile.");
|
|
31
|
+
}).passthrough().describe("A payment web experience profile.");
|
|
32
32
|
const PaypalListWebProfilesOutput = zod.z.object({
|
|
33
|
-
links: zod.z.array(zod.z.
|
|
33
|
+
links: zod.z.array(zod.z.record(zod.z.string(), zod.z.unknown())).describe("An array of HATEOAS links related to the response for pagination.").nullable().optional(),
|
|
34
34
|
profiles: zod.z.array(PaypalListWebProfiles_WebProfileSchema).describe("An array of web experience profile objects."),
|
|
35
35
|
total_items: zod.z.number().int().describe("The total number of items (only included if total_required is true).").nullable().optional(),
|
|
36
36
|
total_pages: zod.z.number().int().describe("The total number of pages (only included if total_required is true).").nullable().optional()
|
|
37
|
-
}).describe("Response containing a list of web experience profiles.");
|
|
37
|
+
}).passthrough().describe("Response containing a list of web experience profiles.");
|
|
38
38
|
const paypalListWebProfiles = require_action.action("PAYPAL_LIST_WEB_PROFILES", {
|
|
39
39
|
slug: "paypal-list-web-profiles",
|
|
40
40
|
name: "List web experience profiles",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-web-profiles.cjs","names":["z","action"],"sources":["../../src/actions/list-web-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebProfilesInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25. Maximum is 20.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list web experience profiles.\");\nconst PaypalListWebProfiles_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"The user action. Sets the label, shipping, tax, and other flow options.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The URL to redirect to after the bank transaction is pending.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use when the user returns from the PayPal site to the merchant site.\").nullable().optional(),\n}).describe(\"The flow configuration parameters for a web experience profile.\");\nconst PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.\").nullable().optional(),\n}).describe(\"The input field customization parameters for a web experience profile.\");\nconst PaypalListWebProfiles_StyleAndPresentationSchema = z.object({\n brand_name: z.string().describe(\"The brand name that is displayed on the PayPal checkout page.\").nullable().optional(),\n logo_image: z.string().describe(\"The URL of the logo image that is displayed in the checkout flow.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that are displayed in the checkout flow.\").nullable().optional(),\n}).describe(\"The style and presentation parameters for a web experience profile.\");\nconst PaypalListWebProfiles_WebProfileSchema = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to true to persist for three hours, false for permanent.\").nullable().optional(),\n flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),\n presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional(),\n}).describe(\"A payment web experience profile.\");\nexport const PaypalListWebProfilesOutput = z.object({\n links: z.array(z.
|
|
1
|
+
{"version":3,"file":"list-web-profiles.cjs","names":["z","action"],"sources":["../../src/actions/list-web-profiles.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListWebProfilesInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25. Maximum is 20.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list web experience profiles.\");\nconst PaypalListWebProfiles_FlowConfigSchema = z.object({\n user_action: z.string().describe(\"The user action. Sets the label, shipping, tax, and other flow options.\").nullable().optional(),\n landing_page_type: z.string().describe(\"The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.\").nullable().optional(),\n bank_txn_pending_url: z.string().describe(\"The URL to redirect to after the bank transaction is pending.\").nullable().optional(),\n return_uri_http_method: z.string().describe(\"The HTTP method to use when the user returns from the PayPal site to the merchant site.\").nullable().optional(),\n}).passthrough().describe(\"The flow configuration parameters for a web experience profile.\");\nconst PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({\n no_shipping: z.number().int().describe(\"Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.\").nullable().optional(),\n address_override: z.number().int().describe(\"Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.\").nullable().optional(),\n}).passthrough().describe(\"The input field customization parameters for a web experience profile.\");\nconst PaypalListWebProfiles_StyleAndPresentationSchema = z.object({\n brand_name: z.string().describe(\"The brand name that is displayed on the PayPal checkout page.\").nullable().optional(),\n logo_image: z.string().describe(\"The URL of the logo image that is displayed in the checkout flow.\").nullable().optional(),\n locale_code: z.string().describe(\"The locale of pages that are displayed in the checkout flow.\").nullable().optional(),\n}).passthrough().describe(\"The style and presentation parameters for a web experience profile.\");\nconst PaypalListWebProfiles_WebProfileSchema = z.object({\n id: z.string().describe(\"The ID of the web experience profile.\").nullable().optional(),\n name: z.string().describe(\"The web experience profile name. Must be unique for a set of profiles for a merchant.\").nullable(),\n temporary: z.boolean().describe(\"Indicates whether the profile persists for three hours or permanently. Set to true to persist for three hours, false for permanent.\").nullable().optional(),\n flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),\n input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),\n presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional(),\n}).passthrough().describe(\"A payment web experience profile.\");\nexport const PaypalListWebProfilesOutput = z.object({\n links: z.array(z.record(z.string(), z.unknown())).describe(\"An array of HATEOAS links related to the response for pagination.\").nullable().optional(),\n profiles: z.array(PaypalListWebProfiles_WebProfileSchema).describe(\"An array of web experience profile objects.\"),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of web experience profiles.\");\n\nexport const paypalListWebProfiles = action(\"PAYPAL_LIST_WEB_PROFILES\", {\n slug: \"paypal-list-web-profiles\",\n name: \"List web experience profiles\",\n description: \"Lists web experience profiles from PayPal with optional pagination. Use this action when you need to retrieve available web experience profiles for customizing the checkout experience. This is a read-only operation that returns profile details including flow configuration, input field settings, and branding options. Results can be paginated using page and page_size parameters. The response includes up to 20 profiles by default (configurable via page_size), with HATEOAS links for pagination if more results exist.\",\n input: PaypalListWebProfilesInput,\n output: PaypalListWebProfilesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CA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AAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAElF,MAAa,wBAAwBC,eAAAA,OAAO,4BAA4B;CACtE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PaypalListWebProfilesInput: z.ZodObject<{
|
|
|
7
7
|
total_required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const PaypalListWebProfilesOutput: z.ZodObject<{
|
|
10
|
-
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
10
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
11
11
|
profiles: z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -17,20 +17,20 @@ declare const PaypalListWebProfilesOutput: z.ZodObject<{
|
|
|
17
17
|
landing_page_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
bank_txn_pending_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
return_uri_http_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
input_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
no_shipping: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
address_override: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
presentation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
brand_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
logo_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
locale_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const paypalListWebProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
page?: number | undefined;
|
|
36
36
|
page_size?: number | undefined;
|
|
@@ -7,7 +7,7 @@ declare const PaypalListWebProfilesInput: z.ZodObject<{
|
|
|
7
7
|
total_required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
8
8
|
}, z.core.$strip>;
|
|
9
9
|
declare const PaypalListWebProfilesOutput: z.ZodObject<{
|
|
10
|
-
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.
|
|
10
|
+
links: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
11
11
|
profiles: z.ZodArray<z.ZodObject<{
|
|
12
12
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
13
|
name: z.ZodNullable<z.ZodString>;
|
|
@@ -17,20 +17,20 @@ declare const PaypalListWebProfilesOutput: z.ZodObject<{
|
|
|
17
17
|
landing_page_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
bank_txn_pending_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
return_uri_http_method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>;
|
|
21
21
|
input_fields: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
22
22
|
no_shipping: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
23
23
|
address_override: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>;
|
|
25
25
|
presentation: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26
26
|
brand_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
27
|
logo_image: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
locale_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29
|
-
}, z.core.$
|
|
30
|
-
}, z.core.$
|
|
29
|
+
}, z.core.$loose>>>;
|
|
30
|
+
}, z.core.$loose>>;
|
|
31
31
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
32
32
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>;
|
|
34
34
|
declare const paypalListWebProfiles: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
35
35
|
page?: number | undefined;
|
|
36
36
|
page_size?: number | undefined;
|
|
@@ -11,16 +11,16 @@ const PaypalListWebProfiles_FlowConfigSchema = z.object({
|
|
|
11
11
|
landing_page_type: z.string().describe("The type of landing page to display. Values: BILLING, LOGIN, NO_PREFERENCE.").nullable().optional(),
|
|
12
12
|
bank_txn_pending_url: z.string().describe("The URL to redirect to after the bank transaction is pending.").nullable().optional(),
|
|
13
13
|
return_uri_http_method: z.string().describe("The HTTP method to use when the user returns from the PayPal site to the merchant site.").nullable().optional()
|
|
14
|
-
}).describe("The flow configuration parameters for a web experience profile.");
|
|
14
|
+
}).passthrough().describe("The flow configuration parameters for a web experience profile.");
|
|
15
15
|
const PaypalListWebProfiles_InputFieldCustomizationSchema = z.object({
|
|
16
16
|
no_shipping: z.number().int().describe("Indicates whether to display the shipping address. 0 = display, 1 = not displayed, 2 = force display.").nullable().optional(),
|
|
17
17
|
address_override: z.number().int().describe("Indicates whether to display the shipping address fields. 0 = editable, 1 = hidden.").nullable().optional()
|
|
18
|
-
}).describe("The input field customization parameters for a web experience profile.");
|
|
18
|
+
}).passthrough().describe("The input field customization parameters for a web experience profile.");
|
|
19
19
|
const PaypalListWebProfiles_StyleAndPresentationSchema = z.object({
|
|
20
20
|
brand_name: z.string().describe("The brand name that is displayed on the PayPal checkout page.").nullable().optional(),
|
|
21
21
|
logo_image: z.string().describe("The URL of the logo image that is displayed in the checkout flow.").nullable().optional(),
|
|
22
22
|
locale_code: z.string().describe("The locale of pages that are displayed in the checkout flow.").nullable().optional()
|
|
23
|
-
}).describe("The style and presentation parameters for a web experience profile.");
|
|
23
|
+
}).passthrough().describe("The style and presentation parameters for a web experience profile.");
|
|
24
24
|
const PaypalListWebProfiles_WebProfileSchema = z.object({
|
|
25
25
|
id: z.string().describe("The ID of the web experience profile.").nullable().optional(),
|
|
26
26
|
name: z.string().describe("The web experience profile name. Must be unique for a set of profiles for a merchant.").nullable(),
|
|
@@ -28,18 +28,18 @@ const PaypalListWebProfiles_WebProfileSchema = z.object({
|
|
|
28
28
|
flow_config: PaypalListWebProfiles_FlowConfigSchema.nullable().optional(),
|
|
29
29
|
input_fields: PaypalListWebProfiles_InputFieldCustomizationSchema.nullable().optional(),
|
|
30
30
|
presentation: PaypalListWebProfiles_StyleAndPresentationSchema.nullable().optional()
|
|
31
|
-
}).describe("A payment web experience profile.");
|
|
31
|
+
}).passthrough().describe("A payment web experience profile.");
|
|
32
32
|
const paypalListWebProfiles = action("PAYPAL_LIST_WEB_PROFILES", {
|
|
33
33
|
slug: "paypal-list-web-profiles",
|
|
34
34
|
name: "List web experience profiles",
|
|
35
35
|
description: "Lists web experience profiles from PayPal with optional pagination. Use this action when you need to retrieve available web experience profiles for customizing the checkout experience. This is a read-only operation that returns profile details including flow configuration, input field settings, and branding options. Results can be paginated using page and page_size parameters. The response includes up to 20 profiles by default (configurable via page_size), with HATEOAS links for pagination if more results exist.",
|
|
36
36
|
input: PaypalListWebProfilesInput,
|
|
37
37
|
output: z.object({
|
|
38
|
-
links: z.array(z.
|
|
38
|
+
links: z.array(z.record(z.string(), z.unknown())).describe("An array of HATEOAS links related to the response for pagination.").nullable().optional(),
|
|
39
39
|
profiles: z.array(PaypalListWebProfiles_WebProfileSchema).describe("An array of web experience profile objects."),
|
|
40
40
|
total_items: z.number().int().describe("The total number of items (only included if total_required is true).").nullable().optional(),
|
|
41
41
|
total_pages: z.number().int().describe("The total number of pages (only included if total_required is true).").nullable().optional()
|
|
42
|
-
}).describe("Response containing a list of web experience profiles.")
|
|
42
|
+
}).passthrough().describe("Response containing a list of web experience profiles.")
|
|
43
43
|
});
|
|
44
44
|
//#endregion
|
|
45
45
|
export { paypalListWebProfiles };
|