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