@stashfin/grpc 1.2.402 → 1.2.404

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.
@@ -87,6 +87,9 @@ function createBasegetSummaryStaticFieldsResponse() {
87
87
  bill_amount_l: "",
88
88
  credit_section: [],
89
89
  broken_period: undefined,
90
+ financing_doc: "",
91
+ sanction_latter: "",
92
+ insaurance_tnc_url: "",
90
93
  };
91
94
  }
92
95
  exports.getSummaryStaticFieldsResponse = {
@@ -199,6 +202,15 @@ exports.getSummaryStaticFieldsResponse = {
199
202
  if (message.broken_period !== undefined) {
200
203
  exports.getSummaryStaticFieldsResponse_BrokenPeriod.encode(message.broken_period, writer.uint32(290).fork()).ldelim();
201
204
  }
205
+ if (message.financing_doc !== "") {
206
+ writer.uint32(298).string(message.financing_doc);
207
+ }
208
+ if (message.sanction_latter !== "") {
209
+ writer.uint32(306).string(message.sanction_latter);
210
+ }
211
+ if (message.insaurance_tnc_url !== "") {
212
+ writer.uint32(314).string(message.insaurance_tnc_url);
213
+ }
202
214
  return writer;
203
215
  },
204
216
  decode(input, length) {
@@ -424,6 +436,24 @@ exports.getSummaryStaticFieldsResponse = {
424
436
  }
425
437
  message.broken_period = exports.getSummaryStaticFieldsResponse_BrokenPeriod.decode(reader, reader.uint32());
426
438
  continue;
439
+ case 37:
440
+ if (tag !== 298) {
441
+ break;
442
+ }
443
+ message.financing_doc = reader.string();
444
+ continue;
445
+ case 38:
446
+ if (tag !== 306) {
447
+ break;
448
+ }
449
+ message.sanction_latter = reader.string();
450
+ continue;
451
+ case 39:
452
+ if (tag !== 314) {
453
+ break;
454
+ }
455
+ message.insaurance_tnc_url = reader.string();
456
+ continue;
427
457
  }
428
458
  if ((tag & 7) === 4 || tag === 0) {
429
459
  break;
@@ -490,6 +520,9 @@ exports.getSummaryStaticFieldsResponse = {
490
520
  broken_period: isSet(object.broken_period)
491
521
  ? exports.getSummaryStaticFieldsResponse_BrokenPeriod.fromJSON(object.broken_period)
492
522
  : undefined,
523
+ financing_doc: isSet(object.financing_doc) ? globalThis.String(object.financing_doc) : "",
524
+ sanction_latter: isSet(object.sanction_latter) ? globalThis.String(object.sanction_latter) : "",
525
+ insaurance_tnc_url: isSet(object.insaurance_tnc_url) ? globalThis.String(object.insaurance_tnc_url) : "",
493
526
  };
494
527
  },
495
528
  toJSON(message) {
@@ -602,6 +635,15 @@ exports.getSummaryStaticFieldsResponse = {
602
635
  if (message.broken_period !== undefined) {
603
636
  obj.broken_period = exports.getSummaryStaticFieldsResponse_BrokenPeriod.toJSON(message.broken_period);
604
637
  }
638
+ if (message.financing_doc !== "") {
639
+ obj.financing_doc = message.financing_doc;
640
+ }
641
+ if (message.sanction_latter !== "") {
642
+ obj.sanction_latter = message.sanction_latter;
643
+ }
644
+ if (message.insaurance_tnc_url !== "") {
645
+ obj.insaurance_tnc_url = message.insaurance_tnc_url;
646
+ }
605
647
  return obj;
606
648
  },
607
649
  create(base) {
@@ -649,6 +691,9 @@ exports.getSummaryStaticFieldsResponse = {
649
691
  message.broken_period = (object.broken_period !== undefined && object.broken_period !== null)
650
692
  ? exports.getSummaryStaticFieldsResponse_BrokenPeriod.fromPartial(object.broken_period)
651
693
  : undefined;
694
+ message.financing_doc = object.financing_doc ?? "";
695
+ message.sanction_latter = object.sanction_latter ?? "";
696
+ message.insaurance_tnc_url = object.insaurance_tnc_url ?? "";
652
697
  return message;
653
698
  },
654
699
  };