@stashfin/grpc 1.2.398 → 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
|
@@ -53,7 +53,6 @@ export interface getSummaryStaticFieldsResponse_CreditSection {
|
|
|
53
53
|
export interface getSummaryStaticFieldsResponse_BrokenPeriod {
|
|
54
54
|
title: string;
|
|
55
55
|
description: string;
|
|
56
|
-
amount: number;
|
|
57
56
|
}
|
|
58
57
|
export declare const getSummaryStaticFieldsRequest: {
|
|
59
58
|
encode(_: getSummaryStaticFieldsRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -813,7 +813,7 @@ exports.getSummaryStaticFieldsResponse_CreditSection = {
|
|
|
813
813
|
},
|
|
814
814
|
};
|
|
815
815
|
function createBasegetSummaryStaticFieldsResponse_BrokenPeriod() {
|
|
816
|
-
return { title: "", description: ""
|
|
816
|
+
return { title: "", description: "" };
|
|
817
817
|
}
|
|
818
818
|
exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
|
|
819
819
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -823,9 +823,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
|
|
|
823
823
|
if (message.description !== "") {
|
|
824
824
|
writer.uint32(18).string(message.description);
|
|
825
825
|
}
|
|
826
|
-
if (message.amount !== 0) {
|
|
827
|
-
writer.uint32(24).int32(message.amount);
|
|
828
|
-
}
|
|
829
826
|
return writer;
|
|
830
827
|
},
|
|
831
828
|
decode(input, length) {
|
|
@@ -847,12 +844,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
|
|
|
847
844
|
}
|
|
848
845
|
message.description = reader.string();
|
|
849
846
|
continue;
|
|
850
|
-
case 3:
|
|
851
|
-
if (tag !== 24) {
|
|
852
|
-
break;
|
|
853
|
-
}
|
|
854
|
-
message.amount = reader.int32();
|
|
855
|
-
continue;
|
|
856
847
|
}
|
|
857
848
|
if ((tag & 7) === 4 || tag === 0) {
|
|
858
849
|
break;
|
|
@@ -865,7 +856,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
|
|
|
865
856
|
return {
|
|
866
857
|
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
867
858
|
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
868
|
-
amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
|
|
869
859
|
};
|
|
870
860
|
},
|
|
871
861
|
toJSON(message) {
|
|
@@ -876,9 +866,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
|
|
|
876
866
|
if (message.description !== "") {
|
|
877
867
|
obj.description = message.description;
|
|
878
868
|
}
|
|
879
|
-
if (message.amount !== 0) {
|
|
880
|
-
obj.amount = Math.round(message.amount);
|
|
881
|
-
}
|
|
882
869
|
return obj;
|
|
883
870
|
},
|
|
884
871
|
create(base) {
|
|
@@ -888,7 +875,6 @@ exports.getSummaryStaticFieldsResponse_BrokenPeriod = {
|
|
|
888
875
|
const message = createBasegetSummaryStaticFieldsResponse_BrokenPeriod();
|
|
889
876
|
message.title = object.title ?? "";
|
|
890
877
|
message.description = object.description ?? "";
|
|
891
|
-
message.amount = object.amount ?? 0;
|
|
892
878
|
return message;
|
|
893
879
|
},
|
|
894
880
|
};
|