-
Notifications
You must be signed in to change notification settings - Fork 88
Expand file tree
/
Copy pathverificationError.ts
More file actions
154 lines (145 loc) · 6.23 KB
/
verificationError.ts
File metadata and controls
154 lines (145 loc) · 6.23 KB
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
/*
* 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** * **pendingStatus** * **dataReview**
*/
"type"?: VerificationError.TypeEnum;
static readonly discriminator: string | undefined = undefined;
static readonly mapping: {[index: string]: string} | undefined = undefined;
static readonly attributeTypeMap: Array<{name: string, baseName: string, type: string, format: string}> = [
{
"name": "capabilities",
"baseName": "capabilities",
"type": "VerificationError.CapabilitiesEnum",
"format": ""
},
{
"name": "code",
"baseName": "code",
"type": "string",
"format": ""
},
{
"name": "message",
"baseName": "message",
"type": "string",
"format": ""
},
{
"name": "remediatingActions",
"baseName": "remediatingActions",
"type": "Array<RemediatingAction>",
"format": ""
},
{
"name": "subErrors",
"baseName": "subErrors",
"type": "Array<VerificationErrorRecursive>",
"format": ""
},
{
"name": "type",
"baseName": "type",
"type": "VerificationError.TypeEnum",
"format": ""
} ];
static getAttributeTypeMap() {
return VerificationError.attributeTypeMap;
}
public constructor() {
}
}
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',
IssueChargeCard = 'issueChargeCard',
IssueChargeCardCommercial = 'issueChargeCardCommercial',
IssueCreditLimit = 'issueCreditLimit',
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',
UseChargeCard = 'useChargeCard',
UseChargeCardCommercial = 'useChargeCardCommercial',
WithdrawFromAtm = 'withdrawFromAtm',
WithdrawFromAtmCommercial = 'withdrawFromAtmCommercial',
WithdrawFromAtmConsumer = 'withdrawFromAtmConsumer',
WithdrawFromAtmInRestrictedCountries = 'withdrawFromAtmInRestrictedCountries',
WithdrawFromAtmInRestrictedCountriesCommercial = 'withdrawFromAtmInRestrictedCountriesCommercial',
WithdrawFromAtmInRestrictedCountriesConsumer = 'withdrawFromAtmInRestrictedCountriesConsumer'
}
export enum TypeEnum {
DataMissing = 'dataMissing',
DataReview = 'dataReview',
InvalidInput = 'invalidInput',
PendingStatus = 'pendingStatus'
}
}