@keetanetwork/anchor 0.0.41 → 0.0.43
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/lib/certificates.js +2 -2
- package/lib/certificates.js.map +1 -1
- package/lib/resolver.d.ts +19 -3
- package/lib/resolver.d.ts.map +1 -1
- package/lib/resolver.js +421 -355
- package/lib/resolver.js.map +1 -1
- package/lib/utils/json.d.ts +3 -6
- package/lib/utils/json.d.ts.map +1 -1
- package/lib/utils/json.js +3 -163
- package/lib/utils/json.js.map +1 -1
- package/npm-shrinkwrap.json +5 -5
- package/package.json +2 -2
- package/services/asset-movement/client.d.ts +2 -5
- package/services/asset-movement/client.d.ts.map +1 -1
- package/services/asset-movement/client.js +1 -2
- package/services/asset-movement/client.js.map +1 -1
- package/services/asset-movement/common.d.ts +56 -82
- package/services/asset-movement/common.d.ts.map +1 -1
- package/services/asset-movement/common.js +18314 -8000
- package/services/asset-movement/common.js.map +1 -1
- package/services/asset-movement/lib/data/addresses/bank-account/card.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/bank-account/card.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/card.js +34 -0
- package/services/asset-movement/lib/data/addresses/bank-account/card.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/clabe.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/bank-account/clabe.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/clabe.js +22 -0
- package/services/asset-movement/lib/data/addresses/bank-account/clabe.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/iban-swift.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/bank-account/iban-swift.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/iban-swift.js +43 -0
- package/services/asset-movement/lib/data/addresses/bank-account/iban-swift.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/index.generated.d.ts +15 -0
- package/services/asset-movement/lib/data/addresses/bank-account/index.generated.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/index.generated.js +16 -0
- package/services/asset-movement/lib/data/addresses/bank-account/index.generated.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/interac.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/bank-account/interac.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/interac.js +39 -0
- package/services/asset-movement/lib/data/addresses/bank-account/interac.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/pix.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/bank-account/pix.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/pix.js +31 -0
- package/services/asset-movement/lib/data/addresses/bank-account/pix.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/us.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/bank-account/us.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/bank-account/us.js +37 -0
- package/services/asset-movement/lib/data/addresses/bank-account/us.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/airtel-money.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/airtel-money.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/airtel-money.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/airtel-money.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/bkash.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/bkash.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/bkash.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/bkash.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/easy-paisa.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/easy-paisa.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/easy-paisa.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/easy-paisa.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/finja-wallet.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/finja-wallet.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/finja-wallet.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/finja-wallet.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/index.generated.d.ts +27 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/index.generated.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/index.generated.js +28 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/index.generated.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/jazz-cash.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/jazz-cash.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/jazz-cash.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/jazz-cash.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/mtn-mobile-money.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/mtn-mobile-money.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/mtn-mobile-money.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/mtn-mobile-money.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/nagad.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/nagad.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/nagad.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/nagad.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/naya-pay.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/naya-pay.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/naya-pay.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/naya-pay.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/paypal.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/paypal.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/paypal.js +19 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/paypal.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/rocket.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/rocket.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/rocket.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/rocket.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/sada-pay.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/sada-pay.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/sada-pay.js +7 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/sada-pay.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/venmo.d.ts +4 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/venmo.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/venmo.js +17 -0
- package/services/asset-movement/lib/data/addresses/mobile-wallet/venmo.js.map +1 -0
- package/services/asset-movement/lib/data/addresses/types.generated.d.ts +1590 -0
- package/services/asset-movement/lib/data/addresses/types.generated.d.ts.map +1 -0
- package/services/asset-movement/lib/data/addresses/types.generated.js +1895 -0
- package/services/asset-movement/lib/data/addresses/types.generated.js.map +1 -0
- package/services/asset-movement/lib/data/json-schema.d.ts +64 -0
- package/services/asset-movement/lib/data/json-schema.d.ts.map +1 -0
- package/services/asset-movement/lib/data/json-schema.js +2 -0
- package/services/asset-movement/lib/data/json-schema.js.map +1 -0
- package/services/asset-movement/lib/data/scripts/generator.d.ts +2 -0
- package/services/asset-movement/lib/data/scripts/generator.d.ts.map +1 -0
- package/services/asset-movement/lib/data/scripts/generator.js +140 -0
- package/services/asset-movement/lib/data/scripts/generator.js.map +1 -0
- package/services/asset-movement/lib/data/types.d.ts +23 -0
- package/services/asset-movement/lib/data/types.d.ts.map +1 -0
- package/services/asset-movement/lib/data/types.js +120 -0
- package/services/asset-movement/lib/data/types.js.map +1 -0
- package/services/asset-movement/lib/location.d.ts +11 -4
- package/services/asset-movement/lib/location.d.ts.map +1 -1
- package/services/asset-movement/lib/location.generated.d.ts +2 -1
- package/services/asset-movement/lib/location.generated.d.ts.map +1 -1
- package/services/asset-movement/lib/location.generated.js +15 -3
- package/services/asset-movement/lib/location.generated.js.map +1 -1
- package/services/asset-movement/lib/location.js +13 -1
- package/services/asset-movement/lib/location.js.map +1 -1
- package/services/fx/client.d.ts +17 -2
- package/services/fx/client.d.ts.map +1 -1
- package/services/fx/client.js +153 -76
- package/services/fx/client.js.map +1 -1
- package/services/fx/common.d.ts +11 -1
- package/services/fx/common.d.ts.map +1 -1
- package/services/fx/common.js +32 -10
- package/services/fx/common.js.map +1 -1
- package/services/fx/server.d.ts +37 -11
- package/services/fx/server.d.ts.map +1 -1
- package/services/fx/server.js +169 -92
- package/services/fx/server.js.map +1 -1
- package/services/storage/client.d.ts +11 -1
- package/services/storage/client.d.ts.map +1 -1
- package/services/storage/client.js +28 -6
- package/services/storage/client.js.map +1 -1
- package/services/storage/clients/contacts.d.ts.map +1 -1
- package/services/storage/clients/contacts.generated.js +1235 -338
- package/services/storage/clients/contacts.generated.js.map +1 -1
- package/services/storage/clients/contacts.js +7 -3
- package/services/storage/clients/contacts.js.map +1 -1
- package/services/storage/clients/icon.d.ts +29 -0
- package/services/storage/clients/icon.d.ts.map +1 -0
- package/services/storage/clients/icon.js +34 -0
- package/services/storage/clients/icon.js.map +1 -0
- package/services/storage/common.d.ts +14 -0
- package/services/storage/common.d.ts.map +1 -1
- package/services/storage/common.js.map +1 -1
- package/services/storage/test-utils.d.ts +15 -1
- package/services/storage/test-utils.d.ts.map +1 -1
- package/services/storage/test-utils.js +60 -0
- package/services/storage/test-utils.js.map +1 -1
- package/services/username/common.generated.js +38 -4
- package/services/username/common.generated.js.map +1 -1
|
@@ -0,0 +1,1590 @@
|
|
|
1
|
+
import type { ISOCountryCode } from "@keetanetwork/currency-info";
|
|
2
|
+
export type ResolvedAccountOwner = {
|
|
3
|
+
accountOwner: {
|
|
4
|
+
type: "individual";
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
};
|
|
8
|
+
} | {
|
|
9
|
+
accountOwner: {
|
|
10
|
+
type: "business";
|
|
11
|
+
businessName: string;
|
|
12
|
+
};
|
|
13
|
+
} | {
|
|
14
|
+
accountOwner: {
|
|
15
|
+
type: "unknown";
|
|
16
|
+
beneficiaryName: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export type CardType = "DEBIT" | "CREDIT" | "PREPAID" | "UNKNOWN";
|
|
20
|
+
export type PhoneNumber = string;
|
|
21
|
+
export type AirtelMoneyMobileWalletResolved = {
|
|
22
|
+
type: "mobile-wallet";
|
|
23
|
+
accountType: "airtel-money";
|
|
24
|
+
obfuscated?: false;
|
|
25
|
+
} & PhoneNumberObjectExtends;
|
|
26
|
+
export type AirtelMoneyMobileWalletObfuscated = {
|
|
27
|
+
type: "mobile-wallet";
|
|
28
|
+
accountType: "airtel-money";
|
|
29
|
+
obfuscated: true;
|
|
30
|
+
} & PhoneNumberObjectExtends;
|
|
31
|
+
export type BkashMobileWalletResolved = {
|
|
32
|
+
type: "mobile-wallet";
|
|
33
|
+
accountType: "bkash";
|
|
34
|
+
obfuscated?: false;
|
|
35
|
+
} & PhoneNumberObjectExtends;
|
|
36
|
+
export type BkashMobileWalletObfuscated = {
|
|
37
|
+
type: "mobile-wallet";
|
|
38
|
+
accountType: "bkash";
|
|
39
|
+
obfuscated: true;
|
|
40
|
+
} & PhoneNumberObjectExtends;
|
|
41
|
+
export type EasyPaisaMobileWalletResolved = {
|
|
42
|
+
type: "mobile-wallet";
|
|
43
|
+
accountType: "easy-paisa";
|
|
44
|
+
obfuscated?: false;
|
|
45
|
+
} & PhoneNumberObjectExtends;
|
|
46
|
+
export type EasyPaisaMobileWalletObfuscated = {
|
|
47
|
+
type: "mobile-wallet";
|
|
48
|
+
accountType: "easy-paisa";
|
|
49
|
+
obfuscated: true;
|
|
50
|
+
} & PhoneNumberObjectExtends;
|
|
51
|
+
export type FinjaWalletMobileWalletResolved = {
|
|
52
|
+
type: "mobile-wallet";
|
|
53
|
+
accountType: "finja-wallet";
|
|
54
|
+
obfuscated?: false;
|
|
55
|
+
} & PhoneNumberObjectExtends;
|
|
56
|
+
export type FinjaWalletMobileWalletObfuscated = {
|
|
57
|
+
type: "mobile-wallet";
|
|
58
|
+
accountType: "finja-wallet";
|
|
59
|
+
obfuscated: true;
|
|
60
|
+
} & PhoneNumberObjectExtends;
|
|
61
|
+
export type JazzCashMobileWalletResolved = {
|
|
62
|
+
type: "mobile-wallet";
|
|
63
|
+
accountType: "jazz-cash";
|
|
64
|
+
obfuscated?: false;
|
|
65
|
+
} & PhoneNumberObjectExtends;
|
|
66
|
+
export type JazzCashMobileWalletObfuscated = {
|
|
67
|
+
type: "mobile-wallet";
|
|
68
|
+
accountType: "jazz-cash";
|
|
69
|
+
obfuscated: true;
|
|
70
|
+
} & PhoneNumberObjectExtends;
|
|
71
|
+
export type MtnMobileMoneyMobileWalletResolved = {
|
|
72
|
+
type: "mobile-wallet";
|
|
73
|
+
accountType: "mtn-mobile-money";
|
|
74
|
+
obfuscated?: false;
|
|
75
|
+
} & PhoneNumberObjectExtends;
|
|
76
|
+
export type MtnMobileMoneyMobileWalletObfuscated = {
|
|
77
|
+
type: "mobile-wallet";
|
|
78
|
+
accountType: "mtn-mobile-money";
|
|
79
|
+
obfuscated: true;
|
|
80
|
+
} & PhoneNumberObjectExtends;
|
|
81
|
+
export type NagadMobileWalletResolved = {
|
|
82
|
+
type: "mobile-wallet";
|
|
83
|
+
accountType: "nagad";
|
|
84
|
+
obfuscated?: false;
|
|
85
|
+
} & PhoneNumberObjectExtends;
|
|
86
|
+
export type NagadMobileWalletObfuscated = {
|
|
87
|
+
type: "mobile-wallet";
|
|
88
|
+
accountType: "nagad";
|
|
89
|
+
obfuscated: true;
|
|
90
|
+
} & PhoneNumberObjectExtends;
|
|
91
|
+
export type NayaPayMobileWalletResolved = {
|
|
92
|
+
type: "mobile-wallet";
|
|
93
|
+
accountType: "naya-pay";
|
|
94
|
+
obfuscated?: false;
|
|
95
|
+
} & PhoneNumberObjectExtends;
|
|
96
|
+
export type NayaPayMobileWalletObfuscated = {
|
|
97
|
+
type: "mobile-wallet";
|
|
98
|
+
accountType: "naya-pay";
|
|
99
|
+
obfuscated: true;
|
|
100
|
+
} & PhoneNumberObjectExtends;
|
|
101
|
+
export type PaypalMobileWalletResolved = {
|
|
102
|
+
phoneNumber?: PhoneNumber;
|
|
103
|
+
email?: string;
|
|
104
|
+
} & {
|
|
105
|
+
type: "mobile-wallet";
|
|
106
|
+
accountType: "paypal";
|
|
107
|
+
obfuscated?: false;
|
|
108
|
+
};
|
|
109
|
+
export type PaypalMobileWalletObfuscated = {
|
|
110
|
+
phoneNumber?: PhoneNumber;
|
|
111
|
+
email?: string;
|
|
112
|
+
} & {
|
|
113
|
+
type: "mobile-wallet";
|
|
114
|
+
accountType: "paypal";
|
|
115
|
+
obfuscated: true;
|
|
116
|
+
};
|
|
117
|
+
export type RocketMobileWalletResolved = {
|
|
118
|
+
type: "mobile-wallet";
|
|
119
|
+
accountType: "rocket";
|
|
120
|
+
obfuscated?: false;
|
|
121
|
+
} & PhoneNumberObjectExtends;
|
|
122
|
+
export type RocketMobileWalletObfuscated = {
|
|
123
|
+
type: "mobile-wallet";
|
|
124
|
+
accountType: "rocket";
|
|
125
|
+
obfuscated: true;
|
|
126
|
+
} & PhoneNumberObjectExtends;
|
|
127
|
+
export type SadaPayMobileWalletResolved = {
|
|
128
|
+
type: "mobile-wallet";
|
|
129
|
+
accountType: "sada-pay";
|
|
130
|
+
obfuscated?: false;
|
|
131
|
+
} & PhoneNumberObjectExtends;
|
|
132
|
+
export type SadaPayMobileWalletObfuscated = {
|
|
133
|
+
type: "mobile-wallet";
|
|
134
|
+
accountType: "sada-pay";
|
|
135
|
+
obfuscated: true;
|
|
136
|
+
} & PhoneNumberObjectExtends;
|
|
137
|
+
export type VenmoMobileWalletResolved = {
|
|
138
|
+
username: string;
|
|
139
|
+
} & {
|
|
140
|
+
type: "mobile-wallet";
|
|
141
|
+
accountType: "venmo";
|
|
142
|
+
obfuscated?: false;
|
|
143
|
+
};
|
|
144
|
+
export type VenmoMobileWalletObfuscated = {
|
|
145
|
+
username: string;
|
|
146
|
+
} & {
|
|
147
|
+
type: "mobile-wallet";
|
|
148
|
+
accountType: "venmo";
|
|
149
|
+
obfuscated: true;
|
|
150
|
+
};
|
|
151
|
+
export type CardBankAccountResolved = {
|
|
152
|
+
ownerAddress?: PhysicalAddress;
|
|
153
|
+
cardNumber: string;
|
|
154
|
+
securityCode: string;
|
|
155
|
+
expirationDate: MonthYearDateInput;
|
|
156
|
+
cardType?: CardType;
|
|
157
|
+
} & {
|
|
158
|
+
type: "bank-account";
|
|
159
|
+
accountType: "card";
|
|
160
|
+
obfuscated?: false;
|
|
161
|
+
} & ResolvedAccountOwner;
|
|
162
|
+
export type CardBankAccountObfuscated = {
|
|
163
|
+
ownerAddress?: PhysicalAddress;
|
|
164
|
+
cardNumberEnding: string;
|
|
165
|
+
expirationDate?: MonthYearDateInput;
|
|
166
|
+
cardType?: CardType;
|
|
167
|
+
} & {
|
|
168
|
+
type: "bank-account";
|
|
169
|
+
accountType: "card";
|
|
170
|
+
obfuscated: true;
|
|
171
|
+
} & ObfuscatedAccountOwner & {
|
|
172
|
+
accountNumberEnding?: string;
|
|
173
|
+
};
|
|
174
|
+
export type ClabeBankAccountResolved = {
|
|
175
|
+
accountNumber: string;
|
|
176
|
+
} & {
|
|
177
|
+
type: "bank-account";
|
|
178
|
+
accountType: "clabe";
|
|
179
|
+
obfuscated?: false;
|
|
180
|
+
} & ResolvedAccountOwner & {
|
|
181
|
+
bankName?: string;
|
|
182
|
+
};
|
|
183
|
+
export type ClabeBankAccountObfuscated = {} & {
|
|
184
|
+
type: "bank-account";
|
|
185
|
+
accountType: "clabe";
|
|
186
|
+
obfuscated: true;
|
|
187
|
+
} & ObfuscatedAccountOwner & {
|
|
188
|
+
bankName?: string;
|
|
189
|
+
} & {
|
|
190
|
+
accountNumberEnding?: string;
|
|
191
|
+
};
|
|
192
|
+
export type IbanSwiftBankAccountResolved = {
|
|
193
|
+
country?: ISOCountryCode;
|
|
194
|
+
accountNumber?: string;
|
|
195
|
+
bic?: string;
|
|
196
|
+
iban?: string;
|
|
197
|
+
bankAddress?: PhysicalAddress;
|
|
198
|
+
swift?: {
|
|
199
|
+
category?: string;
|
|
200
|
+
purposeOfFunds?: string[];
|
|
201
|
+
businessDescription?: string;
|
|
202
|
+
};
|
|
203
|
+
} & {
|
|
204
|
+
type: "bank-account";
|
|
205
|
+
accountType: "iban-swift";
|
|
206
|
+
obfuscated?: false;
|
|
207
|
+
} & ResolvedAccountOwner & {
|
|
208
|
+
bankName?: string;
|
|
209
|
+
};
|
|
210
|
+
export type IbanSwiftBankAccountObfuscated = {
|
|
211
|
+
country?: ISOCountryCode;
|
|
212
|
+
bic?: string;
|
|
213
|
+
} & {
|
|
214
|
+
type: "bank-account";
|
|
215
|
+
accountType: "iban-swift";
|
|
216
|
+
obfuscated: true;
|
|
217
|
+
} & ObfuscatedAccountOwner & {
|
|
218
|
+
bankName?: string;
|
|
219
|
+
} & {
|
|
220
|
+
accountNumberEnding?: string;
|
|
221
|
+
};
|
|
222
|
+
export type InteracBankAccountResolved = {
|
|
223
|
+
/**
|
|
224
|
+
* Institution Number
|
|
225
|
+
*/
|
|
226
|
+
bankCode: string;
|
|
227
|
+
/**
|
|
228
|
+
* Account Number
|
|
229
|
+
*/
|
|
230
|
+
bankAccountNumber?: string;
|
|
231
|
+
/**
|
|
232
|
+
* Transit Code
|
|
233
|
+
*/
|
|
234
|
+
routingCode: string;
|
|
235
|
+
} & {
|
|
236
|
+
type: "bank-account";
|
|
237
|
+
accountType: "interac";
|
|
238
|
+
obfuscated?: false;
|
|
239
|
+
} & {
|
|
240
|
+
bankName?: string;
|
|
241
|
+
};
|
|
242
|
+
export type InteracBankAccountObfuscated = {} & {
|
|
243
|
+
type: "bank-account";
|
|
244
|
+
accountType: "interac";
|
|
245
|
+
obfuscated: true;
|
|
246
|
+
} & {
|
|
247
|
+
bankName?: string;
|
|
248
|
+
} & {
|
|
249
|
+
accountNumberEnding?: string;
|
|
250
|
+
};
|
|
251
|
+
export type PixBankAccountResolved = {
|
|
252
|
+
brCode?: string;
|
|
253
|
+
pixKey?: string;
|
|
254
|
+
document?: {
|
|
255
|
+
type?: "cpf" | "cnpj";
|
|
256
|
+
number: string;
|
|
257
|
+
};
|
|
258
|
+
} & {
|
|
259
|
+
type: "bank-account";
|
|
260
|
+
accountType: "pix";
|
|
261
|
+
obfuscated?: false;
|
|
262
|
+
} & ResolvedAccountOwner & {
|
|
263
|
+
bankName?: string;
|
|
264
|
+
};
|
|
265
|
+
export type PixBankAccountObfuscated = {} & {
|
|
266
|
+
type: "bank-account";
|
|
267
|
+
accountType: "pix";
|
|
268
|
+
obfuscated: true;
|
|
269
|
+
} & ObfuscatedAccountOwner & {
|
|
270
|
+
bankName?: string;
|
|
271
|
+
} & {
|
|
272
|
+
accountNumberEnding?: string;
|
|
273
|
+
};
|
|
274
|
+
export type UsBankAccountResolved = {
|
|
275
|
+
accountNumber: string;
|
|
276
|
+
routingNumber: string;
|
|
277
|
+
accountTypeDetail: "checking" | "savings";
|
|
278
|
+
accountAddress?: PhysicalAddress;
|
|
279
|
+
} & {
|
|
280
|
+
type: "bank-account";
|
|
281
|
+
accountType: "us";
|
|
282
|
+
obfuscated?: false;
|
|
283
|
+
} & ResolvedAccountOwner & {
|
|
284
|
+
bankName?: string;
|
|
285
|
+
};
|
|
286
|
+
export type UsBankAccountObfuscated = {
|
|
287
|
+
routingNumber: string;
|
|
288
|
+
accountTypeDetail?: "checking" | "savings";
|
|
289
|
+
accountAddress?: string | PhysicalAddress;
|
|
290
|
+
} & {
|
|
291
|
+
type: "bank-account";
|
|
292
|
+
accountType: "us";
|
|
293
|
+
obfuscated: true;
|
|
294
|
+
} & ObfuscatedAccountOwner & {
|
|
295
|
+
bankName?: string;
|
|
296
|
+
} & {
|
|
297
|
+
accountNumberEnding?: string;
|
|
298
|
+
};
|
|
299
|
+
export type BankAccountAddressResolved = CardBankAccountResolved | ClabeBankAccountResolved | IbanSwiftBankAccountResolved | InteracBankAccountResolved | PixBankAccountResolved | UsBankAccountResolved;
|
|
300
|
+
export type BankAccountAddressObfuscated = CardBankAccountObfuscated | ClabeBankAccountObfuscated | IbanSwiftBankAccountObfuscated | InteracBankAccountObfuscated | PixBankAccountObfuscated | UsBankAccountObfuscated;
|
|
301
|
+
export type MobileWalletAddressResolved = AirtelMoneyMobileWalletResolved | BkashMobileWalletResolved | EasyPaisaMobileWalletResolved | FinjaWalletMobileWalletResolved | JazzCashMobileWalletResolved | MtnMobileMoneyMobileWalletResolved | NagadMobileWalletResolved | NayaPayMobileWalletResolved | PaypalMobileWalletResolved | RocketMobileWalletResolved | SadaPayMobileWalletResolved | VenmoMobileWalletResolved;
|
|
302
|
+
export type MobileWalletAddressObfuscated = AirtelMoneyMobileWalletObfuscated | BkashMobileWalletObfuscated | EasyPaisaMobileWalletObfuscated | FinjaWalletMobileWalletObfuscated | JazzCashMobileWalletObfuscated | MtnMobileMoneyMobileWalletObfuscated | NagadMobileWalletObfuscated | NayaPayMobileWalletObfuscated | PaypalMobileWalletObfuscated | RocketMobileWalletObfuscated | SadaPayMobileWalletObfuscated | VenmoMobileWalletObfuscated;
|
|
303
|
+
export type GeneratedAddressResolved = BankAccountAddressResolved | MobileWalletAddressResolved;
|
|
304
|
+
export type GeneratedAddressObfuscated = BankAccountAddressObfuscated | MobileWalletAddressObfuscated;
|
|
305
|
+
export interface ObfuscatedAccountOwner {
|
|
306
|
+
accountOwner: {
|
|
307
|
+
type?: "individual" | "business";
|
|
308
|
+
name?: string;
|
|
309
|
+
businessName?: string;
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
export interface PhysicalAddress {
|
|
313
|
+
line1: string;
|
|
314
|
+
line2?: string;
|
|
315
|
+
country: ISOCountryCode;
|
|
316
|
+
postalCode: string;
|
|
317
|
+
subdivision: string;
|
|
318
|
+
city: string;
|
|
319
|
+
}
|
|
320
|
+
export interface MonthYearDateInput {
|
|
321
|
+
month: string;
|
|
322
|
+
year: string;
|
|
323
|
+
}
|
|
324
|
+
export interface PhoneNumberObjectExtends {
|
|
325
|
+
phoneNumber: PhoneNumber;
|
|
326
|
+
}
|
|
327
|
+
export declare const accountJSONSchema: {
|
|
328
|
+
readonly definitions: {
|
|
329
|
+
readonly ResolvedAccountOwner: {
|
|
330
|
+
readonly $id: "ResolvedAccountOwner";
|
|
331
|
+
readonly oneOf: readonly [{
|
|
332
|
+
readonly type: "object";
|
|
333
|
+
readonly properties: {
|
|
334
|
+
readonly accountOwner: {
|
|
335
|
+
readonly type: "object";
|
|
336
|
+
readonly properties: {
|
|
337
|
+
readonly type: {
|
|
338
|
+
readonly type: "string";
|
|
339
|
+
readonly const: "individual";
|
|
340
|
+
};
|
|
341
|
+
readonly firstName: {
|
|
342
|
+
readonly type: "string";
|
|
343
|
+
};
|
|
344
|
+
readonly lastName: {
|
|
345
|
+
readonly type: "string";
|
|
346
|
+
};
|
|
347
|
+
};
|
|
348
|
+
readonly required: readonly ["type", "firstName", "lastName"];
|
|
349
|
+
};
|
|
350
|
+
};
|
|
351
|
+
readonly required: readonly ["accountOwner"];
|
|
352
|
+
}, {
|
|
353
|
+
readonly type: "object";
|
|
354
|
+
readonly properties: {
|
|
355
|
+
readonly accountOwner: {
|
|
356
|
+
readonly type: "object";
|
|
357
|
+
readonly properties: {
|
|
358
|
+
readonly type: {
|
|
359
|
+
readonly type: "string";
|
|
360
|
+
readonly const: "business";
|
|
361
|
+
};
|
|
362
|
+
readonly businessName: {
|
|
363
|
+
readonly type: "string";
|
|
364
|
+
};
|
|
365
|
+
};
|
|
366
|
+
readonly required: readonly ["type", "businessName"];
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
readonly required: readonly ["accountOwner"];
|
|
370
|
+
}, {
|
|
371
|
+
readonly type: "object";
|
|
372
|
+
readonly properties: {
|
|
373
|
+
readonly accountOwner: {
|
|
374
|
+
readonly type: "object";
|
|
375
|
+
readonly properties: {
|
|
376
|
+
readonly type: {
|
|
377
|
+
readonly type: "string";
|
|
378
|
+
readonly const: "unknown";
|
|
379
|
+
};
|
|
380
|
+
readonly beneficiaryName: {
|
|
381
|
+
readonly type: "string";
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
readonly required: readonly ["type", "beneficiaryName"];
|
|
385
|
+
};
|
|
386
|
+
};
|
|
387
|
+
readonly required: readonly ["accountOwner"];
|
|
388
|
+
}];
|
|
389
|
+
};
|
|
390
|
+
readonly ObfuscatedAccountOwner: {
|
|
391
|
+
readonly $id: "ObfuscatedAccountOwner";
|
|
392
|
+
readonly type: "object";
|
|
393
|
+
readonly properties: {
|
|
394
|
+
readonly accountOwner: {
|
|
395
|
+
readonly type: "object";
|
|
396
|
+
readonly properties: {
|
|
397
|
+
readonly type: {
|
|
398
|
+
readonly type: "string";
|
|
399
|
+
readonly enum: readonly ["individual", "business"];
|
|
400
|
+
};
|
|
401
|
+
readonly name: {
|
|
402
|
+
readonly type: "string";
|
|
403
|
+
};
|
|
404
|
+
readonly businessName: {
|
|
405
|
+
readonly type: "string";
|
|
406
|
+
};
|
|
407
|
+
};
|
|
408
|
+
};
|
|
409
|
+
};
|
|
410
|
+
readonly required: readonly ["accountOwner"];
|
|
411
|
+
};
|
|
412
|
+
readonly ISOCountryCode: {
|
|
413
|
+
readonly $id: "ISOCountryCode";
|
|
414
|
+
readonly type: "string";
|
|
415
|
+
readonly enum: readonly ["AF", "AX", "AL", "DZ", "AS", "AD", "AO", "AI", "AQ", "AG", "AR", "AM", "AW", "AU", "AT", "AZ", "BS", "BH", "BD", "BB", "BY", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "KH", "CM", "CA", "KY", "CF", "TD", "CL", "CN", "CX", "CC", "CO", "KM", "CG", "CD", "CK", "CR", "CI", "HR", "CU", "CW", "CY", "CZ", "DK", "DJ", "DM", "DO", "EC", "EG", "SV", "GQ", "ER", "EE", "SZ", "ET", "FK", "FO", "FJ", "FI", "FR", "GF", "PF", "TF", "GA", "GM", "GE", "DE", "GH", "GI", "GR", "GL", "GD", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "VA", "HN", "HK", "HU", "IS", "IN", "ID", "IR", "IQ", "IE", "IM", "IL", "IT", "JM", "JP", "JE", "JO", "KZ", "KE", "KI", "KP", "KR", "KW", "KG", "LA", "LV", "LB", "LS", "LR", "LY", "LI", "LT", "LU", "MO", "MG", "MW", "MY", "MV", "ML", "MT", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MA", "MZ", "MM", "NA", "NR", "NP", "NL", "NC", "NZ", "NI", "NE", "NG", "NU", "NF", "MK", "MP", "NO", "OM", "PK", "PW", "PA", "PG", "PY", "PE", "PH", "PN", "PL", "PT", "PR", "QA", "RE", "RO", "RU", "RW", "BL", "SH", "KN", "LC", "MF", "PM", "VC", "WS", "SM", "ST", "SA", "SN", "RS", "SC", "SL", "SG", "SX", "SK", "SI", "SB", "SO", "ZA", "GS", "SS", "ES", "LK", "SD", "SR", "SJ", "SE", "CH", "SY", "TW", "TJ", "TZ", "TH", "TL", "TG", "TK", "TO", "TT", "TN", "TR", "TM", "TC", "TV", "UG", "UA", "AE", "GB", "US", "UM", "UY", "UZ", "VU", "VE", "VN", "VG", "VI", "WF", "EH", "YE", "ZM", "ZW"];
|
|
416
|
+
};
|
|
417
|
+
readonly PhysicalAddress: {
|
|
418
|
+
readonly $id: "PhysicalAddress";
|
|
419
|
+
readonly type: "object";
|
|
420
|
+
readonly properties: {
|
|
421
|
+
readonly line1: {
|
|
422
|
+
readonly type: "string";
|
|
423
|
+
};
|
|
424
|
+
readonly line2: {
|
|
425
|
+
readonly type: "string";
|
|
426
|
+
};
|
|
427
|
+
readonly country: {
|
|
428
|
+
readonly $ref: "#/definitions/ISOCountryCode";
|
|
429
|
+
};
|
|
430
|
+
readonly postalCode: {
|
|
431
|
+
readonly type: "string";
|
|
432
|
+
};
|
|
433
|
+
readonly subdivision: {
|
|
434
|
+
readonly type: "string";
|
|
435
|
+
};
|
|
436
|
+
readonly city: {
|
|
437
|
+
readonly type: "string";
|
|
438
|
+
};
|
|
439
|
+
};
|
|
440
|
+
readonly required: readonly ["line1", "country", "postalCode", "subdivision", "city"];
|
|
441
|
+
};
|
|
442
|
+
readonly MonthYearDateInput: {
|
|
443
|
+
readonly $id: "MonthYearDateInput";
|
|
444
|
+
readonly type: "object";
|
|
445
|
+
readonly properties: {
|
|
446
|
+
readonly month: {
|
|
447
|
+
readonly type: "string";
|
|
448
|
+
readonly pattern: "^(0[1-9]|1[0-2])$";
|
|
449
|
+
};
|
|
450
|
+
readonly year: {
|
|
451
|
+
readonly type: "string";
|
|
452
|
+
readonly pattern: "^\\d{4}$";
|
|
453
|
+
};
|
|
454
|
+
};
|
|
455
|
+
readonly required: readonly ["month", "year"];
|
|
456
|
+
};
|
|
457
|
+
readonly CardType: {
|
|
458
|
+
readonly $id: "CardType";
|
|
459
|
+
readonly type: "string";
|
|
460
|
+
readonly enum: readonly ["DEBIT", "CREDIT", "PREPAID", "UNKNOWN"];
|
|
461
|
+
};
|
|
462
|
+
readonly PhoneNumber: {
|
|
463
|
+
readonly $id: "PhoneNumber";
|
|
464
|
+
readonly type: "string";
|
|
465
|
+
readonly maxLength: 80;
|
|
466
|
+
readonly minLength: 1;
|
|
467
|
+
readonly pattern: "^\\d{1,80}$";
|
|
468
|
+
};
|
|
469
|
+
readonly PhoneNumberObjectExtends: {
|
|
470
|
+
readonly $id: "PhoneNumberObjectExtends";
|
|
471
|
+
readonly type: "object";
|
|
472
|
+
readonly properties: {
|
|
473
|
+
readonly phoneNumber: {
|
|
474
|
+
readonly $ref: "#/definitions/PhoneNumber";
|
|
475
|
+
};
|
|
476
|
+
};
|
|
477
|
+
readonly required: readonly ["phoneNumber"];
|
|
478
|
+
};
|
|
479
|
+
readonly AirtelMoneyMobileWalletResolved: {
|
|
480
|
+
readonly allOf: readonly [{
|
|
481
|
+
readonly type: "object";
|
|
482
|
+
readonly properties: {
|
|
483
|
+
readonly type: {
|
|
484
|
+
readonly const: "mobile-wallet";
|
|
485
|
+
};
|
|
486
|
+
readonly accountType: {
|
|
487
|
+
readonly const: "airtel-money";
|
|
488
|
+
};
|
|
489
|
+
readonly obfuscated: {
|
|
490
|
+
readonly const: false;
|
|
491
|
+
};
|
|
492
|
+
};
|
|
493
|
+
readonly required: readonly ["type", "accountType"];
|
|
494
|
+
}, {
|
|
495
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
496
|
+
}];
|
|
497
|
+
};
|
|
498
|
+
readonly AirtelMoneyMobileWalletObfuscated: {
|
|
499
|
+
readonly allOf: readonly [{
|
|
500
|
+
readonly type: "object";
|
|
501
|
+
readonly properties: {
|
|
502
|
+
readonly type: {
|
|
503
|
+
readonly const: "mobile-wallet";
|
|
504
|
+
};
|
|
505
|
+
readonly accountType: {
|
|
506
|
+
readonly const: "airtel-money";
|
|
507
|
+
};
|
|
508
|
+
readonly obfuscated: {
|
|
509
|
+
readonly const: true;
|
|
510
|
+
};
|
|
511
|
+
};
|
|
512
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
513
|
+
}, {
|
|
514
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
515
|
+
}];
|
|
516
|
+
};
|
|
517
|
+
readonly BkashMobileWalletResolved: {
|
|
518
|
+
readonly allOf: readonly [{
|
|
519
|
+
readonly type: "object";
|
|
520
|
+
readonly properties: {
|
|
521
|
+
readonly type: {
|
|
522
|
+
readonly const: "mobile-wallet";
|
|
523
|
+
};
|
|
524
|
+
readonly accountType: {
|
|
525
|
+
readonly const: "bkash";
|
|
526
|
+
};
|
|
527
|
+
readonly obfuscated: {
|
|
528
|
+
readonly const: false;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
readonly required: readonly ["type", "accountType"];
|
|
532
|
+
}, {
|
|
533
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
534
|
+
}];
|
|
535
|
+
};
|
|
536
|
+
readonly BkashMobileWalletObfuscated: {
|
|
537
|
+
readonly allOf: readonly [{
|
|
538
|
+
readonly type: "object";
|
|
539
|
+
readonly properties: {
|
|
540
|
+
readonly type: {
|
|
541
|
+
readonly const: "mobile-wallet";
|
|
542
|
+
};
|
|
543
|
+
readonly accountType: {
|
|
544
|
+
readonly const: "bkash";
|
|
545
|
+
};
|
|
546
|
+
readonly obfuscated: {
|
|
547
|
+
readonly const: true;
|
|
548
|
+
};
|
|
549
|
+
};
|
|
550
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
551
|
+
}, {
|
|
552
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
553
|
+
}];
|
|
554
|
+
};
|
|
555
|
+
readonly EasyPaisaMobileWalletResolved: {
|
|
556
|
+
readonly allOf: readonly [{
|
|
557
|
+
readonly type: "object";
|
|
558
|
+
readonly properties: {
|
|
559
|
+
readonly type: {
|
|
560
|
+
readonly const: "mobile-wallet";
|
|
561
|
+
};
|
|
562
|
+
readonly accountType: {
|
|
563
|
+
readonly const: "easy-paisa";
|
|
564
|
+
};
|
|
565
|
+
readonly obfuscated: {
|
|
566
|
+
readonly const: false;
|
|
567
|
+
};
|
|
568
|
+
};
|
|
569
|
+
readonly required: readonly ["type", "accountType"];
|
|
570
|
+
}, {
|
|
571
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
572
|
+
}];
|
|
573
|
+
};
|
|
574
|
+
readonly EasyPaisaMobileWalletObfuscated: {
|
|
575
|
+
readonly allOf: readonly [{
|
|
576
|
+
readonly type: "object";
|
|
577
|
+
readonly properties: {
|
|
578
|
+
readonly type: {
|
|
579
|
+
readonly const: "mobile-wallet";
|
|
580
|
+
};
|
|
581
|
+
readonly accountType: {
|
|
582
|
+
readonly const: "easy-paisa";
|
|
583
|
+
};
|
|
584
|
+
readonly obfuscated: {
|
|
585
|
+
readonly const: true;
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
589
|
+
}, {
|
|
590
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
591
|
+
}];
|
|
592
|
+
};
|
|
593
|
+
readonly FinjaWalletMobileWalletResolved: {
|
|
594
|
+
readonly allOf: readonly [{
|
|
595
|
+
readonly type: "object";
|
|
596
|
+
readonly properties: {
|
|
597
|
+
readonly type: {
|
|
598
|
+
readonly const: "mobile-wallet";
|
|
599
|
+
};
|
|
600
|
+
readonly accountType: {
|
|
601
|
+
readonly const: "finja-wallet";
|
|
602
|
+
};
|
|
603
|
+
readonly obfuscated: {
|
|
604
|
+
readonly const: false;
|
|
605
|
+
};
|
|
606
|
+
};
|
|
607
|
+
readonly required: readonly ["type", "accountType"];
|
|
608
|
+
}, {
|
|
609
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
610
|
+
}];
|
|
611
|
+
};
|
|
612
|
+
readonly FinjaWalletMobileWalletObfuscated: {
|
|
613
|
+
readonly allOf: readonly [{
|
|
614
|
+
readonly type: "object";
|
|
615
|
+
readonly properties: {
|
|
616
|
+
readonly type: {
|
|
617
|
+
readonly const: "mobile-wallet";
|
|
618
|
+
};
|
|
619
|
+
readonly accountType: {
|
|
620
|
+
readonly const: "finja-wallet";
|
|
621
|
+
};
|
|
622
|
+
readonly obfuscated: {
|
|
623
|
+
readonly const: true;
|
|
624
|
+
};
|
|
625
|
+
};
|
|
626
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
627
|
+
}, {
|
|
628
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
629
|
+
}];
|
|
630
|
+
};
|
|
631
|
+
readonly JazzCashMobileWalletResolved: {
|
|
632
|
+
readonly allOf: readonly [{
|
|
633
|
+
readonly type: "object";
|
|
634
|
+
readonly properties: {
|
|
635
|
+
readonly type: {
|
|
636
|
+
readonly const: "mobile-wallet";
|
|
637
|
+
};
|
|
638
|
+
readonly accountType: {
|
|
639
|
+
readonly const: "jazz-cash";
|
|
640
|
+
};
|
|
641
|
+
readonly obfuscated: {
|
|
642
|
+
readonly const: false;
|
|
643
|
+
};
|
|
644
|
+
};
|
|
645
|
+
readonly required: readonly ["type", "accountType"];
|
|
646
|
+
}, {
|
|
647
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
648
|
+
}];
|
|
649
|
+
};
|
|
650
|
+
readonly JazzCashMobileWalletObfuscated: {
|
|
651
|
+
readonly allOf: readonly [{
|
|
652
|
+
readonly type: "object";
|
|
653
|
+
readonly properties: {
|
|
654
|
+
readonly type: {
|
|
655
|
+
readonly const: "mobile-wallet";
|
|
656
|
+
};
|
|
657
|
+
readonly accountType: {
|
|
658
|
+
readonly const: "jazz-cash";
|
|
659
|
+
};
|
|
660
|
+
readonly obfuscated: {
|
|
661
|
+
readonly const: true;
|
|
662
|
+
};
|
|
663
|
+
};
|
|
664
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
665
|
+
}, {
|
|
666
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
667
|
+
}];
|
|
668
|
+
};
|
|
669
|
+
readonly MtnMobileMoneyMobileWalletResolved: {
|
|
670
|
+
readonly allOf: readonly [{
|
|
671
|
+
readonly type: "object";
|
|
672
|
+
readonly properties: {
|
|
673
|
+
readonly type: {
|
|
674
|
+
readonly const: "mobile-wallet";
|
|
675
|
+
};
|
|
676
|
+
readonly accountType: {
|
|
677
|
+
readonly const: "mtn-mobile-money";
|
|
678
|
+
};
|
|
679
|
+
readonly obfuscated: {
|
|
680
|
+
readonly const: false;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
readonly required: readonly ["type", "accountType"];
|
|
684
|
+
}, {
|
|
685
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
686
|
+
}];
|
|
687
|
+
};
|
|
688
|
+
readonly MtnMobileMoneyMobileWalletObfuscated: {
|
|
689
|
+
readonly allOf: readonly [{
|
|
690
|
+
readonly type: "object";
|
|
691
|
+
readonly properties: {
|
|
692
|
+
readonly type: {
|
|
693
|
+
readonly const: "mobile-wallet";
|
|
694
|
+
};
|
|
695
|
+
readonly accountType: {
|
|
696
|
+
readonly const: "mtn-mobile-money";
|
|
697
|
+
};
|
|
698
|
+
readonly obfuscated: {
|
|
699
|
+
readonly const: true;
|
|
700
|
+
};
|
|
701
|
+
};
|
|
702
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
703
|
+
}, {
|
|
704
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
705
|
+
}];
|
|
706
|
+
};
|
|
707
|
+
readonly NagadMobileWalletResolved: {
|
|
708
|
+
readonly allOf: readonly [{
|
|
709
|
+
readonly type: "object";
|
|
710
|
+
readonly properties: {
|
|
711
|
+
readonly type: {
|
|
712
|
+
readonly const: "mobile-wallet";
|
|
713
|
+
};
|
|
714
|
+
readonly accountType: {
|
|
715
|
+
readonly const: "nagad";
|
|
716
|
+
};
|
|
717
|
+
readonly obfuscated: {
|
|
718
|
+
readonly const: false;
|
|
719
|
+
};
|
|
720
|
+
};
|
|
721
|
+
readonly required: readonly ["type", "accountType"];
|
|
722
|
+
}, {
|
|
723
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
724
|
+
}];
|
|
725
|
+
};
|
|
726
|
+
readonly NagadMobileWalletObfuscated: {
|
|
727
|
+
readonly allOf: readonly [{
|
|
728
|
+
readonly type: "object";
|
|
729
|
+
readonly properties: {
|
|
730
|
+
readonly type: {
|
|
731
|
+
readonly const: "mobile-wallet";
|
|
732
|
+
};
|
|
733
|
+
readonly accountType: {
|
|
734
|
+
readonly const: "nagad";
|
|
735
|
+
};
|
|
736
|
+
readonly obfuscated: {
|
|
737
|
+
readonly const: true;
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
741
|
+
}, {
|
|
742
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
743
|
+
}];
|
|
744
|
+
};
|
|
745
|
+
readonly NayaPayMobileWalletResolved: {
|
|
746
|
+
readonly allOf: readonly [{
|
|
747
|
+
readonly type: "object";
|
|
748
|
+
readonly properties: {
|
|
749
|
+
readonly type: {
|
|
750
|
+
readonly const: "mobile-wallet";
|
|
751
|
+
};
|
|
752
|
+
readonly accountType: {
|
|
753
|
+
readonly const: "naya-pay";
|
|
754
|
+
};
|
|
755
|
+
readonly obfuscated: {
|
|
756
|
+
readonly const: false;
|
|
757
|
+
};
|
|
758
|
+
};
|
|
759
|
+
readonly required: readonly ["type", "accountType"];
|
|
760
|
+
}, {
|
|
761
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
762
|
+
}];
|
|
763
|
+
};
|
|
764
|
+
readonly NayaPayMobileWalletObfuscated: {
|
|
765
|
+
readonly allOf: readonly [{
|
|
766
|
+
readonly type: "object";
|
|
767
|
+
readonly properties: {
|
|
768
|
+
readonly type: {
|
|
769
|
+
readonly const: "mobile-wallet";
|
|
770
|
+
};
|
|
771
|
+
readonly accountType: {
|
|
772
|
+
readonly const: "naya-pay";
|
|
773
|
+
};
|
|
774
|
+
readonly obfuscated: {
|
|
775
|
+
readonly const: true;
|
|
776
|
+
};
|
|
777
|
+
};
|
|
778
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
779
|
+
}, {
|
|
780
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
781
|
+
}];
|
|
782
|
+
};
|
|
783
|
+
readonly PaypalMobileWalletResolved: {
|
|
784
|
+
readonly allOf: readonly [{
|
|
785
|
+
readonly type: "object";
|
|
786
|
+
readonly properties: {
|
|
787
|
+
readonly phoneNumber: {
|
|
788
|
+
readonly $ref: "#/definitions/PhoneNumber";
|
|
789
|
+
};
|
|
790
|
+
readonly email: {
|
|
791
|
+
readonly type: "string";
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
readonly required: readonly [];
|
|
795
|
+
}, {
|
|
796
|
+
readonly type: "object";
|
|
797
|
+
readonly properties: {
|
|
798
|
+
readonly type: {
|
|
799
|
+
readonly const: "mobile-wallet";
|
|
800
|
+
};
|
|
801
|
+
readonly accountType: {
|
|
802
|
+
readonly const: "paypal";
|
|
803
|
+
};
|
|
804
|
+
readonly obfuscated: {
|
|
805
|
+
readonly const: false;
|
|
806
|
+
};
|
|
807
|
+
};
|
|
808
|
+
readonly required: readonly ["type", "accountType"];
|
|
809
|
+
}];
|
|
810
|
+
};
|
|
811
|
+
readonly PaypalMobileWalletObfuscated: {
|
|
812
|
+
readonly allOf: readonly [{
|
|
813
|
+
readonly type: "object";
|
|
814
|
+
readonly properties: {
|
|
815
|
+
readonly phoneNumber: {
|
|
816
|
+
readonly $ref: "#/definitions/PhoneNumber";
|
|
817
|
+
};
|
|
818
|
+
readonly email: {
|
|
819
|
+
readonly type: "string";
|
|
820
|
+
};
|
|
821
|
+
};
|
|
822
|
+
readonly required: readonly [];
|
|
823
|
+
}, {
|
|
824
|
+
readonly type: "object";
|
|
825
|
+
readonly properties: {
|
|
826
|
+
readonly type: {
|
|
827
|
+
readonly const: "mobile-wallet";
|
|
828
|
+
};
|
|
829
|
+
readonly accountType: {
|
|
830
|
+
readonly const: "paypal";
|
|
831
|
+
};
|
|
832
|
+
readonly obfuscated: {
|
|
833
|
+
readonly const: true;
|
|
834
|
+
};
|
|
835
|
+
};
|
|
836
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
837
|
+
}];
|
|
838
|
+
};
|
|
839
|
+
readonly RocketMobileWalletResolved: {
|
|
840
|
+
readonly allOf: readonly [{
|
|
841
|
+
readonly type: "object";
|
|
842
|
+
readonly properties: {
|
|
843
|
+
readonly type: {
|
|
844
|
+
readonly const: "mobile-wallet";
|
|
845
|
+
};
|
|
846
|
+
readonly accountType: {
|
|
847
|
+
readonly const: "rocket";
|
|
848
|
+
};
|
|
849
|
+
readonly obfuscated: {
|
|
850
|
+
readonly const: false;
|
|
851
|
+
};
|
|
852
|
+
};
|
|
853
|
+
readonly required: readonly ["type", "accountType"];
|
|
854
|
+
}, {
|
|
855
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
856
|
+
}];
|
|
857
|
+
};
|
|
858
|
+
readonly RocketMobileWalletObfuscated: {
|
|
859
|
+
readonly allOf: readonly [{
|
|
860
|
+
readonly type: "object";
|
|
861
|
+
readonly properties: {
|
|
862
|
+
readonly type: {
|
|
863
|
+
readonly const: "mobile-wallet";
|
|
864
|
+
};
|
|
865
|
+
readonly accountType: {
|
|
866
|
+
readonly const: "rocket";
|
|
867
|
+
};
|
|
868
|
+
readonly obfuscated: {
|
|
869
|
+
readonly const: true;
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
873
|
+
}, {
|
|
874
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
875
|
+
}];
|
|
876
|
+
};
|
|
877
|
+
readonly SadaPayMobileWalletResolved: {
|
|
878
|
+
readonly allOf: readonly [{
|
|
879
|
+
readonly type: "object";
|
|
880
|
+
readonly properties: {
|
|
881
|
+
readonly type: {
|
|
882
|
+
readonly const: "mobile-wallet";
|
|
883
|
+
};
|
|
884
|
+
readonly accountType: {
|
|
885
|
+
readonly const: "sada-pay";
|
|
886
|
+
};
|
|
887
|
+
readonly obfuscated: {
|
|
888
|
+
readonly const: false;
|
|
889
|
+
};
|
|
890
|
+
};
|
|
891
|
+
readonly required: readonly ["type", "accountType"];
|
|
892
|
+
}, {
|
|
893
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
894
|
+
}];
|
|
895
|
+
};
|
|
896
|
+
readonly SadaPayMobileWalletObfuscated: {
|
|
897
|
+
readonly allOf: readonly [{
|
|
898
|
+
readonly type: "object";
|
|
899
|
+
readonly properties: {
|
|
900
|
+
readonly type: {
|
|
901
|
+
readonly const: "mobile-wallet";
|
|
902
|
+
};
|
|
903
|
+
readonly accountType: {
|
|
904
|
+
readonly const: "sada-pay";
|
|
905
|
+
};
|
|
906
|
+
readonly obfuscated: {
|
|
907
|
+
readonly const: true;
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
911
|
+
}, {
|
|
912
|
+
readonly $ref: "#/definitions/PhoneNumberObjectExtends";
|
|
913
|
+
}];
|
|
914
|
+
};
|
|
915
|
+
readonly VenmoMobileWalletResolved: {
|
|
916
|
+
readonly allOf: readonly [{
|
|
917
|
+
readonly type: "object";
|
|
918
|
+
readonly properties: {
|
|
919
|
+
readonly username: {
|
|
920
|
+
readonly type: "string";
|
|
921
|
+
};
|
|
922
|
+
};
|
|
923
|
+
readonly required: readonly ["username"];
|
|
924
|
+
}, {
|
|
925
|
+
readonly type: "object";
|
|
926
|
+
readonly properties: {
|
|
927
|
+
readonly type: {
|
|
928
|
+
readonly const: "mobile-wallet";
|
|
929
|
+
};
|
|
930
|
+
readonly accountType: {
|
|
931
|
+
readonly const: "venmo";
|
|
932
|
+
};
|
|
933
|
+
readonly obfuscated: {
|
|
934
|
+
readonly const: false;
|
|
935
|
+
};
|
|
936
|
+
};
|
|
937
|
+
readonly required: readonly ["type", "accountType"];
|
|
938
|
+
}];
|
|
939
|
+
};
|
|
940
|
+
readonly VenmoMobileWalletObfuscated: {
|
|
941
|
+
readonly allOf: readonly [{
|
|
942
|
+
readonly type: "object";
|
|
943
|
+
readonly properties: {
|
|
944
|
+
readonly username: {
|
|
945
|
+
readonly type: "string";
|
|
946
|
+
};
|
|
947
|
+
};
|
|
948
|
+
readonly required: readonly ["username"];
|
|
949
|
+
}, {
|
|
950
|
+
readonly type: "object";
|
|
951
|
+
readonly properties: {
|
|
952
|
+
readonly type: {
|
|
953
|
+
readonly const: "mobile-wallet";
|
|
954
|
+
};
|
|
955
|
+
readonly accountType: {
|
|
956
|
+
readonly const: "venmo";
|
|
957
|
+
};
|
|
958
|
+
readonly obfuscated: {
|
|
959
|
+
readonly const: true;
|
|
960
|
+
};
|
|
961
|
+
};
|
|
962
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
963
|
+
}];
|
|
964
|
+
};
|
|
965
|
+
readonly CardBankAccountResolved: {
|
|
966
|
+
readonly allOf: readonly [{
|
|
967
|
+
readonly type: "object";
|
|
968
|
+
readonly properties: {
|
|
969
|
+
readonly ownerAddress: {
|
|
970
|
+
readonly $ref: "#/definitions/PhysicalAddress";
|
|
971
|
+
};
|
|
972
|
+
readonly cardNumber: {
|
|
973
|
+
readonly type: "string";
|
|
974
|
+
readonly minLength: 13;
|
|
975
|
+
readonly maxLength: 19;
|
|
976
|
+
readonly pattern: "^\\d{13,19}$";
|
|
977
|
+
};
|
|
978
|
+
readonly securityCode: {
|
|
979
|
+
readonly type: "string";
|
|
980
|
+
readonly minLength: 3;
|
|
981
|
+
readonly maxLength: 4;
|
|
982
|
+
readonly pattern: "^\\d{3,4}$";
|
|
983
|
+
};
|
|
984
|
+
readonly expirationDate: {
|
|
985
|
+
readonly $ref: "#/definitions/MonthYearDateInput";
|
|
986
|
+
};
|
|
987
|
+
readonly cardType: {
|
|
988
|
+
readonly $ref: "#/definitions/CardType";
|
|
989
|
+
};
|
|
990
|
+
};
|
|
991
|
+
readonly required: readonly ["cardNumber", "securityCode", "expirationDate"];
|
|
992
|
+
}, {
|
|
993
|
+
readonly type: "object";
|
|
994
|
+
readonly properties: {
|
|
995
|
+
readonly type: {
|
|
996
|
+
readonly const: "bank-account";
|
|
997
|
+
};
|
|
998
|
+
readonly accountType: {
|
|
999
|
+
readonly const: "card";
|
|
1000
|
+
};
|
|
1001
|
+
readonly obfuscated: {
|
|
1002
|
+
readonly const: false;
|
|
1003
|
+
};
|
|
1004
|
+
};
|
|
1005
|
+
readonly required: readonly ["type", "accountType"];
|
|
1006
|
+
}, {
|
|
1007
|
+
readonly $ref: "#/definitions/ResolvedAccountOwner";
|
|
1008
|
+
}];
|
|
1009
|
+
};
|
|
1010
|
+
readonly CardBankAccountObfuscated: {
|
|
1011
|
+
readonly allOf: readonly [{
|
|
1012
|
+
readonly type: "object";
|
|
1013
|
+
readonly properties: {
|
|
1014
|
+
readonly ownerAddress: {
|
|
1015
|
+
readonly $ref: "#/definitions/PhysicalAddress";
|
|
1016
|
+
};
|
|
1017
|
+
readonly cardNumberEnding: {
|
|
1018
|
+
readonly type: "string";
|
|
1019
|
+
};
|
|
1020
|
+
readonly expirationDate: {
|
|
1021
|
+
readonly $ref: "#/definitions/MonthYearDateInput";
|
|
1022
|
+
};
|
|
1023
|
+
readonly cardType: {
|
|
1024
|
+
readonly $ref: "#/definitions/CardType";
|
|
1025
|
+
};
|
|
1026
|
+
};
|
|
1027
|
+
readonly required: readonly ["cardNumberEnding"];
|
|
1028
|
+
}, {
|
|
1029
|
+
readonly type: "object";
|
|
1030
|
+
readonly properties: {
|
|
1031
|
+
readonly type: {
|
|
1032
|
+
readonly const: "bank-account";
|
|
1033
|
+
};
|
|
1034
|
+
readonly accountType: {
|
|
1035
|
+
readonly const: "card";
|
|
1036
|
+
};
|
|
1037
|
+
readonly obfuscated: {
|
|
1038
|
+
readonly const: true;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
1042
|
+
}, {
|
|
1043
|
+
readonly $ref: "#/definitions/ObfuscatedAccountOwner";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly type: "object";
|
|
1046
|
+
readonly properties: {
|
|
1047
|
+
readonly accountNumberEnding: {
|
|
1048
|
+
readonly type: "string";
|
|
1049
|
+
};
|
|
1050
|
+
};
|
|
1051
|
+
}];
|
|
1052
|
+
};
|
|
1053
|
+
readonly ClabeBankAccountResolved: {
|
|
1054
|
+
readonly allOf: readonly [{
|
|
1055
|
+
readonly type: "object";
|
|
1056
|
+
readonly properties: {
|
|
1057
|
+
readonly accountNumber: {
|
|
1058
|
+
readonly type: "string";
|
|
1059
|
+
};
|
|
1060
|
+
};
|
|
1061
|
+
readonly required: readonly ["accountNumber"];
|
|
1062
|
+
}, {
|
|
1063
|
+
readonly type: "object";
|
|
1064
|
+
readonly properties: {
|
|
1065
|
+
readonly type: {
|
|
1066
|
+
readonly const: "bank-account";
|
|
1067
|
+
};
|
|
1068
|
+
readonly accountType: {
|
|
1069
|
+
readonly const: "clabe";
|
|
1070
|
+
};
|
|
1071
|
+
readonly obfuscated: {
|
|
1072
|
+
readonly const: false;
|
|
1073
|
+
};
|
|
1074
|
+
};
|
|
1075
|
+
readonly required: readonly ["type", "accountType"];
|
|
1076
|
+
}, {
|
|
1077
|
+
readonly $ref: "#/definitions/ResolvedAccountOwner";
|
|
1078
|
+
}, {
|
|
1079
|
+
readonly type: "object";
|
|
1080
|
+
readonly properties: {
|
|
1081
|
+
readonly bankName: {
|
|
1082
|
+
readonly type: "string";
|
|
1083
|
+
};
|
|
1084
|
+
};
|
|
1085
|
+
}];
|
|
1086
|
+
};
|
|
1087
|
+
readonly ClabeBankAccountObfuscated: {
|
|
1088
|
+
readonly allOf: readonly [{
|
|
1089
|
+
readonly type: "object";
|
|
1090
|
+
}, {
|
|
1091
|
+
readonly type: "object";
|
|
1092
|
+
readonly properties: {
|
|
1093
|
+
readonly type: {
|
|
1094
|
+
readonly const: "bank-account";
|
|
1095
|
+
};
|
|
1096
|
+
readonly accountType: {
|
|
1097
|
+
readonly const: "clabe";
|
|
1098
|
+
};
|
|
1099
|
+
readonly obfuscated: {
|
|
1100
|
+
readonly const: true;
|
|
1101
|
+
};
|
|
1102
|
+
};
|
|
1103
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
1104
|
+
}, {
|
|
1105
|
+
readonly $ref: "#/definitions/ObfuscatedAccountOwner";
|
|
1106
|
+
}, {
|
|
1107
|
+
readonly type: "object";
|
|
1108
|
+
readonly properties: {
|
|
1109
|
+
readonly bankName: {
|
|
1110
|
+
readonly type: "string";
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly type: "object";
|
|
1115
|
+
readonly properties: {
|
|
1116
|
+
readonly accountNumberEnding: {
|
|
1117
|
+
readonly type: "string";
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
}];
|
|
1121
|
+
};
|
|
1122
|
+
readonly IbanSwiftBankAccountResolved: {
|
|
1123
|
+
readonly allOf: readonly [{
|
|
1124
|
+
readonly type: "object";
|
|
1125
|
+
readonly properties: {
|
|
1126
|
+
readonly country: {
|
|
1127
|
+
readonly $ref: "#/definitions/ISOCountryCode";
|
|
1128
|
+
};
|
|
1129
|
+
readonly accountNumber: {
|
|
1130
|
+
readonly type: "string";
|
|
1131
|
+
};
|
|
1132
|
+
readonly bic: {
|
|
1133
|
+
readonly type: "string";
|
|
1134
|
+
};
|
|
1135
|
+
readonly iban: {
|
|
1136
|
+
readonly type: "string";
|
|
1137
|
+
};
|
|
1138
|
+
readonly bankAddress: {
|
|
1139
|
+
readonly $ref: "#/definitions/PhysicalAddress";
|
|
1140
|
+
};
|
|
1141
|
+
readonly swift: {
|
|
1142
|
+
readonly type: "object";
|
|
1143
|
+
readonly properties: {
|
|
1144
|
+
readonly category: {
|
|
1145
|
+
readonly type: "string";
|
|
1146
|
+
};
|
|
1147
|
+
readonly purposeOfFunds: {
|
|
1148
|
+
readonly type: "array";
|
|
1149
|
+
readonly items: {
|
|
1150
|
+
readonly type: "string";
|
|
1151
|
+
};
|
|
1152
|
+
};
|
|
1153
|
+
readonly businessDescription: {
|
|
1154
|
+
readonly type: "string";
|
|
1155
|
+
};
|
|
1156
|
+
};
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
readonly required: readonly [];
|
|
1160
|
+
}, {
|
|
1161
|
+
readonly type: "object";
|
|
1162
|
+
readonly properties: {
|
|
1163
|
+
readonly type: {
|
|
1164
|
+
readonly const: "bank-account";
|
|
1165
|
+
};
|
|
1166
|
+
readonly accountType: {
|
|
1167
|
+
readonly const: "iban-swift";
|
|
1168
|
+
};
|
|
1169
|
+
readonly obfuscated: {
|
|
1170
|
+
readonly const: false;
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
readonly required: readonly ["type", "accountType"];
|
|
1174
|
+
}, {
|
|
1175
|
+
readonly $ref: "#/definitions/ResolvedAccountOwner";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly type: "object";
|
|
1178
|
+
readonly properties: {
|
|
1179
|
+
readonly bankName: {
|
|
1180
|
+
readonly type: "string";
|
|
1181
|
+
};
|
|
1182
|
+
};
|
|
1183
|
+
}];
|
|
1184
|
+
};
|
|
1185
|
+
readonly IbanSwiftBankAccountObfuscated: {
|
|
1186
|
+
readonly allOf: readonly [{
|
|
1187
|
+
readonly type: "object";
|
|
1188
|
+
readonly properties: {
|
|
1189
|
+
readonly country: {
|
|
1190
|
+
readonly $ref: "#/definitions/ISOCountryCode";
|
|
1191
|
+
};
|
|
1192
|
+
readonly bic: {
|
|
1193
|
+
readonly type: "string";
|
|
1194
|
+
};
|
|
1195
|
+
};
|
|
1196
|
+
readonly required: readonly [];
|
|
1197
|
+
}, {
|
|
1198
|
+
readonly type: "object";
|
|
1199
|
+
readonly properties: {
|
|
1200
|
+
readonly type: {
|
|
1201
|
+
readonly const: "bank-account";
|
|
1202
|
+
};
|
|
1203
|
+
readonly accountType: {
|
|
1204
|
+
readonly const: "iban-swift";
|
|
1205
|
+
};
|
|
1206
|
+
readonly obfuscated: {
|
|
1207
|
+
readonly const: true;
|
|
1208
|
+
};
|
|
1209
|
+
};
|
|
1210
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly $ref: "#/definitions/ObfuscatedAccountOwner";
|
|
1213
|
+
}, {
|
|
1214
|
+
readonly type: "object";
|
|
1215
|
+
readonly properties: {
|
|
1216
|
+
readonly bankName: {
|
|
1217
|
+
readonly type: "string";
|
|
1218
|
+
};
|
|
1219
|
+
};
|
|
1220
|
+
}, {
|
|
1221
|
+
readonly type: "object";
|
|
1222
|
+
readonly properties: {
|
|
1223
|
+
readonly accountNumberEnding: {
|
|
1224
|
+
readonly type: "string";
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
}];
|
|
1228
|
+
};
|
|
1229
|
+
readonly InteracBankAccountResolved: {
|
|
1230
|
+
readonly allOf: readonly [{
|
|
1231
|
+
readonly type: "object";
|
|
1232
|
+
readonly properties: {
|
|
1233
|
+
readonly bankCode: {
|
|
1234
|
+
readonly type: "string";
|
|
1235
|
+
readonly description: "Institution Number";
|
|
1236
|
+
readonly maxLength: 3;
|
|
1237
|
+
readonly minLength: 3;
|
|
1238
|
+
readonly pattern: "^\\d{3}$";
|
|
1239
|
+
};
|
|
1240
|
+
readonly bankAccountNumber: {
|
|
1241
|
+
readonly type: "string";
|
|
1242
|
+
readonly description: "Account Number";
|
|
1243
|
+
};
|
|
1244
|
+
readonly routingCode: {
|
|
1245
|
+
readonly type: "string";
|
|
1246
|
+
readonly description: "Transit Code";
|
|
1247
|
+
readonly maxLength: 5;
|
|
1248
|
+
readonly minLength: 5;
|
|
1249
|
+
readonly pattern: "^\\d{5}$";
|
|
1250
|
+
};
|
|
1251
|
+
};
|
|
1252
|
+
readonly required: readonly ["routingCode", "bankCode"];
|
|
1253
|
+
}, {
|
|
1254
|
+
readonly type: "object";
|
|
1255
|
+
readonly properties: {
|
|
1256
|
+
readonly type: {
|
|
1257
|
+
readonly const: "bank-account";
|
|
1258
|
+
};
|
|
1259
|
+
readonly accountType: {
|
|
1260
|
+
readonly const: "interac";
|
|
1261
|
+
};
|
|
1262
|
+
readonly obfuscated: {
|
|
1263
|
+
readonly const: false;
|
|
1264
|
+
};
|
|
1265
|
+
};
|
|
1266
|
+
readonly required: readonly ["type", "accountType"];
|
|
1267
|
+
}, {
|
|
1268
|
+
readonly type: "object";
|
|
1269
|
+
readonly properties: {
|
|
1270
|
+
readonly bankName: {
|
|
1271
|
+
readonly type: "string";
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
}];
|
|
1275
|
+
};
|
|
1276
|
+
readonly InteracBankAccountObfuscated: {
|
|
1277
|
+
readonly allOf: readonly [{
|
|
1278
|
+
readonly type: "object";
|
|
1279
|
+
}, {
|
|
1280
|
+
readonly type: "object";
|
|
1281
|
+
readonly properties: {
|
|
1282
|
+
readonly type: {
|
|
1283
|
+
readonly const: "bank-account";
|
|
1284
|
+
};
|
|
1285
|
+
readonly accountType: {
|
|
1286
|
+
readonly const: "interac";
|
|
1287
|
+
};
|
|
1288
|
+
readonly obfuscated: {
|
|
1289
|
+
readonly const: true;
|
|
1290
|
+
};
|
|
1291
|
+
};
|
|
1292
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
1293
|
+
}, {
|
|
1294
|
+
readonly type: "object";
|
|
1295
|
+
readonly properties: {
|
|
1296
|
+
readonly bankName: {
|
|
1297
|
+
readonly type: "string";
|
|
1298
|
+
};
|
|
1299
|
+
};
|
|
1300
|
+
}, {
|
|
1301
|
+
readonly type: "object";
|
|
1302
|
+
readonly properties: {
|
|
1303
|
+
readonly accountNumberEnding: {
|
|
1304
|
+
readonly type: "string";
|
|
1305
|
+
};
|
|
1306
|
+
};
|
|
1307
|
+
}];
|
|
1308
|
+
};
|
|
1309
|
+
readonly PixBankAccountResolved: {
|
|
1310
|
+
readonly allOf: readonly [{
|
|
1311
|
+
readonly type: "object";
|
|
1312
|
+
readonly properties: {
|
|
1313
|
+
readonly brCode: {
|
|
1314
|
+
readonly type: "string";
|
|
1315
|
+
};
|
|
1316
|
+
readonly pixKey: {
|
|
1317
|
+
readonly type: "string";
|
|
1318
|
+
};
|
|
1319
|
+
readonly document: {
|
|
1320
|
+
readonly type: "object";
|
|
1321
|
+
readonly properties: {
|
|
1322
|
+
readonly type: {
|
|
1323
|
+
readonly type: "string";
|
|
1324
|
+
readonly enum: readonly ["cpf", "cnpj"];
|
|
1325
|
+
};
|
|
1326
|
+
readonly number: {
|
|
1327
|
+
readonly type: "string";
|
|
1328
|
+
};
|
|
1329
|
+
};
|
|
1330
|
+
readonly required: readonly ["number"];
|
|
1331
|
+
};
|
|
1332
|
+
};
|
|
1333
|
+
readonly required: readonly [];
|
|
1334
|
+
}, {
|
|
1335
|
+
readonly type: "object";
|
|
1336
|
+
readonly properties: {
|
|
1337
|
+
readonly type: {
|
|
1338
|
+
readonly const: "bank-account";
|
|
1339
|
+
};
|
|
1340
|
+
readonly accountType: {
|
|
1341
|
+
readonly const: "pix";
|
|
1342
|
+
};
|
|
1343
|
+
readonly obfuscated: {
|
|
1344
|
+
readonly const: false;
|
|
1345
|
+
};
|
|
1346
|
+
};
|
|
1347
|
+
readonly required: readonly ["type", "accountType"];
|
|
1348
|
+
}, {
|
|
1349
|
+
readonly $ref: "#/definitions/ResolvedAccountOwner";
|
|
1350
|
+
}, {
|
|
1351
|
+
readonly type: "object";
|
|
1352
|
+
readonly properties: {
|
|
1353
|
+
readonly bankName: {
|
|
1354
|
+
readonly type: "string";
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
}];
|
|
1358
|
+
};
|
|
1359
|
+
readonly PixBankAccountObfuscated: {
|
|
1360
|
+
readonly allOf: readonly [{
|
|
1361
|
+
readonly type: "object";
|
|
1362
|
+
}, {
|
|
1363
|
+
readonly type: "object";
|
|
1364
|
+
readonly properties: {
|
|
1365
|
+
readonly type: {
|
|
1366
|
+
readonly const: "bank-account";
|
|
1367
|
+
};
|
|
1368
|
+
readonly accountType: {
|
|
1369
|
+
readonly const: "pix";
|
|
1370
|
+
};
|
|
1371
|
+
readonly obfuscated: {
|
|
1372
|
+
readonly const: true;
|
|
1373
|
+
};
|
|
1374
|
+
};
|
|
1375
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
1376
|
+
}, {
|
|
1377
|
+
readonly $ref: "#/definitions/ObfuscatedAccountOwner";
|
|
1378
|
+
}, {
|
|
1379
|
+
readonly type: "object";
|
|
1380
|
+
readonly properties: {
|
|
1381
|
+
readonly bankName: {
|
|
1382
|
+
readonly type: "string";
|
|
1383
|
+
};
|
|
1384
|
+
};
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly type: "object";
|
|
1387
|
+
readonly properties: {
|
|
1388
|
+
readonly accountNumberEnding: {
|
|
1389
|
+
readonly type: "string";
|
|
1390
|
+
};
|
|
1391
|
+
};
|
|
1392
|
+
}];
|
|
1393
|
+
};
|
|
1394
|
+
readonly UsBankAccountResolved: {
|
|
1395
|
+
readonly allOf: readonly [{
|
|
1396
|
+
readonly type: "object";
|
|
1397
|
+
readonly properties: {
|
|
1398
|
+
readonly accountNumber: {
|
|
1399
|
+
readonly type: "string";
|
|
1400
|
+
};
|
|
1401
|
+
readonly routingNumber: {
|
|
1402
|
+
readonly type: "string";
|
|
1403
|
+
};
|
|
1404
|
+
readonly accountTypeDetail: {
|
|
1405
|
+
readonly type: "string";
|
|
1406
|
+
readonly enum: readonly ["checking", "savings"];
|
|
1407
|
+
};
|
|
1408
|
+
readonly accountAddress: {
|
|
1409
|
+
readonly $ref: "#/definitions/PhysicalAddress";
|
|
1410
|
+
};
|
|
1411
|
+
};
|
|
1412
|
+
readonly required: readonly ["accountNumber", "routingNumber", "accountTypeDetail"];
|
|
1413
|
+
}, {
|
|
1414
|
+
readonly type: "object";
|
|
1415
|
+
readonly properties: {
|
|
1416
|
+
readonly type: {
|
|
1417
|
+
readonly const: "bank-account";
|
|
1418
|
+
};
|
|
1419
|
+
readonly accountType: {
|
|
1420
|
+
readonly const: "us";
|
|
1421
|
+
};
|
|
1422
|
+
readonly obfuscated: {
|
|
1423
|
+
readonly const: false;
|
|
1424
|
+
};
|
|
1425
|
+
};
|
|
1426
|
+
readonly required: readonly ["type", "accountType"];
|
|
1427
|
+
}, {
|
|
1428
|
+
readonly $ref: "#/definitions/ResolvedAccountOwner";
|
|
1429
|
+
}, {
|
|
1430
|
+
readonly type: "object";
|
|
1431
|
+
readonly properties: {
|
|
1432
|
+
readonly bankName: {
|
|
1433
|
+
readonly type: "string";
|
|
1434
|
+
};
|
|
1435
|
+
};
|
|
1436
|
+
}];
|
|
1437
|
+
};
|
|
1438
|
+
readonly UsBankAccountObfuscated: {
|
|
1439
|
+
readonly allOf: readonly [{
|
|
1440
|
+
readonly type: "object";
|
|
1441
|
+
readonly properties: {
|
|
1442
|
+
readonly routingNumber: {
|
|
1443
|
+
readonly type: "string";
|
|
1444
|
+
};
|
|
1445
|
+
readonly accountTypeDetail: {
|
|
1446
|
+
readonly type: "string";
|
|
1447
|
+
readonly enum: readonly ["checking", "savings"];
|
|
1448
|
+
};
|
|
1449
|
+
readonly accountAddress: {
|
|
1450
|
+
readonly oneOf: readonly [{
|
|
1451
|
+
readonly type: "string";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly $ref: "#/definitions/PhysicalAddress";
|
|
1454
|
+
}];
|
|
1455
|
+
};
|
|
1456
|
+
};
|
|
1457
|
+
readonly required: readonly ["routingNumber"];
|
|
1458
|
+
}, {
|
|
1459
|
+
readonly type: "object";
|
|
1460
|
+
readonly properties: {
|
|
1461
|
+
readonly type: {
|
|
1462
|
+
readonly const: "bank-account";
|
|
1463
|
+
};
|
|
1464
|
+
readonly accountType: {
|
|
1465
|
+
readonly const: "us";
|
|
1466
|
+
};
|
|
1467
|
+
readonly obfuscated: {
|
|
1468
|
+
readonly const: true;
|
|
1469
|
+
};
|
|
1470
|
+
};
|
|
1471
|
+
readonly required: readonly ["type", "accountType", "obfuscated"];
|
|
1472
|
+
}, {
|
|
1473
|
+
readonly $ref: "#/definitions/ObfuscatedAccountOwner";
|
|
1474
|
+
}, {
|
|
1475
|
+
readonly type: "object";
|
|
1476
|
+
readonly properties: {
|
|
1477
|
+
readonly bankName: {
|
|
1478
|
+
readonly type: "string";
|
|
1479
|
+
};
|
|
1480
|
+
};
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly type: "object";
|
|
1483
|
+
readonly properties: {
|
|
1484
|
+
readonly accountNumberEnding: {
|
|
1485
|
+
readonly type: "string";
|
|
1486
|
+
};
|
|
1487
|
+
};
|
|
1488
|
+
}];
|
|
1489
|
+
};
|
|
1490
|
+
readonly BankAccountAddressResolved: {
|
|
1491
|
+
readonly oneOf: readonly [{
|
|
1492
|
+
readonly $ref: "#/definitions/CardBankAccountResolved";
|
|
1493
|
+
}, {
|
|
1494
|
+
readonly $ref: "#/definitions/ClabeBankAccountResolved";
|
|
1495
|
+
}, {
|
|
1496
|
+
readonly $ref: "#/definitions/IbanSwiftBankAccountResolved";
|
|
1497
|
+
}, {
|
|
1498
|
+
readonly $ref: "#/definitions/InteracBankAccountResolved";
|
|
1499
|
+
}, {
|
|
1500
|
+
readonly $ref: "#/definitions/PixBankAccountResolved";
|
|
1501
|
+
}, {
|
|
1502
|
+
readonly $ref: "#/definitions/UsBankAccountResolved";
|
|
1503
|
+
}];
|
|
1504
|
+
};
|
|
1505
|
+
readonly BankAccountAddressObfuscated: {
|
|
1506
|
+
readonly oneOf: readonly [{
|
|
1507
|
+
readonly $ref: "#/definitions/CardBankAccountObfuscated";
|
|
1508
|
+
}, {
|
|
1509
|
+
readonly $ref: "#/definitions/ClabeBankAccountObfuscated";
|
|
1510
|
+
}, {
|
|
1511
|
+
readonly $ref: "#/definitions/IbanSwiftBankAccountObfuscated";
|
|
1512
|
+
}, {
|
|
1513
|
+
readonly $ref: "#/definitions/InteracBankAccountObfuscated";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly $ref: "#/definitions/PixBankAccountObfuscated";
|
|
1516
|
+
}, {
|
|
1517
|
+
readonly $ref: "#/definitions/UsBankAccountObfuscated";
|
|
1518
|
+
}];
|
|
1519
|
+
};
|
|
1520
|
+
readonly MobileWalletAddressResolved: {
|
|
1521
|
+
readonly oneOf: readonly [{
|
|
1522
|
+
readonly $ref: "#/definitions/AirtelMoneyMobileWalletResolved";
|
|
1523
|
+
}, {
|
|
1524
|
+
readonly $ref: "#/definitions/BkashMobileWalletResolved";
|
|
1525
|
+
}, {
|
|
1526
|
+
readonly $ref: "#/definitions/EasyPaisaMobileWalletResolved";
|
|
1527
|
+
}, {
|
|
1528
|
+
readonly $ref: "#/definitions/FinjaWalletMobileWalletResolved";
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly $ref: "#/definitions/JazzCashMobileWalletResolved";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly $ref: "#/definitions/MtnMobileMoneyMobileWalletResolved";
|
|
1533
|
+
}, {
|
|
1534
|
+
readonly $ref: "#/definitions/NagadMobileWalletResolved";
|
|
1535
|
+
}, {
|
|
1536
|
+
readonly $ref: "#/definitions/NayaPayMobileWalletResolved";
|
|
1537
|
+
}, {
|
|
1538
|
+
readonly $ref: "#/definitions/PaypalMobileWalletResolved";
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly $ref: "#/definitions/RocketMobileWalletResolved";
|
|
1541
|
+
}, {
|
|
1542
|
+
readonly $ref: "#/definitions/SadaPayMobileWalletResolved";
|
|
1543
|
+
}, {
|
|
1544
|
+
readonly $ref: "#/definitions/VenmoMobileWalletResolved";
|
|
1545
|
+
}];
|
|
1546
|
+
};
|
|
1547
|
+
readonly MobileWalletAddressObfuscated: {
|
|
1548
|
+
readonly oneOf: readonly [{
|
|
1549
|
+
readonly $ref: "#/definitions/AirtelMoneyMobileWalletObfuscated";
|
|
1550
|
+
}, {
|
|
1551
|
+
readonly $ref: "#/definitions/BkashMobileWalletObfuscated";
|
|
1552
|
+
}, {
|
|
1553
|
+
readonly $ref: "#/definitions/EasyPaisaMobileWalletObfuscated";
|
|
1554
|
+
}, {
|
|
1555
|
+
readonly $ref: "#/definitions/FinjaWalletMobileWalletObfuscated";
|
|
1556
|
+
}, {
|
|
1557
|
+
readonly $ref: "#/definitions/JazzCashMobileWalletObfuscated";
|
|
1558
|
+
}, {
|
|
1559
|
+
readonly $ref: "#/definitions/MtnMobileMoneyMobileWalletObfuscated";
|
|
1560
|
+
}, {
|
|
1561
|
+
readonly $ref: "#/definitions/NagadMobileWalletObfuscated";
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly $ref: "#/definitions/NayaPayMobileWalletObfuscated";
|
|
1564
|
+
}, {
|
|
1565
|
+
readonly $ref: "#/definitions/PaypalMobileWalletObfuscated";
|
|
1566
|
+
}, {
|
|
1567
|
+
readonly $ref: "#/definitions/RocketMobileWalletObfuscated";
|
|
1568
|
+
}, {
|
|
1569
|
+
readonly $ref: "#/definitions/SadaPayMobileWalletObfuscated";
|
|
1570
|
+
}, {
|
|
1571
|
+
readonly $ref: "#/definitions/VenmoMobileWalletObfuscated";
|
|
1572
|
+
}];
|
|
1573
|
+
};
|
|
1574
|
+
readonly GeneratedAddressResolved: {
|
|
1575
|
+
readonly oneOf: readonly [{
|
|
1576
|
+
readonly $ref: "#/definitions/BankAccountAddressResolved";
|
|
1577
|
+
}, {
|
|
1578
|
+
readonly $ref: "#/definitions/MobileWalletAddressResolved";
|
|
1579
|
+
}];
|
|
1580
|
+
};
|
|
1581
|
+
readonly GeneratedAddressObfuscated: {
|
|
1582
|
+
readonly oneOf: readonly [{
|
|
1583
|
+
readonly $ref: "#/definitions/BankAccountAddressObfuscated";
|
|
1584
|
+
}, {
|
|
1585
|
+
readonly $ref: "#/definitions/MobileWalletAddressObfuscated";
|
|
1586
|
+
}];
|
|
1587
|
+
};
|
|
1588
|
+
};
|
|
1589
|
+
};
|
|
1590
|
+
//# sourceMappingURL=types.generated.d.ts.map
|