@stashfin/grpc 1.2.355 → 1.2.357

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.355",
3
+ "version": "1.2.357",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -89,6 +89,7 @@ export interface getCustomerByIdResponse {
89
89
  va_number: string;
90
90
  sanctioned_amount: number;
91
91
  limit_option: number;
92
+ max_loc_limit?: number | undefined;
92
93
  }
93
94
  export interface Address {
94
95
  house_flat_no?: string | undefined;
@@ -150,6 +150,7 @@ function createBasegetCustomerByIdResponse() {
150
150
  va_number: "",
151
151
  sanctioned_amount: 0,
152
152
  limit_option: 0,
153
+ max_loc_limit: undefined,
153
154
  };
154
155
  }
155
156
  exports.getCustomerByIdResponse = {
@@ -409,6 +410,9 @@ exports.getCustomerByIdResponse = {
409
410
  if (message.limit_option !== 0) {
410
411
  writer.uint32(693).float(message.limit_option);
411
412
  }
413
+ if (message.max_loc_limit !== undefined) {
414
+ writer.uint32(701).float(message.max_loc_limit);
415
+ }
412
416
  return writer;
413
417
  },
414
418
  decode(input, length) {
@@ -928,6 +932,12 @@ exports.getCustomerByIdResponse = {
928
932
  }
929
933
  message.limit_option = reader.float();
930
934
  continue;
935
+ case 87:
936
+ if (tag !== 701) {
937
+ break;
938
+ }
939
+ message.max_loc_limit = reader.float();
940
+ continue;
931
941
  }
932
942
  if ((tag & 7) === 4 || tag === 0) {
933
943
  break;
@@ -1023,6 +1033,7 @@ exports.getCustomerByIdResponse = {
1023
1033
  va_number: isSet(object.va_number) ? globalThis.String(object.va_number) : "",
1024
1034
  sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : 0,
1025
1035
  limit_option: isSet(object.limit_option) ? globalThis.Number(object.limit_option) : 0,
1036
+ max_loc_limit: isSet(object.max_loc_limit) ? globalThis.Number(object.max_loc_limit) : undefined,
1026
1037
  };
1027
1038
  },
1028
1039
  toJSON(message) {
@@ -1282,6 +1293,9 @@ exports.getCustomerByIdResponse = {
1282
1293
  if (message.limit_option !== 0) {
1283
1294
  obj.limit_option = message.limit_option;
1284
1295
  }
1296
+ if (message.max_loc_limit !== undefined) {
1297
+ obj.max_loc_limit = message.max_loc_limit;
1298
+ }
1285
1299
  return obj;
1286
1300
  },
1287
1301
  create(base) {
@@ -1382,6 +1396,7 @@ exports.getCustomerByIdResponse = {
1382
1396
  message.va_number = object.va_number ?? "";
1383
1397
  message.sanctioned_amount = object.sanctioned_amount ?? 0;
1384
1398
  message.limit_option = object.limit_option ?? 0;
1399
+ message.max_loc_limit = object.max_loc_limit ?? undefined;
1385
1400
  return message;
1386
1401
  },
1387
1402
  };