@keystrokehq/paypal 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action.cjs.map +1 -1
- package/dist/action.mjs.map +1 -1
- package/dist/actions/activate-plan.cjs +1 -0
- package/dist/actions/activate-plan.cjs.map +1 -1
- package/dist/actions/activate-plan.d.cts +3 -15
- package/dist/actions/activate-plan.d.cts.map +1 -1
- package/dist/actions/activate-plan.d.mts +3 -15
- package/dist/actions/activate-plan.d.mts.map +1 -1
- package/dist/actions/activate-plan.mjs +1 -0
- package/dist/actions/activate-plan.mjs.map +1 -1
- package/dist/actions/add-batch-trackers.cjs +1 -0
- package/dist/actions/add-batch-trackers.cjs.map +1 -1
- package/dist/actions/add-batch-trackers.d.cts +3 -33
- package/dist/actions/add-batch-trackers.d.cts.map +1 -1
- package/dist/actions/add-batch-trackers.d.mts +3 -33
- package/dist/actions/add-batch-trackers.d.mts.map +1 -1
- package/dist/actions/add-batch-trackers.mjs +1 -0
- package/dist/actions/add-batch-trackers.mjs.map +1 -1
- package/dist/actions/authorize-order.cjs +1 -0
- package/dist/actions/authorize-order.cjs.map +1 -1
- package/dist/actions/authorize-order.d.cts +5 -25
- package/dist/actions/authorize-order.d.cts.map +1 -1
- package/dist/actions/authorize-order.d.mts +5 -25
- package/dist/actions/authorize-order.d.mts.map +1 -1
- package/dist/actions/authorize-order.mjs +1 -0
- package/dist/actions/authorize-order.mjs.map +1 -1
- package/dist/actions/cancel-invoice.cjs +1 -0
- package/dist/actions/cancel-invoice.cjs.map +1 -1
- package/dist/actions/cancel-invoice.d.cts +3 -20
- package/dist/actions/cancel-invoice.d.cts.map +1 -1
- package/dist/actions/cancel-invoice.d.mts +3 -20
- package/dist/actions/cancel-invoice.d.mts.map +1 -1
- package/dist/actions/cancel-invoice.mjs +1 -0
- package/dist/actions/cancel-invoice.mjs.map +1 -1
- package/dist/actions/cancel-reminders.cjs +1 -0
- package/dist/actions/cancel-reminders.cjs.map +1 -1
- package/dist/actions/cancel-reminders.d.cts +3 -15
- package/dist/actions/cancel-reminders.d.cts.map +1 -1
- package/dist/actions/cancel-reminders.d.mts +3 -15
- package/dist/actions/cancel-reminders.d.mts.map +1 -1
- package/dist/actions/cancel-reminders.mjs +1 -0
- package/dist/actions/cancel-reminders.mjs.map +1 -1
- package/dist/actions/capture-subscription-payment.cjs +1 -0
- package/dist/actions/capture-subscription-payment.cjs.map +1 -1
- package/dist/actions/capture-subscription-payment.d.cts +5 -23
- package/dist/actions/capture-subscription-payment.d.cts.map +1 -1
- package/dist/actions/capture-subscription-payment.d.mts +5 -23
- package/dist/actions/capture-subscription-payment.d.mts.map +1 -1
- package/dist/actions/capture-subscription-payment.mjs +1 -0
- package/dist/actions/capture-subscription-payment.mjs.map +1 -1
- package/dist/actions/charge-payment-method.cjs +1 -0
- package/dist/actions/charge-payment-method.cjs.map +1 -1
- package/dist/actions/charge-payment-method.d.cts +3 -55
- package/dist/actions/charge-payment-method.d.cts.map +1 -1
- package/dist/actions/charge-payment-method.d.mts +3 -55
- package/dist/actions/charge-payment-method.d.mts.map +1 -1
- package/dist/actions/charge-payment-method.mjs +1 -0
- package/dist/actions/charge-payment-method.mjs.map +1 -1
- package/dist/actions/create-invoice.cjs +1 -0
- package/dist/actions/create-invoice.cjs.map +1 -1
- package/dist/actions/create-invoice.d.cts +5 -151
- package/dist/actions/create-invoice.d.cts.map +1 -1
- package/dist/actions/create-invoice.d.mts +5 -151
- package/dist/actions/create-invoice.d.mts.map +1 -1
- package/dist/actions/create-invoice.mjs +1 -0
- package/dist/actions/create-invoice.mjs.map +1 -1
- package/dist/actions/create-payment.cjs +1 -0
- package/dist/actions/create-payment.cjs.map +1 -1
- package/dist/actions/create-payment.d.cts +3 -77
- package/dist/actions/create-payment.d.cts.map +1 -1
- package/dist/actions/create-payment.d.mts +3 -77
- package/dist/actions/create-payment.d.mts.map +1 -1
- package/dist/actions/create-payment.mjs +1 -0
- package/dist/actions/create-payment.mjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.cjs +1 -0
- package/dist/actions/create-payments-billing-plans.cjs.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.cts +3 -48
- package/dist/actions/create-payments-billing-plans.d.cts.map +1 -1
- package/dist/actions/create-payments-billing-plans.d.mts +3 -48
- package/dist/actions/create-payments-billing-plans.d.mts.map +1 -1
- package/dist/actions/create-payments-billing-plans.mjs +1 -0
- package/dist/actions/create-payments-billing-plans.mjs.map +1 -1
- package/dist/actions/create-plan.cjs +1 -0
- package/dist/actions/create-plan.cjs.map +1 -1
- package/dist/actions/create-plan.d.cts +3 -49
- package/dist/actions/create-plan.d.cts.map +1 -1
- package/dist/actions/create-plan.d.mts +3 -49
- package/dist/actions/create-plan.d.mts.map +1 -1
- package/dist/actions/create-plan.mjs +1 -0
- package/dist/actions/create-plan.mjs.map +1 -1
- package/dist/actions/create-product.cjs +1 -0
- package/dist/actions/create-product.cjs.map +1 -1
- package/dist/actions/create-product.d.cts +3 -21
- package/dist/actions/create-product.d.cts.map +1 -1
- package/dist/actions/create-product.d.mts +3 -21
- package/dist/actions/create-product.d.mts.map +1 -1
- package/dist/actions/create-product.mjs +1 -0
- package/dist/actions/create-product.mjs.map +1 -1
- package/dist/actions/create-subscription.cjs +1 -0
- package/dist/actions/create-subscription.cjs.map +1 -1
- package/dist/actions/create-subscription.d.cts +3 -88
- package/dist/actions/create-subscription.d.cts.map +1 -1
- package/dist/actions/create-subscription.d.mts +3 -88
- package/dist/actions/create-subscription.d.mts.map +1 -1
- package/dist/actions/create-subscription.mjs +1 -0
- package/dist/actions/create-subscription.mjs.map +1 -1
- package/dist/actions/create-template.cjs +1 -0
- package/dist/actions/create-template.cjs.map +1 -1
- package/dist/actions/create-template.d.cts +3 -119
- package/dist/actions/create-template.d.cts.map +1 -1
- package/dist/actions/create-template.d.mts +3 -119
- package/dist/actions/create-template.d.mts.map +1 -1
- package/dist/actions/create-template.mjs +1 -0
- package/dist/actions/create-template.mjs.map +1 -1
- package/dist/actions/create-web-profile.cjs +1 -0
- package/dist/actions/create-web-profile.cjs.map +1 -1
- package/dist/actions/create-web-profile.d.cts +3 -32
- package/dist/actions/create-web-profile.d.cts.map +1 -1
- package/dist/actions/create-web-profile.d.mts +3 -32
- package/dist/actions/create-web-profile.d.mts.map +1 -1
- package/dist/actions/create-web-profile.mjs +1 -0
- package/dist/actions/create-web-profile.mjs.map +1 -1
- package/dist/actions/create-webhook-lookup.cjs +1 -0
- package/dist/actions/create-webhook-lookup.cjs.map +1 -1
- package/dist/actions/create-webhook-lookup.d.cts +3 -13
- package/dist/actions/create-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/create-webhook-lookup.d.mts +3 -13
- package/dist/actions/create-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/create-webhook-lookup.mjs +1 -0
- package/dist/actions/create-webhook-lookup.mjs.map +1 -1
- package/dist/actions/create-webhook.cjs +1 -0
- package/dist/actions/create-webhook.cjs.map +1 -1
- package/dist/actions/create-webhook.d.cts +3 -21
- package/dist/actions/create-webhook.d.cts.map +1 -1
- package/dist/actions/create-webhook.d.mts +3 -21
- package/dist/actions/create-webhook.d.mts.map +1 -1
- package/dist/actions/create-webhook.mjs +1 -0
- package/dist/actions/create-webhook.mjs.map +1 -1
- package/dist/actions/deactivate-plan.cjs +1 -0
- package/dist/actions/deactivate-plan.cjs.map +1 -1
- package/dist/actions/deactivate-plan.d.cts +3 -15
- package/dist/actions/deactivate-plan.d.cts.map +1 -1
- package/dist/actions/deactivate-plan.d.mts +3 -15
- package/dist/actions/deactivate-plan.d.mts.map +1 -1
- package/dist/actions/deactivate-plan.mjs +1 -0
- package/dist/actions/deactivate-plan.mjs.map +1 -1
- package/dist/actions/delete-external-payment.cjs +1 -0
- package/dist/actions/delete-external-payment.cjs.map +1 -1
- package/dist/actions/delete-external-payment.d.cts +3 -16
- package/dist/actions/delete-external-payment.d.cts.map +1 -1
- package/dist/actions/delete-external-payment.d.mts +3 -16
- package/dist/actions/delete-external-payment.d.mts.map +1 -1
- package/dist/actions/delete-external-payment.mjs +1 -0
- package/dist/actions/delete-external-payment.mjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.cjs +1 -0
- package/dist/actions/delete-invoice-payment-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.cts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.d.mts +3 -16
- package/dist/actions/delete-invoice-payment-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-payment-record.mjs +1 -0
- package/dist/actions/delete-invoice-payment-record.mjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.cjs +1 -0
- package/dist/actions/delete-invoice-refund-record.cjs.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.cts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.cts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.d.mts +3 -16
- package/dist/actions/delete-invoice-refund-record.d.mts.map +1 -1
- package/dist/actions/delete-invoice-refund-record.mjs +1 -0
- package/dist/actions/delete-invoice-refund-record.mjs.map +1 -1
- package/dist/actions/delete-invoice.cjs +1 -0
- package/dist/actions/delete-invoice.cjs.map +1 -1
- package/dist/actions/delete-invoice.d.cts +3 -15
- package/dist/actions/delete-invoice.d.cts.map +1 -1
- package/dist/actions/delete-invoice.d.mts +3 -15
- package/dist/actions/delete-invoice.d.mts.map +1 -1
- package/dist/actions/delete-invoice.mjs +1 -0
- package/dist/actions/delete-invoice.mjs.map +1 -1
- package/dist/actions/delete-payment-resource.cjs +1 -0
- package/dist/actions/delete-payment-resource.cjs.map +1 -1
- package/dist/actions/delete-payment-resource.d.cts +3 -15
- package/dist/actions/delete-payment-resource.d.cts.map +1 -1
- package/dist/actions/delete-payment-resource.d.mts +3 -15
- package/dist/actions/delete-payment-resource.d.mts.map +1 -1
- package/dist/actions/delete-payment-resource.mjs +1 -0
- package/dist/actions/delete-payment-resource.mjs.map +1 -1
- package/dist/actions/delete-template.cjs +1 -0
- package/dist/actions/delete-template.cjs.map +1 -1
- package/dist/actions/delete-template.d.cts +3 -15
- package/dist/actions/delete-template.d.cts.map +1 -1
- package/dist/actions/delete-template.d.mts +3 -15
- package/dist/actions/delete-template.d.mts.map +1 -1
- package/dist/actions/delete-template.mjs +1 -0
- package/dist/actions/delete-template.mjs.map +1 -1
- package/dist/actions/delete-web-profile.cjs +1 -0
- package/dist/actions/delete-web-profile.cjs.map +1 -1
- package/dist/actions/delete-web-profile.d.cts +3 -15
- package/dist/actions/delete-web-profile.d.cts.map +1 -1
- package/dist/actions/delete-web-profile.d.mts +3 -15
- package/dist/actions/delete-web-profile.d.mts.map +1 -1
- package/dist/actions/delete-web-profile.mjs +1 -0
- package/dist/actions/delete-web-profile.mjs.map +1 -1
- package/dist/actions/delete-webhook.cjs +1 -0
- package/dist/actions/delete-webhook.cjs.map +1 -1
- package/dist/actions/delete-webhook.d.cts +3 -15
- package/dist/actions/delete-webhook.d.cts.map +1 -1
- package/dist/actions/delete-webhook.d.mts +3 -15
- package/dist/actions/delete-webhook.d.mts.map +1 -1
- package/dist/actions/delete-webhook.mjs +1 -0
- package/dist/actions/delete-webhook.mjs.map +1 -1
- package/dist/actions/fetch-node.cjs +1 -0
- package/dist/actions/fetch-node.cjs.map +1 -1
- package/dist/actions/fetch-node.d.cts +3 -15
- package/dist/actions/fetch-node.d.cts.map +1 -1
- package/dist/actions/fetch-node.d.mts +3 -15
- package/dist/actions/fetch-node.d.mts.map +1 -1
- package/dist/actions/fetch-node.mjs +1 -0
- package/dist/actions/fetch-node.mjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.cjs.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.cts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts +3 -15
- package/dist/actions/finalize-pay-pal-braintree-dispute.d.mts.map +1 -1
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs +1 -0
- package/dist/actions/finalize-pay-pal-braintree-dispute.mjs.map +1 -1
- package/dist/actions/find-eligible-methods.cjs +1 -0
- package/dist/actions/find-eligible-methods.cjs.map +1 -1
- package/dist/actions/find-eligible-methods.d.cts +3 -49
- package/dist/actions/find-eligible-methods.d.cts.map +1 -1
- package/dist/actions/find-eligible-methods.d.mts +3 -49
- package/dist/actions/find-eligible-methods.d.mts.map +1 -1
- package/dist/actions/find-eligible-methods.mjs +1 -0
- package/dist/actions/find-eligible-methods.mjs.map +1 -1
- package/dist/actions/generate-client-token.cjs +1 -0
- package/dist/actions/generate-client-token.cjs.map +1 -1
- package/dist/actions/generate-client-token.d.cts +3 -13
- package/dist/actions/generate-client-token.d.cts.map +1 -1
- package/dist/actions/generate-client-token.d.mts +3 -13
- package/dist/actions/generate-client-token.d.mts.map +1 -1
- package/dist/actions/generate-client-token.mjs +1 -0
- package/dist/actions/generate-client-token.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.cjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.cts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.d.mts +3 -15
- package/dist/actions/generate-next-invoice-number-v2.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number-v2.mjs +1 -0
- package/dist/actions/generate-next-invoice-number-v2.mjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.cjs +1 -0
- package/dist/actions/generate-next-invoice-number.cjs.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.cts +3 -13
- package/dist/actions/generate-next-invoice-number.d.cts.map +1 -1
- package/dist/actions/generate-next-invoice-number.d.mts +3 -13
- package/dist/actions/generate-next-invoice-number.d.mts.map +1 -1
- package/dist/actions/generate-next-invoice-number.mjs +1 -0
- package/dist/actions/generate-next-invoice-number.mjs.map +1 -1
- package/dist/actions/generate-qr-code.cjs +1 -0
- package/dist/actions/generate-qr-code.cjs.map +1 -1
- package/dist/actions/generate-qr-code.d.cts +3 -18
- package/dist/actions/generate-qr-code.d.cts.map +1 -1
- package/dist/actions/generate-qr-code.d.mts +3 -18
- package/dist/actions/generate-qr-code.d.mts.map +1 -1
- package/dist/actions/generate-qr-code.mjs +1 -0
- package/dist/actions/generate-qr-code.mjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.cjs +1 -0
- package/dist/actions/get-billing-subscriptions.cjs.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.cts +3 -20
- package/dist/actions/get-billing-subscriptions.d.cts.map +1 -1
- package/dist/actions/get-billing-subscriptions.d.mts +3 -20
- package/dist/actions/get-billing-subscriptions.d.mts.map +1 -1
- package/dist/actions/get-billing-subscriptions.mjs +1 -0
- package/dist/actions/get-billing-subscriptions.mjs.map +1 -1
- package/dist/actions/get-invoice.cjs +1 -0
- package/dist/actions/get-invoice.cjs.map +1 -1
- package/dist/actions/get-invoice.d.cts +3 -15
- package/dist/actions/get-invoice.d.cts.map +1 -1
- package/dist/actions/get-invoice.d.mts +3 -15
- package/dist/actions/get-invoice.d.mts.map +1 -1
- package/dist/actions/get-invoice.mjs +1 -0
- package/dist/actions/get-invoice.mjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.cjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.cjs.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.cts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts +3 -18
- package/dist/actions/get-invoicing-invoices-qr-code.d.mts.map +1 -1
- package/dist/actions/get-invoicing-invoices-qr-code.mjs +1 -0
- package/dist/actions/get-invoicing-invoices-qr-code.mjs.map +1 -1
- package/dist/actions/get-invoicing-template.cjs +1 -0
- package/dist/actions/get-invoicing-template.cjs.map +1 -1
- package/dist/actions/get-invoicing-template.d.cts +3 -15
- package/dist/actions/get-invoicing-template.d.cts.map +1 -1
- package/dist/actions/get-invoicing-template.d.mts +3 -15
- package/dist/actions/get-invoicing-template.d.mts.map +1 -1
- package/dist/actions/get-invoicing-template.mjs +1 -0
- package/dist/actions/get-invoicing-template.mjs.map +1 -1
- package/dist/actions/get-order.cjs +1 -0
- package/dist/actions/get-order.cjs.map +1 -1
- package/dist/actions/get-order.d.cts +3 -16
- package/dist/actions/get-order.d.cts.map +1 -1
- package/dist/actions/get-order.d.mts +3 -16
- package/dist/actions/get-order.d.mts.map +1 -1
- package/dist/actions/get-order.mjs +1 -0
- package/dist/actions/get-order.mjs.map +1 -1
- package/dist/actions/get-payment.cjs +1 -0
- package/dist/actions/get-payment.cjs.map +1 -1
- package/dist/actions/get-payment.d.cts +3 -15
- package/dist/actions/get-payment.d.cts.map +1 -1
- package/dist/actions/get-payment.d.mts +3 -15
- package/dist/actions/get-payment.d.mts.map +1 -1
- package/dist/actions/get-payment.mjs +1 -0
- package/dist/actions/get-payment.mjs.map +1 -1
- package/dist/actions/get-payments-refund.cjs +1 -0
- package/dist/actions/get-payments-refund.cjs.map +1 -1
- package/dist/actions/get-payments-refund.d.cts +3 -15
- package/dist/actions/get-payments-refund.d.cts.map +1 -1
- package/dist/actions/get-payments-refund.d.mts +3 -15
- package/dist/actions/get-payments-refund.d.mts.map +1 -1
- package/dist/actions/get-payments-refund.mjs +1 -0
- package/dist/actions/get-payments-refund.mjs.map +1 -1
- package/dist/actions/get-plan.cjs +1 -0
- package/dist/actions/get-plan.cjs.map +1 -1
- package/dist/actions/get-plan.d.cts +3 -15
- package/dist/actions/get-plan.d.cts.map +1 -1
- package/dist/actions/get-plan.d.mts +3 -15
- package/dist/actions/get-plan.d.mts.map +1 -1
- package/dist/actions/get-plan.mjs +1 -0
- package/dist/actions/get-plan.mjs.map +1 -1
- package/dist/actions/get-product.cjs +1 -0
- package/dist/actions/get-product.cjs.map +1 -1
- package/dist/actions/get-product.d.cts +3 -15
- package/dist/actions/get-product.d.cts.map +1 -1
- package/dist/actions/get-product.d.mts +3 -15
- package/dist/actions/get-product.d.mts.map +1 -1
- package/dist/actions/get-product.mjs +1 -0
- package/dist/actions/get-product.mjs.map +1 -1
- package/dist/actions/get-subscription.cjs +1 -0
- package/dist/actions/get-subscription.cjs.map +1 -1
- package/dist/actions/get-subscription.d.cts +3 -16
- package/dist/actions/get-subscription.d.cts.map +1 -1
- package/dist/actions/get-subscription.d.mts +3 -16
- package/dist/actions/get-subscription.d.mts.map +1 -1
- package/dist/actions/get-subscription.mjs +1 -0
- package/dist/actions/get-subscription.mjs.map +1 -1
- package/dist/actions/get-user-info.cjs +1 -0
- package/dist/actions/get-user-info.cjs.map +1 -1
- package/dist/actions/get-user-info.d.cts +3 -15
- package/dist/actions/get-user-info.d.cts.map +1 -1
- package/dist/actions/get-user-info.d.mts +3 -15
- package/dist/actions/get-user-info.d.mts.map +1 -1
- package/dist/actions/get-user-info.mjs +1 -0
- package/dist/actions/get-user-info.mjs.map +1 -1
- package/dist/actions/get-userinfo.cjs +1 -0
- package/dist/actions/get-userinfo.cjs.map +1 -1
- package/dist/actions/get-userinfo.d.cts +3 -15
- package/dist/actions/get-userinfo.d.cts.map +1 -1
- package/dist/actions/get-userinfo.d.mts +3 -15
- package/dist/actions/get-userinfo.d.mts.map +1 -1
- package/dist/actions/get-userinfo.mjs +1 -0
- package/dist/actions/get-userinfo.mjs.map +1 -1
- package/dist/actions/get-web-profile.cjs +1 -0
- package/dist/actions/get-web-profile.cjs.map +1 -1
- package/dist/actions/get-web-profile.d.cts +3 -15
- package/dist/actions/get-web-profile.d.cts.map +1 -1
- package/dist/actions/get-web-profile.d.mts +3 -15
- package/dist/actions/get-web-profile.d.mts.map +1 -1
- package/dist/actions/get-web-profile.mjs +1 -0
- package/dist/actions/get-web-profile.mjs.map +1 -1
- package/dist/actions/get-webhook-lookup.cjs +1 -0
- package/dist/actions/get-webhook-lookup.cjs.map +1 -1
- package/dist/actions/get-webhook-lookup.d.cts +3 -15
- package/dist/actions/get-webhook-lookup.d.cts.map +1 -1
- package/dist/actions/get-webhook-lookup.d.mts +3 -15
- package/dist/actions/get-webhook-lookup.d.mts.map +1 -1
- package/dist/actions/get-webhook-lookup.mjs +1 -0
- package/dist/actions/get-webhook-lookup.mjs.map +1 -1
- package/dist/actions/get-webhook.cjs +1 -0
- package/dist/actions/get-webhook.cjs.map +1 -1
- package/dist/actions/get-webhook.d.cts +3 -15
- package/dist/actions/get-webhook.d.cts.map +1 -1
- package/dist/actions/get-webhook.d.mts +3 -15
- package/dist/actions/get-webhook.d.mts.map +1 -1
- package/dist/actions/get-webhook.mjs +1 -0
- package/dist/actions/get-webhook.mjs.map +1 -1
- package/dist/actions/list-disputes.cjs +1 -0
- package/dist/actions/list-disputes.cjs.map +1 -1
- package/dist/actions/list-disputes.d.cts +3 -21
- package/dist/actions/list-disputes.d.cts.map +1 -1
- package/dist/actions/list-disputes.d.mts +3 -21
- package/dist/actions/list-disputes.d.mts.map +1 -1
- package/dist/actions/list-disputes.mjs +1 -0
- package/dist/actions/list-disputes.mjs.map +1 -1
- package/dist/actions/list-invoices.cjs +1 -0
- package/dist/actions/list-invoices.cjs.map +1 -1
- package/dist/actions/list-invoices.d.cts +3 -18
- package/dist/actions/list-invoices.d.cts.map +1 -1
- package/dist/actions/list-invoices.d.mts +3 -18
- package/dist/actions/list-invoices.d.mts.map +1 -1
- package/dist/actions/list-invoices.mjs +1 -0
- package/dist/actions/list-invoices.mjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.cjs +1 -0
- package/dist/actions/list-legacy-billing-plans.cjs.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.cts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.cts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.d.mts +3 -20
- package/dist/actions/list-legacy-billing-plans.d.mts.map +1 -1
- package/dist/actions/list-legacy-billing-plans.mjs +1 -0
- package/dist/actions/list-legacy-billing-plans.mjs.map +1 -1
- package/dist/actions/list-payments.cjs +1 -0
- package/dist/actions/list-payments.cjs.map +1 -1
- package/dist/actions/list-payments.d.cts +5 -23
- package/dist/actions/list-payments.d.cts.map +1 -1
- package/dist/actions/list-payments.d.mts +5 -23
- package/dist/actions/list-payments.d.mts.map +1 -1
- package/dist/actions/list-payments.mjs +1 -0
- package/dist/actions/list-payments.mjs.map +1 -1
- package/dist/actions/list-plans.cjs +1 -0
- package/dist/actions/list-plans.cjs.map +1 -1
- package/dist/actions/list-plans.d.cts +3 -18
- package/dist/actions/list-plans.d.cts.map +1 -1
- package/dist/actions/list-plans.d.mts +3 -18
- package/dist/actions/list-plans.d.mts.map +1 -1
- package/dist/actions/list-plans.mjs +1 -0
- package/dist/actions/list-plans.mjs.map +1 -1
- package/dist/actions/list-products.cjs +1 -0
- package/dist/actions/list-products.cjs.map +1 -1
- package/dist/actions/list-products.d.cts +3 -17
- package/dist/actions/list-products.d.cts.map +1 -1
- package/dist/actions/list-products.d.mts +3 -17
- package/dist/actions/list-products.d.mts.map +1 -1
- package/dist/actions/list-products.mjs +1 -0
- package/dist/actions/list-products.mjs.map +1 -1
- package/dist/actions/list-templates.cjs +1 -0
- package/dist/actions/list-templates.cjs.map +1 -1
- package/dist/actions/list-templates.d.cts +3 -17
- package/dist/actions/list-templates.d.cts.map +1 -1
- package/dist/actions/list-templates.d.mts +3 -17
- package/dist/actions/list-templates.d.mts.map +1 -1
- package/dist/actions/list-templates.mjs +1 -0
- package/dist/actions/list-templates.mjs.map +1 -1
- package/dist/actions/list-web-profiles.cjs +1 -0
- package/dist/actions/list-web-profiles.cjs.map +1 -1
- package/dist/actions/list-web-profiles.d.cts +3 -17
- package/dist/actions/list-web-profiles.d.cts.map +1 -1
- package/dist/actions/list-web-profiles.d.mts +3 -17
- package/dist/actions/list-web-profiles.d.mts.map +1 -1
- package/dist/actions/list-web-profiles.mjs +1 -0
- package/dist/actions/list-web-profiles.mjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.cjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.cjs.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts +3 -15
- package/dist/actions/list-webhook-event-type-subscriptions.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-type-subscriptions.mjs +1 -0
- package/dist/actions/list-webhook-event-type-subscriptions.mjs.map +1 -1
- package/dist/actions/list-webhook-event-types.cjs +1 -0
- package/dist/actions/list-webhook-event-types.cjs.map +1 -1
- package/dist/actions/list-webhook-event-types.d.cts +3 -13
- package/dist/actions/list-webhook-event-types.d.cts.map +1 -1
- package/dist/actions/list-webhook-event-types.d.mts +3 -13
- package/dist/actions/list-webhook-event-types.d.mts.map +1 -1
- package/dist/actions/list-webhook-event-types.mjs +1 -0
- package/dist/actions/list-webhook-event-types.mjs.map +1 -1
- package/dist/actions/list-webhook-lookups.cjs +1 -0
- package/dist/actions/list-webhook-lookups.cjs.map +1 -1
- package/dist/actions/list-webhook-lookups.d.cts +3 -13
- package/dist/actions/list-webhook-lookups.d.cts.map +1 -1
- package/dist/actions/list-webhook-lookups.d.mts +3 -13
- package/dist/actions/list-webhook-lookups.d.mts.map +1 -1
- package/dist/actions/list-webhook-lookups.mjs +1 -0
- package/dist/actions/list-webhook-lookups.mjs.map +1 -1
- package/dist/actions/list-webhooks.cjs +1 -0
- package/dist/actions/list-webhooks.cjs.map +1 -1
- package/dist/actions/list-webhooks.d.cts +3 -15
- package/dist/actions/list-webhooks.d.cts.map +1 -1
- package/dist/actions/list-webhooks.d.mts +3 -15
- package/dist/actions/list-webhooks.d.mts.map +1 -1
- package/dist/actions/list-webhooks.mjs +1 -0
- package/dist/actions/list-webhooks.mjs.map +1 -1
- package/dist/actions/patch-orders.cjs +1 -0
- package/dist/actions/patch-orders.cjs.map +1 -1
- package/dist/actions/patch-orders.d.cts +3 -22
- package/dist/actions/patch-orders.d.cts.map +1 -1
- package/dist/actions/patch-orders.d.mts +3 -22
- package/dist/actions/patch-orders.d.mts.map +1 -1
- package/dist/actions/patch-orders.mjs +1 -0
- package/dist/actions/patch-orders.mjs.map +1 -1
- package/dist/actions/patch-plan.cjs +1 -0
- package/dist/actions/patch-plan.cjs.map +1 -1
- package/dist/actions/patch-plan.d.cts +3 -22
- package/dist/actions/patch-plan.d.cts.map +1 -1
- package/dist/actions/patch-plan.d.mts +3 -22
- package/dist/actions/patch-plan.d.mts.map +1 -1
- package/dist/actions/patch-plan.mjs +1 -0
- package/dist/actions/patch-plan.mjs.map +1 -1
- package/dist/actions/patch-subscription.cjs +1 -0
- package/dist/actions/patch-subscription.cjs.map +1 -1
- package/dist/actions/patch-subscription.d.cts +3 -22
- package/dist/actions/patch-subscription.d.cts.map +1 -1
- package/dist/actions/patch-subscription.d.mts +3 -22
- package/dist/actions/patch-subscription.d.mts.map +1 -1
- package/dist/actions/patch-subscription.mjs +1 -0
- package/dist/actions/patch-subscription.mjs.map +1 -1
- package/dist/actions/patch-web-profile.cjs +1 -0
- package/dist/actions/patch-web-profile.cjs.map +1 -1
- package/dist/actions/patch-web-profile.d.cts +3 -22
- package/dist/actions/patch-web-profile.d.cts.map +1 -1
- package/dist/actions/patch-web-profile.d.mts +3 -22
- package/dist/actions/patch-web-profile.d.mts.map +1 -1
- package/dist/actions/patch-web-profile.mjs +1 -0
- package/dist/actions/patch-web-profile.mjs.map +1 -1
- package/dist/actions/ping-braintree.cjs +1 -0
- package/dist/actions/ping-braintree.cjs.map +1 -1
- package/dist/actions/ping-braintree.d.cts +3 -13
- package/dist/actions/ping-braintree.d.cts.map +1 -1
- package/dist/actions/ping-braintree.d.mts +3 -13
- package/dist/actions/ping-braintree.d.mts.map +1 -1
- package/dist/actions/ping-braintree.mjs +1 -0
- package/dist/actions/ping-braintree.mjs.map +1 -1
- package/dist/actions/query-braintree-report.cjs +1 -0
- package/dist/actions/query-braintree-report.cjs.map +1 -1
- package/dist/actions/query-braintree-report.d.cts +3 -18
- package/dist/actions/query-braintree-report.d.cts.map +1 -1
- package/dist/actions/query-braintree-report.d.mts +3 -18
- package/dist/actions/query-braintree-report.d.mts.map +1 -1
- package/dist/actions/query-braintree-report.mjs +1 -0
- package/dist/actions/query-braintree-report.mjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.cjs +1 -0
- package/dist/actions/retrieve-payment-resource.cjs.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.cts +3 -15
- package/dist/actions/retrieve-payment-resource.d.cts.map +1 -1
- package/dist/actions/retrieve-payment-resource.d.mts +3 -15
- package/dist/actions/retrieve-payment-resource.d.mts.map +1 -1
- package/dist/actions/retrieve-payment-resource.mjs +1 -0
- package/dist/actions/retrieve-payment-resource.mjs.map +1 -1
- package/dist/actions/search-invoices.cjs +1 -0
- package/dist/actions/search-invoices.cjs.map +1 -1
- package/dist/actions/search-invoices.d.cts +5 -56
- package/dist/actions/search-invoices.d.cts.map +1 -1
- package/dist/actions/search-invoices.d.mts +5 -56
- package/dist/actions/search-invoices.d.mts.map +1 -1
- package/dist/actions/search-invoices.mjs +1 -0
- package/dist/actions/search-invoices.mjs.map +1 -1
- package/dist/actions/send-invoice.cjs +1 -0
- package/dist/actions/send-invoice.cjs.map +1 -1
- package/dist/actions/send-invoice.d.cts +3 -20
- package/dist/actions/send-invoice.d.cts.map +1 -1
- package/dist/actions/send-invoice.d.mts +3 -20
- package/dist/actions/send-invoice.d.mts.map +1 -1
- package/dist/actions/send-invoice.mjs +1 -0
- package/dist/actions/send-invoice.mjs.map +1 -1
- package/dist/actions/simulate-webhook-event.cjs +1 -0
- package/dist/actions/simulate-webhook-event.cjs.map +1 -1
- package/dist/actions/simulate-webhook-event.d.cts +3 -18
- package/dist/actions/simulate-webhook-event.d.cts.map +1 -1
- package/dist/actions/simulate-webhook-event.d.mts +3 -18
- package/dist/actions/simulate-webhook-event.d.mts.map +1 -1
- package/dist/actions/simulate-webhook-event.mjs +1 -0
- package/dist/actions/simulate-webhook-event.mjs.map +1 -1
- package/dist/actions/update-dispute.cjs +1 -0
- package/dist/actions/update-dispute.cjs.map +1 -1
- package/dist/actions/update-dispute.d.cts +3 -22
- package/dist/actions/update-dispute.d.cts.map +1 -1
- package/dist/actions/update-dispute.d.mts +3 -22
- package/dist/actions/update-dispute.d.mts.map +1 -1
- package/dist/actions/update-dispute.mjs +1 -0
- package/dist/actions/update-dispute.mjs.map +1 -1
- package/dist/actions/update-invoice.cjs +1 -0
- package/dist/actions/update-invoice.cjs.map +1 -1
- package/dist/actions/update-invoice.d.cts +5 -183
- package/dist/actions/update-invoice.d.cts.map +1 -1
- package/dist/actions/update-invoice.d.mts +5 -183
- package/dist/actions/update-invoice.d.mts.map +1 -1
- package/dist/actions/update-invoice.mjs +1 -0
- package/dist/actions/update-invoice.mjs.map +1 -1
- package/dist/actions/update-pay-pal-product.cjs +1 -0
- package/dist/actions/update-pay-pal-product.cjs.map +1 -1
- package/dist/actions/update-pay-pal-product.d.cts +3 -22
- package/dist/actions/update-pay-pal-product.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-product.d.mts +3 -22
- package/dist/actions/update-pay-pal-product.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-product.mjs +1 -0
- package/dist/actions/update-pay-pal-product.mjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.cjs +1 -0
- package/dist/actions/update-pay-pal-webhook.cjs.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.cts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.cts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.d.mts +3 -22
- package/dist/actions/update-pay-pal-webhook.d.mts.map +1 -1
- package/dist/actions/update-pay-pal-webhook.mjs +1 -0
- package/dist/actions/update-pay-pal-webhook.mjs.map +1 -1
- package/dist/actions/update-templates.cjs +1 -0
- package/dist/actions/update-templates.cjs.map +1 -1
- package/dist/actions/update-templates.d.cts +3 -225
- package/dist/actions/update-templates.d.cts.map +1 -1
- package/dist/actions/update-templates.d.mts +3 -225
- package/dist/actions/update-templates.d.mts.map +1 -1
- package/dist/actions/update-templates.mjs +1 -0
- package/dist/actions/update-templates.mjs.map +1 -1
- package/dist/actions/update-web-profile.cjs +1 -0
- package/dist/actions/update-web-profile.cjs.map +1 -1
- package/dist/actions/update-web-profile.d.cts +3 -32
- package/dist/actions/update-web-profile.d.cts.map +1 -1
- package/dist/actions/update-web-profile.d.mts +3 -32
- package/dist/actions/update-web-profile.d.mts.map +1 -1
- package/dist/actions/update-web-profile.mjs +1 -0
- package/dist/actions/update-web-profile.mjs.map +1 -1
- package/dist/actions/verify-payment-method.cjs +1 -0
- package/dist/actions/verify-payment-method.cjs.map +1 -1
- package/dist/actions/verify-payment-method.d.cts +3 -18
- package/dist/actions/verify-payment-method.d.cts.map +1 -1
- package/dist/actions/verify-payment-method.d.mts +3 -18
- package/dist/actions/verify-payment-method.d.mts.map +1 -1
- package/dist/actions/verify-payment-method.mjs +1 -0
- package/dist/actions/verify-payment-method.mjs.map +1 -1
- package/dist/actions/verify-webhook-signature.cjs +1 -0
- package/dist/actions/verify-webhook-signature.cjs.map +1 -1
- package/dist/actions/verify-webhook-signature.d.cts +3 -36
- package/dist/actions/verify-webhook-signature.d.cts.map +1 -1
- package/dist/actions/verify-webhook-signature.d.mts +3 -36
- package/dist/actions/verify-webhook-signature.d.mts.map +1 -1
- package/dist/actions/verify-webhook-signature.mjs +1 -0
- package/dist/actions/verify-webhook-signature.mjs.map +1 -1
- package/dist/app.cjs +2 -2
- package/dist/app.cjs.map +1 -1
- package/dist/app.d.cts +4 -6
- package/dist/app.d.cts.map +1 -1
- package/dist/app.d.mts +4 -6
- package/dist/app.d.mts.map +1 -1
- package/dist/app.mjs +0 -1
- package/dist/app.mjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-payment-method.cjs","names":["z","action"],"sources":["../../src/actions/charge-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalChargePaymentMethodInput = z.object({\n input: z.object({\n options: z.record(z.string(), z.unknown()).describe(\"Additional options for the charge operation such as submit for settlement immediately.\").optional(),\n transaction: z.object({\n amount: z.string().describe(\"The amount to charge. Must be a string representation of a decimal monetary value.\"),\n channel: z.string().describe(\"The channel through which the transaction was initiated.\").optional(),\n order_id: z.string().describe(\"The order ID for tracking the transaction.\").optional(),\n line_items: z.array(z.object({\n kind: z.string().describe(\"The kind of line item (e.g., 'debit' for a charge, 'credit' for a refund).\").optional(),\n name: z.string().describe(\"The name of the line item.\").optional(),\n quantity: z.string().describe(\"The quantity of the line item.\").optional(),\n description: z.string().describe(\"A description of the line item.\").optional(),\n unit_amount: z.string().describe(\"The unit amount for this line item.\").optional(),\n total_amount: z.string().describe(\"The total amount for this line item.\").optional(),\n}).passthrough().describe(\"Line item for transaction details.\")).describe(\"Line items for the transaction.\").optional(),\n tax_exempt: z.boolean().describe(\"Whether the transaction is tax exempt.\").optional(),\n device_data: z.string().describe(\"A JSON string containing device information for fraud prevention.\").optional(),\n billing_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n shipping_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the transaction. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"The transaction details including amount and optional configuration.\"),\n payment_method_id: z.string().describe(\"The unique identifier of the payment method to charge.\"),\n}).describe(\"The input containing the payment method ID and transaction details.\"),\n}).describe(\"Request model for charging a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to charge a customer's payment method (credit card,\\nPayPal account, etc.) and immediately capture funds. This creates a new Braintree\\ntransaction and captures funds immediately, beginning the process of transferring\\nmoney from the customer to your merchant account.\\n\\nThis action requires a valid payment method ID obtained from a previous tokenization\\noperation (e.g., client-side tokenization via Braintree client SDK).\");\nexport const PaypalChargePaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The response data containing the transaction result.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for charging a payment method.\\n\\nContains the transaction result or error information.\");\n\nexport const paypalChargePaymentMethod = action(\"PAYPAL_CHARGE_PAYMENT_METHOD\", {\n slug: \"paypal-charge-payment-method\",\n name: \"Charge Payment Method\",\n description: \"Charges a payment method and captures funds immediately using Braintree GraphQL API. Use this action when you need to charge a customer's stored payment method (credit card, PayPal account, Venmo account, etc.) and immediately capture the funds into your merchant account. This creates a Braintree transaction and begins the settlement process. The payment method ID should be obtained from a previous tokenization operation using the Braintree client SDK (e.g., `hostedFields.tokenize()` or PayPal button). Note: This action is irreversible once the transaction is successfully captured.\",\n input: PaypalChargePaymentMethodInput,\n output: PaypalChargePaymentMethodOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"charge-payment-method.cjs","names":["z","action"],"sources":["../../src/actions/charge-payment-method.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalChargePaymentMethodInput = z.object({\n input: z.object({\n options: z.record(z.string(), z.unknown()).describe(\"Additional options for the charge operation such as submit for settlement immediately.\").optional(),\n transaction: z.object({\n amount: z.string().describe(\"The amount to charge. Must be a string representation of a decimal monetary value.\"),\n channel: z.string().describe(\"The channel through which the transaction was initiated.\").optional(),\n order_id: z.string().describe(\"The order ID for tracking the transaction.\").optional(),\n line_items: z.array(z.object({\n kind: z.string().describe(\"The kind of line item (e.g., 'debit' for a charge, 'credit' for a refund).\").optional(),\n name: z.string().describe(\"The name of the line item.\").optional(),\n quantity: z.string().describe(\"The quantity of the line item.\").optional(),\n description: z.string().describe(\"A description of the line item.\").optional(),\n unit_amount: z.string().describe(\"The unit amount for this line item.\").optional(),\n total_amount: z.string().describe(\"The total amount for this line item.\").optional(),\n}).passthrough().describe(\"Line item for transaction details.\")).describe(\"Line items for the transaction.\").optional(),\n tax_exempt: z.boolean().describe(\"Whether the transaction is tax exempt.\").optional(),\n device_data: z.string().describe(\"A JSON string containing device information for fraud prevention.\").optional(),\n billing_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n shipping_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the transaction. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"The transaction details including amount and optional configuration.\"),\n payment_method_id: z.string().describe(\"The unique identifier of the payment method to charge.\"),\n}).describe(\"The input containing the payment method ID and transaction details.\"),\n}).describe(\"Request model for charging a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to charge a customer's payment method (credit card,\\nPayPal account, etc.) and immediately capture funds. This creates a new Braintree\\ntransaction and captures funds immediately, beginning the process of transferring\\nmoney from the customer to your merchant account.\\n\\nThis action requires a valid payment method ID obtained from a previous tokenization\\noperation (e.g., client-side tokenization via Braintree client SDK).\");\nexport const PaypalChargePaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The response data containing the transaction result.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for charging a payment method.\\n\\nContains the transaction result or error information.\");\n\nexport const paypalChargePaymentMethod: AppAction<\n typeof PaypalChargePaymentMethodInput,\n typeof PaypalChargePaymentMethodOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_CHARGE_PAYMENT_METHOD\", {\n slug: \"paypal-charge-payment-method\",\n name: \"Charge Payment Method\",\n description: \"Charges a payment method and captures funds immediately using Braintree GraphQL API. Use this action when you need to charge a customer's stored payment method (credit card, PayPal account, Venmo account, etc.) and immediately capture the funds into your merchant account. This creates a Braintree transaction and begins the settlement process. The payment method ID should be obtained from a previous tokenization operation using the Braintree client SDK (e.g., `hostedFields.tokenize()` or PayPal button). Note: This action is irreversible once the transaction is successfully captured.\",\n input: PaypalChargePaymentMethodInput,\n output: PaypalChargePaymentMethodOutput,\n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,SAAS;GAC3E,gBAAgBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0BAA0B,CAAC,CAAC,SAAS;GACzE,kBAAkBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,4BAA4B,CAAC,CAAC,SAAS;EAC/E,CAAC,CAAC,CAAC,SAAS,0CAA0C,CAAC,CAAC,SAAS;EAC/D,qBAAqBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0GAA0G,CAAC,CAAC,SAAS;CAChK,CAAC,CAAC,CAAC,SAAS,sEAAsE;CAChF,mBAAmBA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;AACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE,EACjF,CAAC,CAAC,CAAC,SAAS,ohBAAohB;AAChiB,MAAa,kCAAkCA,IAAAA,EAAE,OAAO;CACtD,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC7H,QAAQA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAOA,IAAAA,EAAE,OAAO,GAAGA,IAAAA,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAAwG;AAElI,MAAa,4BAITC,eAAAA,OAAO,gCAAgC;CACzC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/charge-payment-method.d.ts
|
|
@@ -47,61 +49,7 @@ declare const PaypalChargePaymentMethodOutput: z.ZodObject<{
|
|
|
47
49
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
50
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
49
51
|
}, z.core.$loose>;
|
|
50
|
-
declare const paypalChargePaymentMethod:
|
|
51
|
-
input: {
|
|
52
|
-
transaction: {
|
|
53
|
-
amount: string;
|
|
54
|
-
channel?: string | undefined;
|
|
55
|
-
order_id?: string | undefined;
|
|
56
|
-
line_items?: {
|
|
57
|
-
[x: string]: unknown;
|
|
58
|
-
kind?: string | undefined;
|
|
59
|
-
name?: string | undefined;
|
|
60
|
-
quantity?: string | undefined;
|
|
61
|
-
description?: string | undefined;
|
|
62
|
-
unit_amount?: string | undefined;
|
|
63
|
-
total_amount?: string | undefined;
|
|
64
|
-
}[] | undefined;
|
|
65
|
-
tax_exempt?: boolean | undefined;
|
|
66
|
-
device_data?: string | undefined;
|
|
67
|
-
billing_address?: {
|
|
68
|
-
region?: string | undefined;
|
|
69
|
-
locality?: string | undefined;
|
|
70
|
-
last_name?: string | undefined;
|
|
71
|
-
first_name?: string | undefined;
|
|
72
|
-
postal_code?: string | undefined;
|
|
73
|
-
country_code?: string | undefined;
|
|
74
|
-
street_address?: string | undefined;
|
|
75
|
-
extended_address?: string | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
shipping_address?: {
|
|
78
|
-
region?: string | undefined;
|
|
79
|
-
locality?: string | undefined;
|
|
80
|
-
last_name?: string | undefined;
|
|
81
|
-
first_name?: string | undefined;
|
|
82
|
-
postal_code?: string | undefined;
|
|
83
|
-
country_code?: string | undefined;
|
|
84
|
-
street_address?: string | undefined;
|
|
85
|
-
extended_address?: string | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
merchant_account_id?: string | undefined;
|
|
88
|
-
};
|
|
89
|
-
payment_method_id: string;
|
|
90
|
-
options?: Record<string, unknown> | undefined;
|
|
91
|
-
};
|
|
92
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
93
|
-
connectionId: z.ZodString;
|
|
94
|
-
entityId: z.ZodString;
|
|
95
|
-
instanceId: z.ZodString;
|
|
96
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
-
accessToken: z.ZodString;
|
|
98
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
99
|
-
connectionId: z.ZodString;
|
|
100
|
-
entityId: z.ZodString;
|
|
101
|
-
instanceId: z.ZodString;
|
|
102
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
-
accessToken: z.ZodString;
|
|
104
|
-
}, z.core.$strip>>]>;
|
|
52
|
+
declare const paypalChargePaymentMethod: AppAction<typeof PaypalChargePaymentMethodInput, typeof PaypalChargePaymentMethodOutput, typeof paypal.credential>;
|
|
105
53
|
//#endregion
|
|
106
54
|
export { paypalChargePaymentMethod };
|
|
107
55
|
//# sourceMappingURL=charge-payment-method.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-payment-method.d.cts","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"charge-payment-method.d.cts","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.mjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/charge-payment-method.d.ts
|
|
@@ -47,61 +49,7 @@ declare const PaypalChargePaymentMethodOutput: z.ZodObject<{
|
|
|
47
49
|
data: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
48
50
|
errors: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
|
|
49
51
|
}, z.core.$loose>;
|
|
50
|
-
declare const paypalChargePaymentMethod:
|
|
51
|
-
input: {
|
|
52
|
-
transaction: {
|
|
53
|
-
amount: string;
|
|
54
|
-
channel?: string | undefined;
|
|
55
|
-
order_id?: string | undefined;
|
|
56
|
-
line_items?: {
|
|
57
|
-
[x: string]: unknown;
|
|
58
|
-
kind?: string | undefined;
|
|
59
|
-
name?: string | undefined;
|
|
60
|
-
quantity?: string | undefined;
|
|
61
|
-
description?: string | undefined;
|
|
62
|
-
unit_amount?: string | undefined;
|
|
63
|
-
total_amount?: string | undefined;
|
|
64
|
-
}[] | undefined;
|
|
65
|
-
tax_exempt?: boolean | undefined;
|
|
66
|
-
device_data?: string | undefined;
|
|
67
|
-
billing_address?: {
|
|
68
|
-
region?: string | undefined;
|
|
69
|
-
locality?: string | undefined;
|
|
70
|
-
last_name?: string | undefined;
|
|
71
|
-
first_name?: string | undefined;
|
|
72
|
-
postal_code?: string | undefined;
|
|
73
|
-
country_code?: string | undefined;
|
|
74
|
-
street_address?: string | undefined;
|
|
75
|
-
extended_address?: string | undefined;
|
|
76
|
-
} | undefined;
|
|
77
|
-
shipping_address?: {
|
|
78
|
-
region?: string | undefined;
|
|
79
|
-
locality?: string | undefined;
|
|
80
|
-
last_name?: string | undefined;
|
|
81
|
-
first_name?: string | undefined;
|
|
82
|
-
postal_code?: string | undefined;
|
|
83
|
-
country_code?: string | undefined;
|
|
84
|
-
street_address?: string | undefined;
|
|
85
|
-
extended_address?: string | undefined;
|
|
86
|
-
} | undefined;
|
|
87
|
-
merchant_account_id?: string | undefined;
|
|
88
|
-
};
|
|
89
|
-
payment_method_id: string;
|
|
90
|
-
options?: Record<string, unknown> | undefined;
|
|
91
|
-
};
|
|
92
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
93
|
-
connectionId: z.ZodString;
|
|
94
|
-
entityId: z.ZodString;
|
|
95
|
-
instanceId: z.ZodString;
|
|
96
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
97
|
-
accessToken: z.ZodString;
|
|
98
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
99
|
-
connectionId: z.ZodString;
|
|
100
|
-
entityId: z.ZodString;
|
|
101
|
-
instanceId: z.ZodString;
|
|
102
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
103
|
-
accessToken: z.ZodString;
|
|
104
|
-
}, z.core.$strip>>]>;
|
|
52
|
+
declare const paypalChargePaymentMethod: AppAction<typeof PaypalChargePaymentMethodInput, typeof PaypalChargePaymentMethodOutput, typeof paypal.credential>;
|
|
105
53
|
//#endregion
|
|
106
54
|
export { paypalChargePaymentMethod };
|
|
107
55
|
//# sourceMappingURL=charge-payment-method.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-payment-method.d.mts","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"charge-payment-method.d.mts","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"mappings":";;;;;cAMa,8BAAA,EAA8B,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA0C9B,+BAAA,EAA+B,CAAA,CAAA,SAAA;;;;cAK/B,yBAAA,EAA2B,SAAA,QAC/B,8BAAA,SACA,+BAAA,SACA,MAAA,CAAO,UAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"charge-payment-method.mjs","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalChargePaymentMethodInput = z.object({\n input: z.object({\n options: z.record(z.string(), z.unknown()).describe(\"Additional options for the charge operation such as submit for settlement immediately.\").optional(),\n transaction: z.object({\n amount: z.string().describe(\"The amount to charge. Must be a string representation of a decimal monetary value.\"),\n channel: z.string().describe(\"The channel through which the transaction was initiated.\").optional(),\n order_id: z.string().describe(\"The order ID for tracking the transaction.\").optional(),\n line_items: z.array(z.object({\n kind: z.string().describe(\"The kind of line item (e.g., 'debit' for a charge, 'credit' for a refund).\").optional(),\n name: z.string().describe(\"The name of the line item.\").optional(),\n quantity: z.string().describe(\"The quantity of the line item.\").optional(),\n description: z.string().describe(\"A description of the line item.\").optional(),\n unit_amount: z.string().describe(\"The unit amount for this line item.\").optional(),\n total_amount: z.string().describe(\"The total amount for this line item.\").optional(),\n}).passthrough().describe(\"Line item for transaction details.\")).describe(\"Line items for the transaction.\").optional(),\n tax_exempt: z.boolean().describe(\"Whether the transaction is tax exempt.\").optional(),\n device_data: z.string().describe(\"A JSON string containing device information for fraud prevention.\").optional(),\n billing_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n shipping_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the transaction. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"The transaction details including amount and optional configuration.\"),\n payment_method_id: z.string().describe(\"The unique identifier of the payment method to charge.\"),\n}).describe(\"The input containing the payment method ID and transaction details.\"),\n}).describe(\"Request model for charging a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to charge a customer's payment method (credit card,\\nPayPal account, etc.) and immediately capture funds. This creates a new Braintree\\ntransaction and captures funds immediately, beginning the process of transferring\\nmoney from the customer to your merchant account.\\n\\nThis action requires a valid payment method ID obtained from a previous tokenization\\noperation (e.g., client-side tokenization via Braintree client SDK).\");\nexport const PaypalChargePaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The response data containing the transaction result.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for charging a payment method.\\n\\nContains the transaction result or error information.\");\n\nexport const paypalChargePaymentMethod = action(\"PAYPAL_CHARGE_PAYMENT_METHOD\", {\n slug: \"paypal-charge-payment-method\",\n name: \"Charge Payment Method\",\n description: \"Charges a payment method and captures funds immediately using Braintree GraphQL API. Use this action when you need to charge a customer's stored payment method (credit card, PayPal account, Venmo account, etc.) and immediately capture the funds into your merchant account. This creates a Braintree transaction and begins the settlement process. The payment method ID should be obtained from a previous tokenization operation using the Braintree client SDK (e.g., `hostedFields.tokenize()` or PayPal button). Note: This action is irreversible once the transaction is successfully captured.\",\n input: PaypalChargePaymentMethodInput,\n output: PaypalChargePaymentMethodOutput,\n});\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"charge-payment-method.mjs","names":[],"sources":["../../src/actions/charge-payment-method.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalChargePaymentMethodInput = z.object({\n input: z.object({\n options: z.record(z.string(), z.unknown()).describe(\"Additional options for the charge operation such as submit for settlement immediately.\").optional(),\n transaction: z.object({\n amount: z.string().describe(\"The amount to charge. Must be a string representation of a decimal monetary value.\"),\n channel: z.string().describe(\"The channel through which the transaction was initiated.\").optional(),\n order_id: z.string().describe(\"The order ID for tracking the transaction.\").optional(),\n line_items: z.array(z.object({\n kind: z.string().describe(\"The kind of line item (e.g., 'debit' for a charge, 'credit' for a refund).\").optional(),\n name: z.string().describe(\"The name of the line item.\").optional(),\n quantity: z.string().describe(\"The quantity of the line item.\").optional(),\n description: z.string().describe(\"A description of the line item.\").optional(),\n unit_amount: z.string().describe(\"The unit amount for this line item.\").optional(),\n total_amount: z.string().describe(\"The total amount for this line item.\").optional(),\n}).passthrough().describe(\"Line item for transaction details.\")).describe(\"Line items for the transaction.\").optional(),\n tax_exempt: z.boolean().describe(\"Whether the transaction is tax exempt.\").optional(),\n device_data: z.string().describe(\"A JSON string containing device information for fraud prevention.\").optional(),\n billing_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n shipping_address: z.object({\n region: z.string().describe(\"The region/state.\").optional(),\n locality: z.string().describe(\"The locality/city.\").optional(),\n last_name: z.string().describe(\"The last name of the addressee.\").optional(),\n first_name: z.string().describe(\"The first name of the addressee.\").optional(),\n postal_code: z.string().describe(\"The postal/ZIP code.\").optional(),\n country_code: z.string().describe(\"The two-letter country code.\").optional(),\n street_address: z.string().describe(\"The street address line.\").optional(),\n extended_address: z.string().describe(\"The extended address line.\").optional(),\n}).describe(\"Input address details for a transaction.\").optional(),\n merchant_account_id: z.string().describe(\"The merchant account ID to use for the transaction. If not specified, uses the default merchant account.\").optional(),\n}).describe(\"The transaction details including amount and optional configuration.\"),\n payment_method_id: z.string().describe(\"The unique identifier of the payment method to charge.\"),\n}).describe(\"The input containing the payment method ID and transaction details.\"),\n}).describe(\"Request model for charging a payment method via Braintree GraphQL API.\\n\\nUse this action when you need to charge a customer's payment method (credit card,\\nPayPal account, etc.) and immediately capture funds. This creates a new Braintree\\ntransaction and captures funds immediately, beginning the process of transferring\\nmoney from the customer to your merchant account.\\n\\nThis action requires a valid payment method ID obtained from a previous tokenization\\noperation (e.g., client-side tokenization via Braintree client SDK).\");\nexport const PaypalChargePaymentMethodOutput = z.object({\n data: z.record(z.string(), z.unknown()).describe(\"The response data containing the transaction result.\").nullable().optional(),\n errors: z.array(z.record(z.string(), z.unknown())).describe(\"GraphQL errors if the mutation failed.\").nullable().optional(),\n}).passthrough().describe(\"Response model for charging a payment method.\\n\\nContains the transaction result or error information.\");\n\nexport const paypalChargePaymentMethod: AppAction<\n typeof PaypalChargePaymentMethodInput,\n typeof PaypalChargePaymentMethodOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_CHARGE_PAYMENT_METHOD\", {\n slug: \"paypal-charge-payment-method\",\n name: \"Charge Payment Method\",\n description: \"Charges a payment method and captures funds immediately using Braintree GraphQL API. Use this action when you need to charge a customer's stored payment method (credit card, PayPal account, Venmo account, etc.) and immediately capture the funds into your merchant account. This creates a Braintree transaction and begins the settlement process. The payment method ID should be obtained from a previous tokenization operation using the Braintree client SDK (e.g., `hostedFields.tokenize()` or PayPal button). Note: This action is irreversible once the transaction is successfully captured.\",\n input: PaypalChargePaymentMethodInput,\n output: PaypalChargePaymentMethodOutput,\n});\n"],"mappings":";;;AAqDA,MAAa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AA0G,CAAC,CAAC,SAAS;EAChK,CAAC,CAAC,CAAC,SAAS,sEAAsE;EAChF,mBAAmB,EAAE,OAAO,CAAC,CAAC,SAAS,wDAAwD;CACjG,CAAC,CAAC,CAAC,SAAS,qEAAqE,EACjF,CAAC,CAAC,CAAC,SAAS,ohBAcH;CACP,QAd6C,EAAE,OAAO;EACtD,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;EAC7H,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,wCAAwC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5H,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,wGAWhB;AACV,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import { z } from \"zod\";\n\nimport { action } from \"../action\";\n\nexport const PaypalCreateInvoiceInput = z.object({\n items: z.array(z.object({\n tax: z.object({\n name: z.string().describe(\"The name of the tax.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The tax percentage as a string.\").optional(),\n}).describe(\"Tax information for an invoice item.\").optional(),\n name: z.string().describe(\"The item name. Must be 1-200 characters.\"),\n discount: z.object({\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The discount percentage as a string.\").optional(),\n}).describe(\"Discount information for an invoice item.\").optional(),\n quantity: z.string().describe(\"The quantity of the item. Must be a positive number.\"),\n item_date: z.string().describe(\"The date when the item was created or provided, in ISO 8601 format.\").optional(),\n description: z.string().describe(\"The item description. Must be 1-2000 characters.\").optional(),\n unit_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The unit amount of the item.\"),\n unit_of_measure: z.string().describe(\"The unit of measure of the item.\").optional(),\n}).passthrough().describe(\"An invoice line item.\")).describe(\"An array of invoice line items. Each item includes name, quantity, and unit amount. Maximum 100 items.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The total amount value.\").optional(),\n breakdown: z.object({\n custom: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n discount: z.object({\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The discount percentage as a string.\").optional(),\n}).describe(\"Discount information for an invoice item.\").optional(),\n shipping: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n tax_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n item_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").optional(),\n}).describe(\"The invoice amount summary including breakdown.\").optional(),\n detail: z.object({\n memo: z.string().describe(\"A memo for the invoice. Must be 1-1000 characters.\").optional(),\n note: z.string().describe(\"A note to the payer. Must be 1-1000 characters.\").optional(),\n metadata: z.object({\n sine: z.string().describe(\"The Sine field.\").optional(),\n qr_code: z.string().describe(\"QR code for the invoice.\").optional(),\n has_shipping: z.boolean().describe(\"Whether the invoice has shipping information.\").optional(),\n integrator_id: z.string().describe(\"The integrator ID.\").optional(),\n tax_invoice_id: z.string().describe(\"The tax invoice ID.\").optional(),\n second_window_id: z.string().describe(\"The second window ID.\").optional(),\n buyer_supplied_tax_id: z.string().describe(\"The buyer supplied tax ID.\").optional(),\n}).describe(\"The metadata for the invoice.\").optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").optional(),\n invoice_date: z.string().describe(\"The date when the invoice was issued, in ISO 8601 format.\").optional(),\n payment_term: z.object({\n due_days: z.number().int().describe(\"The number of days until the invoice is due.\").optional(),\n term_type: z.string().describe(\"The type of payment term.\").optional(),\n}).describe(\"The payment term for the invoice.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\"),\n invoice_number: z.string().describe(\"The invoice number. Must be 1-127 characters.\").optional(),\n terms_and_conditions: z.string().describe(\"The terms of the invoice. Must be 1-1000 characters.\").optional(),\n}).describe(\"The details of the invoice. Includes invoice number, date, currency code, and payment terms. The currency_code field is required.\"),\n invoicer: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national phone number.\").optional(),\n}).passthrough().describe(\"Phone number information.\")).describe(\"The phone numbers of the invoicer.\").optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").optional(),\n}).describe(\"The invoicer business information that appears on the invoice.\").optional(),\n due_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n configuration: z.object({\n allow_tip: z.boolean().describe(\"Whether to allow tips.\").optional(),\n template_id: z.string().describe(\"The template ID.\").optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").optional(),\n partial_payment: z.object({\n minimum_amount_due: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n allow_partial_payment: z.boolean().describe(\"Whether partial payments are allowed.\").optional(),\n}).describe(\"Configuration for partial payments.\").optional(),\n has_conditional_rule: z.boolean().describe(\"Whether there are conditional rules.\").optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Whether tax is calculated after discount.\").optional(),\n}).describe(\"Configuration for the invoice template.\").optional(),\n primary_recipients: z.array(z.object({\n billing_info: z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").optional(),\n}).describe(\"The billing information for the recipient.\").optional(),\n shipping_info: z.object({\n name: z.string().describe(\"The full name of the shipping recipient.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national phone number.\").optional(),\n}).describe(\"Phone number information.\").optional(),\n address: z.object({\n city: z.string().describe(\"The city name.\").optional(),\n state: z.string().describe(\"The state code or name.\").optional(),\n postal_code: z.string().describe(\"The postal code.\").optional(),\n country_code: z.string().describe(\"The two-character country code.\").optional(),\n address_line_1: z.string().describe(\"The primary address line.\").optional(),\n address_line_2: z.string().describe(\"The secondary address line.\").optional(),\n}).describe(\"Address information for shipping.\").optional(),\n business_name: z.string().describe(\"The business name of the shipping recipient.\").optional(),\n email_address: z.string().describe(\"The email address of the shipping recipient.\").optional(),\n}).describe(\"The shipping information for the recipient.\").optional(),\n}).passthrough().describe(\"The billing and shipping information for the recipient.\")).describe(\"The billing and shipping information for the recipients. Includes name, email, address, and phone.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC email addresses to which notifications are sent.\").optional(),\n}).describe(\"Request schema for creating a PayPal draft invoice.\\n\\nUse this action when you need to create a new draft invoice that can be\\ncustomized and sent to recipients. The minimum required field is the\\ndetail object with currency_code.\\n\\nThe created invoice will have status DRAFT until you send it.\");\nconst PaypalCreateInvoice_MoneySchema = z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\").nullable(),\n}).passthrough().describe(\"The currency and amount for a financial transaction.\");\nconst PaypalCreateInvoice_TaxInfoSchema = z.object({\n name: z.string().describe(\"The name of the tax.\").nullable().optional(),\n amount: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n percent: z.string().describe(\"The tax percentage as a string.\").nullable().optional(),\n}).passthrough().describe(\"Tax information for an invoice item.\");\nconst PaypalCreateInvoice_DiscountInfoSchema = z.object({\n amount: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n percent: z.string().describe(\"The discount percentage as a string.\").nullable().optional(),\n}).passthrough().describe(\"Discount information for an invoice item.\");\nconst PaypalCreateInvoice_InvoiceItemSchema = z.object({\n tax: PaypalCreateInvoice_TaxInfoSchema.nullable().optional(),\n name: z.string().describe(\"The item name. Must be 1-200 characters.\").nullable(),\n discount: PaypalCreateInvoice_DiscountInfoSchema.nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item. Must be a positive number.\").nullable(),\n item_date: z.string().describe(\"The date when the item was created or provided, in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The item description. Must be 1-2000 characters.\").nullable().optional(),\n unit_amount: PaypalCreateInvoice_MoneySchema.nullable(),\n unit_of_measure: z.string().describe(\"The unit of measure of the item.\").nullable().optional(),\n}).passthrough().describe(\"An invoice line item.\");\nconst PaypalCreateInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateInvoice_AmountBreakdownSchema = z.object({\n custom: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n discount: PaypalCreateInvoice_DiscountInfoSchema.nullable().optional(),\n shipping: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n tax_total: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n item_total: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\");\nconst PaypalCreateInvoice_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The total amount value.\").nullable().optional(),\n breakdown: PaypalCreateInvoice_AmountBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable().optional(),\n}).passthrough().describe(\"The invoice amount summary including breakdown.\");\nconst PaypalCreateInvoice_InvoiceMetadataSchema = z.object({\n sine: z.string().describe(\"The Sine field.\").nullable().optional(),\n qr_code: z.string().describe(\"QR code for the invoice.\").nullable().optional(),\n has_shipping: z.boolean().describe(\"Whether the invoice has shipping information.\").nullable().optional(),\n integrator_id: z.string().describe(\"The integrator ID.\").nullable().optional(),\n tax_invoice_id: z.string().describe(\"The tax invoice ID.\").nullable().optional(),\n second_window_id: z.string().describe(\"The second window ID.\").nullable().optional(),\n buyer_supplied_tax_id: z.string().describe(\"The buyer supplied tax ID.\").nullable().optional(),\n}).passthrough().describe(\"The metadata for the invoice.\");\nconst PaypalCreateInvoice_PaymentTermSchema = z.object({\n due_days: z.number().int().describe(\"The number of days until the invoice is due.\").nullable().optional(),\n term_type: z.string().describe(\"The type of payment term.\").nullable().optional(),\n}).passthrough().describe(\"The payment term for the invoice.\");\nconst PaypalCreateInvoice_InvoiceDetailSchema = z.object({\n memo: z.string().describe(\"A memo for the invoice. Must be 1-1000 characters.\").nullable().optional(),\n note: z.string().describe(\"A note to the payer. Must be 1-1000 characters.\").nullable().optional(),\n metadata: PaypalCreateInvoice_InvoiceMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").nullable().optional(),\n invoice_date: z.string().describe(\"The date when the invoice was issued, in ISO 8601 format.\").nullable().optional(),\n payment_term: PaypalCreateInvoice_PaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\").nullable(),\n invoice_number: z.string().describe(\"The invoice number. Must be 1-127 characters.\").nullable().optional(),\n terms_and_conditions: z.string().describe(\"The terms of the invoice. Must be 1-1000 characters.\").nullable().optional(),\n}).passthrough().describe(\"The details of the invoice including number, date, payment terms, and metadata.\");\nconst PaypalCreateInvoice_InvoiceStatusSchema = z.enum([\"DRAFT\", \"SENT\", \"SCHEDULED\", \"PAID\", \"MARKED_AS_PAID\", \"CANCELLED\", \"REFUNDED\", \"PARTIALLY_PAID\", \"PARTIALLY_REFUNDED\", \"MARKED_AS_REFUNDED\", \"UNPAID\", \"PAYMENT_PENDING\", \"AUTO_CANCELLED\", \"PAID_EXTERNAL\", \"REFUNDED_EXTERNAL\", \"SHARED\"]).describe(\"The status of the invoice.\");\nconst PaypalCreateInvoice_PhoneSchema = z.object({\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national phone number.\").nullable().optional(),\n}).passthrough().describe(\"Phone number information.\");\nconst PaypalCreateInvoice_InvoicerInfoSchema = z.object({\n phones: z.array(PaypalCreateInvoice_PhoneSchema).describe(\"The phone numbers of the invoicer.\").nullable().optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").nullable().optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").nullable().optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"The invoicer business information that appears on the invoice.\");\nconst PaypalCreateInvoice_PartialPaymentSchema = z.object({\n minimum_amount_due: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n allow_partial_payment: z.boolean().describe(\"Whether partial payments are allowed.\").nullable().optional(),\n}).passthrough().describe(\"Configuration for partial payments.\");\nconst PaypalCreateInvoice_TemplateConfigurationSchema = z.object({\n allow_tip: z.boolean().describe(\"Whether to allow tips.\").nullable().optional(),\n template_id: z.string().describe(\"The template ID.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n partial_payment: PaypalCreateInvoice_PartialPaymentSchema.nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Whether there are conditional rules.\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Whether tax is calculated after discount.\").nullable().optional(),\n}).passthrough().describe(\"Configuration for the invoice template.\");\nconst PaypalCreateInvoice_BillingInfoSchema = z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").nullable().optional(),\n}).passthrough().describe(\"The billing information for the recipient.\");\nconst PaypalCreateInvoice_AddressSchema = z.object({\n city: z.string().describe(\"The city name.\").nullable().optional(),\n state: z.string().describe(\"The state code or name.\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"The primary address line.\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary address line.\").nullable().optional(),\n}).passthrough().describe(\"Address information for shipping.\");\nconst PaypalCreateInvoice_ShippingInfoSchema = z.object({\n name: z.string().describe(\"The full name of the shipping recipient.\").nullable().optional(),\n phone: PaypalCreateInvoice_PhoneSchema.nullable().optional(),\n address: PaypalCreateInvoice_AddressSchema.nullable().optional(),\n business_name: z.string().describe(\"The business name of the shipping recipient.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the shipping recipient.\").nullable().optional(),\n}).passthrough().describe(\"The shipping information for the recipient.\");\nconst PaypalCreateInvoice_RecipientInfoSchema = z.object({\n billing_info: PaypalCreateInvoice_BillingInfoSchema.nullable().optional(),\n shipping_info: PaypalCreateInvoice_ShippingInfoSchema.nullable().optional(),\n}).passthrough().describe(\"The billing and shipping information for the recipient.\");\nexport const PaypalCreateInvoiceOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the invoice.\").nullable().optional(),\n name: z.string().describe(\"Error name if the request failed.\").nullable().optional(),\n items: z.array(PaypalCreateInvoice_InvoiceItemSchema).describe(\"An array of invoice line items.\").nullable().optional(),\n links: z.array(PaypalCreateInvoice_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalCreateInvoice_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalCreateInvoice_InvoiceDetailSchema.nullable().optional(),\n status: PaypalCreateInvoice_InvoiceStatusSchema.nullable().optional(),\n message: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n invoicer: PaypalCreateInvoice_InvoicerInfoSchema.nullable().optional(),\n due_amount: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n configuration: PaypalCreateInvoice_TemplateConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalCreateInvoice_RecipientInfoSchema).describe(\"The billing and shipping information for the recipients.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC email addresses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal invoice.\");\n\nexport const paypalCreateInvoice = action(\"PAYPAL_CREATE_INVOICE\", {\n slug: \"paypal-create-invoice\",\n name: \"Create invoice\",\n description: \"Creates a PayPal draft invoice. Use this action when you need to create a new invoice that can be customized and sent to recipients. The invoice is created in DRAFT status and can be modified before being sent. **Required fields:** - detail.currency_code: The three-character currency code (e.g., \\\"USD\\\") **Optional fields:** - detail.invoice_number: Custom invoice number - detail.invoice_date: Date when invoice was issued - detail.note: Note to the payer - detail.terms_and_conditions: Payment terms - items: List of line items (name, quantity, unit_amount required) - primary_recipients: Billing information for recipients - amount: Invoice amount breakdown The created invoice can be modified, scheduled, or sent using other PayPal invoicing actions.\",\n input: PaypalCreateInvoiceInput,\n output: PaypalCreateInvoiceOutput,\n});\n"],"mappings":";;;AAIA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,KAAKA,IAAAA,EAAE,OAAO;GACd,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAC3D,QAAQA,IAAAA,EAAE,OAAO;IACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;IAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;GAC/G,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA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QAAQ;AACV,CAAC"}
|
|
1
|
+
{"version":3,"file":"create-invoice.cjs","names":["z","action"],"sources":["../../src/actions/create-invoice.ts"],"sourcesContent":["import type { AppAction } from \"@keystrokehq/keystroke/app\";\nimport { z } from \"zod\";\n\nimport { action } from \"../action\";\nimport { paypal } from \"../app\";\n\nexport const PaypalCreateInvoiceInput = z.object({\n items: z.array(z.object({\n tax: z.object({\n name: z.string().describe(\"The name of the tax.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The tax percentage as a string.\").optional(),\n}).describe(\"Tax information for an invoice item.\").optional(),\n name: z.string().describe(\"The item name. Must be 1-200 characters.\"),\n discount: z.object({\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The discount percentage as a string.\").optional(),\n}).describe(\"Discount information for an invoice item.\").optional(),\n quantity: z.string().describe(\"The quantity of the item. Must be a positive number.\"),\n item_date: z.string().describe(\"The date when the item was created or provided, in ISO 8601 format.\").optional(),\n description: z.string().describe(\"The item description. Must be 1-2000 characters.\").optional(),\n unit_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The unit amount of the item.\"),\n unit_of_measure: z.string().describe(\"The unit of measure of the item.\").optional(),\n}).passthrough().describe(\"An invoice line item.\")).describe(\"An array of invoice line items. Each item includes name, quantity, and unit amount. Maximum 100 items.\").optional(),\n amount: z.object({\n value: z.string().describe(\"The total amount value.\").optional(),\n breakdown: z.object({\n custom: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n discount: z.object({\n amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n percent: z.string().describe(\"The discount percentage as a string.\").optional(),\n}).describe(\"Discount information for an invoice item.\").optional(),\n shipping: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n tax_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n item_total: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n}).describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").optional(),\n}).describe(\"The invoice amount summary including breakdown.\").optional(),\n detail: z.object({\n memo: z.string().describe(\"A memo for the invoice. Must be 1-1000 characters.\").optional(),\n note: z.string().describe(\"A note to the payer. Must be 1-1000 characters.\").optional(),\n metadata: z.object({\n sine: z.string().describe(\"The Sine field.\").optional(),\n qr_code: z.string().describe(\"QR code for the invoice.\").optional(),\n has_shipping: z.boolean().describe(\"Whether the invoice has shipping information.\").optional(),\n integrator_id: z.string().describe(\"The integrator ID.\").optional(),\n tax_invoice_id: z.string().describe(\"The tax invoice ID.\").optional(),\n second_window_id: z.string().describe(\"The second window ID.\").optional(),\n buyer_supplied_tax_id: z.string().describe(\"The buyer supplied tax ID.\").optional(),\n}).describe(\"The metadata for the invoice.\").optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").optional(),\n invoice_date: z.string().describe(\"The date when the invoice was issued, in ISO 8601 format.\").optional(),\n payment_term: z.object({\n due_days: z.number().int().describe(\"The number of days until the invoice is due.\").optional(),\n term_type: z.string().describe(\"The type of payment term.\").optional(),\n}).describe(\"The payment term for the invoice.\").optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\"),\n invoice_number: z.string().describe(\"The invoice number. Must be 1-127 characters.\").optional(),\n terms_and_conditions: z.string().describe(\"The terms of the invoice. Must be 1-1000 characters.\").optional(),\n}).describe(\"The details of the invoice. Includes invoice number, date, currency code, and payment terms. The currency_code field is required.\"),\n invoicer: z.object({\n phones: z.array(z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national phone number.\").optional(),\n}).passthrough().describe(\"Phone number information.\")).describe(\"The phone numbers of the invoicer.\").optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").optional(),\n}).describe(\"The invoicer business information that appears on the invoice.\").optional(),\n due_amount: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n configuration: z.object({\n allow_tip: z.boolean().describe(\"Whether to allow tips.\").optional(),\n template_id: z.string().describe(\"The template ID.\").optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").optional(),\n partial_payment: z.object({\n minimum_amount_due: z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\"),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\"),\n}).describe(\"The currency and amount for a financial transaction.\").optional(),\n allow_partial_payment: z.boolean().describe(\"Whether partial payments are allowed.\").optional(),\n}).describe(\"Configuration for partial payments.\").optional(),\n has_conditional_rule: z.boolean().describe(\"Whether there are conditional rules.\").optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Whether tax is calculated after discount.\").optional(),\n}).describe(\"Configuration for the invoice template.\").optional(),\n primary_recipients: z.array(z.object({\n billing_info: z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").optional(),\n}).describe(\"The billing information for the recipient.\").optional(),\n shipping_info: z.object({\n name: z.string().describe(\"The full name of the shipping recipient.\").optional(),\n phone: z.object({\n country_code: z.string().describe(\"The country code.\").optional(),\n national_number: z.string().describe(\"The national phone number.\").optional(),\n}).describe(\"Phone number information.\").optional(),\n address: z.object({\n city: z.string().describe(\"The city name.\").optional(),\n state: z.string().describe(\"The state code or name.\").optional(),\n postal_code: z.string().describe(\"The postal code.\").optional(),\n country_code: z.string().describe(\"The two-character country code.\").optional(),\n address_line_1: z.string().describe(\"The primary address line.\").optional(),\n address_line_2: z.string().describe(\"The secondary address line.\").optional(),\n}).describe(\"Address information for shipping.\").optional(),\n business_name: z.string().describe(\"The business name of the shipping recipient.\").optional(),\n email_address: z.string().describe(\"The email address of the shipping recipient.\").optional(),\n}).describe(\"The shipping information for the recipient.\").optional(),\n}).passthrough().describe(\"The billing and shipping information for the recipient.\")).describe(\"The billing and shipping information for the recipients. Includes name, email, address, and phone.\").optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC email addresses to which notifications are sent.\").optional(),\n}).describe(\"Request schema for creating a PayPal draft invoice.\\n\\nUse this action when you need to create a new draft invoice that can be\\ncustomized and sent to recipients. The minimum required field is the\\ndetail object with currency_code.\\n\\nThe created invoice will have status DRAFT until you send it.\");\nconst PaypalCreateInvoice_MoneySchema = z.object({\n value: z.string().describe(\"The value, which might be an integer for currencies like JPY or a decimal fraction for others.\").nullable(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code that identifies the currency.\").nullable(),\n}).passthrough().describe(\"The currency and amount for a financial transaction.\");\nconst PaypalCreateInvoice_TaxInfoSchema = z.object({\n name: z.string().describe(\"The name of the tax.\").nullable().optional(),\n amount: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n percent: z.string().describe(\"The tax percentage as a string.\").nullable().optional(),\n}).passthrough().describe(\"Tax information for an invoice item.\");\nconst PaypalCreateInvoice_DiscountInfoSchema = z.object({\n amount: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n percent: z.string().describe(\"The discount percentage as a string.\").nullable().optional(),\n}).passthrough().describe(\"Discount information for an invoice item.\");\nconst PaypalCreateInvoice_InvoiceItemSchema = z.object({\n tax: PaypalCreateInvoice_TaxInfoSchema.nullable().optional(),\n name: z.string().describe(\"The item name. Must be 1-200 characters.\").nullable(),\n discount: PaypalCreateInvoice_DiscountInfoSchema.nullable().optional(),\n quantity: z.string().describe(\"The quantity of the item. Must be a positive number.\").nullable(),\n item_date: z.string().describe(\"The date when the item was created or provided, in ISO 8601 format.\").nullable().optional(),\n description: z.string().describe(\"The item description. Must be 1-2000 characters.\").nullable().optional(),\n unit_amount: PaypalCreateInvoice_MoneySchema.nullable(),\n unit_of_measure: z.string().describe(\"The unit of measure of the item.\").nullable().optional(),\n}).passthrough().describe(\"An invoice line item.\");\nconst PaypalCreateInvoice_LinkDescriptionSchema = z.object({\n rel: z.string().describe(\"The link relationship type.\").nullable(),\n href: z.string().describe(\"The complete URL to the related resource.\").nullable(),\n method: z.string().describe(\"The HTTP method required to access the resource.\").nullable().optional(),\n}).passthrough().describe(\"HATEOAS link information.\");\nconst PaypalCreateInvoice_AmountBreakdownSchema = z.object({\n custom: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n discount: PaypalCreateInvoice_DiscountInfoSchema.nullable().optional(),\n shipping: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n tax_total: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n item_total: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n}).passthrough().describe(\"The breakdown of the amount including item total, tax, shipping, and discounts.\");\nconst PaypalCreateInvoice_InvoiceAmountSummarySchema = z.object({\n value: z.string().describe(\"The total amount value.\").nullable().optional(),\n breakdown: PaypalCreateInvoice_AmountBreakdownSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code.\").nullable().optional(),\n}).passthrough().describe(\"The invoice amount summary including breakdown.\");\nconst PaypalCreateInvoice_InvoiceMetadataSchema = z.object({\n sine: z.string().describe(\"The Sine field.\").nullable().optional(),\n qr_code: z.string().describe(\"QR code for the invoice.\").nullable().optional(),\n has_shipping: z.boolean().describe(\"Whether the invoice has shipping information.\").nullable().optional(),\n integrator_id: z.string().describe(\"The integrator ID.\").nullable().optional(),\n tax_invoice_id: z.string().describe(\"The tax invoice ID.\").nullable().optional(),\n second_window_id: z.string().describe(\"The second window ID.\").nullable().optional(),\n buyer_supplied_tax_id: z.string().describe(\"The buyer supplied tax ID.\").nullable().optional(),\n}).passthrough().describe(\"The metadata for the invoice.\");\nconst PaypalCreateInvoice_PaymentTermSchema = z.object({\n due_days: z.number().int().describe(\"The number of days until the invoice is due.\").nullable().optional(),\n term_type: z.string().describe(\"The type of payment term.\").nullable().optional(),\n}).passthrough().describe(\"The payment term for the invoice.\");\nconst PaypalCreateInvoice_InvoiceDetailSchema = z.object({\n memo: z.string().describe(\"A memo for the invoice. Must be 1-1000 characters.\").nullable().optional(),\n note: z.string().describe(\"A note to the payer. Must be 1-1000 characters.\").nullable().optional(),\n metadata: PaypalCreateInvoice_InvoiceMetadataSchema.nullable().optional(),\n reference: z.string().describe(\"A reference to the associated transaction.\").nullable().optional(),\n invoice_date: z.string().describe(\"The date when the invoice was issued, in ISO 8601 format.\").nullable().optional(),\n payment_term: PaypalCreateInvoice_PaymentTermSchema.nullable().optional(),\n currency_code: z.string().describe(\"The three-character ISO-4217 currency code for the invoice.\").nullable(),\n invoice_number: z.string().describe(\"The invoice number. Must be 1-127 characters.\").nullable().optional(),\n terms_and_conditions: z.string().describe(\"The terms of the invoice. Must be 1-1000 characters.\").nullable().optional(),\n}).passthrough().describe(\"The details of the invoice including number, date, payment terms, and metadata.\");\nconst PaypalCreateInvoice_InvoiceStatusSchema = z.enum([\"DRAFT\", \"SENT\", \"SCHEDULED\", \"PAID\", \"MARKED_AS_PAID\", \"CANCELLED\", \"REFUNDED\", \"PARTIALLY_PAID\", \"PARTIALLY_REFUNDED\", \"MARKED_AS_REFUNDED\", \"UNPAID\", \"PAYMENT_PENDING\", \"AUTO_CANCELLED\", \"PAID_EXTERNAL\", \"REFUNDED_EXTERNAL\", \"SHARED\"]).describe(\"The status of the invoice.\");\nconst PaypalCreateInvoice_PhoneSchema = z.object({\n country_code: z.string().describe(\"The country code.\").nullable().optional(),\n national_number: z.string().describe(\"The national phone number.\").nullable().optional(),\n}).passthrough().describe(\"Phone number information.\");\nconst PaypalCreateInvoice_InvoicerInfoSchema = z.object({\n phones: z.array(PaypalCreateInvoice_PhoneSchema).describe(\"The phone numbers of the invoicer.\").nullable().optional(),\n tax_id: z.string().describe(\"The tax ID of the invoicer.\").nullable().optional(),\n website: z.string().describe(\"The website URL of the invoicer.\").nullable().optional(),\n logo_url: z.string().describe(\"The URL to the logo image for the invoicer.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the invoicer.\").nullable().optional(),\n additional_notes: z.string().describe(\"Additional notes for the invoicer.\").nullable().optional(),\n}).passthrough().describe(\"The invoicer business information that appears on the invoice.\");\nconst PaypalCreateInvoice_PartialPaymentSchema = z.object({\n minimum_amount_due: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n allow_partial_payment: z.boolean().describe(\"Whether partial payments are allowed.\").nullable().optional(),\n}).passthrough().describe(\"Configuration for partial payments.\");\nconst PaypalCreateInvoice_TemplateConfigurationSchema = z.object({\n allow_tip: z.boolean().describe(\"Whether to allow tips.\").nullable().optional(),\n template_id: z.string().describe(\"The template ID.\").nullable().optional(),\n tax_inclusive: z.boolean().describe(\"Whether the amount includes tax.\").nullable().optional(),\n partial_payment: PaypalCreateInvoice_PartialPaymentSchema.nullable().optional(),\n has_conditional_rule: z.boolean().describe(\"Whether there are conditional rules.\").nullable().optional(),\n tax_calculated_after_discount: z.boolean().describe(\"Whether tax is calculated after discount.\").nullable().optional(),\n}).passthrough().describe(\"Configuration for the invoice template.\");\nconst PaypalCreateInvoice_BillingInfoSchema = z.object({\n last_name: z.string().describe(\"The last name of the billing contact.\").nullable().optional(),\n first_name: z.string().describe(\"The first name of the billing contact.\").nullable().optional(),\n business_name: z.string().describe(\"The business name of the billing contact.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the billing contact.\").nullable().optional(),\n}).passthrough().describe(\"The billing information for the recipient.\");\nconst PaypalCreateInvoice_AddressSchema = z.object({\n city: z.string().describe(\"The city name.\").nullable().optional(),\n state: z.string().describe(\"The state code or name.\").nullable().optional(),\n postal_code: z.string().describe(\"The postal code.\").nullable().optional(),\n country_code: z.string().describe(\"The two-character country code.\").nullable().optional(),\n address_line_1: z.string().describe(\"The primary address line.\").nullable().optional(),\n address_line_2: z.string().describe(\"The secondary address line.\").nullable().optional(),\n}).passthrough().describe(\"Address information for shipping.\");\nconst PaypalCreateInvoice_ShippingInfoSchema = z.object({\n name: z.string().describe(\"The full name of the shipping recipient.\").nullable().optional(),\n phone: PaypalCreateInvoice_PhoneSchema.nullable().optional(),\n address: PaypalCreateInvoice_AddressSchema.nullable().optional(),\n business_name: z.string().describe(\"The business name of the shipping recipient.\").nullable().optional(),\n email_address: z.string().describe(\"The email address of the shipping recipient.\").nullable().optional(),\n}).passthrough().describe(\"The shipping information for the recipient.\");\nconst PaypalCreateInvoice_RecipientInfoSchema = z.object({\n billing_info: PaypalCreateInvoice_BillingInfoSchema.nullable().optional(),\n shipping_info: PaypalCreateInvoice_ShippingInfoSchema.nullable().optional(),\n}).passthrough().describe(\"The billing and shipping information for the recipient.\");\nexport const PaypalCreateInvoiceOutput = z.object({\n id: z.string().describe(\"The unique PayPal-generated ID for the invoice.\").nullable().optional(),\n name: z.string().describe(\"Error name if the request failed.\").nullable().optional(),\n items: z.array(PaypalCreateInvoice_InvoiceItemSchema).describe(\"An array of invoice line items.\").nullable().optional(),\n links: z.array(PaypalCreateInvoice_LinkDescriptionSchema).describe(\"An array of HATEOAS links related to the invoice.\").nullable().optional(),\n amount: PaypalCreateInvoice_InvoiceAmountSummarySchema.nullable().optional(),\n detail: PaypalCreateInvoice_InvoiceDetailSchema.nullable().optional(),\n status: PaypalCreateInvoice_InvoiceStatusSchema.nullable().optional(),\n message: z.string().describe(\"Error message if the request failed.\").nullable().optional(),\n invoicer: PaypalCreateInvoice_InvoicerInfoSchema.nullable().optional(),\n due_amount: PaypalCreateInvoice_MoneySchema.nullable().optional(),\n configuration: PaypalCreateInvoice_TemplateConfigurationSchema.nullable().optional(),\n primary_recipients: z.array(PaypalCreateInvoice_RecipientInfoSchema).describe(\"The billing and shipping information for the recipients.\").nullable().optional(),\n additional_recipients: z.array(z.string()).describe(\"An array of CC email addresses.\").nullable().optional(),\n}).passthrough().describe(\"Response schema for a created PayPal invoice.\");\n\nexport const paypalCreateInvoice: AppAction<\n typeof PaypalCreateInvoiceInput,\n typeof PaypalCreateInvoiceOutput,\n typeof paypal.credential\n> = action(\"PAYPAL_CREATE_INVOICE\", {\n slug: \"paypal-create-invoice\",\n name: \"Create invoice\",\n description: \"Creates a PayPal draft invoice. Use this action when you need to create a new invoice that can be customized and sent to recipients. The invoice is created in DRAFT status and can be modified before being sent. **Required fields:** - detail.currency_code: The three-character currency code (e.g., \\\"USD\\\") **Optional fields:** - detail.invoice_number: Custom invoice number - detail.invoice_date: Date when invoice was issued - detail.note: Note to the payer - detail.terms_and_conditions: Payment terms - items: List of line items (name, quantity, unit_amount required) - primary_recipients: Billing information for recipients - amount: Invoice amount breakdown The created invoice can be modified, scheduled, or sent using other PayPal invoicing actions.\",\n input: PaypalCreateInvoiceInput,\n output: PaypalCreateInvoiceOutput,\n});\n"],"mappings":";;;;AAMA,MAAa,2BAA2BA,IAAAA,EAAE,OAAO;CAC/C,OAAOA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO;EACxB,KAAKA,IAAAA,EAAE,OAAO;GACd,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sBAAsB,CAAC,CAAC,SAAS;GAC3D,QAAQA,IAAAA,EAAE,OAAO;IACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;IAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;GAC/G,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS;EAC3E,CAAC,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAC3D,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0CAA0C;EACpE,UAAUA,IAAAA,EAAE,OAAO;GACnB,QAAQA,IAAAA,EAAE,OAAO;IACjB,OAAOA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,gGAAgG;IAC3H,eAAeA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,0EAA0E;GAC/G,CAAC,CAAC,CAAC,SAAS,sDAAsD,CAAC,CAAC,SAAS;GAC3E,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS;EAChF,CAAC,CAAC,CAAC,SAAS,2CAA2C,CAAC,CAAC,SAAS;EAChE,UAAUA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AAC,SAAS,mDAAmD,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC5I,QAAQ,+CAA+C,SAAS,CAAC,CAAC,SAAS;CAC3E,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,QAAQ,wCAAwC,SAAS,CAAC,CAAC,SAAS;CACpE,SAASA,IAAAA,EAAE,OAAO,CAAC,CAAC,SAAS,sCAAsC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CACzF,UAAU,uCAAuC,SAAS,CAAC,CAAC,SAAS;CACrE,YAAY,gCAAgC,SAAS,CAAC,CAAC,SAAS;CAChE,eAAe,gDAAgD,SAAS,CAAC,CAAC,SAAS;CACnF,oBAAoBA,IAAAA,EAAE,MAAM,uCAAuC,CAAC,CAAC,SAAS,0DAA0D,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;CAC9J,uBAAuBA,IAAAA,EAAE,MAAMA,IAAAA,EAAE,OAAO,CAAC,CAAC,CAAC,SAAS,iCAAiC,CAAC,CAAC,SAAS,CAAC,CAAC,SAAS;AAC7G,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,SAAS,+CAA+C;AAEzE,MAAa,sBAITC,eAAAA,OAAO,yBAAyB;CAClC,MAAM;CACN,MAAM;CACN,aAAa;CACb,OAAO;CACP,QAAQ;AACV,CAAC"}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { paypal } from "../app.cjs";
|
|
2
|
+
import { AppAction } from "@keystrokehq/keystroke/app";
|
|
1
3
|
import { z } from "zod";
|
|
2
4
|
|
|
3
5
|
//#region src/actions/create-invoice.d.ts
|
|
@@ -222,14 +224,14 @@ declare const PaypalCreateInvoiceOutput: z.ZodObject<{
|
|
|
222
224
|
}, z.core.$loose>>>;
|
|
223
225
|
status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
224
226
|
CANCELLED: "CANCELLED";
|
|
225
|
-
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
226
|
-
REFUNDED: "REFUNDED";
|
|
227
227
|
DRAFT: "DRAFT";
|
|
228
228
|
SENT: "SENT";
|
|
229
229
|
SCHEDULED: "SCHEDULED";
|
|
230
230
|
PAID: "PAID";
|
|
231
231
|
MARKED_AS_PAID: "MARKED_AS_PAID";
|
|
232
|
+
REFUNDED: "REFUNDED";
|
|
232
233
|
PARTIALLY_PAID: "PARTIALLY_PAID";
|
|
234
|
+
PARTIALLY_REFUNDED: "PARTIALLY_REFUNDED";
|
|
233
235
|
MARKED_AS_REFUNDED: "MARKED_AS_REFUNDED";
|
|
234
236
|
UNPAID: "UNPAID";
|
|
235
237
|
PAYMENT_PENDING: "PAYMENT_PENDING";
|
|
@@ -295,155 +297,7 @@ declare const PaypalCreateInvoiceOutput: z.ZodObject<{
|
|
|
295
297
|
}, z.core.$loose>>>>;
|
|
296
298
|
additional_recipients: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
297
299
|
}, z.core.$loose>;
|
|
298
|
-
declare const paypalCreateInvoice:
|
|
299
|
-
detail: {
|
|
300
|
-
currency_code: string;
|
|
301
|
-
memo?: string | undefined;
|
|
302
|
-
note?: string | undefined;
|
|
303
|
-
metadata?: {
|
|
304
|
-
sine?: string | undefined;
|
|
305
|
-
qr_code?: string | undefined;
|
|
306
|
-
has_shipping?: boolean | undefined;
|
|
307
|
-
integrator_id?: string | undefined;
|
|
308
|
-
tax_invoice_id?: string | undefined;
|
|
309
|
-
second_window_id?: string | undefined;
|
|
310
|
-
buyer_supplied_tax_id?: string | undefined;
|
|
311
|
-
} | undefined;
|
|
312
|
-
reference?: string | undefined;
|
|
313
|
-
invoice_date?: string | undefined;
|
|
314
|
-
payment_term?: {
|
|
315
|
-
due_days?: number | undefined;
|
|
316
|
-
term_type?: string | undefined;
|
|
317
|
-
} | undefined;
|
|
318
|
-
invoice_number?: string | undefined;
|
|
319
|
-
terms_and_conditions?: string | undefined;
|
|
320
|
-
};
|
|
321
|
-
items?: {
|
|
322
|
-
[x: string]: unknown;
|
|
323
|
-
name: string;
|
|
324
|
-
quantity: string;
|
|
325
|
-
unit_amount: {
|
|
326
|
-
value: string;
|
|
327
|
-
currency_code: string;
|
|
328
|
-
};
|
|
329
|
-
tax?: {
|
|
330
|
-
name?: string | undefined;
|
|
331
|
-
amount?: {
|
|
332
|
-
value: string;
|
|
333
|
-
currency_code: string;
|
|
334
|
-
} | undefined;
|
|
335
|
-
percent?: string | undefined;
|
|
336
|
-
} | undefined;
|
|
337
|
-
discount?: {
|
|
338
|
-
amount?: {
|
|
339
|
-
value: string;
|
|
340
|
-
currency_code: string;
|
|
341
|
-
} | undefined;
|
|
342
|
-
percent?: string | undefined;
|
|
343
|
-
} | undefined;
|
|
344
|
-
item_date?: string | undefined;
|
|
345
|
-
description?: string | undefined;
|
|
346
|
-
unit_of_measure?: string | undefined;
|
|
347
|
-
}[] | undefined;
|
|
348
|
-
amount?: {
|
|
349
|
-
value?: string | undefined;
|
|
350
|
-
breakdown?: {
|
|
351
|
-
custom?: {
|
|
352
|
-
value: string;
|
|
353
|
-
currency_code: string;
|
|
354
|
-
} | undefined;
|
|
355
|
-
discount?: {
|
|
356
|
-
amount?: {
|
|
357
|
-
value: string;
|
|
358
|
-
currency_code: string;
|
|
359
|
-
} | undefined;
|
|
360
|
-
percent?: string | undefined;
|
|
361
|
-
} | undefined;
|
|
362
|
-
shipping?: {
|
|
363
|
-
value: string;
|
|
364
|
-
currency_code: string;
|
|
365
|
-
} | undefined;
|
|
366
|
-
tax_total?: {
|
|
367
|
-
value: string;
|
|
368
|
-
currency_code: string;
|
|
369
|
-
} | undefined;
|
|
370
|
-
item_total?: {
|
|
371
|
-
value: string;
|
|
372
|
-
currency_code: string;
|
|
373
|
-
} | undefined;
|
|
374
|
-
} | undefined;
|
|
375
|
-
currency_code?: string | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
invoicer?: {
|
|
378
|
-
phones?: {
|
|
379
|
-
[x: string]: unknown;
|
|
380
|
-
country_code?: string | undefined;
|
|
381
|
-
national_number?: string | undefined;
|
|
382
|
-
}[] | undefined;
|
|
383
|
-
tax_id?: string | undefined;
|
|
384
|
-
website?: string | undefined;
|
|
385
|
-
logo_url?: string | undefined;
|
|
386
|
-
email_address?: string | undefined;
|
|
387
|
-
additional_notes?: string | undefined;
|
|
388
|
-
} | undefined;
|
|
389
|
-
due_amount?: {
|
|
390
|
-
value: string;
|
|
391
|
-
currency_code: string;
|
|
392
|
-
} | undefined;
|
|
393
|
-
configuration?: {
|
|
394
|
-
allow_tip?: boolean | undefined;
|
|
395
|
-
template_id?: string | undefined;
|
|
396
|
-
tax_inclusive?: boolean | undefined;
|
|
397
|
-
partial_payment?: {
|
|
398
|
-
minimum_amount_due?: {
|
|
399
|
-
value: string;
|
|
400
|
-
currency_code: string;
|
|
401
|
-
} | undefined;
|
|
402
|
-
allow_partial_payment?: boolean | undefined;
|
|
403
|
-
} | undefined;
|
|
404
|
-
has_conditional_rule?: boolean | undefined;
|
|
405
|
-
tax_calculated_after_discount?: boolean | undefined;
|
|
406
|
-
} | undefined;
|
|
407
|
-
primary_recipients?: {
|
|
408
|
-
[x: string]: unknown;
|
|
409
|
-
billing_info?: {
|
|
410
|
-
last_name?: string | undefined;
|
|
411
|
-
first_name?: string | undefined;
|
|
412
|
-
business_name?: string | undefined;
|
|
413
|
-
email_address?: string | undefined;
|
|
414
|
-
} | undefined;
|
|
415
|
-
shipping_info?: {
|
|
416
|
-
name?: string | undefined;
|
|
417
|
-
phone?: {
|
|
418
|
-
country_code?: string | undefined;
|
|
419
|
-
national_number?: string | undefined;
|
|
420
|
-
} | undefined;
|
|
421
|
-
address?: {
|
|
422
|
-
city?: string | undefined;
|
|
423
|
-
state?: string | undefined;
|
|
424
|
-
postal_code?: string | undefined;
|
|
425
|
-
country_code?: string | undefined;
|
|
426
|
-
address_line_1?: string | undefined;
|
|
427
|
-
address_line_2?: string | undefined;
|
|
428
|
-
} | undefined;
|
|
429
|
-
business_name?: string | undefined;
|
|
430
|
-
email_address?: string | undefined;
|
|
431
|
-
} | undefined;
|
|
432
|
-
}[] | undefined;
|
|
433
|
-
additional_recipients?: string[] | undefined;
|
|
434
|
-
}, unknown, import("@keystrokehq/shared").ResolvedCredentials<readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
435
|
-
connectionId: z.ZodString;
|
|
436
|
-
entityId: z.ZodString;
|
|
437
|
-
instanceId: z.ZodString;
|
|
438
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
439
|
-
accessToken: z.ZodString;
|
|
440
|
-
}, z.core.$strip>>]>, readonly [import("@keystrokehq/shared").Credential<"paypal", z.ZodObject<{
|
|
441
|
-
connectionId: z.ZodString;
|
|
442
|
-
entityId: z.ZodString;
|
|
443
|
-
instanceId: z.ZodString;
|
|
444
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
445
|
-
accessToken: z.ZodString;
|
|
446
|
-
}, z.core.$strip>>]>;
|
|
300
|
+
declare const paypalCreateInvoice: AppAction<typeof PaypalCreateInvoiceInput, typeof PaypalCreateInvoiceOutput, typeof paypal.credential>;
|
|
447
301
|
//#endregion
|
|
448
302
|
export { paypalCreateInvoice };
|
|
449
303
|
//# sourceMappingURL=create-invoice.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-invoice.d.cts","names":[],"sources":["../../src/actions/create-invoice.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"create-invoice.d.cts","names":[],"sources":["../../src/actions/create-invoice.ts"],"mappings":";;;;;cAMa,wBAAA,EAAwB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwPxB,yBAAA,EAAyB,CAAA,CAAA,SAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgBzB,mBAAA,EAAqB,SAAA,QACzB,wBAAA,SACA,yBAAA,SACA,MAAA,CAAO,UAAA"}
|