connect-sdk-nodejs 3.17.0 → 4.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 +27 -3
- package/lib/captures/get.d.ts +3 -0
- package/lib/captures/get.js +17 -0
- package/lib/captures/get.js.map +1 -0
- package/lib/captures/index.d.ts +3 -0
- package/lib/captures/index.js +13 -0
- package/lib/captures/index.js.map +1 -0
- package/lib/captures/refund.d.ts +4 -0
- package/lib/captures/refund.js +30 -0
- package/lib/captures/refund.js.map +1 -0
- package/lib/disputes/cancel.d.ts +3 -0
- package/lib/disputes/cancel.js +17 -0
- package/lib/disputes/cancel.js.map +1 -0
- package/lib/disputes/get.d.ts +3 -0
- package/lib/disputes/get.js +17 -0
- package/lib/disputes/get.js.map +1 -0
- package/lib/disputes/index.d.ts +3 -0
- package/lib/disputes/index.js +17 -0
- package/lib/disputes/index.js.map +1 -0
- package/lib/disputes/submit.d.ts +3 -0
- package/lib/disputes/submit.js +17 -0
- package/lib/disputes/submit.js.map +1 -0
- package/lib/disputes/uploadFile.d.ts +4 -0
- package/lib/disputes/uploadFile.js +17 -0
- package/lib/disputes/uploadFile.js.map +1 -0
- package/lib/files/getFile.d.ts +3 -0
- package/lib/files/getFile.js +17 -0
- package/lib/files/getFile.js.map +1 -0
- package/lib/files/index.d.ts +3 -0
- package/lib/files/index.js +11 -0
- package/lib/files/index.js.map +1 -0
- package/lib/hostedcheckouts/create.d.ts +4 -0
- package/lib/hostedcheckouts/create.js +30 -0
- package/lib/hostedcheckouts/create.js.map +1 -0
- package/lib/hostedcheckouts/get.d.ts +3 -0
- package/lib/hostedcheckouts/get.js +17 -0
- package/lib/hostedcheckouts/get.js.map +1 -0
- package/lib/hostedcheckouts/index.d.ts +3 -0
- package/lib/hostedcheckouts/index.js +15 -0
- package/lib/hostedcheckouts/index.js.map +1 -0
- package/lib/hostedcheckouts/remove.d.ts +3 -0
- package/lib/hostedcheckouts/remove.js +17 -0
- package/lib/hostedcheckouts/remove.js.map +1 -0
- package/lib/hostedmandatemanagements/create.d.ts +4 -0
- package/lib/hostedmandatemanagements/create.js +30 -0
- package/lib/hostedmandatemanagements/create.js.map +1 -0
- package/lib/hostedmandatemanagements/get.d.ts +3 -0
- package/lib/hostedmandatemanagements/get.js +17 -0
- package/lib/hostedmandatemanagements/get.js.map +1 -0
- package/lib/hostedmandatemanagements/index.d.ts +3 -0
- package/lib/hostedmandatemanagements/index.js +13 -0
- package/lib/hostedmandatemanagements/index.js.map +1 -0
- package/lib/index.d.ts +3 -0
- package/lib/index.js +85 -0
- package/lib/index.js.map +1 -0
- package/lib/mandates/block.d.ts +3 -0
- package/lib/mandates/block.js +17 -0
- package/lib/mandates/block.js.map +1 -0
- package/lib/mandates/create.d.ts +4 -0
- package/lib/mandates/create.js +30 -0
- package/lib/mandates/create.js.map +1 -0
- package/lib/mandates/createWithMandateReference.d.ts +4 -0
- package/lib/mandates/createWithMandateReference.js +30 -0
- package/lib/mandates/createWithMandateReference.js.map +1 -0
- package/lib/mandates/get.d.ts +3 -0
- package/lib/mandates/get.js +17 -0
- package/lib/mandates/get.js.map +1 -0
- package/lib/mandates/index.d.ts +3 -0
- package/lib/mandates/index.js +21 -0
- package/lib/mandates/index.js.map +1 -0
- package/lib/mandates/revoke.d.ts +3 -0
- package/lib/mandates/revoke.js +17 -0
- package/lib/mandates/revoke.js.map +1 -0
- package/lib/mandates/unblock.d.ts +3 -0
- package/lib/mandates/unblock.js +17 -0
- package/lib/mandates/unblock.js.map +1 -0
- package/lib/model/captures/index.d.ts +18 -0
- package/lib/model/captures/index.js +3 -0
- package/lib/model/captures/index.js.map +1 -0
- package/lib/model/disputes/index.d.ts +34 -0
- package/lib/model/disputes/index.js +3 -0
- package/lib/model/disputes/index.js.map +1 -0
- package/lib/model/domain/capture/definitions/index.d.ts +25 -0
- package/lib/model/domain/capture/definitions/index.js +3 -0
- package/lib/model/domain/capture/definitions/index.js.map +1 -0
- package/lib/model/domain/capture/index.d.ts +6 -0
- package/lib/model/domain/capture/index.js +3 -0
- package/lib/model/domain/capture/index.js.map +1 -0
- package/lib/model/domain/definitions/index.d.ts +311 -0
- package/lib/model/domain/definitions/index.js +3 -0
- package/lib/model/domain/definitions/index.js.map +1 -0
- package/lib/model/domain/dispute/definitions/index.d.ts +38 -0
- package/lib/model/domain/dispute/definitions/index.js +3 -0
- package/lib/model/domain/dispute/definitions/index.js.map +1 -0
- package/lib/model/domain/dispute/index.d.ts +18 -0
- package/lib/model/domain/dispute/index.js +3 -0
- package/lib/model/domain/dispute/index.js.map +1 -0
- package/lib/model/domain/errors/definitions/index.d.ts +9 -0
- package/{captures → lib/model/domain/errors/definitions}/index.js +2 -6
- package/lib/model/domain/errors/definitions/index.js.map +1 -0
- package/lib/model/domain/errors/index.d.ts +5 -0
- package/lib/model/domain/errors/index.js +3 -0
- package/lib/model/domain/errors/index.js.map +1 -0
- package/lib/model/domain/file/definitions/index.d.ts +6 -0
- package/{sessions → lib/model/domain/file/definitions}/index.js +2 -6
- package/lib/model/domain/file/definitions/index.js.map +1 -0
- package/lib/model/domain/hostedcheckout/definitions/index.d.ts +50 -0
- package/lib/model/domain/hostedcheckout/definitions/index.js +3 -0
- package/lib/model/domain/hostedcheckout/definitions/index.js.map +1 -0
- package/lib/model/domain/hostedcheckout/index.d.ts +27 -0
- package/lib/model/domain/hostedcheckout/index.js +3 -0
- package/lib/model/domain/hostedcheckout/index.js.map +1 -0
- package/lib/model/domain/hostedmandatemanagement/definitions/index.d.ts +15 -0
- package/lib/model/domain/hostedmandatemanagement/definitions/index.js +3 -0
- package/lib/model/domain/hostedmandatemanagement/definitions/index.js.map +1 -0
- package/lib/model/domain/hostedmandatemanagement/index.d.ts +15 -0
- package/lib/model/domain/hostedmandatemanagement/index.js +3 -0
- package/lib/model/domain/hostedmandatemanagement/index.js.map +1 -0
- package/lib/model/domain/mandates/definitions/index.d.ts +52 -0
- package/lib/model/domain/mandates/definitions/index.js +3 -0
- package/lib/model/domain/mandates/definitions/index.js.map +1 -0
- package/lib/model/domain/mandates/index.d.ts +10 -0
- package/lib/model/domain/mandates/index.js +3 -0
- package/lib/model/domain/mandates/index.js.map +1 -0
- package/lib/model/domain/metadata/index.d.ts +6 -0
- package/lib/model/domain/metadata/index.js +3 -0
- package/lib/model/domain/metadata/index.js.map +1 -0
- package/lib/model/domain/payment/definitions/index.d.ts +846 -0
- package/lib/model/domain/payment/definitions/index.js +3 -0
- package/lib/model/domain/payment/definitions/index.js.map +1 -0
- package/lib/model/domain/payment/index.d.ts +77 -0
- package/lib/model/domain/payment/index.js +3 -0
- package/lib/model/domain/payment/index.js.map +1 -0
- package/lib/model/domain/payout/definitions/index.d.ts +48 -0
- package/lib/model/domain/payout/definitions/index.js +3 -0
- package/lib/model/domain/payout/definitions/index.js.map +1 -0
- package/lib/model/domain/payout/index.d.ts +56 -0
- package/lib/model/domain/payout/index.js +3 -0
- package/lib/model/domain/payout/index.js.map +1 -0
- package/lib/model/domain/product/definitions/index.d.ts +164 -0
- package/lib/model/domain/product/definitions/index.js +3 -0
- package/lib/model/domain/product/definitions/index.js.map +1 -0
- package/lib/model/domain/product/index.d.ts +47 -0
- package/lib/model/domain/product/index.js +3 -0
- package/lib/model/domain/product/index.js.map +1 -0
- package/lib/model/domain/refund/definitions/index.d.ts +26 -0
- package/lib/model/domain/refund/definitions/index.js +3 -0
- package/lib/model/domain/refund/definitions/index.js.map +1 -0
- package/lib/model/domain/refund/index.d.ts +29 -0
- package/lib/model/domain/refund/index.js +3 -0
- package/lib/model/domain/refund/index.js.map +1 -0
- package/lib/model/domain/riskassessments/definitions/index.d.ts +52 -0
- package/lib/model/domain/riskassessments/definitions/index.js +3 -0
- package/lib/model/domain/riskassessments/definitions/index.js.map +1 -0
- package/lib/model/domain/riskassessments/index.d.ts +12 -0
- package/lib/model/domain/riskassessments/index.js +3 -0
- package/lib/model/domain/riskassessments/index.js.map +1 -0
- package/lib/model/domain/services/definitions/index.d.ts +33 -0
- package/lib/model/domain/services/definitions/index.js +3 -0
- package/lib/model/domain/services/definitions/index.js.map +1 -0
- package/lib/model/domain/services/index.d.ts +29 -0
- package/lib/model/domain/services/index.js +3 -0
- package/lib/model/domain/services/index.js.map +1 -0
- package/lib/model/domain/sessions/definitions/index.d.ts +5 -0
- package/lib/model/domain/sessions/definitions/index.js +3 -0
- package/lib/model/domain/sessions/definitions/index.js.map +1 -0
- package/lib/model/domain/sessions/index.d.ts +13 -0
- package/lib/model/domain/sessions/index.js +3 -0
- package/lib/model/domain/sessions/index.js.map +1 -0
- package/lib/model/domain/token/definitions/index.d.ts +102 -0
- package/lib/model/domain/token/definitions/index.js +3 -0
- package/lib/model/domain/token/definitions/index.js.map +1 -0
- package/lib/model/domain/token/index.d.ts +32 -0
- package/lib/model/domain/token/index.js +3 -0
- package/lib/model/domain/token/index.js.map +1 -0
- package/lib/model/domain/webhooks/index.d.ts +17 -0
- package/lib/model/domain/webhooks/index.js +3 -0
- package/lib/model/domain/webhooks/index.js.map +1 -0
- package/lib/model/files/index.d.ts +10 -0
- package/lib/model/files/index.js +3 -0
- package/lib/model/files/index.js.map +1 -0
- package/lib/model/hostedcheckouts/index.d.ts +25 -0
- package/lib/model/hostedcheckouts/index.js +3 -0
- package/lib/model/hostedcheckouts/index.js.map +1 -0
- package/lib/model/hostedmandatemanagements/index.d.ts +18 -0
- package/lib/model/hostedmandatemanagements/index.js +3 -0
- package/lib/model/hostedmandatemanagements/index.js.map +1 -0
- package/lib/model/index.d.ts +38 -0
- package/lib/model/index.js +14 -0
- package/lib/model/index.js.map +1 -0
- package/lib/model/mandates/index.d.ts +46 -0
- package/lib/model/mandates/index.js +3 -0
- package/lib/model/mandates/index.js.map +1 -0
- package/lib/model/payments/index.d.ts +132 -0
- package/lib/model/payments/index.js +3 -0
- package/lib/model/payments/index.js.map +1 -0
- package/lib/model/payouts/index.d.ts +52 -0
- package/lib/model/payouts/index.js +3 -0
- package/lib/model/payouts/index.js.map +1 -0
- package/lib/model/productgroups/index.d.ts +41 -0
- package/lib/model/productgroups/index.js +3 -0
- package/lib/model/productgroups/index.js.map +1 -0
- package/lib/model/products/index.d.ts +80 -0
- package/lib/model/products/index.js +3 -0
- package/lib/model/products/index.js.map +1 -0
- package/lib/model/refunds/index.d.ts +46 -0
- package/lib/model/refunds/index.js +3 -0
- package/lib/model/refunds/index.js.map +1 -0
- package/lib/model/riskassessments/index.d.ts +18 -0
- package/lib/model/riskassessments/index.js +3 -0
- package/lib/model/riskassessments/index.js.map +1 -0
- package/lib/model/services/index.d.ts +48 -0
- package/lib/model/services/index.js +3 -0
- package/lib/model/services/index.js.map +1 -0
- package/lib/model/sessions/index.d.ts +11 -0
- package/lib/model/sessions/index.js +3 -0
- package/lib/model/sessions/index.js.map +1 -0
- package/lib/model/tokens/index.d.ts +42 -0
- package/lib/model/tokens/index.js +3 -0
- package/lib/model/tokens/index.js.map +1 -0
- package/lib/model/types.d.ts +98 -0
- package/lib/model/types.js +3 -0
- package/lib/model/types.js.map +1 -0
- package/lib/model/webhooks/index.d.ts +36 -0
- package/lib/model/webhooks/index.js +25 -0
- package/lib/model/webhooks/index.js.map +1 -0
- package/lib/payments/approve.d.ts +4 -0
- package/lib/payments/approve.js +30 -0
- package/lib/payments/approve.js.map +1 -0
- package/lib/payments/cancel.d.ts +3 -0
- package/lib/payments/cancel.js +17 -0
- package/lib/payments/cancel.js.map +1 -0
- package/lib/payments/cancelapproval.d.ts +3 -0
- package/lib/payments/cancelapproval.js +17 -0
- package/lib/payments/cancelapproval.js.map +1 -0
- package/lib/payments/capture.d.ts +4 -0
- package/lib/payments/capture.js +30 -0
- package/lib/payments/capture.js.map +1 -0
- package/lib/payments/captures.d.ts +3 -0
- package/lib/payments/captures.js +17 -0
- package/lib/payments/captures.js.map +1 -0
- package/lib/payments/complete.d.ts +4 -0
- package/lib/payments/complete.js +30 -0
- package/lib/payments/complete.js.map +1 -0
- package/lib/payments/create.d.ts +4 -0
- package/lib/payments/create.js +30 -0
- package/lib/payments/create.js.map +1 -0
- package/lib/payments/devicefingerprint.d.ts +3 -0
- package/lib/payments/devicefingerprint.js +17 -0
- package/lib/payments/devicefingerprint.js.map +1 -0
- package/lib/payments/dispute.d.ts +4 -0
- package/lib/payments/dispute.js +30 -0
- package/lib/payments/dispute.js.map +1 -0
- package/lib/payments/disputes.d.ts +3 -0
- package/lib/payments/disputes.js +17 -0
- package/lib/payments/disputes.js.map +1 -0
- package/lib/payments/find.d.ts +4 -0
- package/lib/payments/find.js +17 -0
- package/lib/payments/find.js.map +1 -0
- package/lib/payments/get.d.ts +3 -0
- package/lib/payments/get.js +17 -0
- package/lib/payments/get.js.map +1 -0
- package/lib/payments/index.d.ts +3 -0
- package/lib/payments/index.js +43 -0
- package/lib/payments/index.js.map +1 -0
- package/lib/payments/processchallenged.d.ts +3 -0
- package/lib/payments/processchallenged.js +17 -0
- package/lib/payments/processchallenged.js.map +1 -0
- package/lib/payments/refund.d.ts +4 -0
- package/lib/payments/refund.js +30 -0
- package/lib/payments/refund.js.map +1 -0
- package/lib/payments/refunds.d.ts +3 -0
- package/lib/payments/refunds.js +17 -0
- package/lib/payments/refunds.js.map +1 -0
- package/lib/payments/thirdPartyStatus.d.ts +3 -0
- package/lib/payments/thirdPartyStatus.js +17 -0
- package/lib/payments/thirdPartyStatus.js.map +1 -0
- package/lib/payments/tokenize.d.ts +4 -0
- package/lib/payments/tokenize.js +30 -0
- package/lib/payments/tokenize.js.map +1 -0
- package/lib/payouts/approve.d.ts +4 -0
- package/lib/payouts/approve.js +30 -0
- package/lib/payouts/approve.js.map +1 -0
- package/lib/payouts/cancel.d.ts +3 -0
- package/lib/payouts/cancel.js +17 -0
- package/lib/payouts/cancel.js.map +1 -0
- package/lib/payouts/cancelapproval.d.ts +3 -0
- package/lib/payouts/cancelapproval.js +17 -0
- package/lib/payouts/cancelapproval.js.map +1 -0
- package/lib/payouts/create.d.ts +4 -0
- package/lib/payouts/create.js +30 -0
- package/lib/payouts/create.js.map +1 -0
- package/lib/payouts/find.d.ts +4 -0
- package/lib/payouts/find.js +17 -0
- package/lib/payouts/find.js.map +1 -0
- package/lib/payouts/get.d.ts +3 -0
- package/lib/payouts/get.js +17 -0
- package/lib/payouts/get.js.map +1 -0
- package/lib/payouts/index.d.ts +3 -0
- package/lib/payouts/index.js +21 -0
- package/lib/payouts/index.js.map +1 -0
- package/lib/productgroups/deviceFingerprint.d.ts +4 -0
- package/lib/productgroups/deviceFingerprint.js +30 -0
- package/lib/productgroups/deviceFingerprint.js.map +1 -0
- package/lib/productgroups/find.d.ts +4 -0
- package/lib/productgroups/find.js +17 -0
- package/lib/productgroups/find.js.map +1 -0
- package/lib/productgroups/get.d.ts +4 -0
- package/lib/productgroups/get.js +17 -0
- package/lib/productgroups/get.js.map +1 -0
- package/lib/productgroups/index.d.ts +3 -0
- package/lib/productgroups/index.js +15 -0
- package/lib/productgroups/index.js.map +1 -0
- package/lib/products/customerDetails.d.ts +4 -0
- package/lib/products/customerDetails.js +30 -0
- package/lib/products/customerDetails.js.map +1 -0
- package/lib/products/deviceFingerprint.d.ts +4 -0
- package/lib/products/deviceFingerprint.js +30 -0
- package/lib/products/deviceFingerprint.js.map +1 -0
- package/lib/products/directory.d.ts +4 -0
- package/lib/products/directory.js +17 -0
- package/lib/products/directory.js.map +1 -0
- package/lib/products/find.d.ts +4 -0
- package/lib/products/find.js +17 -0
- package/lib/products/find.js.map +1 -0
- package/lib/products/get.d.ts +4 -0
- package/lib/products/get.js +17 -0
- package/lib/products/get.js.map +1 -0
- package/lib/products/index.d.ts +3 -0
- package/lib/products/index.js +23 -0
- package/lib/products/index.js.map +1 -0
- package/lib/products/networks.d.ts +4 -0
- package/lib/products/networks.js +17 -0
- package/lib/products/networks.js.map +1 -0
- package/lib/products/sessions.d.ts +4 -0
- package/lib/products/sessions.js +30 -0
- package/lib/products/sessions.js.map +1 -0
- package/lib/refunds/approve.d.ts +4 -0
- package/lib/refunds/approve.js +30 -0
- package/lib/refunds/approve.js.map +1 -0
- package/lib/refunds/cancel.d.ts +3 -0
- package/lib/refunds/cancel.js +17 -0
- package/lib/refunds/cancel.js.map +1 -0
- package/lib/refunds/cancelapproval.d.ts +3 -0
- package/lib/refunds/cancelapproval.js +17 -0
- package/lib/refunds/cancelapproval.js.map +1 -0
- package/lib/refunds/find.d.ts +4 -0
- package/lib/refunds/find.js +17 -0
- package/lib/refunds/find.js.map +1 -0
- package/lib/refunds/get.d.ts +3 -0
- package/lib/refunds/get.js +17 -0
- package/lib/refunds/get.js.map +1 -0
- package/lib/refunds/index.d.ts +3 -0
- package/lib/refunds/index.js +19 -0
- package/lib/refunds/index.js.map +1 -0
- package/lib/riskassessments/bankaccounts.d.ts +4 -0
- package/lib/riskassessments/bankaccounts.js +30 -0
- package/lib/riskassessments/bankaccounts.js.map +1 -0
- package/lib/riskassessments/cards.d.ts +4 -0
- package/lib/riskassessments/cards.js +30 -0
- package/lib/riskassessments/cards.js.map +1 -0
- package/lib/riskassessments/index.d.ts +3 -0
- package/lib/riskassessments/index.js +13 -0
- package/lib/riskassessments/index.js.map +1 -0
- package/lib/services/bankaccount.d.ts +4 -0
- package/lib/services/bankaccount.js +30 -0
- package/lib/services/bankaccount.js.map +1 -0
- package/lib/services/convertAmount.d.ts +4 -0
- package/lib/services/convertAmount.js +17 -0
- package/lib/services/convertAmount.js.map +1 -0
- package/lib/services/getIINdetails.d.ts +4 -0
- package/lib/services/getIINdetails.js +30 -0
- package/lib/services/getIINdetails.js.map +1 -0
- package/lib/services/index.d.ts +3 -0
- package/lib/services/index.js +19 -0
- package/lib/services/index.js.map +1 -0
- package/lib/services/privacypolicy.d.ts +4 -0
- package/lib/services/privacypolicy.js +17 -0
- package/lib/services/privacypolicy.js.map +1 -0
- package/lib/services/testconnection.d.ts +3 -0
- package/lib/services/testconnection.js +17 -0
- package/lib/services/testconnection.js.map +1 -0
- package/lib/sessions/create.d.ts +4 -0
- package/lib/sessions/create.js +30 -0
- package/lib/sessions/create.js.map +1 -0
- package/lib/sessions/index.d.ts +3 -0
- package/lib/sessions/index.js +11 -0
- package/lib/sessions/index.js.map +1 -0
- package/lib/tokens/approvesepadirectdebit.d.ts +4 -0
- package/lib/tokens/approvesepadirectdebit.js +30 -0
- package/lib/tokens/approvesepadirectdebit.js.map +1 -0
- package/lib/tokens/create.d.ts +4 -0
- package/lib/tokens/create.js +30 -0
- package/lib/tokens/create.js.map +1 -0
- package/lib/tokens/get.d.ts +3 -0
- package/lib/tokens/get.js +17 -0
- package/lib/tokens/get.js.map +1 -0
- package/lib/tokens/index.d.ts +3 -0
- package/lib/tokens/index.js +19 -0
- package/lib/tokens/index.js.map +1 -0
- package/lib/tokens/remove.d.ts +4 -0
- package/lib/tokens/remove.js +17 -0
- package/lib/tokens/remove.js.map +1 -0
- package/lib/tokens/update.d.ts +4 -0
- package/lib/tokens/update.js +30 -0
- package/lib/tokens/update.js.map +1 -0
- package/lib/utils/communicator.d.ts +3 -0
- package/lib/utils/communicator.js +127 -0
- package/lib/utils/communicator.js.map +1 -0
- package/lib/utils/connection.d.ts +5 -0
- package/lib/utils/connection.js +114 -0
- package/lib/utils/connection.js.map +1 -0
- package/lib/utils/context.d.ts +3 -0
- package/lib/utils/context.js +113 -0
- package/lib/utils/context.js.map +1 -0
- package/lib/utils/headers.d.ts +9 -0
- package/lib/utils/headers.js +66 -0
- package/lib/utils/headers.js.map +1 -0
- package/lib/utils/obfuscate.d.ts +2 -0
- package/lib/utils/obfuscate.js +102 -0
- package/lib/utils/obfuscate.js.map +1 -0
- package/lib/utils/versions.d.ts +1 -0
- package/lib/utils/versions.js +9 -0
- package/lib/utils/versions.js.map +1 -0
- package/lib/webhooks/index.d.ts +3 -0
- package/lib/webhooks/index.js +129 -0
- package/lib/webhooks/index.js.map +1 -0
- package/package.json +91 -12
- package/schemas/hostedcheckout/CreateHostedCheckoutRequest.json +9 -0
- package/schemas/payment/CompletePaymentRequest.json +6 -0
- package/schemas/payment/CreatePaymentRequest.json +12 -0
- package/schemas/payout/CreatePayoutRequest.json +3 -0
- package/schemas/riskassessments/RiskAssessmentCard.json +3 -0
- package/captures/get.js +0 -18
- package/disputes/cancel.js +0 -18
- package/disputes/get.js +0 -18
- package/disputes/index.js +0 -17
- package/disputes/submit.js +0 -18
- package/disputes/uploadFile.js +0 -18
- package/files/getFile.js +0 -18
- package/files/index.js +0 -11
- package/hostedcheckouts/create.js +0 -30
- package/hostedcheckouts/get.js +0 -18
- package/hostedcheckouts/index.js +0 -13
- package/hostedmandatemanagements/create.js +0 -30
- package/hostedmandatemanagements/get.js +0 -18
- package/hostedmandatemanagements/index.js +0 -13
- package/index.js +0 -107
- package/mandates/block.js +0 -18
- package/mandates/create.js +0 -30
- package/mandates/createWithMandateReference.js +0 -30
- package/mandates/get.js +0 -18
- package/mandates/index.js +0 -21
- package/mandates/revoke.js +0 -18
- package/mandates/unblock.js +0 -18
- package/payments/approve.js +0 -30
- package/payments/cancel.js +0 -18
- package/payments/cancelapproval.js +0 -18
- package/payments/capture.js +0 -30
- package/payments/captures.js +0 -18
- package/payments/complete.js +0 -30
- package/payments/create.js +0 -30
- package/payments/devicefingerprint.js +0 -18
- package/payments/dispute.js +0 -30
- package/payments/disputes.js +0 -18
- package/payments/find.js +0 -18
- package/payments/get.js +0 -18
- package/payments/index.js +0 -43
- package/payments/processchallenged.js +0 -18
- package/payments/refund.js +0 -30
- package/payments/refunds.js +0 -18
- package/payments/thirdPartyStatus.js +0 -18
- package/payments/tokenize.js +0 -30
- package/payouts/approve.js +0 -30
- package/payouts/cancel.js +0 -18
- package/payouts/cancelapproval.js +0 -18
- package/payouts/create.js +0 -30
- package/payouts/find.js +0 -18
- package/payouts/get.js +0 -18
- package/payouts/index.js +0 -21
- package/productgroups/deviceFingerprint.js +0 -30
- package/productgroups/find.js +0 -18
- package/productgroups/get.js +0 -18
- package/productgroups/index.js +0 -15
- package/products/customerDetails.js +0 -30
- package/products/deviceFingerprint.js +0 -30
- package/products/directory.js +0 -18
- package/products/find.js +0 -18
- package/products/get.js +0 -18
- package/products/index.js +0 -23
- package/products/networks.js +0 -18
- package/products/sessions.js +0 -30
- package/refunds/approve.js +0 -30
- package/refunds/cancel.js +0 -18
- package/refunds/cancelapproval.js +0 -18
- package/refunds/find.js +0 -18
- package/refunds/get.js +0 -18
- package/refunds/index.js +0 -19
- package/riskassessments/bankaccounts.js +0 -30
- package/riskassessments/cards.js +0 -30
- package/riskassessments/index.js +0 -13
- package/services/bankaccount.js +0 -30
- package/services/convertAmount.js +0 -18
- package/services/getIINdetails.js +0 -30
- package/services/index.js +0 -19
- package/services/privacypolicy.js +0 -18
- package/services/testconnection.js +0 -18
- package/sessions/create.js +0 -30
- package/tokens/approvesepadirectdebit.js +0 -30
- package/tokens/create.js +0 -30
- package/tokens/get.js +0 -18
- package/tokens/index.js +0 -19
- package/tokens/remove.js +0 -18
- package/tokens/update.js +0 -30
- package/utils/communicator.js +0 -129
- package/utils/connection.js +0 -117
- package/utils/context.js +0 -102
- package/utils/headers.js +0 -77
- package/utils/obfuscate.js +0 -101
- package/webhooks/index.js +0 -133
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/payment/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/payment/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 PayoutRecipient {
|
|
35
|
+
firstName?: string | null;
|
|
36
|
+
surname?: string | null;
|
|
37
|
+
surnamePrefix?: string | null;
|
|
38
|
+
}
|
|
39
|
+
export interface PayoutReferences {
|
|
40
|
+
invoiceNumber?: string | null;
|
|
41
|
+
merchantOrderId?: number | null;
|
|
42
|
+
merchantReference?: string | null;
|
|
43
|
+
}
|
|
44
|
+
export interface PayoutResult extends AbstractOrderStatus {
|
|
45
|
+
payoutOutput?: OrderOutput | null;
|
|
46
|
+
status?: string | null;
|
|
47
|
+
statusOutput?: OrderStatusOutput | null;
|
|
48
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/payout/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { AmountOfMoney, BankAccountBban, BankAccountIban } from "../definitions";
|
|
2
|
+
import { APIError } from "../errors/definitions";
|
|
3
|
+
import { BankTransferPayoutMethodSpecificInput, CardPayoutMethodSpecificInput, PayoutCustomer, PayoutDetails, 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
|
+
/**
|
|
27
|
+
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
28
|
+
*/
|
|
29
|
+
payoutDate?: string | null;
|
|
30
|
+
payoutDetails?: PayoutDetails | null;
|
|
31
|
+
/**
|
|
32
|
+
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
33
|
+
*/
|
|
34
|
+
payoutText?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
* @deprecated Moved to PayoutDetails
|
|
37
|
+
*/
|
|
38
|
+
references?: PayoutReferences | null;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Moved to BankTransferPayoutMethodSpecificInput
|
|
41
|
+
*/
|
|
42
|
+
swiftCode?: string | null;
|
|
43
|
+
}
|
|
44
|
+
export interface FindPayoutsResponse {
|
|
45
|
+
limit?: number | null;
|
|
46
|
+
offset?: number | null;
|
|
47
|
+
payouts?: PayoutResult[] | null;
|
|
48
|
+
totalCount?: number | null;
|
|
49
|
+
}
|
|
50
|
+
export interface PayoutErrorResponse {
|
|
51
|
+
errorId?: string | null;
|
|
52
|
+
errors?: APIError[] | null;
|
|
53
|
+
payoutResult?: PayoutResult | null;
|
|
54
|
+
}
|
|
55
|
+
export interface PayoutResponse extends PayoutResult {
|
|
56
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/payout/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
isJavaScriptRequired?: boolean | null;
|
|
67
|
+
maxAmount?: number | null;
|
|
68
|
+
minAmount?: number | null;
|
|
69
|
+
mobileIntegrationLevel?: string | null;
|
|
70
|
+
paymentMethod?: string | null;
|
|
71
|
+
paymentProduct302SpecificData?: PaymentProduct302SpecificData | null;
|
|
72
|
+
paymentProduct320SpecificData?: PaymentProduct320SpecificData | null;
|
|
73
|
+
paymentProduct863SpecificData?: PaymentProduct863SpecificData | null;
|
|
74
|
+
paymentProductGroup?: string | null;
|
|
75
|
+
usesRedirectionTo3rdParty?: boolean | null;
|
|
76
|
+
}
|
|
77
|
+
export interface PaymentProduct302SpecificData {
|
|
78
|
+
networks?: string[] | null;
|
|
79
|
+
}
|
|
80
|
+
export interface PaymentProduct320SpecificData {
|
|
81
|
+
gateway?: string | null;
|
|
82
|
+
networks?: string[] | null;
|
|
83
|
+
}
|
|
84
|
+
export interface PaymentProduct863SpecificData {
|
|
85
|
+
integrationTypes?: string[] | null;
|
|
86
|
+
}
|
|
87
|
+
export interface PaymentProductDisplayHints {
|
|
88
|
+
displayOrder?: number | null;
|
|
89
|
+
label?: string | null;
|
|
90
|
+
logo?: string | null;
|
|
91
|
+
}
|
|
92
|
+
export interface PaymentProductField {
|
|
93
|
+
dataRestrictions?: PaymentProductFieldDataRestrictions | null;
|
|
94
|
+
displayHints?: PaymentProductFieldDisplayHints | null;
|
|
95
|
+
id?: string | null;
|
|
96
|
+
type?: string | null;
|
|
97
|
+
usedForLookup?: boolean | null;
|
|
98
|
+
}
|
|
99
|
+
export interface PaymentProductFieldDataRestrictions {
|
|
100
|
+
isRequired?: boolean | null;
|
|
101
|
+
validators?: PaymentProductFieldValidators | null;
|
|
102
|
+
}
|
|
103
|
+
export interface PaymentProductFieldDisplayElement {
|
|
104
|
+
id?: string | null;
|
|
105
|
+
label?: string | null;
|
|
106
|
+
type?: string | null;
|
|
107
|
+
value?: string | null;
|
|
108
|
+
}
|
|
109
|
+
export interface PaymentProductFieldDisplayHints {
|
|
110
|
+
alwaysShow?: boolean | null;
|
|
111
|
+
displayOrder?: number | null;
|
|
112
|
+
formElement?: PaymentProductFieldFormElement | null;
|
|
113
|
+
label?: string | null;
|
|
114
|
+
link?: string | null;
|
|
115
|
+
mask?: string | null;
|
|
116
|
+
obfuscate?: boolean | null;
|
|
117
|
+
placeholderLabel?: string | null;
|
|
118
|
+
preferredInputType?: string | null;
|
|
119
|
+
tooltip?: PaymentProductFieldTooltip | null;
|
|
120
|
+
}
|
|
121
|
+
export interface PaymentProductFieldFormElement {
|
|
122
|
+
type?: string | null;
|
|
123
|
+
valueMapping?: ValueMappingElement[] | null;
|
|
124
|
+
}
|
|
125
|
+
export interface PaymentProductFieldTooltip {
|
|
126
|
+
image?: string | null;
|
|
127
|
+
label?: string | null;
|
|
128
|
+
}
|
|
129
|
+
export interface PaymentProductFieldValidators {
|
|
130
|
+
boletoBancarioRequiredness?: BoletoBancarioRequirednessValidator | null;
|
|
131
|
+
emailAddress?: EmptyValidator | null;
|
|
132
|
+
expirationDate?: EmptyValidator | null;
|
|
133
|
+
fixedList?: FixedListValidator | null;
|
|
134
|
+
iban?: EmptyValidator | null;
|
|
135
|
+
length?: LengthValidator | null;
|
|
136
|
+
luhn?: EmptyValidator | null;
|
|
137
|
+
range?: RangeValidator | null;
|
|
138
|
+
regularExpression?: RegularExpressionValidator | null;
|
|
139
|
+
residentIdNumber?: EmptyValidator | null;
|
|
140
|
+
termsAndConditions?: EmptyValidator | null;
|
|
141
|
+
}
|
|
142
|
+
export interface PaymentProductGroup {
|
|
143
|
+
accountsOnFile?: AccountOnFile[] | null;
|
|
144
|
+
allowsInstallments?: boolean | null;
|
|
145
|
+
deviceFingerprintEnabled?: boolean | null;
|
|
146
|
+
displayHints?: PaymentProductDisplayHints | null;
|
|
147
|
+
fields?: PaymentProductField[] | null;
|
|
148
|
+
id?: string | null;
|
|
149
|
+
}
|
|
150
|
+
export interface RangeValidator {
|
|
151
|
+
maxValue?: number | null;
|
|
152
|
+
minValue?: number | null;
|
|
153
|
+
}
|
|
154
|
+
export interface RegularExpressionValidator {
|
|
155
|
+
regularExpression?: string | null;
|
|
156
|
+
}
|
|
157
|
+
export interface ValueMappingElement {
|
|
158
|
+
displayElements?: PaymentProductFieldDisplayElement[] | null;
|
|
159
|
+
/**
|
|
160
|
+
* @deprecated Use displayElements instead with ID 'displayName'
|
|
161
|
+
*/
|
|
162
|
+
displayName?: string | null;
|
|
163
|
+
value?: string | null;
|
|
164
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/product/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,47 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/product/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/refund/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/refund/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/riskassessments/definitions/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/model/domain/riskassessments/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/model/domain/services/definitions/index.ts"],"names":[],"mappings":""}
|