@stashfin/grpc 1.2.50 → 1.2.52
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 +1 -1
- package/ts/customer/getprofile.d.ts +38 -0
- package/ts/customer/getprofile.js +162 -0
- package/ts/customer/getstep.d.ts +78 -0
- package/ts/customer/getstep.js +420 -0
- package/ts/customer/profileupdatetnc.d.ts +35 -0
- package/ts/{customers/saveunlocklimit.js → customer/profileupdatetnc.js} +33 -20
- package/ts/customer/sendotp.d.ts +36 -0
- package/ts/{customers/resetmpin.js → customer/sendotp.js} +47 -47
- package/ts/customer/setmpin.d.ts +36 -0
- package/ts/{customers/updatehypervergetxn.js → customer/setmpin.js} +30 -30
- package/ts/customer/step1.d.ts +69 -0
- package/ts/customer/step1.js +395 -0
- package/ts/customer/step10.d.ts +73 -0
- package/ts/customer/step10.js +459 -0
- package/ts/customer/step2.d.ts +68 -0
- package/ts/customer/step2.js +381 -0
- package/ts/customer/step7.d.ts +68 -0
- package/ts/customer/step7.js +381 -0
- package/ts/customer/step8.d.ts +69 -0
- package/ts/customer/step8.js +395 -0
- package/ts/customer/step9.d.ts +75 -0
- package/ts/customer/step9.js +489 -0
- package/ts/customer/stepstatic.d.ts +66 -0
- package/ts/customer/stepstatic.js +352 -0
- package/ts/customer/verifympin.d.ts +37 -0
- package/ts/{customers/updatedigilockertxn.js → customer/verifympin.js} +48 -46
- package/ts/customer/verifyotp.d.ts +39 -0
- package/ts/customer/verifyotp.js +177 -0
- package/ts/customer.d.ts +262 -0
- package/ts/customer.js +190 -0
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.d.ts +3 -20
- package/ts/customers/getbasicinfo.js +24 -171
- package/ts/customers/getcustomerbyid.d.ts +0 -5
- package/ts/customers/getcustomerbyid.js +1 -76
- package/ts/customers/getdashboard.d.ts +0 -1
- package/ts/customers/getdashboard.js +34 -49
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getprofessionalinfo.d.ts +1 -18
- package/ts/customers/getprofessionalinfo.js +10 -148
- package/ts/customers/getprofile.d.ts +2 -17
- package/ts/customers/getprofile.js +26 -146
- package/ts/customers/getstep.d.ts +28 -19
- package/ts/customers/getstep.js +173 -159
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/sendemailtoken.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step1.d.ts +0 -2
- package/ts/customers/step1.js +4 -32
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +6 -5
- package/ts/customers/step2.js +37 -22
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/verifyemail.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.js +1 -1
- package/ts/customers.d.ts +28 -180
- package/ts/customers.js +17 -125
- package/ts/example.js +1 -1
- package/ts/google/protobuf/any.d.ts +138 -0
- package/ts/google/protobuf/any.js +108 -0
- package/ts/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.d.ts +11 -0
- package/ts/loans/banklist.js +60 -6
- package/ts/loans/calculateemi.d.ts +2 -16
- package/ts/loans/calculateemi.js +19 -115
- package/ts/loans/creditlimit.d.ts +0 -8
- package/ts/loans/creditlimit.js +2 -129
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.d.ts +0 -14
- package/ts/loans.js +1 -11
- package/ts/payments/checkpaymentstatus.d.ts +51 -0
- package/ts/payments/checkpaymentstatus.js +259 -0
- package/ts/payments/createorder.d.ts +39 -0
- package/ts/payments/createorder.js +191 -0
- package/ts/payments/getpaymentdetails.d.ts +58 -0
- package/ts/payments/getpaymentdetails.js +367 -0
- package/ts/payments/getpaymentoptions.d.ts +50 -0
- package/ts/payments/getpaymentoptions.js +231 -0
- package/ts/payments/initiatepayment.d.ts +54 -0
- package/ts/payments/initiatepayment.js +299 -0
- package/ts/payments.d.ts +70 -0
- package/ts/payments.js +54 -0
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/customers/addaddress.d.ts +0 -50
- package/ts/customers/addaddress.js +0 -265
- package/ts/customers/addbankaccountdetails.d.ts +0 -37
- package/ts/customers/addbankaccountdetails.js +0 -147
- package/ts/customers/createcustomerreference.d.ts +0 -43
- package/ts/customers/createcustomerreference.js +0 -226
- package/ts/customers/getcities.d.ts +0 -47
- package/ts/customers/getcities.js +0 -183
- package/ts/customers/getkycweburl.d.ts +0 -34
- package/ts/customers/getkycweburl.js +0 -104
- package/ts/customers/getstates.d.ts +0 -46
- package/ts/customers/getstates.js +0 -170
- package/ts/customers/resetmpin.d.ts +0 -36
- package/ts/customers/savebasicdetails.d.ts +0 -47
- package/ts/customers/savebasicdetails.js +0 -185
- package/ts/customers/saveunlocklimit.d.ts +0 -34
- package/ts/customers/updatedigilockertxn.d.ts +0 -37
- package/ts/customers/updatehypervergetxn.d.ts +0 -36
- package/ts/loans/restructureloan.d.ts +0 -36
- package/ts/loans/restructureloan.js +0 -133
- package/ts/loans/transactionlist.d.ts +0 -50
- package/ts/loans/transactionlist.js +0 -229
|
@@ -5,19 +5,10 @@ export interface getBasicInfoRequest {
|
|
|
5
5
|
export interface getBasicInfoResponse {
|
|
6
6
|
mobile: string;
|
|
7
7
|
pan: string;
|
|
8
|
-
|
|
8
|
+
aadhar: string;
|
|
9
9
|
personal_email: string;
|
|
10
|
-
curr_address:
|
|
11
|
-
permanent_address:
|
|
12
|
-
}
|
|
13
|
-
export interface Address {
|
|
14
|
-
house_flat_no: string;
|
|
15
|
-
address_line_1: string;
|
|
16
|
-
address_line_2: string;
|
|
17
|
-
landmark: string;
|
|
18
|
-
city: string;
|
|
19
|
-
state: string;
|
|
20
|
-
pin_code: string;
|
|
10
|
+
curr_address: string;
|
|
11
|
+
permanent_address: string;
|
|
21
12
|
}
|
|
22
13
|
export declare const getBasicInfoRequest: {
|
|
23
14
|
encode(_: getBasicInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -35,14 +26,6 @@ export declare const getBasicInfoResponse: {
|
|
|
35
26
|
create<I extends Exact<DeepPartial<getBasicInfoResponse>, I>>(base?: I): getBasicInfoResponse;
|
|
36
27
|
fromPartial<I extends Exact<DeepPartial<getBasicInfoResponse>, I>>(object: I): getBasicInfoResponse;
|
|
37
28
|
};
|
|
38
|
-
export declare const Address: {
|
|
39
|
-
encode(message: Address, writer?: _m0.Writer): _m0.Writer;
|
|
40
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Address;
|
|
41
|
-
fromJSON(object: any): Address;
|
|
42
|
-
toJSON(message: Address): unknown;
|
|
43
|
-
create<I extends Exact<DeepPartial<Address>, I>>(base?: I): Address;
|
|
44
|
-
fromPartial<I extends Exact<DeepPartial<Address>, I>>(object: I): Address;
|
|
45
|
-
};
|
|
46
29
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
47
30
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
48
31
|
[K in keyof T]?: DeepPartial<T[K]>;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getbasicinfo.proto
|
|
7
7
|
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.
|
|
11
|
+
exports.getBasicInfoResponse = exports.getBasicInfoRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "customers.getbasicinfo";
|
|
@@ -50,14 +50,7 @@ exports.getBasicInfoRequest = {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
function createBasegetBasicInfoResponse() {
|
|
53
|
-
return {
|
|
54
|
-
mobile: "",
|
|
55
|
-
pan: "",
|
|
56
|
-
aadhaar: "",
|
|
57
|
-
personal_email: "",
|
|
58
|
-
curr_address: undefined,
|
|
59
|
-
permanent_address: undefined,
|
|
60
|
-
};
|
|
53
|
+
return { mobile: "", pan: "", aadhar: "", personal_email: "", curr_address: "", permanent_address: "" };
|
|
61
54
|
}
|
|
62
55
|
exports.getBasicInfoResponse = {
|
|
63
56
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -67,17 +60,17 @@ exports.getBasicInfoResponse = {
|
|
|
67
60
|
if (message.pan !== "") {
|
|
68
61
|
writer.uint32(18).string(message.pan);
|
|
69
62
|
}
|
|
70
|
-
if (message.
|
|
71
|
-
writer.uint32(26).string(message.
|
|
63
|
+
if (message.aadhar !== "") {
|
|
64
|
+
writer.uint32(26).string(message.aadhar);
|
|
72
65
|
}
|
|
73
66
|
if (message.personal_email !== "") {
|
|
74
67
|
writer.uint32(34).string(message.personal_email);
|
|
75
68
|
}
|
|
76
|
-
if (message.curr_address !==
|
|
77
|
-
|
|
69
|
+
if (message.curr_address !== "") {
|
|
70
|
+
writer.uint32(42).string(message.curr_address);
|
|
78
71
|
}
|
|
79
|
-
if (message.permanent_address !==
|
|
80
|
-
|
|
72
|
+
if (message.permanent_address !== "") {
|
|
73
|
+
writer.uint32(50).string(message.permanent_address);
|
|
81
74
|
}
|
|
82
75
|
return writer;
|
|
83
76
|
},
|
|
@@ -104,7 +97,7 @@ exports.getBasicInfoResponse = {
|
|
|
104
97
|
if (tag !== 26) {
|
|
105
98
|
break;
|
|
106
99
|
}
|
|
107
|
-
message.
|
|
100
|
+
message.aadhar = reader.string();
|
|
108
101
|
continue;
|
|
109
102
|
case 4:
|
|
110
103
|
if (tag !== 34) {
|
|
@@ -116,13 +109,13 @@ exports.getBasicInfoResponse = {
|
|
|
116
109
|
if (tag !== 42) {
|
|
117
110
|
break;
|
|
118
111
|
}
|
|
119
|
-
message.curr_address =
|
|
112
|
+
message.curr_address = reader.string();
|
|
120
113
|
continue;
|
|
121
114
|
case 6:
|
|
122
115
|
if (tag !== 50) {
|
|
123
116
|
break;
|
|
124
117
|
}
|
|
125
|
-
message.permanent_address =
|
|
118
|
+
message.permanent_address = reader.string();
|
|
126
119
|
continue;
|
|
127
120
|
}
|
|
128
121
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -136,10 +129,10 @@ exports.getBasicInfoResponse = {
|
|
|
136
129
|
return {
|
|
137
130
|
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
138
131
|
pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
|
|
139
|
-
|
|
132
|
+
aadhar: isSet(object.aadhar) ? globalThis.String(object.aadhar) : "",
|
|
140
133
|
personal_email: isSet(object.personal_email) ? globalThis.String(object.personal_email) : "",
|
|
141
|
-
curr_address: isSet(object.curr_address) ?
|
|
142
|
-
permanent_address: isSet(object.permanent_address) ?
|
|
134
|
+
curr_address: isSet(object.curr_address) ? globalThis.String(object.curr_address) : "",
|
|
135
|
+
permanent_address: isSet(object.permanent_address) ? globalThis.String(object.permanent_address) : "",
|
|
143
136
|
};
|
|
144
137
|
},
|
|
145
138
|
toJSON(message) {
|
|
@@ -150,17 +143,17 @@ exports.getBasicInfoResponse = {
|
|
|
150
143
|
if (message.pan !== "") {
|
|
151
144
|
obj.pan = message.pan;
|
|
152
145
|
}
|
|
153
|
-
if (message.
|
|
154
|
-
obj.
|
|
146
|
+
if (message.aadhar !== "") {
|
|
147
|
+
obj.aadhar = message.aadhar;
|
|
155
148
|
}
|
|
156
149
|
if (message.personal_email !== "") {
|
|
157
150
|
obj.personal_email = message.personal_email;
|
|
158
151
|
}
|
|
159
|
-
if (message.curr_address !==
|
|
160
|
-
obj.curr_address =
|
|
152
|
+
if (message.curr_address !== "") {
|
|
153
|
+
obj.curr_address = message.curr_address;
|
|
161
154
|
}
|
|
162
|
-
if (message.permanent_address !==
|
|
163
|
-
obj.permanent_address =
|
|
155
|
+
if (message.permanent_address !== "") {
|
|
156
|
+
obj.permanent_address = message.permanent_address;
|
|
164
157
|
}
|
|
165
158
|
return obj;
|
|
166
159
|
},
|
|
@@ -171,150 +164,10 @@ exports.getBasicInfoResponse = {
|
|
|
171
164
|
const message = createBasegetBasicInfoResponse();
|
|
172
165
|
message.mobile = object.mobile ?? "";
|
|
173
166
|
message.pan = object.pan ?? "";
|
|
174
|
-
message.
|
|
167
|
+
message.aadhar = object.aadhar ?? "";
|
|
175
168
|
message.personal_email = object.personal_email ?? "";
|
|
176
|
-
message.curr_address =
|
|
177
|
-
|
|
178
|
-
: undefined;
|
|
179
|
-
message.permanent_address = (object.permanent_address !== undefined && object.permanent_address !== null)
|
|
180
|
-
? exports.Address.fromPartial(object.permanent_address)
|
|
181
|
-
: undefined;
|
|
182
|
-
return message;
|
|
183
|
-
},
|
|
184
|
-
};
|
|
185
|
-
function createBaseAddress() {
|
|
186
|
-
return { house_flat_no: "", address_line_1: "", address_line_2: "", landmark: "", city: "", state: "", pin_code: "" };
|
|
187
|
-
}
|
|
188
|
-
exports.Address = {
|
|
189
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
190
|
-
if (message.house_flat_no !== "") {
|
|
191
|
-
writer.uint32(10).string(message.house_flat_no);
|
|
192
|
-
}
|
|
193
|
-
if (message.address_line_1 !== "") {
|
|
194
|
-
writer.uint32(18).string(message.address_line_1);
|
|
195
|
-
}
|
|
196
|
-
if (message.address_line_2 !== "") {
|
|
197
|
-
writer.uint32(26).string(message.address_line_2);
|
|
198
|
-
}
|
|
199
|
-
if (message.landmark !== "") {
|
|
200
|
-
writer.uint32(34).string(message.landmark);
|
|
201
|
-
}
|
|
202
|
-
if (message.city !== "") {
|
|
203
|
-
writer.uint32(42).string(message.city);
|
|
204
|
-
}
|
|
205
|
-
if (message.state !== "") {
|
|
206
|
-
writer.uint32(50).string(message.state);
|
|
207
|
-
}
|
|
208
|
-
if (message.pin_code !== "") {
|
|
209
|
-
writer.uint32(58).string(message.pin_code);
|
|
210
|
-
}
|
|
211
|
-
return writer;
|
|
212
|
-
},
|
|
213
|
-
decode(input, length) {
|
|
214
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
215
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
216
|
-
const message = createBaseAddress();
|
|
217
|
-
while (reader.pos < end) {
|
|
218
|
-
const tag = reader.uint32();
|
|
219
|
-
switch (tag >>> 3) {
|
|
220
|
-
case 1:
|
|
221
|
-
if (tag !== 10) {
|
|
222
|
-
break;
|
|
223
|
-
}
|
|
224
|
-
message.house_flat_no = reader.string();
|
|
225
|
-
continue;
|
|
226
|
-
case 2:
|
|
227
|
-
if (tag !== 18) {
|
|
228
|
-
break;
|
|
229
|
-
}
|
|
230
|
-
message.address_line_1 = reader.string();
|
|
231
|
-
continue;
|
|
232
|
-
case 3:
|
|
233
|
-
if (tag !== 26) {
|
|
234
|
-
break;
|
|
235
|
-
}
|
|
236
|
-
message.address_line_2 = reader.string();
|
|
237
|
-
continue;
|
|
238
|
-
case 4:
|
|
239
|
-
if (tag !== 34) {
|
|
240
|
-
break;
|
|
241
|
-
}
|
|
242
|
-
message.landmark = reader.string();
|
|
243
|
-
continue;
|
|
244
|
-
case 5:
|
|
245
|
-
if (tag !== 42) {
|
|
246
|
-
break;
|
|
247
|
-
}
|
|
248
|
-
message.city = reader.string();
|
|
249
|
-
continue;
|
|
250
|
-
case 6:
|
|
251
|
-
if (tag !== 50) {
|
|
252
|
-
break;
|
|
253
|
-
}
|
|
254
|
-
message.state = reader.string();
|
|
255
|
-
continue;
|
|
256
|
-
case 7:
|
|
257
|
-
if (tag !== 58) {
|
|
258
|
-
break;
|
|
259
|
-
}
|
|
260
|
-
message.pin_code = reader.string();
|
|
261
|
-
continue;
|
|
262
|
-
}
|
|
263
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
264
|
-
break;
|
|
265
|
-
}
|
|
266
|
-
reader.skipType(tag & 7);
|
|
267
|
-
}
|
|
268
|
-
return message;
|
|
269
|
-
},
|
|
270
|
-
fromJSON(object) {
|
|
271
|
-
return {
|
|
272
|
-
house_flat_no: isSet(object.house_flat_no) ? globalThis.String(object.house_flat_no) : "",
|
|
273
|
-
address_line_1: isSet(object.address_line_1) ? globalThis.String(object.address_line_1) : "",
|
|
274
|
-
address_line_2: isSet(object.address_line_2) ? globalThis.String(object.address_line_2) : "",
|
|
275
|
-
landmark: isSet(object.landmark) ? globalThis.String(object.landmark) : "",
|
|
276
|
-
city: isSet(object.city) ? globalThis.String(object.city) : "",
|
|
277
|
-
state: isSet(object.state) ? globalThis.String(object.state) : "",
|
|
278
|
-
pin_code: isSet(object.pin_code) ? globalThis.String(object.pin_code) : "",
|
|
279
|
-
};
|
|
280
|
-
},
|
|
281
|
-
toJSON(message) {
|
|
282
|
-
const obj = {};
|
|
283
|
-
if (message.house_flat_no !== "") {
|
|
284
|
-
obj.house_flat_no = message.house_flat_no;
|
|
285
|
-
}
|
|
286
|
-
if (message.address_line_1 !== "") {
|
|
287
|
-
obj.address_line_1 = message.address_line_1;
|
|
288
|
-
}
|
|
289
|
-
if (message.address_line_2 !== "") {
|
|
290
|
-
obj.address_line_2 = message.address_line_2;
|
|
291
|
-
}
|
|
292
|
-
if (message.landmark !== "") {
|
|
293
|
-
obj.landmark = message.landmark;
|
|
294
|
-
}
|
|
295
|
-
if (message.city !== "") {
|
|
296
|
-
obj.city = message.city;
|
|
297
|
-
}
|
|
298
|
-
if (message.state !== "") {
|
|
299
|
-
obj.state = message.state;
|
|
300
|
-
}
|
|
301
|
-
if (message.pin_code !== "") {
|
|
302
|
-
obj.pin_code = message.pin_code;
|
|
303
|
-
}
|
|
304
|
-
return obj;
|
|
305
|
-
},
|
|
306
|
-
create(base) {
|
|
307
|
-
return exports.Address.fromPartial(base ?? {});
|
|
308
|
-
},
|
|
309
|
-
fromPartial(object) {
|
|
310
|
-
const message = createBaseAddress();
|
|
311
|
-
message.house_flat_no = object.house_flat_no ?? "";
|
|
312
|
-
message.address_line_1 = object.address_line_1 ?? "";
|
|
313
|
-
message.address_line_2 = object.address_line_2 ?? "";
|
|
314
|
-
message.landmark = object.landmark ?? "";
|
|
315
|
-
message.city = object.city ?? "";
|
|
316
|
-
message.state = object.state ?? "";
|
|
317
|
-
message.pin_code = object.pin_code ?? "";
|
|
169
|
+
message.curr_address = object.curr_address ?? "";
|
|
170
|
+
message.permanent_address = object.permanent_address ?? "";
|
|
318
171
|
return message;
|
|
319
172
|
},
|
|
320
173
|
};
|
|
@@ -20,11 +20,6 @@ export interface getCustomerByIdResponse {
|
|
|
20
20
|
category: string;
|
|
21
21
|
loc_limit: number;
|
|
22
22
|
status: string;
|
|
23
|
-
min_tenure: number;
|
|
24
|
-
max_tenure: number;
|
|
25
|
-
roi: number;
|
|
26
|
-
processing_rate: number;
|
|
27
|
-
emi_date: string;
|
|
28
23
|
}
|
|
29
24
|
export declare const getCustomerByIdRequest: {
|
|
30
25
|
encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getcustomerbyid.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -80,11 +80,6 @@ function createBasegetCustomerByIdResponse() {
|
|
|
80
80
|
category: "",
|
|
81
81
|
loc_limit: 0,
|
|
82
82
|
status: "",
|
|
83
|
-
min_tenure: 0,
|
|
84
|
-
max_tenure: 0,
|
|
85
|
-
roi: 0,
|
|
86
|
-
processing_rate: 0,
|
|
87
|
-
emi_date: "",
|
|
88
83
|
};
|
|
89
84
|
}
|
|
90
85
|
exports.getCustomerByIdResponse = {
|
|
@@ -137,21 +132,6 @@ exports.getCustomerByIdResponse = {
|
|
|
137
132
|
if (message.status !== "") {
|
|
138
133
|
writer.uint32(130).string(message.status);
|
|
139
134
|
}
|
|
140
|
-
if (message.min_tenure !== 0) {
|
|
141
|
-
writer.uint32(136).int32(message.min_tenure);
|
|
142
|
-
}
|
|
143
|
-
if (message.max_tenure !== 0) {
|
|
144
|
-
writer.uint32(144).int32(message.max_tenure);
|
|
145
|
-
}
|
|
146
|
-
if (message.roi !== 0) {
|
|
147
|
-
writer.uint32(157).float(message.roi);
|
|
148
|
-
}
|
|
149
|
-
if (message.processing_rate !== 0) {
|
|
150
|
-
writer.uint32(165).float(message.processing_rate);
|
|
151
|
-
}
|
|
152
|
-
if (message.emi_date !== "") {
|
|
153
|
-
writer.uint32(170).string(message.emi_date);
|
|
154
|
-
}
|
|
155
135
|
return writer;
|
|
156
136
|
},
|
|
157
137
|
decode(input, length) {
|
|
@@ -257,36 +237,6 @@ exports.getCustomerByIdResponse = {
|
|
|
257
237
|
}
|
|
258
238
|
message.status = reader.string();
|
|
259
239
|
continue;
|
|
260
|
-
case 17:
|
|
261
|
-
if (tag !== 136) {
|
|
262
|
-
break;
|
|
263
|
-
}
|
|
264
|
-
message.min_tenure = reader.int32();
|
|
265
|
-
continue;
|
|
266
|
-
case 18:
|
|
267
|
-
if (tag !== 144) {
|
|
268
|
-
break;
|
|
269
|
-
}
|
|
270
|
-
message.max_tenure = reader.int32();
|
|
271
|
-
continue;
|
|
272
|
-
case 19:
|
|
273
|
-
if (tag !== 157) {
|
|
274
|
-
break;
|
|
275
|
-
}
|
|
276
|
-
message.roi = reader.float();
|
|
277
|
-
continue;
|
|
278
|
-
case 20:
|
|
279
|
-
if (tag !== 165) {
|
|
280
|
-
break;
|
|
281
|
-
}
|
|
282
|
-
message.processing_rate = reader.float();
|
|
283
|
-
continue;
|
|
284
|
-
case 21:
|
|
285
|
-
if (tag !== 170) {
|
|
286
|
-
break;
|
|
287
|
-
}
|
|
288
|
-
message.emi_date = reader.string();
|
|
289
|
-
continue;
|
|
290
240
|
}
|
|
291
241
|
if ((tag & 7) === 4 || tag === 0) {
|
|
292
242
|
break;
|
|
@@ -313,11 +263,6 @@ exports.getCustomerByIdResponse = {
|
|
|
313
263
|
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
314
264
|
loc_limit: isSet(object.loc_limit) ? globalThis.Number(object.loc_limit) : 0,
|
|
315
265
|
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
316
|
-
min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
|
|
317
|
-
max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
|
|
318
|
-
roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
|
|
319
|
-
processing_rate: isSet(object.processing_rate) ? globalThis.Number(object.processing_rate) : 0,
|
|
320
|
-
emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
|
|
321
266
|
};
|
|
322
267
|
},
|
|
323
268
|
toJSON(message) {
|
|
@@ -370,21 +315,6 @@ exports.getCustomerByIdResponse = {
|
|
|
370
315
|
if (message.status !== "") {
|
|
371
316
|
obj.status = message.status;
|
|
372
317
|
}
|
|
373
|
-
if (message.min_tenure !== 0) {
|
|
374
|
-
obj.min_tenure = Math.round(message.min_tenure);
|
|
375
|
-
}
|
|
376
|
-
if (message.max_tenure !== 0) {
|
|
377
|
-
obj.max_tenure = Math.round(message.max_tenure);
|
|
378
|
-
}
|
|
379
|
-
if (message.roi !== 0) {
|
|
380
|
-
obj.roi = message.roi;
|
|
381
|
-
}
|
|
382
|
-
if (message.processing_rate !== 0) {
|
|
383
|
-
obj.processing_rate = message.processing_rate;
|
|
384
|
-
}
|
|
385
|
-
if (message.emi_date !== "") {
|
|
386
|
-
obj.emi_date = message.emi_date;
|
|
387
|
-
}
|
|
388
318
|
return obj;
|
|
389
319
|
},
|
|
390
320
|
create(base) {
|
|
@@ -408,11 +338,6 @@ exports.getCustomerByIdResponse = {
|
|
|
408
338
|
message.category = object.category ?? "";
|
|
409
339
|
message.loc_limit = object.loc_limit ?? 0;
|
|
410
340
|
message.status = object.status ?? "";
|
|
411
|
-
message.min_tenure = object.min_tenure ?? 0;
|
|
412
|
-
message.max_tenure = object.max_tenure ?? 0;
|
|
413
|
-
message.roi = object.roi ?? 0;
|
|
414
|
-
message.processing_rate = object.processing_rate ?? 0;
|
|
415
|
-
message.emi_date = object.emi_date ?? "";
|
|
416
341
|
return message;
|
|
417
342
|
},
|
|
418
343
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.180.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getdashboard.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -242,7 +242,6 @@ exports.Block = {
|
|
|
242
242
|
function createBaseBlockData() {
|
|
243
243
|
return {
|
|
244
244
|
text: "",
|
|
245
|
-
sub_text: "",
|
|
246
245
|
image_url: "",
|
|
247
246
|
video_url: "",
|
|
248
247
|
video_length: 0,
|
|
@@ -265,53 +264,50 @@ exports.BlockData = {
|
|
|
265
264
|
if (message.text !== "") {
|
|
266
265
|
writer.uint32(10).string(message.text);
|
|
267
266
|
}
|
|
268
|
-
if (message.sub_text !== "") {
|
|
269
|
-
writer.uint32(18).string(message.sub_text);
|
|
270
|
-
}
|
|
271
267
|
if (message.image_url !== "") {
|
|
272
|
-
writer.uint32(
|
|
268
|
+
writer.uint32(18).string(message.image_url);
|
|
273
269
|
}
|
|
274
270
|
if (message.video_url !== "") {
|
|
275
|
-
writer.uint32(
|
|
271
|
+
writer.uint32(26).string(message.video_url);
|
|
276
272
|
}
|
|
277
273
|
if (message.video_length !== 0) {
|
|
278
|
-
writer.uint32(
|
|
274
|
+
writer.uint32(32).int32(message.video_length);
|
|
279
275
|
}
|
|
280
276
|
if (message.action_url !== "") {
|
|
281
|
-
writer.uint32(
|
|
277
|
+
writer.uint32(42).string(message.action_url);
|
|
282
278
|
}
|
|
283
279
|
if (message.landing_page !== "") {
|
|
284
|
-
writer.uint32(
|
|
280
|
+
writer.uint32(50).string(message.landing_page);
|
|
285
281
|
}
|
|
286
282
|
if (message.api_mode !== "") {
|
|
287
|
-
writer.uint32(
|
|
283
|
+
writer.uint32(58).string(message.api_mode);
|
|
288
284
|
}
|
|
289
285
|
if (message.app_version !== "") {
|
|
290
|
-
writer.uint32(
|
|
286
|
+
writer.uint32(66).string(message.app_version);
|
|
291
287
|
}
|
|
292
288
|
if (message.old_customers !== false) {
|
|
293
|
-
writer.uint32(
|
|
289
|
+
writer.uint32(72).bool(message.old_customers);
|
|
294
290
|
}
|
|
295
291
|
if (message.is_new !== false) {
|
|
296
|
-
writer.uint32(
|
|
292
|
+
writer.uint32(80).bool(message.is_new);
|
|
297
293
|
}
|
|
298
294
|
if (message.action_type !== "") {
|
|
299
|
-
writer.uint32(
|
|
295
|
+
writer.uint32(90).string(message.action_type);
|
|
300
296
|
}
|
|
301
297
|
if (message.color1 !== "") {
|
|
302
|
-
writer.uint32(
|
|
298
|
+
writer.uint32(98).string(message.color1);
|
|
303
299
|
}
|
|
304
300
|
if (message.color2 !== "") {
|
|
305
|
-
writer.uint32(
|
|
301
|
+
writer.uint32(106).string(message.color2);
|
|
306
302
|
}
|
|
307
303
|
if (message.image_trailing !== "") {
|
|
308
|
-
writer.uint32(
|
|
304
|
+
writer.uint32(114).string(message.image_trailing);
|
|
309
305
|
}
|
|
310
306
|
if (message.tag !== undefined) {
|
|
311
|
-
exports.Tag.encode(message.tag, writer.uint32(
|
|
307
|
+
exports.Tag.encode(message.tag, writer.uint32(122).fork()).ldelim();
|
|
312
308
|
}
|
|
313
309
|
if (message.overlay_image !== "") {
|
|
314
|
-
writer.uint32(
|
|
310
|
+
writer.uint32(130).string(message.overlay_image);
|
|
315
311
|
}
|
|
316
312
|
return writer;
|
|
317
313
|
},
|
|
@@ -332,96 +328,90 @@ exports.BlockData = {
|
|
|
332
328
|
if (tag !== 18) {
|
|
333
329
|
break;
|
|
334
330
|
}
|
|
335
|
-
message.
|
|
331
|
+
message.image_url = reader.string();
|
|
336
332
|
continue;
|
|
337
333
|
case 3:
|
|
338
334
|
if (tag !== 26) {
|
|
339
335
|
break;
|
|
340
336
|
}
|
|
341
|
-
message.
|
|
337
|
+
message.video_url = reader.string();
|
|
342
338
|
continue;
|
|
343
339
|
case 4:
|
|
344
|
-
if (tag !==
|
|
340
|
+
if (tag !== 32) {
|
|
345
341
|
break;
|
|
346
342
|
}
|
|
347
|
-
message.
|
|
343
|
+
message.video_length = reader.int32();
|
|
348
344
|
continue;
|
|
349
345
|
case 5:
|
|
350
|
-
if (tag !==
|
|
346
|
+
if (tag !== 42) {
|
|
351
347
|
break;
|
|
352
348
|
}
|
|
353
|
-
message.
|
|
349
|
+
message.action_url = reader.string();
|
|
354
350
|
continue;
|
|
355
351
|
case 6:
|
|
356
352
|
if (tag !== 50) {
|
|
357
353
|
break;
|
|
358
354
|
}
|
|
359
|
-
message.
|
|
355
|
+
message.landing_page = reader.string();
|
|
360
356
|
continue;
|
|
361
357
|
case 7:
|
|
362
358
|
if (tag !== 58) {
|
|
363
359
|
break;
|
|
364
360
|
}
|
|
365
|
-
message.
|
|
361
|
+
message.api_mode = reader.string();
|
|
366
362
|
continue;
|
|
367
363
|
case 8:
|
|
368
364
|
if (tag !== 66) {
|
|
369
365
|
break;
|
|
370
366
|
}
|
|
371
|
-
message.
|
|
367
|
+
message.app_version = reader.string();
|
|
372
368
|
continue;
|
|
373
369
|
case 9:
|
|
374
|
-
if (tag !==
|
|
370
|
+
if (tag !== 72) {
|
|
375
371
|
break;
|
|
376
372
|
}
|
|
377
|
-
message.
|
|
373
|
+
message.old_customers = reader.bool();
|
|
378
374
|
continue;
|
|
379
375
|
case 10:
|
|
380
376
|
if (tag !== 80) {
|
|
381
377
|
break;
|
|
382
378
|
}
|
|
383
|
-
message.
|
|
379
|
+
message.is_new = reader.bool();
|
|
384
380
|
continue;
|
|
385
381
|
case 11:
|
|
386
|
-
if (tag !==
|
|
382
|
+
if (tag !== 90) {
|
|
387
383
|
break;
|
|
388
384
|
}
|
|
389
|
-
message.
|
|
385
|
+
message.action_type = reader.string();
|
|
390
386
|
continue;
|
|
391
387
|
case 12:
|
|
392
388
|
if (tag !== 98) {
|
|
393
389
|
break;
|
|
394
390
|
}
|
|
395
|
-
message.
|
|
391
|
+
message.color1 = reader.string();
|
|
396
392
|
continue;
|
|
397
393
|
case 13:
|
|
398
394
|
if (tag !== 106) {
|
|
399
395
|
break;
|
|
400
396
|
}
|
|
401
|
-
message.
|
|
397
|
+
message.color2 = reader.string();
|
|
402
398
|
continue;
|
|
403
399
|
case 14:
|
|
404
400
|
if (tag !== 114) {
|
|
405
401
|
break;
|
|
406
402
|
}
|
|
407
|
-
message.
|
|
403
|
+
message.image_trailing = reader.string();
|
|
408
404
|
continue;
|
|
409
405
|
case 15:
|
|
410
406
|
if (tag !== 122) {
|
|
411
407
|
break;
|
|
412
408
|
}
|
|
413
|
-
message.
|
|
409
|
+
message.tag = exports.Tag.decode(reader, reader.uint32());
|
|
414
410
|
continue;
|
|
415
411
|
case 16:
|
|
416
412
|
if (tag !== 130) {
|
|
417
413
|
break;
|
|
418
414
|
}
|
|
419
|
-
message.tag = exports.Tag.decode(reader, reader.uint32());
|
|
420
|
-
continue;
|
|
421
|
-
case 17:
|
|
422
|
-
if (tag !== 138) {
|
|
423
|
-
break;
|
|
424
|
-
}
|
|
425
415
|
message.overlay_image = reader.string();
|
|
426
416
|
continue;
|
|
427
417
|
}
|
|
@@ -435,7 +425,6 @@ exports.BlockData = {
|
|
|
435
425
|
fromJSON(object) {
|
|
436
426
|
return {
|
|
437
427
|
text: isSet(object.text) ? globalThis.String(object.text) : "",
|
|
438
|
-
sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : "",
|
|
439
428
|
image_url: isSet(object.image_url) ? globalThis.String(object.image_url) : "",
|
|
440
429
|
video_url: isSet(object.video_url) ? globalThis.String(object.video_url) : "",
|
|
441
430
|
video_length: isSet(object.video_length) ? globalThis.Number(object.video_length) : 0,
|
|
@@ -458,9 +447,6 @@ exports.BlockData = {
|
|
|
458
447
|
if (message.text !== "") {
|
|
459
448
|
obj.text = message.text;
|
|
460
449
|
}
|
|
461
|
-
if (message.sub_text !== "") {
|
|
462
|
-
obj.sub_text = message.sub_text;
|
|
463
|
-
}
|
|
464
450
|
if (message.image_url !== "") {
|
|
465
451
|
obj.image_url = message.image_url;
|
|
466
452
|
}
|
|
@@ -514,7 +500,6 @@ exports.BlockData = {
|
|
|
514
500
|
fromPartial(object) {
|
|
515
501
|
const message = createBaseBlockData();
|
|
516
502
|
message.text = object.text ?? "";
|
|
517
|
-
message.sub_text = object.sub_text ?? "";
|
|
518
503
|
message.image_url = object.image_url ?? "";
|
|
519
504
|
message.video_url = object.video_url ?? "";
|
|
520
505
|
message.video_length = object.video_length ?? 0;
|