@stashfin/grpc 1.2.49 → 1.2.50
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/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/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/{customer/sendotp.js → customers/resetmpin.js} +47 -47
- 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/{customer/profileupdatetnc.js → customers/saveunlocklimit.js} +20 -33
- 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/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.js +1 -1
- package/ts/customers.d.ts +180 -28
- package/ts/customers.js +125 -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 +14 -0
- package/ts/loans.js +11 -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 -52
- package/ts/payments/checkpaymentstatus.js +0 -273
- package/ts/payments/createorder.d.ts +0 -39
- package/ts/payments/createorder.js +0 -191
- package/ts/payments/getpaymentdetails.d.ts +0 -57
- package/ts/payments/getpaymentdetails.js +0 -353
- 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 -307
- package/ts/payments.d.ts +0 -70
- package/ts/payments.js +0 -54
package/ts/customers/step10.js
CHANGED
|
@@ -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/step10.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/customers/step2.d.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import _m0 from "protobufjs/minimal";
|
|
2
2
|
export declare const protobufPackage = "customers.step2";
|
|
3
3
|
export interface step2Request {
|
|
4
|
-
pincode: string;
|
|
5
|
-
dob: string;
|
|
6
4
|
}
|
|
7
5
|
export interface Validation {
|
|
8
6
|
key: string;
|
|
@@ -14,6 +12,7 @@ export interface step2Response {
|
|
|
14
12
|
type: string;
|
|
15
13
|
button_text: string;
|
|
16
14
|
data: step2Response_Field[];
|
|
15
|
+
kyc_web_url: string;
|
|
17
16
|
}
|
|
18
17
|
export interface step2Response_Field {
|
|
19
18
|
label: string;
|
|
@@ -24,12 +23,12 @@ export interface step2Response_Field {
|
|
|
24
23
|
validations: Validation[];
|
|
25
24
|
}
|
|
26
25
|
export declare const step2Request: {
|
|
27
|
-
encode(
|
|
26
|
+
encode(_: step2Request, writer?: _m0.Writer): _m0.Writer;
|
|
28
27
|
decode(input: _m0.Reader | Uint8Array, length?: number): step2Request;
|
|
29
|
-
fromJSON(
|
|
30
|
-
toJSON(
|
|
28
|
+
fromJSON(_: any): step2Request;
|
|
29
|
+
toJSON(_: step2Request): unknown;
|
|
31
30
|
create<I extends Exact<DeepPartial<step2Request>, I>>(base?: I): step2Request;
|
|
32
|
-
fromPartial<I extends Exact<DeepPartial<step2Request>, I>>(
|
|
31
|
+
fromPartial<I extends Exact<DeepPartial<step2Request>, I>>(_: I): step2Request;
|
|
33
32
|
};
|
|
34
33
|
export declare const Validation: {
|
|
35
34
|
encode(message: Validation, writer?: _m0.Writer): _m0.Writer;
|
package/ts/customers/step2.js
CHANGED
|
@@ -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/step2.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -13,16 +13,10 @@ exports.step2Response_Field = exports.step2Response = exports.Validation = expor
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "customers.step2";
|
|
15
15
|
function createBasestep2Request() {
|
|
16
|
-
return {
|
|
16
|
+
return {};
|
|
17
17
|
}
|
|
18
18
|
exports.step2Request = {
|
|
19
|
-
encode(
|
|
20
|
-
if (message.pincode !== "") {
|
|
21
|
-
writer.uint32(10).string(message.pincode);
|
|
22
|
-
}
|
|
23
|
-
if (message.dob !== "") {
|
|
24
|
-
writer.uint32(18).string(message.dob);
|
|
25
|
-
}
|
|
19
|
+
encode(_, writer = minimal_1.default.Writer.create()) {
|
|
26
20
|
return writer;
|
|
27
21
|
},
|
|
28
22
|
decode(input, length) {
|
|
@@ -32,18 +26,6 @@ exports.step2Request = {
|
|
|
32
26
|
while (reader.pos < end) {
|
|
33
27
|
const tag = reader.uint32();
|
|
34
28
|
switch (tag >>> 3) {
|
|
35
|
-
case 1:
|
|
36
|
-
if (tag !== 10) {
|
|
37
|
-
break;
|
|
38
|
-
}
|
|
39
|
-
message.pincode = reader.string();
|
|
40
|
-
continue;
|
|
41
|
-
case 2:
|
|
42
|
-
if (tag !== 18) {
|
|
43
|
-
break;
|
|
44
|
-
}
|
|
45
|
-
message.dob = reader.string();
|
|
46
|
-
continue;
|
|
47
29
|
}
|
|
48
30
|
if ((tag & 7) === 4 || tag === 0) {
|
|
49
31
|
break;
|
|
@@ -52,29 +34,18 @@ exports.step2Request = {
|
|
|
52
34
|
}
|
|
53
35
|
return message;
|
|
54
36
|
},
|
|
55
|
-
fromJSON(
|
|
56
|
-
return {
|
|
57
|
-
pincode: isSet(object.pincode) ? globalThis.String(object.pincode) : "",
|
|
58
|
-
dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
|
|
59
|
-
};
|
|
37
|
+
fromJSON(_) {
|
|
38
|
+
return {};
|
|
60
39
|
},
|
|
61
|
-
toJSON(
|
|
40
|
+
toJSON(_) {
|
|
62
41
|
const obj = {};
|
|
63
|
-
if (message.pincode !== "") {
|
|
64
|
-
obj.pincode = message.pincode;
|
|
65
|
-
}
|
|
66
|
-
if (message.dob !== "") {
|
|
67
|
-
obj.dob = message.dob;
|
|
68
|
-
}
|
|
69
42
|
return obj;
|
|
70
43
|
},
|
|
71
44
|
create(base) {
|
|
72
45
|
return exports.step2Request.fromPartial(base ?? {});
|
|
73
46
|
},
|
|
74
|
-
fromPartial(
|
|
47
|
+
fromPartial(_) {
|
|
75
48
|
const message = createBasestep2Request();
|
|
76
|
-
message.pincode = object.pincode ?? "";
|
|
77
|
-
message.dob = object.dob ?? "";
|
|
78
49
|
return message;
|
|
79
50
|
},
|
|
80
51
|
};
|
|
@@ -159,7 +130,7 @@ exports.Validation = {
|
|
|
159
130
|
},
|
|
160
131
|
};
|
|
161
132
|
function createBasestep2Response() {
|
|
162
|
-
return { page: "", type: "", button_text: "", data: [] };
|
|
133
|
+
return { page: "", type: "", button_text: "", data: [], kyc_web_url: "" };
|
|
163
134
|
}
|
|
164
135
|
exports.step2Response = {
|
|
165
136
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -175,6 +146,9 @@ exports.step2Response = {
|
|
|
175
146
|
for (const v of message.data) {
|
|
176
147
|
exports.step2Response_Field.encode(v, writer.uint32(34).fork()).ldelim();
|
|
177
148
|
}
|
|
149
|
+
if (message.kyc_web_url !== "") {
|
|
150
|
+
writer.uint32(42).string(message.kyc_web_url);
|
|
151
|
+
}
|
|
178
152
|
return writer;
|
|
179
153
|
},
|
|
180
154
|
decode(input, length) {
|
|
@@ -208,6 +182,12 @@ exports.step2Response = {
|
|
|
208
182
|
}
|
|
209
183
|
message.data.push(exports.step2Response_Field.decode(reader, reader.uint32()));
|
|
210
184
|
continue;
|
|
185
|
+
case 5:
|
|
186
|
+
if (tag !== 42) {
|
|
187
|
+
break;
|
|
188
|
+
}
|
|
189
|
+
message.kyc_web_url = reader.string();
|
|
190
|
+
continue;
|
|
211
191
|
}
|
|
212
192
|
if ((tag & 7) === 4 || tag === 0) {
|
|
213
193
|
break;
|
|
@@ -222,6 +202,7 @@ exports.step2Response = {
|
|
|
222
202
|
type: isSet(object.type) ? globalThis.String(object.type) : "",
|
|
223
203
|
button_text: isSet(object.button_text) ? globalThis.String(object.button_text) : "",
|
|
224
204
|
data: globalThis.Array.isArray(object?.data) ? object.data.map((e) => exports.step2Response_Field.fromJSON(e)) : [],
|
|
205
|
+
kyc_web_url: isSet(object.kyc_web_url) ? globalThis.String(object.kyc_web_url) : "",
|
|
225
206
|
};
|
|
226
207
|
},
|
|
227
208
|
toJSON(message) {
|
|
@@ -238,6 +219,9 @@ exports.step2Response = {
|
|
|
238
219
|
if (message.data?.length) {
|
|
239
220
|
obj.data = message.data.map((e) => exports.step2Response_Field.toJSON(e));
|
|
240
221
|
}
|
|
222
|
+
if (message.kyc_web_url !== "") {
|
|
223
|
+
obj.kyc_web_url = message.kyc_web_url;
|
|
224
|
+
}
|
|
241
225
|
return obj;
|
|
242
226
|
},
|
|
243
227
|
create(base) {
|
|
@@ -249,6 +233,7 @@ exports.step2Response = {
|
|
|
249
233
|
message.type = object.type ?? "";
|
|
250
234
|
message.button_text = object.button_text ?? "";
|
|
251
235
|
message.data = object.data?.map((e) => exports.step2Response_Field.fromPartial(e)) || [];
|
|
236
|
+
message.kyc_web_url = object.kyc_web_url ?? "";
|
|
252
237
|
return message;
|
|
253
238
|
},
|
|
254
239
|
};
|
package/ts/customers/step7.js
CHANGED
|
@@ -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/step7.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/customers/step8.js
CHANGED
|
@@ -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/step8.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
package/ts/customers/step9.js
CHANGED
|
@@ -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/step9.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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/stepstatic.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updatedigilockertxn";
|
|
3
|
+
export interface updateDigiLockerTxnRequest {
|
|
4
|
+
payload: string;
|
|
5
|
+
transactionId: string;
|
|
6
|
+
status: string;
|
|
7
|
+
}
|
|
8
|
+
export interface updateDigiLockerTxnResponse {
|
|
9
|
+
status: boolean;
|
|
10
|
+
}
|
|
11
|
+
export declare const updateDigiLockerTxnRequest: {
|
|
12
|
+
encode(message: updateDigiLockerTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
13
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateDigiLockerTxnRequest;
|
|
14
|
+
fromJSON(object: any): updateDigiLockerTxnRequest;
|
|
15
|
+
toJSON(message: updateDigiLockerTxnRequest): unknown;
|
|
16
|
+
create<I extends Exact<DeepPartial<updateDigiLockerTxnRequest>, I>>(base?: I): updateDigiLockerTxnRequest;
|
|
17
|
+
fromPartial<I extends Exact<DeepPartial<updateDigiLockerTxnRequest>, I>>(object: I): updateDigiLockerTxnRequest;
|
|
18
|
+
};
|
|
19
|
+
export declare const updateDigiLockerTxnResponse: {
|
|
20
|
+
encode(message: updateDigiLockerTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
21
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateDigiLockerTxnResponse;
|
|
22
|
+
fromJSON(object: any): updateDigiLockerTxnResponse;
|
|
23
|
+
toJSON(message: updateDigiLockerTxnResponse): unknown;
|
|
24
|
+
create<I extends Exact<DeepPartial<updateDigiLockerTxnResponse>, I>>(base?: I): updateDigiLockerTxnResponse;
|
|
25
|
+
fromPartial<I extends Exact<DeepPartial<updateDigiLockerTxnResponse>, I>>(object: I): updateDigiLockerTxnResponse;
|
|
26
|
+
};
|
|
27
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
28
|
+
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 {} ? {
|
|
29
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
30
|
+
} : Partial<T>;
|
|
31
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
32
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
33
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
34
|
+
} & {
|
|
35
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
36
|
+
};
|
|
37
|
+
export {};
|
|
@@ -1,34 +1,37 @@
|
|
|
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/updatedigilockertxn.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.updateDigiLockerTxnResponse = exports.updateDigiLockerTxnRequest = 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.updatedigilockertxn";
|
|
15
|
+
function createBaseupdateDigiLockerTxnRequest() {
|
|
16
|
+
return { payload: "", transactionId: "", status: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.updateDigiLockerTxnRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.payload !== "") {
|
|
21
|
+
writer.uint32(10).string(message.payload);
|
|
22
22
|
}
|
|
23
|
-
if (message.
|
|
24
|
-
writer.uint32(
|
|
23
|
+
if (message.transactionId !== "") {
|
|
24
|
+
writer.uint32(18).string(message.transactionId);
|
|
25
|
+
}
|
|
26
|
+
if (message.status !== "") {
|
|
27
|
+
writer.uint32(26).string(message.status);
|
|
25
28
|
}
|
|
26
29
|
return writer;
|
|
27
30
|
},
|
|
28
31
|
decode(input, length) {
|
|
29
32
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
33
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
-
const message =
|
|
34
|
+
const message = createBaseupdateDigiLockerTxnRequest();
|
|
32
35
|
while (reader.pos < end) {
|
|
33
36
|
const tag = reader.uint32();
|
|
34
37
|
switch (tag >>> 3) {
|
|
@@ -36,13 +39,19 @@ exports.request = {
|
|
|
36
39
|
if (tag !== 10) {
|
|
37
40
|
break;
|
|
38
41
|
}
|
|
39
|
-
message.
|
|
42
|
+
message.payload = reader.string();
|
|
40
43
|
continue;
|
|
41
44
|
case 2:
|
|
42
|
-
if (tag !==
|
|
45
|
+
if (tag !== 18) {
|
|
46
|
+
break;
|
|
47
|
+
}
|
|
48
|
+
message.transactionId = reader.string();
|
|
49
|
+
continue;
|
|
50
|
+
case 3:
|
|
51
|
+
if (tag !== 26) {
|
|
43
52
|
break;
|
|
44
53
|
}
|
|
45
|
-
message.
|
|
54
|
+
message.status = reader.string();
|
|
46
55
|
continue;
|
|
47
56
|
}
|
|
48
57
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -54,47 +63,49 @@ exports.request = {
|
|
|
54
63
|
},
|
|
55
64
|
fromJSON(object) {
|
|
56
65
|
return {
|
|
57
|
-
|
|
58
|
-
|
|
66
|
+
payload: isSet(object.payload) ? globalThis.String(object.payload) : "",
|
|
67
|
+
transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : "",
|
|
68
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
59
69
|
};
|
|
60
70
|
},
|
|
61
71
|
toJSON(message) {
|
|
62
72
|
const obj = {};
|
|
63
|
-
if (message.
|
|
64
|
-
obj.
|
|
73
|
+
if (message.payload !== "") {
|
|
74
|
+
obj.payload = message.payload;
|
|
75
|
+
}
|
|
76
|
+
if (message.transactionId !== "") {
|
|
77
|
+
obj.transactionId = message.transactionId;
|
|
65
78
|
}
|
|
66
|
-
if (message.
|
|
67
|
-
obj.
|
|
79
|
+
if (message.status !== "") {
|
|
80
|
+
obj.status = message.status;
|
|
68
81
|
}
|
|
69
82
|
return obj;
|
|
70
83
|
},
|
|
71
84
|
create(base) {
|
|
72
|
-
return exports.
|
|
85
|
+
return exports.updateDigiLockerTxnRequest.fromPartial(base ?? {});
|
|
73
86
|
},
|
|
74
87
|
fromPartial(object) {
|
|
75
|
-
const message =
|
|
76
|
-
message.
|
|
77
|
-
message.
|
|
88
|
+
const message = createBaseupdateDigiLockerTxnRequest();
|
|
89
|
+
message.payload = object.payload ?? "";
|
|
90
|
+
message.transactionId = object.transactionId ?? "";
|
|
91
|
+
message.status = object.status ?? "";
|
|
78
92
|
return message;
|
|
79
93
|
},
|
|
80
94
|
};
|
|
81
|
-
function
|
|
82
|
-
return { status: false
|
|
95
|
+
function createBaseupdateDigiLockerTxnResponse() {
|
|
96
|
+
return { status: false };
|
|
83
97
|
}
|
|
84
|
-
exports.
|
|
98
|
+
exports.updateDigiLockerTxnResponse = {
|
|
85
99
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
100
|
if (message.status !== false) {
|
|
87
101
|
writer.uint32(8).bool(message.status);
|
|
88
102
|
}
|
|
89
|
-
if (message.jwttoken !== "") {
|
|
90
|
-
writer.uint32(18).string(message.jwttoken);
|
|
91
|
-
}
|
|
92
103
|
return writer;
|
|
93
104
|
},
|
|
94
105
|
decode(input, length) {
|
|
95
106
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
96
107
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
97
|
-
const message =
|
|
108
|
+
const message = createBaseupdateDigiLockerTxnResponse();
|
|
98
109
|
while (reader.pos < end) {
|
|
99
110
|
const tag = reader.uint32();
|
|
100
111
|
switch (tag >>> 3) {
|
|
@@ -104,12 +115,6 @@ exports.response = {
|
|
|
104
115
|
}
|
|
105
116
|
message.status = reader.bool();
|
|
106
117
|
continue;
|
|
107
|
-
case 2:
|
|
108
|
-
if (tag !== 18) {
|
|
109
|
-
break;
|
|
110
|
-
}
|
|
111
|
-
message.jwttoken = reader.string();
|
|
112
|
-
continue;
|
|
113
118
|
}
|
|
114
119
|
if ((tag & 7) === 4 || tag === 0) {
|
|
115
120
|
break;
|
|
@@ -119,28 +124,21 @@ exports.response = {
|
|
|
119
124
|
return message;
|
|
120
125
|
},
|
|
121
126
|
fromJSON(object) {
|
|
122
|
-
return {
|
|
123
|
-
status: isSet(object.status) ? globalThis.Boolean(object.status) : false,
|
|
124
|
-
jwttoken: isSet(object.jwttoken) ? globalThis.String(object.jwttoken) : "",
|
|
125
|
-
};
|
|
127
|
+
return { status: isSet(object.status) ? globalThis.Boolean(object.status) : false };
|
|
126
128
|
},
|
|
127
129
|
toJSON(message) {
|
|
128
130
|
const obj = {};
|
|
129
131
|
if (message.status !== false) {
|
|
130
132
|
obj.status = message.status;
|
|
131
133
|
}
|
|
132
|
-
if (message.jwttoken !== "") {
|
|
133
|
-
obj.jwttoken = message.jwttoken;
|
|
134
|
-
}
|
|
135
134
|
return obj;
|
|
136
135
|
},
|
|
137
136
|
create(base) {
|
|
138
|
-
return exports.
|
|
137
|
+
return exports.updateDigiLockerTxnResponse.fromPartial(base ?? {});
|
|
139
138
|
},
|
|
140
139
|
fromPartial(object) {
|
|
141
|
-
const message =
|
|
140
|
+
const message = createBaseupdateDigiLockerTxnResponse();
|
|
142
141
|
message.status = object.status ?? false;
|
|
143
|
-
message.jwttoken = object.jwttoken ?? "";
|
|
144
142
|
return message;
|
|
145
143
|
},
|
|
146
144
|
};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updatehypervergetxn";
|
|
3
|
+
export interface updateHypervergeTxnRequest {
|
|
4
|
+
transactionId: string;
|
|
5
|
+
status: string;
|
|
6
|
+
}
|
|
7
|
+
export interface updateHypervergeTxnResponse {
|
|
8
|
+
status: boolean;
|
|
9
|
+
}
|
|
10
|
+
export declare const updateHypervergeTxnRequest: {
|
|
11
|
+
encode(message: updateHypervergeTxnRequest, writer?: _m0.Writer): _m0.Writer;
|
|
12
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateHypervergeTxnRequest;
|
|
13
|
+
fromJSON(object: any): updateHypervergeTxnRequest;
|
|
14
|
+
toJSON(message: updateHypervergeTxnRequest): unknown;
|
|
15
|
+
create<I extends Exact<DeepPartial<updateHypervergeTxnRequest>, I>>(base?: I): updateHypervergeTxnRequest;
|
|
16
|
+
fromPartial<I extends Exact<DeepPartial<updateHypervergeTxnRequest>, I>>(object: I): updateHypervergeTxnRequest;
|
|
17
|
+
};
|
|
18
|
+
export declare const updateHypervergeTxnResponse: {
|
|
19
|
+
encode(message: updateHypervergeTxnResponse, writer?: _m0.Writer): _m0.Writer;
|
|
20
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateHypervergeTxnResponse;
|
|
21
|
+
fromJSON(object: any): updateHypervergeTxnResponse;
|
|
22
|
+
toJSON(message: updateHypervergeTxnResponse): unknown;
|
|
23
|
+
create<I extends Exact<DeepPartial<updateHypervergeTxnResponse>, I>>(base?: I): updateHypervergeTxnResponse;
|
|
24
|
+
fromPartial<I extends Exact<DeepPartial<updateHypervergeTxnResponse>, I>>(object: I): updateHypervergeTxnResponse;
|
|
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,34 +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/updatehypervergetxn.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.updateHypervergeTxnResponse = exports.updateHypervergeTxnRequest = 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.updatehypervergetxn";
|
|
15
|
+
function createBaseupdateHypervergeTxnRequest() {
|
|
16
|
+
return { transactionId: "", status: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.updateHypervergeTxnRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.transactionId !== "") {
|
|
21
|
+
writer.uint32(10).string(message.transactionId);
|
|
22
22
|
}
|
|
23
|
-
if (message.
|
|
24
|
-
writer.uint32(
|
|
23
|
+
if (message.status !== "") {
|
|
24
|
+
writer.uint32(18).string(message.status);
|
|
25
25
|
}
|
|
26
26
|
return writer;
|
|
27
27
|
},
|
|
28
28
|
decode(input, length) {
|
|
29
29
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
30
30
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
31
|
-
const message =
|
|
31
|
+
const message = createBaseupdateHypervergeTxnRequest();
|
|
32
32
|
while (reader.pos < end) {
|
|
33
33
|
const tag = reader.uint32();
|
|
34
34
|
switch (tag >>> 3) {
|
|
@@ -36,13 +36,13 @@ exports.request = {
|
|
|
36
36
|
if (tag !== 10) {
|
|
37
37
|
break;
|
|
38
38
|
}
|
|
39
|
-
message.
|
|
39
|
+
message.transactionId = reader.string();
|
|
40
40
|
continue;
|
|
41
41
|
case 2:
|
|
42
|
-
if (tag !==
|
|
42
|
+
if (tag !== 18) {
|
|
43
43
|
break;
|
|
44
44
|
}
|
|
45
|
-
message.
|
|
45
|
+
message.status = reader.string();
|
|
46
46
|
continue;
|
|
47
47
|
}
|
|
48
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -54,34 +54,34 @@ exports.request = {
|
|
|
54
54
|
},
|
|
55
55
|
fromJSON(object) {
|
|
56
56
|
return {
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
transactionId: isSet(object.transactionId) ? globalThis.String(object.transactionId) : "",
|
|
58
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
59
59
|
};
|
|
60
60
|
},
|
|
61
61
|
toJSON(message) {
|
|
62
62
|
const obj = {};
|
|
63
|
-
if (message.
|
|
64
|
-
obj.
|
|
63
|
+
if (message.transactionId !== "") {
|
|
64
|
+
obj.transactionId = message.transactionId;
|
|
65
65
|
}
|
|
66
|
-
if (message.
|
|
67
|
-
obj.
|
|
66
|
+
if (message.status !== "") {
|
|
67
|
+
obj.status = message.status;
|
|
68
68
|
}
|
|
69
69
|
return obj;
|
|
70
70
|
},
|
|
71
71
|
create(base) {
|
|
72
|
-
return exports.
|
|
72
|
+
return exports.updateHypervergeTxnRequest.fromPartial(base ?? {});
|
|
73
73
|
},
|
|
74
74
|
fromPartial(object) {
|
|
75
|
-
const message =
|
|
76
|
-
message.
|
|
77
|
-
message.
|
|
75
|
+
const message = createBaseupdateHypervergeTxnRequest();
|
|
76
|
+
message.transactionId = object.transactionId ?? "";
|
|
77
|
+
message.status = object.status ?? "";
|
|
78
78
|
return message;
|
|
79
79
|
},
|
|
80
80
|
};
|
|
81
|
-
function
|
|
81
|
+
function createBaseupdateHypervergeTxnResponse() {
|
|
82
82
|
return { status: false };
|
|
83
83
|
}
|
|
84
|
-
exports.
|
|
84
|
+
exports.updateHypervergeTxnResponse = {
|
|
85
85
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
86
86
|
if (message.status !== false) {
|
|
87
87
|
writer.uint32(8).bool(message.status);
|
|
@@ -91,7 +91,7 @@ exports.response = {
|
|
|
91
91
|
decode(input, length) {
|
|
92
92
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
93
93
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
94
|
-
const message =
|
|
94
|
+
const message = createBaseupdateHypervergeTxnResponse();
|
|
95
95
|
while (reader.pos < end) {
|
|
96
96
|
const tag = reader.uint32();
|
|
97
97
|
switch (tag >>> 3) {
|
|
@@ -120,10 +120,10 @@ exports.response = {
|
|
|
120
120
|
return obj;
|
|
121
121
|
},
|
|
122
122
|
create(base) {
|
|
123
|
-
return exports.
|
|
123
|
+
return exports.updateHypervergeTxnResponse.fromPartial(base ?? {});
|
|
124
124
|
},
|
|
125
125
|
fromPartial(object) {
|
|
126
|
-
const message =
|
|
126
|
+
const message = createBaseupdateHypervergeTxnResponse();
|
|
127
127
|
message.status = object.status ?? false;
|
|
128
128
|
return message;
|
|
129
129
|
},
|
|
@@ -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/verifyemail.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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/verifympin.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
@@ -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/verifyotp.proto
|
|
7
7
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|