@stashfin/grpc 1.5.9 → 1.5.10

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.5.9",
3
+ "version": "1.5.10",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -11,6 +11,7 @@ export interface getBillRowDataRequest {
11
11
  biller_id: string;
12
12
  biller_name: string;
13
13
  category: string;
14
+ is_bill_new?: boolean | undefined;
14
15
  }
15
16
  export interface getBillRowDataResponse {
16
17
  /** "success" or "failure" */
@@ -23,6 +23,7 @@ function createBasegetBillRowDataRequest() {
23
23
  biller_id: "",
24
24
  biller_name: "",
25
25
  category: "",
26
+ is_bill_new: undefined,
26
27
  };
27
28
  }
28
29
  exports.getBillRowDataRequest = {
@@ -54,6 +55,9 @@ exports.getBillRowDataRequest = {
54
55
  if (message.category !== "") {
55
56
  writer.uint32(74).string(message.category);
56
57
  }
58
+ if (message.is_bill_new !== undefined) {
59
+ writer.uint32(80).bool(message.is_bill_new);
60
+ }
57
61
  return writer;
58
62
  },
59
63
  decode(input, length) {
@@ -117,6 +121,12 @@ exports.getBillRowDataRequest = {
117
121
  }
118
122
  message.category = reader.string();
119
123
  continue;
124
+ case 10:
125
+ if (tag !== 80) {
126
+ break;
127
+ }
128
+ message.is_bill_new = reader.bool();
129
+ continue;
120
130
  }
121
131
  if ((tag & 7) === 4 || tag === 0) {
122
132
  break;
@@ -136,6 +146,7 @@ exports.getBillRowDataRequest = {
136
146
  biller_id: isSet(object.biller_id) ? globalThis.String(object.biller_id) : "",
137
147
  biller_name: isSet(object.biller_name) ? globalThis.String(object.biller_name) : "",
138
148
  category: isSet(object.category) ? globalThis.String(object.category) : "",
149
+ is_bill_new: isSet(object.is_bill_new) ? globalThis.Boolean(object.is_bill_new) : undefined,
139
150
  };
140
151
  },
141
152
  toJSON(message) {
@@ -167,6 +178,9 @@ exports.getBillRowDataRequest = {
167
178
  if (message.category !== "") {
168
179
  obj.category = message.category;
169
180
  }
181
+ if (message.is_bill_new !== undefined) {
182
+ obj.is_bill_new = message.is_bill_new;
183
+ }
170
184
  return obj;
171
185
  },
172
186
  create(base) {
@@ -183,6 +197,7 @@ exports.getBillRowDataRequest = {
183
197
  message.biller_id = object.biller_id ?? "";
184
198
  message.biller_name = object.biller_name ?? "";
185
199
  message.category = object.category ?? "";
200
+ message.is_bill_new = object.is_bill_new ?? undefined;
186
201
  return message;
187
202
  },
188
203
  };