@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
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,35 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.updatedob";
|
|
3
|
+
export interface updateDOBRequest {
|
|
4
|
+
dob: string;
|
|
5
|
+
}
|
|
6
|
+
export interface updateDOBResponse {
|
|
7
|
+
status: boolean;
|
|
8
|
+
}
|
|
9
|
+
export declare const updateDOBRequest: {
|
|
10
|
+
encode(message: updateDOBRequest, writer?: _m0.Writer): _m0.Writer;
|
|
11
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateDOBRequest;
|
|
12
|
+
fromJSON(object: any): updateDOBRequest;
|
|
13
|
+
toJSON(message: updateDOBRequest): unknown;
|
|
14
|
+
create<I extends Exact<DeepPartial<updateDOBRequest>, I>>(base?: I): updateDOBRequest;
|
|
15
|
+
fromPartial<I extends Exact<DeepPartial<updateDOBRequest>, I>>(object: I): updateDOBRequest;
|
|
16
|
+
};
|
|
17
|
+
export declare const updateDOBResponse: {
|
|
18
|
+
encode(message: updateDOBResponse, writer?: _m0.Writer): _m0.Writer;
|
|
19
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): updateDOBResponse;
|
|
20
|
+
fromJSON(object: any): updateDOBResponse;
|
|
21
|
+
toJSON(message: updateDOBResponse): unknown;
|
|
22
|
+
create<I extends Exact<DeepPartial<updateDOBResponse>, I>>(base?: I): updateDOBResponse;
|
|
23
|
+
fromPartial<I extends Exact<DeepPartial<updateDOBResponse>, I>>(object: I): updateDOBResponse;
|
|
24
|
+
};
|
|
25
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
26
|
+
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 {} ? {
|
|
27
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
28
|
+
} : Partial<T>;
|
|
29
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
30
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
31
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
32
|
+
} & {
|
|
33
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
34
|
+
};
|
|
35
|
+
export {};
|
|
@@ -1,31 +1,31 @@
|
|
|
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/updatedob.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.updateDOBResponse = exports.updateDOBRequest = 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.updatedob";
|
|
15
|
+
function createBaseupdateDOBRequest() {
|
|
16
|
+
return { dob: "" };
|
|
17
17
|
}
|
|
18
|
-
exports.
|
|
18
|
+
exports.updateDOBRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
-
if (message.
|
|
21
|
-
writer.uint32(10).string(message.
|
|
20
|
+
if (message.dob !== "") {
|
|
21
|
+
writer.uint32(10).string(message.dob);
|
|
22
22
|
}
|
|
23
23
|
return writer;
|
|
24
24
|
},
|
|
25
25
|
decode(input, length) {
|
|
26
26
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
27
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
-
const message =
|
|
28
|
+
const message = createBaseupdateDOBRequest();
|
|
29
29
|
while (reader.pos < end) {
|
|
30
30
|
const tag = reader.uint32();
|
|
31
31
|
switch (tag >>> 3) {
|
|
@@ -33,7 +33,7 @@ exports.request = {
|
|
|
33
33
|
if (tag !== 10) {
|
|
34
34
|
break;
|
|
35
35
|
}
|
|
36
|
-
message.
|
|
36
|
+
message.dob = reader.string();
|
|
37
37
|
continue;
|
|
38
38
|
}
|
|
39
39
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -44,28 +44,28 @@ exports.request = {
|
|
|
44
44
|
return message;
|
|
45
45
|
},
|
|
46
46
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
47
|
+
return { dob: isSet(object.dob) ? globalThis.String(object.dob) : "" };
|
|
48
48
|
},
|
|
49
49
|
toJSON(message) {
|
|
50
50
|
const obj = {};
|
|
51
|
-
if (message.
|
|
52
|
-
obj.
|
|
51
|
+
if (message.dob !== "") {
|
|
52
|
+
obj.dob = message.dob;
|
|
53
53
|
}
|
|
54
54
|
return obj;
|
|
55
55
|
},
|
|
56
56
|
create(base) {
|
|
57
|
-
return exports.
|
|
57
|
+
return exports.updateDOBRequest.fromPartial(base ?? {});
|
|
58
58
|
},
|
|
59
59
|
fromPartial(object) {
|
|
60
|
-
const message =
|
|
61
|
-
message.
|
|
60
|
+
const message = createBaseupdateDOBRequest();
|
|
61
|
+
message.dob = object.dob ?? "";
|
|
62
62
|
return message;
|
|
63
63
|
},
|
|
64
64
|
};
|
|
65
|
-
function
|
|
65
|
+
function createBaseupdateDOBResponse() {
|
|
66
66
|
return { status: false };
|
|
67
67
|
}
|
|
68
|
-
exports.
|
|
68
|
+
exports.updateDOBResponse = {
|
|
69
69
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
70
70
|
if (message.status !== false) {
|
|
71
71
|
writer.uint32(8).bool(message.status);
|
|
@@ -75,7 +75,7 @@ exports.response = {
|
|
|
75
75
|
decode(input, length) {
|
|
76
76
|
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
77
77
|
let end = length === undefined ? reader.len : reader.pos + length;
|
|
78
|
-
const message =
|
|
78
|
+
const message = createBaseupdateDOBResponse();
|
|
79
79
|
while (reader.pos < end) {
|
|
80
80
|
const tag = reader.uint32();
|
|
81
81
|
switch (tag >>> 3) {
|
|
@@ -104,10 +104,10 @@ exports.response = {
|
|
|
104
104
|
return obj;
|
|
105
105
|
},
|
|
106
106
|
create(base) {
|
|
107
|
-
return exports.
|
|
107
|
+
return exports.updateDOBResponse.fromPartial(base ?? {});
|
|
108
108
|
},
|
|
109
109
|
fromPartial(object) {
|
|
110
|
-
const message =
|
|
110
|
+
const message = createBaseupdateDOBResponse();
|
|
111
111
|
message.status = object.status ?? false;
|
|
112
112
|
return message;
|
|
113
113
|
},
|
|
@@ -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) {
|
|
@@ -13,7 +13,7 @@ exports.verifyOtpResponse = exports.verifyOtpReqeust = exports.protobufPackage =
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "customers.verifyotp";
|
|
15
15
|
function createBaseverifyOtpReqeust() {
|
|
16
|
-
return { mobile: "", device_id: "", otp: "", token: "", tnc: false };
|
|
16
|
+
return { mobile: "", device_id: "", otp: "", token: "", tnc: false, is_rooted: false };
|
|
17
17
|
}
|
|
18
18
|
exports.verifyOtpReqeust = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -32,6 +32,9 @@ exports.verifyOtpReqeust = {
|
|
|
32
32
|
if (message.tnc !== false) {
|
|
33
33
|
writer.uint32(40).bool(message.tnc);
|
|
34
34
|
}
|
|
35
|
+
if (message.is_rooted !== false) {
|
|
36
|
+
writer.uint32(48).bool(message.is_rooted);
|
|
37
|
+
}
|
|
35
38
|
return writer;
|
|
36
39
|
},
|
|
37
40
|
decode(input, length) {
|
|
@@ -71,6 +74,12 @@ exports.verifyOtpReqeust = {
|
|
|
71
74
|
}
|
|
72
75
|
message.tnc = reader.bool();
|
|
73
76
|
continue;
|
|
77
|
+
case 6:
|
|
78
|
+
if (tag !== 48) {
|
|
79
|
+
break;
|
|
80
|
+
}
|
|
81
|
+
message.is_rooted = reader.bool();
|
|
82
|
+
continue;
|
|
74
83
|
}
|
|
75
84
|
if ((tag & 7) === 4 || tag === 0) {
|
|
76
85
|
break;
|
|
@@ -86,6 +95,7 @@ exports.verifyOtpReqeust = {
|
|
|
86
95
|
otp: isSet(object.otp) ? globalThis.String(object.otp) : "",
|
|
87
96
|
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
88
97
|
tnc: isSet(object.tnc) ? globalThis.Boolean(object.tnc) : false,
|
|
98
|
+
is_rooted: isSet(object.is_rooted) ? globalThis.Boolean(object.is_rooted) : false,
|
|
89
99
|
};
|
|
90
100
|
},
|
|
91
101
|
toJSON(message) {
|
|
@@ -105,6 +115,9 @@ exports.verifyOtpReqeust = {
|
|
|
105
115
|
if (message.tnc !== false) {
|
|
106
116
|
obj.tnc = message.tnc;
|
|
107
117
|
}
|
|
118
|
+
if (message.is_rooted !== false) {
|
|
119
|
+
obj.is_rooted = message.is_rooted;
|
|
120
|
+
}
|
|
108
121
|
return obj;
|
|
109
122
|
},
|
|
110
123
|
create(base) {
|
|
@@ -117,6 +130,7 @@ exports.verifyOtpReqeust = {
|
|
|
117
130
|
message.otp = object.otp ?? "";
|
|
118
131
|
message.token = object.token ?? "";
|
|
119
132
|
message.tnc = object.tnc ?? false;
|
|
133
|
+
message.is_rooted = object.is_rooted ?? false;
|
|
120
134
|
return message;
|
|
121
135
|
},
|
|
122
136
|
};
|