connect-sdk-nodejs 4.19.0 → 5.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/lib/client.d.ts +3 -0
- package/lib/client.js +12 -0
- package/lib/client.js.map +1 -0
- package/lib/index.d.ts +17 -3
- package/lib/index.js +24 -90
- package/lib/index.js.map +1 -1
- package/lib/model/client.d.ts +6 -0
- package/lib/model/client.js +3 -0
- package/lib/model/client.js.map +1 -0
- package/lib/model/{tokens → domain}/index.js.map +1 -1
- package/lib/model/index.d.ts +1 -40
- package/lib/model/index.js +6 -1
- package/lib/model/index.js.map +1 -1
- package/lib/model/types.d.ts +53 -40
- package/lib/model/types.js +12 -0
- package/lib/model/types.js.map +1 -1
- package/lib/model/webhooks/index.d.ts +4 -8
- package/lib/model/webhooks/index.js +5 -1
- package/lib/model/webhooks/index.js.map +1 -1
- package/lib/model/webhooks/types.d.ts +3 -6
- package/lib/model/webhooks/types.js.map +1 -1
- package/lib/utils/authentication.d.ts +8 -0
- package/lib/utils/authentication.js +42 -0
- package/lib/utils/authentication.js.map +1 -0
- package/lib/utils/communicator.d.ts +3 -3
- package/lib/utils/communicator.js +149 -102
- package/lib/utils/communicator.js.map +1 -1
- package/lib/utils/connection.d.ts +5 -2
- package/lib/utils/connection.js +14 -9
- package/lib/utils/connection.js.map +1 -1
- package/lib/utils/context.d.ts +2 -3
- package/lib/utils/context.js +51 -89
- package/lib/utils/context.js.map +1 -1
- package/lib/utils/headers.js +4 -6
- package/lib/utils/headers.js.map +1 -1
- package/lib/utils/obfuscate.d.ts +1 -1
- package/lib/utils/obfuscate.js +3 -9
- package/lib/utils/obfuscate.js.map +1 -1
- package/lib/v1/captures/get.d.ts +3 -0
- package/lib/v1/captures/get.js +20 -0
- package/lib/v1/captures/get.js.map +1 -0
- package/lib/v1/captures/index.d.ts +3 -0
- package/lib/v1/captures/index.js +17 -0
- package/lib/v1/captures/index.js.map +1 -0
- package/lib/v1/captures/refund.d.ts +3 -0
- package/lib/v1/captures/refund.js +32 -0
- package/lib/v1/captures/refund.js.map +1 -0
- package/lib/v1/disputes/cancel.d.ts +3 -0
- package/lib/v1/disputes/cancel.js +20 -0
- package/lib/v1/disputes/cancel.js.map +1 -0
- package/lib/v1/disputes/get.d.ts +3 -0
- package/lib/v1/disputes/get.js +20 -0
- package/lib/v1/disputes/get.js.map +1 -0
- package/lib/v1/disputes/index.d.ts +3 -0
- package/lib/v1/disputes/index.js +21 -0
- package/lib/v1/disputes/index.js.map +1 -0
- package/lib/v1/disputes/submit.d.ts +3 -0
- package/lib/v1/disputes/submit.js +20 -0
- package/lib/v1/disputes/submit.js.map +1 -0
- package/lib/v1/disputes/uploadFile.d.ts +4 -0
- package/lib/v1/disputes/uploadFile.js +20 -0
- package/lib/v1/disputes/uploadFile.js.map +1 -0
- package/lib/v1/files/getFile.d.ts +3 -0
- package/lib/v1/files/getFile.js +21 -0
- package/lib/v1/files/getFile.js.map +1 -0
- package/lib/v1/files/index.d.ts +3 -0
- package/lib/v1/files/index.js +15 -0
- package/lib/v1/files/index.js.map +1 -0
- package/lib/v1/hostedcheckouts/create.d.ts +3 -0
- package/lib/v1/hostedcheckouts/create.js +32 -0
- package/lib/v1/hostedcheckouts/create.js.map +1 -0
- package/lib/v1/hostedcheckouts/get.d.ts +3 -0
- package/lib/v1/hostedcheckouts/get.js +20 -0
- package/lib/v1/hostedcheckouts/get.js.map +1 -0
- package/lib/v1/hostedcheckouts/index.d.ts +3 -0
- package/lib/v1/hostedcheckouts/index.js +19 -0
- package/lib/v1/hostedcheckouts/index.js.map +1 -0
- package/lib/v1/hostedcheckouts/remove.d.ts +3 -0
- package/lib/v1/hostedcheckouts/remove.js +20 -0
- package/lib/v1/hostedcheckouts/remove.js.map +1 -0
- package/lib/v1/hostedmandatemanagements/create.d.ts +3 -0
- package/lib/v1/hostedmandatemanagements/create.js +32 -0
- package/lib/v1/hostedmandatemanagements/create.js.map +1 -0
- package/lib/v1/hostedmandatemanagements/get.d.ts +3 -0
- package/lib/v1/hostedmandatemanagements/get.js +20 -0
- package/lib/v1/hostedmandatemanagements/get.js.map +1 -0
- package/lib/v1/hostedmandatemanagements/index.d.ts +3 -0
- package/lib/v1/hostedmandatemanagements/index.js +17 -0
- package/lib/v1/hostedmandatemanagements/index.js.map +1 -0
- package/lib/v1/index.d.ts +3 -0
- package/lib/v1/index.js +41 -0
- package/lib/v1/index.js.map +1 -0
- package/lib/v1/installments/getInstallmentsInfo.d.ts +3 -0
- package/lib/v1/installments/getInstallmentsInfo.js +32 -0
- package/lib/v1/installments/getInstallmentsInfo.js.map +1 -0
- package/lib/v1/installments/index.d.ts +3 -0
- package/lib/v1/installments/index.js +15 -0
- package/lib/v1/installments/index.js.map +1 -0
- package/lib/v1/mandates/block.d.ts +3 -0
- package/lib/v1/mandates/block.js +20 -0
- package/lib/v1/mandates/block.js.map +1 -0
- package/lib/v1/mandates/create.d.ts +3 -0
- package/lib/v1/mandates/create.js +32 -0
- package/lib/v1/mandates/create.js.map +1 -0
- package/lib/v1/mandates/createWithMandateReference.d.ts +3 -0
- package/lib/v1/mandates/createWithMandateReference.js +32 -0
- package/lib/v1/mandates/createWithMandateReference.js.map +1 -0
- package/lib/v1/mandates/get.d.ts +3 -0
- package/lib/v1/mandates/get.js +20 -0
- package/lib/v1/mandates/get.js.map +1 -0
- package/lib/v1/mandates/index.d.ts +3 -0
- package/lib/v1/mandates/index.js +25 -0
- package/lib/v1/mandates/index.js.map +1 -0
- package/lib/v1/mandates/revoke.d.ts +3 -0
- package/lib/v1/mandates/revoke.js +20 -0
- package/lib/v1/mandates/revoke.js.map +1 -0
- package/lib/v1/mandates/unblock.d.ts +3 -0
- package/lib/v1/mandates/unblock.js +20 -0
- package/lib/v1/mandates/unblock.js.map +1 -0
- package/lib/v1/model/captures/index.d.ts +12 -0
- package/lib/v1/model/captures/index.js.map +1 -0
- package/lib/v1/model/disputes/index.d.ts +23 -0
- package/lib/v1/model/disputes/index.js.map +1 -0
- package/lib/v1/model/domain/index.d.ts +2242 -0
- package/lib/{model/domain/errors/definitions → v1/model/domain}/index.js +1 -1
- package/lib/v1/model/domain/index.js.map +1 -0
- package/lib/v1/model/files/index.d.ts +8 -0
- package/lib/{model/disputes → v1/model/files}/index.js.map +1 -1
- package/lib/v1/model/hostedcheckouts/index.d.ts +16 -0
- package/lib/v1/model/hostedcheckouts/index.js.map +1 -0
- package/lib/v1/model/hostedmandatemanagements/index.d.ts +12 -0
- package/lib/v1/model/hostedmandatemanagements/index.js.map +1 -0
- package/lib/v1/model/index.d.ts +34 -0
- package/lib/{model/files → v1/model}/index.js.map +1 -1
- package/lib/v1/model/installments/index.d.ts +8 -0
- package/lib/v1/model/installments/index.js.map +1 -0
- package/lib/v1/model/mandates/index.d.ts +28 -0
- package/lib/v1/model/mandates/index.js.map +1 -0
- package/lib/v1/model/payments/index.d.ts +79 -0
- package/lib/v1/model/payments/index.js.map +1 -0
- package/lib/v1/model/payouts/index.d.ts +34 -0
- package/lib/{model/captures → v1/model/payouts}/index.js.map +1 -1
- package/lib/v1/model/productgroups/index.d.ts +34 -0
- package/lib/v1/model/productgroups/index.js.map +1 -0
- package/lib/v1/model/products/index.d.ts +61 -0
- package/lib/v1/model/products/index.js.map +1 -0
- package/lib/v1/model/refunds/index.d.ts +31 -0
- package/lib/v1/model/refunds/index.js.map +1 -0
- package/lib/v1/model/riskassessments/index.d.ts +12 -0
- package/lib/v1/model/riskassessments/index.js.map +1 -0
- package/lib/v1/model/services/index.d.ts +33 -0
- package/lib/v1/model/services/index.js.map +1 -0
- package/lib/v1/model/sessions/index.d.ts +8 -0
- package/lib/v1/model/sessions/index.js.map +1 -0
- package/lib/v1/model/tokens/index.d.ts +27 -0
- package/lib/{model/installments → v1/model/tokens}/index.js.map +1 -1
- package/lib/v1/model/webhooks/index.d.ts +9 -0
- package/lib/v1/model/webhooks/index.js.map +1 -0
- package/lib/v1/payments/approve.d.ts +3 -0
- package/lib/v1/payments/approve.js +32 -0
- package/lib/v1/payments/approve.js.map +1 -0
- package/lib/v1/payments/cancel.d.ts +3 -0
- package/lib/v1/payments/cancel.js +20 -0
- package/lib/v1/payments/cancel.js.map +1 -0
- package/lib/v1/payments/cancelapproval.d.ts +3 -0
- package/lib/v1/payments/cancelapproval.js +20 -0
- package/lib/v1/payments/cancelapproval.js.map +1 -0
- package/lib/v1/payments/capture.d.ts +3 -0
- package/lib/v1/payments/capture.js +32 -0
- package/lib/v1/payments/capture.js.map +1 -0
- package/lib/v1/payments/captures.d.ts +3 -0
- package/lib/v1/payments/captures.js +20 -0
- package/lib/v1/payments/captures.js.map +1 -0
- package/lib/v1/payments/complete.d.ts +3 -0
- package/lib/v1/payments/complete.js +32 -0
- package/lib/v1/payments/complete.js.map +1 -0
- package/lib/v1/payments/create.d.ts +3 -0
- package/lib/v1/payments/create.js +32 -0
- package/lib/v1/payments/create.js.map +1 -0
- package/lib/v1/payments/devicefingerprint.d.ts +3 -0
- package/lib/v1/payments/devicefingerprint.js +20 -0
- package/lib/v1/payments/devicefingerprint.js.map +1 -0
- package/lib/v1/payments/dispute.d.ts +3 -0
- package/lib/v1/payments/dispute.js +32 -0
- package/lib/v1/payments/dispute.js.map +1 -0
- package/lib/v1/payments/disputes.d.ts +3 -0
- package/lib/v1/payments/disputes.js +20 -0
- package/lib/v1/payments/disputes.js.map +1 -0
- package/lib/v1/payments/find.d.ts +4 -0
- package/lib/v1/payments/find.js +20 -0
- package/lib/v1/payments/find.js.map +1 -0
- package/lib/v1/payments/get.d.ts +3 -0
- package/lib/v1/payments/get.js +20 -0
- package/lib/v1/payments/get.js.map +1 -0
- package/lib/v1/payments/index.d.ts +3 -0
- package/lib/v1/payments/index.js +47 -0
- package/lib/v1/payments/index.js.map +1 -0
- package/lib/v1/payments/processchallenged.d.ts +3 -0
- package/lib/v1/payments/processchallenged.js +20 -0
- package/lib/v1/payments/processchallenged.js.map +1 -0
- package/lib/v1/payments/refund.d.ts +3 -0
- package/lib/v1/payments/refund.js +32 -0
- package/lib/v1/payments/refund.js.map +1 -0
- package/lib/v1/payments/refunds.d.ts +3 -0
- package/lib/v1/payments/refunds.js +20 -0
- package/lib/v1/payments/refunds.js.map +1 -0
- package/lib/v1/payments/thirdPartyStatus.d.ts +3 -0
- package/lib/v1/payments/thirdPartyStatus.js +20 -0
- package/lib/v1/payments/thirdPartyStatus.js.map +1 -0
- package/lib/v1/payments/tokenize.d.ts +3 -0
- package/lib/v1/payments/tokenize.js +32 -0
- package/lib/v1/payments/tokenize.js.map +1 -0
- package/lib/v1/payouts/approve.d.ts +3 -0
- package/lib/v1/payouts/approve.js +32 -0
- package/lib/v1/payouts/approve.js.map +1 -0
- package/lib/v1/payouts/cancel.d.ts +3 -0
- package/lib/v1/payouts/cancel.js +20 -0
- package/lib/v1/payouts/cancel.js.map +1 -0
- package/lib/v1/payouts/cancelapproval.d.ts +3 -0
- package/lib/v1/payouts/cancelapproval.js +20 -0
- package/lib/v1/payouts/cancelapproval.js.map +1 -0
- package/lib/v1/payouts/create.d.ts +3 -0
- package/lib/v1/payouts/create.js +32 -0
- package/lib/v1/payouts/create.js.map +1 -0
- package/lib/v1/payouts/find.d.ts +4 -0
- package/lib/v1/payouts/find.js +20 -0
- package/lib/v1/payouts/find.js.map +1 -0
- package/lib/v1/payouts/get.d.ts +3 -0
- package/lib/v1/payouts/get.js +20 -0
- package/lib/v1/payouts/get.js.map +1 -0
- package/lib/v1/payouts/index.d.ts +3 -0
- package/lib/v1/payouts/index.js +25 -0
- package/lib/v1/payouts/index.js.map +1 -0
- package/lib/v1/productgroups/deviceFingerprint.d.ts +3 -0
- package/lib/v1/productgroups/deviceFingerprint.js +32 -0
- package/lib/v1/productgroups/deviceFingerprint.js.map +1 -0
- package/lib/v1/productgroups/find.d.ts +4 -0
- package/lib/v1/productgroups/find.js +20 -0
- package/lib/v1/productgroups/find.js.map +1 -0
- package/lib/v1/productgroups/get.d.ts +4 -0
- package/lib/v1/productgroups/get.js +20 -0
- package/lib/v1/productgroups/get.js.map +1 -0
- package/lib/v1/productgroups/index.d.ts +3 -0
- package/lib/v1/productgroups/index.js +19 -0
- package/lib/v1/productgroups/index.js.map +1 -0
- package/lib/v1/products/customerDetails.d.ts +3 -0
- package/lib/v1/products/customerDetails.js +32 -0
- package/lib/v1/products/customerDetails.js.map +1 -0
- package/lib/v1/products/deviceFingerprint.d.ts +3 -0
- package/lib/v1/products/deviceFingerprint.js +32 -0
- package/lib/v1/products/deviceFingerprint.js.map +1 -0
- package/lib/v1/products/directory.d.ts +4 -0
- package/lib/v1/products/directory.js +20 -0
- package/lib/v1/products/directory.js.map +1 -0
- package/lib/v1/products/find.d.ts +4 -0
- package/lib/v1/products/find.js +20 -0
- package/lib/v1/products/find.js.map +1 -0
- package/lib/v1/products/get.d.ts +4 -0
- package/lib/v1/products/get.js +20 -0
- package/lib/v1/products/get.js.map +1 -0
- package/lib/v1/products/index.d.ts +3 -0
- package/lib/v1/products/index.js +27 -0
- package/lib/v1/products/index.js.map +1 -0
- package/lib/v1/products/networks.d.ts +4 -0
- package/lib/v1/products/networks.js +20 -0
- package/lib/v1/products/networks.js.map +1 -0
- package/lib/v1/products/sessions.d.ts +3 -0
- package/lib/v1/products/sessions.js +32 -0
- package/lib/v1/products/sessions.js.map +1 -0
- package/lib/v1/refunds/approve.d.ts +3 -0
- package/lib/v1/refunds/approve.js +32 -0
- package/lib/v1/refunds/approve.js.map +1 -0
- package/lib/v1/refunds/cancel.d.ts +3 -0
- package/lib/v1/refunds/cancel.js +20 -0
- package/lib/v1/refunds/cancel.js.map +1 -0
- package/lib/v1/refunds/cancelapproval.d.ts +3 -0
- package/lib/v1/refunds/cancelapproval.js +20 -0
- package/lib/v1/refunds/cancelapproval.js.map +1 -0
- package/lib/v1/refunds/find.d.ts +4 -0
- package/lib/v1/refunds/find.js +20 -0
- package/lib/v1/refunds/find.js.map +1 -0
- package/lib/v1/refunds/get.d.ts +3 -0
- package/lib/v1/refunds/get.js +20 -0
- package/lib/v1/refunds/get.js.map +1 -0
- package/lib/v1/refunds/index.d.ts +3 -0
- package/lib/v1/refunds/index.js +23 -0
- package/lib/v1/refunds/index.js.map +1 -0
- package/lib/v1/riskassessments/bankaccounts.d.ts +3 -0
- package/lib/v1/riskassessments/bankaccounts.js +32 -0
- package/lib/v1/riskassessments/bankaccounts.js.map +1 -0
- package/lib/v1/riskassessments/cards.d.ts +3 -0
- package/lib/v1/riskassessments/cards.js +32 -0
- package/lib/v1/riskassessments/cards.js.map +1 -0
- package/lib/v1/riskassessments/index.d.ts +3 -0
- package/lib/v1/riskassessments/index.js +17 -0
- package/lib/v1/riskassessments/index.js.map +1 -0
- package/lib/v1/services/bankaccount.d.ts +3 -0
- package/lib/v1/services/bankaccount.js +32 -0
- package/lib/v1/services/bankaccount.js.map +1 -0
- package/lib/v1/services/convertAmount.d.ts +4 -0
- package/lib/v1/services/convertAmount.js +20 -0
- package/lib/v1/services/convertAmount.js.map +1 -0
- package/lib/v1/services/getIINdetails.d.ts +3 -0
- package/lib/v1/services/getIINdetails.js +32 -0
- package/lib/v1/services/getIINdetails.js.map +1 -0
- package/lib/v1/services/index.d.ts +3 -0
- package/lib/v1/services/index.js +23 -0
- package/lib/v1/services/index.js.map +1 -0
- package/lib/v1/services/privacypolicy.d.ts +4 -0
- package/lib/v1/services/privacypolicy.js +20 -0
- package/lib/v1/services/privacypolicy.js.map +1 -0
- package/lib/v1/services/testconnection.d.ts +3 -0
- package/lib/v1/services/testconnection.js +20 -0
- package/lib/v1/services/testconnection.js.map +1 -0
- package/lib/v1/sessions/create.d.ts +3 -0
- package/lib/v1/sessions/create.js +32 -0
- package/lib/v1/sessions/create.js.map +1 -0
- package/lib/v1/sessions/index.d.ts +3 -0
- package/lib/v1/sessions/index.js +15 -0
- package/lib/v1/sessions/index.js.map +1 -0
- package/lib/v1/tokens/approvesepadirectdebit.d.ts +3 -0
- package/lib/v1/tokens/approvesepadirectdebit.js +32 -0
- package/lib/v1/tokens/approvesepadirectdebit.js.map +1 -0
- package/lib/v1/tokens/create.d.ts +3 -0
- package/lib/v1/tokens/create.js +32 -0
- package/lib/v1/tokens/create.js.map +1 -0
- package/lib/v1/tokens/get.d.ts +3 -0
- package/lib/v1/tokens/get.js +20 -0
- package/lib/v1/tokens/get.js.map +1 -0
- package/lib/v1/tokens/index.d.ts +3 -0
- package/lib/v1/tokens/index.js +23 -0
- package/lib/v1/tokens/index.js.map +1 -0
- package/lib/v1/tokens/remove.d.ts +4 -0
- package/lib/v1/tokens/remove.js +20 -0
- package/lib/v1/tokens/remove.js.map +1 -0
- package/lib/v1/tokens/update.d.ts +3 -0
- package/lib/v1/tokens/update.js +32 -0
- package/lib/v1/tokens/update.js.map +1 -0
- package/lib/v1/webhooks/index.d.ts +2 -0
- package/lib/v1/webhooks/index.js +44 -0
- package/lib/v1/webhooks/index.js.map +1 -0
- package/lib/webhooks/index.d.ts +3 -3
- package/lib/webhooks/index.js +30 -64
- package/lib/webhooks/index.js.map +1 -1
- package/lib/webhooks/validation.d.ts +2 -3
- package/lib/webhooks/validation.js +30 -39
- package/lib/webhooks/validation.js.map +1 -1
- package/package.json +29 -29
- package/lib/captures/get.d.ts +0 -3
- package/lib/captures/get.js +0 -17
- package/lib/captures/get.js.map +0 -1
- package/lib/captures/index.d.ts +0 -3
- package/lib/captures/index.js +0 -13
- package/lib/captures/index.js.map +0 -1
- package/lib/captures/refund.d.ts +0 -4
- package/lib/captures/refund.js +0 -30
- package/lib/captures/refund.js.map +0 -1
- package/lib/disputes/cancel.d.ts +0 -3
- package/lib/disputes/cancel.js +0 -17
- package/lib/disputes/cancel.js.map +0 -1
- package/lib/disputes/get.d.ts +0 -3
- package/lib/disputes/get.js +0 -17
- package/lib/disputes/get.js.map +0 -1
- package/lib/disputes/index.d.ts +0 -3
- package/lib/disputes/index.js +0 -17
- package/lib/disputes/index.js.map +0 -1
- package/lib/disputes/submit.d.ts +0 -3
- package/lib/disputes/submit.js +0 -17
- package/lib/disputes/submit.js.map +0 -1
- package/lib/disputes/uploadFile.d.ts +0 -4
- package/lib/disputes/uploadFile.js +0 -17
- package/lib/disputes/uploadFile.js.map +0 -1
- package/lib/files/getFile.d.ts +0 -3
- package/lib/files/getFile.js +0 -17
- package/lib/files/getFile.js.map +0 -1
- package/lib/files/index.d.ts +0 -3
- package/lib/files/index.js +0 -11
- package/lib/files/index.js.map +0 -1
- package/lib/hostedcheckouts/create.d.ts +0 -4
- package/lib/hostedcheckouts/create.js +0 -30
- package/lib/hostedcheckouts/create.js.map +0 -1
- package/lib/hostedcheckouts/get.d.ts +0 -3
- package/lib/hostedcheckouts/get.js +0 -17
- package/lib/hostedcheckouts/get.js.map +0 -1
- package/lib/hostedcheckouts/index.d.ts +0 -3
- package/lib/hostedcheckouts/index.js +0 -15
- package/lib/hostedcheckouts/index.js.map +0 -1
- package/lib/hostedcheckouts/remove.d.ts +0 -3
- package/lib/hostedcheckouts/remove.js +0 -17
- package/lib/hostedcheckouts/remove.js.map +0 -1
- package/lib/hostedmandatemanagements/create.d.ts +0 -4
- package/lib/hostedmandatemanagements/create.js +0 -30
- package/lib/hostedmandatemanagements/create.js.map +0 -1
- package/lib/hostedmandatemanagements/get.d.ts +0 -3
- package/lib/hostedmandatemanagements/get.js +0 -17
- package/lib/hostedmandatemanagements/get.js.map +0 -1
- package/lib/hostedmandatemanagements/index.d.ts +0 -3
- package/lib/hostedmandatemanagements/index.js +0 -13
- package/lib/hostedmandatemanagements/index.js.map +0 -1
- package/lib/installments/getInstallmentsInfo.d.ts +0 -4
- package/lib/installments/getInstallmentsInfo.js +0 -30
- package/lib/installments/getInstallmentsInfo.js.map +0 -1
- package/lib/installments/index.d.ts +0 -3
- package/lib/installments/index.js +0 -11
- package/lib/installments/index.js.map +0 -1
- package/lib/mandates/block.d.ts +0 -3
- package/lib/mandates/block.js +0 -17
- package/lib/mandates/block.js.map +0 -1
- package/lib/mandates/create.d.ts +0 -4
- package/lib/mandates/create.js +0 -30
- package/lib/mandates/create.js.map +0 -1
- package/lib/mandates/createWithMandateReference.d.ts +0 -4
- package/lib/mandates/createWithMandateReference.js +0 -30
- package/lib/mandates/createWithMandateReference.js.map +0 -1
- package/lib/mandates/get.d.ts +0 -3
- package/lib/mandates/get.js +0 -17
- package/lib/mandates/get.js.map +0 -1
- package/lib/mandates/index.d.ts +0 -3
- package/lib/mandates/index.js +0 -21
- package/lib/mandates/index.js.map +0 -1
- package/lib/mandates/revoke.d.ts +0 -3
- package/lib/mandates/revoke.js +0 -17
- package/lib/mandates/revoke.js.map +0 -1
- package/lib/mandates/unblock.d.ts +0 -3
- package/lib/mandates/unblock.js +0 -17
- package/lib/mandates/unblock.js.map +0 -1
- package/lib/model/captures/index.d.ts +0 -18
- package/lib/model/disputes/index.d.ts +0 -34
- package/lib/model/domain/capture/definitions/index.d.ts +0 -27
- package/lib/model/domain/capture/definitions/index.js.map +0 -1
- package/lib/model/domain/capture/index.d.ts +0 -6
- package/lib/model/domain/capture/index.js.map +0 -1
- package/lib/model/domain/definitions/index.d.ts +0 -320
- package/lib/model/domain/definitions/index.js.map +0 -1
- package/lib/model/domain/dispute/definitions/index.d.ts +0 -38
- package/lib/model/domain/dispute/definitions/index.js.map +0 -1
- package/lib/model/domain/dispute/index.d.ts +0 -18
- package/lib/model/domain/dispute/index.js.map +0 -1
- package/lib/model/domain/errors/definitions/index.d.ts +0 -9
- package/lib/model/domain/errors/definitions/index.js.map +0 -1
- package/lib/model/domain/errors/index.d.ts +0 -5
- package/lib/model/domain/errors/index.js.map +0 -1
- package/lib/model/domain/file/definitions/index.d.ts +0 -6
- package/lib/model/domain/file/definitions/index.js +0 -7
- package/lib/model/domain/file/definitions/index.js.map +0 -1
- package/lib/model/domain/hostedcheckout/definitions/index.d.ts +0 -71
- package/lib/model/domain/hostedcheckout/definitions/index.js.map +0 -1
- package/lib/model/domain/hostedcheckout/index.d.ts +0 -27
- package/lib/model/domain/hostedcheckout/index.js.map +0 -1
- package/lib/model/domain/hostedmandatemanagement/definitions/index.d.ts +0 -15
- package/lib/model/domain/hostedmandatemanagement/definitions/index.js.map +0 -1
- package/lib/model/domain/hostedmandatemanagement/index.d.ts +0 -15
- package/lib/model/domain/hostedmandatemanagement/index.js.map +0 -1
- package/lib/model/domain/installments/definitions/index.d.ts +0 -11
- package/lib/model/domain/installments/definitions/index.js.map +0 -1
- package/lib/model/domain/installments/index.d.ts +0 -11
- package/lib/model/domain/installments/index.js.map +0 -1
- package/lib/model/domain/mandates/definitions/index.d.ts +0 -52
- package/lib/model/domain/mandates/definitions/index.js.map +0 -1
- package/lib/model/domain/mandates/index.d.ts +0 -10
- package/lib/model/domain/mandates/index.js.map +0 -1
- package/lib/model/domain/metadata/index.js.map +0 -1
- package/lib/model/domain/payment/definitions/index.d.ts +0 -910
- package/lib/model/domain/payment/definitions/index.js.map +0 -1
- package/lib/model/domain/payment/index.d.ts +0 -77
- package/lib/model/domain/payment/index.js.map +0 -1
- package/lib/model/domain/payout/definitions/index.d.ts +0 -51
- package/lib/model/domain/payout/definitions/index.js +0 -3
- package/lib/model/domain/payout/definitions/index.js.map +0 -1
- package/lib/model/domain/payout/index.d.ts +0 -57
- package/lib/model/domain/payout/index.js +0 -3
- package/lib/model/domain/payout/index.js.map +0 -1
- package/lib/model/domain/product/definitions/index.d.ts +0 -166
- package/lib/model/domain/product/definitions/index.js +0 -3
- package/lib/model/domain/product/definitions/index.js.map +0 -1
- package/lib/model/domain/product/index.d.ts +0 -47
- package/lib/model/domain/product/index.js +0 -3
- package/lib/model/domain/product/index.js.map +0 -1
- package/lib/model/domain/refund/definitions/index.d.ts +0 -26
- package/lib/model/domain/refund/definitions/index.js +0 -3
- package/lib/model/domain/refund/definitions/index.js.map +0 -1
- package/lib/model/domain/refund/index.d.ts +0 -29
- package/lib/model/domain/refund/index.js +0 -3
- package/lib/model/domain/refund/index.js.map +0 -1
- package/lib/model/domain/riskassessments/definitions/index.d.ts +0 -52
- package/lib/model/domain/riskassessments/definitions/index.js +0 -3
- package/lib/model/domain/riskassessments/definitions/index.js.map +0 -1
- package/lib/model/domain/riskassessments/index.d.ts +0 -12
- package/lib/model/domain/riskassessments/index.js +0 -3
- package/lib/model/domain/riskassessments/index.js.map +0 -1
- package/lib/model/domain/services/definitions/index.d.ts +0 -33
- package/lib/model/domain/services/definitions/index.js +0 -3
- package/lib/model/domain/services/definitions/index.js.map +0 -1
- package/lib/model/domain/services/index.d.ts +0 -29
- package/lib/model/domain/services/index.js +0 -3
- package/lib/model/domain/services/index.js.map +0 -1
- package/lib/model/domain/sessions/definitions/index.d.ts +0 -5
- package/lib/model/domain/sessions/definitions/index.js +0 -3
- package/lib/model/domain/sessions/definitions/index.js.map +0 -1
- package/lib/model/domain/sessions/index.d.ts +0 -13
- package/lib/model/domain/sessions/index.js +0 -3
- package/lib/model/domain/sessions/index.js.map +0 -1
- package/lib/model/domain/token/definitions/index.d.ts +0 -102
- package/lib/model/domain/token/definitions/index.js +0 -3
- package/lib/model/domain/token/definitions/index.js.map +0 -1
- package/lib/model/domain/token/index.d.ts +0 -32
- package/lib/model/domain/token/index.js +0 -3
- package/lib/model/domain/token/index.js.map +0 -1
- package/lib/model/domain/webhooks/index.d.ts +0 -17
- package/lib/model/domain/webhooks/index.js +0 -3
- package/lib/model/domain/webhooks/index.js.map +0 -1
- package/lib/model/files/index.d.ts +0 -10
- package/lib/model/files/index.js +0 -3
- package/lib/model/hostedcheckouts/index.d.ts +0 -25
- package/lib/model/hostedcheckouts/index.js +0 -3
- package/lib/model/hostedcheckouts/index.js.map +0 -1
- package/lib/model/hostedmandatemanagements/index.d.ts +0 -18
- package/lib/model/hostedmandatemanagements/index.js +0 -3
- package/lib/model/hostedmandatemanagements/index.js.map +0 -1
- package/lib/model/installments/index.d.ts +0 -11
- package/lib/model/installments/index.js +0 -3
- package/lib/model/mandates/index.d.ts +0 -46
- package/lib/model/mandates/index.js +0 -3
- package/lib/model/mandates/index.js.map +0 -1
- package/lib/model/payments/index.d.ts +0 -132
- package/lib/model/payments/index.js +0 -3
- package/lib/model/payments/index.js.map +0 -1
- package/lib/model/payouts/index.d.ts +0 -52
- package/lib/model/payouts/index.js +0 -3
- package/lib/model/payouts/index.js.map +0 -1
- package/lib/model/productgroups/index.d.ts +0 -43
- package/lib/model/productgroups/index.js +0 -3
- package/lib/model/productgroups/index.js.map +0 -1
- package/lib/model/products/index.d.ts +0 -82
- package/lib/model/products/index.js +0 -3
- package/lib/model/products/index.js.map +0 -1
- package/lib/model/refunds/index.d.ts +0 -46
- package/lib/model/refunds/index.js +0 -3
- package/lib/model/refunds/index.js.map +0 -1
- package/lib/model/riskassessments/index.d.ts +0 -18
- package/lib/model/riskassessments/index.js +0 -3
- package/lib/model/riskassessments/index.js.map +0 -1
- package/lib/model/services/index.d.ts +0 -48
- package/lib/model/services/index.js +0 -3
- package/lib/model/services/index.js.map +0 -1
- package/lib/model/sessions/index.d.ts +0 -11
- package/lib/model/sessions/index.js +0 -3
- package/lib/model/sessions/index.js.map +0 -1
- package/lib/model/tokens/index.d.ts +0 -42
- package/lib/model/tokens/index.js +0 -3
- package/lib/payments/approve.d.ts +0 -4
- package/lib/payments/approve.js +0 -30
- package/lib/payments/approve.js.map +0 -1
- package/lib/payments/cancel.d.ts +0 -3
- package/lib/payments/cancel.js +0 -17
- package/lib/payments/cancel.js.map +0 -1
- package/lib/payments/cancelapproval.d.ts +0 -3
- package/lib/payments/cancelapproval.js +0 -17
- package/lib/payments/cancelapproval.js.map +0 -1
- package/lib/payments/capture.d.ts +0 -4
- package/lib/payments/capture.js +0 -30
- package/lib/payments/capture.js.map +0 -1
- package/lib/payments/captures.d.ts +0 -3
- package/lib/payments/captures.js +0 -17
- package/lib/payments/captures.js.map +0 -1
- package/lib/payments/complete.d.ts +0 -4
- package/lib/payments/complete.js +0 -30
- package/lib/payments/complete.js.map +0 -1
- package/lib/payments/create.d.ts +0 -4
- package/lib/payments/create.js +0 -30
- package/lib/payments/create.js.map +0 -1
- package/lib/payments/devicefingerprint.d.ts +0 -3
- package/lib/payments/devicefingerprint.js +0 -17
- package/lib/payments/devicefingerprint.js.map +0 -1
- package/lib/payments/dispute.d.ts +0 -4
- package/lib/payments/dispute.js +0 -30
- package/lib/payments/dispute.js.map +0 -1
- package/lib/payments/disputes.d.ts +0 -3
- package/lib/payments/disputes.js +0 -17
- package/lib/payments/disputes.js.map +0 -1
- package/lib/payments/find.d.ts +0 -4
- package/lib/payments/find.js +0 -17
- package/lib/payments/find.js.map +0 -1
- package/lib/payments/get.d.ts +0 -3
- package/lib/payments/get.js +0 -17
- package/lib/payments/get.js.map +0 -1
- package/lib/payments/index.d.ts +0 -3
- package/lib/payments/index.js +0 -43
- package/lib/payments/index.js.map +0 -1
- package/lib/payments/processchallenged.d.ts +0 -3
- package/lib/payments/processchallenged.js +0 -17
- package/lib/payments/processchallenged.js.map +0 -1
- package/lib/payments/refund.d.ts +0 -4
- package/lib/payments/refund.js +0 -30
- package/lib/payments/refund.js.map +0 -1
- package/lib/payments/refunds.d.ts +0 -3
- package/lib/payments/refunds.js +0 -17
- package/lib/payments/refunds.js.map +0 -1
- package/lib/payments/thirdPartyStatus.d.ts +0 -3
- package/lib/payments/thirdPartyStatus.js +0 -17
- package/lib/payments/thirdPartyStatus.js.map +0 -1
- package/lib/payments/tokenize.d.ts +0 -4
- package/lib/payments/tokenize.js +0 -30
- package/lib/payments/tokenize.js.map +0 -1
- package/lib/payouts/approve.d.ts +0 -4
- package/lib/payouts/approve.js +0 -30
- package/lib/payouts/approve.js.map +0 -1
- package/lib/payouts/cancel.d.ts +0 -3
- package/lib/payouts/cancel.js +0 -17
- package/lib/payouts/cancel.js.map +0 -1
- package/lib/payouts/cancelapproval.d.ts +0 -3
- package/lib/payouts/cancelapproval.js +0 -17
- package/lib/payouts/cancelapproval.js.map +0 -1
- package/lib/payouts/create.d.ts +0 -4
- package/lib/payouts/create.js +0 -30
- package/lib/payouts/create.js.map +0 -1
- package/lib/payouts/find.d.ts +0 -4
- package/lib/payouts/find.js +0 -17
- package/lib/payouts/find.js.map +0 -1
- package/lib/payouts/get.d.ts +0 -3
- package/lib/payouts/get.js +0 -17
- package/lib/payouts/get.js.map +0 -1
- package/lib/payouts/index.d.ts +0 -3
- package/lib/payouts/index.js +0 -21
- package/lib/payouts/index.js.map +0 -1
- package/lib/productgroups/deviceFingerprint.d.ts +0 -4
- package/lib/productgroups/deviceFingerprint.js +0 -30
- package/lib/productgroups/deviceFingerprint.js.map +0 -1
- package/lib/productgroups/find.d.ts +0 -4
- package/lib/productgroups/find.js +0 -17
- package/lib/productgroups/find.js.map +0 -1
- package/lib/productgroups/get.d.ts +0 -4
- package/lib/productgroups/get.js +0 -17
- package/lib/productgroups/get.js.map +0 -1
- package/lib/productgroups/index.d.ts +0 -3
- package/lib/productgroups/index.js +0 -15
- package/lib/productgroups/index.js.map +0 -1
- package/lib/products/customerDetails.d.ts +0 -4
- package/lib/products/customerDetails.js +0 -30
- package/lib/products/customerDetails.js.map +0 -1
- package/lib/products/deviceFingerprint.d.ts +0 -4
- package/lib/products/deviceFingerprint.js +0 -30
- package/lib/products/deviceFingerprint.js.map +0 -1
- package/lib/products/directory.d.ts +0 -4
- package/lib/products/directory.js +0 -17
- package/lib/products/directory.js.map +0 -1
- package/lib/products/find.d.ts +0 -4
- package/lib/products/find.js +0 -17
- package/lib/products/find.js.map +0 -1
- package/lib/products/get.d.ts +0 -4
- package/lib/products/get.js +0 -17
- package/lib/products/get.js.map +0 -1
- package/lib/products/index.d.ts +0 -3
- package/lib/products/index.js +0 -23
- package/lib/products/index.js.map +0 -1
- package/lib/products/networks.d.ts +0 -4
- package/lib/products/networks.js +0 -17
- package/lib/products/networks.js.map +0 -1
- package/lib/products/sessions.d.ts +0 -4
- package/lib/products/sessions.js +0 -30
- package/lib/products/sessions.js.map +0 -1
- package/lib/refunds/approve.d.ts +0 -4
- package/lib/refunds/approve.js +0 -30
- package/lib/refunds/approve.js.map +0 -1
- package/lib/refunds/cancel.d.ts +0 -3
- package/lib/refunds/cancel.js +0 -17
- package/lib/refunds/cancel.js.map +0 -1
- package/lib/refunds/cancelapproval.d.ts +0 -3
- package/lib/refunds/cancelapproval.js +0 -17
- package/lib/refunds/cancelapproval.js.map +0 -1
- package/lib/refunds/find.d.ts +0 -4
- package/lib/refunds/find.js +0 -17
- package/lib/refunds/find.js.map +0 -1
- package/lib/refunds/get.d.ts +0 -3
- package/lib/refunds/get.js +0 -17
- package/lib/refunds/get.js.map +0 -1
- package/lib/refunds/index.d.ts +0 -3
- package/lib/refunds/index.js +0 -19
- package/lib/refunds/index.js.map +0 -1
- package/lib/riskassessments/bankaccounts.d.ts +0 -4
- package/lib/riskassessments/bankaccounts.js +0 -30
- package/lib/riskassessments/bankaccounts.js.map +0 -1
- package/lib/riskassessments/cards.d.ts +0 -4
- package/lib/riskassessments/cards.js +0 -30
- package/lib/riskassessments/cards.js.map +0 -1
- package/lib/riskassessments/index.d.ts +0 -3
- package/lib/riskassessments/index.js +0 -13
- package/lib/riskassessments/index.js.map +0 -1
- package/lib/services/bankaccount.d.ts +0 -4
- package/lib/services/bankaccount.js +0 -30
- package/lib/services/bankaccount.js.map +0 -1
- package/lib/services/convertAmount.d.ts +0 -4
- package/lib/services/convertAmount.js +0 -17
- package/lib/services/convertAmount.js.map +0 -1
- package/lib/services/getIINdetails.d.ts +0 -4
- package/lib/services/getIINdetails.js +0 -30
- package/lib/services/getIINdetails.js.map +0 -1
- package/lib/services/index.d.ts +0 -3
- package/lib/services/index.js +0 -19
- package/lib/services/index.js.map +0 -1
- package/lib/services/privacypolicy.d.ts +0 -4
- package/lib/services/privacypolicy.js +0 -17
- package/lib/services/privacypolicy.js.map +0 -1
- package/lib/services/testconnection.d.ts +0 -3
- package/lib/services/testconnection.js +0 -17
- package/lib/services/testconnection.js.map +0 -1
- package/lib/sessions/create.d.ts +0 -4
- package/lib/sessions/create.js +0 -30
- package/lib/sessions/create.js.map +0 -1
- package/lib/sessions/index.d.ts +0 -3
- package/lib/sessions/index.js +0 -11
- package/lib/sessions/index.js.map +0 -1
- package/lib/tokens/approvesepadirectdebit.d.ts +0 -4
- package/lib/tokens/approvesepadirectdebit.js +0 -30
- package/lib/tokens/approvesepadirectdebit.js.map +0 -1
- package/lib/tokens/create.d.ts +0 -4
- package/lib/tokens/create.js +0 -30
- package/lib/tokens/create.js.map +0 -1
- package/lib/tokens/get.d.ts +0 -3
- package/lib/tokens/get.js +0 -17
- package/lib/tokens/get.js.map +0 -1
- package/lib/tokens/index.d.ts +0 -3
- package/lib/tokens/index.js +0 -19
- package/lib/tokens/index.js.map +0 -1
- package/lib/tokens/remove.d.ts +0 -4
- package/lib/tokens/remove.js +0 -17
- package/lib/tokens/remove.js.map +0 -1
- package/lib/tokens/update.d.ts +0 -4
- package/lib/tokens/update.js +0 -30
- package/lib/tokens/update.js.map +0 -1
- package/lib/utils/versions.d.ts +0 -1
- package/lib/utils/versions.js +0 -9
- package/lib/utils/versions.js.map +0 -1
- /package/lib/model/domain/{metadata/index.d.ts → index.d.ts} +0 -0
- /package/lib/model/{captures → domain}/index.js +0 -0
- /package/lib/{model/disputes → v1/model/captures}/index.js +0 -0
- /package/lib/{model/domain/capture/definitions → v1/model/disputes}/index.js +0 -0
- /package/lib/{model/domain/capture → v1/model/files}/index.js +0 -0
- /package/lib/{model/domain/definitions → v1/model/hostedcheckouts}/index.js +0 -0
- /package/lib/{model/domain/dispute/definitions → v1/model/hostedmandatemanagements}/index.js +0 -0
- /package/lib/{model/domain/dispute → v1/model}/index.js +0 -0
- /package/lib/{model/domain/errors → v1/model/installments}/index.js +0 -0
- /package/lib/{model/domain/hostedcheckout/definitions → v1/model/mandates}/index.js +0 -0
- /package/lib/{model/domain/hostedcheckout → v1/model/payments}/index.js +0 -0
- /package/lib/{model/domain/hostedmandatemanagement/definitions → v1/model/payouts}/index.js +0 -0
- /package/lib/{model/domain/hostedmandatemanagement → v1/model/productgroups}/index.js +0 -0
- /package/lib/{model/domain/installments/definitions → v1/model/products}/index.js +0 -0
- /package/lib/{model/domain/installments → v1/model/refunds}/index.js +0 -0
- /package/lib/{model/domain/mandates/definitions → v1/model/riskassessments}/index.js +0 -0
- /package/lib/{model/domain/mandates → v1/model/services}/index.js +0 -0
- /package/lib/{model/domain/metadata → v1/model/sessions}/index.js +0 -0
- /package/lib/{model/domain/payment/definitions → v1/model/tokens}/index.js +0 -0
- /package/lib/{model/domain/payment → v1/model/webhooks}/index.js +0 -0
- /package/schemas/{payment → v1}/ApprovePaymentRequest.json +0 -0
- /package/schemas/{payout → v1}/ApprovePayoutRequest.json +0 -0
- /package/schemas/{refund → v1}/ApproveRefundRequest.json +0 -0
- /package/schemas/{token → v1}/ApproveTokenRequest.json +0 -0
- /package/schemas/{services → v1}/BankDetailsRequest.json +0 -0
- /package/schemas/{payment → v1}/CapturePaymentRequest.json +0 -0
- /package/schemas/{payment → v1}/CompletePaymentRequest.json +0 -0
- /package/schemas/{dispute → v1}/CreateDisputeRequest.json +0 -0
- /package/schemas/{hostedcheckout → v1}/CreateHostedCheckoutRequest.json +0 -0
- /package/schemas/{hostedmandatemanagement → v1}/CreateHostedMandateManagementRequest.json +0 -0
- /package/schemas/{mandates → v1}/CreateMandateRequest.json +0 -0
- /package/schemas/{product → v1}/CreatePaymentProductSessionRequest.json +0 -0
- /package/schemas/{payment → v1}/CreatePaymentRequest.json +0 -0
- /package/schemas/{payout → v1}/CreatePayoutRequest.json +0 -0
- /package/schemas/{token → v1}/CreateTokenRequest.json +0 -0
- /package/schemas/{product → v1}/DeviceFingerprintRequest.json +0 -0
- /package/schemas/{product → v1}/GetCustomerDetailsRequest.json +0 -0
- /package/schemas/{services → v1}/GetIINDetailsRequest.json +0 -0
- /package/schemas/{installments → v1}/GetInstallmentRequest.json +0 -0
- /package/schemas/{refund → v1}/RefundRequest.json +0 -0
- /package/schemas/{riskassessments → v1}/RiskAssessmentBankAccount.json +0 -0
- /package/schemas/{riskassessments → v1}/RiskAssessmentCard.json +0 -0
- /package/schemas/{sessions → v1}/SessionRequest.json +0 -0
- /package/schemas/{payment → v1}/TokenizePaymentRequest.json +0 -0
- /package/schemas/{token → v1}/UpdateTokenRequest.json +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/payment/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { FraudFields } from "../definitions";
|
|
2
|
-
import { APIError } from "../errors/definitions";
|
|
3
|
-
import { ApprovePaymentCardPaymentMethodSpecificOutput, ApprovePaymentMobilePaymentMethodSpecificOutput, ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput, ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput, BankTransferPaymentMethodSpecificInput, CancelPaymentCardPaymentMethodSpecificOutput, CancelPaymentMobilePaymentMethodSpecificOutput, CardPaymentMethodSpecificInput, CashPaymentMethodSpecificInput, CompletePaymentCardPaymentMethodSpecificInput, CreatePaymentResult, EInvoicePaymentMethodSpecificInput, InvoicePaymentMethodSpecificInput, Merchant, MobilePaymentMethodSpecificInput, NonSepaDirectDebitPaymentMethodSpecificInput, Order, OrderApprovePayment, Payment, RedirectPaymentMethodSpecificInput, SepaDirectDebitPaymentMethodSpecificInput } from "./definitions";
|
|
4
|
-
export interface ApprovePaymentRequest {
|
|
5
|
-
amount?: number | null;
|
|
6
|
-
directDebitPaymentMethodSpecificInput?: ApprovePaymentNonSepaDirectDebitPaymentMethodSpecificInput | null;
|
|
7
|
-
order?: OrderApprovePayment | null;
|
|
8
|
-
sepaDirectDebitPaymentMethodSpecificInput?: ApprovePaymentSepaDirectDebitPaymentMethodSpecificInput | null;
|
|
9
|
-
}
|
|
10
|
-
export interface CancelApprovalPaymentResponse {
|
|
11
|
-
payment?: Payment | null;
|
|
12
|
-
}
|
|
13
|
-
export interface CancelPaymentResponse {
|
|
14
|
-
cardPaymentMethodSpecificOutput?: CancelPaymentCardPaymentMethodSpecificOutput | null;
|
|
15
|
-
mobilePaymentMethodSpecificOutput?: CancelPaymentMobilePaymentMethodSpecificOutput | null;
|
|
16
|
-
payment?: Payment | null;
|
|
17
|
-
}
|
|
18
|
-
export interface CapturePaymentRequest {
|
|
19
|
-
amount?: number | null;
|
|
20
|
-
isFinal?: boolean | null;
|
|
21
|
-
}
|
|
22
|
-
export interface CompletePaymentRequest {
|
|
23
|
-
cardPaymentMethodSpecificInput?: CompletePaymentCardPaymentMethodSpecificInput | null;
|
|
24
|
-
merchant?: Merchant | null;
|
|
25
|
-
order?: Order | null;
|
|
26
|
-
}
|
|
27
|
-
export interface CompletePaymentResponse extends CreatePaymentResult {
|
|
28
|
-
}
|
|
29
|
-
export interface CreatePaymentRequest {
|
|
30
|
-
bankTransferPaymentMethodSpecificInput?: BankTransferPaymentMethodSpecificInput | null;
|
|
31
|
-
cardPaymentMethodSpecificInput?: CardPaymentMethodSpecificInput | null;
|
|
32
|
-
cashPaymentMethodSpecificInput?: CashPaymentMethodSpecificInput | null;
|
|
33
|
-
directDebitPaymentMethodSpecificInput?: NonSepaDirectDebitPaymentMethodSpecificInput | null;
|
|
34
|
-
eInvoicePaymentMethodSpecificInput?: EInvoicePaymentMethodSpecificInput | null;
|
|
35
|
-
encryptedCustomerInput?: string | null;
|
|
36
|
-
fraudFields?: FraudFields | null;
|
|
37
|
-
invoicePaymentMethodSpecificInput?: InvoicePaymentMethodSpecificInput | null;
|
|
38
|
-
merchant?: Merchant | null;
|
|
39
|
-
mobilePaymentMethodSpecificInput?: MobilePaymentMethodSpecificInput | null;
|
|
40
|
-
order?: Order | null;
|
|
41
|
-
redirectPaymentMethodSpecificInput?: RedirectPaymentMethodSpecificInput | null;
|
|
42
|
-
sepaDirectDebitPaymentMethodSpecificInput?: SepaDirectDebitPaymentMethodSpecificInput | null;
|
|
43
|
-
}
|
|
44
|
-
export interface CreatePaymentResponse extends CreatePaymentResult {
|
|
45
|
-
}
|
|
46
|
-
export interface DeviceFingerprintDetails {
|
|
47
|
-
paymentId?: string | null;
|
|
48
|
-
rawDeviceFingerprintOutput?: string | null;
|
|
49
|
-
}
|
|
50
|
-
export interface FindPaymentsResponse {
|
|
51
|
-
limit?: number | null;
|
|
52
|
-
offset?: number | null;
|
|
53
|
-
payments?: Payment[] | null;
|
|
54
|
-
totalCount?: number | null;
|
|
55
|
-
}
|
|
56
|
-
export interface PaymentApprovalResponse {
|
|
57
|
-
cardPaymentMethodSpecificOutput?: ApprovePaymentCardPaymentMethodSpecificOutput | null;
|
|
58
|
-
mobilePaymentMethodSpecificOutput?: ApprovePaymentMobilePaymentMethodSpecificOutput | null;
|
|
59
|
-
payment?: Payment | null;
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated Use cardPaymentMethodSpecificOutput instead
|
|
62
|
-
*/
|
|
63
|
-
paymentMethodSpecificOutput?: ApprovePaymentCardPaymentMethodSpecificOutput | null;
|
|
64
|
-
}
|
|
65
|
-
export interface PaymentErrorResponse {
|
|
66
|
-
errorId?: string | null;
|
|
67
|
-
errors?: APIError[] | null;
|
|
68
|
-
paymentResult?: CreatePaymentResult | null;
|
|
69
|
-
}
|
|
70
|
-
export interface PaymentResponse extends Payment {
|
|
71
|
-
}
|
|
72
|
-
export interface ThirdPartyStatusResponse {
|
|
73
|
-
thirdPartyStatus?: string | null;
|
|
74
|
-
}
|
|
75
|
-
export interface TokenizePaymentRequest {
|
|
76
|
-
alias?: string | null;
|
|
77
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/payment/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { AbstractOrderStatus, Address, AmountOfMoney, BankAccountBban, BankAccountIban, Card, CompanyInformation, ContactDetailsBase, OrderStatusOutput } from "../../definitions";
|
|
2
|
-
import { OrderOutput, PersonalName } from "../../payment/definitions";
|
|
3
|
-
export interface AbstractPayoutMethodSpecificInput {
|
|
4
|
-
}
|
|
5
|
-
export interface BankTransferPayoutMethodSpecificInput extends AbstractPayoutMethodSpecificInput {
|
|
6
|
-
bankAccountBban?: BankAccountBban | null;
|
|
7
|
-
bankAccountIban?: BankAccountIban | null;
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Moved to PayoutDetails
|
|
10
|
-
*/
|
|
11
|
-
customer?: PayoutCustomer | null;
|
|
12
|
-
payoutDate?: string | null;
|
|
13
|
-
payoutText?: string | null;
|
|
14
|
-
swiftCode?: string | null;
|
|
15
|
-
}
|
|
16
|
-
export interface CardPayoutMethodSpecificInput extends AbstractPayoutMethodSpecificInput {
|
|
17
|
-
card?: Card | null;
|
|
18
|
-
paymentProductId?: number | null;
|
|
19
|
-
recipient?: PayoutRecipient | null;
|
|
20
|
-
token?: string | null;
|
|
21
|
-
}
|
|
22
|
-
export interface PayoutCustomer {
|
|
23
|
-
address?: Address | null;
|
|
24
|
-
companyInformation?: CompanyInformation | null;
|
|
25
|
-
contactDetails?: ContactDetailsBase | null;
|
|
26
|
-
merchantCustomerId?: string | null;
|
|
27
|
-
name?: PersonalName | null;
|
|
28
|
-
}
|
|
29
|
-
export interface PayoutDetails {
|
|
30
|
-
amountOfMoney?: AmountOfMoney | null;
|
|
31
|
-
customer?: PayoutCustomer | null;
|
|
32
|
-
references?: PayoutReferences | null;
|
|
33
|
-
}
|
|
34
|
-
export interface PayoutMerchant {
|
|
35
|
-
configurationId?: string | null;
|
|
36
|
-
}
|
|
37
|
-
export interface PayoutRecipient {
|
|
38
|
-
firstName?: string | null;
|
|
39
|
-
surname?: string | null;
|
|
40
|
-
surnamePrefix?: string | null;
|
|
41
|
-
}
|
|
42
|
-
export interface PayoutReferences {
|
|
43
|
-
invoiceNumber?: string | null;
|
|
44
|
-
merchantOrderId?: number | null;
|
|
45
|
-
merchantReference?: string | null;
|
|
46
|
-
}
|
|
47
|
-
export interface PayoutResult extends AbstractOrderStatus {
|
|
48
|
-
payoutOutput?: OrderOutput | null;
|
|
49
|
-
status?: string | null;
|
|
50
|
-
statusOutput?: OrderStatusOutput | null;
|
|
51
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/payout/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
|
|
2
|
-
import { APIError } from "../errors/definitions";
|
|
3
|
-
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, PayoutMerchant, PayoutReferences, PayoutResult } from "./definitions";
|
|
4
|
-
export interface ApprovePayoutRequest {
|
|
5
|
-
datePayout?: string | null;
|
|
6
|
-
}
|
|
7
|
-
export interface CreatePayoutRequest {
|
|
8
|
-
/**
|
|
9
|
-
* @deprecated Moved to PayoutDetails
|
|
10
|
-
*/
|
|
11
|
-
amountOfMoney?: AmountOfMoney | null;
|
|
12
|
-
/**
|
|
13
|
-
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
14
|
-
*/
|
|
15
|
-
bankAccountBban?: BankAccountBban | null;
|
|
16
|
-
/**
|
|
17
|
-
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
18
|
-
*/
|
|
19
|
-
bankAccountIban?: BankAccountIban | null;
|
|
20
|
-
bankTransferPayoutMethodSpecificInput?: BankTransferPayoutMethodSpecificInput | null;
|
|
21
|
-
cardPayoutMethodSpecificInput?: CardPayoutMethodSpecificInput | null;
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated Moved to PayoutDetails
|
|
24
|
-
*/
|
|
25
|
-
customer?: PayoutCustomer | null;
|
|
26
|
-
merchant?: PayoutMerchant | null;
|
|
27
|
-
/**
|
|
28
|
-
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
29
|
-
*/
|
|
30
|
-
payoutDate?: string | null;
|
|
31
|
-
payoutDetails?: PayoutDetails | null;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
34
|
-
*/
|
|
35
|
-
payoutText?: string | null;
|
|
36
|
-
/**
|
|
37
|
-
* @deprecated Moved to PayoutDetails
|
|
38
|
-
*/
|
|
39
|
-
references?: PayoutReferences | null;
|
|
40
|
-
/**
|
|
41
|
-
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
42
|
-
*/
|
|
43
|
-
swiftCode?: string | null;
|
|
44
|
-
}
|
|
45
|
-
export interface FindPayoutsResponse {
|
|
46
|
-
limit?: number | null;
|
|
47
|
-
offset?: number | null;
|
|
48
|
-
payouts?: PayoutResult[] | null;
|
|
49
|
-
totalCount?: number | null;
|
|
50
|
-
}
|
|
51
|
-
export interface PayoutErrorResponse {
|
|
52
|
-
errorId?: string | null;
|
|
53
|
-
errors?: APIError[] | null;
|
|
54
|
-
payoutResult?: PayoutResult | null;
|
|
55
|
-
}
|
|
56
|
-
export interface PayoutResponse extends PayoutResult {
|
|
57
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/payout/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { KeyValuePair } from "../../definitions";
|
|
2
|
-
export interface AbstractIndicator {
|
|
3
|
-
name?: string | null;
|
|
4
|
-
value?: string | null;
|
|
5
|
-
}
|
|
6
|
-
export interface AccountOnFile {
|
|
7
|
-
attributes?: AccountOnFileAttribute[] | null;
|
|
8
|
-
displayHints?: AccountOnFileDisplayHints | null;
|
|
9
|
-
id?: number | null;
|
|
10
|
-
paymentProductId?: number | null;
|
|
11
|
-
}
|
|
12
|
-
export interface AccountOnFileAttribute extends KeyValuePair {
|
|
13
|
-
mustWriteReason?: string | null;
|
|
14
|
-
status?: string | null;
|
|
15
|
-
}
|
|
16
|
-
export interface AccountOnFileDisplayHints {
|
|
17
|
-
labelTemplate?: LabelTemplateElement[] | null;
|
|
18
|
-
logo?: string | null;
|
|
19
|
-
}
|
|
20
|
-
export interface AuthenticationIndicator extends AbstractIndicator {
|
|
21
|
-
}
|
|
22
|
-
export interface BoletoBancarioRequirednessValidator {
|
|
23
|
-
fiscalNumberLength?: number | null;
|
|
24
|
-
}
|
|
25
|
-
export interface DirectoryEntry {
|
|
26
|
-
countryNames?: string[] | null;
|
|
27
|
-
issuerId?: string | null;
|
|
28
|
-
issuerList?: string | null;
|
|
29
|
-
issuerName?: string | null;
|
|
30
|
-
}
|
|
31
|
-
export interface EmptyValidator {
|
|
32
|
-
}
|
|
33
|
-
export interface FixedListValidator {
|
|
34
|
-
allowedValues?: string[] | null;
|
|
35
|
-
}
|
|
36
|
-
export interface LabelTemplateElement {
|
|
37
|
-
attributeKey?: string | null;
|
|
38
|
-
mask?: string | null;
|
|
39
|
-
}
|
|
40
|
-
export interface LengthValidator {
|
|
41
|
-
maxLength?: number | null;
|
|
42
|
-
minLength?: number | null;
|
|
43
|
-
}
|
|
44
|
-
export interface MobilePaymentProductSession302SpecificInput {
|
|
45
|
-
displayName?: string | null;
|
|
46
|
-
domainName?: string | null;
|
|
47
|
-
validationUrl?: string | null;
|
|
48
|
-
}
|
|
49
|
-
export interface MobilePaymentProductSession302SpecificOutput {
|
|
50
|
-
sessionObject?: string | null;
|
|
51
|
-
}
|
|
52
|
-
export interface PaymentProduct {
|
|
53
|
-
accountsOnFile?: AccountOnFile[] | null;
|
|
54
|
-
acquirerCountry?: string | null;
|
|
55
|
-
allowsInstallments?: boolean | null;
|
|
56
|
-
allowsRecurring?: boolean | null;
|
|
57
|
-
allowsTokenization?: boolean | null;
|
|
58
|
-
authenticationIndicator?: AuthenticationIndicator | null;
|
|
59
|
-
autoTokenized?: boolean | null;
|
|
60
|
-
canBeIframed?: boolean | null;
|
|
61
|
-
deviceFingerprintEnabled?: boolean | null;
|
|
62
|
-
displayHints?: PaymentProductDisplayHints | null;
|
|
63
|
-
fields?: PaymentProductField[] | null;
|
|
64
|
-
fieldsWarning?: string | null;
|
|
65
|
-
id?: number | null;
|
|
66
|
-
isAuthenticationSupported?: boolean | null;
|
|
67
|
-
isJavaScriptRequired?: boolean | null;
|
|
68
|
-
maxAmount?: number | null;
|
|
69
|
-
minAmount?: number | null;
|
|
70
|
-
mobileIntegrationLevel?: string | null;
|
|
71
|
-
paymentMethod?: string | null;
|
|
72
|
-
paymentProduct302SpecificData?: PaymentProduct302SpecificData | null;
|
|
73
|
-
paymentProduct320SpecificData?: PaymentProduct320SpecificData | null;
|
|
74
|
-
paymentProduct863SpecificData?: PaymentProduct863SpecificData | null;
|
|
75
|
-
paymentProductGroup?: string | null;
|
|
76
|
-
supportsMandates?: boolean | null;
|
|
77
|
-
usesRedirectionTo3rdParty?: boolean | null;
|
|
78
|
-
}
|
|
79
|
-
export interface PaymentProduct302SpecificData {
|
|
80
|
-
networks?: string[] | null;
|
|
81
|
-
}
|
|
82
|
-
export interface PaymentProduct320SpecificData {
|
|
83
|
-
gateway?: string | null;
|
|
84
|
-
networks?: string[] | null;
|
|
85
|
-
}
|
|
86
|
-
export interface PaymentProduct863SpecificData {
|
|
87
|
-
integrationTypes?: string[] | null;
|
|
88
|
-
}
|
|
89
|
-
export interface PaymentProductDisplayHints {
|
|
90
|
-
displayOrder?: number | null;
|
|
91
|
-
label?: string | null;
|
|
92
|
-
logo?: string | null;
|
|
93
|
-
}
|
|
94
|
-
export interface PaymentProductField {
|
|
95
|
-
dataRestrictions?: PaymentProductFieldDataRestrictions | null;
|
|
96
|
-
displayHints?: PaymentProductFieldDisplayHints | null;
|
|
97
|
-
id?: string | null;
|
|
98
|
-
type?: string | null;
|
|
99
|
-
usedForLookup?: boolean | null;
|
|
100
|
-
}
|
|
101
|
-
export interface PaymentProductFieldDataRestrictions {
|
|
102
|
-
isRequired?: boolean | null;
|
|
103
|
-
validators?: PaymentProductFieldValidators | null;
|
|
104
|
-
}
|
|
105
|
-
export interface PaymentProductFieldDisplayElement {
|
|
106
|
-
id?: string | null;
|
|
107
|
-
label?: string | null;
|
|
108
|
-
type?: string | null;
|
|
109
|
-
value?: string | null;
|
|
110
|
-
}
|
|
111
|
-
export interface PaymentProductFieldDisplayHints {
|
|
112
|
-
alwaysShow?: boolean | null;
|
|
113
|
-
displayOrder?: number | null;
|
|
114
|
-
formElement?: PaymentProductFieldFormElement | null;
|
|
115
|
-
label?: string | null;
|
|
116
|
-
link?: string | null;
|
|
117
|
-
mask?: string | null;
|
|
118
|
-
obfuscate?: boolean | null;
|
|
119
|
-
placeholderLabel?: string | null;
|
|
120
|
-
preferredInputType?: string | null;
|
|
121
|
-
tooltip?: PaymentProductFieldTooltip | null;
|
|
122
|
-
}
|
|
123
|
-
export interface PaymentProductFieldFormElement {
|
|
124
|
-
type?: string | null;
|
|
125
|
-
valueMapping?: ValueMappingElement[] | null;
|
|
126
|
-
}
|
|
127
|
-
export interface PaymentProductFieldTooltip {
|
|
128
|
-
image?: string | null;
|
|
129
|
-
label?: string | null;
|
|
130
|
-
}
|
|
131
|
-
export interface PaymentProductFieldValidators {
|
|
132
|
-
boletoBancarioRequiredness?: BoletoBancarioRequirednessValidator | null;
|
|
133
|
-
emailAddress?: EmptyValidator | null;
|
|
134
|
-
expirationDate?: EmptyValidator | null;
|
|
135
|
-
fixedList?: FixedListValidator | null;
|
|
136
|
-
iban?: EmptyValidator | null;
|
|
137
|
-
length?: LengthValidator | null;
|
|
138
|
-
luhn?: EmptyValidator | null;
|
|
139
|
-
range?: RangeValidator | null;
|
|
140
|
-
regularExpression?: RegularExpressionValidator | null;
|
|
141
|
-
residentIdNumber?: EmptyValidator | null;
|
|
142
|
-
termsAndConditions?: EmptyValidator | null;
|
|
143
|
-
}
|
|
144
|
-
export interface PaymentProductGroup {
|
|
145
|
-
accountsOnFile?: AccountOnFile[] | null;
|
|
146
|
-
allowsInstallments?: boolean | null;
|
|
147
|
-
deviceFingerprintEnabled?: boolean | null;
|
|
148
|
-
displayHints?: PaymentProductDisplayHints | null;
|
|
149
|
-
fields?: PaymentProductField[] | null;
|
|
150
|
-
id?: string | null;
|
|
151
|
-
}
|
|
152
|
-
export interface RangeValidator {
|
|
153
|
-
maxValue?: number | null;
|
|
154
|
-
minValue?: number | null;
|
|
155
|
-
}
|
|
156
|
-
export interface RegularExpressionValidator {
|
|
157
|
-
regularExpression?: string | null;
|
|
158
|
-
}
|
|
159
|
-
export interface ValueMappingElement {
|
|
160
|
-
displayElements?: PaymentProductFieldDisplayElement[] | null;
|
|
161
|
-
/**
|
|
162
|
-
* @deprecated Use displayElements instead with ID 'displayName'
|
|
163
|
-
*/
|
|
164
|
-
displayName?: string | null;
|
|
165
|
-
value?: string | null;
|
|
166
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/product/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { KeyValuePair } from "../definitions";
|
|
2
|
-
import { DirectoryEntry, MobilePaymentProductSession302SpecificInput, MobilePaymentProductSession302SpecificOutput, PaymentProduct, PaymentProductGroup } from "./definitions";
|
|
3
|
-
export interface CreatePaymentProductSessionRequest {
|
|
4
|
-
paymentProductSession302SpecificInput?: MobilePaymentProductSession302SpecificInput | null;
|
|
5
|
-
}
|
|
6
|
-
export interface CreatePaymentProductSessionResponse {
|
|
7
|
-
paymentProductSession302SpecificOutput?: MobilePaymentProductSession302SpecificOutput | null;
|
|
8
|
-
}
|
|
9
|
-
export interface DeviceFingerprintRequest {
|
|
10
|
-
collectorCallback?: string | null;
|
|
11
|
-
}
|
|
12
|
-
export interface DeviceFingerprintResponse {
|
|
13
|
-
deviceFingerprintTransactionId?: string | null;
|
|
14
|
-
html?: string | null;
|
|
15
|
-
}
|
|
16
|
-
export interface Directory {
|
|
17
|
-
entries?: DirectoryEntry[] | null;
|
|
18
|
-
}
|
|
19
|
-
export interface GetCustomerDetailsRequest {
|
|
20
|
-
countryCode?: string | null;
|
|
21
|
-
values?: KeyValuePair[] | null;
|
|
22
|
-
}
|
|
23
|
-
export interface GetCustomerDetailsResponse {
|
|
24
|
-
city?: string | null;
|
|
25
|
-
country?: string | null;
|
|
26
|
-
emailAddress?: string | null;
|
|
27
|
-
firstName?: string | null;
|
|
28
|
-
fiscalNumber?: string | null;
|
|
29
|
-
languageCode?: string | null;
|
|
30
|
-
phoneNumber?: string | null;
|
|
31
|
-
street?: string | null;
|
|
32
|
-
surname?: string | null;
|
|
33
|
-
zip?: string | null;
|
|
34
|
-
}
|
|
35
|
-
export interface PaymentProductGroupResponse extends PaymentProductGroup {
|
|
36
|
-
}
|
|
37
|
-
export interface PaymentProductGroups {
|
|
38
|
-
paymentProductGroups?: PaymentProductGroup[] | null;
|
|
39
|
-
}
|
|
40
|
-
export interface PaymentProductNetworksResponse {
|
|
41
|
-
networks?: string[] | null;
|
|
42
|
-
}
|
|
43
|
-
export interface PaymentProductResponse extends PaymentProduct {
|
|
44
|
-
}
|
|
45
|
-
export interface PaymentProducts {
|
|
46
|
-
paymentProducts?: PaymentProduct[] | null;
|
|
47
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/product/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { AbstractOrderStatus, BankAccountBban, BankAccountIban, CompanyInformation, ContactDetailsBase, OrderStatusOutput } from "../../definitions";
|
|
2
|
-
import { AddressPersonal, RefundOutput } from "../../payment/definitions";
|
|
3
|
-
export interface BankAccountBbanRefund extends BankAccountBban {
|
|
4
|
-
bankCity?: string | null;
|
|
5
|
-
patronymicName?: string | null;
|
|
6
|
-
swiftCode?: string | null;
|
|
7
|
-
}
|
|
8
|
-
export interface BankRefundMethodSpecificInput {
|
|
9
|
-
bankAccountBban?: BankAccountBbanRefund | null;
|
|
10
|
-
bankAccountIban?: BankAccountIban | null;
|
|
11
|
-
countryCode?: string | null;
|
|
12
|
-
}
|
|
13
|
-
export interface RefundCustomer {
|
|
14
|
-
address?: AddressPersonal | null;
|
|
15
|
-
companyInformation?: CompanyInformation | null;
|
|
16
|
-
contactDetails?: ContactDetailsBase | null;
|
|
17
|
-
fiscalNumber?: string | null;
|
|
18
|
-
}
|
|
19
|
-
export interface RefundReferences {
|
|
20
|
-
merchantReference?: string | null;
|
|
21
|
-
}
|
|
22
|
-
export interface RefundResult extends AbstractOrderStatus {
|
|
23
|
-
refundOutput?: RefundOutput | null;
|
|
24
|
-
status?: string | null;
|
|
25
|
-
statusOutput?: OrderStatusOutput | null;
|
|
26
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/refund/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { AmountOfMoney } from "../definitions";
|
|
2
|
-
import { APIError } from "../errors/definitions";
|
|
3
|
-
import { BankRefundMethodSpecificInput, RefundCustomer, RefundReferences, RefundResult } from "./definitions";
|
|
4
|
-
export interface ApproveRefundRequest {
|
|
5
|
-
amount?: number | null;
|
|
6
|
-
}
|
|
7
|
-
export interface FindRefundsResponse {
|
|
8
|
-
limit?: number | null;
|
|
9
|
-
offset?: number | null;
|
|
10
|
-
refunds?: RefundResult[] | null;
|
|
11
|
-
totalCount?: number | null;
|
|
12
|
-
}
|
|
13
|
-
export interface RefundErrorResponse {
|
|
14
|
-
errorId?: string | null;
|
|
15
|
-
errors?: APIError[] | null;
|
|
16
|
-
refundResult?: RefundResult | null;
|
|
17
|
-
}
|
|
18
|
-
export interface RefundRequest {
|
|
19
|
-
amountOfMoney?: AmountOfMoney | null;
|
|
20
|
-
bankRefundMethodSpecificInput?: BankRefundMethodSpecificInput | null;
|
|
21
|
-
customer?: RefundCustomer | null;
|
|
22
|
-
refundDate?: string | null;
|
|
23
|
-
refundReferences?: RefundReferences | null;
|
|
24
|
-
}
|
|
25
|
-
export interface RefundResponse extends RefundResult {
|
|
26
|
-
}
|
|
27
|
-
export interface RefundsResponse {
|
|
28
|
-
refunds?: RefundResult[] | null;
|
|
29
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/refund/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { AdditionalOrderInputAirlineData, Address, AmountOfMoney, FraudFields, PersonalNameBase } from "../../definitions";
|
|
2
|
-
import { AddressPersonal } from "../../payment/definitions";
|
|
3
|
-
export interface ContactDetailsRiskAssessment {
|
|
4
|
-
emailAddress?: string | null;
|
|
5
|
-
}
|
|
6
|
-
export interface CustomerAccountRiskAssessment {
|
|
7
|
-
hasForgottenPassword?: boolean | null;
|
|
8
|
-
hasPassword?: boolean | null;
|
|
9
|
-
}
|
|
10
|
-
export interface CustomerDeviceRiskAssessment {
|
|
11
|
-
defaultFormFill?: string | null;
|
|
12
|
-
deviceFingerprintTransactionId?: string | null;
|
|
13
|
-
}
|
|
14
|
-
export interface CustomerRiskAssessment {
|
|
15
|
-
account?: CustomerAccountRiskAssessment | null;
|
|
16
|
-
accountType?: string | null;
|
|
17
|
-
billingAddress?: Address | null;
|
|
18
|
-
contactDetails?: ContactDetailsRiskAssessment | null;
|
|
19
|
-
device?: CustomerDeviceRiskAssessment | null;
|
|
20
|
-
isPreviousCustomer?: boolean | null;
|
|
21
|
-
locale?: string | null;
|
|
22
|
-
personalInformation?: PersonalInformationRiskAssessment | null;
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Use Order.shipping.address instead
|
|
25
|
-
*/
|
|
26
|
-
shippingAddress?: AddressPersonal | null;
|
|
27
|
-
}
|
|
28
|
-
export interface MerchantRiskAssessment {
|
|
29
|
-
websiteUrl?: string | null;
|
|
30
|
-
}
|
|
31
|
-
export interface OrderRiskAssessment {
|
|
32
|
-
additionalInput?: AdditionalOrderInputAirlineData | null;
|
|
33
|
-
amountOfMoney?: AmountOfMoney | null;
|
|
34
|
-
customer?: CustomerRiskAssessment | null;
|
|
35
|
-
shipping?: ShippingRiskAssessment | null;
|
|
36
|
-
}
|
|
37
|
-
export interface PersonalInformationRiskAssessment {
|
|
38
|
-
name?: PersonalNameRiskAssessment | null;
|
|
39
|
-
}
|
|
40
|
-
export interface PersonalNameRiskAssessment extends PersonalNameBase {
|
|
41
|
-
}
|
|
42
|
-
export interface RiskAssessment {
|
|
43
|
-
fraudFields?: FraudFields | null;
|
|
44
|
-
merchant?: MerchantRiskAssessment | null;
|
|
45
|
-
order?: OrderRiskAssessment | null;
|
|
46
|
-
paymentProductId?: number | null;
|
|
47
|
-
}
|
|
48
|
-
export interface ShippingRiskAssessment {
|
|
49
|
-
address?: AddressPersonal | null;
|
|
50
|
-
comments?: string | null;
|
|
51
|
-
trackingNumber?: string | null;
|
|
52
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/riskassessments/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BankAccountBban, BankAccountIban, Card, ResultDoRiskAssessment } from "../definitions";
|
|
2
|
-
import { RiskAssessment } from "./definitions";
|
|
3
|
-
export interface RiskAssessmentBankAccount extends RiskAssessment {
|
|
4
|
-
bankAccountBban?: BankAccountBban | null;
|
|
5
|
-
bankAccountIban?: BankAccountIban | null;
|
|
6
|
-
}
|
|
7
|
-
export interface RiskAssessmentCard extends RiskAssessment {
|
|
8
|
-
card?: Card | null;
|
|
9
|
-
}
|
|
10
|
-
export interface RiskAssessmentResponse {
|
|
11
|
-
results?: ResultDoRiskAssessment[] | null;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/riskassessments/index.ts"],"names":[],"mappings":""}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../../definitions";
|
|
2
|
-
export interface BankData {
|
|
3
|
-
newBankName?: string | null;
|
|
4
|
-
reformattedAccountNumber?: string | null;
|
|
5
|
-
reformattedBankCode?: string | null;
|
|
6
|
-
reformattedBranchCode?: string | null;
|
|
7
|
-
}
|
|
8
|
-
export interface BankDetails {
|
|
9
|
-
bankAccountBban?: BankAccountBban | null;
|
|
10
|
-
bankAccountIban?: BankAccountIban | null;
|
|
11
|
-
}
|
|
12
|
-
export interface IINDetail {
|
|
13
|
-
isAllowedInContext?: boolean | null;
|
|
14
|
-
paymentProductId?: number | null;
|
|
15
|
-
}
|
|
16
|
-
export interface PaymentContext {
|
|
17
|
-
amountOfMoney?: AmountOfMoney | null;
|
|
18
|
-
countryCode?: string | null;
|
|
19
|
-
isInstallments?: boolean | null;
|
|
20
|
-
isRecurring?: boolean | null;
|
|
21
|
-
}
|
|
22
|
-
export interface Swift {
|
|
23
|
-
bic?: string | null;
|
|
24
|
-
category?: string | null;
|
|
25
|
-
chipsUID?: string | null;
|
|
26
|
-
extraInfo?: string | null;
|
|
27
|
-
poBoxCountry?: string | null;
|
|
28
|
-
poBoxLocation?: string | null;
|
|
29
|
-
poBoxNumber?: string | null;
|
|
30
|
-
poBoxZip?: string | null;
|
|
31
|
-
routingBic?: string | null;
|
|
32
|
-
services?: string | null;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/services/definitions/index.ts"],"names":[],"mappings":""}
|