@stashfin/grpc 1.2.387 → 1.2.388

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.387",
3
+ "version": "1.2.388",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -91,6 +91,7 @@ export interface getCustomerByIdResponse {
91
91
  limit_option: string;
92
92
  max_loc_limit?: number | undefined;
93
93
  enach_amount: number;
94
+ new_sanctioned_limit: number;
94
95
  }
95
96
  export interface Address {
96
97
  house_flat_no?: string | undefined;
@@ -152,6 +152,7 @@ function createBasegetCustomerByIdResponse() {
152
152
  limit_option: "",
153
153
  max_loc_limit: undefined,
154
154
  enach_amount: 0,
155
+ new_sanctioned_limit: 0,
155
156
  };
156
157
  }
157
158
  exports.getCustomerByIdResponse = {
@@ -417,6 +418,9 @@ exports.getCustomerByIdResponse = {
417
418
  if (message.enach_amount !== 0) {
418
419
  writer.uint32(709).float(message.enach_amount);
419
420
  }
421
+ if (message.new_sanctioned_limit !== 0) {
422
+ writer.uint32(717).float(message.new_sanctioned_limit);
423
+ }
420
424
  return writer;
421
425
  },
422
426
  decode(input, length) {
@@ -948,6 +952,12 @@ exports.getCustomerByIdResponse = {
948
952
  }
949
953
  message.enach_amount = reader.float();
950
954
  continue;
955
+ case 89:
956
+ if (tag !== 717) {
957
+ break;
958
+ }
959
+ message.new_sanctioned_limit = reader.float();
960
+ continue;
951
961
  }
952
962
  if ((tag & 7) === 4 || tag === 0) {
953
963
  break;
@@ -1045,6 +1055,7 @@ exports.getCustomerByIdResponse = {
1045
1055
  limit_option: isSet(object.limit_option) ? globalThis.String(object.limit_option) : "",
1046
1056
  max_loc_limit: isSet(object.max_loc_limit) ? globalThis.Number(object.max_loc_limit) : undefined,
1047
1057
  enach_amount: isSet(object.enach_amount) ? globalThis.Number(object.enach_amount) : 0,
1058
+ new_sanctioned_limit: isSet(object.new_sanctioned_limit) ? globalThis.Number(object.new_sanctioned_limit) : 0,
1048
1059
  };
1049
1060
  },
1050
1061
  toJSON(message) {
@@ -1310,6 +1321,9 @@ exports.getCustomerByIdResponse = {
1310
1321
  if (message.enach_amount !== 0) {
1311
1322
  obj.enach_amount = message.enach_amount;
1312
1323
  }
1324
+ if (message.new_sanctioned_limit !== 0) {
1325
+ obj.new_sanctioned_limit = message.new_sanctioned_limit;
1326
+ }
1313
1327
  return obj;
1314
1328
  },
1315
1329
  create(base) {
@@ -1412,6 +1426,7 @@ exports.getCustomerByIdResponse = {
1412
1426
  message.limit_option = object.limit_option ?? "";
1413
1427
  message.max_loc_limit = object.max_loc_limit ?? undefined;
1414
1428
  message.enach_amount = object.enach_amount ?? 0;
1429
+ message.new_sanctioned_limit = object.new_sanctioned_limit ?? 0;
1415
1430
  return message;
1416
1431
  },
1417
1432
  };