@stashfin/grpc 1.2.107 → 1.2.109
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
|
@@ -23,8 +23,7 @@ export interface getCustomerByIdResponse {
|
|
|
23
23
|
ip: string;
|
|
24
24
|
device_id: string;
|
|
25
25
|
is_registered: number;
|
|
26
|
-
|
|
27
|
-
email_hash: string;
|
|
26
|
+
mobile_network: string;
|
|
28
27
|
os_version: string;
|
|
29
28
|
push_id: string;
|
|
30
29
|
state: string;
|
|
@@ -81,7 +80,7 @@ export interface getCustomerByIdResponse {
|
|
|
81
80
|
has_imps: number;
|
|
82
81
|
journey_inactive: number;
|
|
83
82
|
repeat_journey: number;
|
|
84
|
-
|
|
83
|
+
txn_rate: number;
|
|
85
84
|
}
|
|
86
85
|
export interface Address {
|
|
87
86
|
house_flat_no: string;
|
|
@@ -83,8 +83,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
83
83
|
ip: "",
|
|
84
84
|
device_id: "",
|
|
85
85
|
is_registered: 0,
|
|
86
|
-
|
|
87
|
-
email_hash: "",
|
|
86
|
+
mobile_network: "",
|
|
88
87
|
os_version: "",
|
|
89
88
|
push_id: "",
|
|
90
89
|
state: "",
|
|
@@ -141,7 +140,7 @@ function createBasegetCustomerByIdResponse() {
|
|
|
141
140
|
has_imps: 0,
|
|
142
141
|
journey_inactive: 0,
|
|
143
142
|
repeat_journey: 0,
|
|
144
|
-
|
|
143
|
+
txn_rate: 0,
|
|
145
144
|
};
|
|
146
145
|
}
|
|
147
146
|
exports.getCustomerByIdResponse = {
|
|
@@ -203,182 +202,179 @@ exports.getCustomerByIdResponse = {
|
|
|
203
202
|
if (message.is_registered !== 0) {
|
|
204
203
|
writer.uint32(152).int32(message.is_registered);
|
|
205
204
|
}
|
|
206
|
-
if (message.
|
|
207
|
-
writer.uint32(162).string(message.
|
|
208
|
-
}
|
|
209
|
-
if (message.email_hash !== "") {
|
|
210
|
-
writer.uint32(170).string(message.email_hash);
|
|
205
|
+
if (message.mobile_network !== "") {
|
|
206
|
+
writer.uint32(162).string(message.mobile_network);
|
|
211
207
|
}
|
|
212
208
|
if (message.os_version !== "") {
|
|
213
|
-
writer.uint32(
|
|
209
|
+
writer.uint32(170).string(message.os_version);
|
|
214
210
|
}
|
|
215
211
|
if (message.push_id !== "") {
|
|
216
|
-
writer.uint32(
|
|
212
|
+
writer.uint32(178).string(message.push_id);
|
|
217
213
|
}
|
|
218
214
|
if (message.state !== "") {
|
|
219
|
-
writer.uint32(
|
|
215
|
+
writer.uint32(186).string(message.state);
|
|
220
216
|
}
|
|
221
217
|
if (message.app_version !== "") {
|
|
222
|
-
writer.uint32(
|
|
218
|
+
writer.uint32(194).string(message.app_version);
|
|
223
219
|
}
|
|
224
220
|
if (message.biometric_enabled !== false) {
|
|
225
|
-
writer.uint32(
|
|
221
|
+
writer.uint32(200).bool(message.biometric_enabled);
|
|
226
222
|
}
|
|
227
223
|
if (message.journey_sequence !== 0) {
|
|
228
|
-
writer.uint32(
|
|
224
|
+
writer.uint32(208).int32(message.journey_sequence);
|
|
229
225
|
}
|
|
230
226
|
if (message.category !== "") {
|
|
231
|
-
writer.uint32(
|
|
227
|
+
writer.uint32(218).string(message.category);
|
|
232
228
|
}
|
|
233
229
|
if (message.loc_limit !== 0) {
|
|
234
|
-
writer.uint32(
|
|
230
|
+
writer.uint32(229).float(message.loc_limit);
|
|
235
231
|
}
|
|
236
232
|
if (message.status !== "") {
|
|
237
|
-
writer.uint32(
|
|
233
|
+
writer.uint32(234).string(message.status);
|
|
238
234
|
}
|
|
239
235
|
if (message.loc_disabled !== false) {
|
|
240
|
-
writer.uint32(
|
|
236
|
+
writer.uint32(240).bool(message.loc_disabled);
|
|
241
237
|
}
|
|
242
238
|
if (message.source !== "") {
|
|
243
|
-
writer.uint32(
|
|
239
|
+
writer.uint32(250).string(message.source);
|
|
244
240
|
}
|
|
245
241
|
if (message.tnc_version !== "") {
|
|
246
|
-
writer.uint32(
|
|
242
|
+
writer.uint32(258).string(message.tnc_version);
|
|
247
243
|
}
|
|
248
244
|
if (message.login_date !== "") {
|
|
249
|
-
writer.uint32(
|
|
245
|
+
writer.uint32(266).string(message.login_date);
|
|
250
246
|
}
|
|
251
247
|
if (message.min_tenure !== 0) {
|
|
252
|
-
writer.uint32(
|
|
248
|
+
writer.uint32(272).int32(message.min_tenure);
|
|
253
249
|
}
|
|
254
250
|
if (message.max_tenure !== 0) {
|
|
255
|
-
writer.uint32(
|
|
251
|
+
writer.uint32(280).int32(message.max_tenure);
|
|
256
252
|
}
|
|
257
253
|
if (message.roi !== 0) {
|
|
258
|
-
writer.uint32(
|
|
254
|
+
writer.uint32(293).float(message.roi);
|
|
259
255
|
}
|
|
260
256
|
if (message.processing_rate !== 0) {
|
|
261
|
-
writer.uint32(
|
|
257
|
+
writer.uint32(301).float(message.processing_rate);
|
|
262
258
|
}
|
|
263
259
|
if (message.agent_id !== 0) {
|
|
264
|
-
writer.uint32(
|
|
260
|
+
writer.uint32(304).int32(message.agent_id);
|
|
265
261
|
}
|
|
266
262
|
if (message.application_type !== "") {
|
|
267
|
-
writer.uint32(
|
|
263
|
+
writer.uint32(314).string(message.application_type);
|
|
268
264
|
}
|
|
269
265
|
if (message.application_status !== "") {
|
|
270
|
-
writer.uint32(
|
|
266
|
+
writer.uint32(322).string(message.application_status);
|
|
271
267
|
}
|
|
272
268
|
if (message.customer_type !== "") {
|
|
273
|
-
writer.uint32(
|
|
269
|
+
writer.uint32(330).string(message.customer_type);
|
|
274
270
|
}
|
|
275
271
|
if (message.avg_salary !== 0) {
|
|
276
|
-
writer.uint32(
|
|
272
|
+
writer.uint32(341).float(message.avg_salary);
|
|
277
273
|
}
|
|
278
274
|
if (message.suspended_apps !== 0) {
|
|
279
|
-
writer.uint32(
|
|
275
|
+
writer.uint32(344).int32(message.suspended_apps);
|
|
280
276
|
}
|
|
281
277
|
if (message.is_active !== 0) {
|
|
282
|
-
writer.uint32(
|
|
278
|
+
writer.uint32(352).int32(message.is_active);
|
|
283
279
|
}
|
|
284
280
|
if (message.is_deleted !== 0) {
|
|
285
|
-
writer.uint32(
|
|
281
|
+
writer.uint32(360).int32(message.is_deleted);
|
|
286
282
|
}
|
|
287
283
|
if (message.journey_updated_at !== "") {
|
|
288
|
-
writer.uint32(
|
|
284
|
+
writer.uint32(370).string(message.journey_updated_at);
|
|
289
285
|
}
|
|
290
286
|
if (message.aadhaar_name !== "") {
|
|
291
|
-
writer.uint32(
|
|
287
|
+
writer.uint32(378).string(message.aadhaar_name);
|
|
292
288
|
}
|
|
293
289
|
if (message.crn !== "") {
|
|
294
|
-
writer.uint32(
|
|
290
|
+
writer.uint32(386).string(message.crn);
|
|
295
291
|
}
|
|
296
292
|
if (message.nsdl_dob !== "") {
|
|
297
|
-
writer.uint32(
|
|
293
|
+
writer.uint32(394).string(message.nsdl_dob);
|
|
298
294
|
}
|
|
299
295
|
if (message.gender !== "") {
|
|
300
|
-
writer.uint32(
|
|
296
|
+
writer.uint32(402).string(message.gender);
|
|
301
297
|
}
|
|
302
298
|
if (message.gst_no !== "") {
|
|
303
|
-
writer.uint32(
|
|
299
|
+
writer.uint32(410).string(message.gst_no);
|
|
304
300
|
}
|
|
305
301
|
if (message.language !== "") {
|
|
306
|
-
writer.uint32(
|
|
302
|
+
writer.uint32(418).string(message.language);
|
|
307
303
|
}
|
|
308
304
|
if (message.latitude !== 0) {
|
|
309
|
-
writer.uint32(
|
|
305
|
+
writer.uint32(429).float(message.latitude);
|
|
310
306
|
}
|
|
311
307
|
if (message.longitude !== 0) {
|
|
312
|
-
writer.uint32(
|
|
308
|
+
writer.uint32(437).float(message.longitude);
|
|
313
309
|
}
|
|
314
310
|
if (message.marital_status !== "") {
|
|
315
|
-
writer.uint32(
|
|
311
|
+
writer.uint32(442).string(message.marital_status);
|
|
316
312
|
}
|
|
317
313
|
if (message.occupation !== "") {
|
|
318
|
-
writer.uint32(
|
|
314
|
+
writer.uint32(450).string(message.occupation);
|
|
319
315
|
}
|
|
320
316
|
if (message.office_addr !== undefined) {
|
|
321
|
-
exports.Address.encode(message.office_addr, writer.uint32(
|
|
317
|
+
exports.Address.encode(message.office_addr, writer.uint32(458).fork()).ldelim();
|
|
322
318
|
}
|
|
323
319
|
if (message.organization !== "") {
|
|
324
|
-
writer.uint32(
|
|
320
|
+
writer.uint32(466).string(message.organization);
|
|
325
321
|
}
|
|
326
322
|
if (message.pan_url !== "") {
|
|
327
|
-
writer.uint32(
|
|
323
|
+
writer.uint32(474).string(message.pan_url);
|
|
328
324
|
}
|
|
329
325
|
if (message.per_addr !== undefined) {
|
|
330
|
-
exports.Address.encode(message.per_addr, writer.uint32(
|
|
326
|
+
exports.Address.encode(message.per_addr, writer.uint32(482).fork()).ldelim();
|
|
331
327
|
}
|
|
332
328
|
if (message.res_addr !== undefined) {
|
|
333
|
-
exports.Address.encode(message.res_addr, writer.uint32(
|
|
329
|
+
exports.Address.encode(message.res_addr, writer.uint32(490).fork()).ldelim();
|
|
334
330
|
}
|
|
335
331
|
if (message.salary !== 0) {
|
|
336
|
-
writer.uint32(
|
|
332
|
+
writer.uint32(501).float(message.salary);
|
|
337
333
|
}
|
|
338
334
|
if (message.salary_date !== "") {
|
|
339
|
-
writer.uint32(
|
|
335
|
+
writer.uint32(506).string(message.salary_date);
|
|
340
336
|
}
|
|
341
337
|
if (message.salary_mode !== "") {
|
|
342
|
-
writer.uint32(
|
|
338
|
+
writer.uint32(514).string(message.salary_mode);
|
|
343
339
|
}
|
|
344
340
|
if (message.selfie_url !== "") {
|
|
345
|
-
writer.uint32(
|
|
341
|
+
writer.uint32(522).string(message.selfie_url);
|
|
346
342
|
}
|
|
347
343
|
if (message.kyc_type !== "") {
|
|
348
|
-
writer.uint32(
|
|
344
|
+
writer.uint32(530).string(message.kyc_type);
|
|
349
345
|
}
|
|
350
346
|
if (message.emi_date !== "") {
|
|
351
|
-
writer.uint32(
|
|
347
|
+
writer.uint32(538).string(message.emi_date);
|
|
352
348
|
}
|
|
353
349
|
if (message.phone_matched !== 0) {
|
|
354
|
-
writer.uint32(
|
|
350
|
+
writer.uint32(544).int32(message.phone_matched);
|
|
355
351
|
}
|
|
356
352
|
if (message.dob_matched !== 0) {
|
|
357
|
-
writer.uint32(
|
|
353
|
+
writer.uint32(552).int32(message.dob_matched);
|
|
358
354
|
}
|
|
359
355
|
if (message.nsdl_dob_matched !== "") {
|
|
360
|
-
writer.uint32(
|
|
356
|
+
writer.uint32(562).string(message.nsdl_dob_matched);
|
|
361
357
|
}
|
|
362
358
|
if (message.okyc_dob !== "") {
|
|
363
|
-
writer.uint32(
|
|
359
|
+
writer.uint32(570).string(message.okyc_dob);
|
|
364
360
|
}
|
|
365
361
|
if (message.dob_attempts !== 0) {
|
|
366
|
-
writer.uint32(
|
|
362
|
+
writer.uint32(576).int32(message.dob_attempts);
|
|
367
363
|
}
|
|
368
364
|
if (message.is_upgradable !== 0) {
|
|
369
|
-
writer.uint32(
|
|
365
|
+
writer.uint32(584).int32(message.is_upgradable);
|
|
370
366
|
}
|
|
371
367
|
if (message.has_imps !== 0) {
|
|
372
|
-
writer.uint32(
|
|
368
|
+
writer.uint32(592).int32(message.has_imps);
|
|
373
369
|
}
|
|
374
370
|
if (message.journey_inactive !== 0) {
|
|
375
|
-
writer.uint32(
|
|
371
|
+
writer.uint32(600).int32(message.journey_inactive);
|
|
376
372
|
}
|
|
377
373
|
if (message.repeat_journey !== 0) {
|
|
378
|
-
writer.uint32(
|
|
374
|
+
writer.uint32(608).int32(message.repeat_journey);
|
|
379
375
|
}
|
|
380
|
-
if (message.
|
|
381
|
-
writer.uint32(
|
|
376
|
+
if (message.txn_rate !== 0) {
|
|
377
|
+
writer.uint32(621).float(message.txn_rate);
|
|
382
378
|
}
|
|
383
379
|
return writer;
|
|
384
380
|
},
|
|
@@ -507,355 +503,349 @@ exports.getCustomerByIdResponse = {
|
|
|
507
503
|
if (tag !== 162) {
|
|
508
504
|
break;
|
|
509
505
|
}
|
|
510
|
-
message.
|
|
506
|
+
message.mobile_network = reader.string();
|
|
511
507
|
continue;
|
|
512
508
|
case 21:
|
|
513
509
|
if (tag !== 170) {
|
|
514
510
|
break;
|
|
515
511
|
}
|
|
516
|
-
message.
|
|
512
|
+
message.os_version = reader.string();
|
|
517
513
|
continue;
|
|
518
514
|
case 22:
|
|
519
515
|
if (tag !== 178) {
|
|
520
516
|
break;
|
|
521
517
|
}
|
|
522
|
-
message.
|
|
518
|
+
message.push_id = reader.string();
|
|
523
519
|
continue;
|
|
524
520
|
case 23:
|
|
525
521
|
if (tag !== 186) {
|
|
526
522
|
break;
|
|
527
523
|
}
|
|
528
|
-
message.
|
|
524
|
+
message.state = reader.string();
|
|
529
525
|
continue;
|
|
530
526
|
case 24:
|
|
531
527
|
if (tag !== 194) {
|
|
532
528
|
break;
|
|
533
529
|
}
|
|
534
|
-
message.
|
|
530
|
+
message.app_version = reader.string();
|
|
535
531
|
continue;
|
|
536
532
|
case 25:
|
|
537
|
-
if (tag !==
|
|
533
|
+
if (tag !== 200) {
|
|
538
534
|
break;
|
|
539
535
|
}
|
|
540
|
-
message.
|
|
536
|
+
message.biometric_enabled = reader.bool();
|
|
541
537
|
continue;
|
|
542
538
|
case 26:
|
|
543
539
|
if (tag !== 208) {
|
|
544
540
|
break;
|
|
545
541
|
}
|
|
546
|
-
message.
|
|
542
|
+
message.journey_sequence = reader.int32();
|
|
547
543
|
continue;
|
|
548
544
|
case 27:
|
|
549
|
-
if (tag !==
|
|
545
|
+
if (tag !== 218) {
|
|
550
546
|
break;
|
|
551
547
|
}
|
|
552
|
-
message.
|
|
548
|
+
message.category = reader.string();
|
|
553
549
|
continue;
|
|
554
550
|
case 28:
|
|
555
|
-
if (tag !==
|
|
551
|
+
if (tag !== 229) {
|
|
556
552
|
break;
|
|
557
553
|
}
|
|
558
|
-
message.
|
|
554
|
+
message.loc_limit = reader.float();
|
|
559
555
|
continue;
|
|
560
556
|
case 29:
|
|
561
|
-
if (tag !==
|
|
557
|
+
if (tag !== 234) {
|
|
562
558
|
break;
|
|
563
559
|
}
|
|
564
|
-
message.
|
|
560
|
+
message.status = reader.string();
|
|
565
561
|
continue;
|
|
566
562
|
case 30:
|
|
567
|
-
if (tag !==
|
|
563
|
+
if (tag !== 240) {
|
|
568
564
|
break;
|
|
569
565
|
}
|
|
570
|
-
message.
|
|
566
|
+
message.loc_disabled = reader.bool();
|
|
571
567
|
continue;
|
|
572
568
|
case 31:
|
|
573
|
-
if (tag !==
|
|
569
|
+
if (tag !== 250) {
|
|
574
570
|
break;
|
|
575
571
|
}
|
|
576
|
-
message.
|
|
572
|
+
message.source = reader.string();
|
|
577
573
|
continue;
|
|
578
574
|
case 32:
|
|
579
575
|
if (tag !== 258) {
|
|
580
576
|
break;
|
|
581
577
|
}
|
|
582
|
-
message.
|
|
578
|
+
message.tnc_version = reader.string();
|
|
583
579
|
continue;
|
|
584
580
|
case 33:
|
|
585
581
|
if (tag !== 266) {
|
|
586
582
|
break;
|
|
587
583
|
}
|
|
588
|
-
message.
|
|
584
|
+
message.login_date = reader.string();
|
|
589
585
|
continue;
|
|
590
586
|
case 34:
|
|
591
|
-
if (tag !==
|
|
587
|
+
if (tag !== 272) {
|
|
592
588
|
break;
|
|
593
589
|
}
|
|
594
|
-
message.
|
|
590
|
+
message.min_tenure = reader.int32();
|
|
595
591
|
continue;
|
|
596
592
|
case 35:
|
|
597
593
|
if (tag !== 280) {
|
|
598
594
|
break;
|
|
599
595
|
}
|
|
600
|
-
message.
|
|
596
|
+
message.max_tenure = reader.int32();
|
|
601
597
|
continue;
|
|
602
598
|
case 36:
|
|
603
|
-
if (tag !==
|
|
599
|
+
if (tag !== 293) {
|
|
604
600
|
break;
|
|
605
601
|
}
|
|
606
|
-
message.
|
|
602
|
+
message.roi = reader.float();
|
|
607
603
|
continue;
|
|
608
604
|
case 37:
|
|
609
605
|
if (tag !== 301) {
|
|
610
606
|
break;
|
|
611
607
|
}
|
|
612
|
-
message.
|
|
608
|
+
message.processing_rate = reader.float();
|
|
613
609
|
continue;
|
|
614
610
|
case 38:
|
|
615
|
-
if (tag !==
|
|
611
|
+
if (tag !== 304) {
|
|
616
612
|
break;
|
|
617
613
|
}
|
|
618
|
-
message.
|
|
614
|
+
message.agent_id = reader.int32();
|
|
619
615
|
continue;
|
|
620
616
|
case 39:
|
|
621
|
-
if (tag !==
|
|
617
|
+
if (tag !== 314) {
|
|
622
618
|
break;
|
|
623
619
|
}
|
|
624
|
-
message.
|
|
620
|
+
message.application_type = reader.string();
|
|
625
621
|
continue;
|
|
626
622
|
case 40:
|
|
627
623
|
if (tag !== 322) {
|
|
628
624
|
break;
|
|
629
625
|
}
|
|
630
|
-
message.
|
|
626
|
+
message.application_status = reader.string();
|
|
631
627
|
continue;
|
|
632
628
|
case 41:
|
|
633
629
|
if (tag !== 330) {
|
|
634
630
|
break;
|
|
635
631
|
}
|
|
636
|
-
message.
|
|
632
|
+
message.customer_type = reader.string();
|
|
637
633
|
continue;
|
|
638
634
|
case 42:
|
|
639
|
-
if (tag !==
|
|
635
|
+
if (tag !== 341) {
|
|
640
636
|
break;
|
|
641
637
|
}
|
|
642
|
-
message.
|
|
638
|
+
message.avg_salary = reader.float();
|
|
643
639
|
continue;
|
|
644
640
|
case 43:
|
|
645
|
-
if (tag !==
|
|
641
|
+
if (tag !== 344) {
|
|
646
642
|
break;
|
|
647
643
|
}
|
|
648
|
-
message.
|
|
644
|
+
message.suspended_apps = reader.int32();
|
|
649
645
|
continue;
|
|
650
646
|
case 44:
|
|
651
647
|
if (tag !== 352) {
|
|
652
648
|
break;
|
|
653
649
|
}
|
|
654
|
-
message.
|
|
650
|
+
message.is_active = reader.int32();
|
|
655
651
|
continue;
|
|
656
652
|
case 45:
|
|
657
653
|
if (tag !== 360) {
|
|
658
654
|
break;
|
|
659
655
|
}
|
|
660
|
-
message.
|
|
656
|
+
message.is_deleted = reader.int32();
|
|
661
657
|
continue;
|
|
662
658
|
case 46:
|
|
663
|
-
if (tag !==
|
|
659
|
+
if (tag !== 370) {
|
|
664
660
|
break;
|
|
665
661
|
}
|
|
666
|
-
message.
|
|
662
|
+
message.journey_updated_at = reader.string();
|
|
667
663
|
continue;
|
|
668
664
|
case 47:
|
|
669
665
|
if (tag !== 378) {
|
|
670
666
|
break;
|
|
671
667
|
}
|
|
672
|
-
message.
|
|
668
|
+
message.aadhaar_name = reader.string();
|
|
673
669
|
continue;
|
|
674
670
|
case 48:
|
|
675
671
|
if (tag !== 386) {
|
|
676
672
|
break;
|
|
677
673
|
}
|
|
678
|
-
message.
|
|
674
|
+
message.crn = reader.string();
|
|
679
675
|
continue;
|
|
680
676
|
case 49:
|
|
681
677
|
if (tag !== 394) {
|
|
682
678
|
break;
|
|
683
679
|
}
|
|
684
|
-
message.
|
|
680
|
+
message.nsdl_dob = reader.string();
|
|
685
681
|
continue;
|
|
686
682
|
case 50:
|
|
687
683
|
if (tag !== 402) {
|
|
688
684
|
break;
|
|
689
685
|
}
|
|
690
|
-
message.
|
|
686
|
+
message.gender = reader.string();
|
|
691
687
|
continue;
|
|
692
688
|
case 51:
|
|
693
689
|
if (tag !== 410) {
|
|
694
690
|
break;
|
|
695
691
|
}
|
|
696
|
-
message.
|
|
692
|
+
message.gst_no = reader.string();
|
|
697
693
|
continue;
|
|
698
694
|
case 52:
|
|
699
695
|
if (tag !== 418) {
|
|
700
696
|
break;
|
|
701
697
|
}
|
|
702
|
-
message.
|
|
698
|
+
message.language = reader.string();
|
|
703
699
|
continue;
|
|
704
700
|
case 53:
|
|
705
|
-
if (tag !==
|
|
701
|
+
if (tag !== 429) {
|
|
706
702
|
break;
|
|
707
703
|
}
|
|
708
|
-
message.
|
|
704
|
+
message.latitude = reader.float();
|
|
709
705
|
continue;
|
|
710
706
|
case 54:
|
|
711
707
|
if (tag !== 437) {
|
|
712
708
|
break;
|
|
713
709
|
}
|
|
714
|
-
message.
|
|
710
|
+
message.longitude = reader.float();
|
|
715
711
|
continue;
|
|
716
712
|
case 55:
|
|
717
|
-
if (tag !==
|
|
713
|
+
if (tag !== 442) {
|
|
718
714
|
break;
|
|
719
715
|
}
|
|
720
|
-
message.
|
|
716
|
+
message.marital_status = reader.string();
|
|
721
717
|
continue;
|
|
722
718
|
case 56:
|
|
723
719
|
if (tag !== 450) {
|
|
724
720
|
break;
|
|
725
721
|
}
|
|
726
|
-
message.
|
|
722
|
+
message.occupation = reader.string();
|
|
727
723
|
continue;
|
|
728
724
|
case 57:
|
|
729
725
|
if (tag !== 458) {
|
|
730
726
|
break;
|
|
731
727
|
}
|
|
732
|
-
message.
|
|
728
|
+
message.office_addr = exports.Address.decode(reader, reader.uint32());
|
|
733
729
|
continue;
|
|
734
730
|
case 58:
|
|
735
731
|
if (tag !== 466) {
|
|
736
732
|
break;
|
|
737
733
|
}
|
|
738
|
-
message.
|
|
734
|
+
message.organization = reader.string();
|
|
739
735
|
continue;
|
|
740
736
|
case 59:
|
|
741
737
|
if (tag !== 474) {
|
|
742
738
|
break;
|
|
743
739
|
}
|
|
744
|
-
message.
|
|
740
|
+
message.pan_url = reader.string();
|
|
745
741
|
continue;
|
|
746
742
|
case 60:
|
|
747
743
|
if (tag !== 482) {
|
|
748
744
|
break;
|
|
749
745
|
}
|
|
750
|
-
message.
|
|
746
|
+
message.per_addr = exports.Address.decode(reader, reader.uint32());
|
|
751
747
|
continue;
|
|
752
748
|
case 61:
|
|
753
749
|
if (tag !== 490) {
|
|
754
750
|
break;
|
|
755
751
|
}
|
|
756
|
-
message.
|
|
752
|
+
message.res_addr = exports.Address.decode(reader, reader.uint32());
|
|
757
753
|
continue;
|
|
758
754
|
case 62:
|
|
759
|
-
if (tag !==
|
|
755
|
+
if (tag !== 501) {
|
|
760
756
|
break;
|
|
761
757
|
}
|
|
762
|
-
message.
|
|
758
|
+
message.salary = reader.float();
|
|
763
759
|
continue;
|
|
764
760
|
case 63:
|
|
765
|
-
if (tag !==
|
|
761
|
+
if (tag !== 506) {
|
|
766
762
|
break;
|
|
767
763
|
}
|
|
768
|
-
message.
|
|
764
|
+
message.salary_date = reader.string();
|
|
769
765
|
continue;
|
|
770
766
|
case 64:
|
|
771
767
|
if (tag !== 514) {
|
|
772
768
|
break;
|
|
773
769
|
}
|
|
774
|
-
message.
|
|
770
|
+
message.salary_mode = reader.string();
|
|
775
771
|
continue;
|
|
776
772
|
case 65:
|
|
777
773
|
if (tag !== 522) {
|
|
778
774
|
break;
|
|
779
775
|
}
|
|
780
|
-
message.
|
|
776
|
+
message.selfie_url = reader.string();
|
|
781
777
|
continue;
|
|
782
778
|
case 66:
|
|
783
779
|
if (tag !== 530) {
|
|
784
780
|
break;
|
|
785
781
|
}
|
|
786
|
-
message.
|
|
782
|
+
message.kyc_type = reader.string();
|
|
787
783
|
continue;
|
|
788
784
|
case 67:
|
|
789
785
|
if (tag !== 538) {
|
|
790
786
|
break;
|
|
791
787
|
}
|
|
792
|
-
message.
|
|
788
|
+
message.emi_date = reader.string();
|
|
793
789
|
continue;
|
|
794
790
|
case 68:
|
|
795
|
-
if (tag !==
|
|
791
|
+
if (tag !== 544) {
|
|
796
792
|
break;
|
|
797
793
|
}
|
|
798
|
-
message.
|
|
794
|
+
message.phone_matched = reader.int32();
|
|
799
795
|
continue;
|
|
800
796
|
case 69:
|
|
801
797
|
if (tag !== 552) {
|
|
802
798
|
break;
|
|
803
799
|
}
|
|
804
|
-
message.
|
|
800
|
+
message.dob_matched = reader.int32();
|
|
805
801
|
continue;
|
|
806
802
|
case 70:
|
|
807
|
-
if (tag !==
|
|
803
|
+
if (tag !== 562) {
|
|
808
804
|
break;
|
|
809
805
|
}
|
|
810
|
-
message.
|
|
806
|
+
message.nsdl_dob_matched = reader.string();
|
|
811
807
|
continue;
|
|
812
808
|
case 71:
|
|
813
809
|
if (tag !== 570) {
|
|
814
810
|
break;
|
|
815
811
|
}
|
|
816
|
-
message.
|
|
812
|
+
message.okyc_dob = reader.string();
|
|
817
813
|
continue;
|
|
818
814
|
case 72:
|
|
819
|
-
if (tag !==
|
|
815
|
+
if (tag !== 576) {
|
|
820
816
|
break;
|
|
821
817
|
}
|
|
822
|
-
message.
|
|
818
|
+
message.dob_attempts = reader.int32();
|
|
823
819
|
continue;
|
|
824
820
|
case 73:
|
|
825
821
|
if (tag !== 584) {
|
|
826
822
|
break;
|
|
827
823
|
}
|
|
828
|
-
message.
|
|
824
|
+
message.is_upgradable = reader.int32();
|
|
829
825
|
continue;
|
|
830
826
|
case 74:
|
|
831
827
|
if (tag !== 592) {
|
|
832
828
|
break;
|
|
833
829
|
}
|
|
834
|
-
message.
|
|
830
|
+
message.has_imps = reader.int32();
|
|
835
831
|
continue;
|
|
836
832
|
case 75:
|
|
837
833
|
if (tag !== 600) {
|
|
838
834
|
break;
|
|
839
835
|
}
|
|
840
|
-
message.
|
|
836
|
+
message.journey_inactive = reader.int32();
|
|
841
837
|
continue;
|
|
842
838
|
case 76:
|
|
843
839
|
if (tag !== 608) {
|
|
844
840
|
break;
|
|
845
841
|
}
|
|
846
|
-
message.journey_inactive = reader.int32();
|
|
847
|
-
continue;
|
|
848
|
-
case 77:
|
|
849
|
-
if (tag !== 616) {
|
|
850
|
-
break;
|
|
851
|
-
}
|
|
852
842
|
message.repeat_journey = reader.int32();
|
|
853
843
|
continue;
|
|
854
|
-
case
|
|
855
|
-
if (tag !==
|
|
844
|
+
case 77:
|
|
845
|
+
if (tag !== 621) {
|
|
856
846
|
break;
|
|
857
847
|
}
|
|
858
|
-
message.
|
|
848
|
+
message.txn_rate = reader.float();
|
|
859
849
|
continue;
|
|
860
850
|
}
|
|
861
851
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -886,8 +876,7 @@ exports.getCustomerByIdResponse = {
|
|
|
886
876
|
ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
|
|
887
877
|
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
888
878
|
is_registered: isSet(object.is_registered) ? globalThis.Number(object.is_registered) : 0,
|
|
889
|
-
|
|
890
|
-
email_hash: isSet(object.email_hash) ? globalThis.String(object.email_hash) : "",
|
|
879
|
+
mobile_network: isSet(object.mobile_network) ? globalThis.String(object.mobile_network) : "",
|
|
891
880
|
os_version: isSet(object.os_version) ? globalThis.String(object.os_version) : "",
|
|
892
881
|
push_id: isSet(object.push_id) ? globalThis.String(object.push_id) : "",
|
|
893
882
|
state: isSet(object.state) ? globalThis.String(object.state) : "",
|
|
@@ -944,7 +933,7 @@ exports.getCustomerByIdResponse = {
|
|
|
944
933
|
has_imps: isSet(object.has_imps) ? globalThis.Number(object.has_imps) : 0,
|
|
945
934
|
journey_inactive: isSet(object.journey_inactive) ? globalThis.Number(object.journey_inactive) : 0,
|
|
946
935
|
repeat_journey: isSet(object.repeat_journey) ? globalThis.Number(object.repeat_journey) : 0,
|
|
947
|
-
|
|
936
|
+
txn_rate: isSet(object.txn_rate) ? globalThis.Number(object.txn_rate) : 0,
|
|
948
937
|
};
|
|
949
938
|
},
|
|
950
939
|
toJSON(message) {
|
|
@@ -1006,11 +995,8 @@ exports.getCustomerByIdResponse = {
|
|
|
1006
995
|
if (message.is_registered !== 0) {
|
|
1007
996
|
obj.is_registered = Math.round(message.is_registered);
|
|
1008
997
|
}
|
|
1009
|
-
if (message.
|
|
1010
|
-
obj.
|
|
1011
|
-
}
|
|
1012
|
-
if (message.email_hash !== "") {
|
|
1013
|
-
obj.email_hash = message.email_hash;
|
|
998
|
+
if (message.mobile_network !== "") {
|
|
999
|
+
obj.mobile_network = message.mobile_network;
|
|
1014
1000
|
}
|
|
1015
1001
|
if (message.os_version !== "") {
|
|
1016
1002
|
obj.os_version = message.os_version;
|
|
@@ -1180,8 +1166,8 @@ exports.getCustomerByIdResponse = {
|
|
|
1180
1166
|
if (message.repeat_journey !== 0) {
|
|
1181
1167
|
obj.repeat_journey = Math.round(message.repeat_journey);
|
|
1182
1168
|
}
|
|
1183
|
-
if (message.
|
|
1184
|
-
obj.
|
|
1169
|
+
if (message.txn_rate !== 0) {
|
|
1170
|
+
obj.txn_rate = message.txn_rate;
|
|
1185
1171
|
}
|
|
1186
1172
|
return obj;
|
|
1187
1173
|
},
|
|
@@ -1209,8 +1195,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1209
1195
|
message.ip = object.ip ?? "";
|
|
1210
1196
|
message.device_id = object.device_id ?? "";
|
|
1211
1197
|
message.is_registered = object.is_registered ?? 0;
|
|
1212
|
-
message.
|
|
1213
|
-
message.email_hash = object.email_hash ?? "";
|
|
1198
|
+
message.mobile_network = object.mobile_network ?? "";
|
|
1214
1199
|
message.os_version = object.os_version ?? "";
|
|
1215
1200
|
message.push_id = object.push_id ?? "";
|
|
1216
1201
|
message.state = object.state ?? "";
|
|
@@ -1273,7 +1258,7 @@ exports.getCustomerByIdResponse = {
|
|
|
1273
1258
|
message.has_imps = object.has_imps ?? 0;
|
|
1274
1259
|
message.journey_inactive = object.journey_inactive ?? 0;
|
|
1275
1260
|
message.repeat_journey = object.repeat_journey ?? 0;
|
|
1276
|
-
message.
|
|
1261
|
+
message.txn_rate = object.txn_rate ?? 0;
|
|
1277
1262
|
return message;
|
|
1278
1263
|
},
|
|
1279
1264
|
};
|