@stashfin/grpc 1.2.2 → 1.2.4
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 +1 -1
- package/ts/stashcash/debitsc.d.ts +1 -0
- package/ts/stashcash/debitsc.js +15 -1
package/package.json
CHANGED
package/ts/stashcash/debitsc.js
CHANGED
|
@@ -204,7 +204,7 @@ exports.response = {
|
|
|
204
204
|
},
|
|
205
205
|
};
|
|
206
206
|
function createBaseresponse_Data() {
|
|
207
|
-
return { locked: 0, unlocked: 0, balance: 0, rupee_balance: 0, txn_id: 0, conversion_factor: 0 };
|
|
207
|
+
return { locked: 0, unlocked: 0, balance: 0, rupee_balance: 0, txn_id: 0, conversion_factor: 0, txn_status: "" };
|
|
208
208
|
}
|
|
209
209
|
exports.response_Data = {
|
|
210
210
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -226,6 +226,9 @@ exports.response_Data = {
|
|
|
226
226
|
if (message.conversion_factor !== 0) {
|
|
227
227
|
writer.uint32(48).int32(message.conversion_factor);
|
|
228
228
|
}
|
|
229
|
+
if (message.txn_status !== "") {
|
|
230
|
+
writer.uint32(58).string(message.txn_status);
|
|
231
|
+
}
|
|
229
232
|
return writer;
|
|
230
233
|
},
|
|
231
234
|
decode(input, length) {
|
|
@@ -271,6 +274,12 @@ exports.response_Data = {
|
|
|
271
274
|
}
|
|
272
275
|
message.conversion_factor = reader.int32();
|
|
273
276
|
continue;
|
|
277
|
+
case 7:
|
|
278
|
+
if (tag !== 58) {
|
|
279
|
+
break;
|
|
280
|
+
}
|
|
281
|
+
message.txn_status = reader.string();
|
|
282
|
+
continue;
|
|
274
283
|
}
|
|
275
284
|
if ((tag & 7) === 4 || tag === 0) {
|
|
276
285
|
break;
|
|
@@ -287,6 +296,7 @@ exports.response_Data = {
|
|
|
287
296
|
rupee_balance: isSet(object.rupee_balance) ? globalThis.Number(object.rupee_balance) : 0,
|
|
288
297
|
txn_id: isSet(object.txn_id) ? globalThis.Number(object.txn_id) : 0,
|
|
289
298
|
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) : 0,
|
|
299
|
+
txn_status: isSet(object.txn_status) ? globalThis.String(object.txn_status) : "",
|
|
290
300
|
};
|
|
291
301
|
},
|
|
292
302
|
toJSON(message) {
|
|
@@ -309,6 +319,9 @@ exports.response_Data = {
|
|
|
309
319
|
if (message.conversion_factor !== 0) {
|
|
310
320
|
obj.conversion_factor = Math.round(message.conversion_factor);
|
|
311
321
|
}
|
|
322
|
+
if (message.txn_status !== "") {
|
|
323
|
+
obj.txn_status = message.txn_status;
|
|
324
|
+
}
|
|
312
325
|
return obj;
|
|
313
326
|
},
|
|
314
327
|
create(base) {
|
|
@@ -322,6 +335,7 @@ exports.response_Data = {
|
|
|
322
335
|
message.rupee_balance = object.rupee_balance ?? 0;
|
|
323
336
|
message.txn_id = object.txn_id ?? 0;
|
|
324
337
|
message.conversion_factor = object.conversion_factor ?? 0;
|
|
338
|
+
message.txn_status = object.txn_status ?? "";
|
|
325
339
|
return message;
|
|
326
340
|
},
|
|
327
341
|
};
|