@keystrokehq/paypal 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/activate-plan.cjs +1 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +1 -1
- package/dist/actions/activate-plan.d.mts +1 -1
- package/dist/actions/activate-plan.mjs +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +5 -5
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +8 -7
- package/dist/actions/add-batch-trackers.d.mts +8 -7
- package/dist/actions/add-batch-trackers.mjs +5 -5
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +16 -16
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +19 -19
- package/dist/actions/authorize-order.d.mts +19 -19
- package/dist/actions/authorize-order.mjs +16 -16
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +3 -3
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -3
- package/dist/actions/cancel-invoice.d.mts +3 -3
- package/dist/actions/cancel-invoice.mjs +3 -3
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +3 -3
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -3
- package/dist/actions/cancel-reminders.d.mts +3 -3
- package/dist/actions/cancel-reminders.mjs +3 -3
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +9 -9
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +9 -9
- package/dist/actions/capture-subscription-payment.d.mts +9 -9
- package/dist/actions/capture-subscription-payment.mjs +9 -9
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -1
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +1 -1
- package/dist/actions/charge-payment-method.d.mts +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -1
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +22 -22
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +36 -33
- package/dist/actions/create-invoice.d.mts +36 -33
- package/dist/actions/create-invoice.mjs +22 -22
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +31 -31
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +42 -38
- package/dist/actions/create-payment.d.mts +42 -38
- package/dist/actions/create-payment.mjs +31 -31
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +8 -8
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +11 -9
- package/dist/actions/create-payments-billing-plans.d.mts +11 -9
- package/dist/actions/create-payments-billing-plans.mjs +8 -8
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +12 -12
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +14 -13
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +14 -13
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +12 -12
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +2 -2
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +2 -2
- package/dist/actions/create-product.d.mts +2 -2
- package/dist/actions/create-product.mjs +2 -2
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +15 -15
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +21 -20
- package/dist/actions/create-subscription.d.mts +21 -20
- package/dist/actions/create-subscription.mjs +15 -15
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +25 -25
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +36 -30
- package/dist/actions/create-template.d.mts +36 -30
- package/dist/actions/create-template.mjs +25 -25
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +5 -5
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +5 -5
- package/dist/actions/create-web-profile.d.mts +5 -5
- package/dist/actions/create-web-profile.mjs +5 -5
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +2 -2
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +2 -2
- package/dist/actions/create-webhook-lookup.d.mts +2 -2
- package/dist/actions/create-webhook-lookup.mjs +2 -2
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +4 -4
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +5 -4
- package/dist/actions/create-webhook.d.mts +5 -4
- package/dist/actions/create-webhook.mjs +4 -4
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -1
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +1 -1
- package/dist/actions/deactivate-plan.d.mts +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -1
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -1
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +1 -1
- package/dist/actions/delete-external-payment.d.mts +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +3 -3
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -3
- package/dist/actions/delete-invoice.d.mts +3 -3
- package/dist/actions/delete-invoice.mjs +3 -3
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -1
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +1 -1
- package/dist/actions/delete-payment-resource.d.mts +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -1
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +3 -3
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.mjs +3 -3
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -1
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +1 -1
- package/dist/actions/delete-web-profile.d.mts +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -1
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.mjs +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +5 -5
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +5 -5
- package/dist/actions/fetch-node.d.mts +5 -5
- package/dist/actions/fetch-node.mjs +5 -5
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +7 -7
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +11 -10
- package/dist/actions/find-eligible-methods.d.mts +11 -10
- package/dist/actions/find-eligible-methods.mjs +7 -7
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -1
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +1 -1
- package/dist/actions/generate-client-token.d.mts +1 -1
- package/dist/actions/generate-client-token.mjs +1 -1
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -1
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +4 -4
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +4 -4
- package/dist/actions/generate-qr-code.d.mts +4 -4
- package/dist/actions/generate-qr-code.mjs +4 -4
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +10 -10
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +11 -11
- package/dist/actions/get-billing-subscriptions.d.mts +11 -11
- package/dist/actions/get-billing-subscriptions.mjs +10 -10
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +24 -24
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +32 -32
- package/dist/actions/get-invoice.d.mts +32 -32
- package/dist/actions/get-invoice.mjs +24 -24
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +20 -20
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +29 -29
- package/dist/actions/get-invoicing-template.d.mts +29 -29
- package/dist/actions/get-invoicing-template.mjs +20 -20
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +16 -16
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +24 -24
- package/dist/actions/get-order.d.mts +24 -24
- package/dist/actions/get-order.mjs +16 -16
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +14 -14
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +22 -22
- package/dist/actions/get-payment.d.mts +22 -22
- package/dist/actions/get-payment.mjs +14 -14
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +3 -3
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -3
- package/dist/actions/get-payments-refund.d.mts +3 -3
- package/dist/actions/get-payments-refund.mjs +3 -3
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +11 -11
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +11 -11
- package/dist/actions/get-plan.d.mts +11 -11
- package/dist/actions/get-plan.mjs +11 -11
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +2 -2
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +2 -2
- package/dist/actions/get-product.d.mts +2 -2
- package/dist/actions/get-product.mjs +2 -2
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +10 -10
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +13 -13
- package/dist/actions/get-subscription.d.mts +13 -13
- package/dist/actions/get-subscription.mjs +10 -10
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +3 -3
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -3
- package/dist/actions/get-user-info.d.mts +3 -3
- package/dist/actions/get-user-info.mjs +3 -3
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +3 -3
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -3
- package/dist/actions/get-userinfo.d.mts +3 -3
- package/dist/actions/get-userinfo.mjs +3 -3
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +4 -4
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +4 -4
- package/dist/actions/get-web-profile.d.mts +4 -4
- package/dist/actions/get-web-profile.mjs +4 -4
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +2 -2
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +2 -2
- package/dist/actions/get-webhook-lookup.d.mts +2 -2
- package/dist/actions/get-webhook-lookup.mjs +2 -2
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +4 -4
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +4 -4
- package/dist/actions/get-webhook.d.mts +4 -4
- package/dist/actions/get-webhook.mjs +4 -4
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +5 -5
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +6 -6
- package/dist/actions/list-disputes.d.mts +6 -6
- package/dist/actions/list-disputes.mjs +5 -5
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +15 -15
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +19 -19
- package/dist/actions/list-invoices.d.mts +19 -19
- package/dist/actions/list-invoices.mjs +15 -15
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +7 -7
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +9 -9
- package/dist/actions/list-legacy-billing-plans.d.mts +9 -9
- package/dist/actions/list-legacy-billing-plans.mjs +7 -7
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +20 -20
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +24 -24
- package/dist/actions/list-payments.d.mts +24 -24
- package/dist/actions/list-payments.mjs +20 -20
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +8 -8
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +9 -9
- package/dist/actions/list-plans.d.mts +9 -9
- package/dist/actions/list-plans.mjs +8 -8
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +4 -4
- package/dist/actions/list-products.d.mts +4 -4
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +8 -8
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +9 -9
- package/dist/actions/list-templates.d.mts +9 -9
- package/dist/actions/list-templates.mjs +8 -8
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +6 -6
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +6 -6
- package/dist/actions/list-web-profiles.d.mts +6 -6
- package/dist/actions/list-web-profiles.mjs +6 -6
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +3 -3
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -3
- package/dist/actions/list-webhook-event-types.d.mts +3 -3
- package/dist/actions/list-webhook-event-types.mjs +3 -3
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +3 -3
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -3
- package/dist/actions/list-webhook-lookups.d.mts +3 -3
- package/dist/actions/list-webhook-lookups.mjs +3 -3
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +2 -2
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -2
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -2
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +2 -2
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +2 -2
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -2
- package/dist/actions/patch-plan.d.mts +3 -2
- package/dist/actions/patch-plan.mjs +2 -2
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +3 -3
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +4 -3
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +4 -3
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +3 -3
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +2 -2
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -2
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -2
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +2 -2
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +2 -2
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +2 -2
- package/dist/actions/ping-braintree.d.mts +2 -2
- package/dist/actions/ping-braintree.mjs +2 -2
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +4 -4
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +4 -4
- package/dist/actions/query-braintree-report.d.mts +4 -4
- package/dist/actions/query-braintree-report.mjs +4 -4
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +11 -11
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +12 -12
- package/dist/actions/retrieve-payment-resource.d.mts +12 -12
- package/dist/actions/retrieve-payment-resource.mjs +11 -11
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +11 -11
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +15 -15
- package/dist/actions/search-invoices.d.mts +15 -15
- package/dist/actions/search-invoices.mjs +11 -11
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +2 -2
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +2 -2
- package/dist/actions/send-invoice.d.mts +2 -2
- package/dist/actions/send-invoice.mjs +2 -2
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +4 -4
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +4 -4
- package/dist/actions/simulate-webhook-event.d.mts +4 -4
- package/dist/actions/simulate-webhook-event.mjs +4 -4
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +3 -3
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +4 -3
- package/dist/actions/update-dispute.d.mts +4 -3
- package/dist/actions/update-dispute.mjs +3 -3
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +34 -34
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +54 -48
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +54 -48
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +34 -34
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +2 -2
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -2
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -2
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +2 -2
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +4 -4
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +5 -4
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +5 -4
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +4 -4
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +39 -39
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +65 -56
- package/dist/actions/update-templates.d.mts +65 -56
- package/dist/actions/update-templates.mjs +39 -39
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +2 -2
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +2 -2
- package/dist/actions/update-web-profile.d.mts +2 -2
- package/dist/actions/update-web-profile.mjs +2 -2
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +2 -2
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +2 -2
- package/dist/actions/verify-payment-method.d.mts +2 -2
- package/dist/actions/verify-payment-method.mjs +2 -2
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -1
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ declare const PaypalCreateWebhookInput: z.ZodObject<{
|
|
|
10
10
|
DISABLED: "DISABLED";
|
|
11
11
|
}>>;
|
|
12
12
|
description: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const PaypalCreateWebhookOutput: z.ZodObject<{
|
|
16
16
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19,7 +19,7 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
|
|
|
19
19
|
rel: z.ZodNullable<z.ZodString>;
|
|
20
20
|
href: z.ZodNullable<z.ZodString>;
|
|
21
21
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -27,11 +27,12 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
|
|
|
27
27
|
DISABLED: "DISABLED";
|
|
28
28
|
}>>>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const paypalCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
url: string;
|
|
34
34
|
event_types: {
|
|
35
|
+
[x: string]: unknown;
|
|
35
36
|
name: string;
|
|
36
37
|
status?: "ENABLED" | "DISABLED" | undefined;
|
|
37
38
|
description?: string | undefined;
|
|
@@ -10,7 +10,7 @@ declare const PaypalCreateWebhookInput: z.ZodObject<{
|
|
|
10
10
|
DISABLED: "DISABLED";
|
|
11
11
|
}>>;
|
|
12
12
|
description: z.ZodOptional<z.ZodString>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>;
|
|
14
14
|
}, z.core.$strip>;
|
|
15
15
|
declare const PaypalCreateWebhookOutput: z.ZodObject<{
|
|
16
16
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19,7 +19,7 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
|
|
|
19
19
|
rel: z.ZodNullable<z.ZodString>;
|
|
20
20
|
href: z.ZodNullable<z.ZodString>;
|
|
21
21
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
|
-
}, z.core.$
|
|
22
|
+
}, z.core.$loose>>>>;
|
|
23
23
|
event_types: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
24
24
|
name: z.ZodNullable<z.ZodString>;
|
|
25
25
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -27,11 +27,12 @@ declare const PaypalCreateWebhookOutput: z.ZodObject<{
|
|
|
27
27
|
DISABLED: "DISABLED";
|
|
28
28
|
}>>>;
|
|
29
29
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
-
}, z.core.$
|
|
31
|
-
}, z.core.$
|
|
30
|
+
}, z.core.$loose>>>>;
|
|
31
|
+
}, z.core.$loose>;
|
|
32
32
|
declare const paypalCreateWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
33
33
|
url: string;
|
|
34
34
|
event_types: {
|
|
35
|
+
[x: string]: unknown;
|
|
35
36
|
name: string;
|
|
36
37
|
status?: "ENABLED" | "DISABLED" | undefined;
|
|
37
38
|
description?: string | undefined;
|
|
@@ -7,19 +7,19 @@ const PaypalCreateWebhookInput = z.object({
|
|
|
7
7
|
name: z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint."),
|
|
8
8
|
status: z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.").optional(),
|
|
9
9
|
description: z.string().describe("A description of the event type.").optional()
|
|
10
|
-
}).describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
|
|
10
|
+
}).passthrough().describe("An event type to subscribe to.")).describe("An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.")
|
|
11
11
|
}).describe("Request schema for creating a PayPal webhook.\n\nUse this action when you need to set up a webhook endpoint to receive\nnotifications about PayPal events such as payment completions, disputes,\nor subscription updates.");
|
|
12
12
|
const PaypalCreateWebhook_LinkDescriptionSchema = z.object({
|
|
13
13
|
rel: z.string().describe("The link relationship type.").nullable(),
|
|
14
14
|
href: z.string().describe("The complete URL to the related resource.").nullable(),
|
|
15
15
|
method: z.string().describe("The HTTP method required to access the resource.").nullable().optional()
|
|
16
|
-
}).describe("HATEOAS link information.");
|
|
16
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
17
17
|
const PaypalCreateWebhook_EventTypeStatusSchema = z.enum(["ENABLED", "DISABLED"]).describe("Status of the event type subscription.");
|
|
18
18
|
const PaypalCreateWebhook_EventTypeSchema = z.object({
|
|
19
19
|
name: z.string().describe("The name of the event type. For a list of all available events, use the List Available Events endpoint.").nullable(),
|
|
20
20
|
status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),
|
|
21
21
|
description: z.string().describe("A description of the event type.").nullable().optional()
|
|
22
|
-
}).describe("An event type to subscribe to.");
|
|
22
|
+
}).passthrough().describe("An event type to subscribe to.");
|
|
23
23
|
const paypalCreateWebhook = action("PAYPAL_CREATE_WEBHOOK", {
|
|
24
24
|
slug: "paypal-create-webhook",
|
|
25
25
|
name: "Create a webhook",
|
|
@@ -30,7 +30,7 @@ const paypalCreateWebhook = action("PAYPAL_CREATE_WEBHOOK", {
|
|
|
30
30
|
url: z.string().describe("The URL that is configured to listen on localhost for incoming POST notification messages.").nullable().optional(),
|
|
31
31
|
links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
32
32
|
event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe("An array of events to which the webhook is subscribed.").nullable().optional()
|
|
33
|
-
}).describe("Response schema for a created PayPal webhook.")
|
|
33
|
+
}).passthrough().describe("Response schema for a created PayPal webhook.")
|
|
34
34
|
});
|
|
35
35
|
//#endregion
|
|
36
36
|
export { paypalCreateWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\").nullable(),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;
|
|
1
|
+
{"version":3,"file":"create-webhook.mjs","names":[],"sources":["../../src/actions/create-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateWebhookInput = z.object({\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages that contain event information. The URL must be a valid HTTPS URL.\"),\n event_types: z.array(z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\"),\n status: z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\").optional(),\n description: z.string().describe(\"A description of the event type.\").optional(),\n}).passthrough().describe(\"An event type to subscribe to.\")).describe(\"An array of events to which to subscribe your webhook. To subscribe to all events, including events as they are added, specify the asterisk wild card '*' as the name. To list all supported events, use the List Available Events endpoint.\"),\n}).describe(\"Request schema for creating a PayPal webhook.\\n\\nUse this action when you need to set up a webhook endpoint to receive\\nnotifications about PayPal events such as payment completions, disputes,\\nor subscription updates.\");\nconst PaypalCreateWebhook_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateWebhook_EventTypeStatusSchema = z.enum([\"ENABLED\", \"DISABLED\"]).describe(\"Status of the event type subscription.\");\nconst PaypalCreateWebhook_EventTypeSchema = z.object({\n name: z.string().describe(\"The name of the event type. For a list of all available events, use the List Available Events endpoint.\").nullable(),\n status: PaypalCreateWebhook_EventTypeStatusSchema.nullable().optional(),\n description: z.string().describe(\"A description of the event type.\").nullable().optional(),\n}).passthrough().describe(\"An event type to subscribe to.\");\nexport const PaypalCreateWebhookOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the webhook.\").nullable().optional(),\n url: z.string().describe(\"The URL that is configured to listen on localhost for incoming POST notification messages.\").nullable().optional(),\n links: z.array(PaypalCreateWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n event_types: z.array(PaypalCreateWebhook_EventTypeSchema).describe(\"An array of events to which the webhook is subscribed.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal webhook.\");\n\nexport const paypalCreateWebhook = action(\"PAYPAL_CREATE_WEBHOOK\", {\n slug: \"paypal-create-webhook\",\n name: \"Create a webhook\",\n description: \"Creates a PayPal webhook endpoint to receive notifications about events. Use this action when you need to set up a webhook to receive real-time notifications about PayPal events such as payment completions, refunds, disputes, or subscription changes. The webhook URL must be publicly accessible and support HTTPS. The action returns the created webhook object including its unique ID for later reference.\",\n input: PaypalCreateWebhookInput,\n output: PaypalCreateWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO;CAC/C,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,8JAA8J;CACvL,aAAa,EAAE,MAAM,EAAE,OAAO;EAC9B,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG;EACnI,QAAQ,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS;EACpG,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CAChF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC,CAAC,CAAC,CAAC,SAAS,8OAA8O;AACpT,CAAC,CAAC,CAAC,SAAS,4NAA4N;AACxO,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,6BAA6B,CAAC,CAAC,SAAS;CACjE,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;CAChF,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,4CAA4C,EAAE,KAAK,CAAC,WAAW,UAAU,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACnI,MAAM,sCAAsC,EAAE,OAAO;CACnD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,yGAAyG,CAAC,CAAC,SAAS;CAC9I,QAAQ,0CAA0C,SAAS,CAAC,CAAC,SAAS;CACtE,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC3F,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,gCAAgC;AAQ1D,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAZuC,EAAE,OAAO;EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,4FAA4F,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3I,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,aAAa,EAAE,MAAM,mCAAmC,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PaypalDeactivatePlanInput = zod.z.object({ id: zod.z.string().describe("Th
|
|
|
5
5
|
const PaypalDeactivatePlanOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Status message about the deactivation operation").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the plan deactivation was successful").nullable()
|
|
8
|
-
}).describe("Output model for deactivate plan action");
|
|
8
|
+
}).passthrough().describe("Output model for deactivate plan action");
|
|
9
9
|
const paypalDeactivatePlan = require_action.action("PAYPAL_DEACTIVATE_PLAN", {
|
|
10
10
|
slug: "paypal-deactivate-plan",
|
|
11
11
|
name: "Deactivate Plan",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deactivate-plan.cjs","names":["z","action"],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,SAAS,yCAAyC;
|
|
1
|
+
{"version":3,"file":"deactivate-plan.cjs","names":["z","action"],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).passthrough().describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAAwC;AACpD,MAAa,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;CACzF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;AACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAAyC;AAEnE,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PaypalDeactivatePlanInput: z.ZodObject<{
|
|
|
7
7
|
declare const PaypalDeactivatePlanOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const paypalDeactivatePlan: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -7,7 +7,7 @@ declare const PaypalDeactivatePlanInput: z.ZodObject<{
|
|
|
7
7
|
declare const PaypalDeactivatePlanOutput: z.ZodObject<{
|
|
8
8
|
message: z.ZodNullable<z.ZodString>;
|
|
9
9
|
success: z.ZodNullable<z.ZodBoolean>;
|
|
10
|
-
}, z.core.$
|
|
10
|
+
}, z.core.$loose>;
|
|
11
11
|
declare const paypalDeactivatePlan: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const paypalDeactivatePlan = action("PAYPAL_DEACTIVATE_PLAN", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Status message about the deactivation operation").nullable(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the plan deactivation was successful").nullable()
|
|
11
|
-
}).describe("Output model for deactivate plan action")
|
|
11
|
+
}).passthrough().describe("Output model for deactivate plan action")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { paypalDeactivatePlan };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deactivate-plan.mjs","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"deactivate-plan.mjs","names":[],"sources":["../../src/actions/deactivate-plan.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeactivatePlanInput = z.object({\n id: z.string().describe(\"The unique plan identifier. Required.\"),\n}).describe(\"Input model for deactivate plan action\");\nexport const PaypalDeactivatePlanOutput = z.object({\n message: z.string().describe(\"Status message about the deactivation operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the plan deactivation was successful\").nullable(),\n}).passthrough().describe(\"Output model for deactivate plan action\");\n\nexport const paypalDeactivatePlan = action(\"PAYPAL_DEACTIVATE_PLAN\", {\n slug: \"paypal-deactivate-plan\",\n name: \"Deactivate Plan\",\n description: \"Deactivates a PayPal billing plan, making it unavailable for new subscriptions while preserving existing subscriptions. Use this action when you need to stop offering a particular billing plan without deleting it. Existing subscriptions will continue to work, but no new subscriptions can be created with this plan. Note: Only plans in an ACTIVE state can be deactivated. Deactivated plans cannot be reactivated.\",\n input: PaypalDeactivatePlanInput,\n output: PaypalDeactivatePlanOutput,\n});\n"],"mappings":";;AAYA,MAAa,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZuC,EAAE,OAAO,EAChD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,EACjE,CAAC,CAAC,CAAC,SAAS,wCAUH;CACP,QAVwC,EAAE,OAAO;EACjD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS;EACzF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS;CACnG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,yCAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PaypalDeleteExternalPaymentOutput = zod.z.object({
|
|
|
9
9
|
success: zod.z.boolean().default(true).describe("Indicates whether the external payment deletion was successful.").nullable().optional(),
|
|
10
10
|
invoice_id: zod.z.string().describe("The ID of the invoice from which the external payment was deleted.").nullable().optional(),
|
|
11
11
|
transaction_id: zod.z.string().describe("The ID of the external payment that was deleted.").nullable().optional()
|
|
12
|
-
}).describe("Response schema returned after deleting an external payment from an invoice.");
|
|
12
|
+
}).passthrough().describe("Response schema returned after deleting an external payment from an invoice.");
|
|
13
13
|
const paypalDeleteExternalPayment = require_action.action("PAYPAL_DELETE_EXTERNAL_PAYMENT", {
|
|
14
14
|
slug: "paypal-delete-external-payment",
|
|
15
15
|
name: "Delete Invoice External Payment",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-external-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CACpL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;AAC1L,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,SAAS,8EAA8E;
|
|
1
|
+
{"version":3,"file":"delete-external-payment.cjs","names":["z","action"],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO;CACvD,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CACpL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;AAC1L,CAAC,CAAC,CAAC,SAAS,gLAAgL;AAC5L,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1H,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAA8E;AAExG,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PaypalDeleteExternalPaymentOutput: z.ZodObject<{
|
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
10
|
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const paypalDeleteExternalPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
invoice_id: string;
|
|
15
15
|
transaction_id: string;
|
|
@@ -9,7 +9,7 @@ declare const PaypalDeleteExternalPaymentOutput: z.ZodObject<{
|
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
10
|
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const paypalDeleteExternalPayment: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
invoice_id: string;
|
|
15
15
|
transaction_id: string;
|
|
@@ -12,7 +12,7 @@ const paypalDeleteExternalPayment = action("PAYPAL_DELETE_EXTERNAL_PAYMENT", {
|
|
|
12
12
|
success: z.boolean().default(true).describe("Indicates whether the external payment deletion was successful.").nullable().optional(),
|
|
13
13
|
invoice_id: z.string().describe("The ID of the invoice from which the external payment was deleted.").nullable().optional(),
|
|
14
14
|
transaction_id: z.string().describe("The ID of the external payment that was deleted.").nullable().optional()
|
|
15
|
-
}).describe("Response schema returned after deleting an external payment from an invoice.")
|
|
15
|
+
}).passthrough().describe("Response schema returned after deleting an external payment from an invoice.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { paypalDeleteExternalPayment };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-external-payment.mjs","names":[],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;EACpL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CAC1L,CAAC,CAAC,CAAC,SAAS,gLAWH;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-external-payment.mjs","names":[],"sources":["../../src/actions/delete-external-payment.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteExternalPaymentInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the external payment. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the external payment transaction to delete. This is the transaction ID associated with the payment record on the invoice.\"),\n}).describe(\"Request schema for deleting an external payment from an invoice.\\n\\nUse this when you need to remove a specific external payment transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteExternalPaymentOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the external payment deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the external payment was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the external payment that was deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after deleting an external payment from an invoice.\");\n\nexport const paypalDeleteExternalPayment = action(\"PAYPAL_DELETE_EXTERNAL_PAYMENT\", {\n slug: \"paypal-delete-external-payment\",\n name: \"Delete Invoice External Payment\",\n description: \"Permanently deletes an external payment from a specified PayPal invoice. Use when you need to remove a specific external payment transaction that was incorrectly recorded on an invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no JSON response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteExternalPaymentInput,\n output: PaypalDeleteExternalPaymentOutput,\n});\n"],"mappings":";;AAcA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAd8C,EAAE,OAAO;EACvD,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;EACpL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,oJAAoJ;CAC1L,CAAC,CAAC,CAAC,SAAS,gLAWH;CACP,QAX+C,EAAE,OAAO;EACxD,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,iEAAiE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACnI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,oEAAoE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1H,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8EAOhB;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ const PaypalDeleteInvoicePaymentRecordOutput = zod.z.object({
|
|
|
9
9
|
success: zod.z.boolean().default(true).describe("Indicates whether the payment record deletion was successful.").nullable().optional(),
|
|
10
10
|
invoice_id: zod.z.string().describe("The ID of the invoice from which the payment record was deleted.").nullable().optional(),
|
|
11
11
|
transaction_id: zod.z.string().describe("The ID of the payment record that was deleted.").nullable().optional()
|
|
12
|
-
}).describe("Response model for deleting a payment record from an invoice.");
|
|
12
|
+
}).passthrough().describe("Response model for deleting a payment record from an invoice.");
|
|
13
13
|
const paypalDeleteInvoicePaymentRecord = require_action.action("PAYPAL_DELETE_INVOICE_PAYMENT_RECORD", {
|
|
14
14
|
slug: "paypal-delete-invoice-payment-record",
|
|
15
15
|
name: "Delete invoice payment record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice-payment-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoicePaymentRecordInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice from which to delete the payment record.\"),\n transaction_id: z.string().describe(\"The ID of the payment transaction record to delete from the invoice.\"),\n}).describe(\"Request model for deleting a payment record from an invoice.\");\nexport const PaypalDeleteInvoicePaymentRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the payment record deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the payment record was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the payment record that was deleted.\").nullable().optional(),\n}).describe(\"Response model for deleting a payment record from an invoice.\");\n\nexport const paypalDeleteInvoicePaymentRecord = action(\"PAYPAL_DELETE_INVOICE_PAYMENT_RECORD\", {\n slug: \"paypal-delete-invoice-payment-record\",\n name: \"Delete invoice payment record\",\n description: \"Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteInvoicePaymentRecordInput,\n output: PaypalDeleteInvoicePaymentRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAC5G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,SAAS,+DAA+D;
|
|
1
|
+
{"version":3,"file":"delete-invoice-payment-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoicePaymentRecordInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice from which to delete the payment record.\"),\n transaction_id: z.string().describe(\"The ID of the payment transaction record to delete from the invoice.\"),\n}).describe(\"Request model for deleting a payment record from an invoice.\");\nexport const PaypalDeleteInvoicePaymentRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the payment record deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the payment record was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the payment record that was deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a payment record from an invoice.\");\n\nexport const paypalDeleteInvoicePaymentRecord = action(\"PAYPAL_DELETE_INVOICE_PAYMENT_RECORD\", {\n slug: \"paypal-delete-invoice-payment-record\",\n name: \"Delete invoice payment record\",\n description: \"Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteInvoicePaymentRecordInput,\n output: PaypalDeleteInvoicePaymentRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;CAChG,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;AAC5G,CAAC,CAAC,CAAC,SAAS,8DAA8D;AAC1E,MAAa,yCAAyCA,IAAAA,EAAE,OAAO;CAC7D,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjI,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxH,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAA+D;AAEzF,MAAa,mCAAmCC,eAAAA,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const PaypalDeleteInvoicePaymentRecordOutput: z.ZodObject<{
|
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
10
|
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const paypalDeleteInvoicePaymentRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
invoice_id: string;
|
|
15
15
|
transaction_id: string;
|
|
@@ -9,7 +9,7 @@ declare const PaypalDeleteInvoicePaymentRecordOutput: z.ZodObject<{
|
|
|
9
9
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
10
10
|
invoice_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
11
|
transaction_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
|
-
}, z.core.$
|
|
12
|
+
}, z.core.$loose>;
|
|
13
13
|
declare const paypalDeleteInvoicePaymentRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
14
14
|
invoice_id: string;
|
|
15
15
|
transaction_id: string;
|
|
@@ -12,7 +12,7 @@ const paypalDeleteInvoicePaymentRecord = action("PAYPAL_DELETE_INVOICE_PAYMENT_R
|
|
|
12
12
|
success: z.boolean().default(true).describe("Indicates whether the payment record deletion was successful.").nullable().optional(),
|
|
13
13
|
invoice_id: z.string().describe("The ID of the invoice from which the payment record was deleted.").nullable().optional(),
|
|
14
14
|
transaction_id: z.string().describe("The ID of the payment record that was deleted.").nullable().optional()
|
|
15
|
-
}).describe("Response model for deleting a payment record from an invoice.")
|
|
15
|
+
}).passthrough().describe("Response model for deleting a payment record from an invoice.")
|
|
16
16
|
});
|
|
17
17
|
//#endregion
|
|
18
18
|
export { paypalDeleteInvoicePaymentRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice-payment-record.mjs","names":[],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoicePaymentRecordInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice from which to delete the payment record.\"),\n transaction_id: z.string().describe(\"The ID of the payment transaction record to delete from the invoice.\"),\n}).describe(\"Request model for deleting a payment record from an invoice.\");\nexport const PaypalDeleteInvoicePaymentRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the payment record deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the payment record was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the payment record that was deleted.\").nullable().optional(),\n}).describe(\"Response model for deleting a payment record from an invoice.\");\n\nexport const paypalDeleteInvoicePaymentRecord = action(\"PAYPAL_DELETE_INVOICE_PAYMENT_RECORD\", {\n slug: \"paypal-delete-invoice-payment-record\",\n name: \"Delete invoice payment record\",\n description: \"Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteInvoicePaymentRecordInput,\n output: PaypalDeleteInvoicePaymentRecordOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAC5G,CAAC,CAAC,CAAC,SAAS,8DAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,SAAS,+
|
|
1
|
+
{"version":3,"file":"delete-invoice-payment-record.mjs","names":[],"sources":["../../src/actions/delete-invoice-payment-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoicePaymentRecordInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice from which to delete the payment record.\"),\n transaction_id: z.string().describe(\"The ID of the payment transaction record to delete from the invoice.\"),\n}).describe(\"Request model for deleting a payment record from an invoice.\");\nexport const PaypalDeleteInvoicePaymentRecordOutput = z.object({\n success: z.boolean().default(true).describe(\"Indicates whether the payment record deletion was successful.\").nullable().optional(),\n invoice_id: z.string().describe(\"The ID of the invoice from which the payment record was deleted.\").nullable().optional(),\n transaction_id: z.string().describe(\"The ID of the payment record that was deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a payment record from an invoice.\");\n\nexport const paypalDeleteInvoicePaymentRecord = action(\"PAYPAL_DELETE_INVOICE_PAYMENT_RECORD\", {\n slug: \"paypal-delete-invoice-payment-record\",\n name: \"Delete invoice payment record\",\n description: \"Deletes a payment record from a PayPal invoice. Use this action when you need to remove a specific payment transaction record that was incorrectly applied to an invoice. This action permanently removes the payment record from the invoice. This action is irreversible — once deleted, the payment record cannot be recovered. A successful deletion returns HTTP 204 No Content with no response body. This action is idempotent — attempting to delete a non-existent payment record also returns success.\",\n input: PaypalDeleteInvoicePaymentRecordInput,\n output: PaypalDeleteInvoicePaymentRecordOutput,\n});\n"],"mappings":";;AAcA,MAAa,mCAAmC,OAAO,wCAAwC;CAC7F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAdmD,EAAE,OAAO;EAC5D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,gEAAgE;EAChG,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,sEAAsE;CAC5G,CAAC,CAAC,CAAC,SAAS,8DAWH;CACP,QAXoD,EAAE,OAAO;EAC7D,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACjI,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kEAAkE,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxH,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,gDAAgD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+DAOhB;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ const PaypalDeleteInvoiceRefundRecordInput = zod.z.object({
|
|
|
8
8
|
const PaypalDeleteInvoiceRefundRecordOutput = zod.z.object({
|
|
9
9
|
message: zod.z.string().default("Refund record deleted successfully").describe("A human-readable message confirming the deletion result.").nullable().optional(),
|
|
10
10
|
success: zod.z.boolean().default(true).describe("Indicates whether the refund record was successfully deleted.").nullable().optional()
|
|
11
|
-
}).describe("Response schema returned after deleting a refund record from an invoice.");
|
|
11
|
+
}).passthrough().describe("Response schema returned after deleting a refund record from an invoice.");
|
|
12
12
|
const paypalDeleteInvoiceRefundRecord = require_action.action("PAYPAL_DELETE_INVOICE_REFUND_RECORD", {
|
|
13
13
|
slug: "paypal-delete-invoice-refund-record",
|
|
14
14
|
name: "Delete Invoice Refund Record",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice-refund-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceRefundRecordInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.\"),\n}).describe(\"Request schema for deleting a refund record from an invoice.\\n\\nUse this when you need to remove a specific refund transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteInvoiceRefundRecordOutput = z.object({\n message: z.string().default(\"Refund record deleted successfully\").describe(\"A human-readable message confirming the deletion result.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the refund record was successfully deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting a refund record from an invoice.\");\n\nexport const paypalDeleteInvoiceRefundRecord = action(\"PAYPAL_DELETE_INVOICE_REFUND_RECORD\", {\n slug: \"paypal-delete-invoice-refund-record\",\n name: \"Delete Invoice Refund Record\",\n description: \"Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.\",\n input: PaypalDeleteInvoiceRefundRecordInput,\n output: PaypalDeleteInvoiceRefundRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACjL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;AAC/K,CAAC,CAAC,CAAC,SAAS,kKAAkK;AAC9K,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oCAAoC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,SAAS,0EAA0E;
|
|
1
|
+
{"version":3,"file":"delete-invoice-refund-record.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceRefundRecordInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.\"),\n}).describe(\"Request schema for deleting a refund record from an invoice.\\n\\nUse this when you need to remove a specific refund transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteInvoiceRefundRecordOutput = z.object({\n message: z.string().default(\"Refund record deleted successfully\").describe(\"A human-readable message confirming the deletion result.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the refund record was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after deleting a refund record from an invoice.\");\n\nexport const paypalDeleteInvoiceRefundRecord = action(\"PAYPAL_DELETE_INVOICE_REFUND_RECORD\", {\n slug: \"paypal-delete-invoice-refund-record\",\n name: \"Delete Invoice Refund Record\",\n description: \"Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.\",\n input: PaypalDeleteInvoiceRefundRecordInput,\n output: PaypalDeleteInvoiceRefundRecordOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uCAAuCA,IAAAA,EAAE,OAAO;CAC3D,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;CACjL,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;AAC/K,CAAC,CAAC,CAAC,SAAS,kKAAkK;AAC9K,MAAa,wCAAwCA,IAAAA,EAAE,OAAO;CAC5D,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,QAAQ,oCAAoC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC3J,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAA0E;AAEpG,MAAa,kCAAkCC,eAAAA,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,7 +8,7 @@ declare const PaypalDeleteInvoiceRefundRecordInput: z.ZodObject<{
|
|
|
8
8
|
declare const PaypalDeleteInvoiceRefundRecordOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paypalDeleteInvoiceRefundRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
invoice_id: string;
|
|
14
14
|
transaction_id: string;
|
|
@@ -8,7 +8,7 @@ declare const PaypalDeleteInvoiceRefundRecordInput: z.ZodObject<{
|
|
|
8
8
|
declare const PaypalDeleteInvoiceRefundRecordOutput: z.ZodObject<{
|
|
9
9
|
message: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodString>>>;
|
|
10
10
|
success: z.ZodOptional<z.ZodNullable<z.ZodDefault<z.ZodBoolean>>>;
|
|
11
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>;
|
|
12
12
|
declare const paypalDeleteInvoiceRefundRecord: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
13
13
|
invoice_id: string;
|
|
14
14
|
transaction_id: string;
|
|
@@ -11,7 +11,7 @@ const paypalDeleteInvoiceRefundRecord = action("PAYPAL_DELETE_INVOICE_REFUND_REC
|
|
|
11
11
|
output: z.object({
|
|
12
12
|
message: z.string().default("Refund record deleted successfully").describe("A human-readable message confirming the deletion result.").nullable().optional(),
|
|
13
13
|
success: z.boolean().default(true).describe("Indicates whether the refund record was successfully deleted.").nullable().optional()
|
|
14
|
-
}).describe("Response schema returned after deleting a refund record from an invoice.")
|
|
14
|
+
}).passthrough().describe("Response schema returned after deleting a refund record from an invoice.")
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { paypalDeleteInvoiceRefundRecord };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice-refund-record.mjs","names":[],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceRefundRecordInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.\"),\n}).describe(\"Request schema for deleting a refund record from an invoice.\\n\\nUse this when you need to remove a specific refund transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteInvoiceRefundRecordOutput = z.object({\n message: z.string().default(\"Refund record deleted successfully\").describe(\"A human-readable message confirming the deletion result.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the refund record was successfully deleted.\").nullable().optional(),\n}).describe(\"Response schema returned after deleting a refund record from an invoice.\");\n\nexport const paypalDeleteInvoiceRefundRecord = action(\"PAYPAL_DELETE_INVOICE_REFUND_RECORD\", {\n slug: \"paypal-delete-invoice-refund-record\",\n name: \"Delete Invoice Refund Record\",\n description: \"Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.\",\n input: PaypalDeleteInvoiceRefundRecordInput,\n output: PaypalDeleteInvoiceRefundRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;EACjL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC/K,CAAC,CAAC,CAAC,SAAS,kKAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,oCAAoC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-invoice-refund-record.mjs","names":[],"sources":["../../src/actions/delete-invoice-refund-record.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceRefundRecordInput = z.object({\n invoice_id: z.string().describe(\"The unique identifier of the invoice from which to delete the refund record. This is the invoice ID returned when creating or listing invoices.\"),\n transaction_id: z.string().describe(\"The unique identifier of the refund transaction to delete. This is the transaction ID associated with the refund record on the invoice.\"),\n}).describe(\"Request schema for deleting a refund record from an invoice.\\n\\nUse this when you need to remove a specific refund transaction\\nfrom an existing PayPal invoice.\");\nexport const PaypalDeleteInvoiceRefundRecordOutput = z.object({\n message: z.string().default(\"Refund record deleted successfully\").describe(\"A human-readable message confirming the deletion result.\").nullable().optional(),\n success: z.boolean().default(true).describe(\"Indicates whether the refund record was successfully deleted.\").nullable().optional(),\n}).passthrough().describe(\"Response schema returned after deleting a refund record from an invoice.\");\n\nexport const paypalDeleteInvoiceRefundRecord = action(\"PAYPAL_DELETE_INVOICE_REFUND_RECORD\", {\n slug: \"paypal-delete-invoice-refund-record\",\n name: \"Delete Invoice Refund Record\",\n description: \"Permanently deletes a refund record from a specified PayPal invoice. This action is irreversible - once deleted, the refund record cannot be recovered. Use when correcting invoice payment records, removing erroneous refunds, or cleaning up invoice payment history. Note: This action only deletes the refund record reference from the invoice. It does not reverse or refund the actual payment through PayPal.\",\n input: PaypalDeleteInvoiceRefundRecordInput,\n output: PaypalDeleteInvoiceRefundRecordOutput,\n});\n"],"mappings":";;AAaA,MAAa,kCAAkC,OAAO,uCAAuC;CAC3F,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAbkD,EAAE,OAAO;EAC3D,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,iJAAiJ;EACjL,gBAAgB,EAAE,OAAO,CAAC,CAAC,SAAS,yIAAyI;CAC/K,CAAC,CAAC,CAAC,SAAS,kKAUH;CACP,QAVmD,EAAE,OAAO;EAC5D,SAAS,EAAE,OAAO,CAAC,CAAC,QAAQ,oCAAoC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC3J,SAAS,EAAE,QAAQ,CAAC,CAAC,QAAQ,IAAI,CAAC,CAAC,SAAS,+DAA+D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnI,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,0EAOhB;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const PaypalDeleteInvoice_LinkDescriptionSchema = zod.z.object({
|
|
|
6
6
|
rel: zod.z.string().describe("The relationship between the resource and the link.").nullable(),
|
|
7
7
|
href: zod.z.string().describe("The URI of the related resource.").nullable(),
|
|
8
8
|
method: zod.z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
9
|
-
}).describe("HATEOAS link information.");
|
|
9
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
10
10
|
const PaypalDeleteInvoice_ErrorDetailSchema = zod.z.object({
|
|
11
11
|
field: zod.z.string().describe("The field that caused the error.").nullable().optional(),
|
|
12
12
|
issue: zod.z.string().describe("The issue description.").nullable(),
|
|
13
13
|
value: zod.z.string().describe("The value that caused the error.").nullable().optional(),
|
|
14
14
|
location: zod.z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
15
15
|
description: zod.z.string().describe("The error description.").nullable().optional()
|
|
16
|
-
}).describe("Error detail information.");
|
|
16
|
+
}).passthrough().describe("Error detail information.");
|
|
17
17
|
const PaypalDeleteInvoiceOutput = zod.z.object({
|
|
18
18
|
name: zod.z.string().describe("The human-readable, unique name of the error.").nullable().optional(),
|
|
19
19
|
links: zod.z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
@@ -22,7 +22,7 @@ const PaypalDeleteInvoiceOutput = zod.z.object({
|
|
|
22
22
|
success: zod.z.boolean().describe("Indicates whether the invoice deletion was successful.").nullable().optional(),
|
|
23
23
|
debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
24
24
|
information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
25
|
-
}).describe("Response model for deleting a PayPal invoice.");
|
|
25
|
+
}).passthrough().describe("Response model for deleting a PayPal invoice.");
|
|
26
26
|
const paypalDeleteInvoice = require_action.action("PAYPAL_DELETE_INVOICE", {
|
|
27
27
|
slug: "paypal-delete-invoice",
|
|
28
28
|
name: "Delete Invoice",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice.\");\nconst PaypalDeleteInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteInvoice_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteInvoiceOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response model for deleting a PayPal invoice.\");\n\nexport const paypalDeleteInvoice = action(\"PAYPAL_DELETE_INVOICE\", {\n slug: \"paypal-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.\",\n input: PaypalDeleteInvoiceInput,\n output: PaypalDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"delete-invoice.cjs","names":["z","action"],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice.\");\nconst PaypalDeleteInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalDeleteInvoice_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nexport const PaypalDeleteInvoiceOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a PayPal invoice.\");\n\nexport const paypalDeleteInvoice = action(\"PAYPAL_DELETE_INVOICE\", {\n slug: \"paypal-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.\",\n input: PaypalDeleteInvoiceInput,\n output: PaypalDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,4CAA4CA,IAAAA,EAAE,OAAO;CACzD,KAAKA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,wCAAwCA,IAAAA,EAAE,OAAO;CACrD,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAa,4BAA4BA,IAAAA,EAAE,OAAO;CAChD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACrI,SAASA,IAAAA,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACxI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,UAAUA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,19 +10,19 @@ declare const PaypalDeleteInvoiceOutput: z.ZodObject<{
|
|
|
10
10
|
rel: z.ZodNullable<z.ZodString>;
|
|
11
11
|
href: z.ZodNullable<z.ZodString>;
|
|
12
12
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
issue: z.ZodNullable<z.ZodString>;
|
|
17
17
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
23
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const paypalDeleteInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
invoice_id: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,19 +10,19 @@ declare const PaypalDeleteInvoiceOutput: z.ZodObject<{
|
|
|
10
10
|
rel: z.ZodNullable<z.ZodString>;
|
|
11
11
|
href: z.ZodNullable<z.ZodString>;
|
|
12
12
|
method: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13
|
-
}, z.core.$
|
|
13
|
+
}, z.core.$loose>>>>;
|
|
14
14
|
details: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
15
15
|
field: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
issue: z.ZodNullable<z.ZodString>;
|
|
17
17
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
18
|
location: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19
19
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20
|
-
}, z.core.$
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
21
|
message: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22
22
|
success: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23
23
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
24
|
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25
|
-
}, z.core.$
|
|
25
|
+
}, z.core.$loose>;
|
|
26
26
|
declare const paypalDeleteInvoice: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
invoice_id: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,14 +6,14 @@ const PaypalDeleteInvoice_LinkDescriptionSchema = z.object({
|
|
|
6
6
|
rel: z.string().describe("The relationship between the resource and the link.").nullable(),
|
|
7
7
|
href: z.string().describe("The URI of the related resource.").nullable(),
|
|
8
8
|
method: z.string().describe("The HTTP method to use for the related resource.").nullable().optional()
|
|
9
|
-
}).describe("HATEOAS link information.");
|
|
9
|
+
}).passthrough().describe("HATEOAS link information.");
|
|
10
10
|
const PaypalDeleteInvoice_ErrorDetailSchema = z.object({
|
|
11
11
|
field: z.string().describe("The field that caused the error.").nullable().optional(),
|
|
12
12
|
issue: z.string().describe("The issue description.").nullable(),
|
|
13
13
|
value: z.string().describe("The value that caused the error.").nullable().optional(),
|
|
14
14
|
location: z.string().describe("The location of the error (body, path, query, header).").nullable().optional(),
|
|
15
15
|
description: z.string().describe("The error description.").nullable().optional()
|
|
16
|
-
}).describe("Error detail information.");
|
|
16
|
+
}).passthrough().describe("Error detail information.");
|
|
17
17
|
const paypalDeleteInvoice = action("PAYPAL_DELETE_INVOICE", {
|
|
18
18
|
slug: "paypal-delete-invoice",
|
|
19
19
|
name: "Delete Invoice",
|
|
@@ -27,7 +27,7 @@ const paypalDeleteInvoice = action("PAYPAL_DELETE_INVOICE", {
|
|
|
27
27
|
success: z.boolean().describe("Indicates whether the invoice deletion was successful.").nullable().optional(),
|
|
28
28
|
debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
29
29
|
information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
30
|
-
}).describe("Response model for deleting a PayPal invoice.")
|
|
30
|
+
}).passthrough().describe("Response model for deleting a PayPal invoice.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { paypalDeleteInvoice };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-invoice.mjs","names":[],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice.\");\nconst PaypalDeleteInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).describe(\"HATEOAS link information.\");\nconst PaypalDeleteInvoice_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).describe(\"Error detail information.\");\nexport const PaypalDeleteInvoiceOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).describe(\"Response model for deleting a PayPal invoice.\");\n\nexport const paypalDeleteInvoice = action(\"PAYPAL_DELETE_INVOICE\", {\n slug: \"paypal-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.\",\n input: PaypalDeleteInvoiceInput,\n output: PaypalDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,2BAA2B;
|
|
1
|
+
{"version":3,"file":"delete-invoice.mjs","names":[],"sources":["../../src/actions/delete-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteInvoiceInput = z.object({\n invoice_id: z.string().describe(\"The ID of the invoice to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice.\");\nconst PaypalDeleteInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The relationship between the resource and the link.\").nullable(),\n href: z.string().describe(\"The URI of the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method to use for the related resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalDeleteInvoice_ErrorDetailSchema = z.object({\n field: z.string().describe(\"The field that caused the error.\").nullable().optional(),\n issue: z.string().describe(\"The issue description.\").nullable(),\n value: z.string().describe(\"The value that caused the error.\").nullable().optional(),\n location: z.string().describe(\"The location of the error (body, path, query, header).\").nullable().optional(),\n description: z.string().describe(\"The error description.\").nullable().optional(),\n}).passthrough().describe(\"Error detail information.\");\nexport const PaypalDeleteInvoiceOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteInvoice_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteInvoice_ErrorDetailSchema).describe(\"An array of additional details about the error.\").nullable().optional(),\n message: z.string().describe(\"The message that describes the error.\").nullable().optional(),\n success: z.boolean().describe(\"Indicates whether the invoice deletion was successful.\").nullable().optional(),\n debug_id: z.string().describe(\"The PayPal internal ID. Used for correlation purposes.\").nullable().optional(),\n information_link: z.string().describe(\"The information link, or URI, that shows detailed information about this error for the developer.\").nullable().optional(),\n}).passthrough().describe(\"Response model for deleting a PayPal invoice.\");\n\nexport const paypalDeleteInvoice = action(\"PAYPAL_DELETE_INVOICE\", {\n slug: \"paypal-delete-invoice\",\n name: \"Delete Invoice\",\n description: \"Deletes a PayPal invoice by its ID. Use this action when you need to permanently remove an invoice that is no longer needed. This action is irreversible — once deleted, the invoice cannot be recovered and any associated payment records will be lost. Note: Only draft invoices can be deleted. Attempting to delete an invoice that has been sent or paid will return an error.\",\n input: PaypalDeleteInvoiceInput,\n output: PaypalDeleteInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,EACpE,CAAC,CAAC,CAAC,SAAS,8CAA8C;AAC1D,MAAM,4CAA4C,EAAE,OAAO;CACzD,KAAK,EAAE,OAAO,CAAC,CAAC,SAAS,qDAAqD,CAAC,CAAC,SAAS;CACzF,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS;CACvE,QAAQ,EAAE,OAAO,CAAC,CAAC,SAAS,kDAAkD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AACrD,MAAM,wCAAwC,EAAE,OAAO;CACrD,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS;CAC9D,OAAO,EAAE,OAAO,CAAC,CAAC,SAAS,kCAAkC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACnF,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5G,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,wBAAwB,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACjF,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,2BAA2B;AAWrD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfuC,EAAE,OAAO;EAChD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,yCAAyC,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACrI,SAAS,EAAE,MAAM,qCAAqC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACxI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,UAAU,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC5G,kBAAkB,EAAE,OAAO,CAAC,CAAC,SAAS,mGAAmG,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACjK,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PaypalDeletePaymentResourceInput = zod.z.object({ payment_resource_id: zod
|
|
|
5
5
|
const PaypalDeletePaymentResourceOutput = zod.z.object({
|
|
6
6
|
message: zod.z.string().describe("Status message about the deletion operation").nullable(),
|
|
7
7
|
success: zod.z.boolean().describe("Indicates whether the payment resource deletion was successful").nullable()
|
|
8
|
-
}).describe("Output model for delete payment resource action");
|
|
8
|
+
}).passthrough().describe("Output model for delete payment resource action");
|
|
9
9
|
const paypalDeletePaymentResource = require_action.action("PAYPAL_DELETE_PAYMENT_RESOURCE", {
|
|
10
10
|
slug: "paypal-delete-payment-resource",
|
|
11
11
|
name: "Delete Payment Resource",
|