@stashfin/grpc 1.2.599 → 1.2.601

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.599",
3
+ "version": "1.2.601",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -3,7 +3,7 @@ export declare const protobufPackage = "banking.aa.initiate";
3
3
  export interface initiateRequest {
4
4
  loan_id: number;
5
5
  journey_type: string;
6
- fip_ids: string[];
6
+ bank_ids: string[];
7
7
  customer_id: number;
8
8
  }
9
9
  export interface initiateResponse {
@@ -14,7 +14,7 @@ const long_1 = __importDefault(require("long"));
14
14
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
15
15
  exports.protobufPackage = "banking.aa.initiate";
16
16
  function createBaseinitiateRequest() {
17
- return { loan_id: 0, journey_type: "", fip_ids: [], customer_id: 0 };
17
+ return { loan_id: 0, journey_type: "", bank_ids: [], customer_id: 0 };
18
18
  }
19
19
  exports.initiateRequest = {
20
20
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -24,7 +24,7 @@ exports.initiateRequest = {
24
24
  if (message.journey_type !== "") {
25
25
  writer.uint32(18).string(message.journey_type);
26
26
  }
27
- for (const v of message.fip_ids) {
27
+ for (const v of message.bank_ids) {
28
28
  writer.uint32(26).string(v);
29
29
  }
30
30
  if (message.customer_id !== 0) {
@@ -55,7 +55,7 @@ exports.initiateRequest = {
55
55
  if (tag !== 26) {
56
56
  break;
57
57
  }
58
- message.fip_ids.push(reader.string());
58
+ message.bank_ids.push(reader.string());
59
59
  continue;
60
60
  case 4:
61
61
  if (tag !== 32) {
@@ -75,7 +75,7 @@ exports.initiateRequest = {
75
75
  return {
76
76
  loan_id: isSet(object.loan_id) ? globalThis.Number(object.loan_id) : 0,
77
77
  journey_type: isSet(object.journey_type) ? globalThis.String(object.journey_type) : "",
78
- fip_ids: globalThis.Array.isArray(object?.fip_ids) ? object.fip_ids.map((e) => globalThis.String(e)) : [],
78
+ bank_ids: globalThis.Array.isArray(object?.bank_ids) ? object.bank_ids.map((e) => globalThis.String(e)) : [],
79
79
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
80
80
  };
81
81
  },
@@ -87,8 +87,8 @@ exports.initiateRequest = {
87
87
  if (message.journey_type !== "") {
88
88
  obj.journey_type = message.journey_type;
89
89
  }
90
- if (message.fip_ids?.length) {
91
- obj.fip_ids = message.fip_ids;
90
+ if (message.bank_ids?.length) {
91
+ obj.bank_ids = message.bank_ids;
92
92
  }
93
93
  if (message.customer_id !== 0) {
94
94
  obj.customer_id = Math.round(message.customer_id);
@@ -102,7 +102,7 @@ exports.initiateRequest = {
102
102
  const message = createBaseinitiateRequest();
103
103
  message.loan_id = object.loan_id ?? 0;
104
104
  message.journey_type = object.journey_type ?? "";
105
- message.fip_ids = object.fip_ids?.map((e) => e) || [];
105
+ message.bank_ids = object.bank_ids?.map((e) => e) || [];
106
106
  message.customer_id = object.customer_id ?? 0;
107
107
  return message;
108
108
  },
@@ -6,18 +6,32 @@ export interface CustomerPanDetailRequest {
6
6
  pan_number: string;
7
7
  dob: string;
8
8
  }
9
- export interface OutputData {
9
+ export interface InputData {
10
10
  pan: string;
11
- pan_status: string;
12
11
  name: string;
13
- fathername: string;
12
+ fathername?: string | undefined;
14
13
  dob: string;
15
- seeding_status: string;
16
14
  }
17
- export interface CustomerPanDetailResponse {
18
- response_code: string;
15
+ export interface NSDLRequestBody {
16
+ inputData: InputData[];
17
+ signature: string;
18
+ }
19
+ export interface OutputData {
20
+ pan: string;
21
+ pan_status?: string | undefined;
22
+ name?: string | undefined;
23
+ fathername?: string | undefined;
24
+ dob?: string | undefined;
25
+ seeding_status?: string | undefined;
26
+ }
27
+ export interface NSDLAPIResponse {
28
+ response_Code: string;
19
29
  outputData: OutputData[];
20
30
  }
31
+ export interface CustomerPanDetailResponse {
32
+ request: NSDLRequestBody | undefined;
33
+ response: NSDLAPIResponse | undefined;
34
+ }
21
35
  export declare const CustomerPanDetailRequest: {
22
36
  encode(message: CustomerPanDetailRequest, writer?: _m0.Writer): _m0.Writer;
23
37
  decode(input: _m0.Reader | Uint8Array, length?: number): CustomerPanDetailRequest;
@@ -26,6 +40,22 @@ export declare const CustomerPanDetailRequest: {
26
40
  create<I extends Exact<DeepPartial<CustomerPanDetailRequest>, I>>(base?: I): CustomerPanDetailRequest;
27
41
  fromPartial<I extends Exact<DeepPartial<CustomerPanDetailRequest>, I>>(object: I): CustomerPanDetailRequest;
28
42
  };
43
+ export declare const InputData: {
44
+ encode(message: InputData, writer?: _m0.Writer): _m0.Writer;
45
+ decode(input: _m0.Reader | Uint8Array, length?: number): InputData;
46
+ fromJSON(object: any): InputData;
47
+ toJSON(message: InputData): unknown;
48
+ create<I extends Exact<DeepPartial<InputData>, I>>(base?: I): InputData;
49
+ fromPartial<I extends Exact<DeepPartial<InputData>, I>>(object: I): InputData;
50
+ };
51
+ export declare const NSDLRequestBody: {
52
+ encode(message: NSDLRequestBody, writer?: _m0.Writer): _m0.Writer;
53
+ decode(input: _m0.Reader | Uint8Array, length?: number): NSDLRequestBody;
54
+ fromJSON(object: any): NSDLRequestBody;
55
+ toJSON(message: NSDLRequestBody): unknown;
56
+ create<I extends Exact<DeepPartial<NSDLRequestBody>, I>>(base?: I): NSDLRequestBody;
57
+ fromPartial<I extends Exact<DeepPartial<NSDLRequestBody>, I>>(object: I): NSDLRequestBody;
58
+ };
29
59
  export declare const OutputData: {
30
60
  encode(message: OutputData, writer?: _m0.Writer): _m0.Writer;
31
61
  decode(input: _m0.Reader | Uint8Array, length?: number): OutputData;
@@ -34,6 +64,14 @@ export declare const OutputData: {
34
64
  create<I extends Exact<DeepPartial<OutputData>, I>>(base?: I): OutputData;
35
65
  fromPartial<I extends Exact<DeepPartial<OutputData>, I>>(object: I): OutputData;
36
66
  };
67
+ export declare const NSDLAPIResponse: {
68
+ encode(message: NSDLAPIResponse, writer?: _m0.Writer): _m0.Writer;
69
+ decode(input: _m0.Reader | Uint8Array, length?: number): NSDLAPIResponse;
70
+ fromJSON(object: any): NSDLAPIResponse;
71
+ toJSON(message: NSDLAPIResponse): unknown;
72
+ create<I extends Exact<DeepPartial<NSDLAPIResponse>, I>>(base?: I): NSDLAPIResponse;
73
+ fromPartial<I extends Exact<DeepPartial<NSDLAPIResponse>, I>>(object: I): NSDLAPIResponse;
74
+ };
37
75
  export declare const CustomerPanDetailResponse: {
38
76
  encode(message: CustomerPanDetailResponse, writer?: _m0.Writer): _m0.Writer;
39
77
  decode(input: _m0.Reader | Uint8Array, length?: number): CustomerPanDetailResponse;
@@ -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.CustomerPanDetailResponse = exports.OutputData = exports.CustomerPanDetailRequest = exports.protobufPackage = void 0;
11
+ exports.CustomerPanDetailResponse = exports.NSDLAPIResponse = exports.OutputData = exports.NSDLRequestBody = exports.InputData = exports.CustomerPanDetailRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "kyc.nsdlpanvalidate";
@@ -106,27 +106,196 @@ exports.CustomerPanDetailRequest = {
106
106
  return message;
107
107
  },
108
108
  };
109
+ function createBaseInputData() {
110
+ return { pan: "", name: "", fathername: undefined, dob: "" };
111
+ }
112
+ exports.InputData = {
113
+ encode(message, writer = minimal_1.default.Writer.create()) {
114
+ if (message.pan !== "") {
115
+ writer.uint32(10).string(message.pan);
116
+ }
117
+ if (message.name !== "") {
118
+ writer.uint32(18).string(message.name);
119
+ }
120
+ if (message.fathername !== undefined) {
121
+ writer.uint32(26).string(message.fathername);
122
+ }
123
+ if (message.dob !== "") {
124
+ writer.uint32(34).string(message.dob);
125
+ }
126
+ return writer;
127
+ },
128
+ decode(input, length) {
129
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
130
+ let end = length === undefined ? reader.len : reader.pos + length;
131
+ const message = createBaseInputData();
132
+ while (reader.pos < end) {
133
+ const tag = reader.uint32();
134
+ switch (tag >>> 3) {
135
+ case 1:
136
+ if (tag !== 10) {
137
+ break;
138
+ }
139
+ message.pan = reader.string();
140
+ continue;
141
+ case 2:
142
+ if (tag !== 18) {
143
+ break;
144
+ }
145
+ message.name = reader.string();
146
+ continue;
147
+ case 3:
148
+ if (tag !== 26) {
149
+ break;
150
+ }
151
+ message.fathername = reader.string();
152
+ continue;
153
+ case 4:
154
+ if (tag !== 34) {
155
+ break;
156
+ }
157
+ message.dob = reader.string();
158
+ continue;
159
+ }
160
+ if ((tag & 7) === 4 || tag === 0) {
161
+ break;
162
+ }
163
+ reader.skipType(tag & 7);
164
+ }
165
+ return message;
166
+ },
167
+ fromJSON(object) {
168
+ return {
169
+ pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
170
+ name: isSet(object.name) ? globalThis.String(object.name) : "",
171
+ fathername: isSet(object.fathername) ? globalThis.String(object.fathername) : undefined,
172
+ dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
173
+ };
174
+ },
175
+ toJSON(message) {
176
+ const obj = {};
177
+ if (message.pan !== "") {
178
+ obj.pan = message.pan;
179
+ }
180
+ if (message.name !== "") {
181
+ obj.name = message.name;
182
+ }
183
+ if (message.fathername !== undefined) {
184
+ obj.fathername = message.fathername;
185
+ }
186
+ if (message.dob !== "") {
187
+ obj.dob = message.dob;
188
+ }
189
+ return obj;
190
+ },
191
+ create(base) {
192
+ return exports.InputData.fromPartial(base ?? {});
193
+ },
194
+ fromPartial(object) {
195
+ const message = createBaseInputData();
196
+ message.pan = object.pan ?? "";
197
+ message.name = object.name ?? "";
198
+ message.fathername = object.fathername ?? undefined;
199
+ message.dob = object.dob ?? "";
200
+ return message;
201
+ },
202
+ };
203
+ function createBaseNSDLRequestBody() {
204
+ return { inputData: [], signature: "" };
205
+ }
206
+ exports.NSDLRequestBody = {
207
+ encode(message, writer = minimal_1.default.Writer.create()) {
208
+ for (const v of message.inputData) {
209
+ exports.InputData.encode(v, writer.uint32(10).fork()).ldelim();
210
+ }
211
+ if (message.signature !== "") {
212
+ writer.uint32(18).string(message.signature);
213
+ }
214
+ return writer;
215
+ },
216
+ decode(input, length) {
217
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
218
+ let end = length === undefined ? reader.len : reader.pos + length;
219
+ const message = createBaseNSDLRequestBody();
220
+ while (reader.pos < end) {
221
+ const tag = reader.uint32();
222
+ switch (tag >>> 3) {
223
+ case 1:
224
+ if (tag !== 10) {
225
+ break;
226
+ }
227
+ message.inputData.push(exports.InputData.decode(reader, reader.uint32()));
228
+ continue;
229
+ case 2:
230
+ if (tag !== 18) {
231
+ break;
232
+ }
233
+ message.signature = reader.string();
234
+ continue;
235
+ }
236
+ if ((tag & 7) === 4 || tag === 0) {
237
+ break;
238
+ }
239
+ reader.skipType(tag & 7);
240
+ }
241
+ return message;
242
+ },
243
+ fromJSON(object) {
244
+ return {
245
+ inputData: globalThis.Array.isArray(object?.inputData)
246
+ ? object.inputData.map((e) => exports.InputData.fromJSON(e))
247
+ : [],
248
+ signature: isSet(object.signature) ? globalThis.String(object.signature) : "",
249
+ };
250
+ },
251
+ toJSON(message) {
252
+ const obj = {};
253
+ if (message.inputData?.length) {
254
+ obj.inputData = message.inputData.map((e) => exports.InputData.toJSON(e));
255
+ }
256
+ if (message.signature !== "") {
257
+ obj.signature = message.signature;
258
+ }
259
+ return obj;
260
+ },
261
+ create(base) {
262
+ return exports.NSDLRequestBody.fromPartial(base ?? {});
263
+ },
264
+ fromPartial(object) {
265
+ const message = createBaseNSDLRequestBody();
266
+ message.inputData = object.inputData?.map((e) => exports.InputData.fromPartial(e)) || [];
267
+ message.signature = object.signature ?? "";
268
+ return message;
269
+ },
270
+ };
109
271
  function createBaseOutputData() {
110
- return { pan: "", pan_status: "", name: "", fathername: "", dob: "", seeding_status: "" };
272
+ return {
273
+ pan: "",
274
+ pan_status: undefined,
275
+ name: undefined,
276
+ fathername: undefined,
277
+ dob: undefined,
278
+ seeding_status: undefined,
279
+ };
111
280
  }
112
281
  exports.OutputData = {
113
282
  encode(message, writer = minimal_1.default.Writer.create()) {
114
283
  if (message.pan !== "") {
115
284
  writer.uint32(10).string(message.pan);
116
285
  }
117
- if (message.pan_status !== "") {
286
+ if (message.pan_status !== undefined) {
118
287
  writer.uint32(18).string(message.pan_status);
119
288
  }
120
- if (message.name !== "") {
289
+ if (message.name !== undefined) {
121
290
  writer.uint32(26).string(message.name);
122
291
  }
123
- if (message.fathername !== "") {
292
+ if (message.fathername !== undefined) {
124
293
  writer.uint32(34).string(message.fathername);
125
294
  }
126
- if (message.dob !== "") {
295
+ if (message.dob !== undefined) {
127
296
  writer.uint32(42).string(message.dob);
128
297
  }
129
- if (message.seeding_status !== "") {
298
+ if (message.seeding_status !== undefined) {
130
299
  writer.uint32(50).string(message.seeding_status);
131
300
  }
132
301
  return writer;
@@ -185,11 +354,11 @@ exports.OutputData = {
185
354
  fromJSON(object) {
186
355
  return {
187
356
  pan: isSet(object.pan) ? globalThis.String(object.pan) : "",
188
- pan_status: isSet(object.pan_status) ? globalThis.String(object.pan_status) : "",
189
- name: isSet(object.name) ? globalThis.String(object.name) : "",
190
- fathername: isSet(object.fathername) ? globalThis.String(object.fathername) : "",
191
- dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
192
- seeding_status: isSet(object.seeding_status) ? globalThis.String(object.seeding_status) : "",
357
+ pan_status: isSet(object.pan_status) ? globalThis.String(object.pan_status) : undefined,
358
+ name: isSet(object.name) ? globalThis.String(object.name) : undefined,
359
+ fathername: isSet(object.fathername) ? globalThis.String(object.fathername) : undefined,
360
+ dob: isSet(object.dob) ? globalThis.String(object.dob) : undefined,
361
+ seeding_status: isSet(object.seeding_status) ? globalThis.String(object.seeding_status) : undefined,
193
362
  };
194
363
  },
195
364
  toJSON(message) {
@@ -197,19 +366,19 @@ exports.OutputData = {
197
366
  if (message.pan !== "") {
198
367
  obj.pan = message.pan;
199
368
  }
200
- if (message.pan_status !== "") {
369
+ if (message.pan_status !== undefined) {
201
370
  obj.pan_status = message.pan_status;
202
371
  }
203
- if (message.name !== "") {
372
+ if (message.name !== undefined) {
204
373
  obj.name = message.name;
205
374
  }
206
- if (message.fathername !== "") {
375
+ if (message.fathername !== undefined) {
207
376
  obj.fathername = message.fathername;
208
377
  }
209
- if (message.dob !== "") {
378
+ if (message.dob !== undefined) {
210
379
  obj.dob = message.dob;
211
380
  }
212
- if (message.seeding_status !== "") {
381
+ if (message.seeding_status !== undefined) {
213
382
  obj.seeding_status = message.seeding_status;
214
383
  }
215
384
  return obj;
@@ -220,21 +389,21 @@ exports.OutputData = {
220
389
  fromPartial(object) {
221
390
  const message = createBaseOutputData();
222
391
  message.pan = object.pan ?? "";
223
- message.pan_status = object.pan_status ?? "";
224
- message.name = object.name ?? "";
225
- message.fathername = object.fathername ?? "";
226
- message.dob = object.dob ?? "";
227
- message.seeding_status = object.seeding_status ?? "";
392
+ message.pan_status = object.pan_status ?? undefined;
393
+ message.name = object.name ?? undefined;
394
+ message.fathername = object.fathername ?? undefined;
395
+ message.dob = object.dob ?? undefined;
396
+ message.seeding_status = object.seeding_status ?? undefined;
228
397
  return message;
229
398
  },
230
399
  };
231
- function createBaseCustomerPanDetailResponse() {
232
- return { response_code: "", outputData: [] };
400
+ function createBaseNSDLAPIResponse() {
401
+ return { response_Code: "", outputData: [] };
233
402
  }
234
- exports.CustomerPanDetailResponse = {
403
+ exports.NSDLAPIResponse = {
235
404
  encode(message, writer = minimal_1.default.Writer.create()) {
236
- if (message.response_code !== "") {
237
- writer.uint32(10).string(message.response_code);
405
+ if (message.response_Code !== "") {
406
+ writer.uint32(10).string(message.response_Code);
238
407
  }
239
408
  for (const v of message.outputData) {
240
409
  exports.OutputData.encode(v, writer.uint32(18).fork()).ldelim();
@@ -244,7 +413,7 @@ exports.CustomerPanDetailResponse = {
244
413
  decode(input, length) {
245
414
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
246
415
  let end = length === undefined ? reader.len : reader.pos + length;
247
- const message = createBaseCustomerPanDetailResponse();
416
+ const message = createBaseNSDLAPIResponse();
248
417
  while (reader.pos < end) {
249
418
  const tag = reader.uint32();
250
419
  switch (tag >>> 3) {
@@ -252,7 +421,7 @@ exports.CustomerPanDetailResponse = {
252
421
  if (tag !== 10) {
253
422
  break;
254
423
  }
255
- message.response_code = reader.string();
424
+ message.response_Code = reader.string();
256
425
  continue;
257
426
  case 2:
258
427
  if (tag !== 18) {
@@ -270,7 +439,7 @@ exports.CustomerPanDetailResponse = {
270
439
  },
271
440
  fromJSON(object) {
272
441
  return {
273
- response_code: isSet(object.response_code) ? globalThis.String(object.response_code) : "",
442
+ response_Code: isSet(object.response_Code) ? globalThis.String(object.response_Code) : "",
274
443
  outputData: globalThis.Array.isArray(object?.outputData)
275
444
  ? object.outputData.map((e) => exports.OutputData.fromJSON(e))
276
445
  : [],
@@ -278,21 +447,91 @@ exports.CustomerPanDetailResponse = {
278
447
  },
279
448
  toJSON(message) {
280
449
  const obj = {};
281
- if (message.response_code !== "") {
282
- obj.response_code = message.response_code;
450
+ if (message.response_Code !== "") {
451
+ obj.response_Code = message.response_Code;
283
452
  }
284
453
  if (message.outputData?.length) {
285
454
  obj.outputData = message.outputData.map((e) => exports.OutputData.toJSON(e));
286
455
  }
287
456
  return obj;
288
457
  },
458
+ create(base) {
459
+ return exports.NSDLAPIResponse.fromPartial(base ?? {});
460
+ },
461
+ fromPartial(object) {
462
+ const message = createBaseNSDLAPIResponse();
463
+ message.response_Code = object.response_Code ?? "";
464
+ message.outputData = object.outputData?.map((e) => exports.OutputData.fromPartial(e)) || [];
465
+ return message;
466
+ },
467
+ };
468
+ function createBaseCustomerPanDetailResponse() {
469
+ return { request: undefined, response: undefined };
470
+ }
471
+ exports.CustomerPanDetailResponse = {
472
+ encode(message, writer = minimal_1.default.Writer.create()) {
473
+ if (message.request !== undefined) {
474
+ exports.NSDLRequestBody.encode(message.request, writer.uint32(10).fork()).ldelim();
475
+ }
476
+ if (message.response !== undefined) {
477
+ exports.NSDLAPIResponse.encode(message.response, writer.uint32(18).fork()).ldelim();
478
+ }
479
+ return writer;
480
+ },
481
+ decode(input, length) {
482
+ const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
483
+ let end = length === undefined ? reader.len : reader.pos + length;
484
+ const message = createBaseCustomerPanDetailResponse();
485
+ while (reader.pos < end) {
486
+ const tag = reader.uint32();
487
+ switch (tag >>> 3) {
488
+ case 1:
489
+ if (tag !== 10) {
490
+ break;
491
+ }
492
+ message.request = exports.NSDLRequestBody.decode(reader, reader.uint32());
493
+ continue;
494
+ case 2:
495
+ if (tag !== 18) {
496
+ break;
497
+ }
498
+ message.response = exports.NSDLAPIResponse.decode(reader, reader.uint32());
499
+ continue;
500
+ }
501
+ if ((tag & 7) === 4 || tag === 0) {
502
+ break;
503
+ }
504
+ reader.skipType(tag & 7);
505
+ }
506
+ return message;
507
+ },
508
+ fromJSON(object) {
509
+ return {
510
+ request: isSet(object.request) ? exports.NSDLRequestBody.fromJSON(object.request) : undefined,
511
+ response: isSet(object.response) ? exports.NSDLAPIResponse.fromJSON(object.response) : undefined,
512
+ };
513
+ },
514
+ toJSON(message) {
515
+ const obj = {};
516
+ if (message.request !== undefined) {
517
+ obj.request = exports.NSDLRequestBody.toJSON(message.request);
518
+ }
519
+ if (message.response !== undefined) {
520
+ obj.response = exports.NSDLAPIResponse.toJSON(message.response);
521
+ }
522
+ return obj;
523
+ },
289
524
  create(base) {
290
525
  return exports.CustomerPanDetailResponse.fromPartial(base ?? {});
291
526
  },
292
527
  fromPartial(object) {
293
528
  const message = createBaseCustomerPanDetailResponse();
294
- message.response_code = object.response_code ?? "";
295
- message.outputData = object.outputData?.map((e) => exports.OutputData.fromPartial(e)) || [];
529
+ message.request = (object.request !== undefined && object.request !== null)
530
+ ? exports.NSDLRequestBody.fromPartial(object.request)
531
+ : undefined;
532
+ message.response = (object.response !== undefined && object.response !== null)
533
+ ? exports.NSDLAPIResponse.fromPartial(object.response)
534
+ : undefined;
296
535
  return message;
297
536
  },
298
537
  };