@stashfin/grpc 1.2.487 → 1.2.489
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/package.json
CHANGED
|
@@ -19,6 +19,7 @@ export interface initiateTransactionRequest {
|
|
|
19
19
|
mcc?: string | undefined;
|
|
20
20
|
merchant_type?: string | undefined;
|
|
21
21
|
payee_account_provider?: string | undefined;
|
|
22
|
+
validate_type?: string | undefined;
|
|
22
23
|
}
|
|
23
24
|
export interface initiateTransactionResponse {
|
|
24
25
|
seq_no: string;
|
|
@@ -32,6 +32,7 @@ function createBaseinitiateTransactionRequest() {
|
|
|
32
32
|
mcc: undefined,
|
|
33
33
|
merchant_type: undefined,
|
|
34
34
|
payee_account_provider: undefined,
|
|
35
|
+
validate_type: undefined,
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
exports.initiateTransactionRequest = {
|
|
@@ -90,6 +91,9 @@ exports.initiateTransactionRequest = {
|
|
|
90
91
|
if (message.payee_account_provider !== undefined) {
|
|
91
92
|
writer.uint32(146).string(message.payee_account_provider);
|
|
92
93
|
}
|
|
94
|
+
if (message.validate_type !== undefined) {
|
|
95
|
+
writer.uint32(154).string(message.validate_type);
|
|
96
|
+
}
|
|
93
97
|
return writer;
|
|
94
98
|
},
|
|
95
99
|
decode(input, length) {
|
|
@@ -207,6 +211,12 @@ exports.initiateTransactionRequest = {
|
|
|
207
211
|
}
|
|
208
212
|
message.payee_account_provider = reader.string();
|
|
209
213
|
continue;
|
|
214
|
+
case 19:
|
|
215
|
+
if (tag !== 154) {
|
|
216
|
+
break;
|
|
217
|
+
}
|
|
218
|
+
message.validate_type = reader.string();
|
|
219
|
+
continue;
|
|
210
220
|
}
|
|
211
221
|
if ((tag & 7) === 4 || tag === 0) {
|
|
212
222
|
break;
|
|
@@ -239,6 +249,7 @@ exports.initiateTransactionRequest = {
|
|
|
239
249
|
payee_account_provider: isSet(object.payee_account_provider)
|
|
240
250
|
? globalThis.String(object.payee_account_provider)
|
|
241
251
|
: undefined,
|
|
252
|
+
validate_type: isSet(object.validate_type) ? globalThis.String(object.validate_type) : undefined,
|
|
242
253
|
};
|
|
243
254
|
},
|
|
244
255
|
toJSON(message) {
|
|
@@ -297,6 +308,9 @@ exports.initiateTransactionRequest = {
|
|
|
297
308
|
if (message.payee_account_provider !== undefined) {
|
|
298
309
|
obj.payee_account_provider = message.payee_account_provider;
|
|
299
310
|
}
|
|
311
|
+
if (message.validate_type !== undefined) {
|
|
312
|
+
obj.validate_type = message.validate_type;
|
|
313
|
+
}
|
|
300
314
|
return obj;
|
|
301
315
|
},
|
|
302
316
|
create(base) {
|
|
@@ -322,6 +336,7 @@ exports.initiateTransactionRequest = {
|
|
|
322
336
|
message.mcc = object.mcc ?? undefined;
|
|
323
337
|
message.merchant_type = object.merchant_type ?? undefined;
|
|
324
338
|
message.payee_account_provider = object.payee_account_provider ?? undefined;
|
|
339
|
+
message.validate_type = object.validate_type ?? undefined;
|
|
325
340
|
return message;
|
|
326
341
|
},
|
|
327
342
|
};
|