@stashfin/grpc 1.2.66 → 1.2.70

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.66",
3
+ "version": "1.2.70",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -12,6 +12,8 @@ export interface transactionListResponse_Field {
12
12
  emi_amount: number;
13
13
  start_date: string;
14
14
  close_date: string;
15
+ loan_agreement: string;
16
+ noc: string;
15
17
  }
16
18
  export declare const transactionListRequest: {
17
19
  encode(message: transactionListRequest, writer?: _m0.Writer): _m0.Writer;
@@ -117,7 +117,7 @@ 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: "" };
120
+ return { id: 0, loan_amount: 0, emi_amount: 0, start_date: "", close_date: "", loan_agreement: "", noc: "" };
121
121
  }
122
122
  exports.transactionListResponse_Field = {
123
123
  encode(message, writer = minimal_1.default.Writer.create()) {
@@ -136,6 +136,12 @@ exports.transactionListResponse_Field = {
136
136
  if (message.close_date !== "") {
137
137
  writer.uint32(42).string(message.close_date);
138
138
  }
139
+ if (message.loan_agreement !== "") {
140
+ writer.uint32(50).string(message.loan_agreement);
141
+ }
142
+ if (message.noc !== "") {
143
+ writer.uint32(58).string(message.noc);
144
+ }
139
145
  return writer;
140
146
  },
141
147
  decode(input, length) {
@@ -175,6 +181,18 @@ exports.transactionListResponse_Field = {
175
181
  }
176
182
  message.close_date = reader.string();
177
183
  continue;
184
+ case 6:
185
+ if (tag !== 50) {
186
+ break;
187
+ }
188
+ message.loan_agreement = reader.string();
189
+ continue;
190
+ case 7:
191
+ if (tag !== 58) {
192
+ break;
193
+ }
194
+ message.noc = reader.string();
195
+ continue;
178
196
  }
179
197
  if ((tag & 7) === 4 || tag === 0) {
180
198
  break;
@@ -190,6 +208,8 @@ exports.transactionListResponse_Field = {
190
208
  emi_amount: isSet(object.emi_amount) ? globalThis.Number(object.emi_amount) : 0,
191
209
  start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : "",
192
210
  close_date: isSet(object.close_date) ? globalThis.String(object.close_date) : "",
211
+ loan_agreement: isSet(object.loan_agreement) ? globalThis.String(object.loan_agreement) : "",
212
+ noc: isSet(object.noc) ? globalThis.String(object.noc) : "",
193
213
  };
194
214
  },
195
215
  toJSON(message) {
@@ -209,6 +229,12 @@ exports.transactionListResponse_Field = {
209
229
  if (message.close_date !== "") {
210
230
  obj.close_date = message.close_date;
211
231
  }
232
+ if (message.loan_agreement !== "") {
233
+ obj.loan_agreement = message.loan_agreement;
234
+ }
235
+ if (message.noc !== "") {
236
+ obj.noc = message.noc;
237
+ }
212
238
  return obj;
213
239
  },
214
240
  create(base) {
@@ -221,6 +247,8 @@ exports.transactionListResponse_Field = {
221
247
  message.emi_amount = object.emi_amount ?? 0;
222
248
  message.start_date = object.start_date ?? "";
223
249
  message.close_date = object.close_date ?? "";
250
+ message.loan_agreement = object.loan_agreement ?? "";
251
+ message.noc = object.noc ?? "";
224
252
  return message;
225
253
  },
226
254
  };