@stashfin/grpc 1.2.574 → 1.2.576
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
|
@@ -2,6 +2,7 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "kyc.fetchemploymenthistory";
|
|
3
3
|
export interface fetchEmploymentHistoryRequest {
|
|
4
4
|
uan: string;
|
|
5
|
+
customer_id: number;
|
|
5
6
|
}
|
|
6
7
|
export interface EmploymentData {
|
|
7
8
|
name: string;
|
|
@@ -20,6 +21,8 @@ export interface Data {
|
|
|
20
21
|
export interface fetchEmploymentHistoryResponse {
|
|
21
22
|
data: Data | undefined;
|
|
22
23
|
request_id: string;
|
|
24
|
+
customer_id: number;
|
|
25
|
+
uan: string;
|
|
23
26
|
}
|
|
24
27
|
export declare const fetchEmploymentHistoryRequest: {
|
|
25
28
|
encode(message: fetchEmploymentHistoryRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -13,13 +13,16 @@ exports.fetchEmploymentHistoryResponse = exports.Data = exports.EmploymentData =
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "kyc.fetchemploymenthistory";
|
|
15
15
|
function createBasefetchEmploymentHistoryRequest() {
|
|
16
|
-
return { uan: "" };
|
|
16
|
+
return { uan: "", customer_id: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.fetchEmploymentHistoryRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.uan !== "") {
|
|
21
21
|
writer.uint32(10).string(message.uan);
|
|
22
22
|
}
|
|
23
|
+
if (message.customer_id !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.customer_id);
|
|
25
|
+
}
|
|
23
26
|
return writer;
|
|
24
27
|
},
|
|
25
28
|
decode(input, length) {
|
|
@@ -35,6 +38,12 @@ exports.fetchEmploymentHistoryRequest = {
|
|
|
35
38
|
}
|
|
36
39
|
message.uan = reader.string();
|
|
37
40
|
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.customer_id = reader.int32();
|
|
46
|
+
continue;
|
|
38
47
|
}
|
|
39
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
40
49
|
break;
|
|
@@ -44,13 +53,19 @@ exports.fetchEmploymentHistoryRequest = {
|
|
|
44
53
|
return message;
|
|
45
54
|
},
|
|
46
55
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
56
|
+
return {
|
|
57
|
+
uan: isSet(object.uan) ? globalThis.String(object.uan) : "",
|
|
58
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
59
|
+
};
|
|
48
60
|
},
|
|
49
61
|
toJSON(message) {
|
|
50
62
|
const obj = {};
|
|
51
63
|
if (message.uan !== "") {
|
|
52
64
|
obj.uan = message.uan;
|
|
53
65
|
}
|
|
66
|
+
if (message.customer_id !== 0) {
|
|
67
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
68
|
+
}
|
|
54
69
|
return obj;
|
|
55
70
|
},
|
|
56
71
|
create(base) {
|
|
@@ -59,6 +74,7 @@ exports.fetchEmploymentHistoryRequest = {
|
|
|
59
74
|
fromPartial(object) {
|
|
60
75
|
const message = createBasefetchEmploymentHistoryRequest();
|
|
61
76
|
message.uan = object.uan ?? "";
|
|
77
|
+
message.customer_id = object.customer_id ?? 0;
|
|
62
78
|
return message;
|
|
63
79
|
},
|
|
64
80
|
};
|
|
@@ -289,7 +305,7 @@ exports.Data = {
|
|
|
289
305
|
},
|
|
290
306
|
};
|
|
291
307
|
function createBasefetchEmploymentHistoryResponse() {
|
|
292
|
-
return { data: undefined, request_id: "" };
|
|
308
|
+
return { data: undefined, request_id: "", customer_id: 0, uan: "" };
|
|
293
309
|
}
|
|
294
310
|
exports.fetchEmploymentHistoryResponse = {
|
|
295
311
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -299,6 +315,12 @@ exports.fetchEmploymentHistoryResponse = {
|
|
|
299
315
|
if (message.request_id !== "") {
|
|
300
316
|
writer.uint32(18).string(message.request_id);
|
|
301
317
|
}
|
|
318
|
+
if (message.customer_id !== 0) {
|
|
319
|
+
writer.uint32(24).int32(message.customer_id);
|
|
320
|
+
}
|
|
321
|
+
if (message.uan !== "") {
|
|
322
|
+
writer.uint32(34).string(message.uan);
|
|
323
|
+
}
|
|
302
324
|
return writer;
|
|
303
325
|
},
|
|
304
326
|
decode(input, length) {
|
|
@@ -320,6 +342,18 @@ exports.fetchEmploymentHistoryResponse = {
|
|
|
320
342
|
}
|
|
321
343
|
message.request_id = reader.string();
|
|
322
344
|
continue;
|
|
345
|
+
case 3:
|
|
346
|
+
if (tag !== 24) {
|
|
347
|
+
break;
|
|
348
|
+
}
|
|
349
|
+
message.customer_id = reader.int32();
|
|
350
|
+
continue;
|
|
351
|
+
case 4:
|
|
352
|
+
if (tag !== 34) {
|
|
353
|
+
break;
|
|
354
|
+
}
|
|
355
|
+
message.uan = reader.string();
|
|
356
|
+
continue;
|
|
323
357
|
}
|
|
324
358
|
if ((tag & 7) === 4 || tag === 0) {
|
|
325
359
|
break;
|
|
@@ -332,6 +366,8 @@ exports.fetchEmploymentHistoryResponse = {
|
|
|
332
366
|
return {
|
|
333
367
|
data: isSet(object.data) ? exports.Data.fromJSON(object.data) : undefined,
|
|
334
368
|
request_id: isSet(object.request_id) ? globalThis.String(object.request_id) : "",
|
|
369
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
370
|
+
uan: isSet(object.uan) ? globalThis.String(object.uan) : "",
|
|
335
371
|
};
|
|
336
372
|
},
|
|
337
373
|
toJSON(message) {
|
|
@@ -342,6 +378,12 @@ exports.fetchEmploymentHistoryResponse = {
|
|
|
342
378
|
if (message.request_id !== "") {
|
|
343
379
|
obj.request_id = message.request_id;
|
|
344
380
|
}
|
|
381
|
+
if (message.customer_id !== 0) {
|
|
382
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
383
|
+
}
|
|
384
|
+
if (message.uan !== "") {
|
|
385
|
+
obj.uan = message.uan;
|
|
386
|
+
}
|
|
345
387
|
return obj;
|
|
346
388
|
},
|
|
347
389
|
create(base) {
|
|
@@ -351,6 +393,8 @@ exports.fetchEmploymentHistoryResponse = {
|
|
|
351
393
|
const message = createBasefetchEmploymentHistoryResponse();
|
|
352
394
|
message.data = (object.data !== undefined && object.data !== null) ? exports.Data.fromPartial(object.data) : undefined;
|
|
353
395
|
message.request_id = object.request_id ?? "";
|
|
396
|
+
message.customer_id = object.customer_id ?? 0;
|
|
397
|
+
message.uan = object.uan ?? "";
|
|
354
398
|
return message;
|
|
355
399
|
},
|
|
356
400
|
};
|
package/ts/kyc/fetchuanlist.d.ts
CHANGED
|
@@ -2,9 +2,11 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "kyc.fetchuanlist";
|
|
3
3
|
export interface fetchUanListRequest {
|
|
4
4
|
mobile: string;
|
|
5
|
+
customer_id: number;
|
|
5
6
|
}
|
|
6
7
|
export interface fetchUanListResponse {
|
|
7
8
|
uan_list: string[];
|
|
9
|
+
customer_id: number;
|
|
8
10
|
}
|
|
9
11
|
export declare const fetchUanListRequest: {
|
|
10
12
|
encode(message: fetchUanListRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/kyc/fetchuanlist.js
CHANGED
|
@@ -13,13 +13,16 @@ exports.fetchUanListResponse = exports.fetchUanListRequest = exports.protobufPac
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "kyc.fetchuanlist";
|
|
15
15
|
function createBasefetchUanListRequest() {
|
|
16
|
-
return { mobile: "" };
|
|
16
|
+
return { mobile: "", customer_id: 0 };
|
|
17
17
|
}
|
|
18
18
|
exports.fetchUanListRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.mobile !== "") {
|
|
21
21
|
writer.uint32(10).string(message.mobile);
|
|
22
22
|
}
|
|
23
|
+
if (message.customer_id !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.customer_id);
|
|
25
|
+
}
|
|
23
26
|
return writer;
|
|
24
27
|
},
|
|
25
28
|
decode(input, length) {
|
|
@@ -35,6 +38,12 @@ exports.fetchUanListRequest = {
|
|
|
35
38
|
}
|
|
36
39
|
message.mobile = reader.string();
|
|
37
40
|
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.customer_id = reader.int32();
|
|
46
|
+
continue;
|
|
38
47
|
}
|
|
39
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
40
49
|
break;
|
|
@@ -44,13 +53,19 @@ exports.fetchUanListRequest = {
|
|
|
44
53
|
return message;
|
|
45
54
|
},
|
|
46
55
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
56
|
+
return {
|
|
57
|
+
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
58
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
59
|
+
};
|
|
48
60
|
},
|
|
49
61
|
toJSON(message) {
|
|
50
62
|
const obj = {};
|
|
51
63
|
if (message.mobile !== "") {
|
|
52
64
|
obj.mobile = message.mobile;
|
|
53
65
|
}
|
|
66
|
+
if (message.customer_id !== 0) {
|
|
67
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
68
|
+
}
|
|
54
69
|
return obj;
|
|
55
70
|
},
|
|
56
71
|
create(base) {
|
|
@@ -59,17 +74,21 @@ exports.fetchUanListRequest = {
|
|
|
59
74
|
fromPartial(object) {
|
|
60
75
|
const message = createBasefetchUanListRequest();
|
|
61
76
|
message.mobile = object.mobile ?? "";
|
|
77
|
+
message.customer_id = object.customer_id ?? 0;
|
|
62
78
|
return message;
|
|
63
79
|
},
|
|
64
80
|
};
|
|
65
81
|
function createBasefetchUanListResponse() {
|
|
66
|
-
return { uan_list: [] };
|
|
82
|
+
return { uan_list: [], customer_id: 0 };
|
|
67
83
|
}
|
|
68
84
|
exports.fetchUanListResponse = {
|
|
69
85
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
86
|
for (const v of message.uan_list) {
|
|
71
87
|
writer.uint32(10).string(v);
|
|
72
88
|
}
|
|
89
|
+
if (message.customer_id !== 0) {
|
|
90
|
+
writer.uint32(16).int32(message.customer_id);
|
|
91
|
+
}
|
|
73
92
|
return writer;
|
|
74
93
|
},
|
|
75
94
|
decode(input, length) {
|
|
@@ -85,6 +104,12 @@ exports.fetchUanListResponse = {
|
|
|
85
104
|
}
|
|
86
105
|
message.uan_list.push(reader.string());
|
|
87
106
|
continue;
|
|
107
|
+
case 2:
|
|
108
|
+
if (tag !== 16) {
|
|
109
|
+
break;
|
|
110
|
+
}
|
|
111
|
+
message.customer_id = reader.int32();
|
|
112
|
+
continue;
|
|
88
113
|
}
|
|
89
114
|
if ((tag & 7) === 4 || tag === 0) {
|
|
90
115
|
break;
|
|
@@ -96,6 +121,7 @@ exports.fetchUanListResponse = {
|
|
|
96
121
|
fromJSON(object) {
|
|
97
122
|
return {
|
|
98
123
|
uan_list: globalThis.Array.isArray(object?.uan_list) ? object.uan_list.map((e) => globalThis.String(e)) : [],
|
|
124
|
+
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
99
125
|
};
|
|
100
126
|
},
|
|
101
127
|
toJSON(message) {
|
|
@@ -103,6 +129,9 @@ exports.fetchUanListResponse = {
|
|
|
103
129
|
if (message.uan_list?.length) {
|
|
104
130
|
obj.uan_list = message.uan_list;
|
|
105
131
|
}
|
|
132
|
+
if (message.customer_id !== 0) {
|
|
133
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
134
|
+
}
|
|
106
135
|
return obj;
|
|
107
136
|
},
|
|
108
137
|
create(base) {
|
|
@@ -111,6 +140,7 @@ exports.fetchUanListResponse = {
|
|
|
111
140
|
fromPartial(object) {
|
|
112
141
|
const message = createBasefetchUanListResponse();
|
|
113
142
|
message.uan_list = object.uan_list?.map((e) => e) || [];
|
|
143
|
+
message.customer_id = object.customer_id ?? 0;
|
|
114
144
|
return message;
|
|
115
145
|
},
|
|
116
146
|
};
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "payments.nachregistration";
|
|
3
|
+
export declare enum MandatePartner {
|
|
4
|
+
INVALID = 0,
|
|
5
|
+
LOTUSPAY = 1,
|
|
6
|
+
DIGIO = 2,
|
|
7
|
+
UNRECOGNIZED = -1
|
|
8
|
+
}
|
|
9
|
+
export declare function mandatePartnerFromJSON(object: any): MandatePartner;
|
|
10
|
+
export declare function mandatePartnerToJSON(object: MandatePartner): string;
|
|
3
11
|
export interface request {
|
|
4
12
|
customer_id: number;
|
|
5
13
|
client_id: string;
|
|
@@ -10,6 +18,7 @@ export interface request {
|
|
|
10
18
|
maximum_amount: number;
|
|
11
19
|
external_order_id: string;
|
|
12
20
|
vpa_id?: string | undefined;
|
|
21
|
+
gatewayIdentifier?: MandatePartner | undefined;
|
|
13
22
|
}
|
|
14
23
|
export interface response {
|
|
15
24
|
status: string;
|
|
@@ -8,11 +8,50 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
8
8
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
9
|
};
|
|
10
10
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.response_Data = exports.response = exports.request = exports.protobufPackage = void 0;
|
|
11
|
+
exports.response_Data = exports.response = exports.request = exports.MandatePartner = exports.protobufPackage = void 0;
|
|
12
|
+
exports.mandatePartnerFromJSON = mandatePartnerFromJSON;
|
|
13
|
+
exports.mandatePartnerToJSON = mandatePartnerToJSON;
|
|
12
14
|
/* eslint-disable */
|
|
13
15
|
const long_1 = __importDefault(require("long"));
|
|
14
16
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
17
|
exports.protobufPackage = "payments.nachregistration";
|
|
18
|
+
var MandatePartner;
|
|
19
|
+
(function (MandatePartner) {
|
|
20
|
+
MandatePartner[MandatePartner["INVALID"] = 0] = "INVALID";
|
|
21
|
+
MandatePartner[MandatePartner["LOTUSPAY"] = 1] = "LOTUSPAY";
|
|
22
|
+
MandatePartner[MandatePartner["DIGIO"] = 2] = "DIGIO";
|
|
23
|
+
MandatePartner[MandatePartner["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
24
|
+
})(MandatePartner || (exports.MandatePartner = MandatePartner = {}));
|
|
25
|
+
function mandatePartnerFromJSON(object) {
|
|
26
|
+
switch (object) {
|
|
27
|
+
case 0:
|
|
28
|
+
case "INVALID":
|
|
29
|
+
return MandatePartner.INVALID;
|
|
30
|
+
case 1:
|
|
31
|
+
case "LOTUSPAY":
|
|
32
|
+
return MandatePartner.LOTUSPAY;
|
|
33
|
+
case 2:
|
|
34
|
+
case "DIGIO":
|
|
35
|
+
return MandatePartner.DIGIO;
|
|
36
|
+
case -1:
|
|
37
|
+
case "UNRECOGNIZED":
|
|
38
|
+
default:
|
|
39
|
+
return MandatePartner.UNRECOGNIZED;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
function mandatePartnerToJSON(object) {
|
|
43
|
+
switch (object) {
|
|
44
|
+
case MandatePartner.INVALID:
|
|
45
|
+
return "INVALID";
|
|
46
|
+
case MandatePartner.LOTUSPAY:
|
|
47
|
+
return "LOTUSPAY";
|
|
48
|
+
case MandatePartner.DIGIO:
|
|
49
|
+
return "DIGIO";
|
|
50
|
+
case MandatePartner.UNRECOGNIZED:
|
|
51
|
+
default:
|
|
52
|
+
return "UNRECOGNIZED";
|
|
53
|
+
}
|
|
54
|
+
}
|
|
16
55
|
function createBaserequest() {
|
|
17
56
|
return {
|
|
18
57
|
customer_id: 0,
|
|
@@ -24,6 +63,7 @@ function createBaserequest() {
|
|
|
24
63
|
maximum_amount: 0,
|
|
25
64
|
external_order_id: "",
|
|
26
65
|
vpa_id: undefined,
|
|
66
|
+
gatewayIdentifier: undefined,
|
|
27
67
|
};
|
|
28
68
|
}
|
|
29
69
|
exports.request = {
|
|
@@ -55,6 +95,9 @@ exports.request = {
|
|
|
55
95
|
if (message.vpa_id !== undefined) {
|
|
56
96
|
writer.uint32(74).string(message.vpa_id);
|
|
57
97
|
}
|
|
98
|
+
if (message.gatewayIdentifier !== undefined) {
|
|
99
|
+
writer.uint32(80).int32(message.gatewayIdentifier);
|
|
100
|
+
}
|
|
58
101
|
return writer;
|
|
59
102
|
},
|
|
60
103
|
decode(input, length) {
|
|
@@ -118,6 +161,12 @@ exports.request = {
|
|
|
118
161
|
}
|
|
119
162
|
message.vpa_id = reader.string();
|
|
120
163
|
continue;
|
|
164
|
+
case 10:
|
|
165
|
+
if (tag !== 80) {
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
message.gatewayIdentifier = reader.int32();
|
|
169
|
+
continue;
|
|
121
170
|
}
|
|
122
171
|
if ((tag & 7) === 4 || tag === 0) {
|
|
123
172
|
break;
|
|
@@ -139,6 +188,7 @@ exports.request = {
|
|
|
139
188
|
maximum_amount: isSet(object.maximum_amount) ? globalThis.Number(object.maximum_amount) : 0,
|
|
140
189
|
external_order_id: isSet(object.external_order_id) ? globalThis.String(object.external_order_id) : "",
|
|
141
190
|
vpa_id: isSet(object.vpa_id) ? globalThis.String(object.vpa_id) : undefined,
|
|
191
|
+
gatewayIdentifier: isSet(object.gatewayIdentifier) ? mandatePartnerFromJSON(object.gatewayIdentifier) : undefined,
|
|
142
192
|
};
|
|
143
193
|
},
|
|
144
194
|
toJSON(message) {
|
|
@@ -170,6 +220,9 @@ exports.request = {
|
|
|
170
220
|
if (message.vpa_id !== undefined) {
|
|
171
221
|
obj.vpa_id = message.vpa_id;
|
|
172
222
|
}
|
|
223
|
+
if (message.gatewayIdentifier !== undefined) {
|
|
224
|
+
obj.gatewayIdentifier = mandatePartnerToJSON(message.gatewayIdentifier);
|
|
225
|
+
}
|
|
173
226
|
return obj;
|
|
174
227
|
},
|
|
175
228
|
create(base) {
|
|
@@ -186,6 +239,7 @@ exports.request = {
|
|
|
186
239
|
message.maximum_amount = object.maximum_amount ?? 0;
|
|
187
240
|
message.external_order_id = object.external_order_id ?? "";
|
|
188
241
|
message.vpa_id = object.vpa_id ?? undefined;
|
|
242
|
+
message.gatewayIdentifier = object.gatewayIdentifier ?? undefined;
|
|
189
243
|
return message;
|
|
190
244
|
},
|
|
191
245
|
};
|