@stashfin/grpc 1.2.829 → 1.2.830

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.830",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -10,6 +10,7 @@ export interface getAllBbpsTnxRequest {
10
10
  start_date?: string | undefined;
11
11
  end_date?: string | undefined;
12
12
  category?: string | undefined;
13
+ isDownload?: boolean | undefined;
13
14
  }
14
15
  export interface BBPSTransactions {
15
16
  transaction_id?: string | undefined;
@@ -22,6 +22,7 @@ function createBasegetAllBbpsTnxRequest() {
22
22
  start_date: undefined,
23
23
  end_date: undefined,
24
24
  category: undefined,
25
+ isDownload: undefined,
25
26
  };
26
27
  }
27
28
  exports.getAllBbpsTnxRequest = {
@@ -50,6 +51,9 @@ exports.getAllBbpsTnxRequest = {
50
51
  if (message.category !== undefined) {
51
52
  writer.uint32(66).string(message.category);
52
53
  }
54
+ if (message.isDownload !== undefined) {
55
+ writer.uint32(72).bool(message.isDownload);
56
+ }
53
57
  return writer;
54
58
  },
55
59
  decode(input, length) {
@@ -107,6 +111,12 @@ exports.getAllBbpsTnxRequest = {
107
111
  }
108
112
  message.category = reader.string();
109
113
  continue;
114
+ case 9:
115
+ if (tag !== 72) {
116
+ break;
117
+ }
118
+ message.isDownload = reader.bool();
119
+ continue;
110
120
  }
111
121
  if ((tag & 7) === 4 || tag === 0) {
112
122
  break;
@@ -125,6 +135,7 @@ exports.getAllBbpsTnxRequest = {
125
135
  start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : undefined,
126
136
  end_date: isSet(object.end_date) ? globalThis.String(object.end_date) : undefined,
127
137
  category: isSet(object.category) ? globalThis.String(object.category) : undefined,
138
+ isDownload: isSet(object.isDownload) ? globalThis.Boolean(object.isDownload) : undefined,
128
139
  };
129
140
  },
130
141
  toJSON(message) {
@@ -153,6 +164,9 @@ exports.getAllBbpsTnxRequest = {
153
164
  if (message.category !== undefined) {
154
165
  obj.category = message.category;
155
166
  }
167
+ if (message.isDownload !== undefined) {
168
+ obj.isDownload = message.isDownload;
169
+ }
156
170
  return obj;
157
171
  },
158
172
  create(base) {
@@ -168,6 +182,7 @@ exports.getAllBbpsTnxRequest = {
168
182
  message.start_date = object.start_date ?? undefined;
169
183
  message.end_date = object.end_date ?? undefined;
170
184
  message.category = object.category ?? undefined;
185
+ message.isDownload = object.isDownload ?? undefined;
171
186
  return message;
172
187
  },
173
188
  };