@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number-v2.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberV2Input = z.object({\n fetch_id: z.boolean().describe(\"Optional parameter to decide whether to fetch the next invoice number or ID. Set to true to fetch the ID, false or omitted for the number.\").optional(),\n}).describe(\"Request schema for generating the next invoice number from PayPal Invoicing API v2.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service v2 API.\");\nexport const PaypalGenerateNextInvoiceNumberV2Output = z.object({\n invoice_id: z.string().describe(\"The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}\").nullable().optional(),\n invoice_number: z.string().describe(\"The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.\").nullable().optional(),\n}).describe(\"Response schema returned after generating the next invoice number from PayPal API v2.\");\n\nexport const paypalGenerateNextInvoiceNumberV2 = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2\", {\n slug: \"paypal-generate-next-invoice-number-v2\",\n name: \"Generate Next Invoice Number (v2)\",\n description: \"Generates the next invoice number from PayPal's invoicing service using the v2 API. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberV2Input,\n output: PaypalGenerateNextInvoiceNumberV2Output,\n});\n"],"mappings":";;AAYA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoD,EAAE,OAAO,EAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,4NAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberV2Input = z.object({\n fetch_id: z.boolean().describe(\"Optional parameter to decide whether to fetch the next invoice number or ID. Set to true to fetch the ID, false or omitted for the number.\").optional(),\n}).describe(\"Request schema for generating the next invoice number from PayPal Invoicing API v2.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service v2 API.\");\nexport const PaypalGenerateNextInvoiceNumberV2Output = z.object({\n invoice_id: z.string().describe(\"The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}\").nullable().optional(),\n invoice_number: z.string().describe(\"The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number from PayPal API v2.\");\n\nexport const paypalGenerateNextInvoiceNumberV2 = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2\", {\n slug: \"paypal-generate-next-invoice-number-v2\",\n name: \"Generate Next Invoice Number (v2)\",\n description: \"Generates the next invoice number from PayPal's invoicing service using the v2 API. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberV2Input,\n output: PaypalGenerateNextInvoiceNumberV2Output,\n});\n"],"mappings":";;AAYA,MAAa,oCAAoC,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZoD,EAAE,OAAO,EAC7D,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,4NAUH;CACP,QAVqD,EAAE,OAAO;EAC9D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAChL,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAOhB;AACV,CAAC"}
|
|
@@ -2,7 +2,7 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/generate-next-invoice-number.ts
|
|
4
4
|
const PaypalGenerateNextInvoiceNumberInput = zod.z.object({}).describe("Request schema for generating the next invoice number from PayPal.\n\nUse this when you need to get the next sequential invoice number\nin your customized format from PayPal's invoicing service.");
|
|
5
|
-
const PaypalGenerateNextInvoiceNumberOutput = zod.z.object({ number: zod.z.string().describe("The next invoice number in the sequence.").nullable() }).describe("Response schema returned after generating the next invoice number.");
|
|
5
|
+
const PaypalGenerateNextInvoiceNumberOutput = zod.z.object({ number: zod.z.string().describe("The next invoice number in the sequence.").nullable() }).passthrough().describe("Response schema returned after generating the next invoice number.");
|
|
6
6
|
const paypalGenerateNextInvoiceNumber = require_action.action("PAYPAL_GENERATE_NEXT_INVOICE_NUMBER", {
|
|
7
7
|
slug: "paypal-generate-next-invoice-number",
|
|
8
8
|
name: "Generate Next Invoice Number",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMAAoM;AAC9Q,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,oEAAoE;
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMAAoM;AAC9Q,MAAa,wCAAwCA,IAAAA,EAAE,OAAO,EAC5D,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAAoE;AAE9F,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const PaypalGenerateNextInvoiceNumberInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const PaypalGenerateNextInvoiceNumberOutput: z.ZodObject<{
|
|
6
6
|
number: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const paypalGenerateNextInvoiceNumber: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { paypalGenerateNextInvoiceNumber };
|
|
@@ -4,7 +4,7 @@ import { z } from "zod";
|
|
|
4
4
|
declare const PaypalGenerateNextInvoiceNumberInput: z.ZodObject<{}, z.core.$strip>;
|
|
5
5
|
declare const PaypalGenerateNextInvoiceNumberOutput: z.ZodObject<{
|
|
6
6
|
number: z.ZodNullable<z.ZodString>;
|
|
7
|
-
}, z.core.$
|
|
7
|
+
}, z.core.$loose>;
|
|
8
8
|
declare const paypalGenerateNextInvoiceNumber: import("@keystrokehq/action").WorkflowActionDefinition<Record<string, never>, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { paypalGenerateNextInvoiceNumber };
|
|
@@ -5,7 +5,7 @@ const paypalGenerateNextInvoiceNumber = action("PAYPAL_GENERATE_NEXT_INVOICE_NUM
|
|
|
5
5
|
name: "Generate Next Invoice Number",
|
|
6
6
|
description: "Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.",
|
|
7
7
|
input: z.object({}).describe("Request schema for generating the next invoice number from PayPal.\n\nUse this when you need to get the next sequential invoice number\nin your customized format from PayPal's invoicing service."),
|
|
8
|
-
output: z.object({ number: z.string().describe("The next invoice number in the sequence.").nullable() }).describe("Response schema returned after generating the next invoice number.")
|
|
8
|
+
output: z.object({ number: z.string().describe("The next invoice number in the sequence.").nullable() }).passthrough().describe("Response schema returned after generating the next invoice number.")
|
|
9
9
|
});
|
|
10
10
|
//#endregion
|
|
11
11
|
export { paypalGenerateNextInvoiceNumber };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-next-invoice-number.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":";;AASA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMASjE;CACP,QATmD,EAAE,OAAO,EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.mjs","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberInput = z.object({}).describe(\"Request schema for generating the next invoice number from PayPal.\\n\\nUse this when you need to get the next sequential invoice number\\nin your customized format from PayPal's invoicing service.\");\nexport const PaypalGenerateNextInvoiceNumberOutput = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\").nullable(),\n}).passthrough().describe(\"Response schema returned after generating the next invoice number.\");\n\nexport const paypalGenerateNextInvoiceNumber = action(\"PAYPAL_GENERATE_NEXT_INVOICE_NUMBER\", {\n slug: \"paypal-generate-next-invoice-number\",\n name: \"Generate Next Invoice Number\",\n description: \"Generates the next invoice number from PayPal's invoicing service. Use this action when you need to retrieve the next sequential invoice number in your customized format before creating an invoice. This ensures consistent invoice numbering across your PayPal invoices. Note: This action queries PayPal for the next available invoice number in your sequence. The format is configured in your PayPal account settings.\",\n input: PaypalGenerateNextInvoiceNumberInput,\n output: PaypalGenerateNextInvoiceNumberOutput,\n});\n"],"mappings":";;AASA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OATkD,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMASjE;CACP,QATmD,EAAE,OAAO,EAC5D,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,oEAOhB;AACV,CAAC"}
|
|
@@ -11,19 +11,19 @@ const PaypalGenerateQrCode_LinkDescriptionSchema = zod.z.object({
|
|
|
11
11
|
rel: zod.z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
12
12
|
href: zod.z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
13
13
|
method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
14
|
-
}).describe("HATEOAS link information.");
|
|
14
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
15
15
|
const PaypalGenerateQrCode_ErrorDetailSchema = zod.z.object({
|
|
16
16
|
field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
|
|
17
17
|
issue: zod.z.string().describe("The issue description.").nullable().optional(),
|
|
18
18
|
value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
|
|
19
19
|
location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
20
20
|
description: zod.z.string().describe("The error description.").nullable().optional()
|
|
21
|
-
}).describe("Error detail information.");
|
|
21
|
+
}).passthrough().describe("Error detail information.");
|
|
22
22
|
const PaypalGenerateQrCode_FileDownloadableSchema = zod.z.object({
|
|
23
23
|
name: zod.z.string().describe("Name of the file").nullable(),
|
|
24
24
|
s3url: zod.z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
25
25
|
mimetype: zod.z.string().describe("Mime type of the file.").nullable()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const PaypalGenerateQrCodeOutput = zod.z.object({
|
|
28
28
|
name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
29
29
|
links: zod.z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
@@ -32,7 +32,7 @@ const PaypalGenerateQrCodeOutput = zod.z.object({
|
|
|
32
32
|
qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),
|
|
33
33
|
debug_id: zod.z.string().describe("The PayPal internal ID for correlation purposes.").nullable().optional(),
|
|
34
34
|
content_type: zod.z.string().describe("The content type of the response, typically 'image/png'.").nullable().optional()
|
|
35
|
-
}).describe("Response schema for the generated QR code.\n\nOn success, returns the QR code image data as a downloadable PNG file.\nOn error, returns error details including debug_id, message, and name.");
|
|
35
|
+
}).passthrough().describe("Response schema for the generated QR code.\n\nOn success, returns the QR code image data as a downloadable PNG file.\nOn error, returns error details including debug_id, message, and name.");
|
|
36
36
|
const paypalGenerateQrCode = require_action.action("PAYPAL_GENERATE_QR_CODE", {
|
|
37
37
|
slug: "paypal-generate-qr-code",
|
|
38
38
|
name: "Generate Invoice QR Code",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-qr-code.cjs","names":["z","action"],"sources":["../../src/actions/generate-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC5N,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"generate-qr-code.cjs","names":["z","action"],"sources":["../../src/actions/generate-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC5N,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,KAAKA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A,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrG,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;CACzE,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8LAA8L;AAExN,MAAa,uBAAuBC,eAAAA,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -16,23 +16,23 @@ declare const PaypalGenerateQrCodeOutput: z.ZodObject<{
|
|
|
16
16
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
20
|
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
21
|
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
issue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
qr_code: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
name: z.ZodNullable<z.ZodString>;
|
|
30
30
|
s3url: z.ZodNullable<z.ZodString>;
|
|
31
31
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const paypalGenerateQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
invoice_id: string;
|
|
38
38
|
width?: number | undefined;
|
|
@@ -16,23 +16,23 @@ declare const PaypalGenerateQrCodeOutput: z.ZodObject<{
|
|
|
16
16
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
17
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
20
|
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
21
21
|
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
issue: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
25
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
|
-
}, z.core.$
|
|
26
|
+
}, z.core.$loose>>>>;
|
|
27
27
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28
28
|
qr_code: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
29
29
|
name: z.ZodNullable<z.ZodString>;
|
|
30
30
|
s3url: z.ZodNullable<z.ZodString>;
|
|
31
31
|
mimetype: z.ZodNullable<z.ZodString>;
|
|
32
|
-
}, z.core.$
|
|
32
|
+
}, z.core.$loose>>>;
|
|
33
33
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34
34
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35
|
-
}, z.core.$
|
|
35
|
+
}, z.core.$loose>;
|
|
36
36
|
declare const paypalGenerateQrCode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
37
37
|
invoice_id: string;
|
|
38
38
|
width?: number | undefined;
|
|
@@ -11,19 +11,19 @@ const PaypalGenerateQrCode_LinkDescriptionSchema = z.object({
|
|
|
11
11
|
rel: z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
12
12
|
href: z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
13
13
|
method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
14
|
-
}).describe("HATEOAS link information.");
|
|
14
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
15
15
|
const PaypalGenerateQrCode_ErrorDetailSchema = z.object({
|
|
16
16
|
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
17
17
|
issue: z.string().describe("The issue description.").nullable().optional(),
|
|
18
18
|
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
19
19
|
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
20
20
|
description: z.string().describe("The error description.").nullable().optional()
|
|
21
|
-
}).describe("Error detail information.");
|
|
21
|
+
}).passthrough().describe("Error detail information.");
|
|
22
22
|
const PaypalGenerateQrCode_FileDownloadableSchema = z.object({
|
|
23
23
|
name: z.string().describe("Name of the file").nullable(),
|
|
24
24
|
s3url: z.string().describe("S3 URL of the downloaded file.").nullable(),
|
|
25
25
|
mimetype: z.string().describe("Mime type of the file.").nullable()
|
|
26
|
-
});
|
|
26
|
+
}).passthrough();
|
|
27
27
|
const paypalGenerateQrCode = action("PAYPAL_GENERATE_QR_CODE", {
|
|
28
28
|
slug: "paypal-generate-qr-code",
|
|
29
29
|
name: "Generate Invoice QR Code",
|
|
@@ -37,7 +37,7 @@ const paypalGenerateQrCode = action("PAYPAL_GENERATE_QR_CODE", {
|
|
|
37
37
|
qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),
|
|
38
38
|
debug_id: z.string().describe("The PayPal internal ID for correlation purposes.").nullable().optional(),
|
|
39
39
|
content_type: z.string().describe("The content type of the response, typically 'image/png'.").nullable().optional()
|
|
40
|
-
}).describe("Response schema for the generated QR code.\n\nOn success, returns the QR code image data as a downloadable PNG file.\nOn error, returns error details including debug_id, message, and name.")
|
|
40
|
+
}).passthrough().describe("Response schema for the generated QR code.\n\nOn success, returns the QR code image data as a downloadable PNG file.\nOn error, returns error details including debug_id, message, and name.")
|
|
41
41
|
});
|
|
42
42
|
//#endregion
|
|
43
43
|
export { paypalGenerateQrCode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generate-qr-code.mjs","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n});\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,QAAQ,EAAE,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CAClJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AAC1F,CAAC,CAAC,CAAC,SAAS,gNAAgN;AAC5N,MAAM,6CAA6C,EAAE,OAAO;CAC1D,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"generate-qr-code.mjs","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateQrCodeInput = z.object({\n width: z.number().int().default(500).describe(\"The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n action: z.enum([\"pay\", \"details\"]).default(\"pay\").describe(\"The type of URL for which to generate a QR code.\\n\\n- PAY: Generate a QR code for payment\\n- DETAILS: Generate a QR code for viewing invoice details\").optional(),\n height: z.number().int().default(500).describe(\"The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.\").optional(),\n invoice_id: z.string().describe(\"The ID of the invoice for which to generate a QR code.\"),\n}).describe(\"Request schema for generating a QR code for a PayPal invoice.\\n\\nUse this action when you need to create a scannable QR code that customers\\ncan use to pay an invoice or view its details via the PayPal app.\");\nconst PaypalGenerateQrCode_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalGenerateQrCode_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable().optional(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nconst PaypalGenerateQrCode_FileDownloadableSchema = z.object({\n name: z.string().describe(\"Name of the file\").nullable(),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\").nullable(),\n mimetype: z.string().describe(\"Mime type of the file.\").nullable(),\n}).passthrough();\nexport const PaypalGenerateQrCodeOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error or success.\").nullable().optional(),\n qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID for correlation purposes.\").nullable().optional(),\n content_type: z.string().describe(\"The content type of the response, typically 'image/png'.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the generated QR code.\\n\\nOn success, returns the QR code image data as a downloadable PNG file.\\nOn error, returns error details including debug_id, message, and name.\");\n\nexport const paypalGenerateQrCode = action(\"PAYPAL_GENERATE_QR_CODE\", {\n slug: \"paypal-generate-qr-code\",\n name: \"Generate Invoice QR Code\",\n description: \"Generates a QR code image for a PayPal invoice using the v2 invoicing API. Use this action when you need to display a scannable QR code that customers can use to pay an invoice or view its details via the PayPal mobile app. The QR code contains encoded payment information that redirects users to PayPal to complete the transaction. **Customization options:** - Adjust dimensions using the `width` and `height` parameters (150-500 pixels) - Choose between payment URL (`action='pay'`) or details URL (`action='details'`) Note: This action uses the PayPal Invoicing API v2, which is the recommended version for new integrations.\",\n input: PaypalGenerateQrCodeInput,\n output: PaypalGenerateQrCodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO;CAChD,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,uFAAuF,CAAC,CAAC,SAAS;CAChJ,QAAQ,EAAE,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,sJAAsJ,CAAC,CAAC,SAAS;CAC5N,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,SAAS,wFAAwF,CAAC,CA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C,CAAC,YAAY;AAWf,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrG,SAAS,4CAA4C,SAAS,CAAC,CAAC,SAAS;EACzE,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8LAOhB;AACV,CAAC"}
|
|
@@ -20,7 +20,7 @@ const PaypalGetBillingSubscriptions_LinkDescriptionSchema = zod.z.object({
|
|
|
20
20
|
rel: zod.z.string().describe("The link relation type.").nullable().optional(),
|
|
21
21
|
href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
|
|
22
22
|
method: zod.z.string().describe("The HTTP method required to invoke the related resource.").nullable().optional()
|
|
23
|
-
}).describe("The HATEOAS link related to this subscription.");
|
|
23
|
+
}).passthrough().describe("The HATEOAS link related to this subscription.");
|
|
24
24
|
const PaypalGetBillingSubscriptions_SubscriptionStatusSchema = zod.z.enum([
|
|
25
25
|
"APPROVAL_PENDING",
|
|
26
26
|
"APPROVED",
|
|
@@ -32,38 +32,38 @@ const PaypalGetBillingSubscriptions_SubscriptionStatusSchema = zod.z.enum([
|
|
|
32
32
|
const PaypalGetBillingSubscriptions_SubscriberNameSchema = zod.z.object({
|
|
33
33
|
surname: zod.z.string().describe("The surname of the subscriber.").nullable().optional(),
|
|
34
34
|
given_name: zod.z.string().describe("The given name of the subscriber.").nullable().optional()
|
|
35
|
-
}).describe("The name of the subscriber.");
|
|
35
|
+
}).passthrough().describe("The name of the subscriber.");
|
|
36
36
|
const PaypalGetBillingSubscriptions_SubscriberSchema = zod.z.object({
|
|
37
37
|
name: PaypalGetBillingSubscriptions_SubscriberNameSchema.nullable().optional(),
|
|
38
38
|
payer_id: zod.z.string().describe("The PayPal ID of the payer.").nullable().optional(),
|
|
39
39
|
email_address: zod.z.string().describe("The email address of the subscriber.").nullable().optional(),
|
|
40
40
|
subscriber_id: zod.z.string().describe("The internal identifier for the subscriber.").nullable().optional()
|
|
41
|
-
}).describe("The subscriber information for the subscription.");
|
|
41
|
+
}).passthrough().describe("The subscriber information for the subscription.");
|
|
42
42
|
const PaypalGetBillingSubscriptions_MoneyAmountSchema = zod.z.object({
|
|
43
43
|
value: zod.z.string().describe("The amount value.").nullable().optional(),
|
|
44
44
|
currency_code: zod.z.string().describe("The three-character ISO currency code.").nullable().optional()
|
|
45
|
-
}).describe("The currency amount.");
|
|
45
|
+
}).passthrough().describe("The currency amount.");
|
|
46
46
|
const PaypalGetBillingSubscriptions_LastPaymentDetailSchema = zod.z.object({
|
|
47
47
|
time: zod.z.string().describe("The date and time of the last payment.").nullable().optional(),
|
|
48
48
|
amount: PaypalGetBillingSubscriptions_MoneyAmountSchema.nullable().optional()
|
|
49
|
-
}).describe("Details of the last payment made.");
|
|
49
|
+
}).passthrough().describe("Details of the last payment made.");
|
|
50
50
|
const PaypalGetBillingSubscriptions_CycleExecutionSchema = zod.z.object({
|
|
51
51
|
sequence: zod.z.number().int().describe("The sequence of the billing cycle.").nullable().optional(),
|
|
52
52
|
tenure_type: zod.z.string().describe("The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.").nullable().optional(),
|
|
53
53
|
total_cycles: zod.z.number().int().describe("The total number of billing cycles.").nullable().optional(),
|
|
54
54
|
cycles_completed: zod.z.number().int().describe("The number of cycles completed.").nullable().optional(),
|
|
55
55
|
cycles_remaining: zod.z.number().int().describe("The number of cycles remaining.").nullable().optional()
|
|
56
|
-
}).describe("The details of a cycle execution within a billing cycle.");
|
|
56
|
+
}).passthrough().describe("The details of a cycle execution within a billing cycle.");
|
|
57
57
|
const PaypalGetBillingSubscriptions_BillingInfoSchema = zod.z.object({
|
|
58
58
|
last_payment: PaypalGetBillingSubscriptions_LastPaymentDetailSchema.nullable().optional(),
|
|
59
59
|
cycle_executions: zod.z.array(PaypalGetBillingSubscriptions_CycleExecutionSchema).describe("The cycle executions for the subscription.").nullable().optional(),
|
|
60
60
|
next_billing_time: zod.z.string().describe("The next billing date and time.").nullable().optional(),
|
|
61
61
|
failed_payment_count: zod.z.number().int().describe("The number of failed payments.").nullable().optional()
|
|
62
|
-
}).describe("The billing information for the subscription.");
|
|
62
|
+
}).passthrough().describe("The billing information for the subscription.");
|
|
63
63
|
const PaypalGetBillingSubscriptions_ShippingAmountSchema = zod.z.object({
|
|
64
64
|
value: zod.z.string().describe("The amount value.").nullable().optional(),
|
|
65
65
|
currency_code: zod.z.string().describe("The three-character ISO currency code.").nullable().optional()
|
|
66
|
-
}).describe("The shipping amount for the subscription.");
|
|
66
|
+
}).passthrough().describe("The shipping amount for the subscription.");
|
|
67
67
|
const PaypalGetBillingSubscriptions_SubscriptionElementSchema = zod.z.object({
|
|
68
68
|
id: zod.z.string().describe("The unique identifier for the subscription.").nullable().optional(),
|
|
69
69
|
links: zod.z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe("An array of HATEOAS links related to the subscription.").nullable().optional(),
|
|
@@ -78,13 +78,13 @@ const PaypalGetBillingSubscriptions_SubscriptionElementSchema = zod.z.object({
|
|
|
78
78
|
shipping_amount: PaypalGetBillingSubscriptions_ShippingAmountSchema.nullable().optional(),
|
|
79
79
|
status_change_note: zod.z.string().describe("The reason for the status change.").nullable().optional(),
|
|
80
80
|
status_update_time: zod.z.string().describe("The date and time when the status was last updated.").nullable().optional()
|
|
81
|
-
}).describe("The details for a subscription in the collection response.");
|
|
81
|
+
}).passthrough().describe("The details for a subscription in the collection response.");
|
|
82
82
|
const PaypalGetBillingSubscriptionsOutput = zod.z.object({
|
|
83
83
|
links: zod.z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
84
84
|
total_items: zod.z.number().int().describe("The total number of items.").nullable().optional(),
|
|
85
85
|
total_pages: zod.z.number().int().describe("The total number of pages.").nullable().optional(),
|
|
86
86
|
subscriptions: zod.z.array(PaypalGetBillingSubscriptions_SubscriptionElementSchema).describe("An array of subscriptions.")
|
|
87
|
-
}).describe("Response model for listing PayPal billing subscriptions.");
|
|
87
|
+
}).passthrough().describe("Response model for listing PayPal billing subscriptions.");
|
|
88
88
|
const paypalGetBillingSubscriptions = require_action.action("PAYPAL_GET_BILLING_SUBSCRIPTIONS", {
|
|
89
89
|
slug: "paypal-get-billing-subscriptions",
|
|
90
90
|
name: "List Billing Subscriptions",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-billing-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/get-billing-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetBillingSubscriptionsInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer representing the page number of the result. Default: 1.\").optional(),\n status: z.enum([\"APPROVAL_PENDING\", \"APPROVED\", \"ACTIVE\", \"SUSPENDED\", \"CANCELLED\", \"EXPIRED\"]).describe(\"Possible status values for a subscription.\").optional(),\n end_time: z.string().describe(\"The end date and time for the subscription range, in Internet date and time format. Example: 2020-12-31T23:59:59Z.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Default: 25, Maximum: 100.\").optional(),\n start_time: z.string().describe(\"The start date and time for the subscription range, in Internet date and time format. Example: 2020-01-01T00:00:00Z.\").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 billing subscriptions.\");\nconst PaypalGetBillingSubscriptions_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 HATEOAS link related to this subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriptionStatusSchema = z.enum([\"APPROVAL_PENDING\", \"APPROVED\", \"ACTIVE\", \"SUSPENDED\", \"CANCELLED\", \"EXPIRED\"]).describe(\"Possible status values for a subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriberNameSchema = z.object({\n surname: z.string().describe(\"The surname of the subscriber.\").nullable().optional(),\n given_name: z.string().describe(\"The given name of the subscriber.\").nullable().optional(),\n}).describe(\"The name of the subscriber.\");\nconst PaypalGetBillingSubscriptions_SubscriberSchema = z.object({\n name: PaypalGetBillingSubscriptions_SubscriberNameSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal ID of the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the subscriber.\").nullable().optional(),\n subscriber_id: z.string().describe(\"The internal identifier for the subscriber.\").nullable().optional(),\n}).describe(\"The subscriber information for the subscription.\");\nconst PaypalGetBillingSubscriptions_MoneyAmountSchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code.\").nullable().optional(),\n}).describe(\"The currency amount.\");\nconst PaypalGetBillingSubscriptions_LastPaymentDetailSchema = z.object({\n time: z.string().describe(\"The date and time of the last payment.\").nullable().optional(),\n amount: PaypalGetBillingSubscriptions_MoneyAmountSchema.nullable().optional(),\n}).describe(\"Details of the last payment made.\");\nconst PaypalGetBillingSubscriptions_CycleExecutionSchema = z.object({\n sequence: z.number().int().describe(\"The sequence of the billing cycle.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The total number of billing cycles.\").nullable().optional(),\n cycles_completed: z.number().int().describe(\"The number of cycles completed.\").nullable().optional(),\n cycles_remaining: z.number().int().describe(\"The number of cycles remaining.\").nullable().optional(),\n}).describe(\"The details of a cycle execution within a billing cycle.\");\nconst PaypalGetBillingSubscriptions_BillingInfoSchema = z.object({\n last_payment: PaypalGetBillingSubscriptions_LastPaymentDetailSchema.nullable().optional(),\n cycle_executions: z.array(PaypalGetBillingSubscriptions_CycleExecutionSchema).describe(\"The cycle executions for the subscription.\").nullable().optional(),\n next_billing_time: z.string().describe(\"The next billing date and time.\").nullable().optional(),\n failed_payment_count: z.number().int().describe(\"The number of failed payments.\").nullable().optional(),\n}).describe(\"The billing information for the subscription.\");\nconst PaypalGetBillingSubscriptions_ShippingAmountSchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code.\").nullable().optional(),\n}).describe(\"The shipping amount for the subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriptionElementSchema = z.object({\n id: z.string().describe(\"The unique identifier for the subscription.\").nullable().optional(),\n links: z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the subscription.\").nullable().optional(),\n status: PaypalGetBillingSubscriptions_SubscriptionStatusSchema.nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan associated with the subscription.\").nullable().optional(),\n custom_id: z.string().describe(\"A custom ID you can set to track the subscription.\").nullable().optional(),\n start_time: z.string().describe(\"The date and time when the subscription starts.\").nullable().optional(),\n subscriber: PaypalGetBillingSubscriptions_SubscriberSchema.nullable().optional(),\n create_time: z.string().describe(\"The date and time when the subscription was created.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the subscription was last updated.\").nullable().optional(),\n billing_info: PaypalGetBillingSubscriptions_BillingInfoSchema.nullable().optional(),\n shipping_amount: PaypalGetBillingSubscriptions_ShippingAmountSchema.nullable().optional(),\n status_change_note: z.string().describe(\"The reason for the status change.\").nullable().optional(),\n status_update_time: z.string().describe(\"The date and time when the status was last updated.\").nullable().optional(),\n}).describe(\"The details for a subscription in the collection response.\");\nexport const PaypalGetBillingSubscriptionsOutput = z.object({\n links: z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\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 subscriptions: z.array(PaypalGetBillingSubscriptions_SubscriptionElementSchema).describe(\"An array of subscriptions.\"),\n}).describe(\"Response model for listing PayPal billing subscriptions.\");\n\nexport const paypalGetBillingSubscriptions = action(\"PAYPAL_GET_BILLING_SUBSCRIPTIONS\", {\n slug: \"paypal-get-billing-subscriptions\",\n name: \"List Billing Subscriptions\",\n description: \"Lists PayPal billing subscriptions for the merchant account. Use when you need to retrieve a paginated list of subscriptions, optionally filtered by creation date range, status, or plan ID. This action supports pagination via page and page_size parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalGetBillingSubscriptionsInput,\n output: PaypalGetBillingSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAU;EAAa;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;C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;AACvH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"get-billing-subscriptions.cjs","names":["z","action"],"sources":["../../src/actions/get-billing-subscriptions.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetBillingSubscriptionsInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer representing the page number of the result. Default: 1.\").optional(),\n status: z.enum([\"APPROVAL_PENDING\", \"APPROVED\", \"ACTIVE\", \"SUSPENDED\", \"CANCELLED\", \"EXPIRED\"]).describe(\"Possible status values for a subscription.\").optional(),\n end_time: z.string().describe(\"The end date and time for the subscription range, in Internet date and time format. Example: 2020-12-31T23:59:59Z.\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Default: 25, Maximum: 100.\").optional(),\n start_time: z.string().describe(\"The start date and time for the subscription range, in Internet date and time format. Example: 2020-01-01T00:00:00Z.\").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 billing subscriptions.\");\nconst PaypalGetBillingSubscriptions_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 HATEOAS link related to this subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriptionStatusSchema = z.enum([\"APPROVAL_PENDING\", \"APPROVED\", \"ACTIVE\", \"SUSPENDED\", \"CANCELLED\", \"EXPIRED\"]).describe(\"Possible status values for a subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriberNameSchema = z.object({\n surname: z.string().describe(\"The surname of the subscriber.\").nullable().optional(),\n given_name: z.string().describe(\"The given name of the subscriber.\").nullable().optional(),\n}).passthrough().describe(\"The name of the subscriber.\");\nconst PaypalGetBillingSubscriptions_SubscriberSchema = z.object({\n name: PaypalGetBillingSubscriptions_SubscriberNameSchema.nullable().optional(),\n payer_id: z.string().describe(\"The PayPal ID of the payer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the subscriber.\").nullable().optional(),\n subscriber_id: z.string().describe(\"The internal identifier for the subscriber.\").nullable().optional(),\n}).passthrough().describe(\"The subscriber information for the subscription.\");\nconst PaypalGetBillingSubscriptions_MoneyAmountSchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code.\").nullable().optional(),\n}).passthrough().describe(\"The currency amount.\");\nconst PaypalGetBillingSubscriptions_LastPaymentDetailSchema = z.object({\n time: z.string().describe(\"The date and time of the last payment.\").nullable().optional(),\n amount: PaypalGetBillingSubscriptions_MoneyAmountSchema.nullable().optional(),\n}).passthrough().describe(\"Details of the last payment made.\");\nconst PaypalGetBillingSubscriptions_CycleExecutionSchema = z.object({\n sequence: z.number().int().describe(\"The sequence of the billing cycle.\").nullable().optional(),\n tenure_type: z.string().describe(\"The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.\").nullable().optional(),\n total_cycles: z.number().int().describe(\"The total number of billing cycles.\").nullable().optional(),\n cycles_completed: z.number().int().describe(\"The number of cycles completed.\").nullable().optional(),\n cycles_remaining: z.number().int().describe(\"The number of cycles remaining.\").nullable().optional(),\n}).passthrough().describe(\"The details of a cycle execution within a billing cycle.\");\nconst PaypalGetBillingSubscriptions_BillingInfoSchema = z.object({\n last_payment: PaypalGetBillingSubscriptions_LastPaymentDetailSchema.nullable().optional(),\n cycle_executions: z.array(PaypalGetBillingSubscriptions_CycleExecutionSchema).describe(\"The cycle executions for the subscription.\").nullable().optional(),\n next_billing_time: z.string().describe(\"The next billing date and time.\").nullable().optional(),\n failed_payment_count: z.number().int().describe(\"The number of failed payments.\").nullable().optional(),\n}).passthrough().describe(\"The billing information for the subscription.\");\nconst PaypalGetBillingSubscriptions_ShippingAmountSchema = z.object({\n value: z.string().describe(\"The amount value.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code.\").nullable().optional(),\n}).passthrough().describe(\"The shipping amount for the subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriptionElementSchema = z.object({\n id: z.string().describe(\"The unique identifier for the subscription.\").nullable().optional(),\n links: z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the subscription.\").nullable().optional(),\n status: PaypalGetBillingSubscriptions_SubscriptionStatusSchema.nullable().optional(),\n plan_id: z.string().describe(\"The ID of the plan associated with the subscription.\").nullable().optional(),\n custom_id: z.string().describe(\"A custom ID you can set to track the subscription.\").nullable().optional(),\n start_time: z.string().describe(\"The date and time when the subscription starts.\").nullable().optional(),\n subscriber: PaypalGetBillingSubscriptions_SubscriberSchema.nullable().optional(),\n create_time: z.string().describe(\"The date and time when the subscription was created.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the subscription was last updated.\").nullable().optional(),\n billing_info: PaypalGetBillingSubscriptions_BillingInfoSchema.nullable().optional(),\n shipping_amount: PaypalGetBillingSubscriptions_ShippingAmountSchema.nullable().optional(),\n status_change_note: z.string().describe(\"The reason for the status change.\").nullable().optional(),\n status_update_time: z.string().describe(\"The date and time when the status was last updated.\").nullable().optional(),\n}).passthrough().describe(\"The details for a subscription in the collection response.\");\nexport const PaypalGetBillingSubscriptionsOutput = z.object({\n links: z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\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 subscriptions: z.array(PaypalGetBillingSubscriptions_SubscriptionElementSchema).describe(\"An array of subscriptions.\"),\n}).passthrough().describe(\"Response model for listing PayPal billing subscriptions.\");\n\nexport const paypalGetBillingSubscriptions = action(\"PAYPAL_GET_BILLING_SUBSCRIPTIONS\", {\n slug: \"paypal-get-billing-subscriptions\",\n name: \"List Billing Subscriptions\",\n description: \"Lists PayPal billing subscriptions for the merchant account. Use when you need to retrieve a paginated list of subscriptions, optionally filtered by creation date range, status, or plan ID. This action supports pagination via page and page_size parameters. Set total_required=true to include total item and page counts in the response.\",\n input: PaypalGetBillingSubscriptionsInput,\n output: PaypalGetBillingSubscriptionsOutput,\n});\n"],"mappings":";;;AAIA,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;CAClI,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAoB;EAAY;EAAU;EAAa;EAAa;CAAS,CAAC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS;CAChK,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS;CAC7J,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,2EAA2E,CAAC,CAAC,SAAS;CACvI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sHAAsH,CAAC,CAAC,SAAS;CACjK,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,4EAA4E,CAAC,CAAC,SAAS;AAC7I,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,sDAAsDA,IAAAA,EAAE,OAAO;CACnE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yBAAyB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,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AAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClH,cAAc,gDAAgD,SAAS,CAAC,CAAC,SAAS;CAClF,iBAAiB,mDAAmD,SAAS,CAAC,CAAC,SAAS;CACxF,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACrH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AACtF,MAAa,sCAAsCA,IAAAA,EAAE,OAAO;CAC1D,OAAOA,IAAAA,EAAE,MAAM,mDAAmD,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,4BAA4B;AACvH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAEpF,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -21,7 +21,7 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
21
21
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
subscriptions: z.ZodArray<z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
30
30
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
34
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
35
35
|
CANCELLED: "CANCELLED";
|
|
36
36
|
APPROVED: "APPROVED";
|
|
@@ -46,11 +46,11 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
47
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
given_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
payer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
subscriber_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>>;
|
|
54
54
|
create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
billing_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -59,26 +59,26 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
59
59
|
amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
60
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
cycle_executions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
65
65
|
sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
66
|
tenure_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
total_cycles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
68
|
cycles_completed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69
69
|
cycles_remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>>>;
|
|
71
71
|
next_billing_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
failed_payment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$loose>>>;
|
|
74
74
|
shipping_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
75
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
76
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>>;
|
|
78
78
|
status_change_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
status_update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
-
}, z.core.$
|
|
81
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$loose>>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
82
|
declare const paypalGetBillingSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
83
83
|
page?: number | undefined;
|
|
84
84
|
status?: "CANCELLED" | "APPROVED" | "EXPIRED" | "ACTIVE" | "APPROVAL_PENDING" | "SUSPENDED" | undefined;
|
|
@@ -21,7 +21,7 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
21
21
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>>>>;
|
|
25
25
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
26
26
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
27
27
|
subscriptions: z.ZodArray<z.ZodObject<{
|
|
@@ -30,7 +30,7 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
30
30
|
rel: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
31
|
href: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
|
-
}, z.core.$
|
|
33
|
+
}, z.core.$loose>>>>;
|
|
34
34
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
35
35
|
CANCELLED: "CANCELLED";
|
|
36
36
|
APPROVED: "APPROVED";
|
|
@@ -46,11 +46,11 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
46
46
|
name: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
47
47
|
surname: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
48
48
|
given_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
-
}, z.core.$
|
|
49
|
+
}, z.core.$loose>>>;
|
|
50
50
|
payer_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
51
|
email_address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
52
52
|
subscriber_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
-
}, z.core.$
|
|
53
|
+
}, z.core.$loose>>>;
|
|
54
54
|
create_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
billing_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -59,26 +59,26 @@ declare const PaypalGetBillingSubscriptionsOutput: z.ZodObject<{
|
|
|
59
59
|
amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
60
60
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
61
61
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
62
|
-
}, z.core.$
|
|
63
|
-
}, z.core.$
|
|
62
|
+
}, z.core.$loose>>>;
|
|
63
|
+
}, z.core.$loose>>>;
|
|
64
64
|
cycle_executions: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
65
65
|
sequence: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
66
66
|
tenure_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
67
67
|
total_cycles: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
68
68
|
cycles_completed: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
69
69
|
cycles_remaining: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
70
|
-
}, z.core.$
|
|
70
|
+
}, z.core.$loose>>>>;
|
|
71
71
|
next_billing_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
72
72
|
failed_payment_count: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
73
|
-
}, z.core.$
|
|
73
|
+
}, z.core.$loose>>>;
|
|
74
74
|
shipping_amount: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
75
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
76
76
|
currency_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
77
|
-
}, z.core.$
|
|
77
|
+
}, z.core.$loose>>>;
|
|
78
78
|
status_change_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
79
79
|
status_update_time: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
80
|
-
}, z.core.$
|
|
81
|
-
}, z.core.$
|
|
80
|
+
}, z.core.$loose>>;
|
|
81
|
+
}, z.core.$loose>;
|
|
82
82
|
declare const paypalGetBillingSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
83
83
|
page?: number | undefined;
|
|
84
84
|
status?: "CANCELLED" | "APPROVED" | "EXPIRED" | "ACTIVE" | "APPROVAL_PENDING" | "SUSPENDED" | undefined;
|