@stashfin/grpc 1.2.101 → 1.2.102

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.
@@ -8,7 +8,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.getCustomerByIdResponse = exports.getCustomerByIdRequest = exports.protobufPackage = void 0;
11
+ exports.Address = exports.getCustomerByIdResponse = exports.getCustomerByIdRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "customers.getcustomerbyid";
@@ -73,19 +73,75 @@ function createBasegetCustomerByIdResponse() {
73
73
  mother_maiden_name: "",
74
74
  dob: "",
75
75
  company_name: "",
76
+ official_email: "",
76
77
  pincode: "",
78
+ mpin: "",
79
+ pan: "",
80
+ aadhaar: "",
81
+ mobile_verified: 0,
82
+ email_verified: 0,
83
+ ip: "",
84
+ device_id: "",
85
+ is_registered: 0,
86
+ mobile_hash: "",
87
+ email_hash: "",
88
+ os_version: "",
89
+ push_id: "",
90
+ state: "",
77
91
  app_version: "",
78
92
  biometric_enabled: false,
79
93
  journey_sequence: 0,
80
94
  category: "",
81
95
  loc_limit: 0,
82
96
  status: "",
97
+ loc_disabled: false,
98
+ source: "",
99
+ tnc_version: "",
100
+ login_date: "",
83
101
  min_tenure: 0,
84
102
  max_tenure: 0,
85
103
  roi: 0,
86
104
  processing_rate: 0,
105
+ agent_id: 0,
106
+ application_type: "",
107
+ application_status: "",
108
+ customer_type: "",
109
+ avg_salary: 0,
110
+ suspended_apps: 0,
111
+ is_active: 0,
112
+ is_deleted: 0,
113
+ journey_updated_at: "",
114
+ aadhaar_name: "",
115
+ crn: "",
116
+ nsdl_dob: "",
117
+ gender: "",
118
+ gst_no: "",
119
+ language: "",
120
+ latitude: 0,
121
+ longitude: 0,
122
+ marital_status: "",
123
+ occupation: "",
124
+ office_addr: undefined,
125
+ organization: "",
126
+ pan_url: "",
127
+ per_addr: undefined,
128
+ res_addr: undefined,
129
+ salary: 0,
130
+ salary_date: "",
131
+ salary_mode: "",
132
+ selfie_url: "",
133
+ kyc_type: "",
87
134
  emi_date: "",
88
- loc_disabled: false,
135
+ phone_matched: 0,
136
+ dob_matched: 0,
137
+ nsdl_dob_matched: "",
138
+ okyc_dob: "",
139
+ dob_attempts: 0,
140
+ is_upgradable: 0,
141
+ has_imps: 0,
142
+ journey_inactive: 0,
143
+ repeat_journey: 0,
144
+ mobile_network: "",
89
145
  };
90
146
  }
91
147
  exports.getCustomerByIdResponse = {
@@ -117,44 +173,212 @@ exports.getCustomerByIdResponse = {
117
173
  if (message.company_name !== "") {
118
174
  writer.uint32(74).string(message.company_name);
119
175
  }
176
+ if (message.official_email !== "") {
177
+ writer.uint32(82).string(message.official_email);
178
+ }
120
179
  if (message.pincode !== "") {
121
- writer.uint32(82).string(message.pincode);
180
+ writer.uint32(90).string(message.pincode);
181
+ }
182
+ if (message.mpin !== "") {
183
+ writer.uint32(98).string(message.mpin);
184
+ }
185
+ if (message.pan !== "") {
186
+ writer.uint32(106).string(message.pan);
187
+ }
188
+ if (message.aadhaar !== "") {
189
+ writer.uint32(114).string(message.aadhaar);
190
+ }
191
+ if (message.mobile_verified !== 0) {
192
+ writer.uint32(120).int32(message.mobile_verified);
193
+ }
194
+ if (message.email_verified !== 0) {
195
+ writer.uint32(128).int32(message.email_verified);
196
+ }
197
+ if (message.ip !== "") {
198
+ writer.uint32(138).string(message.ip);
199
+ }
200
+ if (message.device_id !== "") {
201
+ writer.uint32(146).string(message.device_id);
202
+ }
203
+ if (message.is_registered !== 0) {
204
+ writer.uint32(152).int32(message.is_registered);
205
+ }
206
+ if (message.mobile_hash !== "") {
207
+ writer.uint32(162).string(message.mobile_hash);
208
+ }
209
+ if (message.email_hash !== "") {
210
+ writer.uint32(170).string(message.email_hash);
211
+ }
212
+ if (message.os_version !== "") {
213
+ writer.uint32(178).string(message.os_version);
214
+ }
215
+ if (message.push_id !== "") {
216
+ writer.uint32(186).string(message.push_id);
217
+ }
218
+ if (message.state !== "") {
219
+ writer.uint32(194).string(message.state);
122
220
  }
123
221
  if (message.app_version !== "") {
124
- writer.uint32(90).string(message.app_version);
222
+ writer.uint32(202).string(message.app_version);
125
223
  }
126
224
  if (message.biometric_enabled !== false) {
127
- writer.uint32(96).bool(message.biometric_enabled);
225
+ writer.uint32(208).bool(message.biometric_enabled);
128
226
  }
129
227
  if (message.journey_sequence !== 0) {
130
- writer.uint32(104).int32(message.journey_sequence);
228
+ writer.uint32(216).int32(message.journey_sequence);
131
229
  }
132
230
  if (message.category !== "") {
133
- writer.uint32(114).string(message.category);
231
+ writer.uint32(226).string(message.category);
134
232
  }
135
233
  if (message.loc_limit !== 0) {
136
- writer.uint32(125).float(message.loc_limit);
234
+ writer.uint32(237).float(message.loc_limit);
137
235
  }
138
236
  if (message.status !== "") {
139
- writer.uint32(130).string(message.status);
237
+ writer.uint32(242).string(message.status);
238
+ }
239
+ if (message.loc_disabled !== false) {
240
+ writer.uint32(248).bool(message.loc_disabled);
241
+ }
242
+ if (message.source !== "") {
243
+ writer.uint32(258).string(message.source);
244
+ }
245
+ if (message.tnc_version !== "") {
246
+ writer.uint32(266).string(message.tnc_version);
247
+ }
248
+ if (message.login_date !== "") {
249
+ writer.uint32(274).string(message.login_date);
140
250
  }
141
251
  if (message.min_tenure !== 0) {
142
- writer.uint32(136).int32(message.min_tenure);
252
+ writer.uint32(280).int32(message.min_tenure);
143
253
  }
144
254
  if (message.max_tenure !== 0) {
145
- writer.uint32(144).int32(message.max_tenure);
255
+ writer.uint32(288).int32(message.max_tenure);
146
256
  }
147
257
  if (message.roi !== 0) {
148
- writer.uint32(157).float(message.roi);
258
+ writer.uint32(301).float(message.roi);
149
259
  }
150
260
  if (message.processing_rate !== 0) {
151
- writer.uint32(165).float(message.processing_rate);
261
+ writer.uint32(309).float(message.processing_rate);
262
+ }
263
+ if (message.agent_id !== 0) {
264
+ writer.uint32(312).int32(message.agent_id);
265
+ }
266
+ if (message.application_type !== "") {
267
+ writer.uint32(322).string(message.application_type);
268
+ }
269
+ if (message.application_status !== "") {
270
+ writer.uint32(330).string(message.application_status);
271
+ }
272
+ if (message.customer_type !== "") {
273
+ writer.uint32(338).string(message.customer_type);
274
+ }
275
+ if (message.avg_salary !== 0) {
276
+ writer.uint32(349).float(message.avg_salary);
277
+ }
278
+ if (message.suspended_apps !== 0) {
279
+ writer.uint32(352).int32(message.suspended_apps);
280
+ }
281
+ if (message.is_active !== 0) {
282
+ writer.uint32(360).int32(message.is_active);
283
+ }
284
+ if (message.is_deleted !== 0) {
285
+ writer.uint32(368).int32(message.is_deleted);
286
+ }
287
+ if (message.journey_updated_at !== "") {
288
+ writer.uint32(378).string(message.journey_updated_at);
289
+ }
290
+ if (message.aadhaar_name !== "") {
291
+ writer.uint32(386).string(message.aadhaar_name);
292
+ }
293
+ if (message.crn !== "") {
294
+ writer.uint32(394).string(message.crn);
295
+ }
296
+ if (message.nsdl_dob !== "") {
297
+ writer.uint32(402).string(message.nsdl_dob);
298
+ }
299
+ if (message.gender !== "") {
300
+ writer.uint32(410).string(message.gender);
301
+ }
302
+ if (message.gst_no !== "") {
303
+ writer.uint32(418).string(message.gst_no);
304
+ }
305
+ if (message.language !== "") {
306
+ writer.uint32(426).string(message.language);
307
+ }
308
+ if (message.latitude !== 0) {
309
+ writer.uint32(437).float(message.latitude);
310
+ }
311
+ if (message.longitude !== 0) {
312
+ writer.uint32(445).float(message.longitude);
313
+ }
314
+ if (message.marital_status !== "") {
315
+ writer.uint32(450).string(message.marital_status);
316
+ }
317
+ if (message.occupation !== "") {
318
+ writer.uint32(458).string(message.occupation);
319
+ }
320
+ if (message.office_addr !== undefined) {
321
+ exports.Address.encode(message.office_addr, writer.uint32(466).fork()).ldelim();
322
+ }
323
+ if (message.organization !== "") {
324
+ writer.uint32(474).string(message.organization);
325
+ }
326
+ if (message.pan_url !== "") {
327
+ writer.uint32(482).string(message.pan_url);
328
+ }
329
+ if (message.per_addr !== undefined) {
330
+ exports.Address.encode(message.per_addr, writer.uint32(490).fork()).ldelim();
331
+ }
332
+ if (message.res_addr !== undefined) {
333
+ exports.Address.encode(message.res_addr, writer.uint32(498).fork()).ldelim();
334
+ }
335
+ if (message.salary !== 0) {
336
+ writer.uint32(509).float(message.salary);
337
+ }
338
+ if (message.salary_date !== "") {
339
+ writer.uint32(514).string(message.salary_date);
340
+ }
341
+ if (message.salary_mode !== "") {
342
+ writer.uint32(522).string(message.salary_mode);
343
+ }
344
+ if (message.selfie_url !== "") {
345
+ writer.uint32(530).string(message.selfie_url);
346
+ }
347
+ if (message.kyc_type !== "") {
348
+ writer.uint32(538).string(message.kyc_type);
152
349
  }
153
350
  if (message.emi_date !== "") {
154
- writer.uint32(170).string(message.emi_date);
351
+ writer.uint32(546).string(message.emi_date);
155
352
  }
156
- if (message.loc_disabled !== false) {
157
- writer.uint32(176).bool(message.loc_disabled);
353
+ if (message.phone_matched !== 0) {
354
+ writer.uint32(552).int32(message.phone_matched);
355
+ }
356
+ if (message.dob_matched !== 0) {
357
+ writer.uint32(560).int32(message.dob_matched);
358
+ }
359
+ if (message.nsdl_dob_matched !== "") {
360
+ writer.uint32(570).string(message.nsdl_dob_matched);
361
+ }
362
+ if (message.okyc_dob !== "") {
363
+ writer.uint32(578).string(message.okyc_dob);
364
+ }
365
+ if (message.dob_attempts !== 0) {
366
+ writer.uint32(584).int32(message.dob_attempts);
367
+ }
368
+ if (message.is_upgradable !== 0) {
369
+ writer.uint32(592).int32(message.is_upgradable);
370
+ }
371
+ if (message.has_imps !== 0) {
372
+ writer.uint32(600).int32(message.has_imps);
373
+ }
374
+ if (message.journey_inactive !== 0) {
375
+ writer.uint32(608).int32(message.journey_inactive);
376
+ }
377
+ if (message.repeat_journey !== 0) {
378
+ writer.uint32(616).int32(message.repeat_journey);
379
+ }
380
+ if (message.mobile_network !== "") {
381
+ writer.uint32(626).string(message.mobile_network);
158
382
  }
159
383
  return writer;
160
384
  },
@@ -223,80 +447,416 @@ exports.getCustomerByIdResponse = {
223
447
  if (tag !== 82) {
224
448
  break;
225
449
  }
226
- message.pincode = reader.string();
450
+ message.official_email = reader.string();
227
451
  continue;
228
452
  case 11:
229
453
  if (tag !== 90) {
230
454
  break;
231
455
  }
232
- message.app_version = reader.string();
456
+ message.pincode = reader.string();
233
457
  continue;
234
458
  case 12:
235
- if (tag !== 96) {
459
+ if (tag !== 98) {
236
460
  break;
237
461
  }
238
- message.biometric_enabled = reader.bool();
462
+ message.mpin = reader.string();
239
463
  continue;
240
464
  case 13:
241
- if (tag !== 104) {
465
+ if (tag !== 106) {
242
466
  break;
243
467
  }
244
- message.journey_sequence = reader.int32();
468
+ message.pan = reader.string();
245
469
  continue;
246
470
  case 14:
247
471
  if (tag !== 114) {
248
472
  break;
249
473
  }
250
- message.category = reader.string();
474
+ message.aadhaar = reader.string();
251
475
  continue;
252
476
  case 15:
253
- if (tag !== 125) {
477
+ if (tag !== 120) {
254
478
  break;
255
479
  }
256
- message.loc_limit = reader.float();
480
+ message.mobile_verified = reader.int32();
257
481
  continue;
258
482
  case 16:
259
- if (tag !== 130) {
483
+ if (tag !== 128) {
260
484
  break;
261
485
  }
262
- message.status = reader.string();
486
+ message.email_verified = reader.int32();
263
487
  continue;
264
488
  case 17:
265
- if (tag !== 136) {
489
+ if (tag !== 138) {
266
490
  break;
267
491
  }
268
- message.min_tenure = reader.int32();
492
+ message.ip = reader.string();
269
493
  continue;
270
494
  case 18:
271
- if (tag !== 144) {
495
+ if (tag !== 146) {
272
496
  break;
273
497
  }
274
- message.max_tenure = reader.int32();
498
+ message.device_id = reader.string();
275
499
  continue;
276
500
  case 19:
277
- if (tag !== 157) {
501
+ if (tag !== 152) {
278
502
  break;
279
503
  }
280
- message.roi = reader.float();
504
+ message.is_registered = reader.int32();
281
505
  continue;
282
506
  case 20:
283
- if (tag !== 165) {
507
+ if (tag !== 162) {
284
508
  break;
285
509
  }
286
- message.processing_rate = reader.float();
510
+ message.mobile_hash = reader.string();
287
511
  continue;
288
512
  case 21:
289
513
  if (tag !== 170) {
290
514
  break;
291
515
  }
292
- message.emi_date = reader.string();
516
+ message.email_hash = reader.string();
293
517
  continue;
294
518
  case 22:
295
- if (tag !== 176) {
519
+ if (tag !== 178) {
520
+ break;
521
+ }
522
+ message.os_version = reader.string();
523
+ continue;
524
+ case 23:
525
+ if (tag !== 186) {
526
+ break;
527
+ }
528
+ message.push_id = reader.string();
529
+ continue;
530
+ case 24:
531
+ if (tag !== 194) {
532
+ break;
533
+ }
534
+ message.state = reader.string();
535
+ continue;
536
+ case 25:
537
+ if (tag !== 202) {
538
+ break;
539
+ }
540
+ message.app_version = reader.string();
541
+ continue;
542
+ case 26:
543
+ if (tag !== 208) {
544
+ break;
545
+ }
546
+ message.biometric_enabled = reader.bool();
547
+ continue;
548
+ case 27:
549
+ if (tag !== 216) {
550
+ break;
551
+ }
552
+ message.journey_sequence = reader.int32();
553
+ continue;
554
+ case 28:
555
+ if (tag !== 226) {
556
+ break;
557
+ }
558
+ message.category = reader.string();
559
+ continue;
560
+ case 29:
561
+ if (tag !== 237) {
562
+ break;
563
+ }
564
+ message.loc_limit = reader.float();
565
+ continue;
566
+ case 30:
567
+ if (tag !== 242) {
568
+ break;
569
+ }
570
+ message.status = reader.string();
571
+ continue;
572
+ case 31:
573
+ if (tag !== 248) {
296
574
  break;
297
575
  }
298
576
  message.loc_disabled = reader.bool();
299
577
  continue;
578
+ case 32:
579
+ if (tag !== 258) {
580
+ break;
581
+ }
582
+ message.source = reader.string();
583
+ continue;
584
+ case 33:
585
+ if (tag !== 266) {
586
+ break;
587
+ }
588
+ message.tnc_version = reader.string();
589
+ continue;
590
+ case 34:
591
+ if (tag !== 274) {
592
+ break;
593
+ }
594
+ message.login_date = reader.string();
595
+ continue;
596
+ case 35:
597
+ if (tag !== 280) {
598
+ break;
599
+ }
600
+ message.min_tenure = reader.int32();
601
+ continue;
602
+ case 36:
603
+ if (tag !== 288) {
604
+ break;
605
+ }
606
+ message.max_tenure = reader.int32();
607
+ continue;
608
+ case 37:
609
+ if (tag !== 301) {
610
+ break;
611
+ }
612
+ message.roi = reader.float();
613
+ continue;
614
+ case 38:
615
+ if (tag !== 309) {
616
+ break;
617
+ }
618
+ message.processing_rate = reader.float();
619
+ continue;
620
+ case 39:
621
+ if (tag !== 312) {
622
+ break;
623
+ }
624
+ message.agent_id = reader.int32();
625
+ continue;
626
+ case 40:
627
+ if (tag !== 322) {
628
+ break;
629
+ }
630
+ message.application_type = reader.string();
631
+ continue;
632
+ case 41:
633
+ if (tag !== 330) {
634
+ break;
635
+ }
636
+ message.application_status = reader.string();
637
+ continue;
638
+ case 42:
639
+ if (tag !== 338) {
640
+ break;
641
+ }
642
+ message.customer_type = reader.string();
643
+ continue;
644
+ case 43:
645
+ if (tag !== 349) {
646
+ break;
647
+ }
648
+ message.avg_salary = reader.float();
649
+ continue;
650
+ case 44:
651
+ if (tag !== 352) {
652
+ break;
653
+ }
654
+ message.suspended_apps = reader.int32();
655
+ continue;
656
+ case 45:
657
+ if (tag !== 360) {
658
+ break;
659
+ }
660
+ message.is_active = reader.int32();
661
+ continue;
662
+ case 46:
663
+ if (tag !== 368) {
664
+ break;
665
+ }
666
+ message.is_deleted = reader.int32();
667
+ continue;
668
+ case 47:
669
+ if (tag !== 378) {
670
+ break;
671
+ }
672
+ message.journey_updated_at = reader.string();
673
+ continue;
674
+ case 48:
675
+ if (tag !== 386) {
676
+ break;
677
+ }
678
+ message.aadhaar_name = reader.string();
679
+ continue;
680
+ case 49:
681
+ if (tag !== 394) {
682
+ break;
683
+ }
684
+ message.crn = reader.string();
685
+ continue;
686
+ case 50:
687
+ if (tag !== 402) {
688
+ break;
689
+ }
690
+ message.nsdl_dob = reader.string();
691
+ continue;
692
+ case 51:
693
+ if (tag !== 410) {
694
+ break;
695
+ }
696
+ message.gender = reader.string();
697
+ continue;
698
+ case 52:
699
+ if (tag !== 418) {
700
+ break;
701
+ }
702
+ message.gst_no = reader.string();
703
+ continue;
704
+ case 53:
705
+ if (tag !== 426) {
706
+ break;
707
+ }
708
+ message.language = reader.string();
709
+ continue;
710
+ case 54:
711
+ if (tag !== 437) {
712
+ break;
713
+ }
714
+ message.latitude = reader.float();
715
+ continue;
716
+ case 55:
717
+ if (tag !== 445) {
718
+ break;
719
+ }
720
+ message.longitude = reader.float();
721
+ continue;
722
+ case 56:
723
+ if (tag !== 450) {
724
+ break;
725
+ }
726
+ message.marital_status = reader.string();
727
+ continue;
728
+ case 57:
729
+ if (tag !== 458) {
730
+ break;
731
+ }
732
+ message.occupation = reader.string();
733
+ continue;
734
+ case 58:
735
+ if (tag !== 466) {
736
+ break;
737
+ }
738
+ message.office_addr = exports.Address.decode(reader, reader.uint32());
739
+ continue;
740
+ case 59:
741
+ if (tag !== 474) {
742
+ break;
743
+ }
744
+ message.organization = reader.string();
745
+ continue;
746
+ case 60:
747
+ if (tag !== 482) {
748
+ break;
749
+ }
750
+ message.pan_url = reader.string();
751
+ continue;
752
+ case 61:
753
+ if (tag !== 490) {
754
+ break;
755
+ }
756
+ message.per_addr = exports.Address.decode(reader, reader.uint32());
757
+ continue;
758
+ case 62:
759
+ if (tag !== 498) {
760
+ break;
761
+ }
762
+ message.res_addr = exports.Address.decode(reader, reader.uint32());
763
+ continue;
764
+ case 63:
765
+ if (tag !== 509) {
766
+ break;
767
+ }
768
+ message.salary = reader.float();
769
+ continue;
770
+ case 64:
771
+ if (tag !== 514) {
772
+ break;
773
+ }
774
+ message.salary_date = reader.string();
775
+ continue;
776
+ case 65:
777
+ if (tag !== 522) {
778
+ break;
779
+ }
780
+ message.salary_mode = reader.string();
781
+ continue;
782
+ case 66:
783
+ if (tag !== 530) {
784
+ break;
785
+ }
786
+ message.selfie_url = reader.string();
787
+ continue;
788
+ case 67:
789
+ if (tag !== 538) {
790
+ break;
791
+ }
792
+ message.kyc_type = reader.string();
793
+ continue;
794
+ case 68:
795
+ if (tag !== 546) {
796
+ break;
797
+ }
798
+ message.emi_date = reader.string();
799
+ continue;
800
+ case 69:
801
+ if (tag !== 552) {
802
+ break;
803
+ }
804
+ message.phone_matched = reader.int32();
805
+ continue;
806
+ case 70:
807
+ if (tag !== 560) {
808
+ break;
809
+ }
810
+ message.dob_matched = reader.int32();
811
+ continue;
812
+ case 71:
813
+ if (tag !== 570) {
814
+ break;
815
+ }
816
+ message.nsdl_dob_matched = reader.string();
817
+ continue;
818
+ case 72:
819
+ if (tag !== 578) {
820
+ break;
821
+ }
822
+ message.okyc_dob = reader.string();
823
+ continue;
824
+ case 73:
825
+ if (tag !== 584) {
826
+ break;
827
+ }
828
+ message.dob_attempts = reader.int32();
829
+ continue;
830
+ case 74:
831
+ if (tag !== 592) {
832
+ break;
833
+ }
834
+ message.is_upgradable = reader.int32();
835
+ continue;
836
+ case 75:
837
+ if (tag !== 600) {
838
+ break;
839
+ }
840
+ message.has_imps = reader.int32();
841
+ continue;
842
+ case 76:
843
+ if (tag !== 608) {
844
+ break;
845
+ }
846
+ message.journey_inactive = reader.int32();
847
+ continue;
848
+ case 77:
849
+ if (tag !== 616) {
850
+ break;
851
+ }
852
+ message.repeat_journey = reader.int32();
853
+ continue;
854
+ case 78:
855
+ if (tag !== 626) {
856
+ break;
857
+ }
858
+ message.mobile_network = reader.string();
859
+ continue;
300
860
  }
301
861
  if ((tag & 7) === 4 || tag === 0) {
302
862
  break;
@@ -316,19 +876,75 @@ exports.getCustomerByIdResponse = {
316
876
  mother_maiden_name: isSet(object.mother_maiden_name) ? globalThis.String(object.mother_maiden_name) : "",
317
877
  dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
318
878
  company_name: isSet(object.company_name) ? globalThis.String(object.company_name) : "",
879
+ official_email: isSet(object.official_email) ? globalThis.String(object.official_email) : "",
319
880
  pincode: isSet(object.pincode) ? globalThis.String(object.pincode) : "",
881
+ mpin: isSet(object.mpin) ? globalThis.String(object.mpin) : "",
882
+ pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
883
+ aadhaar: isSet(object.aadhaar) ? globalThis.String(object.aadhaar) : "",
884
+ mobile_verified: isSet(object.mobile_verified) ? globalThis.Number(object.mobile_verified) : 0,
885
+ email_verified: isSet(object.email_verified) ? globalThis.Number(object.email_verified) : 0,
886
+ ip: isSet(object.ip) ? globalThis.String(object.ip) : "",
887
+ device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
888
+ is_registered: isSet(object.is_registered) ? globalThis.Number(object.is_registered) : 0,
889
+ mobile_hash: isSet(object.mobile_hash) ? globalThis.String(object.mobile_hash) : "",
890
+ email_hash: isSet(object.email_hash) ? globalThis.String(object.email_hash) : "",
891
+ os_version: isSet(object.os_version) ? globalThis.String(object.os_version) : "",
892
+ push_id: isSet(object.push_id) ? globalThis.String(object.push_id) : "",
893
+ state: isSet(object.state) ? globalThis.String(object.state) : "",
320
894
  app_version: isSet(object.app_version) ? globalThis.String(object.app_version) : "",
321
895
  biometric_enabled: isSet(object.biometric_enabled) ? globalThis.Boolean(object.biometric_enabled) : false,
322
896
  journey_sequence: isSet(object.journey_sequence) ? globalThis.Number(object.journey_sequence) : 0,
323
897
  category: isSet(object.category) ? globalThis.String(object.category) : "",
324
898
  loc_limit: isSet(object.loc_limit) ? globalThis.Number(object.loc_limit) : 0,
325
899
  status: isSet(object.status) ? globalThis.String(object.status) : "",
900
+ loc_disabled: isSet(object.loc_disabled) ? globalThis.Boolean(object.loc_disabled) : false,
901
+ source: isSet(object.source) ? globalThis.String(object.source) : "",
902
+ tnc_version: isSet(object.tnc_version) ? globalThis.String(object.tnc_version) : "",
903
+ login_date: isSet(object.login_date) ? globalThis.String(object.login_date) : "",
326
904
  min_tenure: isSet(object.min_tenure) ? globalThis.Number(object.min_tenure) : 0,
327
905
  max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
328
906
  roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
329
907
  processing_rate: isSet(object.processing_rate) ? globalThis.Number(object.processing_rate) : 0,
908
+ agent_id: isSet(object.agent_id) ? globalThis.Number(object.agent_id) : 0,
909
+ application_type: isSet(object.application_type) ? globalThis.String(object.application_type) : "",
910
+ application_status: isSet(object.application_status) ? globalThis.String(object.application_status) : "",
911
+ customer_type: isSet(object.customer_type) ? globalThis.String(object.customer_type) : "",
912
+ avg_salary: isSet(object.avg_salary) ? globalThis.Number(object.avg_salary) : 0,
913
+ suspended_apps: isSet(object.suspended_apps) ? globalThis.Number(object.suspended_apps) : 0,
914
+ is_active: isSet(object.is_active) ? globalThis.Number(object.is_active) : 0,
915
+ is_deleted: isSet(object.is_deleted) ? globalThis.Number(object.is_deleted) : 0,
916
+ journey_updated_at: isSet(object.journey_updated_at) ? globalThis.String(object.journey_updated_at) : "",
917
+ aadhaar_name: isSet(object.aadhaar_name) ? globalThis.String(object.aadhaar_name) : "",
918
+ crn: isSet(object.crn) ? globalThis.String(object.crn) : "",
919
+ nsdl_dob: isSet(object.nsdl_dob) ? globalThis.String(object.nsdl_dob) : "",
920
+ gender: isSet(object.gender) ? globalThis.String(object.gender) : "",
921
+ gst_no: isSet(object.gst_no) ? globalThis.String(object.gst_no) : "",
922
+ language: isSet(object.language) ? globalThis.String(object.language) : "",
923
+ latitude: isSet(object.latitude) ? globalThis.Number(object.latitude) : 0,
924
+ longitude: isSet(object.longitude) ? globalThis.Number(object.longitude) : 0,
925
+ marital_status: isSet(object.marital_status) ? globalThis.String(object.marital_status) : "",
926
+ occupation: isSet(object.occupation) ? globalThis.String(object.occupation) : "",
927
+ office_addr: isSet(object.office_addr) ? exports.Address.fromJSON(object.office_addr) : undefined,
928
+ organization: isSet(object.organization) ? globalThis.String(object.organization) : "",
929
+ pan_url: isSet(object.pan_url) ? globalThis.String(object.pan_url) : "",
930
+ per_addr: isSet(object.per_addr) ? exports.Address.fromJSON(object.per_addr) : undefined,
931
+ res_addr: isSet(object.res_addr) ? exports.Address.fromJSON(object.res_addr) : undefined,
932
+ salary: isSet(object.salary) ? globalThis.Number(object.salary) : 0,
933
+ salary_date: isSet(object.salary_date) ? globalThis.String(object.salary_date) : "",
934
+ salary_mode: isSet(object.salary_mode) ? globalThis.String(object.salary_mode) : "",
935
+ selfie_url: isSet(object.selfie_url) ? globalThis.String(object.selfie_url) : "",
936
+ kyc_type: isSet(object.kyc_type) ? globalThis.String(object.kyc_type) : "",
330
937
  emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
331
- loc_disabled: isSet(object.loc_disabled) ? globalThis.Boolean(object.loc_disabled) : false,
938
+ phone_matched: isSet(object.phone_matched) ? globalThis.Number(object.phone_matched) : 0,
939
+ dob_matched: isSet(object.dob_matched) ? globalThis.Number(object.dob_matched) : 0,
940
+ nsdl_dob_matched: isSet(object.nsdl_dob_matched) ? globalThis.String(object.nsdl_dob_matched) : "",
941
+ okyc_dob: isSet(object.okyc_dob) ? globalThis.String(object.okyc_dob) : "",
942
+ dob_attempts: isSet(object.dob_attempts) ? globalThis.Number(object.dob_attempts) : 0,
943
+ is_upgradable: isSet(object.is_upgradable) ? globalThis.Number(object.is_upgradable) : 0,
944
+ has_imps: isSet(object.has_imps) ? globalThis.Number(object.has_imps) : 0,
945
+ journey_inactive: isSet(object.journey_inactive) ? globalThis.Number(object.journey_inactive) : 0,
946
+ repeat_journey: isSet(object.repeat_journey) ? globalThis.Number(object.repeat_journey) : 0,
947
+ mobile_network: isSet(object.mobile_network) ? globalThis.String(object.mobile_network) : "",
332
948
  };
333
949
  },
334
950
  toJSON(message) {
@@ -360,9 +976,51 @@ exports.getCustomerByIdResponse = {
360
976
  if (message.company_name !== "") {
361
977
  obj.company_name = message.company_name;
362
978
  }
979
+ if (message.official_email !== "") {
980
+ obj.official_email = message.official_email;
981
+ }
363
982
  if (message.pincode !== "") {
364
983
  obj.pincode = message.pincode;
365
984
  }
985
+ if (message.mpin !== "") {
986
+ obj.mpin = message.mpin;
987
+ }
988
+ if (message.pan !== "") {
989
+ obj.pan = message.pan;
990
+ }
991
+ if (message.aadhaar !== "") {
992
+ obj.aadhaar = message.aadhaar;
993
+ }
994
+ if (message.mobile_verified !== 0) {
995
+ obj.mobile_verified = Math.round(message.mobile_verified);
996
+ }
997
+ if (message.email_verified !== 0) {
998
+ obj.email_verified = Math.round(message.email_verified);
999
+ }
1000
+ if (message.ip !== "") {
1001
+ obj.ip = message.ip;
1002
+ }
1003
+ if (message.device_id !== "") {
1004
+ obj.device_id = message.device_id;
1005
+ }
1006
+ if (message.is_registered !== 0) {
1007
+ obj.is_registered = Math.round(message.is_registered);
1008
+ }
1009
+ if (message.mobile_hash !== "") {
1010
+ obj.mobile_hash = message.mobile_hash;
1011
+ }
1012
+ if (message.email_hash !== "") {
1013
+ obj.email_hash = message.email_hash;
1014
+ }
1015
+ if (message.os_version !== "") {
1016
+ obj.os_version = message.os_version;
1017
+ }
1018
+ if (message.push_id !== "") {
1019
+ obj.push_id = message.push_id;
1020
+ }
1021
+ if (message.state !== "") {
1022
+ obj.state = message.state;
1023
+ }
366
1024
  if (message.app_version !== "") {
367
1025
  obj.app_version = message.app_version;
368
1026
  }
@@ -381,6 +1039,18 @@ exports.getCustomerByIdResponse = {
381
1039
  if (message.status !== "") {
382
1040
  obj.status = message.status;
383
1041
  }
1042
+ if (message.loc_disabled !== false) {
1043
+ obj.loc_disabled = message.loc_disabled;
1044
+ }
1045
+ if (message.source !== "") {
1046
+ obj.source = message.source;
1047
+ }
1048
+ if (message.tnc_version !== "") {
1049
+ obj.tnc_version = message.tnc_version;
1050
+ }
1051
+ if (message.login_date !== "") {
1052
+ obj.login_date = message.login_date;
1053
+ }
384
1054
  if (message.min_tenure !== 0) {
385
1055
  obj.min_tenure = Math.round(message.min_tenure);
386
1056
  }
@@ -393,11 +1063,125 @@ exports.getCustomerByIdResponse = {
393
1063
  if (message.processing_rate !== 0) {
394
1064
  obj.processing_rate = message.processing_rate;
395
1065
  }
1066
+ if (message.agent_id !== 0) {
1067
+ obj.agent_id = Math.round(message.agent_id);
1068
+ }
1069
+ if (message.application_type !== "") {
1070
+ obj.application_type = message.application_type;
1071
+ }
1072
+ if (message.application_status !== "") {
1073
+ obj.application_status = message.application_status;
1074
+ }
1075
+ if (message.customer_type !== "") {
1076
+ obj.customer_type = message.customer_type;
1077
+ }
1078
+ if (message.avg_salary !== 0) {
1079
+ obj.avg_salary = message.avg_salary;
1080
+ }
1081
+ if (message.suspended_apps !== 0) {
1082
+ obj.suspended_apps = Math.round(message.suspended_apps);
1083
+ }
1084
+ if (message.is_active !== 0) {
1085
+ obj.is_active = Math.round(message.is_active);
1086
+ }
1087
+ if (message.is_deleted !== 0) {
1088
+ obj.is_deleted = Math.round(message.is_deleted);
1089
+ }
1090
+ if (message.journey_updated_at !== "") {
1091
+ obj.journey_updated_at = message.journey_updated_at;
1092
+ }
1093
+ if (message.aadhaar_name !== "") {
1094
+ obj.aadhaar_name = message.aadhaar_name;
1095
+ }
1096
+ if (message.crn !== "") {
1097
+ obj.crn = message.crn;
1098
+ }
1099
+ if (message.nsdl_dob !== "") {
1100
+ obj.nsdl_dob = message.nsdl_dob;
1101
+ }
1102
+ if (message.gender !== "") {
1103
+ obj.gender = message.gender;
1104
+ }
1105
+ if (message.gst_no !== "") {
1106
+ obj.gst_no = message.gst_no;
1107
+ }
1108
+ if (message.language !== "") {
1109
+ obj.language = message.language;
1110
+ }
1111
+ if (message.latitude !== 0) {
1112
+ obj.latitude = message.latitude;
1113
+ }
1114
+ if (message.longitude !== 0) {
1115
+ obj.longitude = message.longitude;
1116
+ }
1117
+ if (message.marital_status !== "") {
1118
+ obj.marital_status = message.marital_status;
1119
+ }
1120
+ if (message.occupation !== "") {
1121
+ obj.occupation = message.occupation;
1122
+ }
1123
+ if (message.office_addr !== undefined) {
1124
+ obj.office_addr = exports.Address.toJSON(message.office_addr);
1125
+ }
1126
+ if (message.organization !== "") {
1127
+ obj.organization = message.organization;
1128
+ }
1129
+ if (message.pan_url !== "") {
1130
+ obj.pan_url = message.pan_url;
1131
+ }
1132
+ if (message.per_addr !== undefined) {
1133
+ obj.per_addr = exports.Address.toJSON(message.per_addr);
1134
+ }
1135
+ if (message.res_addr !== undefined) {
1136
+ obj.res_addr = exports.Address.toJSON(message.res_addr);
1137
+ }
1138
+ if (message.salary !== 0) {
1139
+ obj.salary = message.salary;
1140
+ }
1141
+ if (message.salary_date !== "") {
1142
+ obj.salary_date = message.salary_date;
1143
+ }
1144
+ if (message.salary_mode !== "") {
1145
+ obj.salary_mode = message.salary_mode;
1146
+ }
1147
+ if (message.selfie_url !== "") {
1148
+ obj.selfie_url = message.selfie_url;
1149
+ }
1150
+ if (message.kyc_type !== "") {
1151
+ obj.kyc_type = message.kyc_type;
1152
+ }
396
1153
  if (message.emi_date !== "") {
397
1154
  obj.emi_date = message.emi_date;
398
1155
  }
399
- if (message.loc_disabled !== false) {
400
- obj.loc_disabled = message.loc_disabled;
1156
+ if (message.phone_matched !== 0) {
1157
+ obj.phone_matched = Math.round(message.phone_matched);
1158
+ }
1159
+ if (message.dob_matched !== 0) {
1160
+ obj.dob_matched = Math.round(message.dob_matched);
1161
+ }
1162
+ if (message.nsdl_dob_matched !== "") {
1163
+ obj.nsdl_dob_matched = message.nsdl_dob_matched;
1164
+ }
1165
+ if (message.okyc_dob !== "") {
1166
+ obj.okyc_dob = message.okyc_dob;
1167
+ }
1168
+ if (message.dob_attempts !== 0) {
1169
+ obj.dob_attempts = Math.round(message.dob_attempts);
1170
+ }
1171
+ if (message.is_upgradable !== 0) {
1172
+ obj.is_upgradable = Math.round(message.is_upgradable);
1173
+ }
1174
+ if (message.has_imps !== 0) {
1175
+ obj.has_imps = Math.round(message.has_imps);
1176
+ }
1177
+ if (message.journey_inactive !== 0) {
1178
+ obj.journey_inactive = Math.round(message.journey_inactive);
1179
+ }
1180
+ if (message.repeat_journey !== 0) {
1181
+ obj.repeat_journey = Math.round(message.repeat_journey);
1182
+ }
1183
+ if (message.mobile_network !== "") {
1184
+ obj.mobile_network = message.mobile_network;
401
1185
  }
402
1186
  return obj;
403
1187
  },
@@ -415,19 +1199,217 @@ exports.getCustomerByIdResponse = {
415
1199
  message.mother_maiden_name = object.mother_maiden_name ?? "";
416
1200
  message.dob = object.dob ?? "";
417
1201
  message.company_name = object.company_name ?? "";
1202
+ message.official_email = object.official_email ?? "";
418
1203
  message.pincode = object.pincode ?? "";
1204
+ message.mpin = object.mpin ?? "";
1205
+ message.pan = object.pan ?? "";
1206
+ message.aadhaar = object.aadhaar ?? "";
1207
+ message.mobile_verified = object.mobile_verified ?? 0;
1208
+ message.email_verified = object.email_verified ?? 0;
1209
+ message.ip = object.ip ?? "";
1210
+ message.device_id = object.device_id ?? "";
1211
+ message.is_registered = object.is_registered ?? 0;
1212
+ message.mobile_hash = object.mobile_hash ?? "";
1213
+ message.email_hash = object.email_hash ?? "";
1214
+ message.os_version = object.os_version ?? "";
1215
+ message.push_id = object.push_id ?? "";
1216
+ message.state = object.state ?? "";
419
1217
  message.app_version = object.app_version ?? "";
420
1218
  message.biometric_enabled = object.biometric_enabled ?? false;
421
1219
  message.journey_sequence = object.journey_sequence ?? 0;
422
1220
  message.category = object.category ?? "";
423
1221
  message.loc_limit = object.loc_limit ?? 0;
424
1222
  message.status = object.status ?? "";
1223
+ message.loc_disabled = object.loc_disabled ?? false;
1224
+ message.source = object.source ?? "";
1225
+ message.tnc_version = object.tnc_version ?? "";
1226
+ message.login_date = object.login_date ?? "";
425
1227
  message.min_tenure = object.min_tenure ?? 0;
426
1228
  message.max_tenure = object.max_tenure ?? 0;
427
1229
  message.roi = object.roi ?? 0;
428
1230
  message.processing_rate = object.processing_rate ?? 0;
1231
+ message.agent_id = object.agent_id ?? 0;
1232
+ message.application_type = object.application_type ?? "";
1233
+ message.application_status = object.application_status ?? "";
1234
+ message.customer_type = object.customer_type ?? "";
1235
+ message.avg_salary = object.avg_salary ?? 0;
1236
+ message.suspended_apps = object.suspended_apps ?? 0;
1237
+ message.is_active = object.is_active ?? 0;
1238
+ message.is_deleted = object.is_deleted ?? 0;
1239
+ message.journey_updated_at = object.journey_updated_at ?? "";
1240
+ message.aadhaar_name = object.aadhaar_name ?? "";
1241
+ message.crn = object.crn ?? "";
1242
+ message.nsdl_dob = object.nsdl_dob ?? "";
1243
+ message.gender = object.gender ?? "";
1244
+ message.gst_no = object.gst_no ?? "";
1245
+ message.language = object.language ?? "";
1246
+ message.latitude = object.latitude ?? 0;
1247
+ message.longitude = object.longitude ?? 0;
1248
+ message.marital_status = object.marital_status ?? "";
1249
+ message.occupation = object.occupation ?? "";
1250
+ message.office_addr = (object.office_addr !== undefined && object.office_addr !== null)
1251
+ ? exports.Address.fromPartial(object.office_addr)
1252
+ : undefined;
1253
+ message.organization = object.organization ?? "";
1254
+ message.pan_url = object.pan_url ?? "";
1255
+ message.per_addr = (object.per_addr !== undefined && object.per_addr !== null)
1256
+ ? exports.Address.fromPartial(object.per_addr)
1257
+ : undefined;
1258
+ message.res_addr = (object.res_addr !== undefined && object.res_addr !== null)
1259
+ ? exports.Address.fromPartial(object.res_addr)
1260
+ : undefined;
1261
+ message.salary = object.salary ?? 0;
1262
+ message.salary_date = object.salary_date ?? "";
1263
+ message.salary_mode = object.salary_mode ?? "";
1264
+ message.selfie_url = object.selfie_url ?? "";
1265
+ message.kyc_type = object.kyc_type ?? "";
429
1266
  message.emi_date = object.emi_date ?? "";
430
- message.loc_disabled = object.loc_disabled ?? false;
1267
+ message.phone_matched = object.phone_matched ?? 0;
1268
+ message.dob_matched = object.dob_matched ?? 0;
1269
+ message.nsdl_dob_matched = object.nsdl_dob_matched ?? "";
1270
+ message.okyc_dob = object.okyc_dob ?? "";
1271
+ message.dob_attempts = object.dob_attempts ?? 0;
1272
+ message.is_upgradable = object.is_upgradable ?? 0;
1273
+ message.has_imps = object.has_imps ?? 0;
1274
+ message.journey_inactive = object.journey_inactive ?? 0;
1275
+ message.repeat_journey = object.repeat_journey ?? 0;
1276
+ message.mobile_network = object.mobile_network ?? "";
1277
+ return message;
1278
+ },
1279
+ };
1280
+ function createBaseAddress() {
1281
+ return { house_flat_no: "", address_line_1: "", address_line_2: "", landmark: "", city: "", state: "", pin_code: "" };
1282
+ }
1283
+ exports.Address = {
1284
+ encode(message, writer = minimal_1.default.Writer.create()) {
1285
+ if (message.house_flat_no !== "") {
1286
+ writer.uint32(10).string(message.house_flat_no);
1287
+ }
1288
+ if (message.address_line_1 !== "") {
1289
+ writer.uint32(18).string(message.address_line_1);
1290
+ }
1291
+ if (message.address_line_2 !== "") {
1292
+ writer.uint32(26).string(message.address_line_2);
1293
+ }
1294
+ if (message.landmark !== "") {
1295
+ writer.uint32(34).string(message.landmark);
1296
+ }
1297
+ if (message.city !== "") {
1298
+ writer.uint32(42).string(message.city);
1299
+ }
1300
+ if (message.state !== "") {
1301
+ writer.uint32(50).string(message.state);
1302
+ }
1303
+ if (message.pin_code !== "") {
1304
+ writer.uint32(58).string(message.pin_code);
1305
+ }
1306
+ return writer;
1307
+ },
1308
+ decode(input, length) {
1309
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
1310
+ let end = length === undefined ? reader.len : reader.pos + length;
1311
+ const message = createBaseAddress();
1312
+ while (reader.pos < end) {
1313
+ const tag = reader.uint32();
1314
+ switch (tag >>> 3) {
1315
+ case 1:
1316
+ if (tag !== 10) {
1317
+ break;
1318
+ }
1319
+ message.house_flat_no = reader.string();
1320
+ continue;
1321
+ case 2:
1322
+ if (tag !== 18) {
1323
+ break;
1324
+ }
1325
+ message.address_line_1 = reader.string();
1326
+ continue;
1327
+ case 3:
1328
+ if (tag !== 26) {
1329
+ break;
1330
+ }
1331
+ message.address_line_2 = reader.string();
1332
+ continue;
1333
+ case 4:
1334
+ if (tag !== 34) {
1335
+ break;
1336
+ }
1337
+ message.landmark = reader.string();
1338
+ continue;
1339
+ case 5:
1340
+ if (tag !== 42) {
1341
+ break;
1342
+ }
1343
+ message.city = reader.string();
1344
+ continue;
1345
+ case 6:
1346
+ if (tag !== 50) {
1347
+ break;
1348
+ }
1349
+ message.state = reader.string();
1350
+ continue;
1351
+ case 7:
1352
+ if (tag !== 58) {
1353
+ break;
1354
+ }
1355
+ message.pin_code = reader.string();
1356
+ continue;
1357
+ }
1358
+ if ((tag & 7) === 4 || tag === 0) {
1359
+ break;
1360
+ }
1361
+ reader.skipType(tag & 7);
1362
+ }
1363
+ return message;
1364
+ },
1365
+ fromJSON(object) {
1366
+ return {
1367
+ house_flat_no: isSet(object.house_flat_no) ? globalThis.String(object.house_flat_no) : "",
1368
+ address_line_1: isSet(object.address_line_1) ? globalThis.String(object.address_line_1) : "",
1369
+ address_line_2: isSet(object.address_line_2) ? globalThis.String(object.address_line_2) : "",
1370
+ landmark: isSet(object.landmark) ? globalThis.String(object.landmark) : "",
1371
+ city: isSet(object.city) ? globalThis.String(object.city) : "",
1372
+ state: isSet(object.state) ? globalThis.String(object.state) : "",
1373
+ pin_code: isSet(object.pin_code) ? globalThis.String(object.pin_code) : "",
1374
+ };
1375
+ },
1376
+ toJSON(message) {
1377
+ const obj = {};
1378
+ if (message.house_flat_no !== "") {
1379
+ obj.house_flat_no = message.house_flat_no;
1380
+ }
1381
+ if (message.address_line_1 !== "") {
1382
+ obj.address_line_1 = message.address_line_1;
1383
+ }
1384
+ if (message.address_line_2 !== "") {
1385
+ obj.address_line_2 = message.address_line_2;
1386
+ }
1387
+ if (message.landmark !== "") {
1388
+ obj.landmark = message.landmark;
1389
+ }
1390
+ if (message.city !== "") {
1391
+ obj.city = message.city;
1392
+ }
1393
+ if (message.state !== "") {
1394
+ obj.state = message.state;
1395
+ }
1396
+ if (message.pin_code !== "") {
1397
+ obj.pin_code = message.pin_code;
1398
+ }
1399
+ return obj;
1400
+ },
1401
+ create(base) {
1402
+ return exports.Address.fromPartial(base ?? {});
1403
+ },
1404
+ fromPartial(object) {
1405
+ const message = createBaseAddress();
1406
+ message.house_flat_no = object.house_flat_no ?? "";
1407
+ message.address_line_1 = object.address_line_1 ?? "";
1408
+ message.address_line_2 = object.address_line_2 ?? "";
1409
+ message.landmark = object.landmark ?? "";
1410
+ message.city = object.city ?? "";
1411
+ message.state = object.state ?? "";
1412
+ message.pin_code = object.pin_code ?? "";
431
1413
  return message;
432
1414
  },
433
1415
  };