@stashfin/grpc 1.2.817 → 1.2.818

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.817",
3
+ "version": "1.2.818",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -19,6 +19,7 @@ export interface Block {
19
19
  block_title?: string | undefined;
20
20
  block_card_size?: number | undefined;
21
21
  block_action_url?: string | undefined;
22
+ block_action_type?: string | undefined;
22
23
  }
23
24
  export interface Items {
24
25
  text?: string | undefined;
@@ -203,6 +203,7 @@ function createBaseBlock() {
203
203
  block_title: undefined,
204
204
  block_card_size: undefined,
205
205
  block_action_url: undefined,
206
+ block_action_type: undefined,
206
207
  };
207
208
  }
208
209
  exports.Block = {
@@ -228,6 +229,9 @@ exports.Block = {
228
229
  if (message.block_action_url !== undefined) {
229
230
  writer.uint32(58).string(message.block_action_url);
230
231
  }
232
+ if (message.block_action_type !== undefined) {
233
+ writer.uint32(66).string(message.block_action_type);
234
+ }
231
235
  return writer;
232
236
  },
233
237
  decode(input, length) {
@@ -279,6 +283,12 @@ exports.Block = {
279
283
  }
280
284
  message.block_action_url = reader.string();
281
285
  continue;
286
+ case 8:
287
+ if (tag !== 66) {
288
+ break;
289
+ }
290
+ message.block_action_type = reader.string();
291
+ continue;
282
292
  }
283
293
  if ((tag & 7) === 4 || tag === 0) {
284
294
  break;
@@ -296,6 +306,7 @@ exports.Block = {
296
306
  block_title: isSet(object.block_title) ? globalThis.String(object.block_title) : undefined,
297
307
  block_card_size: isSet(object.block_card_size) ? globalThis.Number(object.block_card_size) : undefined,
298
308
  block_action_url: isSet(object.block_action_url) ? globalThis.String(object.block_action_url) : undefined,
309
+ block_action_type: isSet(object.block_action_type) ? globalThis.String(object.block_action_type) : undefined,
299
310
  };
300
311
  },
301
312
  toJSON(message) {
@@ -321,6 +332,9 @@ exports.Block = {
321
332
  if (message.block_action_url !== undefined) {
322
333
  obj.block_action_url = message.block_action_url;
323
334
  }
335
+ if (message.block_action_type !== undefined) {
336
+ obj.block_action_type = message.block_action_type;
337
+ }
324
338
  return obj;
325
339
  },
326
340
  create(base) {
@@ -335,6 +349,7 @@ exports.Block = {
335
349
  message.block_title = object.block_title ?? undefined;
336
350
  message.block_card_size = object.block_card_size ?? undefined;
337
351
  message.block_action_url = object.block_action_url ?? undefined;
352
+ message.block_action_type = object.block_action_type ?? undefined;
338
353
  return message;
339
354
  },
340
355
  };