@stashfin/grpc 1.2.40 → 1.2.41

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.40",
3
+ "version": "1.2.41",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -16,6 +16,7 @@ export interface getstepResponse_Field {
16
16
  icon: string;
17
17
  is_popup: boolean;
18
18
  keyboard_type: string;
19
+ text_capitalization: string;
19
20
  validations: Validation[];
20
21
  }
21
22
  export interface Validation {
@@ -154,6 +154,7 @@ function createBasegetstepResponse_Field() {
154
154
  icon: "",
155
155
  is_popup: false,
156
156
  keyboard_type: "",
157
+ text_capitalization: "",
157
158
  validations: [],
158
159
  };
159
160
  }
@@ -180,8 +181,11 @@ exports.getstepResponse_Field = {
180
181
  if (message.keyboard_type !== "") {
181
182
  writer.uint32(58).string(message.keyboard_type);
182
183
  }
184
+ if (message.text_capitalization !== "") {
185
+ writer.uint32(66).string(message.text_capitalization);
186
+ }
183
187
  for (const v of message.validations) {
184
- exports.Validation.encode(v, writer.uint32(66).fork()).ldelim();
188
+ exports.Validation.encode(v, writer.uint32(74).fork()).ldelim();
185
189
  }
186
190
  return writer;
187
191
  },
@@ -238,6 +242,12 @@ exports.getstepResponse_Field = {
238
242
  if (tag !== 66) {
239
243
  break;
240
244
  }
245
+ message.text_capitalization = reader.string();
246
+ continue;
247
+ case 9:
248
+ if (tag !== 74) {
249
+ break;
250
+ }
241
251
  message.validations.push(exports.Validation.decode(reader, reader.uint32()));
242
252
  continue;
243
253
  }
@@ -257,6 +267,7 @@ exports.getstepResponse_Field = {
257
267
  icon: isSet(object.icon) ? globalThis.String(object.icon) : "",
258
268
  is_popup: isSet(object.is_popup) ? globalThis.Boolean(object.is_popup) : false,
259
269
  keyboard_type: isSet(object.keyboard_type) ? globalThis.String(object.keyboard_type) : "",
270
+ text_capitalization: isSet(object.text_capitalization) ? globalThis.String(object.text_capitalization) : "",
260
271
  validations: globalThis.Array.isArray(object?.validations)
261
272
  ? object.validations.map((e) => exports.Validation.fromJSON(e))
262
273
  : [],
@@ -285,6 +296,9 @@ exports.getstepResponse_Field = {
285
296
  if (message.keyboard_type !== "") {
286
297
  obj.keyboard_type = message.keyboard_type;
287
298
  }
299
+ if (message.text_capitalization !== "") {
300
+ obj.text_capitalization = message.text_capitalization;
301
+ }
288
302
  if (message.validations?.length) {
289
303
  obj.validations = message.validations.map((e) => exports.Validation.toJSON(e));
290
304
  }
@@ -302,6 +316,7 @@ exports.getstepResponse_Field = {
302
316
  message.icon = object.icon ?? "";
303
317
  message.is_popup = object.is_popup ?? false;
304
318
  message.keyboard_type = object.keyboard_type ?? "";
319
+ message.text_capitalization = object.text_capitalization ?? "";
305
320
  message.validations = object.validations?.map((e) => exports.Validation.fromPartial(e)) || [];
306
321
  return message;
307
322
  },