@stashfin/grpc 1.2.196 → 1.2.197
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
|
@@ -50,7 +50,7 @@ exports.getAppSubmittedRequest = {
|
|
|
50
50
|
},
|
|
51
51
|
};
|
|
52
52
|
function createBasegetAppSubmittedResponse() {
|
|
53
|
-
return { text: "", description: "",
|
|
53
|
+
return { text: "", description: "", do_more_items: [] };
|
|
54
54
|
}
|
|
55
55
|
exports.getAppSubmittedResponse = {
|
|
56
56
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -60,7 +60,7 @@ exports.getAppSubmittedResponse = {
|
|
|
60
60
|
if (message.description !== "") {
|
|
61
61
|
writer.uint32(18).string(message.description);
|
|
62
62
|
}
|
|
63
|
-
for (const v of message.
|
|
63
|
+
for (const v of message.do_more_items) {
|
|
64
64
|
exports.doMore.encode(v, writer.uint32(26).fork()).ldelim();
|
|
65
65
|
}
|
|
66
66
|
return writer;
|
|
@@ -88,7 +88,7 @@ exports.getAppSubmittedResponse = {
|
|
|
88
88
|
if (tag !== 26) {
|
|
89
89
|
break;
|
|
90
90
|
}
|
|
91
|
-
message.
|
|
91
|
+
message.do_more_items.push(exports.doMore.decode(reader, reader.uint32()));
|
|
92
92
|
continue;
|
|
93
93
|
}
|
|
94
94
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -102,7 +102,9 @@ exports.getAppSubmittedResponse = {
|
|
|
102
102
|
return {
|
|
103
103
|
text: isSet(object.text) ? globalThis.String(object.text) : "",
|
|
104
104
|
description: isSet(object.description) ? globalThis.String(object.description) : "",
|
|
105
|
-
|
|
105
|
+
do_more_items: globalThis.Array.isArray(object?.do_more_items)
|
|
106
|
+
? object.do_more_items.map((e) => exports.doMore.fromJSON(e))
|
|
107
|
+
: [],
|
|
106
108
|
};
|
|
107
109
|
},
|
|
108
110
|
toJSON(message) {
|
|
@@ -113,8 +115,8 @@ exports.getAppSubmittedResponse = {
|
|
|
113
115
|
if (message.description !== "") {
|
|
114
116
|
obj.description = message.description;
|
|
115
117
|
}
|
|
116
|
-
if (message.
|
|
117
|
-
obj.
|
|
118
|
+
if (message.do_more_items?.length) {
|
|
119
|
+
obj.do_more_items = message.do_more_items.map((e) => exports.doMore.toJSON(e));
|
|
118
120
|
}
|
|
119
121
|
return obj;
|
|
120
122
|
},
|
|
@@ -125,7 +127,7 @@ exports.getAppSubmittedResponse = {
|
|
|
125
127
|
const message = createBasegetAppSubmittedResponse();
|
|
126
128
|
message.text = object.text ?? "";
|
|
127
129
|
message.description = object.description ?? "";
|
|
128
|
-
message.
|
|
130
|
+
message.do_more_items = object.do_more_items?.map((e) => exports.doMore.fromPartial(e)) || [];
|
|
129
131
|
return message;
|
|
130
132
|
},
|
|
131
133
|
};
|