@stashfin/grpc 1.2.543 → 1.2.545

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.543",
3
+ "version": "1.2.545",
4
4
  "description": "Grpc proto manger",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf src/ts && mkdirp src/ts && mkdirp dist",
@@ -15,9 +15,10 @@ export interface NotificationData {
15
15
  created_at: string;
16
16
  body: Body | undefined;
17
17
  description?: string | undefined;
18
- txn_id: string;
18
+ ext_txn_id: string;
19
19
  redirection_url: string;
20
20
  redirection_type: string;
21
+ umn?: string | undefined;
21
22
  }
22
23
  export interface Body {
23
24
  notification: Notification | undefined;
@@ -153,9 +153,10 @@ function createBaseNotificationData() {
153
153
  created_at: "",
154
154
  body: undefined,
155
155
  description: undefined,
156
- txn_id: "",
156
+ ext_txn_id: "",
157
157
  redirection_url: "",
158
158
  redirection_type: "",
159
+ umn: undefined,
159
160
  };
160
161
  }
161
162
  exports.NotificationData = {
@@ -178,8 +179,8 @@ exports.NotificationData = {
178
179
  if (message.description !== undefined) {
179
180
  writer.uint32(50).string(message.description);
180
181
  }
181
- if (message.txn_id !== "") {
182
- writer.uint32(58).string(message.txn_id);
182
+ if (message.ext_txn_id !== "") {
183
+ writer.uint32(58).string(message.ext_txn_id);
183
184
  }
184
185
  if (message.redirection_url !== "") {
185
186
  writer.uint32(66).string(message.redirection_url);
@@ -187,6 +188,9 @@ exports.NotificationData = {
187
188
  if (message.redirection_type !== "") {
188
189
  writer.uint32(74).string(message.redirection_type);
189
190
  }
191
+ if (message.umn !== undefined) {
192
+ writer.uint32(82).string(message.umn);
193
+ }
190
194
  return writer;
191
195
  },
192
196
  decode(input, length) {
@@ -236,7 +240,7 @@ exports.NotificationData = {
236
240
  if (tag !== 58) {
237
241
  break;
238
242
  }
239
- message.txn_id = reader.string();
243
+ message.ext_txn_id = reader.string();
240
244
  continue;
241
245
  case 8:
242
246
  if (tag !== 66) {
@@ -250,6 +254,12 @@ exports.NotificationData = {
250
254
  }
251
255
  message.redirection_type = reader.string();
252
256
  continue;
257
+ case 10:
258
+ if (tag !== 82) {
259
+ break;
260
+ }
261
+ message.umn = reader.string();
262
+ continue;
253
263
  }
254
264
  if ((tag & 7) === 4 || tag === 0) {
255
265
  break;
@@ -266,9 +276,10 @@ exports.NotificationData = {
266
276
  created_at: isSet(object.created_at) ? globalThis.String(object.created_at) : "",
267
277
  body: isSet(object.body) ? exports.Body.fromJSON(object.body) : undefined,
268
278
  description: isSet(object.description) ? globalThis.String(object.description) : undefined,
269
- txn_id: isSet(object.txn_id) ? globalThis.String(object.txn_id) : "",
279
+ ext_txn_id: isSet(object.ext_txn_id) ? globalThis.String(object.ext_txn_id) : "",
270
280
  redirection_url: isSet(object.redirection_url) ? globalThis.String(object.redirection_url) : "",
271
281
  redirection_type: isSet(object.redirection_type) ? globalThis.String(object.redirection_type) : "",
282
+ umn: isSet(object.umn) ? globalThis.String(object.umn) : undefined,
272
283
  };
273
284
  },
274
285
  toJSON(message) {
@@ -291,8 +302,8 @@ exports.NotificationData = {
291
302
  if (message.description !== undefined) {
292
303
  obj.description = message.description;
293
304
  }
294
- if (message.txn_id !== "") {
295
- obj.txn_id = message.txn_id;
305
+ if (message.ext_txn_id !== "") {
306
+ obj.ext_txn_id = message.ext_txn_id;
296
307
  }
297
308
  if (message.redirection_url !== "") {
298
309
  obj.redirection_url = message.redirection_url;
@@ -300,6 +311,9 @@ exports.NotificationData = {
300
311
  if (message.redirection_type !== "") {
301
312
  obj.redirection_type = message.redirection_type;
302
313
  }
314
+ if (message.umn !== undefined) {
315
+ obj.umn = message.umn;
316
+ }
303
317
  return obj;
304
318
  },
305
319
  create(base) {
@@ -313,9 +327,10 @@ exports.NotificationData = {
313
327
  message.created_at = object.created_at ?? "";
314
328
  message.body = (object.body !== undefined && object.body !== null) ? exports.Body.fromPartial(object.body) : undefined;
315
329
  message.description = object.description ?? undefined;
316
- message.txn_id = object.txn_id ?? "";
330
+ message.ext_txn_id = object.ext_txn_id ?? "";
317
331
  message.redirection_url = object.redirection_url ?? "";
318
332
  message.redirection_type = object.redirection_type ?? "";
333
+ message.umn = object.umn ?? undefined;
319
334
  return message;
320
335
  },
321
336
  };
@@ -25,9 +25,6 @@ export interface Data {
25
25
  customer_id?: number | undefined;
26
26
  /** Virtual Payment Address */
27
27
  vpa?: string | undefined;
28
- total_debit?: number | undefined;
29
- successful_debit?: number | undefined;
30
- unsuccessful_debit?: number | undefined;
31
28
  }
32
29
  export interface PayeeDetails {
33
30
  Name?: string | undefined;
@@ -76,6 +73,10 @@ export interface MandateDetails {
76
73
  RefUrl?: string | undefined;
77
74
  PauseStart?: string | undefined;
78
75
  PauseEnd?: string | undefined;
76
+ TotalDebit?: number | undefined;
77
+ SuccessfulDebit?: number | undefined;
78
+ UnsuccessfulDebit?: number | undefined;
79
+ RemainingDebit?: number | undefined;
79
80
  }
80
81
  export declare const getMandatesDetailsRequest: {
81
82
  encode(message: getMandatesDetailsRequest, writer?: _m0.Writer): _m0.Writer;
@@ -174,9 +174,6 @@ function createBaseData() {
174
174
  expiry: undefined,
175
175
  customer_id: undefined,
176
176
  vpa: undefined,
177
- total_debit: undefined,
178
- successful_debit: undefined,
179
- unsuccessful_debit: undefined,
180
177
  };
181
178
  }
182
179
  exports.Data = {
@@ -223,15 +220,6 @@ exports.Data = {
223
220
  if (message.vpa !== undefined) {
224
221
  writer.uint32(114).string(message.vpa);
225
222
  }
226
- if (message.total_debit !== undefined) {
227
- writer.uint32(120).int32(message.total_debit);
228
- }
229
- if (message.successful_debit !== undefined) {
230
- writer.uint32(128).int32(message.successful_debit);
231
- }
232
- if (message.unsuccessful_debit !== undefined) {
233
- writer.uint32(136).int32(message.unsuccessful_debit);
234
- }
235
223
  return writer;
236
224
  },
237
225
  decode(input, length) {
@@ -325,24 +313,6 @@ exports.Data = {
325
313
  }
326
314
  message.vpa = reader.string();
327
315
  continue;
328
- case 15:
329
- if (tag !== 120) {
330
- break;
331
- }
332
- message.total_debit = reader.int32();
333
- continue;
334
- case 16:
335
- if (tag !== 128) {
336
- break;
337
- }
338
- message.successful_debit = reader.int32();
339
- continue;
340
- case 17:
341
- if (tag !== 136) {
342
- break;
343
- }
344
- message.unsuccessful_debit = reader.int32();
345
- continue;
346
316
  }
347
317
  if ((tag & 7) === 4 || tag === 0) {
348
318
  break;
@@ -367,9 +337,6 @@ exports.Data = {
367
337
  expiry: isSet(object.expiry) ? globalThis.String(object.expiry) : undefined,
368
338
  customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : undefined,
369
339
  vpa: isSet(object.vpa) ? globalThis.String(object.vpa) : undefined,
370
- total_debit: isSet(object.total_debit) ? globalThis.Number(object.total_debit) : undefined,
371
- successful_debit: isSet(object.successful_debit) ? globalThis.Number(object.successful_debit) : undefined,
372
- unsuccessful_debit: isSet(object.unsuccessful_debit) ? globalThis.Number(object.unsuccessful_debit) : undefined,
373
340
  };
374
341
  },
375
342
  toJSON(message) {
@@ -416,15 +383,6 @@ exports.Data = {
416
383
  if (message.vpa !== undefined) {
417
384
  obj.vpa = message.vpa;
418
385
  }
419
- if (message.total_debit !== undefined) {
420
- obj.total_debit = Math.round(message.total_debit);
421
- }
422
- if (message.successful_debit !== undefined) {
423
- obj.successful_debit = Math.round(message.successful_debit);
424
- }
425
- if (message.unsuccessful_debit !== undefined) {
426
- obj.unsuccessful_debit = Math.round(message.unsuccessful_debit);
427
- }
428
386
  return obj;
429
387
  },
430
388
  create(base) {
@@ -452,9 +410,6 @@ exports.Data = {
452
410
  message.expiry = object.expiry ?? undefined;
453
411
  message.customer_id = object.customer_id ?? undefined;
454
412
  message.vpa = object.vpa ?? undefined;
455
- message.total_debit = object.total_debit ?? undefined;
456
- message.successful_debit = object.successful_debit ?? undefined;
457
- message.unsuccessful_debit = object.unsuccessful_debit ?? undefined;
458
413
  return message;
459
414
  },
460
415
  };
@@ -844,6 +799,10 @@ function createBaseMandateDetails() {
844
799
  RefUrl: undefined,
845
800
  PauseStart: undefined,
846
801
  PauseEnd: undefined,
802
+ TotalDebit: undefined,
803
+ SuccessfulDebit: undefined,
804
+ UnsuccessfulDebit: undefined,
805
+ RemainingDebit: undefined,
847
806
  };
848
807
  }
849
808
  exports.MandateDetails = {
@@ -905,6 +864,18 @@ exports.MandateDetails = {
905
864
  if (message.PauseEnd !== undefined) {
906
865
  writer.uint32(154).string(message.PauseEnd);
907
866
  }
867
+ if (message.TotalDebit !== undefined) {
868
+ writer.uint32(160).int32(message.TotalDebit);
869
+ }
870
+ if (message.SuccessfulDebit !== undefined) {
871
+ writer.uint32(168).int32(message.SuccessfulDebit);
872
+ }
873
+ if (message.UnsuccessfulDebit !== undefined) {
874
+ writer.uint32(176).int32(message.UnsuccessfulDebit);
875
+ }
876
+ if (message.RemainingDebit !== undefined) {
877
+ writer.uint32(184).int32(message.RemainingDebit);
878
+ }
908
879
  return writer;
909
880
  },
910
881
  decode(input, length) {
@@ -1028,6 +999,30 @@ exports.MandateDetails = {
1028
999
  }
1029
1000
  message.PauseEnd = reader.string();
1030
1001
  continue;
1002
+ case 20:
1003
+ if (tag !== 160) {
1004
+ break;
1005
+ }
1006
+ message.TotalDebit = reader.int32();
1007
+ continue;
1008
+ case 21:
1009
+ if (tag !== 168) {
1010
+ break;
1011
+ }
1012
+ message.SuccessfulDebit = reader.int32();
1013
+ continue;
1014
+ case 22:
1015
+ if (tag !== 176) {
1016
+ break;
1017
+ }
1018
+ message.UnsuccessfulDebit = reader.int32();
1019
+ continue;
1020
+ case 23:
1021
+ if (tag !== 184) {
1022
+ break;
1023
+ }
1024
+ message.RemainingDebit = reader.int32();
1025
+ continue;
1031
1026
  }
1032
1027
  if ((tag & 7) === 4 || tag === 0) {
1033
1028
  break;
@@ -1059,6 +1054,10 @@ exports.MandateDetails = {
1059
1054
  RefUrl: isSet(object.RefUrl) ? globalThis.String(object.RefUrl) : undefined,
1060
1055
  PauseStart: isSet(object.PauseStart) ? globalThis.String(object.PauseStart) : undefined,
1061
1056
  PauseEnd: isSet(object.PauseEnd) ? globalThis.String(object.PauseEnd) : undefined,
1057
+ TotalDebit: isSet(object.TotalDebit) ? globalThis.Number(object.TotalDebit) : undefined,
1058
+ SuccessfulDebit: isSet(object.SuccessfulDebit) ? globalThis.Number(object.SuccessfulDebit) : undefined,
1059
+ UnsuccessfulDebit: isSet(object.UnsuccessfulDebit) ? globalThis.Number(object.UnsuccessfulDebit) : undefined,
1060
+ RemainingDebit: isSet(object.RemainingDebit) ? globalThis.Number(object.RemainingDebit) : undefined,
1062
1061
  };
1063
1062
  },
1064
1063
  toJSON(message) {
@@ -1120,6 +1119,18 @@ exports.MandateDetails = {
1120
1119
  if (message.PauseEnd !== undefined) {
1121
1120
  obj.PauseEnd = message.PauseEnd;
1122
1121
  }
1122
+ if (message.TotalDebit !== undefined) {
1123
+ obj.TotalDebit = Math.round(message.TotalDebit);
1124
+ }
1125
+ if (message.SuccessfulDebit !== undefined) {
1126
+ obj.SuccessfulDebit = Math.round(message.SuccessfulDebit);
1127
+ }
1128
+ if (message.UnsuccessfulDebit !== undefined) {
1129
+ obj.UnsuccessfulDebit = Math.round(message.UnsuccessfulDebit);
1130
+ }
1131
+ if (message.RemainingDebit !== undefined) {
1132
+ obj.RemainingDebit = Math.round(message.RemainingDebit);
1133
+ }
1123
1134
  return obj;
1124
1135
  },
1125
1136
  create(base) {
@@ -1146,6 +1157,10 @@ exports.MandateDetails = {
1146
1157
  message.RefUrl = object.RefUrl ?? undefined;
1147
1158
  message.PauseStart = object.PauseStart ?? undefined;
1148
1159
  message.PauseEnd = object.PauseEnd ?? undefined;
1160
+ message.TotalDebit = object.TotalDebit ?? undefined;
1161
+ message.SuccessfulDebit = object.SuccessfulDebit ?? undefined;
1162
+ message.UnsuccessfulDebit = object.UnsuccessfulDebit ?? undefined;
1163
+ message.RemainingDebit = object.RemainingDebit ?? undefined;
1149
1164
  return message;
1150
1165
  },
1151
1166
  };
@@ -3,19 +3,17 @@ export declare const protobufPackage = "upi.getmandatehistory";
3
3
  export interface getMandateHistoryRequest {
4
4
  umn: string;
5
5
  }
6
- export interface MandateDetails {
6
+ export interface MandateTxnDetails {
7
7
  payee_name: string;
8
8
  payee_vpa: string;
9
9
  umn: string;
10
10
  amount: number;
11
- start_date: string;
12
- end_date: string;
13
- debit_frequency: string;
14
- no_of_debits: number;
15
- total_debits: number;
11
+ txn_date: string;
12
+ rrn: string;
13
+ status: string;
16
14
  }
17
15
  export interface Data {
18
- mandateDetails: MandateDetails | undefined;
16
+ mandateTxnDetails: MandateTxnDetails | undefined;
19
17
  }
20
18
  export interface getMandateHistoryResponse {
21
19
  status: string;
@@ -30,13 +28,13 @@ export declare const getMandateHistoryRequest: {
30
28
  create<I extends Exact<DeepPartial<getMandateHistoryRequest>, I>>(base?: I): getMandateHistoryRequest;
31
29
  fromPartial<I extends Exact<DeepPartial<getMandateHistoryRequest>, I>>(object: I): getMandateHistoryRequest;
32
30
  };
33
- export declare const MandateDetails: {
34
- encode(message: MandateDetails, writer?: _m0.Writer): _m0.Writer;
35
- decode(input: _m0.Reader | Uint8Array, length?: number): MandateDetails;
36
- fromJSON(object: any): MandateDetails;
37
- toJSON(message: MandateDetails): unknown;
38
- create<I extends Exact<DeepPartial<MandateDetails>, I>>(base?: I): MandateDetails;
39
- fromPartial<I extends Exact<DeepPartial<MandateDetails>, I>>(object: I): MandateDetails;
31
+ export declare const MandateTxnDetails: {
32
+ encode(message: MandateTxnDetails, writer?: _m0.Writer): _m0.Writer;
33
+ decode(input: _m0.Reader | Uint8Array, length?: number): MandateTxnDetails;
34
+ fromJSON(object: any): MandateTxnDetails;
35
+ toJSON(message: MandateTxnDetails): unknown;
36
+ create<I extends Exact<DeepPartial<MandateTxnDetails>, I>>(base?: I): MandateTxnDetails;
37
+ fromPartial<I extends Exact<DeepPartial<MandateTxnDetails>, I>>(object: I): MandateTxnDetails;
40
38
  };
41
39
  export declare const Data: {
42
40
  encode(message: Data, writer?: _m0.Writer): _m0.Writer;
@@ -8,7 +8,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
8
8
  return (mod && mod.__esModule) ? mod : { "default": mod };
9
9
  };
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
- exports.getMandateHistoryResponse = exports.Data = exports.MandateDetails = exports.getMandateHistoryRequest = exports.protobufPackage = void 0;
11
+ exports.getMandateHistoryResponse = exports.Data = exports.MandateTxnDetails = exports.getMandateHistoryRequest = exports.protobufPackage = void 0;
12
12
  /* eslint-disable */
13
13
  const minimal_1 = __importDefault(require("protobufjs/minimal"));
14
14
  exports.protobufPackage = "upi.getmandatehistory";
@@ -62,20 +62,10 @@ exports.getMandateHistoryRequest = {
62
62
  return message;
63
63
  },
64
64
  };
65
- function createBaseMandateDetails() {
66
- return {
67
- payee_name: "",
68
- payee_vpa: "",
69
- umn: "",
70
- amount: 0,
71
- start_date: "",
72
- end_date: "",
73
- debit_frequency: "",
74
- no_of_debits: 0,
75
- total_debits: 0,
76
- };
65
+ function createBaseMandateTxnDetails() {
66
+ return { payee_name: "", payee_vpa: "", umn: "", amount: 0, txn_date: "", rrn: "", status: "" };
77
67
  }
78
- exports.MandateDetails = {
68
+ exports.MandateTxnDetails = {
79
69
  encode(message, writer = minimal_1.default.Writer.create()) {
80
70
  if (message.payee_name !== "") {
81
71
  writer.uint32(10).string(message.payee_name);
@@ -89,27 +79,21 @@ exports.MandateDetails = {
89
79
  if (message.amount !== 0) {
90
80
  writer.uint32(37).float(message.amount);
91
81
  }
92
- if (message.start_date !== "") {
93
- writer.uint32(42).string(message.start_date);
82
+ if (message.txn_date !== "") {
83
+ writer.uint32(42).string(message.txn_date);
94
84
  }
95
- if (message.end_date !== "") {
96
- writer.uint32(50).string(message.end_date);
85
+ if (message.rrn !== "") {
86
+ writer.uint32(66).string(message.rrn);
97
87
  }
98
- if (message.debit_frequency !== "") {
99
- writer.uint32(58).string(message.debit_frequency);
100
- }
101
- if (message.no_of_debits !== 0) {
102
- writer.uint32(64).int32(message.no_of_debits);
103
- }
104
- if (message.total_debits !== 0) {
105
- writer.uint32(72).int32(message.total_debits);
88
+ if (message.status !== "") {
89
+ writer.uint32(74).string(message.status);
106
90
  }
107
91
  return writer;
108
92
  },
109
93
  decode(input, length) {
110
94
  const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
111
95
  let end = length === undefined ? reader.len : reader.pos + length;
112
- const message = createBaseMandateDetails();
96
+ const message = createBaseMandateTxnDetails();
113
97
  while (reader.pos < end) {
114
98
  const tag = reader.uint32();
115
99
  switch (tag >>> 3) {
@@ -141,31 +125,19 @@ exports.MandateDetails = {
141
125
  if (tag !== 42) {
142
126
  break;
143
127
  }
144
- message.start_date = reader.string();
145
- continue;
146
- case 6:
147
- if (tag !== 50) {
148
- break;
149
- }
150
- message.end_date = reader.string();
151
- continue;
152
- case 7:
153
- if (tag !== 58) {
154
- break;
155
- }
156
- message.debit_frequency = reader.string();
128
+ message.txn_date = reader.string();
157
129
  continue;
158
130
  case 8:
159
- if (tag !== 64) {
131
+ if (tag !== 66) {
160
132
  break;
161
133
  }
162
- message.no_of_debits = reader.int32();
134
+ message.rrn = reader.string();
163
135
  continue;
164
136
  case 9:
165
- if (tag !== 72) {
137
+ if (tag !== 74) {
166
138
  break;
167
139
  }
168
- message.total_debits = reader.int32();
140
+ message.status = reader.string();
169
141
  continue;
170
142
  }
171
143
  if ((tag & 7) === 4 || tag === 0) {
@@ -181,11 +153,9 @@ exports.MandateDetails = {
181
153
  payee_vpa: isSet(object.payee_vpa) ? globalThis.String(object.payee_vpa) : "",
182
154
  umn: isSet(object.umn) ? globalThis.String(object.umn) : "",
183
155
  amount: isSet(object.amount) ? globalThis.Number(object.amount) : 0,
184
- start_date: isSet(object.start_date) ? globalThis.String(object.start_date) : "",
185
- end_date: isSet(object.end_date) ? globalThis.String(object.end_date) : "",
186
- debit_frequency: isSet(object.debit_frequency) ? globalThis.String(object.debit_frequency) : "",
187
- no_of_debits: isSet(object.no_of_debits) ? globalThis.Number(object.no_of_debits) : 0,
188
- total_debits: isSet(object.total_debits) ? globalThis.Number(object.total_debits) : 0,
156
+ txn_date: isSet(object.txn_date) ? globalThis.String(object.txn_date) : "",
157
+ rrn: isSet(object.rrn) ? globalThis.String(object.rrn) : "",
158
+ status: isSet(object.status) ? globalThis.String(object.status) : "",
189
159
  };
190
160
  },
191
161
  toJSON(message) {
@@ -202,47 +172,39 @@ exports.MandateDetails = {
202
172
  if (message.amount !== 0) {
203
173
  obj.amount = message.amount;
204
174
  }
205
- if (message.start_date !== "") {
206
- obj.start_date = message.start_date;
207
- }
208
- if (message.end_date !== "") {
209
- obj.end_date = message.end_date;
175
+ if (message.txn_date !== "") {
176
+ obj.txn_date = message.txn_date;
210
177
  }
211
- if (message.debit_frequency !== "") {
212
- obj.debit_frequency = message.debit_frequency;
178
+ if (message.rrn !== "") {
179
+ obj.rrn = message.rrn;
213
180
  }
214
- if (message.no_of_debits !== 0) {
215
- obj.no_of_debits = Math.round(message.no_of_debits);
216
- }
217
- if (message.total_debits !== 0) {
218
- obj.total_debits = Math.round(message.total_debits);
181
+ if (message.status !== "") {
182
+ obj.status = message.status;
219
183
  }
220
184
  return obj;
221
185
  },
222
186
  create(base) {
223
- return exports.MandateDetails.fromPartial(base ?? {});
187
+ return exports.MandateTxnDetails.fromPartial(base ?? {});
224
188
  },
225
189
  fromPartial(object) {
226
- const message = createBaseMandateDetails();
190
+ const message = createBaseMandateTxnDetails();
227
191
  message.payee_name = object.payee_name ?? "";
228
192
  message.payee_vpa = object.payee_vpa ?? "";
229
193
  message.umn = object.umn ?? "";
230
194
  message.amount = object.amount ?? 0;
231
- message.start_date = object.start_date ?? "";
232
- message.end_date = object.end_date ?? "";
233
- message.debit_frequency = object.debit_frequency ?? "";
234
- message.no_of_debits = object.no_of_debits ?? 0;
235
- message.total_debits = object.total_debits ?? 0;
195
+ message.txn_date = object.txn_date ?? "";
196
+ message.rrn = object.rrn ?? "";
197
+ message.status = object.status ?? "";
236
198
  return message;
237
199
  },
238
200
  };
239
201
  function createBaseData() {
240
- return { mandateDetails: undefined };
202
+ return { mandateTxnDetails: undefined };
241
203
  }
242
204
  exports.Data = {
243
205
  encode(message, writer = minimal_1.default.Writer.create()) {
244
- if (message.mandateDetails !== undefined) {
245
- exports.MandateDetails.encode(message.mandateDetails, writer.uint32(10).fork()).ldelim();
206
+ if (message.mandateTxnDetails !== undefined) {
207
+ exports.MandateTxnDetails.encode(message.mandateTxnDetails, writer.uint32(10).fork()).ldelim();
246
208
  }
247
209
  return writer;
248
210
  },
@@ -257,7 +219,7 @@ exports.Data = {
257
219
  if (tag !== 10) {
258
220
  break;
259
221
  }
260
- message.mandateDetails = exports.MandateDetails.decode(reader, reader.uint32());
222
+ message.mandateTxnDetails = exports.MandateTxnDetails.decode(reader, reader.uint32());
261
223
  continue;
262
224
  }
263
225
  if ((tag & 7) === 4 || tag === 0) {
@@ -269,13 +231,15 @@ exports.Data = {
269
231
  },
270
232
  fromJSON(object) {
271
233
  return {
272
- mandateDetails: isSet(object.mandateDetails) ? exports.MandateDetails.fromJSON(object.mandateDetails) : undefined,
234
+ mandateTxnDetails: isSet(object.mandateTxnDetails)
235
+ ? exports.MandateTxnDetails.fromJSON(object.mandateTxnDetails)
236
+ : undefined,
273
237
  };
274
238
  },
275
239
  toJSON(message) {
276
240
  const obj = {};
277
- if (message.mandateDetails !== undefined) {
278
- obj.mandateDetails = exports.MandateDetails.toJSON(message.mandateDetails);
241
+ if (message.mandateTxnDetails !== undefined) {
242
+ obj.mandateTxnDetails = exports.MandateTxnDetails.toJSON(message.mandateTxnDetails);
279
243
  }
280
244
  return obj;
281
245
  },
@@ -284,8 +248,8 @@ exports.Data = {
284
248
  },
285
249
  fromPartial(object) {
286
250
  const message = createBaseData();
287
- message.mandateDetails = (object.mandateDetails !== undefined && object.mandateDetails !== null)
288
- ? exports.MandateDetails.fromPartial(object.mandateDetails)
251
+ message.mandateTxnDetails = (object.mandateTxnDetails !== undefined && object.mandateTxnDetails !== null)
252
+ ? exports.MandateTxnDetails.fromPartial(object.mandateTxnDetails)
289
253
  : undefined;
290
254
  return message;
291
255
  },