@stashfin/grpc 1.2.442 → 1.2.443

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.442",
3
+ "version": "1.2.443",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -10,7 +10,6 @@ export interface getDashboardMainCardResponse {
10
10
  }
11
11
  export interface MainCardData {
12
12
  text: string;
13
- amount_text: string;
14
13
  sub_text: string;
15
14
  action_button_text: string;
16
15
  action: string;
@@ -148,7 +148,6 @@ exports.getDashboardMainCardResponse = {
148
148
  function createBaseMainCardData() {
149
149
  return {
150
150
  text: "",
151
- amount_text: "",
152
151
  sub_text: "",
153
152
  action_button_text: "",
154
153
  action: "",
@@ -166,38 +165,35 @@ exports.MainCardData = {
166
165
  if (message.text !== "") {
167
166
  writer.uint32(10).string(message.text);
168
167
  }
169
- if (message.amount_text !== "") {
170
- writer.uint32(18).string(message.amount_text);
171
- }
172
168
  if (message.sub_text !== "") {
173
- writer.uint32(26).string(message.sub_text);
169
+ writer.uint32(18).string(message.sub_text);
174
170
  }
175
171
  if (message.action_button_text !== "") {
176
- writer.uint32(34).string(message.action_button_text);
172
+ writer.uint32(26).string(message.action_button_text);
177
173
  }
178
174
  if (message.action !== "") {
179
- writer.uint32(42).string(message.action);
175
+ writer.uint32(34).string(message.action);
180
176
  }
181
177
  if (message.action_type !== "") {
182
- writer.uint32(50).string(message.action_type);
178
+ writer.uint32(42).string(message.action_type);
183
179
  }
184
180
  if (message.comment !== "") {
185
- writer.uint32(58).string(message.comment);
181
+ writer.uint32(50).string(message.comment);
186
182
  }
187
183
  if (message.landing_page !== "") {
188
- writer.uint32(66).string(message.landing_page);
184
+ writer.uint32(58).string(message.landing_page);
189
185
  }
190
186
  if (message.timer !== "") {
191
- writer.uint32(74).string(message.timer);
187
+ writer.uint32(66).string(message.timer);
192
188
  }
193
189
  if (message.image !== "") {
194
- writer.uint32(82).string(message.image);
190
+ writer.uint32(74).string(message.image);
195
191
  }
196
192
  if (message.show_button !== false) {
197
- writer.uint32(88).bool(message.show_button);
193
+ writer.uint32(80).bool(message.show_button);
198
194
  }
199
195
  if (message.static_text !== "") {
200
- writer.uint32(98).string(message.static_text);
196
+ writer.uint32(90).string(message.static_text);
201
197
  }
202
198
  return writer;
203
199
  },
@@ -218,64 +214,58 @@ exports.MainCardData = {
218
214
  if (tag !== 18) {
219
215
  break;
220
216
  }
221
- message.amount_text = reader.string();
217
+ message.sub_text = reader.string();
222
218
  continue;
223
219
  case 3:
224
220
  if (tag !== 26) {
225
221
  break;
226
222
  }
227
- message.sub_text = reader.string();
223
+ message.action_button_text = reader.string();
228
224
  continue;
229
225
  case 4:
230
226
  if (tag !== 34) {
231
227
  break;
232
228
  }
233
- message.action_button_text = reader.string();
229
+ message.action = reader.string();
234
230
  continue;
235
231
  case 5:
236
232
  if (tag !== 42) {
237
233
  break;
238
234
  }
239
- message.action = reader.string();
235
+ message.action_type = reader.string();
240
236
  continue;
241
237
  case 6:
242
238
  if (tag !== 50) {
243
239
  break;
244
240
  }
245
- message.action_type = reader.string();
241
+ message.comment = reader.string();
246
242
  continue;
247
243
  case 7:
248
244
  if (tag !== 58) {
249
245
  break;
250
246
  }
251
- message.comment = reader.string();
247
+ message.landing_page = reader.string();
252
248
  continue;
253
249
  case 8:
254
250
  if (tag !== 66) {
255
251
  break;
256
252
  }
257
- message.landing_page = reader.string();
253
+ message.timer = reader.string();
258
254
  continue;
259
255
  case 9:
260
256
  if (tag !== 74) {
261
257
  break;
262
258
  }
263
- message.timer = reader.string();
264
- continue;
265
- case 10:
266
- if (tag !== 82) {
267
- break;
268
- }
269
259
  message.image = reader.string();
270
260
  continue;
271
- case 11:
272
- if (tag !== 88) {
261
+ case 10:
262
+ if (tag !== 80) {
273
263
  break;
274
264
  }
275
265
  message.show_button = reader.bool();
276
266
  continue;
277
- case 12:
278
- if (tag !== 98) {
267
+ case 11:
268
+ if (tag !== 90) {
279
269
  break;
280
270
  }
281
271
  message.static_text = reader.string();
@@ -291,7 +281,6 @@ exports.MainCardData = {
291
281
  fromJSON(object) {
292
282
  return {
293
283
  text: isSet(object.text) ? globalThis.String(object.text) : "",
294
- amount_text: isSet(object.amount_text) ? globalThis.String(object.amount_text) : "",
295
284
  sub_text: isSet(object.sub_text) ? globalThis.String(object.sub_text) : "",
296
285
  action_button_text: isSet(object.action_button_text) ? globalThis.String(object.action_button_text) : "",
297
286
  action: isSet(object.action) ? globalThis.String(object.action) : "",
@@ -309,9 +298,6 @@ exports.MainCardData = {
309
298
  if (message.text !== "") {
310
299
  obj.text = message.text;
311
300
  }
312
- if (message.amount_text !== "") {
313
- obj.amount_text = message.amount_text;
314
- }
315
301
  if (message.sub_text !== "") {
316
302
  obj.sub_text = message.sub_text;
317
303
  }
@@ -350,7 +336,6 @@ exports.MainCardData = {
350
336
  fromPartial(object) {
351
337
  const message = createBaseMainCardData();
352
338
  message.text = object.text ?? "";
353
- message.amount_text = object.amount_text ?? "";
354
339
  message.sub_text = object.sub_text ?? "";
355
340
  message.action_button_text = object.action_button_text ?? "";
356
341
  message.action = object.action ?? "";