@keystrokehq/paypal 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/actions/activate-plan.cjs +1 -1
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +1 -1
- package/dist/actions/activate-plan.d.mts +1 -1
- package/dist/actions/activate-plan.mjs +1 -1
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +5 -5
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +8 -7
- package/dist/actions/add-batch-trackers.d.mts +8 -7
- package/dist/actions/add-batch-trackers.mjs +5 -5
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +16 -16
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +19 -19
- package/dist/actions/authorize-order.d.mts +19 -19
- package/dist/actions/authorize-order.mjs +16 -16
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +3 -3
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -3
- package/dist/actions/cancel-invoice.d.mts +3 -3
- package/dist/actions/cancel-invoice.mjs +3 -3
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +3 -3
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -3
- package/dist/actions/cancel-reminders.d.mts +3 -3
- package/dist/actions/cancel-reminders.mjs +3 -3
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +9 -9
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +9 -9
- package/dist/actions/capture-subscription-payment.d.mts +9 -9
- package/dist/actions/capture-subscription-payment.mjs +9 -9
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -1
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +1 -1
- package/dist/actions/charge-payment-method.d.mts +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -1
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +22 -22
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +36 -33
- package/dist/actions/create-invoice.d.mts +36 -33
- package/dist/actions/create-invoice.mjs +22 -22
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +31 -31
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +42 -38
- package/dist/actions/create-payment.d.mts +42 -38
- package/dist/actions/create-payment.mjs +31 -31
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +8 -8
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +11 -9
- package/dist/actions/create-payments-billing-plans.d.mts +11 -9
- package/dist/actions/create-payments-billing-plans.mjs +8 -8
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +12 -12
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +14 -13
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +14 -13
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +12 -12
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +2 -2
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +2 -2
- package/dist/actions/create-product.d.mts +2 -2
- package/dist/actions/create-product.mjs +2 -2
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +15 -15
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +21 -20
- package/dist/actions/create-subscription.d.mts +21 -20
- package/dist/actions/create-subscription.mjs +15 -15
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +25 -25
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +36 -30
- package/dist/actions/create-template.d.mts +36 -30
- package/dist/actions/create-template.mjs +25 -25
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +5 -5
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +5 -5
- package/dist/actions/create-web-profile.d.mts +5 -5
- package/dist/actions/create-web-profile.mjs +5 -5
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +2 -2
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +2 -2
- package/dist/actions/create-webhook-lookup.d.mts +2 -2
- package/dist/actions/create-webhook-lookup.mjs +2 -2
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +4 -4
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +5 -4
- package/dist/actions/create-webhook.d.mts +5 -4
- package/dist/actions/create-webhook.mjs +4 -4
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -1
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +1 -1
- package/dist/actions/deactivate-plan.d.mts +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -1
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -1
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +1 -1
- package/dist/actions/delete-external-payment.d.mts +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -1
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +3 -3
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -3
- package/dist/actions/delete-invoice.d.mts +3 -3
- package/dist/actions/delete-invoice.mjs +3 -3
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -1
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +1 -1
- package/dist/actions/delete-payment-resource.d.mts +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -1
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +3 -3
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -3
- package/dist/actions/delete-template.d.mts +3 -3
- package/dist/actions/delete-template.mjs +3 -3
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -1
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +1 -1
- package/dist/actions/delete-web-profile.d.mts +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -1
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +3 -3
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -3
- package/dist/actions/delete-webhook.d.mts +3 -3
- package/dist/actions/delete-webhook.mjs +3 -3
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +5 -5
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +5 -5
- package/dist/actions/fetch-node.d.mts +5 -5
- package/dist/actions/fetch-node.mjs +5 -5
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +3 -3
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +7 -7
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +11 -10
- package/dist/actions/find-eligible-methods.d.mts +11 -10
- package/dist/actions/find-eligible-methods.mjs +7 -7
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -1
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +1 -1
- package/dist/actions/generate-client-token.d.mts +1 -1
- package/dist/actions/generate-client-token.mjs +1 -1
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -1
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -1
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +4 -4
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +4 -4
- package/dist/actions/generate-qr-code.d.mts +4 -4
- package/dist/actions/generate-qr-code.mjs +4 -4
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +10 -10
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +11 -11
- package/dist/actions/get-billing-subscriptions.d.mts +11 -11
- package/dist/actions/get-billing-subscriptions.mjs +10 -10
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +24 -24
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +32 -32
- package/dist/actions/get-invoice.d.mts +32 -32
- package/dist/actions/get-invoice.mjs +24 -24
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +2 -2
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +20 -20
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +29 -29
- package/dist/actions/get-invoicing-template.d.mts +29 -29
- package/dist/actions/get-invoicing-template.mjs +20 -20
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +16 -16
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +24 -24
- package/dist/actions/get-order.d.mts +24 -24
- package/dist/actions/get-order.mjs +16 -16
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +14 -14
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +22 -22
- package/dist/actions/get-payment.d.mts +22 -22
- package/dist/actions/get-payment.mjs +14 -14
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +3 -3
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -3
- package/dist/actions/get-payments-refund.d.mts +3 -3
- package/dist/actions/get-payments-refund.mjs +3 -3
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +11 -11
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +11 -11
- package/dist/actions/get-plan.d.mts +11 -11
- package/dist/actions/get-plan.mjs +11 -11
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +2 -2
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +2 -2
- package/dist/actions/get-product.d.mts +2 -2
- package/dist/actions/get-product.mjs +2 -2
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +10 -10
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +13 -13
- package/dist/actions/get-subscription.d.mts +13 -13
- package/dist/actions/get-subscription.mjs +10 -10
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +3 -3
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -3
- package/dist/actions/get-user-info.d.mts +3 -3
- package/dist/actions/get-user-info.mjs +3 -3
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +3 -3
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -3
- package/dist/actions/get-userinfo.d.mts +3 -3
- package/dist/actions/get-userinfo.mjs +3 -3
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +4 -4
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +4 -4
- package/dist/actions/get-web-profile.d.mts +4 -4
- package/dist/actions/get-web-profile.mjs +4 -4
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +2 -2
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +2 -2
- package/dist/actions/get-webhook-lookup.d.mts +2 -2
- package/dist/actions/get-webhook-lookup.mjs +2 -2
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +4 -4
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +4 -4
- package/dist/actions/get-webhook.d.mts +4 -4
- package/dist/actions/get-webhook.mjs +4 -4
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +5 -5
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +6 -6
- package/dist/actions/list-disputes.d.mts +6 -6
- package/dist/actions/list-disputes.mjs +5 -5
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +15 -15
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +19 -19
- package/dist/actions/list-invoices.d.mts +19 -19
- package/dist/actions/list-invoices.mjs +15 -15
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +7 -7
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +9 -9
- package/dist/actions/list-legacy-billing-plans.d.mts +9 -9
- package/dist/actions/list-legacy-billing-plans.mjs +7 -7
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +20 -20
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +24 -24
- package/dist/actions/list-payments.d.mts +24 -24
- package/dist/actions/list-payments.mjs +20 -20
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +8 -8
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +9 -9
- package/dist/actions/list-plans.d.mts +9 -9
- package/dist/actions/list-plans.mjs +8 -8
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +3 -3
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +4 -4
- package/dist/actions/list-products.d.mts +4 -4
- package/dist/actions/list-products.mjs +3 -3
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +8 -8
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +9 -9
- package/dist/actions/list-templates.d.mts +9 -9
- package/dist/actions/list-templates.mjs +8 -8
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +6 -6
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +6 -6
- package/dist/actions/list-web-profiles.d.mts +6 -6
- package/dist/actions/list-web-profiles.mjs +6 -6
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +3 -3
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +3 -3
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -3
- package/dist/actions/list-webhook-event-types.d.mts +3 -3
- package/dist/actions/list-webhook-event-types.mjs +3 -3
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +3 -3
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -3
- package/dist/actions/list-webhook-lookups.d.mts +3 -3
- package/dist/actions/list-webhook-lookups.mjs +3 -3
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +2 -2
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +2 -2
- package/dist/actions/list-webhooks.d.mts +2 -2
- package/dist/actions/list-webhooks.mjs +2 -2
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +2 -2
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -2
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -2
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +2 -2
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +2 -2
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -2
- package/dist/actions/patch-plan.d.mts +3 -2
- package/dist/actions/patch-plan.mjs +2 -2
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +3 -3
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +4 -3
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +4 -3
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +3 -3
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +2 -2
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -2
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -2
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +2 -2
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +2 -2
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +2 -2
- package/dist/actions/ping-braintree.d.mts +2 -2
- package/dist/actions/ping-braintree.mjs +2 -2
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +4 -4
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +4 -4
- package/dist/actions/query-braintree-report.d.mts +4 -4
- package/dist/actions/query-braintree-report.mjs +4 -4
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +11 -11
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +12 -12
- package/dist/actions/retrieve-payment-resource.d.mts +12 -12
- package/dist/actions/retrieve-payment-resource.mjs +11 -11
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +11 -11
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +15 -15
- package/dist/actions/search-invoices.d.mts +15 -15
- package/dist/actions/search-invoices.mjs +11 -11
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +2 -2
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +2 -2
- package/dist/actions/send-invoice.d.mts +2 -2
- package/dist/actions/send-invoice.mjs +2 -2
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +4 -4
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +4 -4
- package/dist/actions/simulate-webhook-event.d.mts +4 -4
- package/dist/actions/simulate-webhook-event.mjs +4 -4
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +3 -3
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +4 -3
- package/dist/actions/update-dispute.d.mts +4 -3
- package/dist/actions/update-dispute.mjs +3 -3
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +34 -34
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +54 -48
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +54 -48
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +34 -34
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +2 -2
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -2
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -2
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +2 -2
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +4 -4
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +5 -4
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +5 -4
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +4 -4
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +39 -39
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +65 -56
- package/dist/actions/update-templates.d.mts +65 -56
- package/dist/actions/update-templates.mjs +39 -39
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +2 -2
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +2 -2
- package/dist/actions/update-web-profile.d.mts +2 -2
- package/dist/actions/update-web-profile.mjs +2 -2
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +2 -2
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +2 -2
- package/dist/actions/verify-payment-method.d.mts +2 -2
- package/dist/actions/verify-payment-method.mjs +2 -2
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -1
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -1
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-payment-resource.cjs","names":["z","action"],"sources":["../../src/actions/delete-payment-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeletePaymentResourceInput = z.object({\n payment_resource_id: z.string().describe(\"The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete payment resource action\");\nexport const PaypalDeletePaymentResourceOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the payment resource deletion was successful\").nullable(),\n}).describe(\"Output model for delete payment resource action\");\n\nexport const paypalDeletePaymentResource = action(\"PAYPAL_DELETE_PAYMENT_RESOURCE\", {\n slug: \"paypal-delete-payment-resource\",\n name: \"Delete Payment Resource\",\n description: \"Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.\",\n input: PaypalDeletePaymentResourceInput,\n output: PaypalDeletePaymentResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC9J,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,SAAS,iDAAiD;
|
|
1
|
+
{"version":3,"file":"delete-payment-resource.cjs","names":["z","action"],"sources":["../../src/actions/delete-payment-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeletePaymentResourceInput = z.object({\n payment_resource_id: z.string().describe(\"The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete payment resource action\");\nexport const PaypalDeletePaymentResourceOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the payment resource deletion was successful\").nullable(),\n}).passthrough().describe(\"Output model for delete payment resource action\");\n\nexport const paypalDeletePaymentResource = action(\"PAYPAL_DELETE_PAYMENT_RESOURCE\", {\n slug: \"paypal-delete-payment-resource\",\n name: \"Delete Payment Resource\",\n description: \"Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.\",\n input: PaypalDeletePaymentResourceInput,\n output: PaypalDeletePaymentResourceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,mCAAmCA,IAAAA,EAAE,OAAO,EACvD,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC9J,CAAC,CAAC,CAAC,SAAS,gDAAgD;AAC5D,MAAa,oCAAoCA,IAAAA,EAAE,OAAO;CACxD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;AAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAAiD;AAE3E,MAAa,8BAA8BC,eAAAA,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PaypalDeletePaymentResourceInput: z.ZodObject<{
|
|
|
7
7
|
declare const PaypalDeletePaymentResourceOutput: 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 paypalDeletePaymentResource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
payment_resource_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 PaypalDeletePaymentResourceInput: z.ZodObject<{
|
|
|
7
7
|
declare const PaypalDeletePaymentResourceOutput: 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 paypalDeletePaymentResource: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
12
12
|
payment_resource_id: string;
|
|
13
13
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,7 +8,7 @@ const paypalDeletePaymentResource = action("PAYPAL_DELETE_PAYMENT_RESOURCE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Status message about the deletion operation").nullable(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the payment resource deletion was successful").nullable()
|
|
11
|
-
}).describe("Output model for delete payment resource action")
|
|
11
|
+
}).passthrough().describe("Output model for delete payment resource action")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { paypalDeletePaymentResource };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-payment-resource.mjs","names":[],"sources":["../../src/actions/delete-payment-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeletePaymentResourceInput = z.object({\n payment_resource_id: z.string().describe(\"The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete payment resource action\");\nexport const PaypalDeletePaymentResourceOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the payment resource deletion was successful\").nullable(),\n}).describe(\"Output model for delete payment resource action\");\n\nexport const paypalDeletePaymentResource = action(\"PAYPAL_DELETE_PAYMENT_RESOURCE\", {\n slug: \"paypal-delete-payment-resource\",\n name: \"Delete Payment Resource\",\n description: \"Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.\",\n input: PaypalDeletePaymentResourceInput,\n output: PaypalDeletePaymentResourceOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,EACvD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC9J,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-payment-resource.mjs","names":[],"sources":["../../src/actions/delete-payment-resource.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeletePaymentResourceInput = z.object({\n payment_resource_id: z.string().describe(\"The unique payment resource identifier to delete. Typically starts with 'XD' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete payment resource action\");\nexport const PaypalDeletePaymentResourceOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the payment resource deletion was successful\").nullable(),\n}).passthrough().describe(\"Output model for delete payment resource action\");\n\nexport const paypalDeletePaymentResource = action(\"PAYPAL_DELETE_PAYMENT_RESOURCE\", {\n slug: \"paypal-delete-payment-resource\",\n name: \"Delete Payment Resource\",\n description: \"Deletes a PayPal payment resource. Use when you need to permanently remove a payment resource that is no longer needed. This action is irreversible — the payment resource cannot be recovered once deleted. Note: Only payment resources in a valid state can be deleted. Attempting to delete a resource that is already deleted or does not exist will return an error.\",\n input: PaypalDeletePaymentResourceInput,\n output: PaypalDeletePaymentResourceOutput,\n});\n"],"mappings":";;AAYA,MAAa,8BAA8B,OAAO,kCAAkC;CAClF,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZ8C,EAAE,OAAO,EACvD,qBAAqB,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC9J,CAAC,CAAC,CAAC,SAAS,gDAUH;CACP,QAV+C,EAAE,OAAO;EACxD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,gEAAgE,CAAC,CAAC,SAAS;CAC3G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,iDAOhB;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const PaypalDeleteTemplate_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 PaypalDeleteTemplate_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 PaypalDeleteTemplateOutput = 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(PaypalDeleteTemplate_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
@@ -22,7 +22,7 @@ const PaypalDeleteTemplateOutput = zod.z.object({
|
|
|
22
22
|
success: zod.z.boolean().describe("Indicates whether the template 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 template.");
|
|
25
|
+
}).passthrough().describe("Response model for deleting a PayPal invoice template.");
|
|
26
26
|
const paypalDeleteTemplate = require_action.action("PAYPAL_DELETE_TEMPLATE", {
|
|
27
27
|
slug: "paypal-delete-template",
|
|
28
28
|
name: "Delete Template",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The ID of the template to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice template.\");\nconst PaypalDeleteTemplate_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 PaypalDeleteTemplate_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 PaypalDeleteTemplateOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteTemplate_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 template 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 template.\");\n\nexport const paypalDeleteTemplate = action(\"PAYPAL_DELETE_TEMPLATE\", {\n slug: \"paypal-delete-template\",\n name: \"Delete Template\",\n description: \"Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.\",\n input: PaypalDeleteTemplateInput,\n output: PaypalDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,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-template.cjs","names":["z","action"],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The ID of the template to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice template.\");\nconst PaypalDeleteTemplate_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 PaypalDeleteTemplate_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 PaypalDeleteTemplateOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteTemplate_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 template 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 template.\");\n\nexport const paypalDeleteTemplate = action(\"PAYPAL_DELETE_TEMPLATE\", {\n slug: \"paypal-delete-template\",\n name: \"Delete Template\",\n description: \"Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.\",\n input: PaypalDeleteTemplateInput,\n output: PaypalDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4BA,IAAAA,EAAE,OAAO,EAChD,aAAaA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,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,yCAAyCA,IAAAA,EAAE,OAAO;CACtD,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,6BAA6BA,IAAAA,EAAE,OAAO;CACjD,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/F,OAAOA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACtI,SAASA,IAAAA,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzI,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1F,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7G,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,wDAAwD;AAElF,MAAa,uBAAuBC,eAAAA,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,19 +10,19 @@ declare const PaypalDeleteTemplateOutput: 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 paypalDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
template_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 PaypalDeleteTemplateOutput: 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 paypalDeleteTemplate: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
27
27
|
template_id: string;
|
|
28
28
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,14 +6,14 @@ const PaypalDeleteTemplate_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 PaypalDeleteTemplate_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 paypalDeleteTemplate = action("PAYPAL_DELETE_TEMPLATE", {
|
|
18
18
|
slug: "paypal-delete-template",
|
|
19
19
|
name: "Delete Template",
|
|
@@ -27,7 +27,7 @@ const paypalDeleteTemplate = action("PAYPAL_DELETE_TEMPLATE", {
|
|
|
27
27
|
success: z.boolean().describe("Indicates whether the template 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 template.")
|
|
30
|
+
}).passthrough().describe("Response model for deleting a PayPal invoice template.")
|
|
31
31
|
});
|
|
32
32
|
//#endregion
|
|
33
33
|
export { paypalDeleteTemplate };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The ID of the template to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice template.\");\nconst PaypalDeleteTemplate_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 PaypalDeleteTemplate_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 PaypalDeleteTemplateOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteTemplate_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 template 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 template.\");\n\nexport const paypalDeleteTemplate = action(\"PAYPAL_DELETE_TEMPLATE\", {\n slug: \"paypal-delete-template\",\n name: \"Delete Template\",\n description: \"Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.\",\n input: PaypalDeleteTemplateInput,\n output: PaypalDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,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-template.mjs","names":[],"sources":["../../src/actions/delete-template.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteTemplateInput = z.object({\n template_id: z.string().describe(\"The ID of the template to delete.\"),\n}).describe(\"Request model for deleting a PayPal invoice template.\");\nconst PaypalDeleteTemplate_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 PaypalDeleteTemplate_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 PaypalDeleteTemplateOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteTemplate_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteTemplate_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 template 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 template.\");\n\nexport const paypalDeleteTemplate = action(\"PAYPAL_DELETE_TEMPLATE\", {\n slug: \"paypal-delete-template\",\n name: \"Delete Template\",\n description: \"Deletes a PayPal invoice template by its ID. Use this action when you need to permanently remove an invoice template that is no longer needed. This action is irreversible — once deleted, the template cannot be recovered and will need to be recreated if needed again. Note: Only templates that are not currently in use can be deleted. Attempting to delete a template that is associated with active invoices may return an error.\",\n input: PaypalDeleteTemplateInput,\n output: PaypalDeleteTemplateOutput,\n});\n"],"mappings":";;;AAIA,MAAa,4BAA4B,EAAE,OAAO,EAChD,aAAa,EAAE,OAAO,CAAC,CAAC,SAAS,mCAAmC,EACtE,CAAC,CAAC,CAAC,SAAS,uDAAuD;AACnE,MAAM,6CAA6C,EAAE,OAAO;CAC1D,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,yCAAyC,EAAE,OAAO;CACtD,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,uBAAuB,OAAO,0BAA0B;CACnE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAfwC,EAAE,OAAO;EACjD,MAAM,EAAE,OAAO,CAAC,CAAC,SAAS,+CAA+C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC/F,OAAO,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,4CAA4C,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACtI,SAAS,EAAE,MAAM,sCAAsC,CAAC,CAAC,SAAS,iDAAiD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EACzI,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uCAAuC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC1F,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,yDAAyD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7G,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,wDAOhB;AACV,CAAC"}
|
|
@@ -5,7 +5,7 @@ const PaypalDeleteWebProfileInput = zod.z.object({ id: zod.z.string().describe("
|
|
|
5
5
|
const PaypalDeleteWebProfileOutput = 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 web profile deletion was successful").nullable()
|
|
8
|
-
}).describe("Output model for delete web profile action");
|
|
8
|
+
}).passthrough().describe("Output model for delete web profile action");
|
|
9
9
|
const paypalDeleteWebProfile = require_action.action("PAYPAL_DELETE_WEB_PROFILE", {
|
|
10
10
|
slug: "paypal-delete-web-profile",
|
|
11
11
|
name: "Delete Web Experience Profile",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/delete-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete web profile action\");\nexport const PaypalDeleteWebProfileOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the web profile deletion was successful\").nullable(),\n}).describe(\"Output model for delete web profile action\");\n\nexport const paypalDeleteWebProfile = action(\"PAYPAL_DELETE_WEB_PROFILE\", {\n slug: \"paypal-delete-web-profile\",\n name: \"Delete Web Experience Profile\",\n description: \"Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.\",\n input: PaypalDeleteWebProfileInput,\n output: PaypalDeleteWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,SAAS,4CAA4C;
|
|
1
|
+
{"version":3,"file":"delete-web-profile.cjs","names":["z","action"],"sources":["../../src/actions/delete-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete web profile action\");\nexport const PaypalDeleteWebProfileOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the web profile deletion was successful\").nullable(),\n}).passthrough().describe(\"Output model for delete web profile action\");\n\nexport const paypalDeleteWebProfile = action(\"PAYPAL_DELETE_WEB_PROFILE\", {\n slug: \"paypal-delete-web-profile\",\n name: \"Delete Web Experience Profile\",\n description: \"Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.\",\n input: PaypalDeleteWebProfileInput,\n output: PaypalDeleteWebProfileOutput,\n});\n"],"mappings":";;;AAIA,MAAa,8BAA8BA,IAAAA,EAAE,OAAO,EAClD,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAA2C;AACvD,MAAa,+BAA+BA,IAAAA,EAAE,OAAO;CACnD,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;CACrF,SAASA,IAAAA,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;AACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAA4C;AAEtE,MAAa,yBAAyBC,eAAAA,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -7,7 +7,7 @@ declare const PaypalDeleteWebProfileInput: z.ZodObject<{
|
|
|
7
7
|
declare const PaypalDeleteWebProfileOutput: 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 paypalDeleteWebProfile: 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 PaypalDeleteWebProfileInput: z.ZodObject<{
|
|
|
7
7
|
declare const PaypalDeleteWebProfileOutput: 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 paypalDeleteWebProfile: 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 paypalDeleteWebProfile = action("PAYPAL_DELETE_WEB_PROFILE", {
|
|
|
8
8
|
output: z.object({
|
|
9
9
|
message: z.string().describe("Status message about the deletion operation").nullable(),
|
|
10
10
|
success: z.boolean().describe("Indicates whether the web profile deletion was successful").nullable()
|
|
11
|
-
}).describe("Output model for delete web profile action")
|
|
11
|
+
}).passthrough().describe("Output model for delete web profile action")
|
|
12
12
|
});
|
|
13
13
|
//#endregion
|
|
14
14
|
export { paypalDeleteWebProfile };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-web-profile.mjs","names":[],"sources":["../../src/actions/delete-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete web profile action\");\nexport const PaypalDeleteWebProfileOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the web profile deletion was successful\").nullable(),\n}).describe(\"Output model for delete web profile action\");\n\nexport const paypalDeleteWebProfile = action(\"PAYPAL_DELETE_WEB_PROFILE\", {\n slug: \"paypal-delete-web-profile\",\n name: \"Delete Web Experience Profile\",\n description: \"Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.\",\n input: PaypalDeleteWebProfileInput,\n output: PaypalDeleteWebProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,SAAS,
|
|
1
|
+
{"version":3,"file":"delete-web-profile.mjs","names":[],"sources":["../../src/actions/delete-web-profile.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebProfileInput = z.object({\n id: z.string().describe(\"The ID of the web experience profile to delete. Typically starts with 'TXP-' followed by alphanumeric characters.\"),\n}).describe(\"Input model for delete web profile action\");\nexport const PaypalDeleteWebProfileOutput = z.object({\n message: z.string().describe(\"Status message about the deletion operation\").nullable(),\n success: z.boolean().describe(\"Indicates whether the web profile deletion was successful\").nullable(),\n}).passthrough().describe(\"Output model for delete web profile action\");\n\nexport const paypalDeleteWebProfile = action(\"PAYPAL_DELETE_WEB_PROFILE\", {\n slug: \"paypal-delete-web-profile\",\n name: \"Delete Web Experience Profile\",\n description: \"Deletes a PayPal web experience profile by its ID. Use this action when you need to permanently remove a web experience profile that is no longer needed. This action is irreversible — the web experience profile cannot be recovered once deleted. Note: Only web profiles that are not currently in use can be deleted. Attempting to delete a profile that is associated with an active resource will return an error.\",\n input: PaypalDeleteWebProfileInput,\n output: PaypalDeleteWebProfileOutput,\n});\n"],"mappings":";;AAYA,MAAa,yBAAyB,OAAO,6BAA6B;CACxE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAZyC,EAAE,OAAO,EAClD,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,mHAAmH,EAC7I,CAAC,CAAC,CAAC,SAAS,2CAUH;CACP,QAV0C,EAAE,OAAO;EACnD,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,6CAA6C,CAAC,CAAC,SAAS;EACrF,SAAS,EAAE,QAAQ,CAAC,CAAC,SAAS,2DAA2D,CAAC,CAAC,SAAS;CACtG,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,4CAOhB;AACV,CAAC"}
|
|
@@ -6,14 +6,14 @@ const PaypalDeleteWebhook_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 PaypalDeleteWebhook_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 PaypalDeleteWebhookOutput = 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(PaypalDeleteWebhook_LinkDescriptionSchema).describe("An array of request-related HATEOAS links.").nullable().optional(),
|
|
@@ -21,7 +21,7 @@ const PaypalDeleteWebhookOutput = zod.z.object({
|
|
|
21
21
|
message: zod.z.string().describe("The message that describes the error.").nullable().optional(),
|
|
22
22
|
debug_id: zod.z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
23
23
|
information_link: zod.z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
24
|
-
}).describe("Output model for deleting a PayPal webhook.");
|
|
24
|
+
}).passthrough().describe("Output model for deleting a PayPal webhook.");
|
|
25
25
|
const paypalDeleteWebhook = require_action.action("PAYPAL_DELETE_WEBHOOK", {
|
|
26
26
|
slug: "paypal-delete-webhook",
|
|
27
27
|
name: "Delete Webhook",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.\"),\n}).describe(\"Input model for deleting a PayPal webhook.\");\nconst PaypalDeleteWebhook_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 PaypalDeleteWebhook_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 PaypalDeleteWebhookOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteWebhook_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 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(\"Output model for deleting a PayPal webhook.\");\n\nexport const paypalDeleteWebhook = action(\"PAYPAL_DELETE_WEBHOOK\", {\n slug: \"paypal-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.\",\n input: PaypalDeleteWebhookInput,\n output: PaypalDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,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-webhook.cjs","names":["z","action"],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.\"),\n}).describe(\"Input model for deleting a PayPal webhook.\");\nconst PaypalDeleteWebhook_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 PaypalDeleteWebhook_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 PaypalDeleteWebhookOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteWebhook_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 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(\"Output model for deleting a PayPal webhook.\");\n\nexport const paypalDeleteWebhook = action(\"PAYPAL_DELETE_WEBHOOK\", {\n slug: \"paypal-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.\",\n input: PaypalDeleteWebhookInput,\n output: PaypalDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO,EAC/C,YAAYA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,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,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,6CAA6C;AAEvE,MAAa,sBAAsBC,eAAAA,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -10,18 +10,18 @@ declare const PaypalDeleteWebhookOutput: 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
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const paypalDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
webhook_id: string;
|
|
27
27
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -10,18 +10,18 @@ declare const PaypalDeleteWebhookOutput: 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
|
debug_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23
23
|
information_link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24
|
-
}, z.core.$
|
|
24
|
+
}, z.core.$loose>;
|
|
25
25
|
declare const paypalDeleteWebhook: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
26
26
|
webhook_id: string;
|
|
27
27
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -6,14 +6,14 @@ const PaypalDeleteWebhook_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 PaypalDeleteWebhook_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 paypalDeleteWebhook = action("PAYPAL_DELETE_WEBHOOK", {
|
|
18
18
|
slug: "paypal-delete-webhook",
|
|
19
19
|
name: "Delete Webhook",
|
|
@@ -26,7 +26,7 @@ const paypalDeleteWebhook = action("PAYPAL_DELETE_WEBHOOK", {
|
|
|
26
26
|
message: z.string().describe("The message that describes the error.").nullable().optional(),
|
|
27
27
|
debug_id: z.string().describe("The PayPal internal ID. Used for correlation purposes.").nullable().optional(),
|
|
28
28
|
information_link: z.string().describe("The information link, or URI, that shows detailed information about this error for the developer.").nullable().optional()
|
|
29
|
-
}).describe("Output model for deleting a PayPal webhook.")
|
|
29
|
+
}).passthrough().describe("Output model for deleting a PayPal webhook.")
|
|
30
30
|
});
|
|
31
31
|
//#endregion
|
|
32
32
|
export { paypalDeleteWebhook };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"delete-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.\"),\n}).describe(\"Input model for deleting a PayPal webhook.\");\nconst PaypalDeleteWebhook_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 PaypalDeleteWebhook_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 PaypalDeleteWebhookOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteWebhook_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 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(\"Output model for deleting a PayPal webhook.\");\n\nexport const paypalDeleteWebhook = action(\"PAYPAL_DELETE_WEBHOOK\", {\n slug: \"paypal-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.\",\n input: PaypalDeleteWebhookInput,\n output: PaypalDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,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-webhook.mjs","names":[],"sources":["../../src/actions/delete-webhook.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalDeleteWebhookInput = z.object({\n webhook_id: z.string().describe(\"The ID of the webhook to delete. This is the unique identifier returned when the webhook was created.\"),\n}).describe(\"Input model for deleting a PayPal webhook.\");\nconst PaypalDeleteWebhook_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 PaypalDeleteWebhook_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 PaypalDeleteWebhookOutput = z.object({\n name: z.string().describe(\"The human-readable, unique name of the error.\").nullable().optional(),\n links: z.array(PaypalDeleteWebhook_LinkDescriptionSchema).describe(\"An array of request-related HATEOAS links.\").nullable().optional(),\n details: z.array(PaypalDeleteWebhook_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 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(\"Output model for deleting a PayPal webhook.\");\n\nexport const paypalDeleteWebhook = action(\"PAYPAL_DELETE_WEBHOOK\", {\n slug: \"paypal-delete-webhook\",\n name: \"Delete Webhook\",\n description: \"Deletes a PayPal webhook by its ID. Use this action when you need to permanently remove a webhook endpoint that is no longer needed. This action is irreversible — once deleted, the webhook cannot be recovered and will stop receiving event notifications immediately. Note: Deleting a webhook does not affect any events that were already processed by that webhook. Only future events will be affected.\",\n input: PaypalDeleteWebhookInput,\n output: PaypalDeleteWebhookOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2B,EAAE,OAAO,EAC/C,YAAY,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACzI,CAAC,CAAC,CAAC,SAAS,4CAA4C;AACxD,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;AAUrD,MAAa,sBAAsB,OAAO,yBAAyB;CACjE,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAduC,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,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,6CAOhB;AACV,CAAC"}
|
|
@@ -2,21 +2,21 @@ const require_action = require("../action.cjs");
|
|
|
2
2
|
let zod = require("zod");
|
|
3
3
|
//#region src/actions/fetch-node.ts
|
|
4
4
|
const PaypalFetchNodeInput = zod.z.object({ node_id: zod.z.string().describe("The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.") }).describe("Request schema for fetching a Node object from Braintree GraphQL API.\n\nUse this action when you need to fetch any object that extends the GraphQL\nNode interface (e.g., transactions, customers, payment methods, etc.) using\nits global ID. This is useful for retrieving details about specific\nBraintree resources when you have their ID.");
|
|
5
|
-
const PaypalFetchNode_NodeDataSchema = zod.z.object({ id: zod.z.string().describe("The global ID of the node.").nullable().optional() }).describe("A placeholder model for the fetched node. The actual fields depend on the node type.");
|
|
6
|
-
const PaypalFetchNode_NodeResponseSchema = zod.z.object({ node: PaypalFetchNode_NodeDataSchema.nullable().optional() }).describe("Response schema for the node query.");
|
|
5
|
+
const PaypalFetchNode_NodeDataSchema = zod.z.object({ id: zod.z.string().describe("The global ID of the node.").nullable().optional() }).passthrough().describe("A placeholder model for the fetched node. The actual fields depend on the node type.");
|
|
6
|
+
const PaypalFetchNode_NodeResponseSchema = zod.z.object({ node: PaypalFetchNode_NodeDataSchema.nullable().optional() }).passthrough().describe("Response schema for the node query.");
|
|
7
7
|
const PaypalFetchNode_GraphQLErrorLocationSchema = zod.z.object({
|
|
8
8
|
line: zod.z.number().int().describe("The line number in the query where the error occurred.").nullable().optional(),
|
|
9
9
|
column: zod.z.number().int().describe("The column number in the query where the error occurred.").nullable().optional()
|
|
10
|
-
}).describe("A location in the GraphQL query that caused an error.");
|
|
10
|
+
}).passthrough().describe("A location in the GraphQL query that caused an error.");
|
|
11
11
|
const PaypalFetchNode_GraphQLErrorSchema = zod.z.object({
|
|
12
12
|
path: zod.z.array(zod.z.union([zod.z.string(), zod.z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
|
|
13
13
|
message: zod.z.string().describe("A human-readable error message describing the issue.").nullable(),
|
|
14
14
|
locations: zod.z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe("The locations in the query that caused the error.").nullable().optional()
|
|
15
|
-
}).describe("A GraphQL error returned by the API.");
|
|
15
|
+
}).passthrough().describe("A GraphQL error returned by the API.");
|
|
16
16
|
const PaypalFetchNodeOutput = zod.z.object({
|
|
17
17
|
data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),
|
|
18
18
|
errors: zod.z.array(PaypalFetchNode_GraphQLErrorSchema).describe("Any GraphQL errors that occurred during query execution.").nullable().optional()
|
|
19
|
-
}).describe("Root response schema for GraphQL node query.");
|
|
19
|
+
}).passthrough().describe("Root response schema for GraphQL node query.");
|
|
20
20
|
const paypalFetchNode = require_action.action("PAYPAL_FETCH_NODE", {
|
|
21
21
|
slug: "paypal-fetch-node",
|
|
22
22
|
name: "Fetch Braintree Node",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-node.cjs","names":["z","action"],"sources":["../../src/actions/fetch-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFetchNodeInput = z.object({\n node_id: z.string().describe(\"The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.\"),\n}).describe(\"Request schema for fetching a Node object from Braintree GraphQL API.\\n\\nUse this action when you need to fetch any object that extends the GraphQL\\nNode interface (e.g., transactions, customers, payment methods, etc.) using\\nits global ID. This is useful for retrieving details about specific\\nBraintree resources when you have their ID.\");\nconst PaypalFetchNode_NodeDataSchema = z.object({\n id: z.string().describe(\"The global ID of the node.\").nullable().optional(),\n}).describe(\"A placeholder model for the fetched node. The actual fields depend on the node type.\");\nconst PaypalFetchNode_NodeResponseSchema = z.object({\n node: PaypalFetchNode_NodeDataSchema.nullable().optional(),\n}).describe(\"Response schema for the node query.\");\nconst PaypalFetchNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalFetchNode_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).describe(\"A GraphQL error returned by the API.\");\nexport const PaypalFetchNodeOutput = z.object({\n data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),\n errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).describe(\"Root response schema for GraphQL node query.\");\n\nexport const paypalFetchNode = action(\"PAYPAL_FETCH_NODE\", {\n slug: \"paypal-fetch-node\",\n name: \"Fetch Braintree Node\",\n description: \"Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.\",\n input: PaypalFetchNodeInput,\n output: PaypalFetchNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACtI,CAAC,CAAC,CAAC,SAAS,oVAAoV;AAChW,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,sFAAsF;
|
|
1
|
+
{"version":3,"file":"fetch-node.cjs","names":["z","action"],"sources":["../../src/actions/fetch-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFetchNodeInput = z.object({\n node_id: z.string().describe(\"The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.\"),\n}).describe(\"Request schema for fetching a Node object from Braintree GraphQL API.\\n\\nUse this action when you need to fetch any object that extends the GraphQL\\nNode interface (e.g., transactions, customers, payment methods, etc.) using\\nits global ID. This is useful for retrieving details about specific\\nBraintree resources when you have their ID.\");\nconst PaypalFetchNode_NodeDataSchema = z.object({\n id: z.string().describe(\"The global ID of the node.\").nullable().optional(),\n}).passthrough().describe(\"A placeholder model for the fetched node. The actual fields depend on the node type.\");\nconst PaypalFetchNode_NodeResponseSchema = z.object({\n node: PaypalFetchNode_NodeDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for the node query.\");\nconst PaypalFetchNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalFetchNode_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).passthrough().describe(\"A GraphQL error returned by the API.\");\nexport const PaypalFetchNodeOutput = z.object({\n data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),\n errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).passthrough().describe(\"Root response schema for GraphQL node query.\");\n\nexport const paypalFetchNode = action(\"PAYPAL_FETCH_NODE\", {\n slug: \"paypal-fetch-node\",\n name: \"Fetch Braintree Node\",\n description: \"Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.\",\n input: PaypalFetchNodeInput,\n output: PaypalFetchNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuBA,IAAAA,EAAE,OAAO,EAC3C,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACtI,CAAC,CAAC,CAAC,SAAS,oVAAoV;AAChW,MAAM,iCAAiCA,IAAAA,EAAE,OAAO,EAC9C,IAAIA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAChH,MAAM,qCAAqCA,IAAAA,EAAE,OAAO,EAClD,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,6CAA6CA,IAAAA,EAAE,OAAO;CAC1D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,qCAAqCA,IAAAA,EAAE,OAAO;CAClD,MAAMA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,MAAM,CAACA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,WAAWA,IAAAA,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAChE,MAAa,wBAAwBA,IAAAA,EAAE,OAAO;CAC5C,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;CAC7D,QAAQA,IAAAA,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAA8C;AAExE,MAAa,kBAAkBC,eAAAA,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -8,17 +8,17 @@ declare const PaypalFetchNodeOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
node: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
14
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
16
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const paypalFetchNode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
node_id: string;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -8,17 +8,17 @@ declare const PaypalFetchNodeOutput: z.ZodObject<{
|
|
|
8
8
|
data: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9
9
|
node: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
10
10
|
id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
|
-
}, z.core.$
|
|
12
|
-
}, z.core.$
|
|
11
|
+
}, z.core.$loose>>>;
|
|
12
|
+
}, z.core.$loose>>>;
|
|
13
13
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14
14
|
path: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>>;
|
|
15
15
|
message: z.ZodNullable<z.ZodString>;
|
|
16
16
|
locations: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
17
17
|
line: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
18
18
|
column: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
19
|
-
}, z.core.$
|
|
20
|
-
}, z.core.$
|
|
21
|
-
}, z.core.$
|
|
19
|
+
}, z.core.$loose>>>>;
|
|
20
|
+
}, z.core.$loose>>>>;
|
|
21
|
+
}, z.core.$loose>;
|
|
22
22
|
declare const paypalFetchNode: import("@keystrokehq/action").WorkflowActionDefinition<{
|
|
23
23
|
node_id: string;
|
|
24
24
|
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential]>, readonly [import("@keystrokehq/shared").Credential]>;
|
|
@@ -2,17 +2,17 @@ import { action } from "../action.mjs";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/actions/fetch-node.ts
|
|
4
4
|
const PaypalFetchNodeInput = z.object({ node_id: z.string().describe("The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.") }).describe("Request schema for fetching a Node object from Braintree GraphQL API.\n\nUse this action when you need to fetch any object that extends the GraphQL\nNode interface (e.g., transactions, customers, payment methods, etc.) using\nits global ID. This is useful for retrieving details about specific\nBraintree resources when you have their ID.");
|
|
5
|
-
const PaypalFetchNode_NodeDataSchema = z.object({ id: z.string().describe("The global ID of the node.").nullable().optional() }).describe("A placeholder model for the fetched node. The actual fields depend on the node type.");
|
|
6
|
-
const PaypalFetchNode_NodeResponseSchema = z.object({ node: PaypalFetchNode_NodeDataSchema.nullable().optional() }).describe("Response schema for the node query.");
|
|
5
|
+
const PaypalFetchNode_NodeDataSchema = z.object({ id: z.string().describe("The global ID of the node.").nullable().optional() }).passthrough().describe("A placeholder model for the fetched node. The actual fields depend on the node type.");
|
|
6
|
+
const PaypalFetchNode_NodeResponseSchema = z.object({ node: PaypalFetchNode_NodeDataSchema.nullable().optional() }).passthrough().describe("Response schema for the node query.");
|
|
7
7
|
const PaypalFetchNode_GraphQLErrorLocationSchema = z.object({
|
|
8
8
|
line: z.number().int().describe("The line number in the query where the error occurred.").nullable().optional(),
|
|
9
9
|
column: z.number().int().describe("The column number in the query where the error occurred.").nullable().optional()
|
|
10
|
-
}).describe("A location in the GraphQL query that caused an error.");
|
|
10
|
+
}).passthrough().describe("A location in the GraphQL query that caused an error.");
|
|
11
11
|
const PaypalFetchNode_GraphQLErrorSchema = z.object({
|
|
12
12
|
path: z.array(z.union([z.string(), z.number().int()])).describe("The path in the response where the error occurred.").nullable().optional(),
|
|
13
13
|
message: z.string().describe("A human-readable error message describing the issue.").nullable(),
|
|
14
14
|
locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe("The locations in the query that caused the error.").nullable().optional()
|
|
15
|
-
}).describe("A GraphQL error returned by the API.");
|
|
15
|
+
}).passthrough().describe("A GraphQL error returned by the API.");
|
|
16
16
|
const paypalFetchNode = action("PAYPAL_FETCH_NODE", {
|
|
17
17
|
slug: "paypal-fetch-node",
|
|
18
18
|
name: "Fetch Braintree Node",
|
|
@@ -21,7 +21,7 @@ const paypalFetchNode = action("PAYPAL_FETCH_NODE", {
|
|
|
21
21
|
output: z.object({
|
|
22
22
|
data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),
|
|
23
23
|
errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe("Any GraphQL errors that occurred during query execution.").nullable().optional()
|
|
24
|
-
}).describe("Root response schema for GraphQL node query.")
|
|
24
|
+
}).passthrough().describe("Root response schema for GraphQL node query.")
|
|
25
25
|
});
|
|
26
26
|
//#endregion
|
|
27
27
|
export { paypalFetchNode };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetch-node.mjs","names":[],"sources":["../../src/actions/fetch-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFetchNodeInput = z.object({\n node_id: z.string().describe(\"The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.\"),\n}).describe(\"Request schema for fetching a Node object from Braintree GraphQL API.\\n\\nUse this action when you need to fetch any object that extends the GraphQL\\nNode interface (e.g., transactions, customers, payment methods, etc.) using\\nits global ID. This is useful for retrieving details about specific\\nBraintree resources when you have their ID.\");\nconst PaypalFetchNode_NodeDataSchema = z.object({\n id: z.string().describe(\"The global ID of the node.\").nullable().optional(),\n}).describe(\"A placeholder model for the fetched node. The actual fields depend on the node type.\");\nconst PaypalFetchNode_NodeResponseSchema = z.object({\n node: PaypalFetchNode_NodeDataSchema.nullable().optional(),\n}).describe(\"Response schema for the node query.\");\nconst PaypalFetchNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalFetchNode_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).describe(\"A GraphQL error returned by the API.\");\nexport const PaypalFetchNodeOutput = z.object({\n data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),\n errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).describe(\"Root response schema for GraphQL node query.\");\n\nexport const paypalFetchNode = action(\"PAYPAL_FETCH_NODE\", {\n slug: \"paypal-fetch-node\",\n name: \"Fetch Braintree Node\",\n description: \"Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.\",\n input: PaypalFetchNodeInput,\n output: PaypalFetchNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACtI,CAAC,CAAC,CAAC,SAAS,oVAAoV;AAChW,MAAM,iCAAiC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,SAAS,sFAAsF;
|
|
1
|
+
{"version":3,"file":"fetch-node.mjs","names":[],"sources":["../../src/actions/fetch-node.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalFetchNodeInput = z.object({\n node_id: z.string().describe(\"The global ID of the node to fetch. This ID is the base64-encoded ID used by Braintree's GraphQL API.\"),\n}).describe(\"Request schema for fetching a Node object from Braintree GraphQL API.\\n\\nUse this action when you need to fetch any object that extends the GraphQL\\nNode interface (e.g., transactions, customers, payment methods, etc.) using\\nits global ID. This is useful for retrieving details about specific\\nBraintree resources when you have their ID.\");\nconst PaypalFetchNode_NodeDataSchema = z.object({\n id: z.string().describe(\"The global ID of the node.\").nullable().optional(),\n}).passthrough().describe(\"A placeholder model for the fetched node. The actual fields depend on the node type.\");\nconst PaypalFetchNode_NodeResponseSchema = z.object({\n node: PaypalFetchNode_NodeDataSchema.nullable().optional(),\n}).passthrough().describe(\"Response schema for the node query.\");\nconst PaypalFetchNode_GraphQLErrorLocationSchema = z.object({\n line: z.number().int().describe(\"The line number in the query where the error occurred.\").nullable().optional(),\n column: z.number().int().describe(\"The column number in the query where the error occurred.\").nullable().optional(),\n}).passthrough().describe(\"A location in the GraphQL query that caused an error.\");\nconst PaypalFetchNode_GraphQLErrorSchema = z.object({\n path: z.array(z.union([z.string(), z.number().int()])).describe(\"The path in the response where the error occurred.\").nullable().optional(),\n message: z.string().describe(\"A human-readable error message describing the issue.\").nullable(),\n locations: z.array(PaypalFetchNode_GraphQLErrorLocationSchema).describe(\"The locations in the query that caused the error.\").nullable().optional(),\n}).passthrough().describe(\"A GraphQL error returned by the API.\");\nexport const PaypalFetchNodeOutput = z.object({\n data: PaypalFetchNode_NodeResponseSchema.nullable().optional(),\n errors: z.array(PaypalFetchNode_GraphQLErrorSchema).describe(\"Any GraphQL errors that occurred during query execution.\").nullable().optional(),\n}).passthrough().describe(\"Root response schema for GraphQL node query.\");\n\nexport const paypalFetchNode = action(\"PAYPAL_FETCH_NODE\", {\n slug: \"paypal-fetch-node\",\n name: \"Fetch Braintree Node\",\n description: \"Fetches any object that extends the Node interface using its ID. Use this action when you need to retrieve details about a specific Braintree resource (transaction, customer, payment method, etc.) by its global ID. This action performs a GraphQL query against the Braintree API to fetch the node and its associated data. Note: This action uses the Braintree GraphQL API endpoint at /graphql. The node ID should be the base64-encoded global ID from Braintree. Different node types return different fields in the response.\",\n input: PaypalFetchNodeInput,\n output: PaypalFetchNodeOutput,\n});\n"],"mappings":";;;AAIA,MAAa,uBAAuB,EAAE,OAAO,EAC3C,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,uGAAuG,EACtI,CAAC,CAAC,CAAC,SAAS,oVAAoV;AAChW,MAAM,iCAAiC,EAAE,OAAO,EAC9C,IAAI,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS,EAC5E,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sFAAsF;AAChH,MAAM,qCAAqC,EAAE,OAAO,EAClD,MAAM,+BAA+B,SAAS,CAAC,CAAC,SAAS,EAC3D,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,qCAAqC;AAC/D,MAAM,6CAA6C,EAAE,OAAO;CAC1D,MAAM,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,wDAAwD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9G,QAAQ,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACpH,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,uDAAuD;AACjF,MAAM,qCAAqC,EAAE,OAAO;CAClD,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,OAAO,GAAG,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,oDAAoD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC1I,SAAS,EAAE,OAAO,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;CAC9F,WAAW,EAAE,MAAM,0CAA0C,CAAC,CAAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AACnJ,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,sCAAsC;AAMhE,MAAa,kBAAkB,OAAO,qBAAqB;CACzD,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAVmC,EAAE,OAAO;EAC5C,MAAM,mCAAmC,SAAS,CAAC,CAAC,SAAS;EAC7D,QAAQ,EAAE,MAAM,kCAAkC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC/I,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,8CAOhB;AACV,CAAC"}
|