@stashfin/grpc 1.2.51 → 1.2.54
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/README.md +74 -0
- package/package.json +3 -2
- package/src/proto/customers/addaddress.proto +25 -0
- package/src/proto/customers/addbankaccountdetails.proto +13 -0
- package/src/proto/customers/createcustomerreference.proto +21 -0
- package/src/proto/customers/forgotmpin.proto +12 -0
- package/src/proto/customers/forgotmpinotp.proto +10 -0
- package/src/proto/customers/getbankaccountdetails.proto +11 -0
- package/src/proto/customers/getbasicinfo.proto +24 -0
- package/src/proto/customers/getcities.proto +16 -0
- package/src/proto/customers/getcustomerbyid.proto +31 -0
- package/src/proto/customers/getdashboard.proto +47 -0
- package/src/proto/customers/getdashboardmaincard.proto +37 -0
- package/src/proto/customers/getkycweburl.proto +10 -0
- package/src/proto/customers/getprofessionalinfo.proto +22 -0
- package/src/proto/customers/getprofile.proto +22 -0
- package/src/proto/customers/getstates.proto +15 -0
- package/src/proto/customers/getstep.proto +30 -0
- package/src/proto/customers/profilebasic.proto +14 -0
- package/src/proto/customers/profileupdatetnc.proto +11 -0
- package/src/proto/customers/resetmpin.proto +13 -0
- package/src/proto/customers/savebasicdetails.proto +16 -0
- package/src/proto/customers/saveunlocklimit.proto +10 -0
- package/src/proto/customers/sendemailtoken.proto +11 -0
- package/src/proto/customers/sendotp.proto +14 -0
- package/src/proto/customers/setmpin.proto +12 -0
- package/src/proto/customers/step10.proto +34 -0
- package/src/proto/customers/step7.proto +29 -0
- package/src/proto/customers/step8.proto +30 -0
- package/src/proto/customers/step9.proto +36 -0
- package/src/proto/customers/stepstatic.proto +27 -0
- package/src/proto/customers/updatedigilockertxn.proto +13 -0
- package/src/proto/customers/updatedob.proto +13 -0
- package/src/proto/customers/updatehypervergetxn.proto +12 -0
- package/src/proto/customers/verifyemail.proto +11 -0
- package/src/proto/customers/verifympin.proto +13 -0
- package/src/proto/customers/verifyotp.proto +17 -0
- package/src/proto/customers.proto +83 -0
- package/src/proto/example.proto +20 -0
- package/src/proto/loans/approveloan.proto +15 -0
- package/src/proto/loans/banklist.proto +12 -0
- package/src/proto/loans/calculateemi.proto +20 -0
- package/src/proto/loans/creditlimit.proto +18 -0
- package/src/proto/loans/restructureloan.proto +12 -0
- package/src/proto/loans/transactionlist.proto +18 -0
- package/src/proto/loans/updateinstallments.proto +19 -0
- package/src/proto/loans/updateloan.proto +15 -0
- package/src/proto/loans.proto +23 -0
- package/src/proto/stashcash/creditsc.proto +22 -0
- package/src/proto/stashcash/debitsc.proto +27 -0
- package/src/proto/stashcash/getscbalance.proto +21 -0
- package/src/proto/stashcash/getschistory.proto +35 -0
- package/src/proto/stashcash/reversesc.proto +20 -0
- package/src/proto/stashcash.proto +17 -0
- package/src/ts/customers/addaddress.ts +310 -0
- package/src/ts/customers/addbankaccountdetails.ts +184 -0
- package/src/ts/customers/createcustomerreference.ts +276 -0
- package/src/ts/customers/getbankaccountdetails.ts +169 -0
- package/src/ts/customers/getbasicinfo.ts +385 -0
- package/src/ts/customers/getcities.ts +227 -0
- package/src/ts/customers/getcustomerbyid.ts +492 -0
- package/src/ts/customers/getdashboard.ts +728 -0
- package/src/ts/customers/getdashboardmaincard.ts +608 -0
- package/src/ts/customers/getkycweburl.ts +133 -0
- package/src/ts/customers/getprofessionalinfo.ts +344 -0
- package/src/ts/customers/getprofile.ts +338 -0
- package/src/ts/customers/getstates.ts +212 -0
- package/src/ts/customers/getstep.ts +483 -0
- package/src/ts/customers/profilebasic.ts +198 -0
- package/src/ts/customers/profileupdatetnc.ts +148 -0
- package/src/ts/customers/resetmpin.ts +166 -0
- package/src/ts/customers/savebasicdetails.ts +229 -0
- package/src/ts/customers/saveunlocklimit.ts +133 -0
- package/src/ts/customers/sendemailtoken.ts +148 -0
- package/src/ts/customers/sendotp.ts +202 -0
- package/src/ts/customers/setmpin.ts +166 -0
- package/src/ts/customers/step10.ts +544 -0
- package/src/ts/customers/step7.ts +456 -0
- package/src/ts/customers/step8.ts +472 -0
- package/src/ts/customers/step9.ts +578 -0
- package/src/ts/customers/stepstatic.ts +425 -0
- package/src/ts/customers/updatedigilockertxn.ts +182 -0
- package/src/ts/customers/updatehypervergetxn.ts +166 -0
- package/src/ts/customers/verifyemail.ts +148 -0
- package/src/ts/customers/verifympin.ts +184 -0
- package/src/ts/customers/verifyotp.ts +232 -0
- package/src/ts/customers.ts +1038 -0
- package/src/ts/example.ts +294 -0
- package/{ts/google/protobuf/timestamp.d.ts → src/ts/google/protobuf/timestamp.ts} +126 -30
- package/src/ts/loans/approveloan.ts +214 -0
- package/src/ts/loans/banklist.ts +183 -0
- package/src/ts/loans/calculateemi.ts +295 -0
- package/src/ts/loans/creditlimit.ts +294 -0
- package/src/ts/loans/restructureloan.ts +166 -0
- package/src/ts/loans/transactionlist.ts +281 -0
- package/src/ts/loans/updateinstallments.ts +271 -0
- package/src/ts/loans/updateloan.ts +214 -0
- package/src/ts/loans.ts +221 -0
- package/src/ts/stashcash/creditsc.ts +361 -0
- package/src/ts/stashcash/debitsc.ts +450 -0
- package/src/ts/stashcash/getscbalance.ts +351 -0
- package/src/ts/stashcash/getschistory.ts +566 -0
- package/src/ts/stashcash/reversesc.ts +329 -0
- package/src/ts/stashcash.ts +152 -0
- package/tsconfig.json +18 -0
- 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/createcustomerreference.d.ts +0 -43
- package/ts/customers/createcustomerreference.js +0 -226
- package/ts/customers/getbankaccountdetails.d.ts +0 -36
- package/ts/customers/getbankaccountdetails.js +0 -134
- 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/getcustomerbyid.d.ts +0 -55
- package/ts/customers/getcustomerbyid.js +0 -421
- package/ts/customers/getdashboard.d.ts +0 -91
- package/ts/customers/getdashboard.js +0 -618
- package/ts/customers/getdashboardmaincard.d.ts +0 -69
- package/ts/customers/getdashboardmaincard.js +0 -520
- package/ts/customers/getkycweburl.d.ts +0 -34
- package/ts/customers/getkycweburl.js +0 -104
- package/ts/customers/getprofessionalinfo.d.ts +0 -54
- package/ts/customers/getprofessionalinfo.js +0 -286
- package/ts/customers/getprofile.d.ts +0 -53
- package/ts/customers/getprofile.js +0 -282
- 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/profilebasic.d.ts +0 -38
- package/ts/customers/profilebasic.js +0 -161
- package/ts/customers/profileupdatetnc.d.ts +0 -35
- package/ts/customers/profileupdatetnc.js +0 -117
- package/ts/customers/resetmpin.d.ts +0 -36
- package/ts/customers/resetmpin.js +0 -133
- 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/sendemailtoken.d.ts +0 -35
- package/ts/customers/sendemailtoken.js +0 -117
- package/ts/customers/sendotp.d.ts +0 -38
- package/ts/customers/sendotp.js +0 -165
- package/ts/customers/setmpin.d.ts +0 -36
- package/ts/customers/setmpin.js +0 -133
- package/ts/customers/step1.d.ts +0 -71
- package/ts/customers/step1.js +0 -423
- package/ts/customers/step10.d.ts +0 -73
- package/ts/customers/step10.js +0 -459
- package/ts/customers/step2.d.ts +0 -67
- package/ts/customers/step2.js +0 -366
- package/ts/customers/step7.d.ts +0 -68
- package/ts/customers/step7.js +0 -381
- package/ts/customers/step8.d.ts +0 -69
- package/ts/customers/step8.js +0 -395
- package/ts/customers/step9.d.ts +0 -75
- package/ts/customers/step9.js +0 -489
- package/ts/customers/stepstatic.d.ts +0 -66
- package/ts/customers/stepstatic.js +0 -354
- package/ts/customers/updatedigilockertxn.d.ts +0 -37
- package/ts/customers/updatedigilockertxn.js +0 -147
- package/ts/customers/updatehypervergetxn.d.ts +0 -36
- package/ts/customers/updatehypervergetxn.js +0 -133
- package/ts/customers/verifyemail.d.ts +0 -35
- package/ts/customers/verifyemail.js +0 -117
- package/ts/customers/verifympin.d.ts +0 -37
- package/ts/customers/verifympin.js +0 -149
- package/ts/customers/verifyotp.d.ts +0 -40
- package/ts/customers/verifyotp.js +0 -191
- package/ts/customers.d.ts +0 -540
- package/ts/customers.js +0 -388
- package/ts/example.d.ts +0 -78
- package/ts/example.js +0 -199
- package/ts/google/protobuf/timestamp.js +0 -97
- package/ts/loans/approveloan.d.ts +0 -39
- package/ts/loans/approveloan.js +0 -175
- package/ts/loans/banklist.d.ts +0 -37
- package/ts/loans/banklist.js +0 -148
- package/ts/loans/calculateemi.d.ts +0 -51
- package/ts/loans/calculateemi.js +0 -243
- package/ts/loans/creditlimit.d.ts +0 -43
- package/ts/loans/creditlimit.js +0 -247
- package/ts/loans/restructureloan.d.ts +0 -36
- package/ts/loans/restructureloan.js +0 -133
- package/ts/loans/transactionlist.d.ts +0 -50
- package/ts/loans/transactionlist.js +0 -229
- package/ts/loans/updateinstallments.d.ts +0 -42
- package/ts/loans/updateinstallments.js +0 -226
- package/ts/loans/updateloan.d.ts +0 -39
- package/ts/loans/updateloan.js +0 -175
- package/ts/loans.d.ts +0 -112
- package/ts/loans.js +0 -84
- 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,191 +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 v3.20.3
|
|
6
|
-
// source: customers/verifyotp.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.verifyOtpResponse = exports.verifyOtpReqeust = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customers.verifyotp";
|
|
15
|
-
function createBaseverifyOtpReqeust() {
|
|
16
|
-
return { mobile: "", device_id: "", otp: "", token: "", tnc: false };
|
|
17
|
-
}
|
|
18
|
-
exports.verifyOtpReqeust = {
|
|
19
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.mobile !== "") {
|
|
21
|
-
writer.uint32(10).string(message.mobile);
|
|
22
|
-
}
|
|
23
|
-
if (message.device_id !== "") {
|
|
24
|
-
writer.uint32(18).string(message.device_id);
|
|
25
|
-
}
|
|
26
|
-
if (message.otp !== "") {
|
|
27
|
-
writer.uint32(26).string(message.otp);
|
|
28
|
-
}
|
|
29
|
-
if (message.token !== "") {
|
|
30
|
-
writer.uint32(34).string(message.token);
|
|
31
|
-
}
|
|
32
|
-
if (message.tnc !== false) {
|
|
33
|
-
writer.uint32(40).bool(message.tnc);
|
|
34
|
-
}
|
|
35
|
-
return writer;
|
|
36
|
-
},
|
|
37
|
-
decode(input, length) {
|
|
38
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
39
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
40
|
-
const message = createBaseverifyOtpReqeust();
|
|
41
|
-
while (reader.pos < end) {
|
|
42
|
-
const tag = reader.uint32();
|
|
43
|
-
switch (tag >>> 3) {
|
|
44
|
-
case 1:
|
|
45
|
-
if (tag !== 10) {
|
|
46
|
-
break;
|
|
47
|
-
}
|
|
48
|
-
message.mobile = reader.string();
|
|
49
|
-
continue;
|
|
50
|
-
case 2:
|
|
51
|
-
if (tag !== 18) {
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
message.device_id = reader.string();
|
|
55
|
-
continue;
|
|
56
|
-
case 3:
|
|
57
|
-
if (tag !== 26) {
|
|
58
|
-
break;
|
|
59
|
-
}
|
|
60
|
-
message.otp = reader.string();
|
|
61
|
-
continue;
|
|
62
|
-
case 4:
|
|
63
|
-
if (tag !== 34) {
|
|
64
|
-
break;
|
|
65
|
-
}
|
|
66
|
-
message.token = reader.string();
|
|
67
|
-
continue;
|
|
68
|
-
case 5:
|
|
69
|
-
if (tag !== 40) {
|
|
70
|
-
break;
|
|
71
|
-
}
|
|
72
|
-
message.tnc = reader.bool();
|
|
73
|
-
continue;
|
|
74
|
-
}
|
|
75
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
76
|
-
break;
|
|
77
|
-
}
|
|
78
|
-
reader.skipType(tag & 7);
|
|
79
|
-
}
|
|
80
|
-
return message;
|
|
81
|
-
},
|
|
82
|
-
fromJSON(object) {
|
|
83
|
-
return {
|
|
84
|
-
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
85
|
-
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
86
|
-
otp: isSet(object.otp) ? globalThis.String(object.otp) : "",
|
|
87
|
-
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
88
|
-
tnc: isSet(object.tnc) ? globalThis.Boolean(object.tnc) : false,
|
|
89
|
-
};
|
|
90
|
-
},
|
|
91
|
-
toJSON(message) {
|
|
92
|
-
const obj = {};
|
|
93
|
-
if (message.mobile !== "") {
|
|
94
|
-
obj.mobile = message.mobile;
|
|
95
|
-
}
|
|
96
|
-
if (message.device_id !== "") {
|
|
97
|
-
obj.device_id = message.device_id;
|
|
98
|
-
}
|
|
99
|
-
if (message.otp !== "") {
|
|
100
|
-
obj.otp = message.otp;
|
|
101
|
-
}
|
|
102
|
-
if (message.token !== "") {
|
|
103
|
-
obj.token = message.token;
|
|
104
|
-
}
|
|
105
|
-
if (message.tnc !== false) {
|
|
106
|
-
obj.tnc = message.tnc;
|
|
107
|
-
}
|
|
108
|
-
return obj;
|
|
109
|
-
},
|
|
110
|
-
create(base) {
|
|
111
|
-
return exports.verifyOtpReqeust.fromPartial(base ?? {});
|
|
112
|
-
},
|
|
113
|
-
fromPartial(object) {
|
|
114
|
-
const message = createBaseverifyOtpReqeust();
|
|
115
|
-
message.mobile = object.mobile ?? "";
|
|
116
|
-
message.device_id = object.device_id ?? "";
|
|
117
|
-
message.otp = object.otp ?? "";
|
|
118
|
-
message.token = object.token ?? "";
|
|
119
|
-
message.tnc = object.tnc ?? false;
|
|
120
|
-
return message;
|
|
121
|
-
},
|
|
122
|
-
};
|
|
123
|
-
function createBaseverifyOtpResponse() {
|
|
124
|
-
return { ismpin: false, jwttoken: "" };
|
|
125
|
-
}
|
|
126
|
-
exports.verifyOtpResponse = {
|
|
127
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
128
|
-
if (message.ismpin !== false) {
|
|
129
|
-
writer.uint32(8).bool(message.ismpin);
|
|
130
|
-
}
|
|
131
|
-
if (message.jwttoken !== "") {
|
|
132
|
-
writer.uint32(18).string(message.jwttoken);
|
|
133
|
-
}
|
|
134
|
-
return writer;
|
|
135
|
-
},
|
|
136
|
-
decode(input, length) {
|
|
137
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
138
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
139
|
-
const message = createBaseverifyOtpResponse();
|
|
140
|
-
while (reader.pos < end) {
|
|
141
|
-
const tag = reader.uint32();
|
|
142
|
-
switch (tag >>> 3) {
|
|
143
|
-
case 1:
|
|
144
|
-
if (tag !== 8) {
|
|
145
|
-
break;
|
|
146
|
-
}
|
|
147
|
-
message.ismpin = reader.bool();
|
|
148
|
-
continue;
|
|
149
|
-
case 2:
|
|
150
|
-
if (tag !== 18) {
|
|
151
|
-
break;
|
|
152
|
-
}
|
|
153
|
-
message.jwttoken = reader.string();
|
|
154
|
-
continue;
|
|
155
|
-
}
|
|
156
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
157
|
-
break;
|
|
158
|
-
}
|
|
159
|
-
reader.skipType(tag & 7);
|
|
160
|
-
}
|
|
161
|
-
return message;
|
|
162
|
-
},
|
|
163
|
-
fromJSON(object) {
|
|
164
|
-
return {
|
|
165
|
-
ismpin: isSet(object.ismpin) ? globalThis.Boolean(object.ismpin) : false,
|
|
166
|
-
jwttoken: isSet(object.jwttoken) ? globalThis.String(object.jwttoken) : "",
|
|
167
|
-
};
|
|
168
|
-
},
|
|
169
|
-
toJSON(message) {
|
|
170
|
-
const obj = {};
|
|
171
|
-
if (message.ismpin !== false) {
|
|
172
|
-
obj.ismpin = message.ismpin;
|
|
173
|
-
}
|
|
174
|
-
if (message.jwttoken !== "") {
|
|
175
|
-
obj.jwttoken = message.jwttoken;
|
|
176
|
-
}
|
|
177
|
-
return obj;
|
|
178
|
-
},
|
|
179
|
-
create(base) {
|
|
180
|
-
return exports.verifyOtpResponse.fromPartial(base ?? {});
|
|
181
|
-
},
|
|
182
|
-
fromPartial(object) {
|
|
183
|
-
const message = createBaseverifyOtpResponse();
|
|
184
|
-
message.ismpin = object.ismpin ?? false;
|
|
185
|
-
message.jwttoken = object.jwttoken ?? "";
|
|
186
|
-
return message;
|
|
187
|
-
},
|
|
188
|
-
};
|
|
189
|
-
function isSet(value) {
|
|
190
|
-
return value !== null && value !== undefined;
|
|
191
|
-
}
|