@stashfin/grpc 1.2.427 → 1.2.429

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.427",
3
+ "version": "1.2.429",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -14,6 +14,8 @@ export interface transactionListResponse_Field {
14
14
  close_date: string;
15
15
  loan_agreement: string;
16
16
  noc: string;
17
+ loan_status: string;
18
+ emi_status?: string | undefined;
17
19
  }
18
20
  export declare const transactionListRequest: {
19
21
  encode(message: transactionListRequest, writer?: _m0.Writer): _m0.Writer;
@@ -117,7 +117,17 @@ exports.transactionListResponse = {
117
117
  },
118
118
  };
119
119
  function createBasetransactionListResponse_Field() {
120
- return { id: 0, loan_amount: 0, emi_amount: 0, start_date: "", close_date: "", loan_agreement: "", noc: "" };
120
+ return {
121
+ id: 0,
122
+ loan_amount: 0,
123
+ emi_amount: 0,
124
+ start_date: "",
125
+ close_date: "",
126
+ loan_agreement: "",
127
+ noc: "",
128
+ loan_status: "",
129
+ emi_status: undefined,
130
+ };
121
131
  }
122
132
  exports.transactionListResponse_Field = {
123
133
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -142,6 +152,12 @@ exports.transactionListResponse_Field = {
142
152
  if (message.noc !== "") {
143
153
  writer.uint32(58).string(message.noc);
144
154
  }
155
+ if (message.loan_status !== "") {
156
+ writer.uint32(66).string(message.loan_status);
157
+ }
158
+ if (message.emi_status !== undefined) {
159
+ writer.uint32(74).string(message.emi_status);
160
+ }
145
161
  return writer;
146
162
  },
147
163
  decode(input, length) {
@@ -193,6 +209,18 @@ exports.transactionListResponse_Field = {
193
209
  }
194
210
  message.noc = reader.string();
195
211
  continue;
212
+ case 8:
213
+ if (tag !== 66) {
214
+ break;
215
+ }
216
+ message.loan_status = reader.string();
217
+ continue;
218
+ case 9:
219
+ if (tag !== 74) {
220
+ break;
221
+ }
222
+ message.emi_status = reader.string();
223
+ continue;
196
224
  }
197
225
  if ((tag & 7) === 4 || tag === 0) {
198
226
  break;
@@ -210,6 +238,8 @@ exports.transactionListResponse_Field = {
210
238
  close_date: isSet(object.close_date) ? globalThis.String(object.close_date) : "",
211
239
  loan_agreement: isSet(object.loan_agreement) ? globalThis.String(object.loan_agreement) : "",
212
240
  noc: isSet(object.noc) ? globalThis.String(object.noc) : "",
241
+ loan_status: isSet(object.loan_status) ? globalThis.String(object.loan_status) : "",
242
+ emi_status: isSet(object.emi_status) ? globalThis.String(object.emi_status) : undefined,
213
243
  };
214
244
  },
215
245
  toJSON(message) {
@@ -235,6 +265,12 @@ exports.transactionListResponse_Field = {
235
265
  if (message.noc !== "") {
236
266
  obj.noc = message.noc;
237
267
  }
268
+ if (message.loan_status !== "") {
269
+ obj.loan_status = message.loan_status;
270
+ }
271
+ if (message.emi_status !== undefined) {
272
+ obj.emi_status = message.emi_status;
273
+ }
238
274
  return obj;
239
275
  },
240
276
  create(base) {
@@ -249,6 +285,8 @@ exports.transactionListResponse_Field = {
249
285
  message.close_date = object.close_date ?? "";
250
286
  message.loan_agreement = object.loan_agreement ?? "";
251
287
  message.noc = object.noc ?? "";
288
+ message.loan_status = object.loan_status ?? "";
289
+ message.emi_status = object.emi_status ?? undefined;
252
290
  return message;
253
291
  },
254
292
  };