@stashfin/grpc 1.2.353 → 1.2.354

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.353",
3
+ "version": "1.2.354",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -15,7 +15,7 @@
15
15
  "dependencies": {
16
16
  "@grpc/grpc-js": "^1.10.9",
17
17
  "@protobuf-ts/protoc": "^2.9.4",
18
- "@stashfin/grpc": "^1.2.338",
18
+ "@stashfin/grpc": "^1.2.353",
19
19
  "@types/long": "^5.0.0",
20
20
  "long": "^5.2.3"
21
21
  },
@@ -88,6 +88,7 @@ export interface getCustomerByIdResponse {
88
88
  journey_sequence: string;
89
89
  va_number: string;
90
90
  sanctioned_amount: number;
91
+ limit_option: number;
91
92
  }
92
93
  export interface Address {
93
94
  house_flat_no?: string | undefined;
@@ -149,6 +149,7 @@ function createBasegetCustomerByIdResponse() {
149
149
  journey_sequence: "",
150
150
  va_number: "",
151
151
  sanctioned_amount: 0,
152
+ limit_option: 0,
152
153
  };
153
154
  }
154
155
  exports.getCustomerByIdResponse = {
@@ -405,6 +406,9 @@ exports.getCustomerByIdResponse = {
405
406
  if (message.sanctioned_amount !== 0) {
406
407
  writer.uint32(685).float(message.sanctioned_amount);
407
408
  }
409
+ if (message.limit_option !== 0) {
410
+ writer.uint32(693).float(message.limit_option);
411
+ }
408
412
  return writer;
409
413
  },
410
414
  decode(input, length) {
@@ -918,6 +922,12 @@ exports.getCustomerByIdResponse = {
918
922
  }
919
923
  message.sanctioned_amount = reader.float();
920
924
  continue;
925
+ case 86:
926
+ if (tag !== 693) {
927
+ break;
928
+ }
929
+ message.limit_option = reader.float();
930
+ continue;
921
931
  }
922
932
  if ((tag & 7) === 4 || tag === 0) {
923
933
  break;
@@ -1012,6 +1022,7 @@ exports.getCustomerByIdResponse = {
1012
1022
  journey_sequence: isSet(object.journey_sequence) ? globalThis.String(object.journey_sequence) : "",
1013
1023
  va_number: isSet(object.va_number) ? globalThis.String(object.va_number) : "",
1014
1024
  sanctioned_amount: isSet(object.sanctioned_amount) ? globalThis.Number(object.sanctioned_amount) : 0,
1025
+ limit_option: isSet(object.limit_option) ? globalThis.Number(object.limit_option) : 0,
1015
1026
  };
1016
1027
  },
1017
1028
  toJSON(message) {
@@ -1268,6 +1279,9 @@ exports.getCustomerByIdResponse = {
1268
1279
  if (message.sanctioned_amount !== 0) {
1269
1280
  obj.sanctioned_amount = message.sanctioned_amount;
1270
1281
  }
1282
+ if (message.limit_option !== 0) {
1283
+ obj.limit_option = message.limit_option;
1284
+ }
1271
1285
  return obj;
1272
1286
  },
1273
1287
  create(base) {
@@ -1367,6 +1381,7 @@ exports.getCustomerByIdResponse = {
1367
1381
  message.journey_sequence = object.journey_sequence ?? "";
1368
1382
  message.va_number = object.va_number ?? "";
1369
1383
  message.sanctioned_amount = object.sanctioned_amount ?? 0;
1384
+ message.limit_option = object.limit_option ?? 0;
1370
1385
  return message;
1371
1386
  },
1372
1387
  };