@stashfin/grpc 1.2.536 → 1.2.538

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.536",
3
+ "version": "1.2.538",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -25,7 +25,7 @@ export interface checkTransactionStatusResponse {
25
25
  payee_ifsc?: string | undefined;
26
26
  lite_lrn?: string | undefined;
27
27
  txn_type?: string | undefined;
28
- payement_frequency?: string | undefined;
28
+ payment_frequency?: string | undefined;
29
29
  umn?: string | undefined;
30
30
  start_date?: string | undefined;
31
31
  end_date?: string | undefined;
@@ -139,7 +139,7 @@ function createBasecheckTransactionStatusResponse() {
139
139
  payee_ifsc: undefined,
140
140
  lite_lrn: undefined,
141
141
  txn_type: undefined,
142
- payement_frequency: undefined,
142
+ payment_frequency: undefined,
143
143
  umn: undefined,
144
144
  start_date: undefined,
145
145
  end_date: undefined,
@@ -198,8 +198,8 @@ exports.checkTransactionStatusResponse = {
198
198
  if (message.txn_type !== undefined) {
199
199
  writer.uint32(138).string(message.txn_type);
200
200
  }
201
- if (message.payement_frequency !== undefined) {
202
- writer.uint32(146).string(message.payement_frequency);
201
+ if (message.payment_frequency !== undefined) {
202
+ writer.uint32(146).string(message.payment_frequency);
203
203
  }
204
204
  if (message.umn !== undefined) {
205
205
  writer.uint32(154).string(message.umn);
@@ -325,7 +325,7 @@ exports.checkTransactionStatusResponse = {
325
325
  if (tag !== 146) {
326
326
  break;
327
327
  }
328
- message.payement_frequency = reader.string();
328
+ message.payment_frequency = reader.string();
329
329
  continue;
330
330
  case 19:
331
331
  if (tag !== 154) {
@@ -380,7 +380,7 @@ exports.checkTransactionStatusResponse = {
380
380
  payee_ifsc: isSet(object.payee_ifsc) ? globalThis.String(object.payee_ifsc) : undefined,
381
381
  lite_lrn: isSet(object.lite_lrn) ? globalThis.String(object.lite_lrn) : undefined,
382
382
  txn_type: isSet(object.txn_type) ? globalThis.String(object.txn_type) : undefined,
383
- payement_frequency: isSet(object.payement_frequency) ? globalThis.String(object.payement_frequency) : undefined,
383
+ payment_frequency: isSet(object.payment_frequency) ? globalThis.String(object.payment_frequency) : undefined,
384
384
  umn: isSet(object.umn) ? globalThis.String(object.umn) : undefined,
385
385
  start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : undefined,
386
386
  end_date: isSet(object.end_date) ? globalThis.String(object.end_date) : undefined,
@@ -439,8 +439,8 @@ exports.checkTransactionStatusResponse = {
439
439
  if (message.txn_type !== undefined) {
440
440
  obj.txn_type = message.txn_type;
441
441
  }
442
- if (message.payement_frequency !== undefined) {
443
- obj.payement_frequency = message.payement_frequency;
442
+ if (message.payment_frequency !== undefined) {
443
+ obj.payment_frequency = message.payment_frequency;
444
444
  }
445
445
  if (message.umn !== undefined) {
446
446
  obj.umn = message.umn;
@@ -475,7 +475,7 @@ exports.checkTransactionStatusResponse = {
475
475
  message.payee_ifsc = object.payee_ifsc ?? undefined;
476
476
  message.lite_lrn = object.lite_lrn ?? undefined;
477
477
  message.txn_type = object.txn_type ?? undefined;
478
- message.payement_frequency = object.payement_frequency ?? undefined;
478
+ message.payment_frequency = object.payment_frequency ?? undefined;
479
479
  message.umn = object.umn ?? undefined;
480
480
  message.start_date = object.start_date ?? undefined;
481
481
  message.end_date = object.end_date ?? undefined;
@@ -17,6 +17,7 @@ export interface MandateData {
17
17
  payee_vpa?: string | undefined;
18
18
  created_date?: string | undefined;
19
19
  amount?: number | undefined;
20
+ mandate_state?: string | undefined;
20
21
  }
21
22
  export interface Data {
22
23
  mandates: MandateData[];
@@ -152,6 +152,7 @@ function createBaseMandateData() {
152
152
  payee_vpa: undefined,
153
153
  created_date: undefined,
154
154
  amount: undefined,
155
+ mandate_state: undefined,
155
156
  };
156
157
  }
157
158
  exports.MandateData = {
@@ -180,6 +181,9 @@ exports.MandateData = {
180
181
  if (message.amount !== undefined) {
181
182
  writer.uint32(69).float(message.amount);
182
183
  }
184
+ if (message.mandate_state !== undefined) {
185
+ writer.uint32(74).string(message.mandate_state);
186
+ }
183
187
  return writer;
184
188
  },
185
189
  decode(input, length) {
@@ -237,6 +241,12 @@ exports.MandateData = {
237
241
  }
238
242
  message.amount = reader.float();
239
243
  continue;
244
+ case 9:
245
+ if (tag !== 74) {
246
+ break;
247
+ }
248
+ message.mandate_state = reader.string();
249
+ continue;
240
250
  }
241
251
  if ((tag & 7) === 4 || tag === 0) {
242
252
  break;
@@ -255,6 +265,7 @@ exports.MandateData = {
255
265
  payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : undefined,
256
266
  created_date: isSet(object.created_date) ? globalThis.String(object.created_date) : undefined,
257
267
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : undefined,
268
+ mandate_state: isSet(object.mandate_state) ? globalThis.String(object.mandate_state) : undefined,
258
269
  };
259
270
  },
260
271
  toJSON(message) {
@@ -283,6 +294,9 @@ exports.MandateData = {
283
294
  if (message.amount !== undefined) {
284
295
  obj.amount = message.amount;
285
296
  }
297
+ if (message.mandate_state !== undefined) {
298
+ obj.mandate_state = message.mandate_state;
299
+ }
286
300
  return obj;
287
301
  },
288
302
  create(base) {
@@ -298,6 +312,7 @@ exports.MandateData = {
298
312
  message.payee_vpa = object.payee_vpa ?? undefined;
299
313
  message.created_date = object.created_date ?? undefined;
300
314
  message.amount = object.amount ?? undefined;
315
+ message.mandate_state = object.mandate_state ?? undefined;
301
316
  return message;
302
317
  },
303
318
  };