@stashfin/grpc 1.2.397 → 1.2.399

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.397",
3
+ "version": "1.2.399",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -48,11 +48,11 @@ export interface getSummaryStaticFieldsResponse_Field {
48
48
  export interface getSummaryStaticFieldsResponse_CreditSection {
49
49
  title: string;
50
50
  description: string;
51
+ icon: string;
51
52
  }
52
53
  export interface getSummaryStaticFieldsResponse_BrokenPeriod {
53
54
  title: string;
54
55
  description: string;
55
- amount: number;
56
56
  }
57
57
  export declare const getSummaryStaticFieldsRequest: {
58
58
  encode(_: getSummaryStaticFieldsRequest, writer?: _m0.Writer): _m0.Writer;
@@ -733,7 +733,7 @@ exports.getSummaryStaticFieldsResponse_Field = {
733
733
  },
734
734
  };
735
735
  function createBasegetSummaryStaticFieldsResponse_CreditSection() {
736
- return { title: "", description: "" };
736
+ return { title: "", description: "", icon: "" };
737
737
  }
738
738
  exports.getSummaryStaticFieldsResponse_CreditSection = {
739
739
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -743,6 +743,9 @@ exports.getSummaryStaticFieldsResponse_CreditSection = {
743
743
  if (message.description !== "") {
744
744
  writer.uint32(18).string(message.description);
745
745
  }
746
+ if (message.icon !== "") {
747
+ writer.uint32(26).string(message.icon);
748
+ }
746
749
  return writer;
747
750
  },
748
751
  decode(input, length) {
@@ -764,6 +767,12 @@ exports.getSummaryStaticFieldsResponse_CreditSection = {
764
767
  }
765
768
  message.description = reader.string();
766
769
  continue;
770
+ case 3:
771
+ if (tag !== 26) {
772
+ break;
773
+ }
774
+ message.icon = reader.string();
775
+ continue;
767
776
  }
768
777
  if ((tag & 7) === 4 || tag === 0) {
769
778
  break;
@@ -776,6 +785,7 @@ exports.getSummaryStaticFieldsResponse_CreditSection = {
776
785
  return {
777
786
  title: isSet(object.title) ? globalThis.String(object.title) : "",
778
787
  description: isSet(object.description) ? globalThis.String(object.description) : "",
788
+ icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
779
789
  };
780
790
  },
781
791
  toJSON(message) {
@@ -786,6 +796,9 @@ exports.getSummaryStaticFieldsResponse_CreditSection = {
786
796
  if (message.description !== "") {
787
797
  obj.description = message.description;
788
798
  }
799
+ if (message.icon !== "") {
800
+ obj.icon = message.icon;
801
+ }
789
802
  return obj;
790
803
  },
791
804
  create(base) {
@@ -795,11 +808,12 @@ exports.getSummaryStaticFieldsResponse_CreditSection = {
795
808
  const message = createBasegetSummaryStaticFieldsResponse_CreditSection();
796
809
  message.title = object.title ?? "";
797
810
  message.description = object.description ?? "";
811
+ message.icon = object.icon ?? "";
798
812
  return message;
799
813
  },
800
814
  };
801
815
  function createBasegetSummaryStaticFieldsResponse_BrokenPeriod() {
802
- return { title: "", description: "", amount: 0 };
816
+ return { title: "", description: "" };
803
817
  }
804
818
  exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
805
819
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -809,9 +823,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
809
823
  if (message.description !== "") {
810
824
  writer.uint32(18).string(message.description);
811
825
  }
812
- if (message.amount !== 0) {
813
- writer.uint32(24).int32(message.amount);
814
- }
815
826
  return writer;
816
827
  },
817
828
  decode(input, length) {
@@ -833,12 +844,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
833
844
  }
834
845
  message.description = reader.string();
835
846
  continue;
836
- case 3:
837
- if (tag !== 24) {
838
- break;
839
- }
840
- message.amount = reader.int32();
841
- continue;
842
847
  }
843
848
  if ((tag & 7) === 4 || tag === 0) {
844
849
  break;
@@ -851,7 +856,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
851
856
  return {
852
857
  title: isSet(object.title) ? globalThis.String(object.title) : "",
853
858
  description: isSet(object.description) ? globalThis.String(object.description) : "",
854
- amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
855
859
  };
856
860
  },
857
861
  toJSON(message) {
@@ -862,9 +866,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
862
866
  if (message.description !== "") {
863
867
  obj.description = message.description;
864
868
  }
865
- if (message.amount !== 0) {
866
- obj.amount = Math.round(message.amount);
867
- }
868
869
  return obj;
869
870
  },
870
871
  create(base) {
@@ -874,7 +875,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
874
875
  const message = createBasegetSummaryStaticFieldsResponse_BrokenPeriod();
875
876
  message.title = object.title ?? "";
876
877
  message.description = object.description ?? "";
877
- message.amount = object.amount ?? 0;
878
878
  return message;
879
879
  },
880
880
  };