@keystrokehq/paypal 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/action.cjs +21 -0
- package/dist/action.cjs.map +1 -0
- package/dist/action.mjs +21 -0
- package/dist/action.mjs.map +1 -0
- package/dist/actions/activate-plan.cjs +19 -0
- package/dist/actions/activate-plan.cjs.map +1 -0
- package/dist/actions/activate-plan.d.cts +9 -0
- package/dist/actions/activate-plan.d.cts.map +1 -0
- package/dist/actions/activate-plan.d.mts +9 -0
- package/dist/actions/activate-plan.d.mts.map +1 -0
- package/dist/actions/activate-plan.mjs +16 -0
- package/dist/actions/activate-plan.mjs.map +1 -0
- package/dist/actions/add-batch-trackers.cjs +62 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -0
- package/dist/actions/add-batch-trackers.d.cts +9 -0
- package/dist/actions/add-batch-trackers.d.cts.map +1 -0
- package/dist/actions/add-batch-trackers.d.mts +9 -0
- package/dist/actions/add-batch-trackers.d.mts.map +1 -0
- package/dist/actions/add-batch-trackers.mjs +61 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -0
- package/dist/actions/authorize-order.cjs +101 -0
- package/dist/actions/authorize-order.cjs.map +1 -0
- package/dist/actions/authorize-order.d.cts +9 -0
- package/dist/actions/authorize-order.d.cts.map +1 -0
- package/dist/actions/authorize-order.d.mts +9 -0
- package/dist/actions/authorize-order.d.mts.map +1 -0
- package/dist/actions/authorize-order.mjs +100 -0
- package/dist/actions/authorize-order.mjs.map +1 -0
- package/dist/actions/cancel-invoice.cjs +44 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -0
- package/dist/actions/cancel-invoice.d.cts +9 -0
- package/dist/actions/cancel-invoice.d.cts.map +1 -0
- package/dist/actions/cancel-invoice.d.mts +9 -0
- package/dist/actions/cancel-invoice.d.mts.map +1 -0
- package/dist/actions/cancel-invoice.mjs +43 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -0
- package/dist/actions/cancel-reminders.cjs +36 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -0
- package/dist/actions/cancel-reminders.d.cts +9 -0
- package/dist/actions/cancel-reminders.d.cts.map +1 -0
- package/dist/actions/cancel-reminders.d.mts +9 -0
- package/dist/actions/cancel-reminders.d.mts.map +1 -0
- package/dist/actions/cancel-reminders.mjs +35 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -0
- package/dist/actions/capture-subscription-payment.cjs +79 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -0
- package/dist/actions/capture-subscription-payment.d.cts +9 -0
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -0
- package/dist/actions/capture-subscription-payment.d.mts +9 -0
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -0
- package/dist/actions/capture-subscription-payment.mjs +78 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -0
- package/dist/actions/charge-payment-method.cjs +58 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -0
- package/dist/actions/charge-payment-method.d.cts +9 -0
- package/dist/actions/charge-payment-method.d.cts.map +1 -0
- package/dist/actions/charge-payment-method.d.mts +9 -0
- package/dist/actions/charge-payment-method.d.mts.map +1 -0
- package/dist/actions/charge-payment-method.mjs +55 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -0
- package/dist/actions/create-invoice.cjs +294 -0
- package/dist/actions/create-invoice.cjs.map +1 -0
- package/dist/actions/create-invoice.d.cts +9 -0
- package/dist/actions/create-invoice.d.cts.map +1 -0
- package/dist/actions/create-invoice.d.mts +9 -0
- package/dist/actions/create-invoice.d.mts.map +1 -0
- package/dist/actions/create-invoice.mjs +293 -0
- package/dist/actions/create-invoice.mjs.map +1 -0
- package/dist/actions/create-payment.cjs +178 -0
- package/dist/actions/create-payment.cjs.map +1 -0
- package/dist/actions/create-payment.d.cts +9 -0
- package/dist/actions/create-payment.d.cts.map +1 -0
- package/dist/actions/create-payment.d.mts +9 -0
- package/dist/actions/create-payment.d.mts.map +1 -0
- package/dist/actions/create-payment.mjs +177 -0
- package/dist/actions/create-payment.mjs.map +1 -0
- package/dist/actions/create-payments-billing-plans.cjs +111 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -0
- package/dist/actions/create-payments-billing-plans.d.cts +9 -0
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -0
- package/dist/actions/create-payments-billing-plans.d.mts +9 -0
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -0
- package/dist/actions/create-payments-billing-plans.mjs +110 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -0
- package/dist/actions/create-plan.cjs +119 -0
- package/dist/actions/create-plan.cjs.map +1 -0
- package/dist/actions/create-plan.d.cts +9 -0
- package/dist/actions/create-plan.d.cts.map +1 -0
- package/dist/actions/create-plan.d.mts +9 -0
- package/dist/actions/create-plan.d.mts.map +1 -0
- package/dist/actions/create-plan.mjs +118 -0
- package/dist/actions/create-plan.mjs.map +1 -0
- package/dist/actions/create-product.cjs +190 -0
- package/dist/actions/create-product.cjs.map +1 -0
- package/dist/actions/create-product.d.cts +9 -0
- package/dist/actions/create-product.d.cts.map +1 -0
- package/dist/actions/create-product.d.mts +9 -0
- package/dist/actions/create-product.d.mts.map +1 -0
- package/dist/actions/create-product.mjs +189 -0
- package/dist/actions/create-product.mjs.map +1 -0
- package/dist/actions/create-subscription.cjs +183 -0
- package/dist/actions/create-subscription.cjs.map +1 -0
- package/dist/actions/create-subscription.d.cts +9 -0
- package/dist/actions/create-subscription.d.cts.map +1 -0
- package/dist/actions/create-subscription.d.mts +9 -0
- package/dist/actions/create-subscription.d.mts.map +1 -0
- package/dist/actions/create-subscription.mjs +182 -0
- package/dist/actions/create-subscription.mjs.map +1 -0
- package/dist/actions/create-template.cjs +234 -0
- package/dist/actions/create-template.cjs.map +1 -0
- package/dist/actions/create-template.d.cts +9 -0
- package/dist/actions/create-template.d.cts.map +1 -0
- package/dist/actions/create-template.d.mts +9 -0
- package/dist/actions/create-template.d.mts.map +1 -0
- package/dist/actions/create-template.mjs +233 -0
- package/dist/actions/create-template.mjs.map +1 -0
- package/dist/actions/create-web-profile.cjs +66 -0
- package/dist/actions/create-web-profile.cjs.map +1 -0
- package/dist/actions/create-web-profile.d.cts +9 -0
- package/dist/actions/create-web-profile.d.cts.map +1 -0
- package/dist/actions/create-web-profile.d.mts +9 -0
- package/dist/actions/create-web-profile.d.mts.map +1 -0
- package/dist/actions/create-web-profile.mjs +65 -0
- package/dist/actions/create-web-profile.mjs.map +1 -0
- package/dist/actions/create-webhook-lookup.cjs +25 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -0
- package/dist/actions/create-webhook-lookup.d.cts +9 -0
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -0
- package/dist/actions/create-webhook-lookup.d.mts +9 -0
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -0
- package/dist/actions/create-webhook-lookup.mjs +24 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -0
- package/dist/actions/create-webhook.cjs +39 -0
- package/dist/actions/create-webhook.cjs.map +1 -0
- package/dist/actions/create-webhook.d.cts +9 -0
- package/dist/actions/create-webhook.d.cts.map +1 -0
- package/dist/actions/create-webhook.d.mts +9 -0
- package/dist/actions/create-webhook.d.mts.map +1 -0
- package/dist/actions/create-webhook.mjs +38 -0
- package/dist/actions/create-webhook.mjs.map +1 -0
- package/dist/actions/deactivate-plan.cjs +19 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -0
- package/dist/actions/deactivate-plan.d.cts +9 -0
- package/dist/actions/deactivate-plan.d.cts.map +1 -0
- package/dist/actions/deactivate-plan.d.mts +9 -0
- package/dist/actions/deactivate-plan.d.mts.map +1 -0
- package/dist/actions/deactivate-plan.mjs +16 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -0
- package/dist/actions/delete-external-payment.cjs +23 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -0
- package/dist/actions/delete-external-payment.d.cts +9 -0
- package/dist/actions/delete-external-payment.d.cts.map +1 -0
- package/dist/actions/delete-external-payment.d.mts +9 -0
- package/dist/actions/delete-external-payment.d.mts.map +1 -0
- package/dist/actions/delete-external-payment.mjs +20 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs +23 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -0
- package/dist/actions/delete-invoice-payment-record.d.cts +9 -0
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -0
- package/dist/actions/delete-invoice-payment-record.d.mts +9 -0
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs +20 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs +22 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -0
- package/dist/actions/delete-invoice-refund-record.d.cts +9 -0
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -0
- package/dist/actions/delete-invoice-refund-record.d.mts +9 -0
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs +19 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -0
- package/dist/actions/delete-invoice.cjs +36 -0
- package/dist/actions/delete-invoice.cjs.map +1 -0
- package/dist/actions/delete-invoice.d.cts +9 -0
- package/dist/actions/delete-invoice.d.cts.map +1 -0
- package/dist/actions/delete-invoice.d.mts +9 -0
- package/dist/actions/delete-invoice.d.mts.map +1 -0
- package/dist/actions/delete-invoice.mjs +35 -0
- package/dist/actions/delete-invoice.mjs.map +1 -0
- package/dist/actions/delete-payment-resource.cjs +19 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -0
- package/dist/actions/delete-payment-resource.d.cts +9 -0
- package/dist/actions/delete-payment-resource.d.cts.map +1 -0
- package/dist/actions/delete-payment-resource.d.mts +9 -0
- package/dist/actions/delete-payment-resource.d.mts.map +1 -0
- package/dist/actions/delete-payment-resource.mjs +16 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -0
- package/dist/actions/delete-template.cjs +36 -0
- package/dist/actions/delete-template.cjs.map +1 -0
- package/dist/actions/delete-template.d.cts +9 -0
- package/dist/actions/delete-template.d.cts.map +1 -0
- package/dist/actions/delete-template.d.mts +9 -0
- package/dist/actions/delete-template.d.mts.map +1 -0
- package/dist/actions/delete-template.mjs +35 -0
- package/dist/actions/delete-template.mjs.map +1 -0
- package/dist/actions/delete-web-profile.cjs +19 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -0
- package/dist/actions/delete-web-profile.d.cts +9 -0
- package/dist/actions/delete-web-profile.d.cts.map +1 -0
- package/dist/actions/delete-web-profile.d.mts +9 -0
- package/dist/actions/delete-web-profile.d.mts.map +1 -0
- package/dist/actions/delete-web-profile.mjs +16 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -0
- package/dist/actions/delete-webhook.cjs +35 -0
- package/dist/actions/delete-webhook.cjs.map +1 -0
- package/dist/actions/delete-webhook.d.cts +9 -0
- package/dist/actions/delete-webhook.d.cts.map +1 -0
- package/dist/actions/delete-webhook.d.mts +9 -0
- package/dist/actions/delete-webhook.d.mts.map +1 -0
- package/dist/actions/delete-webhook.mjs +34 -0
- package/dist/actions/delete-webhook.mjs.map +1 -0
- package/dist/actions/fetch-node.cjs +30 -0
- package/dist/actions/fetch-node.cjs.map +1 -0
- package/dist/actions/fetch-node.d.cts +9 -0
- package/dist/actions/fetch-node.d.cts.map +1 -0
- package/dist/actions/fetch-node.d.mts +9 -0
- package/dist/actions/fetch-node.d.mts.map +1 -0
- package/dist/actions/fetch-node.mjs +29 -0
- package/dist/actions/fetch-node.mjs.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +21 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +9 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +9 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +20 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -0
- package/dist/actions/find-eligible-methods.cjs +87 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -0
- package/dist/actions/find-eligible-methods.d.cts +9 -0
- package/dist/actions/find-eligible-methods.d.cts.map +1 -0
- package/dist/actions/find-eligible-methods.d.mts +9 -0
- package/dist/actions/find-eligible-methods.d.mts.map +1 -0
- package/dist/actions/find-eligible-methods.mjs +86 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -0
- package/dist/actions/generate-client-token.cjs +20 -0
- package/dist/actions/generate-client-token.cjs.map +1 -0
- package/dist/actions/generate-client-token.d.cts +9 -0
- package/dist/actions/generate-client-token.d.cts.map +1 -0
- package/dist/actions/generate-client-token.d.mts +9 -0
- package/dist/actions/generate-client-token.d.mts.map +1 -0
- package/dist/actions/generate-client-token.mjs +17 -0
- package/dist/actions/generate-client-token.mjs.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs +19 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.d.cts +9 -0
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.d.mts +9 -0
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs +16 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -0
- package/dist/actions/generate-next-invoice-number.cjs +16 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -0
- package/dist/actions/generate-next-invoice-number.d.cts +9 -0
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -0
- package/dist/actions/generate-next-invoice-number.d.mts +9 -0
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -0
- package/dist/actions/generate-next-invoice-number.mjs +13 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -0
- package/dist/actions/generate-qr-code.cjs +46 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -0
- package/dist/actions/generate-qr-code.d.cts +9 -0
- package/dist/actions/generate-qr-code.d.cts.map +1 -0
- package/dist/actions/generate-qr-code.d.mts +9 -0
- package/dist/actions/generate-qr-code.d.mts.map +1 -0
- package/dist/actions/generate-qr-code.mjs +45 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -0
- package/dist/actions/get-billing-subscriptions.cjs +98 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -0
- package/dist/actions/get-billing-subscriptions.d.cts +9 -0
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -0
- package/dist/actions/get-billing-subscriptions.d.mts +9 -0
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -0
- package/dist/actions/get-billing-subscriptions.mjs +97 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -0
- package/dist/actions/get-invoice.cjs +159 -0
- package/dist/actions/get-invoice.cjs.map +1 -0
- package/dist/actions/get-invoice.d.cts +9 -0
- package/dist/actions/get-invoice.d.cts.map +1 -0
- package/dist/actions/get-invoice.d.mts +9 -0
- package/dist/actions/get-invoice.d.mts.map +1 -0
- package/dist/actions/get-invoice.mjs +158 -0
- package/dist/actions/get-invoice.mjs.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +29 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +9 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +9 -0
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +28 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -0
- package/dist/actions/get-invoicing-template.cjs +136 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -0
- package/dist/actions/get-invoicing-template.d.cts +9 -0
- package/dist/actions/get-invoicing-template.d.cts.map +1 -0
- package/dist/actions/get-invoicing-template.d.mts +9 -0
- package/dist/actions/get-invoicing-template.d.mts.map +1 -0
- package/dist/actions/get-invoicing-template.mjs +135 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -0
- package/dist/actions/get-order.cjs +112 -0
- package/dist/actions/get-order.cjs.map +1 -0
- package/dist/actions/get-order.d.cts +9 -0
- package/dist/actions/get-order.d.cts.map +1 -0
- package/dist/actions/get-order.d.mts +9 -0
- package/dist/actions/get-order.d.mts.map +1 -0
- package/dist/actions/get-order.mjs +111 -0
- package/dist/actions/get-order.mjs.map +1 -0
- package/dist/actions/get-payment.cjs +98 -0
- package/dist/actions/get-payment.cjs.map +1 -0
- package/dist/actions/get-payment.d.cts +9 -0
- package/dist/actions/get-payment.d.cts.map +1 -0
- package/dist/actions/get-payment.d.mts +9 -0
- package/dist/actions/get-payment.d.mts.map +1 -0
- package/dist/actions/get-payment.mjs +97 -0
- package/dist/actions/get-payment.mjs.map +1 -0
- package/dist/actions/get-payments-refund.cjs +37 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -0
- package/dist/actions/get-payments-refund.d.cts +9 -0
- package/dist/actions/get-payments-refund.d.cts.map +1 -0
- package/dist/actions/get-payments-refund.d.mts +9 -0
- package/dist/actions/get-payments-refund.d.mts.map +1 -0
- package/dist/actions/get-payments-refund.mjs +36 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -0
- package/dist/actions/get-plan.cjs +69 -0
- package/dist/actions/get-plan.cjs.map +1 -0
- package/dist/actions/get-plan.d.cts +9 -0
- package/dist/actions/get-plan.d.cts.map +1 -0
- package/dist/actions/get-plan.d.mts +9 -0
- package/dist/actions/get-plan.d.mts.map +1 -0
- package/dist/actions/get-plan.mjs +68 -0
- package/dist/actions/get-plan.mjs.map +1 -0
- package/dist/actions/get-product.cjs +32 -0
- package/dist/actions/get-product.cjs.map +1 -0
- package/dist/actions/get-product.d.cts +9 -0
- package/dist/actions/get-product.d.cts.map +1 -0
- package/dist/actions/get-product.d.mts +9 -0
- package/dist/actions/get-product.d.mts.map +1 -0
- package/dist/actions/get-product.mjs +31 -0
- package/dist/actions/get-product.mjs.map +1 -0
- package/dist/actions/get-subscription.cjs +88 -0
- package/dist/actions/get-subscription.cjs.map +1 -0
- package/dist/actions/get-subscription.d.cts +9 -0
- package/dist/actions/get-subscription.d.cts.map +1 -0
- package/dist/actions/get-subscription.d.mts +9 -0
- package/dist/actions/get-subscription.d.mts.map +1 -0
- package/dist/actions/get-subscription.mjs +87 -0
- package/dist/actions/get-subscription.mjs.map +1 -0
- package/dist/actions/get-user-info.cjs +43 -0
- package/dist/actions/get-user-info.cjs.map +1 -0
- package/dist/actions/get-user-info.d.cts +9 -0
- package/dist/actions/get-user-info.d.cts.map +1 -0
- package/dist/actions/get-user-info.d.mts +9 -0
- package/dist/actions/get-user-info.d.mts.map +1 -0
- package/dist/actions/get-user-info.mjs +42 -0
- package/dist/actions/get-user-info.mjs.map +1 -0
- package/dist/actions/get-userinfo.cjs +55 -0
- package/dist/actions/get-userinfo.cjs.map +1 -0
- package/dist/actions/get-userinfo.d.cts +9 -0
- package/dist/actions/get-userinfo.d.cts.map +1 -0
- package/dist/actions/get-userinfo.d.mts +9 -0
- package/dist/actions/get-userinfo.d.mts.map +1 -0
- package/dist/actions/get-userinfo.mjs +54 -0
- package/dist/actions/get-userinfo.mjs.map +1 -0
- package/dist/actions/get-web-profile.cjs +38 -0
- package/dist/actions/get-web-profile.cjs.map +1 -0
- package/dist/actions/get-web-profile.d.cts +9 -0
- package/dist/actions/get-web-profile.d.cts.map +1 -0
- package/dist/actions/get-web-profile.d.mts +9 -0
- package/dist/actions/get-web-profile.d.mts.map +1 -0
- package/dist/actions/get-web-profile.mjs +37 -0
- package/dist/actions/get-web-profile.mjs.map +1 -0
- package/dist/actions/get-webhook-lookup.cjs +25 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -0
- package/dist/actions/get-webhook-lookup.d.cts +9 -0
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -0
- package/dist/actions/get-webhook-lookup.d.mts +9 -0
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -0
- package/dist/actions/get-webhook-lookup.mjs +24 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -0
- package/dist/actions/get-webhook.cjs +33 -0
- package/dist/actions/get-webhook.cjs.map +1 -0
- package/dist/actions/get-webhook.d.cts +9 -0
- package/dist/actions/get-webhook.d.cts.map +1 -0
- package/dist/actions/get-webhook.d.mts +9 -0
- package/dist/actions/get-webhook.d.mts.map +1 -0
- package/dist/actions/get-webhook.mjs +32 -0
- package/dist/actions/get-webhook.mjs.map +1 -0
- package/dist/actions/index.cjs +157 -0
- package/dist/actions/index.d.cts +79 -0
- package/dist/actions/index.d.mts +79 -0
- package/dist/actions/index.mjs +79 -0
- package/dist/actions/list-disputes.cjs +62 -0
- package/dist/actions/list-disputes.cjs.map +1 -0
- package/dist/actions/list-disputes.d.cts +9 -0
- package/dist/actions/list-disputes.d.cts.map +1 -0
- package/dist/actions/list-disputes.d.mts +9 -0
- package/dist/actions/list-disputes.d.mts.map +1 -0
- package/dist/actions/list-disputes.mjs +61 -0
- package/dist/actions/list-disputes.mjs.map +1 -0
- package/dist/actions/list-invoices.cjs +81 -0
- package/dist/actions/list-invoices.cjs.map +1 -0
- package/dist/actions/list-invoices.d.cts +9 -0
- package/dist/actions/list-invoices.d.cts.map +1 -0
- package/dist/actions/list-invoices.d.mts +9 -0
- package/dist/actions/list-invoices.d.mts.map +1 -0
- package/dist/actions/list-invoices.mjs +80 -0
- package/dist/actions/list-invoices.mjs.map +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs +87 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -0
- package/dist/actions/list-legacy-billing-plans.d.cts +9 -0
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -0
- package/dist/actions/list-legacy-billing-plans.d.mts +9 -0
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs +86 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -0
- package/dist/actions/list-payments.cjs +112 -0
- package/dist/actions/list-payments.cjs.map +1 -0
- package/dist/actions/list-payments.d.cts +9 -0
- package/dist/actions/list-payments.d.cts.map +1 -0
- package/dist/actions/list-payments.d.mts +9 -0
- package/dist/actions/list-payments.d.mts.map +1 -0
- package/dist/actions/list-payments.mjs +111 -0
- package/dist/actions/list-payments.mjs.map +1 -0
- package/dist/actions/list-plans.cjs +66 -0
- package/dist/actions/list-plans.cjs.map +1 -0
- package/dist/actions/list-plans.d.cts +9 -0
- package/dist/actions/list-plans.d.cts.map +1 -0
- package/dist/actions/list-plans.d.mts +9 -0
- package/dist/actions/list-plans.d.mts.map +1 -0
- package/dist/actions/list-plans.mjs +65 -0
- package/dist/actions/list-plans.mjs.map +1 -0
- package/dist/actions/list-products.cjs +37 -0
- package/dist/actions/list-products.cjs.map +1 -0
- package/dist/actions/list-products.d.cts +9 -0
- package/dist/actions/list-products.d.cts.map +1 -0
- package/dist/actions/list-products.d.mts +9 -0
- package/dist/actions/list-products.d.mts.map +1 -0
- package/dist/actions/list-products.mjs +36 -0
- package/dist/actions/list-products.mjs.map +1 -0
- package/dist/actions/list-templates.cjs +74 -0
- package/dist/actions/list-templates.cjs.map +1 -0
- package/dist/actions/list-templates.d.cts +9 -0
- package/dist/actions/list-templates.d.cts.map +1 -0
- package/dist/actions/list-templates.d.mts +9 -0
- package/dist/actions/list-templates.d.mts.map +1 -0
- package/dist/actions/list-templates.mjs +73 -0
- package/dist/actions/list-templates.mjs.map +1 -0
- package/dist/actions/list-web-profiles.cjs +48 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -0
- package/dist/actions/list-web-profiles.d.cts +9 -0
- package/dist/actions/list-web-profiles.d.cts.map +1 -0
- package/dist/actions/list-web-profiles.d.mts +9 -0
- package/dist/actions/list-web-profiles.d.mts.map +1 -0
- package/dist/actions/list-web-profiles.mjs +47 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +23 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +9 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +9 -0
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +22 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -0
- package/dist/actions/list-webhook-event-types.cjs +23 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -0
- package/dist/actions/list-webhook-event-types.d.cts +9 -0
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -0
- package/dist/actions/list-webhook-event-types.d.mts +9 -0
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -0
- package/dist/actions/list-webhook-event-types.mjs +22 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -0
- package/dist/actions/list-webhook-lookups.cjs +26 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -0
- package/dist/actions/list-webhook-lookups.d.cts +9 -0
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -0
- package/dist/actions/list-webhook-lookups.d.mts +9 -0
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -0
- package/dist/actions/list-webhook-lookups.mjs +25 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -0
- package/dist/actions/list-webhooks.cjs +31 -0
- package/dist/actions/list-webhooks.cjs.map +1 -0
- package/dist/actions/list-webhooks.d.cts +9 -0
- package/dist/actions/list-webhooks.d.cts.map +1 -0
- package/dist/actions/list-webhooks.d.mts +9 -0
- package/dist/actions/list-webhooks.d.mts.map +1 -0
- package/dist/actions/list-webhooks.mjs +30 -0
- package/dist/actions/list-webhooks.mjs.map +1 -0
- package/dist/actions/patch-orders.cjs +43 -0
- package/dist/actions/patch-orders.cjs.map +1 -0
- package/dist/actions/patch-orders.d.cts +9 -0
- package/dist/actions/patch-orders.d.cts.map +1 -0
- package/dist/actions/patch-orders.d.mts +9 -0
- package/dist/actions/patch-orders.d.mts.map +1 -0
- package/dist/actions/patch-orders.mjs +40 -0
- package/dist/actions/patch-orders.mjs.map +1 -0
- package/dist/actions/patch-plan.cjs +34 -0
- package/dist/actions/patch-plan.cjs.map +1 -0
- package/dist/actions/patch-plan.d.cts +9 -0
- package/dist/actions/patch-plan.d.cts.map +1 -0
- package/dist/actions/patch-plan.d.mts +9 -0
- package/dist/actions/patch-plan.d.mts.map +1 -0
- package/dist/actions/patch-plan.mjs +31 -0
- package/dist/actions/patch-plan.mjs.map +1 -0
- package/dist/actions/patch-subscription.cjs +49 -0
- package/dist/actions/patch-subscription.cjs.map +1 -0
- package/dist/actions/patch-subscription.d.cts +9 -0
- package/dist/actions/patch-subscription.d.cts.map +1 -0
- package/dist/actions/patch-subscription.d.mts +9 -0
- package/dist/actions/patch-subscription.d.mts.map +1 -0
- package/dist/actions/patch-subscription.mjs +48 -0
- package/dist/actions/patch-subscription.mjs.map +1 -0
- package/dist/actions/patch-web-profile.cjs +41 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -0
- package/dist/actions/patch-web-profile.d.cts +9 -0
- package/dist/actions/patch-web-profile.d.cts.map +1 -0
- package/dist/actions/patch-web-profile.d.mts +9 -0
- package/dist/actions/patch-web-profile.d.mts.map +1 -0
- package/dist/actions/patch-web-profile.mjs +38 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -0
- package/dist/actions/ping-braintree.cjs +19 -0
- package/dist/actions/ping-braintree.cjs.map +1 -0
- package/dist/actions/ping-braintree.d.cts +9 -0
- package/dist/actions/ping-braintree.d.cts.map +1 -0
- package/dist/actions/ping-braintree.d.mts +9 -0
- package/dist/actions/ping-braintree.d.mts.map +1 -0
- package/dist/actions/ping-braintree.mjs +16 -0
- package/dist/actions/ping-braintree.mjs.map +1 -0
- package/dist/actions/query-braintree-report.cjs +39 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -0
- package/dist/actions/query-braintree-report.d.cts +9 -0
- package/dist/actions/query-braintree-report.d.cts.map +1 -0
- package/dist/actions/query-braintree-report.d.mts +9 -0
- package/dist/actions/query-braintree-report.d.mts.map +1 -0
- package/dist/actions/query-braintree-report.mjs +38 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -0
- package/dist/actions/retrieve-payment-resource.cjs +72 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -0
- package/dist/actions/retrieve-payment-resource.d.cts +9 -0
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -0
- package/dist/actions/retrieve-payment-resource.d.mts +9 -0
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -0
- package/dist/actions/retrieve-payment-resource.mjs +71 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -0
- package/dist/actions/search-invoices.cjs +120 -0
- package/dist/actions/search-invoices.cjs.map +1 -0
- package/dist/actions/search-invoices.d.cts +9 -0
- package/dist/actions/search-invoices.d.cts.map +1 -0
- package/dist/actions/search-invoices.d.mts +9 -0
- package/dist/actions/search-invoices.d.mts.map +1 -0
- package/dist/actions/search-invoices.mjs +119 -0
- package/dist/actions/search-invoices.mjs.map +1 -0
- package/dist/actions/send-invoice.cjs +37 -0
- package/dist/actions/send-invoice.cjs.map +1 -0
- package/dist/actions/send-invoice.d.cts +9 -0
- package/dist/actions/send-invoice.d.cts.map +1 -0
- package/dist/actions/send-invoice.d.mts +9 -0
- package/dist/actions/send-invoice.d.mts.map +1 -0
- package/dist/actions/send-invoice.mjs +36 -0
- package/dist/actions/send-invoice.mjs.map +1 -0
- package/dist/actions/simulate-webhook-event.cjs +52 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -0
- package/dist/actions/simulate-webhook-event.d.cts +9 -0
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -0
- package/dist/actions/simulate-webhook-event.d.mts +9 -0
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -0
- package/dist/actions/simulate-webhook-event.mjs +51 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -0
- package/dist/actions/update-dispute.cjs +45 -0
- package/dist/actions/update-dispute.cjs.map +1 -0
- package/dist/actions/update-dispute.d.cts +9 -0
- package/dist/actions/update-dispute.d.cts.map +1 -0
- package/dist/actions/update-dispute.d.mts +9 -0
- package/dist/actions/update-dispute.d.mts.map +1 -0
- package/dist/actions/update-dispute.mjs +44 -0
- package/dist/actions/update-dispute.mjs.map +1 -0
- package/dist/actions/update-invoice.cjs +367 -0
- package/dist/actions/update-invoice.cjs.map +1 -0
- package/dist/actions/update-invoice.d.cts +9 -0
- package/dist/actions/update-invoice.d.cts.map +1 -0
- package/dist/actions/update-invoice.d.mts +9 -0
- package/dist/actions/update-invoice.d.mts.map +1 -0
- package/dist/actions/update-invoice.mjs +366 -0
- package/dist/actions/update-invoice.mjs.map +1 -0
- package/dist/actions/update-pay-pal-product.cjs +41 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -0
- package/dist/actions/update-pay-pal-product.d.cts +9 -0
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -0
- package/dist/actions/update-pay-pal-product.d.mts +9 -0
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -0
- package/dist/actions/update-pay-pal-product.mjs +38 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs +54 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -0
- package/dist/actions/update-pay-pal-webhook.d.cts +9 -0
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -0
- package/dist/actions/update-pay-pal-webhook.d.mts +9 -0
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs +53 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -0
- package/dist/actions/update-templates.cjs +403 -0
- package/dist/actions/update-templates.cjs.map +1 -0
- package/dist/actions/update-templates.d.cts +9 -0
- package/dist/actions/update-templates.d.cts.map +1 -0
- package/dist/actions/update-templates.d.mts +9 -0
- package/dist/actions/update-templates.d.mts.map +1 -0
- package/dist/actions/update-templates.mjs +402 -0
- package/dist/actions/update-templates.mjs.map +1 -0
- package/dist/actions/update-web-profile.cjs +50 -0
- package/dist/actions/update-web-profile.cjs.map +1 -0
- package/dist/actions/update-web-profile.d.cts +9 -0
- package/dist/actions/update-web-profile.d.cts.map +1 -0
- package/dist/actions/update-web-profile.d.mts +9 -0
- package/dist/actions/update-web-profile.d.mts.map +1 -0
- package/dist/actions/update-web-profile.mjs +49 -0
- package/dist/actions/update-web-profile.mjs.map +1 -0
- package/dist/actions/verify-payment-method.cjs +33 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -0
- package/dist/actions/verify-payment-method.d.cts +9 -0
- package/dist/actions/verify-payment-method.d.cts.map +1 -0
- package/dist/actions/verify-payment-method.d.mts +9 -0
- package/dist/actions/verify-payment-method.d.mts.map +1 -0
- package/dist/actions/verify-payment-method.mjs +32 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -0
- package/dist/actions/verify-webhook-signature.cjs +37 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -0
- package/dist/actions/verify-webhook-signature.d.cts +9 -0
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -0
- package/dist/actions/verify-webhook-signature.d.mts +9 -0
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -0
- package/dist/actions/verify-webhook-signature.mjs +34 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -0
- package/dist/app.cjs +9 -0
- package/dist/app.cjs.map +1 -0
- package/dist/app.d.cts +5 -0
- package/dist/app.d.cts.map +1 -0
- package/dist/app.d.mts +5 -0
- package/dist/app.d.mts.map +1 -0
- package/dist/app.mjs +10 -0
- package/dist/app.mjs.map +1 -0
- package/dist/catalog.cjs +15 -0
- package/dist/catalog.cjs.map +1 -0
- package/dist/catalog.d.cts +14 -0
- package/dist/catalog.d.cts.map +1 -0
- package/dist/catalog.d.mts +14 -0
- package/dist/catalog.d.mts.map +1 -0
- package/dist/catalog.mjs +15 -0
- package/dist/catalog.mjs.map +1 -0
- package/dist/execute.cjs +18 -0
- package/dist/execute.cjs.map +1 -0
- package/dist/execute.mjs +18 -0
- package/dist/execute.mjs.map +1 -0
- package/dist/index.cjs +162 -0
- package/dist/index.d.cts +81 -0
- package/dist/index.d.mts +81 -0
- package/dist/index.mjs +82 -0
- package/package.json +49 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/generate-client-token.ts
|
|
4
|
+
const PaypalGenerateClientTokenInput = zod.z.object({}).describe("Request model for generating a PayPal client token.\n\nThis endpoint does not require any request body parameters.\nThe client token is generated based on the authenticated user's credentials\nwhich are passed via the Authorization header in metadata.");
|
|
5
|
+
const PaypalGenerateClientTokenOutput = zod.z.object({
|
|
6
|
+
expires_in: zod.z.number().int().describe("The number of seconds until the client token expires.").nullable().optional(),
|
|
7
|
+
token_type: zod.z.string().describe("The type of token returned (e.g., 'Bearer').").nullable().optional(),
|
|
8
|
+
client_token: zod.z.string().describe("The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.")
|
|
9
|
+
}).describe("Response model for client token generation.");
|
|
10
|
+
const paypalGenerateClientToken = require_action.action("PAYPAL_GENERATE_CLIENT_TOKEN", {
|
|
11
|
+
slug: "paypal-generate-client-token",
|
|
12
|
+
name: "Generate PayPal Client Token",
|
|
13
|
+
description: "Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.",
|
|
14
|
+
input: PaypalGenerateClientTokenInput,
|
|
15
|
+
output: PaypalGenerateClientTokenOutput
|
|
16
|
+
});
|
|
17
|
+
//#endregion
|
|
18
|
+
exports.paypalGenerateClientToken = paypalGenerateClientToken;
|
|
19
|
+
|
|
20
|
+
//# sourceMappingURL=generate-client-token.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-client-token.cjs","names":["z","action"],"sources":["../../src/actions/generate-client-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateClientTokenInput: z.ZodTypeAny = z.object({}).describe(\"Request model for generating a PayPal client token.\\n\\nThis endpoint does not require any request body parameters.\\nThe client token is generated based on the authenticated user's credentials\\nwhich are passed via the Authorization header in metadata.\");\nexport const PaypalGenerateClientTokenOutput: z.ZodTypeAny = z.object({\n expires_in: z.number().int().describe(\"The number of seconds until the client token expires.\").nullable().optional(),\n token_type: z.string().describe(\"The type of token returned (e.g., 'Bearer').\").nullable().optional(),\n client_token: z.string().describe(\"The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.\"),\n}).describe(\"Response model for client token generation.\");\n\nexport const paypalGenerateClientToken = action(\"PAYPAL_GENERATE_CLIENT_TOKEN\", {\n slug: \"paypal-generate-client-token\",\n name: \"Generate PayPal Client Token\",\n description: \"Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.\",\n input: PaypalGenerateClientTokenInput,\n output: PaypalGenerateClientTokenOutput,\n});\n"],"mappings":";;;AAIA,MAAa,iCAA+CA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6PAA6P;AAC/U,MAAa,kCAAgDA,IAAAA,EAAE,OAAO;CACpE,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnH,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpG,cAAcA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;AACzJ,CAAC,CAAC,CAAC,SAAS,6CAA6C;AAEzD,MAAa,4BAA4BC,eAAAA,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-client-token.d.ts
|
|
4
|
+
declare const PaypalGenerateClientTokenInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateClientTokenOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateClientToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateClientToken };
|
|
9
|
+
//# sourceMappingURL=generate-client-token.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-client-token.d.cts","names":[],"sources":["../../src/actions/generate-client-token.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAiS;AAAA,cACnU,+BAAA,EAAiC,CAAA,CAAE,UAIU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-client-token.d.ts
|
|
4
|
+
declare const PaypalGenerateClientTokenInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateClientTokenOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateClientToken: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateClientToken };
|
|
9
|
+
//# sourceMappingURL=generate-client-token.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-client-token.d.mts","names":[],"sources":["../../src/actions/generate-client-token.ts"],"mappings":";;;cAIa,8BAAA,EAAgC,CAAA,CAAE,UAAiS;AAAA,cACnU,+BAAA,EAAiC,CAAA,CAAE,UAIU;AAAA,cAE7C,yBAAA,gCAAyB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const paypalGenerateClientToken = action("PAYPAL_GENERATE_CLIENT_TOKEN", {
|
|
4
|
+
slug: "paypal-generate-client-token",
|
|
5
|
+
name: "Generate PayPal Client Token",
|
|
6
|
+
description: "Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.",
|
|
7
|
+
input: z.object({}).describe("Request model for generating a PayPal client token.\n\nThis endpoint does not require any request body parameters.\nThe client token is generated based on the authenticated user's credentials\nwhich are passed via the Authorization header in metadata."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
expires_in: z.number().int().describe("The number of seconds until the client token expires.").nullable().optional(),
|
|
10
|
+
token_type: z.string().describe("The type of token returned (e.g., 'Bearer').").nullable().optional(),
|
|
11
|
+
client_token: z.string().describe("The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.")
|
|
12
|
+
}).describe("Response model for client token generation.")
|
|
13
|
+
});
|
|
14
|
+
//#endregion
|
|
15
|
+
export { paypalGenerateClientToken };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=generate-client-token.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-client-token.mjs","names":[],"sources":["../../src/actions/generate-client-token.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateClientTokenInput: z.ZodTypeAny = z.object({}).describe(\"Request model for generating a PayPal client token.\\n\\nThis endpoint does not require any request body parameters.\\nThe client token is generated based on the authenticated user's credentials\\nwhich are passed via the Authorization header in metadata.\");\nexport const PaypalGenerateClientTokenOutput: z.ZodTypeAny = z.object({\n expires_in: z.number().int().describe(\"The number of seconds until the client token expires.\").nullable().optional(),\n token_type: z.string().describe(\"The type of token returned (e.g., 'Bearer').\").nullable().optional(),\n client_token: z.string().describe(\"The client token string that can be used in the PayPal JavaScript SDK to render PayPal buttons and accept payments.\"),\n}).describe(\"Response model for client token generation.\");\n\nexport const paypalGenerateClientToken = action(\"PAYPAL_GENERATE_CLIENT_TOKEN\", {\n slug: \"paypal-generate-client-token\",\n name: \"Generate PayPal Client Token\",\n description: \"Generate a client token for PayPal JavaScript SDK integration. Use this action when you need to obtain a client token for accepting PayPal payments on the client side. The client token is required when initializing the PayPal JS SDK (paypal.Buttons() or paypal.Messages()) in your web application. This action requires no request body parameters - the token is generated based on your authenticated credentials (Bearer token in Authorization header). Note: Client tokens are short-lived and should be fetched fresh before each checkout session. Do not cache or reuse client tokens across multiple sessions.\",\n input: PaypalGenerateClientTokenInput,\n output: PaypalGenerateClientTokenOutput,\n});\n"],"mappings":";;AAWA,MAAa,4BAA4B,OAAO,gCAAgC;CAC9E,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAX0D,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,6PAWzE;CACP,QAX2D,EAAE,OAAO;EACpE,YAAY,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnH,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,8CAA8C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpG,cAAc,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH;CACzJ,CAAC,CAAC,CAAC,SAAS,6CAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/generate-next-invoice-number-v2.ts
|
|
4
|
+
const PaypalGenerateNextInvoiceNumberV2Input = zod.z.object({ fetch_id: zod.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() }).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.");
|
|
5
|
+
const PaypalGenerateNextInvoiceNumberV2Output = zod.z.object({
|
|
6
|
+
invoice_id: zod.z.string().describe("The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}").nullable().optional(),
|
|
7
|
+
invoice_number: zod.z.string().describe("The next invoice number in the sequence. If omitted, defaults to the auto-incremented number from the last number.").nullable().optional()
|
|
8
|
+
}).describe("Response schema returned after generating the next invoice number from PayPal API v2.");
|
|
9
|
+
const paypalGenerateNextInvoiceNumberV2 = require_action.action("PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2", {
|
|
10
|
+
slug: "paypal-generate-next-invoice-number-v2",
|
|
11
|
+
name: "Generate Next Invoice Number (v2)",
|
|
12
|
+
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.",
|
|
13
|
+
input: PaypalGenerateNextInvoiceNumberV2Input,
|
|
14
|
+
output: PaypalGenerateNextInvoiceNumberV2Output
|
|
15
|
+
});
|
|
16
|
+
//#endregion
|
|
17
|
+
exports.paypalGenerateNextInvoiceNumberV2 = paypalGenerateNextInvoiceNumberV2;
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=generate-next-invoice-number-v2.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.cjs","names":["z","action"],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGenerateNextInvoiceNumberV2Input: z.ZodTypeAny = 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.ZodTypeAny = 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":";;;AAIA,MAAa,yCAAuDA,IAAAA,EAAE,OAAO,EAC3E,UAAUA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAa,0CAAwDA,IAAAA,EAAE,OAAO;CAC5E,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8EAA8E,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpI,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oHAAoH,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAChL,CAAC,CAAC,CAAC,SAAS,uFAAuF;AAEnG,MAAa,oCAAoCC,eAAAA,OAAO,0CAA0C;CAChG,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-next-invoice-number-v2.d.ts
|
|
4
|
+
declare const PaypalGenerateNextInvoiceNumberV2Input: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateNextInvoiceNumberV2Output: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateNextInvoiceNumberV2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateNextInvoiceNumberV2 };
|
|
9
|
+
//# sourceMappingURL=generate-next-invoice-number-v2.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.d.cts","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAEkL;AAAA,cAC5N,uCAAA,EAAyC,CAAA,CAAE,UAG4C;AAAA,cAEvF,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-next-invoice-number-v2.d.ts
|
|
4
|
+
declare const PaypalGenerateNextInvoiceNumberV2Input: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateNextInvoiceNumberV2Output: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateNextInvoiceNumberV2: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateNextInvoiceNumberV2 };
|
|
9
|
+
//# sourceMappingURL=generate-next-invoice-number-v2.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number-v2.d.mts","names":[],"sources":["../../src/actions/generate-next-invoice-number-v2.ts"],"mappings":";;;cAIa,sCAAA,EAAwC,CAAA,CAAE,UAEkL;AAAA,cAC5N,uCAAA,EAAyC,CAAA,CAAE,UAG4C;AAAA,cAEvF,iCAAA,gCAAiC,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const paypalGenerateNextInvoiceNumberV2 = action("PAYPAL_GENERATE_NEXT_INVOICE_NUMBER_V2", {
|
|
4
|
+
slug: "paypal-generate-next-invoice-number-v2",
|
|
5
|
+
name: "Generate Next Invoice Number (v2)",
|
|
6
|
+
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.",
|
|
7
|
+
input: z.object({ 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() }).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."),
|
|
8
|
+
output: z.object({
|
|
9
|
+
invoice_id: z.string().describe("The PayPal-assigned resource ID for the invoice. Pattern: INV2-[A-Z0-9-]{19}").nullable().optional(),
|
|
10
|
+
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()
|
|
11
|
+
}).describe("Response schema returned after generating the next invoice number from PayPal API v2.")
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
export { paypalGenerateNextInvoiceNumberV2 };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=generate-next-invoice-number-v2.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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,OAZkE,EAAE,OAAO,EAC3E,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS,4IAA4I,CAAC,CAAC,SAAS,EACxL,CAAC,CAAC,CAAC,SAAS,4NAUH;CACP,QAVmE,EAAE,OAAO;EAC5E,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,uFAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/generate-next-invoice-number.ts
|
|
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.") }).describe("Response schema returned after generating the next invoice number.");
|
|
6
|
+
const paypalGenerateNextInvoiceNumber = require_action.action("PAYPAL_GENERATE_NEXT_INVOICE_NUMBER", {
|
|
7
|
+
slug: "paypal-generate-next-invoice-number",
|
|
8
|
+
name: "Generate Next Invoice Number",
|
|
9
|
+
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.",
|
|
10
|
+
input: PaypalGenerateNextInvoiceNumberInput,
|
|
11
|
+
output: PaypalGenerateNextInvoiceNumberOutput
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
exports.paypalGenerateNextInvoiceNumber = paypalGenerateNextInvoiceNumber;
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=generate-next-invoice-number.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\"),\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,uCAAqDA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMAAoM;AAC5R,MAAa,wCAAsDA,IAAAA,EAAE,OAAO,EAC1E,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,EACxE,CAAC,CAAC,CAAC,SAAS,oEAAoE;AAEhF,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-next-invoice-number.d.ts
|
|
4
|
+
declare const PaypalGenerateNextInvoiceNumberInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateNextInvoiceNumberOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateNextInvoiceNumber: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateNextInvoiceNumber };
|
|
9
|
+
//# sourceMappingURL=generate-next-invoice-number.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.d.cts","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAAwO;AAAA,cAChR,qCAAA,EAAuC,CAAA,CAAE,UAE2B;AAAA,cAEpE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-next-invoice-number.d.ts
|
|
4
|
+
declare const PaypalGenerateNextInvoiceNumberInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateNextInvoiceNumberOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateNextInvoiceNumber: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateNextInvoiceNumber };
|
|
9
|
+
//# sourceMappingURL=generate-next-invoice-number.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-next-invoice-number.d.mts","names":[],"sources":["../../src/actions/generate-next-invoice-number.ts"],"mappings":";;;cAIa,oCAAA,EAAsC,CAAA,CAAE,UAAwO;AAAA,cAChR,qCAAA,EAAuC,CAAA,CAAE,UAE2B;AAAA,cAEpE,+BAAA,gCAA+B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
const paypalGenerateNextInvoiceNumber = action("PAYPAL_GENERATE_NEXT_INVOICE_NUMBER", {
|
|
4
|
+
slug: "paypal-generate-next-invoice-number",
|
|
5
|
+
name: "Generate Next Invoice Number",
|
|
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
|
+
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.") }).describe("Response schema returned after generating the next invoice number.")
|
|
9
|
+
});
|
|
10
|
+
//#endregion
|
|
11
|
+
export { paypalGenerateNextInvoiceNumber };
|
|
12
|
+
|
|
13
|
+
//# sourceMappingURL=generate-next-invoice-number.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = z.object({\n number: z.string().describe(\"The next invoice number in the sequence.\"),\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,OATgE,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,SAAS,oMAS/E;CACP,QATiE,EAAE,OAAO,EAC1E,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,EACxE,CAAC,CAAC,CAAC,SAAS,oEAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/generate-qr-code.ts
|
|
4
|
+
const PaypalGenerateQrCodeInput = zod.z.object({
|
|
5
|
+
width: zod.z.number().int().default(500).describe("The width, in pixels, of the QR code image. Value must be between 150 and 500 pixels.").optional(),
|
|
6
|
+
action: zod.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(),
|
|
7
|
+
height: zod.z.number().int().default(500).describe("The height, in pixels, of the QR code image. Value must be between 150 and 500 pixels.").optional(),
|
|
8
|
+
invoice_id: zod.z.string().describe("The ID of the invoice for which to generate a QR code.")
|
|
9
|
+
}).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.");
|
|
10
|
+
const PaypalGenerateQrCode_LinkDescriptionSchema = zod.z.object({
|
|
11
|
+
rel: zod.z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
12
|
+
href: zod.z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
13
|
+
method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
14
|
+
}).describe("HATEOAS link information.");
|
|
15
|
+
const PaypalGenerateQrCode_ErrorDetailSchema = zod.z.object({
|
|
16
|
+
field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
|
|
17
|
+
issue: zod.z.string().describe("The issue description.").nullable().optional(),
|
|
18
|
+
value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
|
|
19
|
+
location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
20
|
+
description: zod.z.string().describe("The error description.").nullable().optional()
|
|
21
|
+
}).describe("Error detail information.");
|
|
22
|
+
const PaypalGenerateQrCode_FileDownloadableSchema = zod.z.object({
|
|
23
|
+
name: zod.z.string().describe("Name of the file"),
|
|
24
|
+
s3url: zod.z.string().describe("S3 URL of the downloaded file."),
|
|
25
|
+
mimetype: zod.z.string().describe("Mime type of the file.")
|
|
26
|
+
});
|
|
27
|
+
const PaypalGenerateQrCodeOutput = zod.z.object({
|
|
28
|
+
name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
29
|
+
links: zod.z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
30
|
+
details: zod.z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
31
|
+
message: zod.z.string().describe("The message that describes the error or success.").nullable().optional(),
|
|
32
|
+
qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),
|
|
33
|
+
debug_id: zod.z.string().describe("The PayPal internal ID for correlation purposes.").nullable().optional(),
|
|
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.");
|
|
36
|
+
const paypalGenerateQrCode = require_action.action("PAYPAL_GENERATE_QR_CODE", {
|
|
37
|
+
slug: "paypal-generate-qr-code",
|
|
38
|
+
name: "Generate Invoice QR Code",
|
|
39
|
+
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.",
|
|
40
|
+
input: PaypalGenerateQrCodeInput,
|
|
41
|
+
output: PaypalGenerateQrCodeOutput
|
|
42
|
+
});
|
|
43
|
+
//#endregion
|
|
44
|
+
exports.paypalGenerateQrCode = paypalGenerateQrCode;
|
|
45
|
+
|
|
46
|
+
//# sourceMappingURL=generate-qr-code.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const PaypalGenerateQrCodeOutput: z.ZodTypeAny = 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,4BAA0CA,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C"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-qr-code.d.ts
|
|
4
|
+
declare const PaypalGenerateQrCodeInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateQrCodeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateQrCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateQrCode };
|
|
9
|
+
//# sourceMappingURL=generate-qr-code.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-qr-code.d.cts","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKmL;AAAA,cAkBhN,0BAAA,EAA4B,CAAA,CAAE,UAQgK;AAAA,cAE9L,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/generate-qr-code.d.ts
|
|
4
|
+
declare const PaypalGenerateQrCodeInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGenerateQrCodeOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGenerateQrCode: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGenerateQrCode };
|
|
9
|
+
//# sourceMappingURL=generate-qr-code.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generate-qr-code.d.mts","names":[],"sources":["../../src/actions/generate-qr-code.ts"],"mappings":";;;cAIa,yBAAA,EAA2B,CAAA,CAAE,UAKmL;AAAA,cAkBhN,0BAAA,EAA4B,CAAA,CAAE,UAQgK;AAAA,cAE9L,oBAAA,gCAAoB,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { action } from "../action.mjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/actions/generate-qr-code.ts
|
|
4
|
+
const PaypalGenerateQrCodeInput = z.object({
|
|
5
|
+
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(),
|
|
6
|
+
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(),
|
|
7
|
+
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(),
|
|
8
|
+
invoice_id: z.string().describe("The ID of the invoice for which to generate a QR code.")
|
|
9
|
+
}).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.");
|
|
10
|
+
const PaypalGenerateQrCode_LinkDescriptionSchema = z.object({
|
|
11
|
+
rel: z.string().describe("The relationship between the resource and the link.").nullable().optional(),
|
|
12
|
+
href: z.string().describe("The URI of the related resource.").nullable().optional(),
|
|
13
|
+
method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
14
|
+
}).describe("HATEOAS link information.");
|
|
15
|
+
const PaypalGenerateQrCode_ErrorDetailSchema = z.object({
|
|
16
|
+
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
17
|
+
issue: z.string().describe("The issue description.").nullable().optional(),
|
|
18
|
+
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
19
|
+
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
20
|
+
description: z.string().describe("The error description.").nullable().optional()
|
|
21
|
+
}).describe("Error detail information.");
|
|
22
|
+
const PaypalGenerateQrCode_FileDownloadableSchema = z.object({
|
|
23
|
+
name: z.string().describe("Name of the file"),
|
|
24
|
+
s3url: z.string().describe("S3 URL of the downloaded file."),
|
|
25
|
+
mimetype: z.string().describe("Mime type of the file.")
|
|
26
|
+
});
|
|
27
|
+
const paypalGenerateQrCode = action("PAYPAL_GENERATE_QR_CODE", {
|
|
28
|
+
slug: "paypal-generate-qr-code",
|
|
29
|
+
name: "Generate Invoice QR Code",
|
|
30
|
+
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.",
|
|
31
|
+
input: PaypalGenerateQrCodeInput,
|
|
32
|
+
output: z.object({
|
|
33
|
+
name: z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
34
|
+
links: z.array(PaypalGenerateQrCode_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
35
|
+
details: z.array(PaypalGenerateQrCode_ErrorDetailSchema).describe("An array of additional details about the error.").nullable().optional(),
|
|
36
|
+
message: z.string().describe("The message that describes the error or success.").nullable().optional(),
|
|
37
|
+
qr_code: PaypalGenerateQrCode_FileDownloadableSchema.nullable().optional(),
|
|
38
|
+
debug_id: z.string().describe("The PayPal internal ID for correlation purposes.").nullable().optional(),
|
|
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.")
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { paypalGenerateQrCode };
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=generate-qr-code.mjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.object({\n name: z.string().describe(\"Name of the file\"),\n s3url: z.string().describe(\"S3 URL of the downloaded file.\"),\n mimetype: z.string().describe(\"Mime type of the file.\"),\n});\nexport const PaypalGenerateQrCodeOutput: z.ZodTypeAny = 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,4BAA0C,EAAE,OAAO;CAC9D,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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,CAAC,CAAC,SAAS,wBAAwB;AACxD,CAAC;AAWD,MAAa,uBAAuB,OAAO,2BAA2B;CACpE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfsD,EAAE,OAAO;EAC/D,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,SAAS,8LAOF;AACV,CAAC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
const require_action = require("../action.cjs");
|
|
2
|
+
let zod = require("zod");
|
|
3
|
+
//#region src/actions/get-billing-subscriptions.ts
|
|
4
|
+
const PaypalGetBillingSubscriptionsInput = zod.z.object({
|
|
5
|
+
page: zod.z.number().int().default(1).describe("A non-zero integer representing the page number of the result. Default: 1.").optional(),
|
|
6
|
+
status: zod.z.enum([
|
|
7
|
+
"APPROVAL_PENDING",
|
|
8
|
+
"APPROVED",
|
|
9
|
+
"ACTIVE",
|
|
10
|
+
"SUSPENDED",
|
|
11
|
+
"CANCELLED",
|
|
12
|
+
"EXPIRED"
|
|
13
|
+
]).describe("Possible status values for a subscription.").optional(),
|
|
14
|
+
end_time: zod.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(),
|
|
15
|
+
page_size: zod.z.number().int().default(25).describe("The number of items to return in the response. Default: 25, Maximum: 100.").optional(),
|
|
16
|
+
start_time: zod.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(),
|
|
17
|
+
total_required: zod.z.boolean().default(false).describe("Indicates whether to show the total items and total pages in the response.").optional()
|
|
18
|
+
}).describe("Request model for listing PayPal billing subscriptions.");
|
|
19
|
+
const PaypalGetBillingSubscriptions_LinkDescriptionSchema = zod.z.object({
|
|
20
|
+
rel: zod.z.string().describe("The link relation type.").nullable().optional(),
|
|
21
|
+
href: zod.z.string().describe("The hyperlink to the related resource.").nullable().optional(),
|
|
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.");
|
|
24
|
+
const PaypalGetBillingSubscriptions_SubscriptionStatusSchema = zod.z.enum([
|
|
25
|
+
"APPROVAL_PENDING",
|
|
26
|
+
"APPROVED",
|
|
27
|
+
"ACTIVE",
|
|
28
|
+
"SUSPENDED",
|
|
29
|
+
"CANCELLED",
|
|
30
|
+
"EXPIRED"
|
|
31
|
+
]).describe("Possible status values for a subscription.");
|
|
32
|
+
const PaypalGetBillingSubscriptions_SubscriberNameSchema = zod.z.object({
|
|
33
|
+
surname: zod.z.string().describe("The surname of the subscriber.").nullable().optional(),
|
|
34
|
+
given_name: zod.z.string().describe("The given name of the subscriber.").nullable().optional()
|
|
35
|
+
}).describe("The name of the subscriber.");
|
|
36
|
+
const PaypalGetBillingSubscriptions_SubscriberSchema = zod.z.object({
|
|
37
|
+
name: PaypalGetBillingSubscriptions_SubscriberNameSchema.nullable().optional(),
|
|
38
|
+
payer_id: zod.z.string().describe("The PayPal ID of the payer.").nullable().optional(),
|
|
39
|
+
email_address: zod.z.string().describe("The email address of the subscriber.").nullable().optional(),
|
|
40
|
+
subscriber_id: zod.z.string().describe("The internal identifier for the subscriber.").nullable().optional()
|
|
41
|
+
}).describe("The subscriber information for the subscription.");
|
|
42
|
+
const PaypalGetBillingSubscriptions_MoneyAmountSchema = zod.z.object({
|
|
43
|
+
value: zod.z.string().describe("The amount value.").nullable().optional(),
|
|
44
|
+
currency_code: zod.z.string().describe("The three-character ISO currency code.").nullable().optional()
|
|
45
|
+
}).describe("The currency amount.");
|
|
46
|
+
const PaypalGetBillingSubscriptions_LastPaymentDetailSchema = zod.z.object({
|
|
47
|
+
time: zod.z.string().describe("The date and time of the last payment.").nullable().optional(),
|
|
48
|
+
amount: PaypalGetBillingSubscriptions_MoneyAmountSchema.nullable().optional()
|
|
49
|
+
}).describe("Details of the last payment made.");
|
|
50
|
+
const PaypalGetBillingSubscriptions_CycleExecutionSchema = zod.z.object({
|
|
51
|
+
sequence: zod.z.number().int().describe("The sequence of the billing cycle.").nullable().optional(),
|
|
52
|
+
tenure_type: zod.z.string().describe("The tenure type of the billing cycle. Possible values: REGULAR, TRIAL.").nullable().optional(),
|
|
53
|
+
total_cycles: zod.z.number().int().describe("The total number of billing cycles.").nullable().optional(),
|
|
54
|
+
cycles_completed: zod.z.number().int().describe("The number of cycles completed.").nullable().optional(),
|
|
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.");
|
|
57
|
+
const PaypalGetBillingSubscriptions_BillingInfoSchema = zod.z.object({
|
|
58
|
+
last_payment: PaypalGetBillingSubscriptions_LastPaymentDetailSchema.nullable().optional(),
|
|
59
|
+
cycle_executions: zod.z.array(PaypalGetBillingSubscriptions_CycleExecutionSchema).describe("The cycle executions for the subscription.").nullable().optional(),
|
|
60
|
+
next_billing_time: zod.z.string().describe("The next billing date and time.").nullable().optional(),
|
|
61
|
+
failed_payment_count: zod.z.number().int().describe("The number of failed payments.").nullable().optional()
|
|
62
|
+
}).describe("The billing information for the subscription.");
|
|
63
|
+
const PaypalGetBillingSubscriptions_ShippingAmountSchema = zod.z.object({
|
|
64
|
+
value: zod.z.string().describe("The amount value.").nullable().optional(),
|
|
65
|
+
currency_code: zod.z.string().describe("The three-character ISO currency code.").nullable().optional()
|
|
66
|
+
}).describe("The shipping amount for the subscription.");
|
|
67
|
+
const PaypalGetBillingSubscriptions_SubscriptionElementSchema = zod.z.object({
|
|
68
|
+
id: zod.z.string().describe("The unique identifier for the subscription.").nullable().optional(),
|
|
69
|
+
links: zod.z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe("An array of HATEOAS links related to the subscription.").nullable().optional(),
|
|
70
|
+
status: PaypalGetBillingSubscriptions_SubscriptionStatusSchema.nullable().optional(),
|
|
71
|
+
plan_id: zod.z.string().describe("The ID of the plan associated with the subscription.").nullable().optional(),
|
|
72
|
+
custom_id: zod.z.string().describe("A custom ID you can set to track the subscription.").nullable().optional(),
|
|
73
|
+
start_time: zod.z.string().describe("The date and time when the subscription starts.").nullable().optional(),
|
|
74
|
+
subscriber: PaypalGetBillingSubscriptions_SubscriberSchema.nullable().optional(),
|
|
75
|
+
create_time: zod.z.string().describe("The date and time when the subscription was created.").nullable().optional(),
|
|
76
|
+
update_time: zod.z.string().describe("The date and time when the subscription was last updated.").nullable().optional(),
|
|
77
|
+
billing_info: PaypalGetBillingSubscriptions_BillingInfoSchema.nullable().optional(),
|
|
78
|
+
shipping_amount: PaypalGetBillingSubscriptions_ShippingAmountSchema.nullable().optional(),
|
|
79
|
+
status_change_note: zod.z.string().describe("The reason for the status change.").nullable().optional(),
|
|
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.");
|
|
82
|
+
const PaypalGetBillingSubscriptionsOutput = zod.z.object({
|
|
83
|
+
links: zod.z.array(PaypalGetBillingSubscriptions_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
84
|
+
total_items: zod.z.number().int().describe("The total number of items.").nullable().optional(),
|
|
85
|
+
total_pages: zod.z.number().int().describe("The total number of pages.").nullable().optional(),
|
|
86
|
+
subscriptions: zod.z.array(PaypalGetBillingSubscriptions_SubscriptionElementSchema).describe("An array of subscriptions.")
|
|
87
|
+
}).describe("Response model for listing PayPal billing subscriptions.");
|
|
88
|
+
const paypalGetBillingSubscriptions = require_action.action("PAYPAL_GET_BILLING_SUBSCRIPTIONS", {
|
|
89
|
+
slug: "paypal-get-billing-subscriptions",
|
|
90
|
+
name: "List Billing Subscriptions",
|
|
91
|
+
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.",
|
|
92
|
+
input: PaypalGetBillingSubscriptionsInput,
|
|
93
|
+
output: PaypalGetBillingSubscriptionsOutput
|
|
94
|
+
});
|
|
95
|
+
//#endregion
|
|
96
|
+
exports.paypalGetBillingSubscriptions = paypalGetBillingSubscriptions;
|
|
97
|
+
|
|
98
|
+
//# sourceMappingURL=get-billing-subscriptions.cjs.map
|
|
@@ -0,0 +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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = z.enum([\"APPROVAL_PENDING\", \"APPROVED\", \"ACTIVE\", \"SUSPENDED\", \"CANCELLED\", \"EXPIRED\"]).describe(\"Possible status values for a subscription.\");\nconst PaypalGetBillingSubscriptions_SubscriberNameSchema: z.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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.ZodTypeAny = 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,qCAAmDA,IAAAA,EAAE,OAAO;CACvE,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,SAA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4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,eAAeA,IAAAA,EAAE,MAAM,uDAAuD,CAAC,CAAC,SAAS,4BAA4B;AACvH,CAAC,CAAC,CAAC,SAAS,0DAA0D;AAEtE,MAAa,gCAAgCC,eAAAA,OAAO,oCAAoC;CACtF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-billing-subscriptions.d.ts
|
|
4
|
+
declare const PaypalGetBillingSubscriptionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGetBillingSubscriptionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGetBillingSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGetBillingSubscriptions };
|
|
9
|
+
//# sourceMappingURL=get-billing-subscriptions.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-billing-subscriptions.d.cts","names":[],"sources":["../../src/actions/get-billing-subscriptions.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAOmB;AAAA,cAyDzD,mCAAA,EAAqC,CAAA,CAAE,UAKmB;AAAA,cAE1D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/actions/get-billing-subscriptions.d.ts
|
|
4
|
+
declare const PaypalGetBillingSubscriptionsInput: z.ZodTypeAny;
|
|
5
|
+
declare const PaypalGetBillingSubscriptionsOutput: z.ZodTypeAny;
|
|
6
|
+
declare const paypalGetBillingSubscriptions: import("@keystrokehq/action").WorkflowActionDefinition<unknown, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { paypalGetBillingSubscriptions };
|
|
9
|
+
//# sourceMappingURL=get-billing-subscriptions.d.mts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-billing-subscriptions.d.mts","names":[],"sources":["../../src/actions/get-billing-subscriptions.ts"],"mappings":";;;cAIa,kCAAA,EAAoC,CAAA,CAAE,UAOmB;AAAA,cAyDzD,mCAAA,EAAqC,CAAA,CAAE,UAKmB;AAAA,cAE1D,6BAAA,gCAA6B,wBAAA,iDAAA,mBAAA,yCAAA,UAAA,4CAAA,UAAA"}
|