@keystrokehq/paypal 0.1.3 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/activate-plan.cjs +1 -0
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +3 -3
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +3 -3
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs +1 -0
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +1 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +3 -21
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +3 -21
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +1 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +1 -0
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +3 -11
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +3 -11
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +1 -0
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -8
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -8
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +1 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -3
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +3 -3
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +1 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +1 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +5 -11
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +5 -11
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +1 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +3 -43
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +3 -43
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +5 -139
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +5 -139
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +1 -0
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +3 -65
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +3 -65
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +1 -0
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +1 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +3 -36
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +3 -36
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +1 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +1 -0
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +3 -37
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -37
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +1 -0
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +1 -0
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +3 -9
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -9
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +1 -0
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +1 -0
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +3 -76
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +3 -76
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +1 -0
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -107
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -107
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +1 -0
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +3 -20
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +3 -20
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +1 -0
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +1 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +3 -1
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +3 -1
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +1 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -9
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -9
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +3 -3
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +3 -3
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +3 -4
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +3 -4
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +3 -4
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +3 -4
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +3 -4
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +3 -4
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -3
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -3
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +3 -3
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +3 -3
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +3 -3
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +3 -3
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +1 -0
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +3 -3
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +3 -3
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +1 -0
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +1 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +3 -37
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +3 -37
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +1 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -0
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +3 -1
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +3 -1
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -0
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +3 -3
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +3 -3
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +3 -1
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +3 -1
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +3 -6
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -6
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +1 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +3 -8
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +3 -8
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs +1 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -3
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -3
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +3 -6
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +3 -6
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +1 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +3 -3
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +3 -3
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +1 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -4
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -4
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -0
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +3 -3
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -3
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +1 -0
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +1 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -3
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +3 -3
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs +1 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +1 -0
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +3 -3
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +3 -3
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs +1 -0
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -3
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -3
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +1 -0
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +3 -4
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +3 -4
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs +1 -0
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -3
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -3
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +1 -0
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -3
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +3 -3
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs +1 -0
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +1 -0
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +3 -3
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +3 -3
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +1 -0
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +1 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +3 -3
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +3 -3
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +1 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -3
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -3
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -9
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -9
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -6
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -6
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +3 -8
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +3 -8
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +3 -9
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +3 -9
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +1 -0
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +3 -6
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -6
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +1 -0
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -5
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -5
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -5
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -5
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +1 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +3 -5
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +3 -5
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +1 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +1 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -1
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +3 -1
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +1 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +1 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -1
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +3 -1
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +1 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -3
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -3
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +1 -0
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -10
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -10
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +1 -0
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +1 -0
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -10
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +3 -10
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs +1 -0
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +1 -0
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +3 -10
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +3 -10
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +1 -0
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +1 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -10
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -10
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +1 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +1 -0
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +3 -1
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +3 -1
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +1 -0
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +1 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +3 -6
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +3 -6
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +1 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +1 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +3 -3
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +3 -3
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +1 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +1 -0
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +5 -44
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +5 -44
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +1 -0
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +1 -0
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +3 -8
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +3 -8
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +1 -0
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +1 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +3 -6
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +3 -6
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +1 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +1 -0
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +3 -10
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +3 -10
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +1 -0
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +5 -171
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +5 -171
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +1 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -10
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -10
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +1 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +3 -10
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +3 -10
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +1 -0
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +3 -213
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +3 -213
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs +1 -0
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +1 -0
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +3 -20
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +3 -20
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +1 -0
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +1 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +3 -6
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +3 -6
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +1 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +3 -24
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +3 -24
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +5 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +7 -1
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +7 -1
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +3 -2
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.cjs","names":["z","action"],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook: AppAction<\n typeof PaypalGetWebhookInput,\n typeof PaypalGetWebhookOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwBA,IAAAA,EAAE,OAAO,EAC5C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACtE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5E,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAClF,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AACpF,MAAM,yCAAyCA,IAAAA,EAAE,OAAO,EACtD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8BAA8B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EACnF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gDAAgD;AAC1E,MAAM,mCAAmCA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CAClE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+BAA+B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjF,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzG,mBAAmBA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7J,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAC/E,MAAa,yBAAyBA,IAAAA,EAAE,OAAO;CAC7C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtE,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,8GAA8G,CAAC,CAAC,SAAS;CAClJ,OAAOA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9H,aAAaA,IAAAA,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD;AAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAA4D;AAEtF,MAAa,mBAITC,eAAAA,OAAO,sBAAsB;CAC/B,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhook.d.ts
|
|
@@ -21,9 +23,7 @@ declare const PaypalGetWebhookOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const paypalGetWebhook:
|
|
25
|
-
webhook_id: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const paypalGetWebhook: AppAction<typeof PaypalGetWebhookInput, typeof PaypalGetWebhookOutput, typeof paypal.credential>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { paypalGetWebhook };
|
|
29
29
|
//# sourceMappingURL=get-webhook.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.d.cts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/get-webhook.d.ts
|
|
@@ -21,9 +23,7 @@ declare const PaypalGetWebhookOutput: z.ZodObject<{
|
|
|
21
23
|
}, z.core.$loose>>>>;
|
|
22
24
|
}, z.core.$loose>>;
|
|
23
25
|
}, z.core.$loose>;
|
|
24
|
-
declare const paypalGetWebhook:
|
|
25
|
-
webhook_id: string;
|
|
26
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
26
|
+
declare const paypalGetWebhook: AppAction<typeof PaypalGetWebhookInput, typeof PaypalGetWebhookOutput, typeof paypal.credential>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { paypalGetWebhook };
|
|
29
29
|
//# sourceMappingURL=get-webhook.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.d.mts","names":[],"sources":["../../src/actions/get-webhook.ts"],"mappings":";;;;;cAMa,qBAAA,EAAqB,CAAA,CAAA,SAAA;;;cAiBrB,sBAAA,EAAsB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;cAOtB,gBAAA,EAAkB,SAAA,QACtB,qBAAA,SACA,sBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"get-webhook.mjs","names":[],"sources":["../../src/actions/get-webhook.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalGetWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to retrieve.\"),\n}).describe(\"Request model for getting PayPal webhook details by ID.\");\nconst PaypalGetWebhook_WebhookLinkSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable().optional(),\n href: z.string().describe(\"The URI of the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for HATEOAS link information in webhook responses.\");\nconst PaypalGetWebhook_ResourceVersionSchema = z.object({\n version: z.string().describe(\"The version of the resource.\").nullable().optional(),\n}).passthrough().describe(\"Model for a resource version in an event type.\");\nconst PaypalGetWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type.\").nullable(),\n status: z.string().describe(\"The status of the event type.\").nullable().optional(),\n description: z.string().describe(\"A human-readable description for the event type.\").nullable().optional(),\n resource_versions: z.array(PaypalGetWebhook_ResourceVersionSchema).describe(\"The versions of the resource related to the event type.\").nullable().optional(),\n}).passthrough().describe(\"Model for an event type subscribed to by a webhook.\");\nexport const PaypalGetWebhookOutput = z.object({\n id: z.string().describe(\"The ID of the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen for incoming POST notification messages that contain event information.\").nullable(),\n links: z.array(PaypalGetWebhook_WebhookLinkSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalGetWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\"),\n}).passthrough().describe(\"Response model containing webhook details from PayPal API.\");\n\nexport const paypalGetWebhook: AppAction<\n typeof PaypalGetWebhookInput,\n typeof PaypalGetWebhookOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_GET_WEBHOOK\", {\n slug: \"paypal-get-webhook\",\n name: \"Get Webhook\",\n description: \"Retrieves detailed information about a specific PayPal webhook by its ID. Use this action when you need to get details about an existing webhook configuration, such as the webhook URL, subscribed event types, or webhook status. This is useful for auditing webhook settings, verifying webhook subscriptions, or checking webhook configuration. This is a read-only operation that returns the webhook details including its ID, URL, subscribed event types, and HATEOAS links for related actions.\",\n input: PaypalGetWebhookInput,\n output: PaypalGetWebhookOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,wBAAwB,EAAE,OAAO,EAC5C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oCAAoC,EACtE,CAAC,CAAC,CAAC,SAAS,yDAAyD;AACrE,MAAM,qCAAqC,EAAE,OAAO;CAClD,KAAK,EAAE,OAAO,CAAC,CAAC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S,CAAC,CAAC,SAAS;EAC9H,aAAa,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,wDAAwD;CAC1H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4DAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-disputes.cjs","names":["z","action"],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-disputes.cjs","names":["z","action"],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes: AppAction<\n typeof PaypalListDisputesInput,\n typeof PaypalListDisputesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpJ,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC5Q,eAAeA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,KAAK;EAAC;EAAmB;EAA+B;EAAuB;EAAY;EAAkB;CAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC7a,iBAAiBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrK,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACnL,oBAAoBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACrL,yBAAyBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,8NAA8N;AAC1O,MAAM,2CAA2CA,IAAAA,EAAE,OAAO;CACxD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACpG,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQA,IAAAA,EAA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";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-disputes.d.ts
|
|
@@ -49,15 +51,7 @@ declare const PaypalListDisputesOutput: z.ZodObject<{
|
|
|
49
51
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>>>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const paypalListDisputes:
|
|
53
|
-
page_size?: number | undefined;
|
|
54
|
-
start_time?: string | undefined;
|
|
55
|
-
dispute_state?: ("REQUIRED_ACTION" | "REQUIRED_OTHER_PARTY_ACTION" | "UNDER_PAYPAL_REVIEW" | "RESOLVED" | "OPEN_INQUIRIES" | "APPEALABLE")[] | undefined;
|
|
56
|
-
next_page_token?: string | undefined;
|
|
57
|
-
update_time_after?: string | undefined;
|
|
58
|
-
update_time_before?: string | undefined;
|
|
59
|
-
disputed_transaction_id?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const paypalListDisputes: AppAction<typeof PaypalListDisputesInput, typeof PaypalListDisputesOutput, typeof paypal.credential>;
|
|
61
55
|
//#endregion
|
|
62
56
|
export { paypalListDisputes };
|
|
63
57
|
//# sourceMappingURL=list-disputes.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-disputes.d.cts","names":[],"sources":["../../src/actions/list-disputes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-disputes.d.cts","names":[],"sources":["../../src/actions/list-disputes.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAqCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-disputes.d.ts
|
|
@@ -49,15 +51,7 @@ declare const PaypalListDisputesOutput: z.ZodObject<{
|
|
|
49
51
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
52
|
}, z.core.$loose>>>>;
|
|
51
53
|
}, z.core.$loose>;
|
|
52
|
-
declare const paypalListDisputes:
|
|
53
|
-
page_size?: number | undefined;
|
|
54
|
-
start_time?: string | undefined;
|
|
55
|
-
dispute_state?: ("REQUIRED_ACTION" | "REQUIRED_OTHER_PARTY_ACTION" | "UNDER_PAYPAL_REVIEW" | "RESOLVED" | "OPEN_INQUIRIES" | "APPEALABLE")[] | undefined;
|
|
56
|
-
next_page_token?: string | undefined;
|
|
57
|
-
update_time_after?: string | undefined;
|
|
58
|
-
update_time_before?: string | undefined;
|
|
59
|
-
disputed_transaction_id?: string | undefined;
|
|
60
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
54
|
+
declare const paypalListDisputes: AppAction<typeof PaypalListDisputesInput, typeof PaypalListDisputesOutput, typeof paypal.credential>;
|
|
61
55
|
//#endregion
|
|
62
56
|
export { paypalListDisputes };
|
|
63
57
|
//# sourceMappingURL=list-disputes.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-disputes.d.mts","names":[],"sources":["../../src/actions/list-disputes.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-disputes.d.mts","names":[],"sources":["../../src/actions/list-disputes.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;cAqCvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-disputes.mjs","names":[],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-disputes.mjs","names":[],"sources":["../../src/actions/list-disputes.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalListDisputesInput = z.object({\n page_size: z.number().int().default(25).describe(\"Limits the number of disputes in the response. Maximum allowed value is typically 100.\").optional(),\n start_time: z.string().describe(\"Filters the disputes by creation date and time. The start time must be within the last 180 days. Format: ISO 8601 (e.g., yyyy-MM-ddTHH:mm:ss.SSSZ). You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n dispute_state: z.array(z.enum([\"REQUIRED_ACTION\", \"REQUIRED_OTHER_PARTY_ACTION\", \"UNDER_PAYPAL_REVIEW\", \"RESOLVED\", \"OPEN_INQUIRIES\", \"APPEALABLE\"]).describe(\"Dispute state filter values for listing disputes.\")).describe(\"Filters the disputes by one or more dispute states. Separate multiple values with comma or provide as a list. When multiple states are specified, disputes matching any of the states are returned.\").optional(),\n next_page_token: z.string().describe(\"A token that describes the next page of results to fetch. Use the token from the previous response's HATEOAS links.\").optional(),\n update_time_after: z.string().describe(\"Filters disputes updated after this date and time. Must be within the last 180 days. Default is 180 days ago. Format: ISO 8601.\").optional(),\n update_time_before: z.string().describe(\"Filters disputes updated before this date and time. Must be within the last 180 days. Default is current time. Format: ISO 8601.\").optional(),\n disputed_transaction_id: z.string().describe(\"Filters the disputes by a transaction ID. You can specify either start_time or disputed_transaction_id, but not both.\").optional(),\n}).describe(\"Request schema for listing PayPal customer disputes with optional filters.\\n\\nUse when you need to retrieve a list of PayPal disputes, optionally filtered by\\ncreation date, transaction ID, dispute state, or update time.\");\nconst PaypalListDisputes_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type that describes the meaning of the link.\").nullable(),\n href: z.string().describe(\"The complete target URL for the link.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method that must be used to access the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for navigating API responses.\");\nconst PaypalListDisputes_DisputeAssetSchema = z.object({\n value: z.string().describe(\"The value of the asset.\").nullable().optional(),\n currency_code: z.string().describe(\"Cryptocurrency currency code (e.g., BTC, ETH).\").nullable().optional(),\n}).passthrough().describe(\"Cryptocurrency asset information for disputes involving crypto transactions.\");\nconst PaypalListDisputes_DisputeAmountSchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"Three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Money amount associated with a dispute.\");\nconst PaypalListDisputes_DisputeSummarySchema = z.object({\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links to related dispute resources.\").nullable().optional(),\n reason: z.string().describe(\"The reason for the dispute (e.g., 'MERCHANT_ISSUE', 'UNAUTHORIZED_TRANSACTION').\").nullable().optional(),\n status: z.string().describe(\"The status of the dispute.\").nullable().optional(),\n dispute_id: z.string().describe(\"The ID of the dispute.\").nullable(),\n create_time: z.string().describe(\"The date and time when the dispute was created, in ISO 8601 format.\").nullable().optional(),\n update_time: z.string().describe(\"The date and time when the dispute was last updated, in ISO 8601 format.\").nullable().optional(),\n dispute_asset: PaypalListDisputes_DisputeAssetSchema.nullable().optional(),\n dispute_state: z.string().describe(\"The current state of the dispute.\").nullable().optional(),\n dispute_amount: PaypalListDisputes_DisputeAmountSchema.nullable().optional(),\n dispute_channel: z.string().describe(\"The channel through which the dispute was initiated (e.g., 'COMPANY_DISPUTE', 'PAYPAL_DISPUTE').\").nullable().optional(),\n buyer_response_due_date: z.string().describe(\"The date and time by which the buyer must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n dispute_life_cycle_stage: z.string().describe(\"The lifecycle stage of the dispute (e.g., 'INQUIRY_CREATED', 'CHARGEBACK', 'PRE_ARBITRATION').\").nullable().optional(),\n seller_response_due_date: z.string().describe(\"The date and time by which the seller must respond to an inquiry from PayPal. Format: ISO 8601.\").nullable().optional(),\n}).passthrough().describe(\"Dispute summary information returned in list operations.\");\nexport const PaypalListDisputesOutput = z.object({\n items: z.array(PaypalListDisputes_DisputeSummarySchema).describe(\"An array of disputes that match the filter criteria. Sorted in latest to earliest creation time order.\").nullable().optional(),\n links: z.array(PaypalListDisputes_LinkDescriptionSchema).describe(\"HATEOAS links for navigating through paginated results.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for the ListDisputes action containing an array of dispute summaries.\");\n\nexport const paypalListDisputes: AppAction<\n typeof PaypalListDisputesInput,\n typeof PaypalListDisputesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_DISPUTES\", {\n slug: \"paypal-list-disputes\",\n name: \"List PayPal Disputes\",\n description: \"List PayPal customer disputes with optional filtering by date, transaction, or state. Use when you need to retrieve a paginated list of PayPal disputes. You can filter by creation date, transaction ID, dispute state, or update time range. Results are sorted by creation time (newest first). Use the next_page_token from response links to paginate through additional results.\",\n input: PaypalListDisputesInput,\n output: PaypalListDisputesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,wFAAwF,CAAC,CAAC,SAAS;CACpJ,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iOAAiO,CAAC,CAAC,SAAS;CAC5Q,eAAe,EAAE,MAAM,EAAE,KAAK;EAAC;EAAmB;EAA+B;EAAuB;EAAY;EAAkB;CAAY,CAAC,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,CAAC,SAAS,qMAAqM,CAAC,CAAC,SAAS;CAC7a,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,qHAAqH,CAAC,CAAC,SAAS;CACrK,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,iIAAiI,CAAC,CAAC,SAAS;CACnL,oBAAoB,EAAE,OAAO,CAAC,CAAC,SAAS,kIAAkI,CAAC,CAAC,SAAS;CACrL,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,uHAAuH,CAAC,CAAC,SAAS;AACjL,CAAC,CAAC,CAAC,SAAS,8NAA8N;AAC1O,MAAM,2CAA2C,EAAE,OAAO;CACxD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CACpG,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACvF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,uDAAuD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wDAAwD;AAClF,MAAM,wCAAwC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S;CAC3E,iBAAiB,EAAE,OAAO,CAAC,CAAC,SAAS,kGAAkG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,yBAAyB,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpK,0BAA0B,EAAE,OAAO,CAAC,CAAC,SAAS,iGAAiG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACvK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0DAA0D;AAMpF,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAdsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,wGAAwG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/L,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uFAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListInvoicesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema = z.object({\n tax: z.record(z.string(), z.unknown()).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).passthrough().describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).passthrough().describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).passthrough().describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.record(z.string(), z.unknown()).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.record(z.string(), z.unknown()).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.record(z.string(), z.unknown()).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).passthrough().describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAAgDA,IAA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AS,CAAC,CAAC,SAAS;CACpI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACpM,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAAqBC,eAAAA,OAAO,wBAAwB;CAC/D,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-invoices.cjs","names":["z","action"],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalListInvoicesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema = z.object({\n tax: z.record(z.string(), z.unknown()).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).passthrough().describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).passthrough().describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).passthrough().describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.record(z.string(), z.unknown()).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.record(z.string(), z.unknown()).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.record(z.string(), z.unknown()).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).passthrough().describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices: AppAction<\n typeof PaypalListInvoicesInput,\n typeof PaypalListInvoicesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0BA,IAAAA,EAAE,OAAO;CAC9C,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQA,IAAAA,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAAgDA,IAAAA,EAAE,OAAO;CAC7D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCA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AC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAA6C;AAEvE,MAAa,qBAITC,eAAAA,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-invoices.d.ts
|
|
@@ -77,12 +79,7 @@ declare const PaypalListInvoicesOutput: z.ZodObject<{
|
|
|
77
79
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
80
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
79
81
|
}, z.core.$loose>;
|
|
80
|
-
declare const paypalListInvoices:
|
|
81
|
-
page?: number | undefined;
|
|
82
|
-
fields?: "all" | "none" | undefined;
|
|
83
|
-
page_size?: number | undefined;
|
|
84
|
-
total_required?: boolean | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
82
|
+
declare const paypalListInvoices: AppAction<typeof PaypalListInvoicesInput, typeof PaypalListInvoicesOutput, typeof paypal.credential>;
|
|
86
83
|
//#endregion
|
|
87
84
|
export { paypalListInvoices };
|
|
88
85
|
//# sourceMappingURL=list-invoices.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices.d.cts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-invoices.d.cts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cA6DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-invoices.d.ts
|
|
@@ -77,12 +79,7 @@ declare const PaypalListInvoicesOutput: z.ZodObject<{
|
|
|
77
79
|
total_items: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
78
80
|
total_pages: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
79
81
|
}, z.core.$loose>;
|
|
80
|
-
declare const paypalListInvoices:
|
|
81
|
-
page?: number | undefined;
|
|
82
|
-
fields?: "all" | "none" | undefined;
|
|
83
|
-
page_size?: number | undefined;
|
|
84
|
-
total_required?: boolean | undefined;
|
|
85
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
82
|
+
declare const paypalListInvoices: AppAction<typeof PaypalListInvoicesInput, typeof PaypalListInvoicesOutput, typeof paypal.credential>;
|
|
86
83
|
//#endregion
|
|
87
84
|
export { paypalListInvoices };
|
|
88
85
|
//# sourceMappingURL=list-invoices.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices.d.mts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-invoices.d.mts","names":[],"sources":["../../src/actions/list-invoices.ts"],"mappings":";;;;;cAMa,uBAAA,EAAuB,CAAA,CAAA,SAAA;;;;;;;;;cA6DvB,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOxB,kBAAA,EAAoB,SAAA,QACxB,uBAAA,SACA,wBAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListInvoicesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema = z.object({\n tax: z.record(z.string(), z.unknown()).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).passthrough().describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).passthrough().describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).passthrough().describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.record(z.string(), z.unknown()).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.record(z.string(), z.unknown()).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.record(z.string(), z.unknown()).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).passthrough().describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;AAIA,MAAa,0BAA0B,EAAE,OA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AChH,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAOhB;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-invoices.mjs","names":[],"sources":["../../src/actions/list-invoices.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalListInvoicesInput = z.object({\n page: z.number().int().default(1).describe(\"The page number to be retrieved. A combination of page=1 and page_size=20 returns the first 20 templates. A combination of page=2 and page_size=20 returns the next 20 templates.\").optional(),\n fields: z.enum([\"all\", \"none\"]).default(\"all\").describe(\"Fields to return in the response.\").optional(),\n page_size: z.number().int().default(25).describe(\"The maximum number of templates to return in the response.\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show total_pages and total_items in the response.\").optional(),\n}).describe(\"Request model for listing PayPal invoices.\");\nconst PaypalListInvoices_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The value of the amount. Format may vary based on currency convention.\").nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO currency code. Supported currencies include USD, EUR, GBP, CAD, AUD, JPY, and more.\").nullable().optional(),\n}).passthrough().describe(\"Invoice amount summary details.\");\nconst PaypalListInvoices_InvoiceItemSchema = z.object({\n tax: z.record(z.string(), z.unknown()).describe(\"The tax information for the item.\").nullable().optional(),\n name: z.string().describe(\"The item name.\").nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item.\").nullable().optional(),\n description: z.string().describe(\"The item description.\").nullable().optional(),\n unit_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n}).passthrough().describe(\"Invoice line item details.\");\nconst PaypalListInvoices_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type.\").nullable().optional(),\n href: z.string().describe(\"The hyperlink to the related resource.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method required to invoke the related resource.\").nullable().optional(),\n}).passthrough().describe(\"The request-related HATEOAS link information.\");\nconst PaypalListInvoices_InvoiceDetailSchema = z.object({\n note: z.string().describe(\"A note to the payer.\").nullable().optional(),\n terms: z.string().describe(\"The merchant term on the invoice.\").nullable().optional(),\n reference: z.string().describe(\"The reference of the invoice.\").nullable().optional(),\n billing_info: z.array(z.record(z.string(), z.unknown())).describe(\"The billing information.\").nullable().optional(),\n currency_code: z.string().describe(\"The currency code.\").nullable().optional(),\n merchant_info: z.record(z.string(), z.unknown()).describe(\"The merchant information.\").nullable().optional(),\n shipping_info: z.record(z.string(), z.unknown()).describe(\"The shipping information.\").nullable().optional(),\n invoice_number: z.string().describe(\"The invoice number that appears on the invoice. By default, the internal ID is used.\").nullable().optional(),\n}).passthrough().describe(\"Invoice detail information.\");\nconst PaypalListInvoices_InvoicerInfoSchema = z.object({\n email: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the invoicer.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the invoicer.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"Invoicer information details.\");\nconst PaypalListInvoices_RecipientInfoSchema = z.object({\n email: z.string().describe(\"The email address of the recipient.\").nullable().optional(),\n last_name: z.string().describe(\"The last name of the recipient.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the recipient.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the recipient.\").nullable().optional(),\n}).passthrough().describe(\"Recipient information for invoice.\");\nconst PaypalListInvoices_InvoiceSchema = z.object({\n id: z.string().describe(\"The unique identifier for the invoice.\").nullable().optional(),\n items: z.array(PaypalListInvoices_InvoiceItemSchema).describe(\"The list of items in the invoice.\").nullable().optional(),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalListInvoices_InvoiceDetailSchema.nullable().optional(),\n status: z.string().describe(\"The status of the invoice.\").nullable().optional(),\n refunds: z.record(z.string(), z.unknown()).describe(\"The refunds information.\").nullable().optional(),\n gratuity: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n invoicer: PaypalListInvoices_InvoicerInfoSchema.nullable().optional(),\n payments: z.record(z.string(), z.unknown()).describe(\"The payments information.\").nullable().optional(),\n parent_id: z.string().describe(\"The parent ID of the invoice.\").nullable().optional(),\n due_amount: PaypalListInvoices_InvoiceAmountSummarySchema.nullable().optional(),\n configuration: z.record(z.string(), z.unknown()).describe(\"The configuration of the invoice.\").nullable().optional(),\n primary_recipients: z.array(PaypalListInvoices_RecipientInfoSchema).describe(\"The primary recipients of the invoice.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"Additional recipients for the invoice.\").nullable().optional(),\n}).passthrough().describe(\"Invoice details including all information about the invoice like items, billing information.\");\nexport const PaypalListInvoicesOutput = z.object({\n items: z.array(PaypalListInvoices_InvoiceSchema).describe(\"The list of invoices that match the search criteria.\"),\n links: z.array(PaypalListInvoices_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of invoices that match the search criteria. Note: Clients MUST NOT assume that the value of total_items is constant.\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages that are available for the search criteria. Note: Clients MUST NOT assume that the value of total_pages is constant.\").nullable().optional(),\n}).passthrough().describe(\"Response model for listing PayPal invoices.\");\n\nexport const paypalListInvoices: AppAction<\n typeof PaypalListInvoicesInput,\n typeof PaypalListInvoicesOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_INVOICES\", {\n slug: \"paypal-list-invoices\",\n name: \"List PayPal Invoices\",\n description: \"List invoices from PayPal with pagination support. Use when you need to retrieve a paginated list of PayPal invoices. You can control the number of results per page using page_size, navigate through pages using page, and optionally include total counts in the response by setting total_required=true. This action supports filtering fields to return either all invoice details (fields='all') or only the essential information like name, ID, and defaults (fields='none').\",\n input: PaypalListInvoicesInput,\n output: PaypalListInvoicesOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,0BAA0B,EAAE,OAAO;CAC9C,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,mLAAmL,CAAC,CAAC,SAAS;CACzO,QAAQ,EAAE,KAAK,CAAC,OAAO,MAAM,CAAC,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS;CACtG,WAAW,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,4DAA4D,CAAC,CAAC,SAAS;CACxH,gBAAgB,EAAE,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS;AACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,MAAM,gDAAgD,EAAE,OAAO;CAC7D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wEAAwE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzH,eAAe,EAAE,OAAO,CAAC,CAAC,SAAS,6GAA6G,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACxK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iCAAiC;AAC3D,MAAM,uCAAuC,EAAE,OAAO;CACpD,KAAK,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,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wC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3I,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8FAA8F;AAQxH,MAAa,qBAIT,OAAO,wBAAwB;CACjC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAhBsC,EAAE,OAAO;EAC/C,OAAO,EAAE,MAAM,gCAAgC,CAAC,CAAC,SAAS,sDAAsD;EAChH,OAAO,EAAE,MAAM,wCAAwC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpI,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,uIAAuI,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACpM,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,gJAAgJ,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/M,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,6CAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-legacy-billing-plans.cjs","names":["z","action"],"sources":["../../src/actions/list-legacy-billing-plans.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalListLegacyBillingPlansInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return in the response.\").optional(),\n status: z.enum([\"CREATED\", \"ACTIVE\", \"INACTIVE\", \"DELETED\"]).describe(\"Possible states of a billing plan in the legacy API.\").optional(),\n end_time: z.string().describe(\"The end date and time for the range to consider, in ISO 8601 format (e.g., 2024-12-31T23:59:59Z).\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25.\").optional(),\n start_time: z.string().describe(\"The start date and time for the range to consider, in ISO 8601 format (e.g., 2024-01-01T00:00:00Z).\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list legacy billing plans.\");\nconst PaypalListLegacyBillingPlans_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type (e.g., 'self', 'edit').\").nullable().optional(),\n href: z.string().describe(\"The target URL.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for the billing plan.\");\nconst PaypalListLegacyBillingPlans_PlanTypeSchema = z.enum([\"TRIAL\", \"REGULAR\"]).describe(\"The type of billing plan.\");\nconst PaypalListLegacyBillingPlans_PlanStatusSchema = z.enum([\"CREATED\", \"ACTIVE\", \"INACTIVE\", \"DELETED\"]).describe(\"Possible states of a billing plan in the legacy API.\");\nconst PaypalListLegacyBillingPlans_TermSchema = z.object({\n name: z.string().describe(\"The name of the term.\").nullable().optional(),\n type: z.string().describe(\"The type of term.\").nullable().optional(),\n cycles: z.string().describe(\"The number of cycles for this term.\").nullable().optional(),\n frequency: z.string().describe(\"The frequency of the term.\").nullable().optional(),\n frequency_interval: z.string().describe(\"The frequency interval for the term.\").nullable().optional(),\n}).passthrough().describe(\"Term information for the billing plan.\");\nconst PaypalListLegacyBillingPlans_ChargeAmountSchema = z.object({\n amount: z.string().describe(\"The amount value.\").nullable().optional(),\n currency: z.string().describe(\"The three-letter ISO 4217 currency code.\").nullable().optional(),\n}).passthrough().describe(\"Amount to charge for a payment definition.\");\nconst PaypalListLegacyBillingPlans_PaymentDefinitionSchema = z.object({\n id: z.string().describe(\"The ID of the payment definition.\").nullable().optional(),\n name: z.string().describe(\"The name of the payment definition.\").nullable().optional(),\n type: z.string().describe(\"The payment definition type.\").nullable().optional(),\n amount: PaypalListLegacyBillingPlans_ChargeAmountSchema.nullable().optional(),\n cycles: z.string().describe(\"The number of cycles for this payment.\").nullable().optional(),\n frequency: z.string().describe(\"The frequency of the payment.\").nullable().optional(),\n frequency_interval: z.string().describe(\"The frequency interval for the payment.\").nullable().optional(),\n}).passthrough().describe(\"Payment definition for the billing plan (legacy API format).\");\nconst PaypalListLegacyBillingPlans_MerchantPreferencesSchema = z.object({\n id: z.string().describe(\"The ID of the merchant preferences.\").nullable().optional(),\n setup_fee: PaypalListLegacyBillingPlans_ChargeAmountSchema.nullable().optional(),\n cancel_url: z.string().describe(\"The cancel URL for the payment flow.\").nullable().optional(),\n return_url: z.string().describe(\"The return URL after a successful payment.\").nullable().optional(),\n auto_bill_amount: z.string().describe(\"Indicates whether to auto bill the outstanding amount.\").nullable().optional(),\n max_fail_attempts: z.string().describe(\"The maximum number of failed payment attempts.\").nullable().optional(),\n initial_amount_term: z.string().describe(\"The term for the initial amount.\").nullable().optional(),\n}).passthrough().describe(\"Merchant preferences for the billing plan (legacy API format).\");\nconst PaypalListLegacyBillingPlans_BillingPlanSchema = z.object({\n id: z.string().describe(\"The unique identifier for the billing plan.\").nullable().optional(),\n name: z.string().describe(\"The name of the billing plan.\").nullable().optional(),\n type: PaypalListLegacyBillingPlans_PlanTypeSchema.nullable().optional(),\n links: z.array(PaypalListLegacyBillingPlans_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the plan.\").nullable().optional(),\n state: PaypalListLegacyBillingPlans_PlanStatusSchema.nullable().optional(),\n terms: z.array(PaypalListLegacyBillingPlans_TermSchema).describe(\"An array of terms for the plan.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The description of the billing plan.\").nullable().optional(),\n update_time: z.string().describe(\"The last update time in ISO 8601 format.\").nullable().optional(),\n payment_definitions: z.array(PaypalListLegacyBillingPlans_PaymentDefinitionSchema).describe(\"An array of payment definitions for the plan.\").nullable().optional(),\n merchant_preferences: PaypalListLegacyBillingPlans_MerchantPreferencesSchema.nullable().optional(),\n}).passthrough().describe(\"Billing plan object from the legacy PayPal API.\");\nexport const PaypalListLegacyBillingPlansOutput = z.object({\n links: z.array(PaypalListLegacyBillingPlans_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links for pagination.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n billing_plans: z.array(PaypalListLegacyBillingPlans_BillingPlanSchema).describe(\"An array of billing plan objects.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of legacy billing plans.\");\n\nexport const paypalListLegacyBillingPlans = action(\"PAYPAL_LIST_LEGACY_BILLING_PLANS\", {\n slug: \"paypal-list-legacy-billing-plans\",\n name: \"List Legacy Billing Plans\",\n description: \"Lists billing plans using the legacy PayPal payments API (v1/payments/billing-plans). Use when you need to retrieve billing plans created with the legacy PayPal billing agreements API. This is a read-only operation that returns plan details including payment definitions, merchant preferences, and status. Note: This action uses the legacy API endpoint. For newer integrations, consider using the /v1/billing/plans endpoint instead.\",\n input: PaypalListLegacyBillingPlansInput,\n output: PaypalListLegacyBillingPlansOutput,\n});\n"],"mappings":";;;AAIA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,SAAS;CAC1J,QAAQA,IAAAA,EAAE,KAAK;EAAC;EAAW;EAAU;EAAY;CAAS,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CACvI,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS;CAC5I,WAAWA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC5H,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qGAAqG,CAAC,CAAC,S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AAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7F,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjG,qBAAqBA,IAAAA,EAAE,MAAM,oDAAoD,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,sBAAsB,uDAAuD,SAAS,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAC3E,MAAa,qCAAqCA,IAAAA,EAAE,OAAO;CACzD,OAAOA,IAAAA,EAAE,MAAM,kDAAkD,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7J,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,sEAAsE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,eAAeA,IAAAA,EAAE,MAAM,8CAA8C,CAAC,CAAC,SAAS,mCAAmC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,+BAA+BC,eAAAA,OAAO,oCAAoC;CACrF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"list-legacy-billing-plans.cjs","names":["z","action"],"sources":["../../src/actions/list-legacy-billing-plans.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalListLegacyBillingPlansInput = z.object({\n page: z.number().int().default(1).describe(\"A non-zero integer which is the start index of the entire list of items to return in the response.\").optional(),\n status: z.enum([\"CREATED\", \"ACTIVE\", \"INACTIVE\", \"DELETED\"]).describe(\"Possible states of a billing plan in the legacy API.\").optional(),\n end_time: z.string().describe(\"The end date and time for the range to consider, in ISO 8601 format (e.g., 2024-12-31T23:59:59Z).\").optional(),\n page_size: z.number().int().default(25).describe(\"The number of items to return in the response. Defaults to 25.\").optional(),\n start_time: z.string().describe(\"The start date and time for the range to consider, in ISO 8601 format (e.g., 2024-01-01T00:00:00Z).\").optional(),\n total_required: z.boolean().default(false).describe(\"Indicates whether to show the total count in the response.\").optional(),\n}).describe(\"Request to list legacy billing plans.\");\nconst PaypalListLegacyBillingPlans_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relation type (e.g., 'self', 'edit').\").nullable().optional(),\n href: z.string().describe(\"The target URL.\").nullable().optional(),\n method: z.string().describe(\"The HTTP method for the link.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information for the billing plan.\");\nconst PaypalListLegacyBillingPlans_PlanTypeSchema = z.enum([\"TRIAL\", \"REGULAR\"]).describe(\"The type of billing plan.\");\nconst PaypalListLegacyBillingPlans_PlanStatusSchema = z.enum([\"CREATED\", \"ACTIVE\", \"INACTIVE\", \"DELETED\"]).describe(\"Possible states of a billing plan in the legacy API.\");\nconst PaypalListLegacyBillingPlans_TermSchema = z.object({\n name: z.string().describe(\"The name of the term.\").nullable().optional(),\n type: z.string().describe(\"The type of term.\").nullable().optional(),\n cycles: z.string().describe(\"The number of cycles for this term.\").nullable().optional(),\n frequency: z.string().describe(\"The frequency of the term.\").nullable().optional(),\n frequency_interval: z.string().describe(\"The frequency interval for the term.\").nullable().optional(),\n}).passthrough().describe(\"Term information for the billing plan.\");\nconst PaypalListLegacyBillingPlans_ChargeAmountSchema = z.object({\n amount: z.string().describe(\"The amount value.\").nullable().optional(),\n currency: z.string().describe(\"The three-letter ISO 4217 currency code.\").nullable().optional(),\n}).passthrough().describe(\"Amount to charge for a payment definition.\");\nconst PaypalListLegacyBillingPlans_PaymentDefinitionSchema = z.object({\n id: z.string().describe(\"The ID of the payment definition.\").nullable().optional(),\n name: z.string().describe(\"The name of the payment definition.\").nullable().optional(),\n type: z.string().describe(\"The payment definition type.\").nullable().optional(),\n amount: PaypalListLegacyBillingPlans_ChargeAmountSchema.nullable().optional(),\n cycles: z.string().describe(\"The number of cycles for this payment.\").nullable().optional(),\n frequency: z.string().describe(\"The frequency of the payment.\").nullable().optional(),\n frequency_interval: z.string().describe(\"The frequency interval for the payment.\").nullable().optional(),\n}).passthrough().describe(\"Payment definition for the billing plan (legacy API format).\");\nconst PaypalListLegacyBillingPlans_MerchantPreferencesSchema = z.object({\n id: z.string().describe(\"The ID of the merchant preferences.\").nullable().optional(),\n setup_fee: PaypalListLegacyBillingPlans_ChargeAmountSchema.nullable().optional(),\n cancel_url: z.string().describe(\"The cancel URL for the payment flow.\").nullable().optional(),\n return_url: z.string().describe(\"The return URL after a successful payment.\").nullable().optional(),\n auto_bill_amount: z.string().describe(\"Indicates whether to auto bill the outstanding amount.\").nullable().optional(),\n max_fail_attempts: z.string().describe(\"The maximum number of failed payment attempts.\").nullable().optional(),\n initial_amount_term: z.string().describe(\"The term for the initial amount.\").nullable().optional(),\n}).passthrough().describe(\"Merchant preferences for the billing plan (legacy API format).\");\nconst PaypalListLegacyBillingPlans_BillingPlanSchema = z.object({\n id: z.string().describe(\"The unique identifier for the billing plan.\").nullable().optional(),\n name: z.string().describe(\"The name of the billing plan.\").nullable().optional(),\n type: PaypalListLegacyBillingPlans_PlanTypeSchema.nullable().optional(),\n links: z.array(PaypalListLegacyBillingPlans_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the plan.\").nullable().optional(),\n state: PaypalListLegacyBillingPlans_PlanStatusSchema.nullable().optional(),\n terms: z.array(PaypalListLegacyBillingPlans_TermSchema).describe(\"An array of terms for the plan.\").nullable().optional(),\n create_time: z.string().describe(\"The creation time in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The description of the billing plan.\").nullable().optional(),\n update_time: z.string().describe(\"The last update time in ISO 8601 format.\").nullable().optional(),\n payment_definitions: z.array(PaypalListLegacyBillingPlans_PaymentDefinitionSchema).describe(\"An array of payment definitions for the plan.\").nullable().optional(),\n merchant_preferences: PaypalListLegacyBillingPlans_MerchantPreferencesSchema.nullable().optional(),\n}).passthrough().describe(\"Billing plan object from the legacy PayPal API.\");\nexport const PaypalListLegacyBillingPlansOutput = z.object({\n links: z.array(PaypalListLegacyBillingPlans_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links for pagination.\").nullable().optional(),\n total_items: z.number().int().describe(\"The total number of items (only included if total_required is true).\").nullable().optional(),\n total_pages: z.number().int().describe(\"The total number of pages (only included if total_required is true).\").nullable().optional(),\n billing_plans: z.array(PaypalListLegacyBillingPlans_BillingPlanSchema).describe(\"An array of billing plan objects.\").nullable().optional(),\n}).passthrough().describe(\"Response containing a list of legacy billing plans.\");\n\nexport const paypalListLegacyBillingPlans: AppAction<\n typeof PaypalListLegacyBillingPlansInput,\n typeof PaypalListLegacyBillingPlansOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_LIST_LEGACY_BILLING_PLANS\", {\n slug: \"paypal-list-legacy-billing-plans\",\n name: \"List Legacy Billing Plans\",\n description: \"Lists billing plans using the legacy PayPal payments API (v1/payments/billing-plans). Use when you need to retrieve billing plans created with the legacy PayPal billing agreements API. This is a read-only operation that returns plan details including payment definitions, merchant preferences, and status. Note: This action uses the legacy API endpoint. For newer integrations, consider using the /v1/billing/plans endpoint instead.\",\n input: PaypalListLegacyBillingPlansInput,\n output: PaypalListLegacyBillingPlansOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,oGAAoG,CAAC,CAAC,S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C,SAAS;AAC3I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qDAAqD;AAE/E,MAAa,+BAITC,eAAAA,OAAO,oCAAoC;CAC7C,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-legacy-billing-plans.d.ts
|
|
@@ -76,14 +78,7 @@ declare const PaypalListLegacyBillingPlansOutput: z.ZodObject<{
|
|
|
76
78
|
}, z.core.$loose>>>;
|
|
77
79
|
}, z.core.$loose>>>>;
|
|
78
80
|
}, z.core.$loose>;
|
|
79
|
-
declare const paypalListLegacyBillingPlans:
|
|
80
|
-
page?: number | undefined;
|
|
81
|
-
status?: "CREATED" | "INACTIVE" | "ACTIVE" | "DELETED" | undefined;
|
|
82
|
-
end_time?: string | undefined;
|
|
83
|
-
page_size?: number | undefined;
|
|
84
|
-
start_time?: string | undefined;
|
|
85
|
-
total_required?: boolean | undefined;
|
|
86
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
81
|
+
declare const paypalListLegacyBillingPlans: AppAction<typeof PaypalListLegacyBillingPlansInput, typeof PaypalListLegacyBillingPlansOutput, typeof paypal.credential>;
|
|
87
82
|
//#endregion
|
|
88
83
|
export { paypalListLegacyBillingPlans };
|
|
89
84
|
//# sourceMappingURL=list-legacy-billing-plans.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-legacy-billing-plans.d.cts","names":[],"sources":["../../src/actions/list-legacy-billing-plans.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-legacy-billing-plans.d.cts","names":[],"sources":["../../src/actions/list-legacy-billing-plans.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAyDjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/list-legacy-billing-plans.d.ts
|
|
@@ -76,14 +78,7 @@ declare const PaypalListLegacyBillingPlansOutput: z.ZodObject<{
|
|
|
76
78
|
}, z.core.$loose>>>;
|
|
77
79
|
}, z.core.$loose>>>>;
|
|
78
80
|
}, z.core.$loose>;
|
|
79
|
-
declare const paypalListLegacyBillingPlans:
|
|
80
|
-
page?: number | undefined;
|
|
81
|
-
status?: "CREATED" | "INACTIVE" | "ACTIVE" | "DELETED" | undefined;
|
|
82
|
-
end_time?: string | undefined;
|
|
83
|
-
page_size?: number | undefined;
|
|
84
|
-
start_time?: string | undefined;
|
|
85
|
-
total_required?: boolean | undefined;
|
|
86
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
81
|
+
declare const paypalListLegacyBillingPlans: AppAction<typeof PaypalListLegacyBillingPlansInput, typeof PaypalListLegacyBillingPlansOutput, typeof paypal.credential>;
|
|
87
82
|
//#endregion
|
|
88
83
|
export { paypalListLegacyBillingPlans };
|
|
89
84
|
//# sourceMappingURL=list-legacy-billing-plans.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-legacy-billing-plans.d.mts","names":[],"sources":["../../src/actions/list-legacy-billing-plans.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"list-legacy-billing-plans.d.mts","names":[],"sources":["../../src/actions/list-legacy-billing-plans.ts"],"mappings":";;;;;cAMa,iCAAA,EAAiC,CAAA,CAAA,SAAA;;;;;;;;;;;;;cAyDjC,kCAAA,EAAkC,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOlC,4BAAA,EAA8B,SAAA,QAClC,iCAAA,SACA,kCAAA,SACA,MAAA,CAAO,UAAA"}
|