@t-0/provider-sdk 1.0.32 → 1.0.34
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/cjs/common/gen/tzero/v1/common/payment_method_pb.d.ts +413 -48
- package/lib/cjs/common/gen/tzero/v1/common/payment_method_pb.js +93 -29
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +21 -21
- package/lib/cjs/common/gen/tzero/v1/common/payment_receipt_pb.js +11 -11
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.d.ts +3 -3
- package/lib/cjs/common/gen/tzero/v1/payment/network_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.d.ts +7 -7
- package/lib/cjs/common/gen/tzero/v1/payment/provider_pb.js +1 -1
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +4 -4
- package/lib/cjs/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +1 -1
- package/lib/cjs/index.d.ts +1 -1
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.d.ts +413 -48
- package/lib/esm/common/gen/tzero/v1/common/payment_method_pb.js +92 -28
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.d.ts +21 -21
- package/lib/esm/common/gen/tzero/v1/common/payment_receipt_pb.js +10 -10
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.d.ts +3 -3
- package/lib/esm/common/gen/tzero/v1/payment/network_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.d.ts +7 -7
- package/lib/esm/common/gen/tzero/v1/payment/provider_pb.js +1 -1
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.d.ts +4 -4
- package/lib/esm/common/gen/tzero/v1/payment_intent/recipient/recipient_pb.js +1 -1
- package/lib/esm/index.d.ts +1 -1
- package/lib/tsconfig.cjs.tsbuildinfo +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +3 -3
|
@@ -6,56 +6,124 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare const file_tzero_v1_common_payment_method: GenFile;
|
|
8
8
|
/**
|
|
9
|
-
* @generated from message tzero.v1.common.
|
|
9
|
+
* @generated from message tzero.v1.common.PaymentDetails
|
|
10
10
|
*/
|
|
11
|
-
export type
|
|
11
|
+
export type PaymentDetails = Message<"tzero.v1.common.PaymentDetails"> & {
|
|
12
12
|
/**
|
|
13
|
-
* @generated from oneof tzero.v1.common.
|
|
13
|
+
* @generated from oneof tzero.v1.common.PaymentDetails.details
|
|
14
14
|
*/
|
|
15
15
|
details: {
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
* SEPA (Single Euro Payments Area) - Euro bank transfers across European countries
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Sepa sepa = 10;
|
|
18
20
|
*/
|
|
19
|
-
value:
|
|
21
|
+
value: PaymentDetails_Sepa;
|
|
20
22
|
case: "sepa";
|
|
21
23
|
} | {
|
|
22
24
|
/**
|
|
23
|
-
*
|
|
25
|
+
* SWIFT (Society for Worldwide Interbank Financial Telecommunication) - International wire transfers
|
|
26
|
+
* Global (200+ countries)
|
|
27
|
+
*
|
|
28
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Swift swift = 30;
|
|
24
29
|
*/
|
|
25
|
-
value:
|
|
30
|
+
value: PaymentDetails_Swift;
|
|
26
31
|
case: "swift";
|
|
27
32
|
} | {
|
|
28
33
|
/**
|
|
29
|
-
*
|
|
34
|
+
* Stablecoin - Cryptocurrency transfers pegged to fiat currencies
|
|
35
|
+
* Global
|
|
36
|
+
*
|
|
37
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Stablecoin stablecoin = 40;
|
|
30
38
|
*/
|
|
31
|
-
value:
|
|
39
|
+
value: PaymentDetails_Stablecoin;
|
|
32
40
|
case: "stablecoin";
|
|
33
41
|
} | {
|
|
34
42
|
/**
|
|
35
|
-
*
|
|
43
|
+
* ACH (Automated Clearing House) - Electronic bank-to-bank transfers
|
|
44
|
+
* United States
|
|
45
|
+
*
|
|
46
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Ach ach = 50;
|
|
36
47
|
*/
|
|
37
|
-
value:
|
|
48
|
+
value: PaymentDetails_Ach;
|
|
38
49
|
case: "ach";
|
|
39
50
|
} | {
|
|
40
51
|
/**
|
|
41
|
-
*
|
|
52
|
+
* Wire - Domestic electronic funds transfer
|
|
53
|
+
* United States
|
|
54
|
+
*
|
|
55
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Wire wire = 60;
|
|
42
56
|
*/
|
|
43
|
-
value:
|
|
57
|
+
value: PaymentDetails_Wire;
|
|
44
58
|
case: "wire";
|
|
59
|
+
} | {
|
|
60
|
+
/**
|
|
61
|
+
* FPS (Faster Payments Service)
|
|
62
|
+
* United Kingdom
|
|
63
|
+
*
|
|
64
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Fps fps = 70;
|
|
65
|
+
*/
|
|
66
|
+
value: PaymentDetails_Fps;
|
|
67
|
+
case: "fps";
|
|
68
|
+
} | {
|
|
69
|
+
/**
|
|
70
|
+
* M-Pesa - Mobile money transfer and payment service
|
|
71
|
+
* Kenya, Tanzania, Mozambique, DRC, Lesotho, Ghana, Egypt, South Africa
|
|
72
|
+
*
|
|
73
|
+
* @generated from field: tzero.v1.common.PaymentDetails.MPesa mpesa = 80;
|
|
74
|
+
*/
|
|
75
|
+
value: PaymentDetails_MPesa;
|
|
76
|
+
case: "mpesa";
|
|
77
|
+
} | {
|
|
78
|
+
/**
|
|
79
|
+
* GCash - Mobile wallet and payment platform
|
|
80
|
+
* Philippines
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: tzero.v1.common.PaymentDetails.GCash gcash = 90;
|
|
83
|
+
*/
|
|
84
|
+
value: PaymentDetails_GCash;
|
|
85
|
+
case: "gcash";
|
|
86
|
+
} | {
|
|
87
|
+
/**
|
|
88
|
+
* Indian Bank Transfer - Domestic electronic funds transfer (IMPS/NEFT/RTGS)
|
|
89
|
+
* India
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: tzero.v1.common.PaymentDetails.IndianBankTransfer indian_bank_transfer = 100;
|
|
92
|
+
*/
|
|
93
|
+
value: PaymentDetails_IndianBankTransfer;
|
|
94
|
+
case: "indianBankTransfer";
|
|
95
|
+
} | {
|
|
96
|
+
/**
|
|
97
|
+
* PESONet - Real-time domestic payments system
|
|
98
|
+
* Philippines
|
|
99
|
+
*
|
|
100
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Pesonet pesonet = 110;
|
|
101
|
+
*/
|
|
102
|
+
value: PaymentDetails_Pesonet;
|
|
103
|
+
case: "pesonet";
|
|
104
|
+
} | {
|
|
105
|
+
/**
|
|
106
|
+
* Instapay - Real-time domestic payments system
|
|
107
|
+
* Philippines
|
|
108
|
+
*
|
|
109
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Instapay instapay = 120;
|
|
110
|
+
*/
|
|
111
|
+
value: PaymentDetails_Instapay;
|
|
112
|
+
case: "instapay";
|
|
45
113
|
} | {
|
|
46
114
|
case: undefined;
|
|
47
115
|
value?: undefined;
|
|
48
116
|
};
|
|
49
117
|
};
|
|
50
118
|
/**
|
|
51
|
-
* Describes the message tzero.v1.common.
|
|
52
|
-
* Use `create(
|
|
119
|
+
* Describes the message tzero.v1.common.PaymentDetails.
|
|
120
|
+
* Use `create(PaymentDetailsSchema)` to create a new message.
|
|
53
121
|
*/
|
|
54
|
-
export declare const
|
|
122
|
+
export declare const PaymentDetailsSchema: GenMessage<PaymentDetails>;
|
|
55
123
|
/**
|
|
56
|
-
* @generated from message tzero.v1.common.
|
|
124
|
+
* @generated from message tzero.v1.common.PaymentDetails.Sepa
|
|
57
125
|
*/
|
|
58
|
-
export type
|
|
126
|
+
export type PaymentDetails_Sepa = Message<"tzero.v1.common.PaymentDetails.Sepa"> & {
|
|
59
127
|
/**
|
|
60
128
|
* @generated from field: string iban = 20;
|
|
61
129
|
*/
|
|
@@ -70,23 +138,223 @@ export type SepaPaymentDetails = Message<"tzero.v1.common.SepaPaymentDetails"> &
|
|
|
70
138
|
paymentReference: string;
|
|
71
139
|
};
|
|
72
140
|
/**
|
|
73
|
-
* Describes the message tzero.v1.common.
|
|
74
|
-
* Use `create(
|
|
141
|
+
* Describes the message tzero.v1.common.PaymentDetails.Sepa.
|
|
142
|
+
* Use `create(PaymentDetails_SepaSchema)` to create a new message.
|
|
143
|
+
*/
|
|
144
|
+
export declare const PaymentDetails_SepaSchema: GenMessage<PaymentDetails_Sepa>;
|
|
145
|
+
/**
|
|
146
|
+
* @generated from message tzero.v1.common.PaymentDetails.Fps
|
|
147
|
+
*/
|
|
148
|
+
export type PaymentDetails_Fps = Message<"tzero.v1.common.PaymentDetails.Fps"> & {
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: string sort_code = 10;
|
|
151
|
+
*/
|
|
152
|
+
sortCode: string;
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: string account_number = 20;
|
|
155
|
+
*/
|
|
156
|
+
accountNumber: string;
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: string beneficiary_name = 30;
|
|
159
|
+
*/
|
|
160
|
+
beneficiaryName: string;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: string reference = 40;
|
|
163
|
+
*/
|
|
164
|
+
reference: string;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message tzero.v1.common.PaymentDetails.Fps.
|
|
168
|
+
* Use `create(PaymentDetails_FpsSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export declare const PaymentDetails_FpsSchema: GenMessage<PaymentDetails_Fps>;
|
|
171
|
+
/**
|
|
172
|
+
* @generated from message tzero.v1.common.PaymentDetails.MPesa
|
|
173
|
+
*/
|
|
174
|
+
export type PaymentDetails_MPesa = Message<"tzero.v1.common.PaymentDetails.MPesa"> & {
|
|
175
|
+
/**
|
|
176
|
+
* Phone number in international format without + sign
|
|
177
|
+
* Examples: 254708374149 (Kenya), 255712345678 (Tanzania), 256712345678 (Uganda)
|
|
178
|
+
* Required: Yes
|
|
179
|
+
*
|
|
180
|
+
* @generated from field: string beneficiary_phone = 10;
|
|
181
|
+
*/
|
|
182
|
+
beneficiaryPhone: string;
|
|
183
|
+
/**
|
|
184
|
+
* Account reference (max 12 chars, alphanumeric)
|
|
185
|
+
* Required: Yes
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: string account_reference = 20;
|
|
188
|
+
*/
|
|
189
|
+
accountReference: string;
|
|
190
|
+
};
|
|
191
|
+
/**
|
|
192
|
+
* Describes the message tzero.v1.common.PaymentDetails.MPesa.
|
|
193
|
+
* Use `create(PaymentDetails_MPesaSchema)` to create a new message.
|
|
194
|
+
*/
|
|
195
|
+
export declare const PaymentDetails_MPesaSchema: GenMessage<PaymentDetails_MPesa>;
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message tzero.v1.common.PaymentDetails.GCash
|
|
198
|
+
*/
|
|
199
|
+
export type PaymentDetails_GCash = Message<"tzero.v1.common.PaymentDetails.GCash"> & {
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string beneficiary_name = 10;
|
|
202
|
+
*/
|
|
203
|
+
beneficiaryName: string;
|
|
204
|
+
/**
|
|
205
|
+
* Recipient phone
|
|
206
|
+
*
|
|
207
|
+
* @generated from field: string beneficiary_phone = 20;
|
|
208
|
+
*/
|
|
209
|
+
beneficiaryPhone: string;
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string payment_reference = 30;
|
|
212
|
+
*/
|
|
213
|
+
paymentReference: string;
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Describes the message tzero.v1.common.PaymentDetails.GCash.
|
|
217
|
+
* Use `create(PaymentDetails_GCashSchema)` to create a new message.
|
|
218
|
+
*/
|
|
219
|
+
export declare const PaymentDetails_GCashSchema: GenMessage<PaymentDetails_GCash>;
|
|
220
|
+
/**
|
|
221
|
+
* @generated from message tzero.v1.common.PaymentDetails.IndianBankTransfer
|
|
222
|
+
*/
|
|
223
|
+
export type PaymentDetails_IndianBankTransfer = Message<"tzero.v1.common.PaymentDetails.IndianBankTransfer"> & {
|
|
224
|
+
/**
|
|
225
|
+
* @generated from oneof tzero.v1.common.PaymentDetails.IndianBankTransfer.method
|
|
226
|
+
*/
|
|
227
|
+
method: {
|
|
228
|
+
/**
|
|
229
|
+
* 1) ACCOUNT + IFSC (NEFT/RTGS/IMPS P2A)
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: tzero.v1.common.PaymentDetails.IndianBankTransfer.AccountIFSC account_ifsc = 10;
|
|
232
|
+
*/
|
|
233
|
+
value: PaymentDetails_IndianBankTransfer_AccountIFSC;
|
|
234
|
+
case: "accountIfsc";
|
|
235
|
+
} | {
|
|
236
|
+
/**
|
|
237
|
+
* 2) IMPS P2P (MOBILE + MMID)
|
|
238
|
+
*
|
|
239
|
+
* @generated from field: tzero.v1.common.PaymentDetails.IndianBankTransfer.IMPS imps = 20;
|
|
240
|
+
*/
|
|
241
|
+
value: PaymentDetails_IndianBankTransfer_IMPS;
|
|
242
|
+
case: "imps";
|
|
243
|
+
} | {
|
|
244
|
+
case: undefined;
|
|
245
|
+
value?: undefined;
|
|
246
|
+
};
|
|
247
|
+
/**
|
|
248
|
+
* Beneficiary name
|
|
249
|
+
*
|
|
250
|
+
* @generated from field: string beneficiary_name = 30;
|
|
251
|
+
*/
|
|
252
|
+
beneficiaryName: string;
|
|
253
|
+
/**
|
|
254
|
+
* Beneficiary type
|
|
255
|
+
*
|
|
256
|
+
* @generated from field: string beneficiary_type = 40;
|
|
257
|
+
*/
|
|
258
|
+
beneficiaryType: string;
|
|
259
|
+
/**
|
|
260
|
+
* @generated from field: string payment_reference = 50;
|
|
261
|
+
*/
|
|
262
|
+
paymentReference: string;
|
|
263
|
+
};
|
|
264
|
+
/**
|
|
265
|
+
* Describes the message tzero.v1.common.PaymentDetails.IndianBankTransfer.
|
|
266
|
+
* Use `create(PaymentDetails_IndianBankTransferSchema)` to create a new message.
|
|
267
|
+
*/
|
|
268
|
+
export declare const PaymentDetails_IndianBankTransferSchema: GenMessage<PaymentDetails_IndianBankTransfer>;
|
|
269
|
+
/**
|
|
270
|
+
* @generated from message tzero.v1.common.PaymentDetails.IndianBankTransfer.AccountIFSC
|
|
271
|
+
*/
|
|
272
|
+
export type PaymentDetails_IndianBankTransfer_AccountIFSC = Message<"tzero.v1.common.PaymentDetails.IndianBankTransfer.AccountIFSC"> & {
|
|
273
|
+
/**
|
|
274
|
+
* Beneficiary bank account number
|
|
275
|
+
*
|
|
276
|
+
* @generated from field: string account_number = 10;
|
|
277
|
+
*/
|
|
278
|
+
accountNumber: string;
|
|
279
|
+
/**
|
|
280
|
+
* IFSC code (11 characters: 4 letters + '0' + 6 alphanumeric).
|
|
281
|
+
*
|
|
282
|
+
* @generated from field: string ifsc = 20;
|
|
283
|
+
*/
|
|
284
|
+
ifsc: string;
|
|
285
|
+
};
|
|
286
|
+
/**
|
|
287
|
+
* Describes the message tzero.v1.common.PaymentDetails.IndianBankTransfer.AccountIFSC.
|
|
288
|
+
* Use `create(PaymentDetails_IndianBankTransfer_AccountIFSCSchema)` to create a new message.
|
|
75
289
|
*/
|
|
76
|
-
export declare const
|
|
290
|
+
export declare const PaymentDetails_IndianBankTransfer_AccountIFSCSchema: GenMessage<PaymentDetails_IndianBankTransfer_AccountIFSC>;
|
|
77
291
|
/**
|
|
78
|
-
*
|
|
292
|
+
* Method 2: IMPS P2P (Mobile + MMID)
|
|
293
|
+
*
|
|
294
|
+
* @generated from message tzero.v1.common.PaymentDetails.IndianBankTransfer.IMPS
|
|
79
295
|
*/
|
|
80
|
-
export type
|
|
296
|
+
export type PaymentDetails_IndianBankTransfer_IMPS = Message<"tzero.v1.common.PaymentDetails.IndianBankTransfer.IMPS"> & {
|
|
297
|
+
/**
|
|
298
|
+
* Indian mobile number (10 digits, starting from 6–9).
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: string beneficiary_phone = 10;
|
|
301
|
+
*/
|
|
302
|
+
beneficiaryPhone: string;
|
|
303
|
+
/**
|
|
304
|
+
* MMID: 7-digit Mobile Money Identifier.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: string mmid = 20;
|
|
307
|
+
*/
|
|
308
|
+
mmid: string;
|
|
309
|
+
};
|
|
81
310
|
/**
|
|
82
|
-
* Describes the message tzero.v1.common.
|
|
83
|
-
* Use `create(
|
|
311
|
+
* Describes the message tzero.v1.common.PaymentDetails.IndianBankTransfer.IMPS.
|
|
312
|
+
* Use `create(PaymentDetails_IndianBankTransfer_IMPSSchema)` to create a new message.
|
|
84
313
|
*/
|
|
85
|
-
export declare const
|
|
314
|
+
export declare const PaymentDetails_IndianBankTransfer_IMPSSchema: GenMessage<PaymentDetails_IndianBankTransfer_IMPS>;
|
|
86
315
|
/**
|
|
87
|
-
* @generated from message tzero.v1.common.
|
|
316
|
+
* @generated from message tzero.v1.common.PaymentDetails.Swift
|
|
88
317
|
*/
|
|
89
|
-
export type
|
|
318
|
+
export type PaymentDetails_Swift = Message<"tzero.v1.common.PaymentDetails.Swift"> & {
|
|
319
|
+
/**
|
|
320
|
+
* Beneficiary's bank SWIFT/BIC code (8 or 11 characters)
|
|
321
|
+
*
|
|
322
|
+
* @generated from field: string swift_code = 10;
|
|
323
|
+
*/
|
|
324
|
+
swiftCode: string;
|
|
325
|
+
/**
|
|
326
|
+
* Beneficiary's account number (format varies by country)
|
|
327
|
+
* Could be IBAN, account number, or other format
|
|
328
|
+
*
|
|
329
|
+
* @generated from field: string account_number = 20;
|
|
330
|
+
*/
|
|
331
|
+
accountNumber: string;
|
|
332
|
+
/**
|
|
333
|
+
* Beneficiary's full name
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: string beneficiary_name = 30;
|
|
336
|
+
*/
|
|
337
|
+
beneficiaryName: string;
|
|
338
|
+
/**
|
|
339
|
+
* Beneficiary's address
|
|
340
|
+
*
|
|
341
|
+
* @generated from field: string beneficiary_address = 40;
|
|
342
|
+
*/
|
|
343
|
+
beneficiaryAddress: string;
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: string payment_reference = 50;
|
|
346
|
+
*/
|
|
347
|
+
paymentReference: string;
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Describes the message tzero.v1.common.PaymentDetails.Swift.
|
|
351
|
+
* Use `create(PaymentDetails_SwiftSchema)` to create a new message.
|
|
352
|
+
*/
|
|
353
|
+
export declare const PaymentDetails_SwiftSchema: GenMessage<PaymentDetails_Swift>;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from message tzero.v1.common.PaymentDetails.Stablecoin
|
|
356
|
+
*/
|
|
357
|
+
export type PaymentDetails_Stablecoin = Message<"tzero.v1.common.PaymentDetails.Stablecoin"> & {
|
|
90
358
|
/**
|
|
91
359
|
* @generated from field: tzero.v1.common.Blockchain blockchain = 10;
|
|
92
360
|
*/
|
|
@@ -101,14 +369,14 @@ export type StablecoinPaymentDetails = Message<"tzero.v1.common.StablecoinPaymen
|
|
|
101
369
|
address: string;
|
|
102
370
|
};
|
|
103
371
|
/**
|
|
104
|
-
* Describes the message tzero.v1.common.
|
|
105
|
-
* Use `create(
|
|
372
|
+
* Describes the message tzero.v1.common.PaymentDetails.Stablecoin.
|
|
373
|
+
* Use `create(PaymentDetails_StablecoinSchema)` to create a new message.
|
|
106
374
|
*/
|
|
107
|
-
export declare const
|
|
375
|
+
export declare const PaymentDetails_StablecoinSchema: GenMessage<PaymentDetails_Stablecoin>;
|
|
108
376
|
/**
|
|
109
|
-
* @generated from message tzero.v1.common.
|
|
377
|
+
* @generated from message tzero.v1.common.PaymentDetails.Ach
|
|
110
378
|
*/
|
|
111
|
-
export type
|
|
379
|
+
export type PaymentDetails_Ach = Message<"tzero.v1.common.PaymentDetails.Ach"> & {
|
|
112
380
|
/**
|
|
113
381
|
* @generated from field: string routing_number = 10;
|
|
114
382
|
*/
|
|
@@ -122,19 +390,19 @@ export type AchPaymentDetails = Message<"tzero.v1.common.AchPaymentDetails"> & {
|
|
|
122
390
|
*/
|
|
123
391
|
accountHolderName: string;
|
|
124
392
|
/**
|
|
125
|
-
* @generated from field: tzero.v1.common.
|
|
393
|
+
* @generated from field: tzero.v1.common.PaymentDetails.Ach.AchAccountType account_type = 40;
|
|
126
394
|
*/
|
|
127
|
-
accountType:
|
|
395
|
+
accountType: PaymentDetails_Ach_AchAccountType;
|
|
128
396
|
};
|
|
129
397
|
/**
|
|
130
|
-
* Describes the message tzero.v1.common.
|
|
131
|
-
* Use `create(
|
|
398
|
+
* Describes the message tzero.v1.common.PaymentDetails.Ach.
|
|
399
|
+
* Use `create(PaymentDetails_AchSchema)` to create a new message.
|
|
132
400
|
*/
|
|
133
|
-
export declare const
|
|
401
|
+
export declare const PaymentDetails_AchSchema: GenMessage<PaymentDetails_Ach>;
|
|
134
402
|
/**
|
|
135
|
-
* @generated from enum tzero.v1.common.
|
|
403
|
+
* @generated from enum tzero.v1.common.PaymentDetails.Ach.AchAccountType
|
|
136
404
|
*/
|
|
137
|
-
export declare enum
|
|
405
|
+
export declare enum PaymentDetails_Ach_AchAccountType {
|
|
138
406
|
/**
|
|
139
407
|
* @generated from enum value: ACH_ACCOUNT_TYPE_UNSPECIFIED = 0;
|
|
140
408
|
*/
|
|
@@ -149,13 +417,13 @@ export declare enum AchPaymentDetails_AchAccountType {
|
|
|
149
417
|
SAVINGS = 20
|
|
150
418
|
}
|
|
151
419
|
/**
|
|
152
|
-
* Describes the enum tzero.v1.common.
|
|
420
|
+
* Describes the enum tzero.v1.common.PaymentDetails.Ach.AchAccountType.
|
|
153
421
|
*/
|
|
154
|
-
export declare const
|
|
422
|
+
export declare const PaymentDetails_Ach_AchAccountTypeSchema: GenEnum<PaymentDetails_Ach_AchAccountType>;
|
|
155
423
|
/**
|
|
156
|
-
* @generated from message tzero.v1.common.
|
|
424
|
+
* @generated from message tzero.v1.common.PaymentDetails.Wire
|
|
157
425
|
*/
|
|
158
|
-
export type
|
|
426
|
+
export type PaymentDetails_Wire = Message<"tzero.v1.common.PaymentDetails.Wire"> & {
|
|
159
427
|
/**
|
|
160
428
|
* @generated from field: string bank_name = 10;
|
|
161
429
|
*/
|
|
@@ -186,10 +454,83 @@ export type WirePaymentDetails = Message<"tzero.v1.common.WirePaymentDetails"> &
|
|
|
186
454
|
wireReference: string;
|
|
187
455
|
};
|
|
188
456
|
/**
|
|
189
|
-
* Describes the message tzero.v1.common.
|
|
190
|
-
* Use `create(
|
|
457
|
+
* Describes the message tzero.v1.common.PaymentDetails.Wire.
|
|
458
|
+
* Use `create(PaymentDetails_WireSchema)` to create a new message.
|
|
459
|
+
*/
|
|
460
|
+
export declare const PaymentDetails_WireSchema: GenMessage<PaymentDetails_Wire>;
|
|
461
|
+
/**
|
|
462
|
+
* @generated from message tzero.v1.common.PaymentDetails.Pesonet
|
|
463
|
+
*/
|
|
464
|
+
export type PaymentDetails_Pesonet = Message<"tzero.v1.common.PaymentDetails.Pesonet"> & {
|
|
465
|
+
/**
|
|
466
|
+
* Recipient institution: receiving bank or participating non‑bank chosen from a PESONet list.
|
|
467
|
+
*
|
|
468
|
+
* @generated from field: string recipient_financial_institution = 10;
|
|
469
|
+
*/
|
|
470
|
+
recipientFinancialInstitution: string;
|
|
471
|
+
/**
|
|
472
|
+
* Recipient identifier:
|
|
473
|
+
* Account number (some banks also allow email/mobile).
|
|
474
|
+
*
|
|
475
|
+
* @generated from field: string recipient_identifier = 20;
|
|
476
|
+
*/
|
|
477
|
+
recipientIdentifier: string;
|
|
478
|
+
/**
|
|
479
|
+
* @generated from field: string recipient_account_name = 30;
|
|
480
|
+
*/
|
|
481
|
+
recipientAccountName: string;
|
|
482
|
+
/**
|
|
483
|
+
* Purpose of Transfer (Optional/Mandatory depending on bank)
|
|
484
|
+
*
|
|
485
|
+
* @generated from field: optional string purpose_of_transfer = 40;
|
|
486
|
+
*/
|
|
487
|
+
purposeOfTransfer?: string;
|
|
488
|
+
/**
|
|
489
|
+
* Recipient's Address/Email (Optional/Mandatory depending on bank)
|
|
490
|
+
*
|
|
491
|
+
* @generated from field: optional string recipient_address_email = 50;
|
|
492
|
+
*/
|
|
493
|
+
recipientAddressEmail?: string;
|
|
494
|
+
};
|
|
495
|
+
/**
|
|
496
|
+
* Describes the message tzero.v1.common.PaymentDetails.Pesonet.
|
|
497
|
+
* Use `create(PaymentDetails_PesonetSchema)` to create a new message.
|
|
191
498
|
*/
|
|
192
|
-
export declare const
|
|
499
|
+
export declare const PaymentDetails_PesonetSchema: GenMessage<PaymentDetails_Pesonet>;
|
|
500
|
+
/**
|
|
501
|
+
* @generated from message tzero.v1.common.PaymentDetails.Instapay
|
|
502
|
+
*/
|
|
503
|
+
export type PaymentDetails_Instapay = Message<"tzero.v1.common.PaymentDetails.Instapay"> & {
|
|
504
|
+
/**
|
|
505
|
+
* Recipient institution: receiving bank or e‑money issuer selected from an InstaPay list.
|
|
506
|
+
*
|
|
507
|
+
* @generated from field: string recipient_institution = 10;
|
|
508
|
+
*/
|
|
509
|
+
recipientInstitution: string;
|
|
510
|
+
/**
|
|
511
|
+
* Recipient identifier (one of): Account number, or Mobile number, or Email address, or QR code (scanned/uploaded “InstaPay QR”).
|
|
512
|
+
*
|
|
513
|
+
* @generated from field: string recipient_identifier = 20;
|
|
514
|
+
*/
|
|
515
|
+
recipientIdentifier: string;
|
|
516
|
+
/**
|
|
517
|
+
* Recipient account name: the name as registered on the account or wallet (may be auto-displayed but is logically required for correct routing/confirmation).
|
|
518
|
+
*
|
|
519
|
+
* @generated from field: string recipient_account_name = 30;
|
|
520
|
+
*/
|
|
521
|
+
recipientAccountName: string;
|
|
522
|
+
/**
|
|
523
|
+
* Purpose of Transfer (Optional/Mandatory depending on bank)
|
|
524
|
+
*
|
|
525
|
+
* @generated from field: optional string purpose_of_transfer = 40;
|
|
526
|
+
*/
|
|
527
|
+
purposeOfTransfer?: string;
|
|
528
|
+
};
|
|
529
|
+
/**
|
|
530
|
+
* Describes the message tzero.v1.common.PaymentDetails.Instapay.
|
|
531
|
+
* Use `create(PaymentDetails_InstapaySchema)` to create a new message.
|
|
532
|
+
*/
|
|
533
|
+
export declare const PaymentDetails_InstapaySchema: GenMessage<PaymentDetails_Instapay>;
|
|
193
534
|
/**
|
|
194
535
|
* @generated from enum tzero.v1.common.PaymentMethodType
|
|
195
536
|
*/
|
|
@@ -225,7 +566,31 @@ export declare enum PaymentMethodType {
|
|
|
225
566
|
/**
|
|
226
567
|
* @generated from enum value: PAYMENT_METHOD_TYPE_WIRE = 60;
|
|
227
568
|
*/
|
|
228
|
-
WIRE = 60
|
|
569
|
+
WIRE = 60,
|
|
570
|
+
/**
|
|
571
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_FPS = 70;
|
|
572
|
+
*/
|
|
573
|
+
FPS = 70,
|
|
574
|
+
/**
|
|
575
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_M_PESA = 80;
|
|
576
|
+
*/
|
|
577
|
+
M_PESA = 80,
|
|
578
|
+
/**
|
|
579
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_G_CASH = 90;
|
|
580
|
+
*/
|
|
581
|
+
G_CASH = 90,
|
|
582
|
+
/**
|
|
583
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_INDIAN_BANK_TRANSFER = 100;
|
|
584
|
+
*/
|
|
585
|
+
INDIAN_BANK_TRANSFER = 100,
|
|
586
|
+
/**
|
|
587
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_PESONET = 110;
|
|
588
|
+
*/
|
|
589
|
+
PESONET = 110,
|
|
590
|
+
/**
|
|
591
|
+
* @generated from enum value: PAYMENT_METHOD_TYPE_INSTAPAY = 120;
|
|
592
|
+
*/
|
|
593
|
+
INSTAPAY = 120
|
|
229
594
|
}
|
|
230
595
|
/**
|
|
231
596
|
* Describes the enum tzero.v1.common.PaymentMethodType.
|