-
Notifications
You must be signed in to change notification settings - Fork 58
/
verificationError.ts
136 lines (130 loc) · 5.61 KB
/
verificationError.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/*
* The version of the OpenAPI document: v2
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit this class manually.
*/
import { RemediatingAction } from './remediatingAction';
import { VerificationErrorRecursive } from './verificationErrorRecursive';
export class VerificationError {
/**
* Contains the capabilities that the verification error applies to.
*/
'capabilities'?: Array<VerificationError.CapabilitiesEnum>;
/**
* The verification error code.
*/
'code'?: string;
/**
* A description of the error.
*/
'message'?: string;
/**
* Contains the actions that you can take to resolve the verification error.
*/
'remediatingActions'?: Array<RemediatingAction>;
/**
* Contains more granular information about the verification error.
*/
'subErrors'?: Array<VerificationErrorRecursive>;
/**
* The type of error. Possible values: **invalidInput**, **dataMissing**.
*/
'type'?: VerificationError.TypeEnum;
static discriminator: string | undefined = undefined;
static attributeTypeMap: Array<{name: string, baseName: string, type: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "Array<VerificationError.CapabilitiesEnum>"
},
{
"name": "code",
"baseName": "code",
"type": "string"
},
{
"name": "message",
"baseName": "message",
"type": "string"
},
{
"name": "remediatingActions",
"baseName": "remediatingActions",
"type": "Array<RemediatingAction>"
},
{
"name": "subErrors",
"baseName": "subErrors",
"type": "Array<VerificationErrorRecursive>"
},
{
"name": "type",
"baseName": "type",
"type": "VerificationError.TypeEnum"
} ];
static getAttributeTypeMap() {
return VerificationError.attributeTypeMap;
}
}
export namespace VerificationError {
export enum CapabilitiesEnum {
AcceptExternalFunding = 'acceptExternalFunding',
AcceptPspFunding = 'acceptPspFunding',
AcceptTransactionInRestrictedCountries = 'acceptTransactionInRestrictedCountries',
AcceptTransactionInRestrictedCountriesCommercial = 'acceptTransactionInRestrictedCountriesCommercial',
AcceptTransactionInRestrictedCountriesConsumer = 'acceptTransactionInRestrictedCountriesConsumer',
AcceptTransactionInRestrictedIndustries = 'acceptTransactionInRestrictedIndustries',
AcceptTransactionInRestrictedIndustriesCommercial = 'acceptTransactionInRestrictedIndustriesCommercial',
AcceptTransactionInRestrictedIndustriesConsumer = 'acceptTransactionInRestrictedIndustriesConsumer',
Acquiring = 'acquiring',
AtmWithdrawal = 'atmWithdrawal',
AtmWithdrawalCommercial = 'atmWithdrawalCommercial',
AtmWithdrawalConsumer = 'atmWithdrawalConsumer',
AtmWithdrawalInRestrictedCountries = 'atmWithdrawalInRestrictedCountries',
AtmWithdrawalInRestrictedCountriesCommercial = 'atmWithdrawalInRestrictedCountriesCommercial',
AtmWithdrawalInRestrictedCountriesConsumer = 'atmWithdrawalInRestrictedCountriesConsumer',
AuthorisedPaymentInstrumentUser = 'authorisedPaymentInstrumentUser',
GetGrantOffers = 'getGrantOffers',
IssueBankAccount = 'issueBankAccount',
IssueCard = 'issueCard',
IssueCardCommercial = 'issueCardCommercial',
IssueCardConsumer = 'issueCardConsumer',
LocalAcceptance = 'localAcceptance',
Payout = 'payout',
PayoutToTransferInstrument = 'payoutToTransferInstrument',
Processing = 'processing',
ReceiveFromBalanceAccount = 'receiveFromBalanceAccount',
ReceiveFromPlatformPayments = 'receiveFromPlatformPayments',
ReceiveFromThirdParty = 'receiveFromThirdParty',
ReceiveFromTransferInstrument = 'receiveFromTransferInstrument',
ReceiveGrants = 'receiveGrants',
ReceivePayments = 'receivePayments',
SendToBalanceAccount = 'sendToBalanceAccount',
SendToThirdParty = 'sendToThirdParty',
SendToTransferInstrument = 'sendToTransferInstrument',
ThirdPartyFunding = 'thirdPartyFunding',
UseCard = 'useCard',
UseCardCommercial = 'useCardCommercial',
UseCardConsumer = 'useCardConsumer',
UseCardInRestrictedCountries = 'useCardInRestrictedCountries',
UseCardInRestrictedCountriesCommercial = 'useCardInRestrictedCountriesCommercial',
UseCardInRestrictedCountriesConsumer = 'useCardInRestrictedCountriesConsumer',
UseCardInRestrictedIndustries = 'useCardInRestrictedIndustries',
UseCardInRestrictedIndustriesCommercial = 'useCardInRestrictedIndustriesCommercial',
UseCardInRestrictedIndustriesConsumer = 'useCardInRestrictedIndustriesConsumer',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
WithdrawFromAtmInRestrictedCountries = 'withdrawFromAtmInRestrictedCountries',
WithdrawFromAtmInRestrictedCountriesCommercial = 'withdrawFromAtmInRestrictedCountriesCommercial',
WithdrawFromAtmInRestrictedCountriesConsumer = 'withdrawFromAtmInRestrictedCountriesConsumer'
}
export enum TypeEnum {
DataMissing = 'dataMissing',
InvalidInput = 'invalidInput',
PendingStatus = 'pendingStatus'
}
}