@stashfin/grpc 1.2.38 → 1.2.40

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stashfin/grpc",
3
- "version": "1.2.38",
3
+ "version": "1.2.40",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -19,7 +19,7 @@ export interface addAddressRequest {
19
19
  pin_code: string;
20
20
  }
21
21
  export interface addAddressResponse {
22
- id: number;
22
+ status: boolean;
23
23
  }
24
24
  export declare const addAddressRequest: {
25
25
  encode(message: addAddressRequest, writer?: _m0.Writer): _m0.Writer;
@@ -211,12 +211,12 @@ exports.addAddressRequest = {
211
211
  },
212
212
  };
213
213
  function createBaseaddAddressResponse() {
214
- return { id: 0 };
214
+ return { status: false };
215
215
  }
216
216
  exports.addAddressResponse = {
217
217
  encode(message, writer = minimal_1.default.Writer.create()) {
218
- if (message.id !== 0) {
219
- writer.uint32(8).int32(message.id);
218
+ if (message.status !== false) {
219
+ writer.uint32(8).bool(message.status);
220
220
  }
221
221
  return writer;
222
222
  },
@@ -231,7 +231,7 @@ exports.addAddressResponse = {
231
231
  if (tag !== 8) {
232
232
  break;
233
233
  }
234
- message.id = reader.int32();
234
+ message.status = reader.bool();
235
235
  continue;
236
236
  }
237
237
  if ((tag & 7) === 4 || tag === 0) {
@@ -242,12 +242,12 @@ exports.addAddressResponse = {
242
242
  return message;
243
243
  },
244
244
  fromJSON(object) {
245
- return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
245
+ return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
246
246
  },
247
247
  toJSON(message) {
248
248
  const obj = {};
249
- if (message.id !== 0) {
250
- obj.id = Math.round(message.id);
249
+ if (message.status !== false) {
250
+ obj.status = message.status;
251
251
  }
252
252
  return obj;
253
253
  },
@@ -256,7 +256,7 @@ exports.addAddressResponse = {
256
256
  },
257
257
  fromPartial(object) {
258
258
  const message = createBaseaddAddressResponse();
259
- message.id = object.id ?? 0;
259
+ message.status = object.status ?? false;
260
260
  return message;
261
261
  },
262
262
  };
@@ -0,0 +1,37 @@
1
+ import _m0 from "protobufjs/minimal";
2
+ export declare const protobufPackage = "customers.addbankaccountdetails";
3
+ export interface addBankAccountDetailsRequest {
4
+ account_number: string;
5
+ bank_name: string;
6
+ ifsc_code: string;
7
+ }
8
+ export interface addBankAccountDetailsResponse {
9
+ id: number;
10
+ }
11
+ export declare const addBankAccountDetailsRequest: {
12
+ encode(message: addBankAccountDetailsRequest, writer?: _m0.Writer): _m0.Writer;
13
+ decode(input: _m0.Reader | Uint8Array, length?: number): addBankAccountDetailsRequest;
14
+ fromJSON(object: any): addBankAccountDetailsRequest;
15
+ toJSON(message: addBankAccountDetailsRequest): unknown;
16
+ create<I extends Exact<DeepPartial<addBankAccountDetailsRequest>, I>>(base?: I): addBankAccountDetailsRequest;
17
+ fromPartial<I extends Exact<DeepPartial<addBankAccountDetailsRequest>, I>>(object: I): addBankAccountDetailsRequest;
18
+ };
19
+ export declare const addBankAccountDetailsResponse: {
20
+ encode(message: addBankAccountDetailsResponse, writer?: _m0.Writer): _m0.Writer;
21
+ decode(input: _m0.Reader | Uint8Array, length?: number): addBankAccountDetailsResponse;
22
+ fromJSON(object: any): addBankAccountDetailsResponse;
23
+ toJSON(message: addBankAccountDetailsResponse): unknown;
24
+ create<I extends Exact<DeepPartial<addBankAccountDetailsResponse>, I>>(base?: I): addBankAccountDetailsResponse;
25
+ fromPartial<I extends Exact<DeepPartial<addBankAccountDetailsResponse>, I>>(object: I): addBankAccountDetailsResponse;
26
+ };
27
+ type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
28
+ export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
29
+ [K in keyof T]?: DeepPartial<T[K]>;
30
+ } : Partial<T>;
31
+ type KeysOfUnion<T> = T extends T ? keyof T : never;
32
+ export type Exact<P, I extends P> = P extends Builtin ? P : P & {
33
+ [K in keyof P]: Exact<P[K], I[K]>;
34
+ } & {
35
+ [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
36
+ };
37
+ export {};
@@ -0,0 +1,147 @@
1
+ "use strict";
2
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
3
+ // versions:
4
+ // protoc-gen-ts_proto v1.181.0
5
+ // protoc v3.20.3
6
+ // source: customers/addbankaccountdetails.proto
7
+ var __importDefault = (this && this.__importDefault) || function (mod) {
8
+ return (mod && mod.__esModule) ? mod : { "default": mod };
9
+ };
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.addBankAccountDetailsResponse = exports.addBankAccountDetailsRequest = exports.protobufPackage = void 0;
12
+ /* eslint-disable */
13
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
+ exports.protobufPackage = "customers.addbankaccountdetails";
15
+ function createBaseaddBankAccountDetailsRequest() {
16
+ return { account_number: "", bank_name: "", ifsc_code: "" };
17
+ }
18
+ exports.addBankAccountDetailsRequest = {
19
+ encode(message, writer = minimal_1.default.Writer.create()) {
20
+ if (message.account_number !== "") {
21
+ writer.uint32(10).string(message.account_number);
22
+ }
23
+ if (message.bank_name !== "") {
24
+ writer.uint32(18).string(message.bank_name);
25
+ }
26
+ if (message.ifsc_code !== "") {
27
+ writer.uint32(26).string(message.ifsc_code);
28
+ }
29
+ return writer;
30
+ },
31
+ decode(input, length) {
32
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
33
+ let end = length === undefined ? reader.len : reader.pos + length;
34
+ const message = createBaseaddBankAccountDetailsRequest();
35
+ while (reader.pos < end) {
36
+ const tag = reader.uint32();
37
+ switch (tag >>> 3) {
38
+ case 1:
39
+ if (tag !== 10) {
40
+ break;
41
+ }
42
+ message.account_number = reader.string();
43
+ continue;
44
+ case 2:
45
+ if (tag !== 18) {
46
+ break;
47
+ }
48
+ message.bank_name = reader.string();
49
+ continue;
50
+ case 3:
51
+ if (tag !== 26) {
52
+ break;
53
+ }
54
+ message.ifsc_code = reader.string();
55
+ continue;
56
+ }
57
+ if ((tag & 7) === 4 || tag === 0) {
58
+ break;
59
+ }
60
+ reader.skipType(tag & 7);
61
+ }
62
+ return message;
63
+ },
64
+ fromJSON(object) {
65
+ return {
66
+ account_number: isSet(object.account_number) ? globalThis.String(object.account_number) : "",
67
+ bank_name: isSet(object.bank_name) ? globalThis.String(object.bank_name) : "",
68
+ ifsc_code: isSet(object.ifsc_code) ? globalThis.String(object.ifsc_code) : "",
69
+ };
70
+ },
71
+ toJSON(message) {
72
+ const obj = {};
73
+ if (message.account_number !== "") {
74
+ obj.account_number = message.account_number;
75
+ }
76
+ if (message.bank_name !== "") {
77
+ obj.bank_name = message.bank_name;
78
+ }
79
+ if (message.ifsc_code !== "") {
80
+ obj.ifsc_code = message.ifsc_code;
81
+ }
82
+ return obj;
83
+ },
84
+ create(base) {
85
+ return exports.addBankAccountDetailsRequest.fromPartial(base ?? {});
86
+ },
87
+ fromPartial(object) {
88
+ const message = createBaseaddBankAccountDetailsRequest();
89
+ message.account_number = object.account_number ?? "";
90
+ message.bank_name = object.bank_name ?? "";
91
+ message.ifsc_code = object.ifsc_code ?? "";
92
+ return message;
93
+ },
94
+ };
95
+ function createBaseaddBankAccountDetailsResponse() {
96
+ return { id: 0 };
97
+ }
98
+ exports.addBankAccountDetailsResponse = {
99
+ encode(message, writer = minimal_1.default.Writer.create()) {
100
+ if (message.id !== 0) {
101
+ writer.uint32(8).int32(message.id);
102
+ }
103
+ return writer;
104
+ },
105
+ decode(input, length) {
106
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
107
+ let end = length === undefined ? reader.len : reader.pos + length;
108
+ const message = createBaseaddBankAccountDetailsResponse();
109
+ while (reader.pos < end) {
110
+ const tag = reader.uint32();
111
+ switch (tag >>> 3) {
112
+ case 1:
113
+ if (tag !== 8) {
114
+ break;
115
+ }
116
+ message.id = reader.int32();
117
+ continue;
118
+ }
119
+ if ((tag & 7) === 4 || tag === 0) {
120
+ break;
121
+ }
122
+ reader.skipType(tag & 7);
123
+ }
124
+ return message;
125
+ },
126
+ fromJSON(object) {
127
+ return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
128
+ },
129
+ toJSON(message) {
130
+ const obj = {};
131
+ if (message.id !== 0) {
132
+ obj.id = Math.round(message.id);
133
+ }
134
+ return obj;
135
+ },
136
+ create(base) {
137
+ return exports.addBankAccountDetailsResponse.fromPartial(base ?? {});
138
+ },
139
+ fromPartial(object) {
140
+ const message = createBaseaddBankAccountDetailsResponse();
141
+ message.id = object.id ?? 0;
142
+ return message;
143
+ },
144
+ };
145
+ function isSet(value) {
146
+ return value !== null && value !== undefined;
147
+ }
@@ -24,6 +24,7 @@ export interface getCustomerByIdResponse {
24
24
  max_tenure: number;
25
25
  roi: number;
26
26
  processing_rate: number;
27
+ emi_date: string;
27
28
  }
28
29
  export declare const getCustomerByIdRequest: {
29
30
  encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
@@ -84,6 +84,7 @@ function createBasegetCustomerByIdResponse() {
84
84
  max_tenure: 0,
85
85
  roi: 0,
86
86
  processing_rate: 0,
87
+ emi_date: "",
87
88
  };
88
89
  }
89
90
  exports.getCustomerByIdResponse = {
@@ -148,6 +149,9 @@ exports.getCustomerByIdResponse = {
148
149
  if (message.processing_rate !== 0) {
149
150
  writer.uint32(165).float(message.processing_rate);
150
151
  }
152
+ if (message.emi_date !== "") {
153
+ writer.uint32(170).string(message.emi_date);
154
+ }
151
155
  return writer;
152
156
  },
153
157
  decode(input, length) {
@@ -277,6 +281,12 @@ exports.getCustomerByIdResponse = {
277
281
  }
278
282
  message.processing_rate = reader.float();
279
283
  continue;
284
+ case 21:
285
+ if (tag !== 170) {
286
+ break;
287
+ }
288
+ message.emi_date = reader.string();
289
+ continue;
280
290
  }
281
291
  if ((tag & 7) === 4 || tag === 0) {
282
292
  break;
@@ -307,6 +317,7 @@ exports.getCustomerByIdResponse = {
307
317
  max_tenure: isSet(object.max_tenure) ? globalThis.Number(object.max_tenure) : 0,
308
318
  roi: isSet(object.roi) ? globalThis.Number(object.roi) : 0,
309
319
  processing_rate: isSet(object.processing_rate) ? globalThis.Number(object.processing_rate) : 0,
320
+ emi_date: isSet(object.emi_date) ? globalThis.String(object.emi_date) : "",
310
321
  };
311
322
  },
312
323
  toJSON(message) {
@@ -371,6 +382,9 @@ exports.getCustomerByIdResponse = {
371
382
  if (message.processing_rate !== 0) {
372
383
  obj.processing_rate = message.processing_rate;
373
384
  }
385
+ if (message.emi_date !== "") {
386
+ obj.emi_date = message.emi_date;
387
+ }
374
388
  return obj;
375
389
  },
376
390
  create(base) {
@@ -398,6 +412,7 @@ exports.getCustomerByIdResponse = {
398
412
  message.max_tenure = object.max_tenure ?? 0;
399
413
  message.roi = object.roi ?? 0;
400
414
  message.processing_rate = object.processing_rate ?? 0;
415
+ message.emi_date = object.emi_date ?? "";
401
416
  return message;
402
417
  },
403
418
  };
@@ -16,6 +16,7 @@ export interface Block {
16
16
  }
17
17
  export interface BlockData {
18
18
  text: string;
19
+ sub_text: string;
19
20
  image_url: string;
20
21
  video_url: string;
21
22
  video_length: number;
@@ -242,6 +242,7 @@ exports.Block = {
242
242
  function createBaseBlockData() {
243
243
  return {
244
244
  text: "",
245
+ sub_text: "",
245
246
  image_url: "",
246
247
  video_url: "",
247
248
  video_length: 0,
@@ -264,50 +265,53 @@ exports.BlockData = {
264
265
  if (message.text !== "") {
265
266
  writer.uint32(10).string(message.text);
266
267
  }
268
+ if (message.sub_text !== "") {
269
+ writer.uint32(18).string(message.sub_text);
270
+ }
267
271
  if (message.image_url !== "") {
268
- writer.uint32(18).string(message.image_url);
272
+ writer.uint32(26).string(message.image_url);
269
273
  }
270
274
  if (message.video_url !== "") {
271
- writer.uint32(26).string(message.video_url);
275
+ writer.uint32(34).string(message.video_url);
272
276
  }
273
277
  if (message.video_length !== 0) {
274
- writer.uint32(32).int32(message.video_length);
278
+ writer.uint32(40).int32(message.video_length);
275
279
  }
276
280
  if (message.action_url !== "") {
277
- writer.uint32(42).string(message.action_url);
281
+ writer.uint32(50).string(message.action_url);
278
282
  }
279
283
  if (message.landing_page !== "") {
280
- writer.uint32(50).string(message.landing_page);
284
+ writer.uint32(58).string(message.landing_page);
281
285
  }
282
286
  if (message.api_mode !== "") {
283
- writer.uint32(58).string(message.api_mode);
287
+ writer.uint32(66).string(message.api_mode);
284
288
  }
285
289
  if (message.app_version !== "") {
286
- writer.uint32(66).string(message.app_version);
290
+ writer.uint32(74).string(message.app_version);
287
291
  }
288
292
  if (message.old_customers !== false) {
289
- writer.uint32(72).bool(message.old_customers);
293
+ writer.uint32(80).bool(message.old_customers);
290
294
  }
291
295
  if (message.is_new !== false) {
292
- writer.uint32(80).bool(message.is_new);
296
+ writer.uint32(88).bool(message.is_new);
293
297
  }
294
298
  if (message.action_type !== "") {
295
- writer.uint32(90).string(message.action_type);
299
+ writer.uint32(98).string(message.action_type);
296
300
  }
297
301
  if (message.color1 !== "") {
298
- writer.uint32(98).string(message.color1);
302
+ writer.uint32(106).string(message.color1);
299
303
  }
300
304
  if (message.color2 !== "") {
301
- writer.uint32(106).string(message.color2);
305
+ writer.uint32(114).string(message.color2);
302
306
  }
303
307
  if (message.image_trailing !== "") {
304
- writer.uint32(114).string(message.image_trailing);
308
+ writer.uint32(122).string(message.image_trailing);
305
309
  }
306
310
  if (message.tag !== undefined) {
307
- exports.Tag.encode(message.tag, writer.uint32(122).fork()).ldelim();
311
+ exports.Tag.encode(message.tag, writer.uint32(130).fork()).ldelim();
308
312
  }
309
313
  if (message.overlay_image !== "") {
310
- writer.uint32(130).string(message.overlay_image);
314
+ writer.uint32(138).string(message.overlay_image);
311
315
  }
312
316
  return writer;
313
317
  },
@@ -328,90 +332,96 @@ exports.BlockData = {
328
332
  if (tag !== 18) {
329
333
  break;
330
334
  }
331
- message.image_url = reader.string();
335
+ message.sub_text = reader.string();
332
336
  continue;
333
337
  case 3:
334
338
  if (tag !== 26) {
335
339
  break;
336
340
  }
337
- message.video_url = reader.string();
341
+ message.image_url = reader.string();
338
342
  continue;
339
343
  case 4:
340
- if (tag !== 32) {
344
+ if (tag !== 34) {
341
345
  break;
342
346
  }
343
- message.video_length = reader.int32();
347
+ message.video_url = reader.string();
344
348
  continue;
345
349
  case 5:
346
- if (tag !== 42) {
350
+ if (tag !== 40) {
347
351
  break;
348
352
  }
349
- message.action_url = reader.string();
353
+ message.video_length = reader.int32();
350
354
  continue;
351
355
  case 6:
352
356
  if (tag !== 50) {
353
357
  break;
354
358
  }
355
- message.landing_page = reader.string();
359
+ message.action_url = reader.string();
356
360
  continue;
357
361
  case 7:
358
362
  if (tag !== 58) {
359
363
  break;
360
364
  }
361
- message.api_mode = reader.string();
365
+ message.landing_page = reader.string();
362
366
  continue;
363
367
  case 8:
364
368
  if (tag !== 66) {
365
369
  break;
366
370
  }
367
- message.app_version = reader.string();
371
+ message.api_mode = reader.string();
368
372
  continue;
369
373
  case 9:
370
- if (tag !== 72) {
374
+ if (tag !== 74) {
371
375
  break;
372
376
  }
373
- message.old_customers = reader.bool();
377
+ message.app_version = reader.string();
374
378
  continue;
375
379
  case 10:
376
380
  if (tag !== 80) {
377
381
  break;
378
382
  }
379
- message.is_new = reader.bool();
383
+ message.old_customers = reader.bool();
380
384
  continue;
381
385
  case 11:
382
- if (tag !== 90) {
386
+ if (tag !== 88) {
383
387
  break;
384
388
  }
385
- message.action_type = reader.string();
389
+ message.is_new = reader.bool();
386
390
  continue;
387
391
  case 12:
388
392
  if (tag !== 98) {
389
393
  break;
390
394
  }
391
- message.color1 = reader.string();
395
+ message.action_type = reader.string();
392
396
  continue;
393
397
  case 13:
394
398
  if (tag !== 106) {
395
399
  break;
396
400
  }
397
- message.color2 = reader.string();
401
+ message.color1 = reader.string();
398
402
  continue;
399
403
  case 14:
400
404
  if (tag !== 114) {
401
405
  break;
402
406
  }
403
- message.image_trailing = reader.string();
407
+ message.color2 = reader.string();
404
408
  continue;
405
409
  case 15:
406
410
  if (tag !== 122) {
407
411
  break;
408
412
  }
409
- message.tag = exports.Tag.decode(reader, reader.uint32());
413
+ message.image_trailing = reader.string();
410
414
  continue;
411
415
  case 16:
412
416
  if (tag !== 130) {
413
417
  break;
414
418
  }
419
+ message.tag = exports.Tag.decode(reader, reader.uint32());
420
+ continue;
421
+ case 17:
422
+ if (tag !== 138) {
423
+ break;
424
+ }
415
425
  message.overlay_image = reader.string();
416
426
  continue;
417
427
  }
@@ -425,6 +435,7 @@ exports.BlockData = {
425
435
  fromJSON(object) {
426
436
  return {
427
437
  text: isSet(object.text) ? globalThis.String(object.text) : "",
438
+ sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : "",
428
439
  image_url: isSet(object.image_url) ? globalThis.String(object.image_url) : "",
429
440
  video_url: isSet(object.video_url) ? globalThis.String(object.video_url) : "",
430
441
  video_length: isSet(object.video_length) ? globalThis.Number(object.video_length) : 0,
@@ -447,6 +458,9 @@ exports.BlockData = {
447
458
  if (message.text !== "") {
448
459
  obj.text = message.text;
449
460
  }
461
+ if (message.sub_text !== "") {
462
+ obj.sub_text = message.sub_text;
463
+ }
450
464
  if (message.image_url !== "") {
451
465
  obj.image_url = message.image_url;
452
466
  }
@@ -500,6 +514,7 @@ exports.BlockData = {
500
514
  fromPartial(object) {
501
515
  const message = createBaseBlockData();
502
516
  message.text = object.text ?? "";
517
+ message.sub_text = object.sub_text ?? "";
503
518
  message.image_url = object.image_url ?? "";
504
519
  message.video_url = object.video_url ?? "";
505
520
  message.video_length = object.video_length ?? 0;
@@ -5,7 +5,6 @@ export interface sendOtpRequest {
5
5
  device_id: string;
6
6
  }
7
7
  export interface sendOtpRespone {
8
- ismpin: boolean;
9
8
  token: string;
10
9
  is_device_registered: boolean;
11
10
  }
@@ -79,13 +79,10 @@ exports.sendOtpRequest = {
79
79
  },
80
80
  };
81
81
  function createBasesendOtpRespone() {
82
- return { ismpin: false, token: "", is_device_registered: false };
82
+ return { token: "", is_device_registered: false };
83
83
  }
84
84
  exports.sendOtpRespone = {
85
85
  encode(message, writer = minimal_1.default.Writer.create()) {
86
- if (message.ismpin !== false) {
87
- writer.uint32(8).bool(message.ismpin);
88
- }
89
86
  if (message.token !== "") {
90
87
  writer.uint32(18).string(message.token);
91
88
  }
@@ -101,12 +98,6 @@ exports.sendOtpRespone = {
101
98
  while (reader.pos < end) {
102
99
  const tag = reader.uint32();
103
100
  switch (tag >>> 3) {
104
- case 1:
105
- if (tag !== 8) {
106
- break;
107
- }
108
- message.ismpin = reader.bool();
109
- continue;
110
101
  case 2:
111
102
  if (tag !== 18) {
112
103
  break;
@@ -129,7 +120,6 @@ exports.sendOtpRespone = {
129
120
  },
130
121
  fromJSON(object) {
131
122
  return {
132
- ismpin: isSet(object.ismpin) ? globalThis.Boolean(object.ismpin) : false,
133
123
  token: isSet(object.token) ? globalThis.String(object.token) : "",
134
124
  is_device_registered: isSet(object.is_device_registered)
135
125
  ? globalThis.Boolean(object.is_device_registered)
@@ -138,9 +128,6 @@ exports.sendOtpRespone = {
138
128
  },
139
129
  toJSON(message) {
140
130
  const obj = {};
141
- if (message.ismpin !== false) {
142
- obj.ismpin = message.ismpin;
143
- }
144
131
  if (message.token !== "") {
145
132
  obj.token = message.token;
146
133
  }
@@ -154,7 +141,6 @@ exports.sendOtpRespone = {
154
141
  },
155
142
  fromPartial(object) {
156
143
  const message = createBasesendOtpRespone();
157
- message.ismpin = object.ismpin ?? false;
158
144
  message.token = object.token ?? "";
159
145
  message.is_device_registered = object.is_device_registered ?? false;
160
146
  return message;
@@ -8,7 +8,6 @@ export interface verifyOtpReqeust {
8
8
  tnc: boolean;
9
9
  }
10
10
  export interface verifyOtpResponse {
11
- ismpin: boolean;
12
11
  jwttoken: string;
13
12
  }
14
13
  export declare const verifyOtpReqeust: {
@@ -121,13 +121,10 @@ exports.verifyOtpReqeust = {
121
121
  },
122
122
  };
123
123
  function createBaseverifyOtpResponse() {
124
- return { ismpin: false, jwttoken: "" };
124
+ return { jwttoken: "" };
125
125
  }
126
126
  exports.verifyOtpResponse = {
127
127
  encode(message, writer = minimal_1.default.Writer.create()) {
128
- if (message.ismpin !== false) {
129
- writer.uint32(8).bool(message.ismpin);
130
- }
131
128
  if (message.jwttoken !== "") {
132
129
  writer.uint32(18).string(message.jwttoken);
133
130
  }
@@ -140,12 +137,6 @@ exports.verifyOtpResponse = {
140
137
  while (reader.pos < end) {
141
138
  const tag = reader.uint32();
142
139
  switch (tag >>> 3) {
143
- case 1:
144
- if (tag !== 8) {
145
- break;
146
- }
147
- message.ismpin = reader.bool();
148
- continue;
149
140
  case 2:
150
141
  if (tag !== 18) {
151
142
  break;
@@ -161,16 +152,10 @@ exports.verifyOtpResponse = {
161
152
  return message;
162
153
  },
163
154
  fromJSON(object) {
164
- return {
165
- ismpin: isSet(object.ismpin) ? globalThis.Boolean(object.ismpin) : false,
166
- jwttoken: isSet(object.jwttoken) ? globalThis.String(object.jwttoken) : "",
167
- };
155
+ return { jwttoken: isSet(object.jwttoken) ? globalThis.String(object.jwttoken) : "" };
168
156
  },
169
157
  toJSON(message) {
170
158
  const obj = {};
171
- if (message.ismpin !== false) {
172
- obj.ismpin = message.ismpin;
173
- }
174
159
  if (message.jwttoken !== "") {
175
160
  obj.jwttoken = message.jwttoken;
176
161
  }
@@ -181,7 +166,6 @@ exports.verifyOtpResponse = {
181
166
  },
182
167
  fromPartial(object) {
183
168
  const message = createBaseverifyOtpResponse();
184
- message.ismpin = object.ismpin ?? false;
185
169
  message.jwttoken = object.jwttoken ?? "";
186
170
  return message;
187
171
  },