@stashfin/grpc 1.2.52 → 1.2.58
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 +2 -1
- package/ts/customers/addaddress.d.ts +50 -0
- package/ts/customers/addaddress.js +265 -0
- package/ts/customers/addbankaccountdetails.d.ts +37 -0
- package/ts/customers/addbankaccountdetails.js +147 -0
- package/ts/customers/createcustomerreference.d.ts +43 -0
- package/ts/customers/createcustomerreference.js +226 -0
- package/ts/customers/forgotmpin.d.ts +36 -0
- package/ts/{customer/sendotp.js → customers/forgotmpin.js} +46 -46
- package/ts/customers/forgotmpinotp.d.ts +34 -0
- package/ts/customers/forgotmpinotp.js +104 -0
- package/ts/customers/getbankaccountdetails.js +1 -1
- package/ts/customers/getbasicinfo.d.ts +20 -3
- package/ts/customers/getbasicinfo.js +171 -24
- package/ts/customers/getcities.d.ts +47 -0
- package/ts/customers/getcities.js +183 -0
- package/ts/customers/getcustomerbyid.d.ts +5 -0
- package/ts/customers/getcustomerbyid.js +76 -1
- package/ts/customers/getdashboard.d.ts +1 -0
- package/ts/customers/getdashboard.js +49 -34
- package/ts/customers/getdashboardmaincard.js +1 -1
- package/ts/customers/getkycweburl.d.ts +34 -0
- package/ts/customers/getkycweburl.js +104 -0
- package/ts/customers/getprofessionalinfo.d.ts +18 -1
- package/ts/customers/getprofessionalinfo.js +148 -10
- package/ts/customers/getprofile.d.ts +17 -2
- package/ts/customers/getprofile.js +146 -26
- package/ts/customers/getstates.d.ts +46 -0
- package/ts/customers/getstates.js +170 -0
- package/ts/customers/getstep.d.ts +19 -28
- package/ts/customers/getstep.js +159 -173
- package/ts/customers/profilebasic.js +1 -1
- package/ts/customers/profileupdatetnc.js +1 -1
- package/ts/customers/resetmpin.d.ts +36 -0
- package/ts/customers/resetmpin.js +133 -0
- package/ts/customers/savebasicdetails.d.ts +47 -0
- package/ts/customers/savebasicdetails.js +185 -0
- package/ts/customers/saveunlocklimit.d.ts +34 -0
- package/ts/customers/saveunlocklimit.js +104 -0
- package/ts/customers/sendemailtoken.js +1 -1
- package/ts/customers/sendotp.js +1 -1
- package/ts/customers/setmpin.js +1 -1
- package/ts/customers/step1.d.ts +2 -0
- package/ts/customers/step1.js +32 -4
- package/ts/customers/step10.js +1 -1
- package/ts/customers/step2.d.ts +5 -6
- package/ts/customers/step2.js +22 -37
- package/ts/customers/step7.js +1 -1
- package/ts/customers/step8.js +1 -1
- package/ts/customers/step9.js +1 -1
- package/ts/customers/stepstatic.js +1 -1
- package/ts/customers/updatedigilockertxn.d.ts +37 -0
- package/ts/{customer/verifympin.js → customers/updatedigilockertxn.js} +46 -48
- package/ts/customers/updatedob.d.ts +35 -0
- package/ts/{customer/profileupdatetnc.js → customers/updatedob.js} +22 -22
- package/ts/customers/updatehypervergetxn.d.ts +36 -0
- package/ts/{customer/setmpin.js → customers/updatehypervergetxn.js} +30 -30
- package/ts/customers/verifyemail.js +1 -1
- package/ts/customers/verifympin.js +1 -1
- package/ts/customers/verifyotp.d.ts +1 -0
- package/ts/customers/verifyotp.js +16 -2
- package/ts/customers.d.ts +222 -28
- package/ts/customers.js +155 -17
- package/ts/example.js +1 -1
- package/ts/google/protobuf/timestamp.js +1 -1
- package/ts/loans/approveloan.js +1 -1
- package/ts/loans/banklist.d.ts +0 -11
- package/ts/loans/banklist.js +6 -60
- package/ts/loans/calculateemi.d.ts +16 -2
- package/ts/loans/calculateemi.js +115 -19
- package/ts/loans/creditlimit.d.ts +8 -0
- package/ts/loans/creditlimit.js +129 -2
- package/ts/loans/restructureloan.d.ts +36 -0
- package/ts/loans/restructureloan.js +133 -0
- package/ts/loans/transactionlist.d.ts +50 -0
- package/ts/loans/transactionlist.js +229 -0
- package/ts/loans/updateinstallments.js +1 -1
- package/ts/loans/updateloan.js +1 -1
- package/ts/loans.d.ts +28 -0
- package/ts/loans.js +21 -1
- package/ts/stashcash/creditsc.js +1 -1
- package/ts/stashcash/debitsc.js +1 -1
- package/ts/stashcash/getscbalance.js +1 -1
- package/ts/stashcash/getschistory.js +1 -1
- package/ts/stashcash/reversesc.js +1 -1
- package/ts/stashcash.js +1 -1
- package/ts/customer/getprofile.d.ts +0 -38
- package/ts/customer/getprofile.js +0 -162
- package/ts/customer/getstep.d.ts +0 -78
- package/ts/customer/getstep.js +0 -420
- package/ts/customer/profileupdatetnc.d.ts +0 -35
- package/ts/customer/sendotp.d.ts +0 -36
- package/ts/customer/setmpin.d.ts +0 -36
- package/ts/customer/step1.d.ts +0 -69
- package/ts/customer/step1.js +0 -395
- package/ts/customer/step10.d.ts +0 -73
- package/ts/customer/step10.js +0 -459
- package/ts/customer/step2.d.ts +0 -68
- package/ts/customer/step2.js +0 -381
- package/ts/customer/step7.d.ts +0 -68
- package/ts/customer/step7.js +0 -381
- package/ts/customer/step8.d.ts +0 -69
- package/ts/customer/step8.js +0 -395
- package/ts/customer/step9.d.ts +0 -75
- package/ts/customer/step9.js +0 -489
- package/ts/customer/stepstatic.d.ts +0 -66
- package/ts/customer/stepstatic.js +0 -352
- package/ts/customer/verifympin.d.ts +0 -37
- package/ts/customer/verifyotp.d.ts +0 -39
- package/ts/customer/verifyotp.js +0 -177
- package/ts/customer.d.ts +0 -262
- package/ts/customer.js +0 -190
- package/ts/google/protobuf/any.d.ts +0 -138
- package/ts/google/protobuf/any.js +0 -108
- package/ts/payments/checkpaymentstatus.d.ts +0 -51
- package/ts/payments/checkpaymentstatus.js +0 -259
- package/ts/payments/createorder.d.ts +0 -39
- package/ts/payments/createorder.js +0 -191
- package/ts/payments/getpaymentdetails.d.ts +0 -58
- package/ts/payments/getpaymentdetails.js +0 -367
- package/ts/payments/getpaymentoptions.d.ts +0 -50
- package/ts/payments/getpaymentoptions.js +0 -231
- package/ts/payments/initiatepayment.d.ts +0 -54
- package/ts/payments/initiatepayment.js +0 -299
- package/ts/payments.d.ts +0 -70
- package/ts/payments.js +0 -54
|
@@ -0,0 +1,226 @@
|
|
|
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/createcustomerreference.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.createCustomerReferenceResponse = exports.createCustomerReferenceRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.createcustomerreference";
|
|
15
|
+
function createBasecreateCustomerReferenceRequest() {
|
|
16
|
+
return {
|
|
17
|
+
reference_name: "",
|
|
18
|
+
relationship: "",
|
|
19
|
+
mobile_number: "",
|
|
20
|
+
email: "",
|
|
21
|
+
address: "",
|
|
22
|
+
pincode: "",
|
|
23
|
+
state_id: 0,
|
|
24
|
+
city_id: 0,
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
exports.createCustomerReferenceRequest = {
|
|
28
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
29
|
+
if (message.reference_name !== "") {
|
|
30
|
+
writer.uint32(10).string(message.reference_name);
|
|
31
|
+
}
|
|
32
|
+
if (message.relationship !== "") {
|
|
33
|
+
writer.uint32(18).string(message.relationship);
|
|
34
|
+
}
|
|
35
|
+
if (message.mobile_number !== "") {
|
|
36
|
+
writer.uint32(26).string(message.mobile_number);
|
|
37
|
+
}
|
|
38
|
+
if (message.email !== "") {
|
|
39
|
+
writer.uint32(34).string(message.email);
|
|
40
|
+
}
|
|
41
|
+
if (message.address !== "") {
|
|
42
|
+
writer.uint32(42).string(message.address);
|
|
43
|
+
}
|
|
44
|
+
if (message.pincode !== "") {
|
|
45
|
+
writer.uint32(50).string(message.pincode);
|
|
46
|
+
}
|
|
47
|
+
if (message.state_id !== 0) {
|
|
48
|
+
writer.uint32(56).int32(message.state_id);
|
|
49
|
+
}
|
|
50
|
+
if (message.city_id !== 0) {
|
|
51
|
+
writer.uint32(64).int32(message.city_id);
|
|
52
|
+
}
|
|
53
|
+
return writer;
|
|
54
|
+
},
|
|
55
|
+
decode(input, length) {
|
|
56
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
57
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
58
|
+
const message = createBasecreateCustomerReferenceRequest();
|
|
59
|
+
while (reader.pos < end) {
|
|
60
|
+
const tag = reader.uint32();
|
|
61
|
+
switch (tag >>> 3) {
|
|
62
|
+
case 1:
|
|
63
|
+
if (tag !== 10) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.reference_name = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
case 2:
|
|
69
|
+
if (tag !== 18) {
|
|
70
|
+
break;
|
|
71
|
+
}
|
|
72
|
+
message.relationship = reader.string();
|
|
73
|
+
continue;
|
|
74
|
+
case 3:
|
|
75
|
+
if (tag !== 26) {
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
message.mobile_number = reader.string();
|
|
79
|
+
continue;
|
|
80
|
+
case 4:
|
|
81
|
+
if (tag !== 34) {
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
message.email = reader.string();
|
|
85
|
+
continue;
|
|
86
|
+
case 5:
|
|
87
|
+
if (tag !== 42) {
|
|
88
|
+
break;
|
|
89
|
+
}
|
|
90
|
+
message.address = reader.string();
|
|
91
|
+
continue;
|
|
92
|
+
case 6:
|
|
93
|
+
if (tag !== 50) {
|
|
94
|
+
break;
|
|
95
|
+
}
|
|
96
|
+
message.pincode = reader.string();
|
|
97
|
+
continue;
|
|
98
|
+
case 7:
|
|
99
|
+
if (tag !== 56) {
|
|
100
|
+
break;
|
|
101
|
+
}
|
|
102
|
+
message.state_id = reader.int32();
|
|
103
|
+
continue;
|
|
104
|
+
case 8:
|
|
105
|
+
if (tag !== 64) {
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
message.city_id = reader.int32();
|
|
109
|
+
continue;
|
|
110
|
+
}
|
|
111
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
112
|
+
break;
|
|
113
|
+
}
|
|
114
|
+
reader.skipType(tag & 7);
|
|
115
|
+
}
|
|
116
|
+
return message;
|
|
117
|
+
},
|
|
118
|
+
fromJSON(object) {
|
|
119
|
+
return {
|
|
120
|
+
reference_name: isSet(object.reference_name) ? globalThis.String(object.reference_name) : "",
|
|
121
|
+
relationship: isSet(object.relationship) ? globalThis.String(object.relationship) : "",
|
|
122
|
+
mobile_number: isSet(object.mobile_number) ? globalThis.String(object.mobile_number) : "",
|
|
123
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
|
124
|
+
address: isSet(object.address) ? globalThis.String(object.address) : "",
|
|
125
|
+
pincode: isSet(object.pincode) ? globalThis.String(object.pincode) : "",
|
|
126
|
+
state_id: isSet(object.state_id) ? globalThis.Number(object.state_id) : 0,
|
|
127
|
+
city_id: isSet(object.city_id) ? globalThis.Number(object.city_id) : 0,
|
|
128
|
+
};
|
|
129
|
+
},
|
|
130
|
+
toJSON(message) {
|
|
131
|
+
const obj = {};
|
|
132
|
+
if (message.reference_name !== "") {
|
|
133
|
+
obj.reference_name = message.reference_name;
|
|
134
|
+
}
|
|
135
|
+
if (message.relationship !== "") {
|
|
136
|
+
obj.relationship = message.relationship;
|
|
137
|
+
}
|
|
138
|
+
if (message.mobile_number !== "") {
|
|
139
|
+
obj.mobile_number = message.mobile_number;
|
|
140
|
+
}
|
|
141
|
+
if (message.email !== "") {
|
|
142
|
+
obj.email = message.email;
|
|
143
|
+
}
|
|
144
|
+
if (message.address !== "") {
|
|
145
|
+
obj.address = message.address;
|
|
146
|
+
}
|
|
147
|
+
if (message.pincode !== "") {
|
|
148
|
+
obj.pincode = message.pincode;
|
|
149
|
+
}
|
|
150
|
+
if (message.state_id !== 0) {
|
|
151
|
+
obj.state_id = Math.round(message.state_id);
|
|
152
|
+
}
|
|
153
|
+
if (message.city_id !== 0) {
|
|
154
|
+
obj.city_id = Math.round(message.city_id);
|
|
155
|
+
}
|
|
156
|
+
return obj;
|
|
157
|
+
},
|
|
158
|
+
create(base) {
|
|
159
|
+
return exports.createCustomerReferenceRequest.fromPartial(base ?? {});
|
|
160
|
+
},
|
|
161
|
+
fromPartial(object) {
|
|
162
|
+
const message = createBasecreateCustomerReferenceRequest();
|
|
163
|
+
message.reference_name = object.reference_name ?? "";
|
|
164
|
+
message.relationship = object.relationship ?? "";
|
|
165
|
+
message.mobile_number = object.mobile_number ?? "";
|
|
166
|
+
message.email = object.email ?? "";
|
|
167
|
+
message.address = object.address ?? "";
|
|
168
|
+
message.pincode = object.pincode ?? "";
|
|
169
|
+
message.state_id = object.state_id ?? 0;
|
|
170
|
+
message.city_id = object.city_id ?? 0;
|
|
171
|
+
return message;
|
|
172
|
+
},
|
|
173
|
+
};
|
|
174
|
+
function createBasecreateCustomerReferenceResponse() {
|
|
175
|
+
return { reference_id: 0 };
|
|
176
|
+
}
|
|
177
|
+
exports.createCustomerReferenceResponse = {
|
|
178
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
179
|
+
if (message.reference_id !== 0) {
|
|
180
|
+
writer.uint32(8).int32(message.reference_id);
|
|
181
|
+
}
|
|
182
|
+
return writer;
|
|
183
|
+
},
|
|
184
|
+
decode(input, length) {
|
|
185
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
186
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
187
|
+
const message = createBasecreateCustomerReferenceResponse();
|
|
188
|
+
while (reader.pos < end) {
|
|
189
|
+
const tag = reader.uint32();
|
|
190
|
+
switch (tag >>> 3) {
|
|
191
|
+
case 1:
|
|
192
|
+
if (tag !== 8) {
|
|
193
|
+
break;
|
|
194
|
+
}
|
|
195
|
+
message.reference_id = reader.int32();
|
|
196
|
+
continue;
|
|
197
|
+
}
|
|
198
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
199
|
+
break;
|
|
200
|
+
}
|
|
201
|
+
reader.skipType(tag & 7);
|
|
202
|
+
}
|
|
203
|
+
return message;
|
|
204
|
+
},
|
|
205
|
+
fromJSON(object) {
|
|
206
|
+
return { reference_id: isSet(object.reference_id) ? globalThis.Number(object.reference_id) : 0 };
|
|
207
|
+
},
|
|
208
|
+
toJSON(message) {
|
|
209
|
+
const obj = {};
|
|
210
|
+
if (message.reference_id !== 0) {
|
|
211
|
+
obj.reference_id = Math.round(message.reference_id);
|
|
212
|
+
}
|
|
213
|
+
return obj;
|
|
214
|
+
},
|
|
215
|
+
create(base) {
|
|
216
|
+
return exports.createCustomerReferenceResponse.fromPartial(base ?? {});
|
|
217
|
+
},
|
|
218
|
+
fromPartial(object) {
|
|
219
|
+
const message = createBasecreateCustomerReferenceResponse();
|
|
220
|
+
message.reference_id = object.reference_id ?? 0;
|
|
221
|
+
return message;
|
|
222
|
+
},
|
|
223
|
+
};
|
|
224
|
+
function isSet(value) {
|
|
225
|
+
return value !== null && value !== undefined;
|
|
226
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.forgotmpin";
|
|
3
|
+
export interface forgotMpinRequest {
|
|
4
|
+
otp: string;
|
|
5
|
+
new_mpin: number;
|
|
6
|
+
}
|
|
7
|
+
export interface forgotMpinResponse {
|
|
8
|
+
id: number;
|
|
9
|
+
}
|
|
10
|
+
export declare const forgotMpinRequest: {
|
|
11
|
+
encode(message: forgotMpinRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinRequest;
|
|
13
|
+
fromJSON(object: any): forgotMpinRequest;
|
|
14
|
+
toJSON(message: forgotMpinRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<forgotMpinRequest>, I>>(base?: I): forgotMpinRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinRequest>, I>>(object: I): forgotMpinRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const forgotMpinResponse: {
|
|
19
|
+
encode(message: forgotMpinResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinResponse;
|
|
21
|
+
fromJSON(object: any): forgotMpinResponse;
|
|
22
|
+
toJSON(message: forgotMpinResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<forgotMpinResponse>, I>>(base?: I): forgotMpinResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinResponse>, I>>(object: I): forgotMpinResponse;
|
|
25
|
+
};
|
|
26
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
27
|
+
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 {} ? {
|
|
28
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
29
|
+
} : Partial<T>;
|
|
30
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
31
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
32
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
33
|
+
} & {
|
|
34
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
35
|
+
};
|
|
36
|
+
export {};
|
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
|
-
// source:
|
|
6
|
+
// source: customers/forgotmpin.proto
|
|
7
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.
|
|
11
|
+
exports.forgotMpinResponse = exports.forgotMpinRequest = exports.protobufPackage = void 0;
|
|
12
12
|
/* eslint-disable */
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "
|
|
15
|
-
function
|
|
16
|
-
return {
|
|
14
|
+
exports.protobufPackage = "customers.forgotmpin";
|
|
15
|
+
function createBaseforgotMpinRequest() {
|
|
16
|
+
return { otp: "", new_mpin: 0 };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.forgotMpinRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.otp !== "") {
|
|
21
|
+
writer.uint32(10).string(message.otp);
|
|
22
|
+
}
|
|
23
|
+
if (message.new_mpin !== 0) {
|
|
24
|
+
writer.uint32(16).int32(message.new_mpin);
|
|
22
25
|
}
|
|
23
26
|
return writer;
|
|
24
27
|
},
|
|
25
28
|
decode(input, length) {
|
|
26
29
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
30
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message =
|
|
31
|
+
const message = createBaseforgotMpinRequest();
|
|
29
32
|
while (reader.pos < end) {
|
|
30
33
|
const tag = reader.uint32();
|
|
31
34
|
switch (tag >>> 3) {
|
|
@@ -33,7 +36,13 @@ exports.request = {
|
|
|
33
36
|
if (tag !== 10) {
|
|
34
37
|
break;
|
|
35
38
|
}
|
|
36
|
-
message.
|
|
39
|
+
message.otp = reader.string();
|
|
40
|
+
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 16) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.new_mpin = reader.int32();
|
|
37
46
|
continue;
|
|
38
47
|
}
|
|
39
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,41 +53,45 @@ exports.request = {
|
|
|
44
53
|
return message;
|
|
45
54
|
},
|
|
46
55
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
56
|
+
return {
|
|
57
|
+
otp: isSet(object.otp) ? globalThis.String(object.otp) : "",
|
|
58
|
+
new_mpin: isSet(object.new_mpin) ? globalThis.Number(object.new_mpin) : 0,
|
|
59
|
+
};
|
|
48
60
|
},
|
|
49
61
|
toJSON(message) {
|
|
50
62
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
63
|
+
if (message.otp !== "") {
|
|
64
|
+
obj.otp = message.otp;
|
|
65
|
+
}
|
|
66
|
+
if (message.new_mpin !== 0) {
|
|
67
|
+
obj.new_mpin = Math.round(message.new_mpin);
|
|
53
68
|
}
|
|
54
69
|
return obj;
|
|
55
70
|
},
|
|
56
71
|
create(base) {
|
|
57
|
-
return exports.
|
|
72
|
+
return exports.forgotMpinRequest.fromPartial(base ?? {});
|
|
58
73
|
},
|
|
59
74
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
75
|
+
const message = createBaseforgotMpinRequest();
|
|
76
|
+
message.otp = object.otp ?? "";
|
|
77
|
+
message.new_mpin = object.new_mpin ?? 0;
|
|
62
78
|
return message;
|
|
63
79
|
},
|
|
64
80
|
};
|
|
65
|
-
function
|
|
66
|
-
return {
|
|
81
|
+
function createBaseforgotMpinResponse() {
|
|
82
|
+
return { id: 0 };
|
|
67
83
|
}
|
|
68
|
-
exports.
|
|
84
|
+
exports.forgotMpinResponse = {
|
|
69
85
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
|
-
if (message.
|
|
71
|
-
writer.uint32(8).
|
|
72
|
-
}
|
|
73
|
-
if (message.token !== "") {
|
|
74
|
-
writer.uint32(18).string(message.token);
|
|
86
|
+
if (message.id !== 0) {
|
|
87
|
+
writer.uint32(8).int32(message.id);
|
|
75
88
|
}
|
|
76
89
|
return writer;
|
|
77
90
|
},
|
|
78
91
|
decode(input, length) {
|
|
79
92
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
80
93
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
81
|
-
const message =
|
|
94
|
+
const message = createBaseforgotMpinResponse();
|
|
82
95
|
while (reader.pos < end) {
|
|
83
96
|
const tag = reader.uint32();
|
|
84
97
|
switch (tag >>> 3) {
|
|
@@ -86,13 +99,7 @@ exports.response = {
|
|
|
86
99
|
if (tag !== 8) {
|
|
87
100
|
break;
|
|
88
101
|
}
|
|
89
|
-
message.
|
|
90
|
-
continue;
|
|
91
|
-
case 2:
|
|
92
|
-
if (tag !== 18) {
|
|
93
|
-
break;
|
|
94
|
-
}
|
|
95
|
-
message.token = reader.string();
|
|
102
|
+
message.id = reader.int32();
|
|
96
103
|
continue;
|
|
97
104
|
}
|
|
98
105
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -103,28 +110,21 @@ exports.response = {
|
|
|
103
110
|
return message;
|
|
104
111
|
},
|
|
105
112
|
fromJSON(object) {
|
|
106
|
-
return {
|
|
107
|
-
ismpin: isSet(object.ismpin) ? globalThis.Boolean(object.ismpin) : false,
|
|
108
|
-
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
109
|
-
};
|
|
113
|
+
return { id: isSet(object.id) ? globalThis.Number(object.id) : 0 };
|
|
110
114
|
},
|
|
111
115
|
toJSON(message) {
|
|
112
116
|
const obj = {};
|
|
113
|
-
if (message.
|
|
114
|
-
obj.
|
|
115
|
-
}
|
|
116
|
-
if (message.token !== "") {
|
|
117
|
-
obj.token = message.token;
|
|
117
|
+
if (message.id !== 0) {
|
|
118
|
+
obj.id = Math.round(message.id);
|
|
118
119
|
}
|
|
119
120
|
return obj;
|
|
120
121
|
},
|
|
121
122
|
create(base) {
|
|
122
|
-
return exports.
|
|
123
|
+
return exports.forgotMpinResponse.fromPartial(base ?? {});
|
|
123
124
|
},
|
|
124
125
|
fromPartial(object) {
|
|
125
|
-
const message =
|
|
126
|
-
message.
|
|
127
|
-
message.token = object.token ?? "";
|
|
126
|
+
const message = createBaseforgotMpinResponse();
|
|
127
|
+
message.id = object.id ?? 0;
|
|
128
128
|
return message;
|
|
129
129
|
},
|
|
130
130
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.forgotmpinotp";
|
|
3
|
+
export interface forgotMpinOTPRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface forgotMpinOTPResponse {
|
|
6
|
+
success: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare const forgotMpinOTPRequest: {
|
|
9
|
+
encode(_: forgotMpinOTPRequest, writer?: _m0.Writer): _m0.Writer;
|
|
10
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinOTPRequest;
|
|
11
|
+
fromJSON(_: any): forgotMpinOTPRequest;
|
|
12
|
+
toJSON(_: forgotMpinOTPRequest): unknown;
|
|
13
|
+
create<I extends Exact<DeepPartial<forgotMpinOTPRequest>, I>>(base?: I): forgotMpinOTPRequest;
|
|
14
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinOTPRequest>, I>>(_: I): forgotMpinOTPRequest;
|
|
15
|
+
};
|
|
16
|
+
export declare const forgotMpinOTPResponse: {
|
|
17
|
+
encode(message: forgotMpinOTPResponse, writer?: _m0.Writer): _m0.Writer;
|
|
18
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): forgotMpinOTPResponse;
|
|
19
|
+
fromJSON(object: any): forgotMpinOTPResponse;
|
|
20
|
+
toJSON(message: forgotMpinOTPResponse): unknown;
|
|
21
|
+
create<I extends Exact<DeepPartial<forgotMpinOTPResponse>, I>>(base?: I): forgotMpinOTPResponse;
|
|
22
|
+
fromPartial<I extends Exact<DeepPartial<forgotMpinOTPResponse>, I>>(object: I): forgotMpinOTPResponse;
|
|
23
|
+
};
|
|
24
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
25
|
+
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 {} ? {
|
|
26
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
27
|
+
} : Partial<T>;
|
|
28
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
29
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
30
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
31
|
+
} & {
|
|
32
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,104 @@
|
|
|
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/forgotmpinotp.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.forgotMpinOTPResponse = exports.forgotMpinOTPRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.forgotmpinotp";
|
|
15
|
+
function createBaseforgotMpinOTPRequest() {
|
|
16
|
+
return {};
|
|
17
|
+
}
|
|
18
|
+
exports.forgotMpinOTPRequest = {
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
return writer;
|
|
21
|
+
},
|
|
22
|
+
decode(input, length) {
|
|
23
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
24
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
25
|
+
const message = createBaseforgotMpinOTPRequest();
|
|
26
|
+
while (reader.pos < end) {
|
|
27
|
+
const tag = reader.uint32();
|
|
28
|
+
switch (tag >>> 3) {
|
|
29
|
+
}
|
|
30
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
31
|
+
break;
|
|
32
|
+
}
|
|
33
|
+
reader.skipType(tag & 7);
|
|
34
|
+
}
|
|
35
|
+
return message;
|
|
36
|
+
},
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
39
|
+
},
|
|
40
|
+
toJSON(_) {
|
|
41
|
+
const obj = {};
|
|
42
|
+
return obj;
|
|
43
|
+
},
|
|
44
|
+
create(base) {
|
|
45
|
+
return exports.forgotMpinOTPRequest.fromPartial(base ?? {});
|
|
46
|
+
},
|
|
47
|
+
fromPartial(_) {
|
|
48
|
+
const message = createBaseforgotMpinOTPRequest();
|
|
49
|
+
return message;
|
|
50
|
+
},
|
|
51
|
+
};
|
|
52
|
+
function createBaseforgotMpinOTPResponse() {
|
|
53
|
+
return { success: false };
|
|
54
|
+
}
|
|
55
|
+
exports.forgotMpinOTPResponse = {
|
|
56
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
+
if (message.success !== false) {
|
|
58
|
+
writer.uint32(8).bool(message.success);
|
|
59
|
+
}
|
|
60
|
+
return writer;
|
|
61
|
+
},
|
|
62
|
+
decode(input, length) {
|
|
63
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
64
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
65
|
+
const message = createBaseforgotMpinOTPResponse();
|
|
66
|
+
while (reader.pos < end) {
|
|
67
|
+
const tag = reader.uint32();
|
|
68
|
+
switch (tag >>> 3) {
|
|
69
|
+
case 1:
|
|
70
|
+
if (tag !== 8) {
|
|
71
|
+
break;
|
|
72
|
+
}
|
|
73
|
+
message.success = reader.bool();
|
|
74
|
+
continue;
|
|
75
|
+
}
|
|
76
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
77
|
+
break;
|
|
78
|
+
}
|
|
79
|
+
reader.skipType(tag & 7);
|
|
80
|
+
}
|
|
81
|
+
return message;
|
|
82
|
+
},
|
|
83
|
+
fromJSON(object) {
|
|
84
|
+
return { success: isSet(object.success) ? globalThis.Boolean(object.success) : false };
|
|
85
|
+
},
|
|
86
|
+
toJSON(message) {
|
|
87
|
+
const obj = {};
|
|
88
|
+
if (message.success !== false) {
|
|
89
|
+
obj.success = message.success;
|
|
90
|
+
}
|
|
91
|
+
return obj;
|
|
92
|
+
},
|
|
93
|
+
create(base) {
|
|
94
|
+
return exports.forgotMpinOTPResponse.fromPartial(base ?? {});
|
|
95
|
+
},
|
|
96
|
+
fromPartial(object) {
|
|
97
|
+
const message = createBaseforgotMpinOTPResponse();
|
|
98
|
+
message.success = object.success ?? false;
|
|
99
|
+
return message;
|
|
100
|
+
},
|
|
101
|
+
};
|
|
102
|
+
function isSet(value) {
|
|
103
|
+
return value !== null && value !== undefined;
|
|
104
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
3
|
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.
|
|
4
|
+
// protoc-gen-ts_proto v1.181.0
|
|
5
5
|
// protoc v3.20.3
|
|
6
6
|
// source: customers/getbankaccountdetails.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -5,10 +5,19 @@ export interface getBasicInfoRequest {
|
|
|
5
5
|
export interface getBasicInfoResponse {
|
|
6
6
|
mobile: string;
|
|
7
7
|
pan: string;
|
|
8
|
-
|
|
8
|
+
aadhaar: string;
|
|
9
9
|
personal_email: string;
|
|
10
|
-
curr_address:
|
|
11
|
-
permanent_address:
|
|
10
|
+
curr_address: Address | undefined;
|
|
11
|
+
permanent_address: Address | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface Address {
|
|
14
|
+
house_flat_no: string;
|
|
15
|
+
address_line_1: string;
|
|
16
|
+
address_line_2: string;
|
|
17
|
+
landmark: string;
|
|
18
|
+
city: string;
|
|
19
|
+
state: string;
|
|
20
|
+
pin_code: string;
|
|
12
21
|
}
|
|
13
22
|
export declare const getBasicInfoRequest: {
|
|
14
23
|
encode(_: getBasicInfoRequest, writer?: _m0.Writer): _m0.Writer;
|
|
@@ -26,6 +35,14 @@ export declare const getBasicInfoResponse: {
|
|
|
26
35
|
create<I extends Exact<DeepPartial<getBasicInfoResponse>, I>>(base?: I): getBasicInfoResponse;
|
|
27
36
|
fromPartial<I extends Exact<DeepPartial<getBasicInfoResponse>, I>>(object: I): getBasicInfoResponse;
|
|
28
37
|
};
|
|
38
|
+
export declare const Address: {
|
|
39
|
+
encode(message: Address, writer?: _m0.Writer): _m0.Writer;
|
|
40
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Address;
|
|
41
|
+
fromJSON(object: any): Address;
|
|
42
|
+
toJSON(message: Address): unknown;
|
|
43
|
+
create<I extends Exact<DeepPartial<Address>, I>>(base?: I): Address;
|
|
44
|
+
fromPartial<I extends Exact<DeepPartial<Address>, I>>(object: I): Address;
|
|
45
|
+
};
|
|
29
46
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
30
47
|
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 {} ? {
|
|
31
48
|
[K in keyof T]?: DeepPartial<T[K]>;
|