@stashfin/grpc 1.2.829 → 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.829",
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",
@@ -10,6 +10,9 @@ export interface getAllBbpsTnxRequest {
10
10
  start_date?: string | undefined;
11
11
  end_date?: string | undefined;
12
12
  category?: string | undefined;
13
+ isDownload?: boolean | undefined;
14
+ status?: string | undefined;
15
+ customer_id?: string | undefined;
13
16
  }
14
17
  export interface BBPSTransactions {
15
18
  transaction_id?: string | undefined;
@@ -23,6 +26,7 @@ export interface BBPSTransactions {
23
26
  status?: string | undefined;
24
27
  transaction_date?: string | undefined;
25
28
  order_id: string;
29
+ customer_id?: string | undefined;
26
30
  }
27
31
  export interface getAllBbpsTnxResponse {
28
32
  transactions: BBPSTransactions[];
@@ -22,6 +22,9 @@ function createBasegetAllBbpsTnxRequest() {
22
22
  start_date: undefined,
23
23
  end_date: undefined,
24
24
  category: undefined,
25
+ isDownload: undefined,
26
+ status: undefined,
27
+ customer_id: undefined,
25
28
  };
26
29
  }
27
30
  exports.getAllBbpsTnxRequest = {
@@ -50,6 +53,15 @@ exports.getAllBbpsTnxRequest = {
50
53
  if (message.category !== undefined) {
51
54
  writer.uint32(66).string(message.category);
52
55
  }
56
+ if (message.isDownload !== undefined) {
57
+ writer.uint32(72).bool(message.isDownload);
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
+ }
53
65
  return writer;
54
66
  },
55
67
  decode(input, length) {
@@ -107,6 +119,24 @@ exports.getAllBbpsTnxRequest = {
107
119
  }
108
120
  message.category = reader.string();
109
121
  continue;
122
+ case 9:
123
+ if (tag !== 72) {
124
+ break;
125
+ }
126
+ message.isDownload = reader.bool();
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;
110
140
  }
111
141
  if ((tag & 7) === 4 || tag === 0) {
112
142
  break;
@@ -125,6 +155,9 @@ exports.getAllBbpsTnxRequest = {
125
155
  start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : undefined,
126
156
  end_date: isSet(object.end_date) ? globalThis.String(object.end_date) : undefined,
127
157
  category: isSet(object.category) ? globalThis.String(object.category) : undefined,
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,
128
161
  };
129
162
  },
130
163
  toJSON(message) {
@@ -153,6 +186,15 @@ exports.getAllBbpsTnxRequest = {
153
186
  if (message.category !== undefined) {
154
187
  obj.category = message.category;
155
188
  }
189
+ if (message.isDownload !== undefined) {
190
+ obj.isDownload = message.isDownload;
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
+ }
156
198
  return obj;
157
199
  },
158
200
  create(base) {
@@ -168,6 +210,9 @@ exports.getAllBbpsTnxRequest = {
168
210
  message.start_date = object.start_date ?? undefined;
169
211
  message.end_date = object.end_date ?? undefined;
170
212
  message.category = object.category ?? undefined;
213
+ message.isDownload = object.isDownload ?? undefined;
214
+ message.status = object.status ?? undefined;
215
+ message.customer_id = object.customer_id ?? undefined;
171
216
  return message;
172
217
  },
173
218
  };
@@ -184,6 +229,7 @@ function createBaseBBPSTransactions() {
184
229
  status: undefined,
185
230
  transaction_date: undefined,
186
231
  order_id: "",
232
+ customer_id: undefined,
187
233
  };
188
234
  }
189
235
  exports.BBPSTransactions = {
@@ -221,6 +267,9 @@ exports.BBPSTransactions = {
221
267
  if (message.order_id !== "") {
222
268
  writer.uint32(90).string(message.order_id);
223
269
  }
270
+ if (message.customer_id !== undefined) {
271
+ writer.uint32(98).string(message.customer_id);
272
+ }
224
273
  return writer;
225
274
  },
226
275
  decode(input, length) {
@@ -296,6 +345,12 @@ exports.BBPSTransactions = {
296
345
  }
297
346
  message.order_id = reader.string();
298
347
  continue;
348
+ case 12:
349
+ if (tag !== 98) {
350
+ break;
351
+ }
352
+ message.customer_id = reader.string();
353
+ continue;
299
354
  }
300
355
  if ((tag & 7) === 4 || tag === 0) {
301
356
  break;
@@ -317,6 +372,7 @@ exports.BBPSTransactions = {
317
372
  status: isSet(object.status) ? globalThis.String(object.status) : undefined,
318
373
  transaction_date: isSet(object.transaction_date) ? globalThis.String(object.transaction_date) : undefined,
319
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,
320
376
  };
321
377
  },
322
378
  toJSON(message) {
@@ -354,6 +410,9 @@ exports.BBPSTransactions = {
354
410
  if (message.order_id !== "") {
355
411
  obj.order_id = message.order_id;
356
412
  }
413
+ if (message.customer_id !== undefined) {
414
+ obj.customer_id = message.customer_id;
415
+ }
357
416
  return obj;
358
417
  },
359
418
  create(base) {
@@ -372,6 +431,7 @@ exports.BBPSTransactions = {
372
431
  message.status = object.status ?? undefined;
373
432
  message.transaction_date = object.transaction_date ?? undefined;
374
433
  message.order_id = object.order_id ?? "";
434
+ message.customer_id = object.customer_id ?? undefined;
375
435
  return message;
376
436
  },
377
437
  };