@stashfin/grpc 1.2.167 → 1.2.169
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/bureau/getbasicdetails.d.ts +0 -57
- package/ts/bureau/getbasicdetails.js +0 -341
- package/ts/bureau/getdemogs.d.ts +0 -113
- package/ts/bureau/getdemogs.js +0 -611
- package/ts/bureau/getreport.d.ts +0 -188
- package/ts/bureau/getreport.js +0 -1640
- package/ts/bureau.d.ts +0 -56
- package/ts/bureau.js +0 -44
- package/ts/colender/disburseLoan.d.ts +0 -44
- package/ts/colender/disburseLoan.js +0 -256
- package/ts/colender/forecloseLoan.d.ts +0 -41
- package/ts/colender/forecloseLoan.js +0 -205
- package/ts/colender/repayLoan.d.ts +0 -48
- package/ts/colender/repayLoan.js +0 -313
- package/ts/colender.d.ts +0 -56
- package/ts/colender.js +0 -44
- package/ts/customers/aa/getbanklist.d.ts +0 -48
- package/ts/customers/aa/getbanklist.js +0 -198
- package/ts/customers/aa/initiate.d.ts +0 -40
- package/ts/customers/aa/initiate.js +0 -209
- package/ts/customers/addaddress.d.ts +0 -50
- package/ts/customers/addaddress.js +0 -265
- package/ts/customers/addbankaccountdetails.d.ts +0 -37
- package/ts/customers/addbankaccountdetails.js +0 -147
- package/ts/customers/addfathersname.d.ts +0 -35
- package/ts/customers/addfathersname.js +0 -117
- package/ts/customers/addgstnumber.d.ts +0 -35
- package/ts/customers/addgstnumber.js +0 -117
- package/ts/customers/addmoredetails.d.ts +0 -60
- package/ts/customers/addmoredetails.js +0 -314
- package/ts/customers/addsuspendedcustomer.d.ts +0 -36
- package/ts/customers/addsuspendedcustomer.js +0 -133
- package/ts/customers/adduserapps.d.ts +0 -74
- package/ts/customers/adduserapps.js +0 -210
- package/ts/customers/bulksms.d.ts +0 -48
- package/ts/customers/bulksms.js +0 -201
- package/ts/customers/changempin.d.ts +0 -36
- package/ts/customers/changempin.js +0 -133
- package/ts/customers/createcustomerreference.d.ts +0 -43
- package/ts/customers/createcustomerreference.js +0 -226
- package/ts/customers/deleteprofile.d.ts +0 -35
- package/ts/customers/deleteprofile.js +0 -120
- package/ts/customers/disablempin.d.ts +0 -34
- package/ts/customers/disablempin.js +0 -104
- package/ts/customers/fetchrcprofile.d.ts +0 -45
- package/ts/customers/fetchrcprofile.js +0 -271
- package/ts/customers/forgotmpin.d.ts +0 -35
- package/ts/customers/forgotmpin.js +0 -117
- package/ts/customers/forgotmpinverify.d.ts +0 -36
- package/ts/customers/forgotmpinverify.js +0 -133
- package/ts/customers/getbankaccountdetails.d.ts +0 -37
- package/ts/customers/getbankaccountdetails.js +0 -148
- package/ts/customers/getbasicinfo.d.ts +0 -56
- package/ts/customers/getbasicinfo.js +0 -323
- package/ts/customers/getcities.d.ts +0 -47
- package/ts/customers/getcities.js +0 -183
- package/ts/customers/getcompanyaccdetails.d.ts +0 -37
- package/ts/customers/getcompanyaccdetails.js +0 -148
- package/ts/customers/getcustomerbyid.d.ts +0 -142
- package/ts/customers/getcustomerbyid.js +0 -1521
- package/ts/customers/getdashboard.d.ts +0 -88
- package/ts/customers/getdashboard.js +0 -574
- package/ts/customers/getdashboardmaincard.d.ts +0 -70
- package/ts/customers/getdashboardmaincard.js +0 -534
- package/ts/customers/getdocuments.d.ts +0 -46
- package/ts/customers/getdocuments.js +0 -174
- package/ts/customers/getlimit.d.ts +0 -37
- package/ts/customers/getlimit.js +0 -148
- package/ts/customers/getprofessionalinfo.d.ts +0 -54
- package/ts/customers/getprofessionalinfo.js +0 -286
- package/ts/customers/getprofile.d.ts +0 -54
- package/ts/customers/getprofile.js +0 -296
- package/ts/customers/getselfieetxnid.d.ts +0 -34
- package/ts/customers/getselfieetxnid.js +0 -104
- package/ts/customers/getstates.d.ts +0 -46
- package/ts/customers/getstates.js +0 -170
- package/ts/customers/getstep.d.ts +0 -69
- package/ts/customers/getstep.js +0 -406
- package/ts/customers/logout.d.ts +0 -34
- package/ts/customers/logout.js +0 -104
- package/ts/customers/profilebasic.d.ts +0 -40
- package/ts/customers/profilebasic.js +0 -189
- package/ts/customers/profileupdatetnc.d.ts +0 -35
- package/ts/customers/profileupdatetnc.js +0 -117
- package/ts/customers/savebasicdetails.d.ts +0 -47
- package/ts/customers/savebasicdetails.js +0 -185
- package/ts/customers/saveunlocklimit.d.ts +0 -34
- package/ts/customers/saveunlocklimit.js +0 -104
- package/ts/customers/sendotp.d.ts +0 -38
- package/ts/customers/sendotp.js +0 -165
- package/ts/customers/sendotptoemail.d.ts +0 -35
- package/ts/customers/sendotptoemail.js +0 -117
- package/ts/customers/setmpin.d.ts +0 -36
- package/ts/customers/setmpin.js +0 -133
- package/ts/customers/skipdlrcscreen.d.ts +0 -35
- package/ts/customers/skipdlrcscreen.js +0 -117
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/updatecustomerbyid.d.ts +0 -48
- package/ts/customers/updatecustomerbyid.js +0 -201
- package/ts/customers/updatedlnumber.d.ts +0 -35
- package/ts/customers/updatedlnumber.js +0 -119
- package/ts/customers/updatedob.d.ts +0 -35
- package/ts/customers/updatedob.js +0 -117
- package/ts/customers/updatelocstatus.d.ts +0 -36
- package/ts/customers/updatelocstatus.js +0 -133
- package/ts/customers/updatemobilesendotp.d.ts +0 -35
- package/ts/customers/updatemobilesendotp.js +0 -117
- package/ts/customers/updatemobileverifyotp.d.ts +0 -36
- package/ts/customers/updatemobileverifyotp.js +0 -133
- package/ts/customers/updateokyctxn.d.ts +0 -37
- package/ts/customers/updateokyctxn.js +0 -147
- package/ts/customers/updateselfieetxn.d.ts +0 -36
- package/ts/customers/updateselfieetxn.js +0 -133
- package/ts/customers/updatevehiclenumber.d.ts +0 -35
- package/ts/customers/updatevehiclenumber.js +0 -117
- package/ts/customers/uploaddocuments.d.ts +0 -37
- package/ts/customers/uploaddocuments.js +0 -172
- package/ts/customers/validatepan.d.ts +0 -45
- package/ts/customers/validatepan.js +0 -274
- package/ts/customers/verifympin.d.ts +0 -37
- package/ts/customers/verifympin.js +0 -149
- package/ts/customers/verifyotp.d.ts +0 -41
- package/ts/customers/verifyotp.js +0 -205
- package/ts/customers/verifyotptoemail.d.ts +0 -35
- package/ts/customers/verifyotptoemail.js +0 -117
- package/ts/customers.d.ts +0 -796
- package/ts/customers.js +0 -572
- package/ts/example.d.ts +0 -78
- package/ts/example.js +0 -199
- package/ts/growth/processchrpayment.d.ts +0 -40
- package/ts/growth/processchrpayment.js +0 -205
- package/ts/growth.d.ts +0 -28
- package/ts/growth.js +0 -24
- package/ts/loans/approveloan.d.ts +0 -81
- package/ts/loans/approveloan.js +0 -703
- package/ts/loans/banklist.d.ts +0 -37
- package/ts/loans/banklist.js +0 -148
- package/ts/loans/calculateemi.d.ts +0 -57
- package/ts/loans/calculateemi.js +0 -340
- package/ts/loans/creditlimit.d.ts +0 -51
- package/ts/loans/creditlimit.js +0 -381
- package/ts/loans/futurepaymentmoredetails.d.ts +0 -50
- package/ts/loans/futurepaymentmoredetails.js +0 -230
- package/ts/loans/getbilldetails.d.ts +0 -38
- package/ts/loans/getbilldetails.js +0 -161
- package/ts/loans/getcustomerloanstatus.d.ts +0 -34
- package/ts/loans/getcustomerloanstatus.js +0 -104
- package/ts/loans/getloanbyid.d.ts +0 -48
- package/ts/loans/getloanbyid.js +0 -318
- package/ts/loans/getnextdueamount.d.ts +0 -34
- package/ts/loans/getnextdueamount.js +0 -104
- package/ts/loans/getpendingemiamount.d.ts +0 -34
- package/ts/loans/getpendingemiamount.js +0 -104
- package/ts/loans/getsummarystaticfields.d.ts +0 -80
- package/ts/loans/getsummarystaticfields.js +0 -700
- package/ts/loans/loansummary.d.ts +0 -66
- package/ts/loans/loansummary.js +0 -593
- package/ts/loans/paymentallocation.d.ts +0 -38
- package/ts/loans/paymentallocation.js +0 -161
- package/ts/loans/paymenthistory.d.ts +0 -47
- package/ts/loans/paymenthistory.js +0 -188
- package/ts/loans/restructureloan.d.ts +0 -36
- package/ts/loans/restructureloan.js +0 -133
- package/ts/loans/sendemail.d.ts +0 -35
- package/ts/loans/sendemail.js +0 -117
- package/ts/loans/sendnocemail.d.ts +0 -35
- package/ts/loans/sendnocemail.js +0 -117
- package/ts/loans/transactionlist.d.ts +0 -52
- package/ts/loans/transactionlist.js +0 -257
- package/ts/loans/updateinstallments.d.ts +0 -42
- package/ts/loans/updateinstallments.js +0 -226
- package/ts/loans/updateloan.d.ts +0 -37
- package/ts/loans/updateloan.js +0 -147
- package/ts/loans.d.ts +0 -294
- package/ts/loans.js +0 -214
- package/ts/payments.d.ts +0 -239
- package/ts/payments.js +0 -1117
- package/ts/stashcash/creditsc.d.ts +0 -54
- package/ts/stashcash/creditsc.js +0 -301
- package/ts/stashcash/debitsc.d.ts +0 -59
- package/ts/stashcash/debitsc.js +0 -380
- package/ts/stashcash/getscbalance.d.ts +0 -53
- package/ts/stashcash/getscbalance.js +0 -293
- package/ts/stashcash/getschistory.d.ts +0 -73
- package/ts/stashcash/getschistory.js +0 -479
- package/ts/stashcash/reversesc.d.ts +0 -52
- package/ts/stashcash/reversesc.js +0 -273
- package/ts/stashcash.d.ts +0 -84
- package/ts/stashcash.js +0 -64
|
@@ -1,293 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.181.0
|
|
5
|
-
// protoc v5.27.4
|
|
6
|
-
// source: stashcash/getscbalance.proto
|
|
7
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.response_Data = exports.response = exports.request = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const long_1 = __importDefault(require("long"));
|
|
14
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
15
|
-
exports.protobufPackage = "stashcash.getscbalance";
|
|
16
|
-
function createBaserequest() {
|
|
17
|
-
return { customer_id: 0 };
|
|
18
|
-
}
|
|
19
|
-
exports.request = {
|
|
20
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
21
|
-
if (message.customer_id !== 0) {
|
|
22
|
-
writer.uint32(8).int64(message.customer_id);
|
|
23
|
-
}
|
|
24
|
-
return writer;
|
|
25
|
-
},
|
|
26
|
-
decode(input, length) {
|
|
27
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
28
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
29
|
-
const message = createBaserequest();
|
|
30
|
-
while (reader.pos < end) {
|
|
31
|
-
const tag = reader.uint32();
|
|
32
|
-
switch (tag >>> 3) {
|
|
33
|
-
case 1:
|
|
34
|
-
if (tag !== 8) {
|
|
35
|
-
break;
|
|
36
|
-
}
|
|
37
|
-
message.customer_id = longToNumber(reader.int64());
|
|
38
|
-
continue;
|
|
39
|
-
}
|
|
40
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
41
|
-
break;
|
|
42
|
-
}
|
|
43
|
-
reader.skipType(tag & 7);
|
|
44
|
-
}
|
|
45
|
-
return message;
|
|
46
|
-
},
|
|
47
|
-
fromJSON(object) {
|
|
48
|
-
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
49
|
-
},
|
|
50
|
-
toJSON(message) {
|
|
51
|
-
const obj = {};
|
|
52
|
-
if (message.customer_id !== 0) {
|
|
53
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
54
|
-
}
|
|
55
|
-
return obj;
|
|
56
|
-
},
|
|
57
|
-
create(base) {
|
|
58
|
-
return exports.request.fromPartial(base ?? {});
|
|
59
|
-
},
|
|
60
|
-
fromPartial(object) {
|
|
61
|
-
const message = createBaserequest();
|
|
62
|
-
message.customer_id = object.customer_id ?? 0;
|
|
63
|
-
return message;
|
|
64
|
-
},
|
|
65
|
-
};
|
|
66
|
-
function createBaseresponse() {
|
|
67
|
-
return { status: "", data: undefined };
|
|
68
|
-
}
|
|
69
|
-
exports.response = {
|
|
70
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
71
|
-
if (message.status !== "") {
|
|
72
|
-
writer.uint32(10).string(message.status);
|
|
73
|
-
}
|
|
74
|
-
if (message.data !== undefined) {
|
|
75
|
-
exports.response_Data.encode(message.data, writer.uint32(18).fork()).ldelim();
|
|
76
|
-
}
|
|
77
|
-
return writer;
|
|
78
|
-
},
|
|
79
|
-
decode(input, length) {
|
|
80
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
81
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
82
|
-
const message = createBaseresponse();
|
|
83
|
-
while (reader.pos < end) {
|
|
84
|
-
const tag = reader.uint32();
|
|
85
|
-
switch (tag >>> 3) {
|
|
86
|
-
case 1:
|
|
87
|
-
if (tag !== 10) {
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
message.status = reader.string();
|
|
91
|
-
continue;
|
|
92
|
-
case 2:
|
|
93
|
-
if (tag !== 18) {
|
|
94
|
-
break;
|
|
95
|
-
}
|
|
96
|
-
message.data = exports.response_Data.decode(reader, reader.uint32());
|
|
97
|
-
continue;
|
|
98
|
-
}
|
|
99
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
reader.skipType(tag & 7);
|
|
103
|
-
}
|
|
104
|
-
return message;
|
|
105
|
-
},
|
|
106
|
-
fromJSON(object) {
|
|
107
|
-
return {
|
|
108
|
-
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
109
|
-
data: isSet(object.data) ? exports.response_Data.fromJSON(object.data) : undefined,
|
|
110
|
-
};
|
|
111
|
-
},
|
|
112
|
-
toJSON(message) {
|
|
113
|
-
const obj = {};
|
|
114
|
-
if (message.status !== "") {
|
|
115
|
-
obj.status = message.status;
|
|
116
|
-
}
|
|
117
|
-
if (message.data !== undefined) {
|
|
118
|
-
obj.data = exports.response_Data.toJSON(message.data);
|
|
119
|
-
}
|
|
120
|
-
return obj;
|
|
121
|
-
},
|
|
122
|
-
create(base) {
|
|
123
|
-
return exports.response.fromPartial(base ?? {});
|
|
124
|
-
},
|
|
125
|
-
fromPartial(object) {
|
|
126
|
-
const message = createBaseresponse();
|
|
127
|
-
message.status = object.status ?? "";
|
|
128
|
-
message.data = (object.data !== undefined && object.data !== null)
|
|
129
|
-
? exports.response_Data.fromPartial(object.data)
|
|
130
|
-
: undefined;
|
|
131
|
-
return message;
|
|
132
|
-
},
|
|
133
|
-
};
|
|
134
|
-
function createBaseresponse_Data() {
|
|
135
|
-
return {
|
|
136
|
-
locked: 0,
|
|
137
|
-
unlocked: 0,
|
|
138
|
-
balance: 0,
|
|
139
|
-
rupee_balance: 0,
|
|
140
|
-
user_guide: false,
|
|
141
|
-
is_frozen: false,
|
|
142
|
-
conversion_factor: 0,
|
|
143
|
-
};
|
|
144
|
-
}
|
|
145
|
-
exports.response_Data = {
|
|
146
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
147
|
-
if (message.locked !== 0) {
|
|
148
|
-
writer.uint32(13).float(message.locked);
|
|
149
|
-
}
|
|
150
|
-
if (message.unlocked !== 0) {
|
|
151
|
-
writer.uint32(21).float(message.unlocked);
|
|
152
|
-
}
|
|
153
|
-
if (message.balance !== 0) {
|
|
154
|
-
writer.uint32(29).float(message.balance);
|
|
155
|
-
}
|
|
156
|
-
if (message.rupee_balance !== 0) {
|
|
157
|
-
writer.uint32(37).float(message.rupee_balance);
|
|
158
|
-
}
|
|
159
|
-
if (message.user_guide !== false) {
|
|
160
|
-
writer.uint32(40).bool(message.user_guide);
|
|
161
|
-
}
|
|
162
|
-
if (message.is_frozen !== false) {
|
|
163
|
-
writer.uint32(48).bool(message.is_frozen);
|
|
164
|
-
}
|
|
165
|
-
if (message.conversion_factor !== 0) {
|
|
166
|
-
writer.uint32(61).float(message.conversion_factor);
|
|
167
|
-
}
|
|
168
|
-
return writer;
|
|
169
|
-
},
|
|
170
|
-
decode(input, length) {
|
|
171
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
172
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
173
|
-
const message = createBaseresponse_Data();
|
|
174
|
-
while (reader.pos < end) {
|
|
175
|
-
const tag = reader.uint32();
|
|
176
|
-
switch (tag >>> 3) {
|
|
177
|
-
case 1:
|
|
178
|
-
if (tag !== 13) {
|
|
179
|
-
break;
|
|
180
|
-
}
|
|
181
|
-
message.locked = reader.float();
|
|
182
|
-
continue;
|
|
183
|
-
case 2:
|
|
184
|
-
if (tag !== 21) {
|
|
185
|
-
break;
|
|
186
|
-
}
|
|
187
|
-
message.unlocked = reader.float();
|
|
188
|
-
continue;
|
|
189
|
-
case 3:
|
|
190
|
-
if (tag !== 29) {
|
|
191
|
-
break;
|
|
192
|
-
}
|
|
193
|
-
message.balance = reader.float();
|
|
194
|
-
continue;
|
|
195
|
-
case 4:
|
|
196
|
-
if (tag !== 37) {
|
|
197
|
-
break;
|
|
198
|
-
}
|
|
199
|
-
message.rupee_balance = reader.float();
|
|
200
|
-
continue;
|
|
201
|
-
case 5:
|
|
202
|
-
if (tag !== 40) {
|
|
203
|
-
break;
|
|
204
|
-
}
|
|
205
|
-
message.user_guide = reader.bool();
|
|
206
|
-
continue;
|
|
207
|
-
case 6:
|
|
208
|
-
if (tag !== 48) {
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
message.is_frozen = reader.bool();
|
|
212
|
-
continue;
|
|
213
|
-
case 7:
|
|
214
|
-
if (tag !== 61) {
|
|
215
|
-
break;
|
|
216
|
-
}
|
|
217
|
-
message.conversion_factor = reader.float();
|
|
218
|
-
continue;
|
|
219
|
-
}
|
|
220
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
221
|
-
break;
|
|
222
|
-
}
|
|
223
|
-
reader.skipType(tag & 7);
|
|
224
|
-
}
|
|
225
|
-
return message;
|
|
226
|
-
},
|
|
227
|
-
fromJSON(object) {
|
|
228
|
-
return {
|
|
229
|
-
locked: isSet(object.locked) ? globalThis.Number(object.locked) : 0,
|
|
230
|
-
unlocked: isSet(object.unlocked) ? globalThis.Number(object.unlocked) : 0,
|
|
231
|
-
balance: isSet(object.balance) ? globalThis.Number(object.balance) : 0,
|
|
232
|
-
rupee_balance: isSet(object.rupee_balance) ? globalThis.Number(object.rupee_balance) : 0,
|
|
233
|
-
user_guide: isSet(object.user_guide) ? globalThis.Boolean(object.user_guide) : false,
|
|
234
|
-
is_frozen: isSet(object.is_frozen) ? globalThis.Boolean(object.is_frozen) : false,
|
|
235
|
-
conversion_factor: isSet(object.conversion_factor) ? globalThis.Number(object.conversion_factor) : 0,
|
|
236
|
-
};
|
|
237
|
-
},
|
|
238
|
-
toJSON(message) {
|
|
239
|
-
const obj = {};
|
|
240
|
-
if (message.locked !== 0) {
|
|
241
|
-
obj.locked = message.locked;
|
|
242
|
-
}
|
|
243
|
-
if (message.unlocked !== 0) {
|
|
244
|
-
obj.unlocked = message.unlocked;
|
|
245
|
-
}
|
|
246
|
-
if (message.balance !== 0) {
|
|
247
|
-
obj.balance = message.balance;
|
|
248
|
-
}
|
|
249
|
-
if (message.rupee_balance !== 0) {
|
|
250
|
-
obj.rupee_balance = message.rupee_balance;
|
|
251
|
-
}
|
|
252
|
-
if (message.user_guide !== false) {
|
|
253
|
-
obj.user_guide = message.user_guide;
|
|
254
|
-
}
|
|
255
|
-
if (message.is_frozen !== false) {
|
|
256
|
-
obj.is_frozen = message.is_frozen;
|
|
257
|
-
}
|
|
258
|
-
if (message.conversion_factor !== 0) {
|
|
259
|
-
obj.conversion_factor = message.conversion_factor;
|
|
260
|
-
}
|
|
261
|
-
return obj;
|
|
262
|
-
},
|
|
263
|
-
create(base) {
|
|
264
|
-
return exports.response_Data.fromPartial(base ?? {});
|
|
265
|
-
},
|
|
266
|
-
fromPartial(object) {
|
|
267
|
-
const message = createBaseresponse_Data();
|
|
268
|
-
message.locked = object.locked ?? 0;
|
|
269
|
-
message.unlocked = object.unlocked ?? 0;
|
|
270
|
-
message.balance = object.balance ?? 0;
|
|
271
|
-
message.rupee_balance = object.rupee_balance ?? 0;
|
|
272
|
-
message.user_guide = object.user_guide ?? false;
|
|
273
|
-
message.is_frozen = object.is_frozen ?? false;
|
|
274
|
-
message.conversion_factor = object.conversion_factor ?? 0;
|
|
275
|
-
return message;
|
|
276
|
-
},
|
|
277
|
-
};
|
|
278
|
-
function longToNumber(long) {
|
|
279
|
-
if (long.gt(globalThis.Number.MAX_SAFE_INTEGER)) {
|
|
280
|
-
throw new globalThis.Error("Value is larger than Number.MAX_SAFE_INTEGER");
|
|
281
|
-
}
|
|
282
|
-
if (long.lt(globalThis.Number.MIN_SAFE_INTEGER)) {
|
|
283
|
-
throw new globalThis.Error("Value is smaller than Number.MIN_SAFE_INTEGER");
|
|
284
|
-
}
|
|
285
|
-
return long.toNumber();
|
|
286
|
-
}
|
|
287
|
-
if (minimal_1.default.util.Long !== long_1.default) {
|
|
288
|
-
minimal_1.default.util.Long = long_1.default;
|
|
289
|
-
minimal_1.default.configure();
|
|
290
|
-
}
|
|
291
|
-
function isSet(value) {
|
|
292
|
-
return value !== null && value !== undefined;
|
|
293
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "stashcash.getschistory";
|
|
3
|
-
export interface request {
|
|
4
|
-
customer_id: number;
|
|
5
|
-
page: string;
|
|
6
|
-
limit: string;
|
|
7
|
-
filter_by?: string | undefined;
|
|
8
|
-
}
|
|
9
|
-
export interface response {
|
|
10
|
-
status: string;
|
|
11
|
-
data: Data | undefined;
|
|
12
|
-
}
|
|
13
|
-
export interface Data {
|
|
14
|
-
history: SCtransaction[];
|
|
15
|
-
}
|
|
16
|
-
export interface SCtransaction {
|
|
17
|
-
id: number;
|
|
18
|
-
customer_id: number;
|
|
19
|
-
campaign_id: number;
|
|
20
|
-
txn_id: string;
|
|
21
|
-
sc_type: string;
|
|
22
|
-
amount: number;
|
|
23
|
-
remaining: number;
|
|
24
|
-
txn_type: string;
|
|
25
|
-
status: string;
|
|
26
|
-
expiry?: string | undefined;
|
|
27
|
-
created_at: string;
|
|
28
|
-
is_active: boolean;
|
|
29
|
-
is_deleted: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare const request: {
|
|
32
|
-
encode(message: request, writer?: _m0.Writer): _m0.Writer;
|
|
33
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
34
|
-
fromJSON(object: any): request;
|
|
35
|
-
toJSON(message: request): unknown;
|
|
36
|
-
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
37
|
-
fromPartial<I extends Exact<DeepPartial<request>, I>>(object: I): request;
|
|
38
|
-
};
|
|
39
|
-
export declare const response: {
|
|
40
|
-
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
41
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
42
|
-
fromJSON(object: any): response;
|
|
43
|
-
toJSON(message: response): unknown;
|
|
44
|
-
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
45
|
-
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
46
|
-
};
|
|
47
|
-
export declare const Data: {
|
|
48
|
-
encode(message: Data, writer?: _m0.Writer): _m0.Writer;
|
|
49
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Data;
|
|
50
|
-
fromJSON(object: any): Data;
|
|
51
|
-
toJSON(message: Data): unknown;
|
|
52
|
-
create<I extends Exact<DeepPartial<Data>, I>>(base?: I): Data;
|
|
53
|
-
fromPartial<I extends Exact<DeepPartial<Data>, I>>(object: I): Data;
|
|
54
|
-
};
|
|
55
|
-
export declare const SCtransaction: {
|
|
56
|
-
encode(message: SCtransaction, writer?: _m0.Writer): _m0.Writer;
|
|
57
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): SCtransaction;
|
|
58
|
-
fromJSON(object: any): SCtransaction;
|
|
59
|
-
toJSON(message: SCtransaction): unknown;
|
|
60
|
-
create<I extends Exact<DeepPartial<SCtransaction>, I>>(base?: I): SCtransaction;
|
|
61
|
-
fromPartial<I extends Exact<DeepPartial<SCtransaction>, I>>(object: I): SCtransaction;
|
|
62
|
-
};
|
|
63
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
64
|
-
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
65
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
66
|
-
} : Partial<T>;
|
|
67
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
68
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
69
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
70
|
-
} & {
|
|
71
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
72
|
-
};
|
|
73
|
-
export {};
|