@stashfin/grpc 1.2.830 → 1.2.831

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.830",
3
+ "version": "1.2.831",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -11,6 +11,8 @@ export interface getAllBbpsTnxRequest {
11
11
  end_date?: string | undefined;
12
12
  category?: string | undefined;
13
13
  isDownload?: boolean | undefined;
14
+ status?: string | undefined;
15
+ customer_id?: string | undefined;
14
16
  }
15
17
  export interface BBPSTransactions {
16
18
  transaction_id?: string | undefined;
@@ -24,6 +26,7 @@ export interface BBPSTransactions {
24
26
  status?: string | undefined;
25
27
  transaction_date?: string | undefined;
26
28
  order_id: string;
29
+ customer_id?: string | undefined;
27
30
  }
28
31
  export interface getAllBbpsTnxResponse {
29
32
  transactions: BBPSTransactions[];
@@ -23,6 +23,8 @@ function createBasegetAllBbpsTnxRequest() {
23
23
  end_date: undefined,
24
24
  category: undefined,
25
25
  isDownload: undefined,
26
+ status: undefined,
27
+ customer_id: undefined,
26
28
  };
27
29
  }
28
30
  exports.getAllBbpsTnxRequest = {
@@ -54,6 +56,12 @@ exports.getAllBbpsTnxRequest = {
54
56
  if (message.isDownload !== undefined) {
55
57
  writer.uint32(72).bool(message.isDownload);
56
58
  }
59
+ if (message.status !== undefined) {
60
+ writer.uint32(82).string(message.status);
61
+ }
62
+ if (message.customer_id !== undefined) {
63
+ writer.uint32(90).string(message.customer_id);
64
+ }
57
65
  return writer;
58
66
  },
59
67
  decode(input, length) {
@@ -117,6 +125,18 @@ exports.getAllBbpsTnxRequest = {
117
125
  }
118
126
  message.isDownload = reader.bool();
119
127
  continue;
128
+ case 10:
129
+ if (tag !== 82) {
130
+ break;
131
+ }
132
+ message.status = reader.string();
133
+ continue;
134
+ case 11:
135
+ if (tag !== 90) {
136
+ break;
137
+ }
138
+ message.customer_id = reader.string();
139
+ continue;
120
140
  }
121
141
  if ((tag & 7) === 4 || tag === 0) {
122
142
  break;
@@ -136,6 +156,8 @@ exports.getAllBbpsTnxRequest = {
136
156
  end_date: isSet(object.end_date) ? globalThis.String(object.end_date) : undefined,
137
157
  category: isSet(object.category) ? globalThis.String(object.category) : undefined,
138
158
  isDownload: isSet(object.isDownload) ? globalThis.Boolean(object.isDownload) : undefined,
159
+ status: isSet(object.status) ? globalThis.String(object.status) : undefined,
160
+ customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : undefined,
139
161
  };
140
162
  },
141
163
  toJSON(message) {
@@ -167,6 +189,12 @@ exports.getAllBbpsTnxRequest = {
167
189
  if (message.isDownload !== undefined) {
168
190
  obj.isDownload = message.isDownload;
169
191
  }
192
+ if (message.status !== undefined) {
193
+ obj.status = message.status;
194
+ }
195
+ if (message.customer_id !== undefined) {
196
+ obj.customer_id = message.customer_id;
197
+ }
170
198
  return obj;
171
199
  },
172
200
  create(base) {
@@ -183,6 +211,8 @@ exports.getAllBbpsTnxRequest = {
183
211
  message.end_date = object.end_date ?? undefined;
184
212
  message.category = object.category ?? undefined;
185
213
  message.isDownload = object.isDownload ?? undefined;
214
+ message.status = object.status ?? undefined;
215
+ message.customer_id = object.customer_id ?? undefined;
186
216
  return message;
187
217
  },
188
218
  };
@@ -199,6 +229,7 @@ function createBaseBBPSTransactions() {
199
229
  status: undefined,
200
230
  transaction_date: undefined,
201
231
  order_id: "",
232
+ customer_id: undefined,
202
233
  };
203
234
  }
204
235
  exports.BBPSTransactions = {
@@ -236,6 +267,9 @@ exports.BBPSTransactions = {
236
267
  if (message.order_id !== "") {
237
268
  writer.uint32(90).string(message.order_id);
238
269
  }
270
+ if (message.customer_id !== undefined) {
271
+ writer.uint32(98).string(message.customer_id);
272
+ }
239
273
  return writer;
240
274
  },
241
275
  decode(input, length) {
@@ -311,6 +345,12 @@ exports.BBPSTransactions = {
311
345
  }
312
346
  message.order_id = reader.string();
313
347
  continue;
348
+ case 12:
349
+ if (tag !== 98) {
350
+ break;
351
+ }
352
+ message.customer_id = reader.string();
353
+ continue;
314
354
  }
315
355
  if ((tag & 7) === 4 || tag === 0) {
316
356
  break;
@@ -332,6 +372,7 @@ exports.BBPSTransactions = {
332
372
  status: isSet(object.status) ? globalThis.String(object.status) : undefined,
333
373
  transaction_date: isSet(object.transaction_date) ? globalThis.String(object.transaction_date) : undefined,
334
374
  order_id: isSet(object.order_id) ? globalThis.String(object.order_id) : "",
375
+ customer_id: isSet(object.customer_id) ? globalThis.String(object.customer_id) : undefined,
335
376
  };
336
377
  },
337
378
  toJSON(message) {
@@ -369,6 +410,9 @@ exports.BBPSTransactions = {
369
410
  if (message.order_id !== "") {
370
411
  obj.order_id = message.order_id;
371
412
  }
413
+ if (message.customer_id !== undefined) {
414
+ obj.customer_id = message.customer_id;
415
+ }
372
416
  return obj;
373
417
  },
374
418
  create(base) {
@@ -387,6 +431,7 @@ exports.BBPSTransactions = {
387
431
  message.status = object.status ?? undefined;
388
432
  message.transaction_date = object.transaction_date ?? undefined;
389
433
  message.order_id = object.order_id ?? "";
434
+ message.customer_id = object.customer_id ?? undefined;
390
435
  return message;
391
436
  },
392
437
  };