@stashfin/grpc 1.0.31 → 1.0.33
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/sendotp.d.ts +2 -0
- package/ts/customers/sendotp.js +35 -3
- package/ts/customers/verifyotp.d.ts +1 -0
- package/ts/customers/verifyotp.js +21 -7
- 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/profileupdatetnc.js +0 -117
- package/ts/customer/sendotp.d.ts +0 -36
- package/ts/customer/sendotp.js +0 -133
- package/ts/customer/setmpin.d.ts +0 -36
- package/ts/customer/setmpin.js +0 -133
- 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/verifympin.js +0 -149
- 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/package.json
CHANGED
|
@@ -2,10 +2,12 @@ import _m0 from "protobufjs/minimal";
|
|
|
2
2
|
export declare const protobufPackage = "customers.sendotp";
|
|
3
3
|
export interface sendOtpRequest {
|
|
4
4
|
mobile: string;
|
|
5
|
+
device_id: string;
|
|
5
6
|
}
|
|
6
7
|
export interface sendOtpRespone {
|
|
7
8
|
ismpin: boolean;
|
|
8
9
|
token: string;
|
|
10
|
+
is_device_registered: boolean;
|
|
9
11
|
}
|
|
10
12
|
export declare const sendOtpRequest: {
|
|
11
13
|
encode(message: sendOtpRequest, writer?: _m0.Writer): _m0.Writer;
|
package/ts/customers/sendotp.js
CHANGED
|
@@ -13,13 +13,16 @@ exports.sendOtpRespone = exports.sendOtpRequest = exports.protobufPackage = void
|
|
|
13
13
|
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
14
|
exports.protobufPackage = "customers.sendotp";
|
|
15
15
|
function createBasesendOtpRequest() {
|
|
16
|
-
return { mobile: "" };
|
|
16
|
+
return { mobile: "", device_id: "" };
|
|
17
17
|
}
|
|
18
18
|
exports.sendOtpRequest = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.mobile !== "") {
|
|
21
21
|
writer.uint32(10).string(message.mobile);
|
|
22
22
|
}
|
|
23
|
+
if (message.device_id !== "") {
|
|
24
|
+
writer.uint32(18).string(message.device_id);
|
|
25
|
+
}
|
|
23
26
|
return writer;
|
|
24
27
|
},
|
|
25
28
|
decode(input, length) {
|
|
@@ -35,6 +38,12 @@ exports.sendOtpRequest = {
|
|
|
35
38
|
}
|
|
36
39
|
message.mobile = reader.string();
|
|
37
40
|
continue;
|
|
41
|
+
case 2:
|
|
42
|
+
if (tag !== 18) {
|
|
43
|
+
break;
|
|
44
|
+
}
|
|
45
|
+
message.device_id = reader.string();
|
|
46
|
+
continue;
|
|
38
47
|
}
|
|
39
48
|
if ((tag & 7) === 4 || tag === 0) {
|
|
40
49
|
break;
|
|
@@ -44,13 +53,19 @@ exports.sendOtpRequest = {
|
|
|
44
53
|
return message;
|
|
45
54
|
},
|
|
46
55
|
fromJSON(object) {
|
|
47
|
-
return {
|
|
56
|
+
return {
|
|
57
|
+
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
58
|
+
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
59
|
+
};
|
|
48
60
|
},
|
|
49
61
|
toJSON(message) {
|
|
50
62
|
const obj = {};
|
|
51
63
|
if (message.mobile !== "") {
|
|
52
64
|
obj.mobile = message.mobile;
|
|
53
65
|
}
|
|
66
|
+
if (message.device_id !== "") {
|
|
67
|
+
obj.device_id = message.device_id;
|
|
68
|
+
}
|
|
54
69
|
return obj;
|
|
55
70
|
},
|
|
56
71
|
create(base) {
|
|
@@ -59,11 +74,12 @@ exports.sendOtpRequest = {
|
|
|
59
74
|
fromPartial(object) {
|
|
60
75
|
const message = createBasesendOtpRequest();
|
|
61
76
|
message.mobile = object.mobile ?? "";
|
|
77
|
+
message.device_id = object.device_id ?? "";
|
|
62
78
|
return message;
|
|
63
79
|
},
|
|
64
80
|
};
|
|
65
81
|
function createBasesendOtpRespone() {
|
|
66
|
-
return { ismpin: false, token: "" };
|
|
82
|
+
return { ismpin: false, token: "", is_device_registered: false };
|
|
67
83
|
}
|
|
68
84
|
exports.sendOtpRespone = {
|
|
69
85
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
@@ -73,6 +89,9 @@ exports.sendOtpRespone = {
|
|
|
73
89
|
if (message.token !== "") {
|
|
74
90
|
writer.uint32(18).string(message.token);
|
|
75
91
|
}
|
|
92
|
+
if (message.is_device_registered !== false) {
|
|
93
|
+
writer.uint32(24).bool(message.is_device_registered);
|
|
94
|
+
}
|
|
76
95
|
return writer;
|
|
77
96
|
},
|
|
78
97
|
decode(input, length) {
|
|
@@ -94,6 +113,12 @@ exports.sendOtpRespone = {
|
|
|
94
113
|
}
|
|
95
114
|
message.token = reader.string();
|
|
96
115
|
continue;
|
|
116
|
+
case 3:
|
|
117
|
+
if (tag !== 24) {
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
message.is_device_registered = reader.bool();
|
|
121
|
+
continue;
|
|
97
122
|
}
|
|
98
123
|
if ((tag & 7) === 4 || tag === 0) {
|
|
99
124
|
break;
|
|
@@ -106,6 +131,9 @@ exports.sendOtpRespone = {
|
|
|
106
131
|
return {
|
|
107
132
|
ismpin: isSet(object.ismpin) ? globalThis.Boolean(object.ismpin) : false,
|
|
108
133
|
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
134
|
+
is_device_registered: isSet(object.is_device_registered)
|
|
135
|
+
? globalThis.Boolean(object.is_device_registered)
|
|
136
|
+
: false,
|
|
109
137
|
};
|
|
110
138
|
},
|
|
111
139
|
toJSON(message) {
|
|
@@ -116,6 +144,9 @@ exports.sendOtpRespone = {
|
|
|
116
144
|
if (message.token !== "") {
|
|
117
145
|
obj.token = message.token;
|
|
118
146
|
}
|
|
147
|
+
if (message.is_device_registered !== false) {
|
|
148
|
+
obj.is_device_registered = message.is_device_registered;
|
|
149
|
+
}
|
|
119
150
|
return obj;
|
|
120
151
|
},
|
|
121
152
|
create(base) {
|
|
@@ -125,6 +156,7 @@ exports.sendOtpRespone = {
|
|
|
125
156
|
const message = createBasesendOtpRespone();
|
|
126
157
|
message.ismpin = object.ismpin ?? false;
|
|
127
158
|
message.token = object.token ?? "";
|
|
159
|
+
message.is_device_registered = object.is_device_registered ?? false;
|
|
128
160
|
return message;
|
|
129
161
|
},
|
|
130
162
|
};
|
|
@@ -13,21 +13,24 @@ 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: "", otp: "", token: "", tnc: false };
|
|
16
|
+
return { mobile: "", device_id: "", otp: "", token: "", tnc: false };
|
|
17
17
|
}
|
|
18
18
|
exports.verifyOtpReqeust = {
|
|
19
19
|
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
20
|
if (message.mobile !== "") {
|
|
21
21
|
writer.uint32(10).string(message.mobile);
|
|
22
22
|
}
|
|
23
|
+
if (message.device_id !== "") {
|
|
24
|
+
writer.uint32(18).string(message.device_id);
|
|
25
|
+
}
|
|
23
26
|
if (message.otp !== "") {
|
|
24
|
-
writer.uint32(
|
|
27
|
+
writer.uint32(26).string(message.otp);
|
|
25
28
|
}
|
|
26
29
|
if (message.token !== "") {
|
|
27
|
-
writer.uint32(
|
|
30
|
+
writer.uint32(34).string(message.token);
|
|
28
31
|
}
|
|
29
32
|
if (message.tnc !== false) {
|
|
30
|
-
writer.uint32(
|
|
33
|
+
writer.uint32(40).bool(message.tnc);
|
|
31
34
|
}
|
|
32
35
|
return writer;
|
|
33
36
|
},
|
|
@@ -48,16 +51,22 @@ exports.verifyOtpReqeust = {
|
|
|
48
51
|
if (tag !== 18) {
|
|
49
52
|
break;
|
|
50
53
|
}
|
|
51
|
-
message.
|
|
54
|
+
message.device_id = reader.string();
|
|
52
55
|
continue;
|
|
53
56
|
case 3:
|
|
54
57
|
if (tag !== 26) {
|
|
55
58
|
break;
|
|
56
59
|
}
|
|
57
|
-
message.
|
|
60
|
+
message.otp = reader.string();
|
|
58
61
|
continue;
|
|
59
62
|
case 4:
|
|
60
|
-
if (tag !==
|
|
63
|
+
if (tag !== 34) {
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
message.token = reader.string();
|
|
67
|
+
continue;
|
|
68
|
+
case 5:
|
|
69
|
+
if (tag !== 40) {
|
|
61
70
|
break;
|
|
62
71
|
}
|
|
63
72
|
message.tnc = reader.bool();
|
|
@@ -73,6 +82,7 @@ exports.verifyOtpReqeust = {
|
|
|
73
82
|
fromJSON(object) {
|
|
74
83
|
return {
|
|
75
84
|
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
85
|
+
device_id: isSet(object.device_id) ? globalThis.String(object.device_id) : "",
|
|
76
86
|
otp: isSet(object.otp) ? globalThis.String(object.otp) : "",
|
|
77
87
|
token: isSet(object.token) ? globalThis.String(object.token) : "",
|
|
78
88
|
tnc: isSet(object.tnc) ? globalThis.Boolean(object.tnc) : false,
|
|
@@ -83,6 +93,9 @@ exports.verifyOtpReqeust = {
|
|
|
83
93
|
if (message.mobile !== "") {
|
|
84
94
|
obj.mobile = message.mobile;
|
|
85
95
|
}
|
|
96
|
+
if (message.device_id !== "") {
|
|
97
|
+
obj.device_id = message.device_id;
|
|
98
|
+
}
|
|
86
99
|
if (message.otp !== "") {
|
|
87
100
|
obj.otp = message.otp;
|
|
88
101
|
}
|
|
@@ -100,6 +113,7 @@ exports.verifyOtpReqeust = {
|
|
|
100
113
|
fromPartial(object) {
|
|
101
114
|
const message = createBaseverifyOtpReqeust();
|
|
102
115
|
message.mobile = object.mobile ?? "";
|
|
116
|
+
message.device_id = object.device_id ?? "";
|
|
103
117
|
message.otp = object.otp ?? "";
|
|
104
118
|
message.token = object.token ?? "";
|
|
105
119
|
message.tnc = object.tnc ?? false;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customer.getprofile";
|
|
3
|
-
export interface request {
|
|
4
|
-
}
|
|
5
|
-
export interface response {
|
|
6
|
-
customer_id: number;
|
|
7
|
-
first_name: string;
|
|
8
|
-
middle_name: string;
|
|
9
|
-
last_name: string;
|
|
10
|
-
mobile_number: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const request: {
|
|
13
|
-
encode(_: request, writer?: _m0.Writer): _m0.Writer;
|
|
14
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
15
|
-
fromJSON(_: any): request;
|
|
16
|
-
toJSON(_: request): unknown;
|
|
17
|
-
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
18
|
-
fromPartial<I extends Exact<DeepPartial<request>, I>>(_: I): request;
|
|
19
|
-
};
|
|
20
|
-
export declare const response: {
|
|
21
|
-
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
22
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
23
|
-
fromJSON(object: any): response;
|
|
24
|
-
toJSON(message: response): unknown;
|
|
25
|
-
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
26
|
-
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
27
|
-
};
|
|
28
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
29
|
-
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 {} ? {
|
|
30
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
31
|
-
} : Partial<T>;
|
|
32
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
33
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
34
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
35
|
-
} & {
|
|
36
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
37
|
-
};
|
|
38
|
-
export {};
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
3
|
-
// versions:
|
|
4
|
-
// protoc-gen-ts_proto v1.180.0
|
|
5
|
-
// protoc v3.20.3
|
|
6
|
-
// source: customer/getprofile.proto
|
|
7
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
8
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
9
|
-
};
|
|
10
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
11
|
-
exports.response = exports.request = exports.protobufPackage = void 0;
|
|
12
|
-
/* eslint-disable */
|
|
13
|
-
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
-
exports.protobufPackage = "customer.getprofile";
|
|
15
|
-
function createBaserequest() {
|
|
16
|
-
return {};
|
|
17
|
-
}
|
|
18
|
-
exports.request = {
|
|
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 = createBaserequest();
|
|
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.request.fromPartial(base ?? {});
|
|
46
|
-
},
|
|
47
|
-
fromPartial(_) {
|
|
48
|
-
const message = createBaserequest();
|
|
49
|
-
return message;
|
|
50
|
-
},
|
|
51
|
-
};
|
|
52
|
-
function createBaseresponse() {
|
|
53
|
-
return { customer_id: 0, first_name: "", middle_name: "", last_name: "", mobile_number: "" };
|
|
54
|
-
}
|
|
55
|
-
exports.response = {
|
|
56
|
-
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
57
|
-
if (message.customer_id !== 0) {
|
|
58
|
-
writer.uint32(8).int32(message.customer_id);
|
|
59
|
-
}
|
|
60
|
-
if (message.first_name !== "") {
|
|
61
|
-
writer.uint32(18).string(message.first_name);
|
|
62
|
-
}
|
|
63
|
-
if (message.middle_name !== "") {
|
|
64
|
-
writer.uint32(26).string(message.middle_name);
|
|
65
|
-
}
|
|
66
|
-
if (message.last_name !== "") {
|
|
67
|
-
writer.uint32(34).string(message.last_name);
|
|
68
|
-
}
|
|
69
|
-
if (message.mobile_number !== "") {
|
|
70
|
-
writer.uint32(42).string(message.mobile_number);
|
|
71
|
-
}
|
|
72
|
-
return writer;
|
|
73
|
-
},
|
|
74
|
-
decode(input, length) {
|
|
75
|
-
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
76
|
-
let end = length === undefined ? reader.len : reader.pos + length;
|
|
77
|
-
const message = createBaseresponse();
|
|
78
|
-
while (reader.pos < end) {
|
|
79
|
-
const tag = reader.uint32();
|
|
80
|
-
switch (tag >>> 3) {
|
|
81
|
-
case 1:
|
|
82
|
-
if (tag !== 8) {
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
message.customer_id = reader.int32();
|
|
86
|
-
continue;
|
|
87
|
-
case 2:
|
|
88
|
-
if (tag !== 18) {
|
|
89
|
-
break;
|
|
90
|
-
}
|
|
91
|
-
message.first_name = reader.string();
|
|
92
|
-
continue;
|
|
93
|
-
case 3:
|
|
94
|
-
if (tag !== 26) {
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
message.middle_name = reader.string();
|
|
98
|
-
continue;
|
|
99
|
-
case 4:
|
|
100
|
-
if (tag !== 34) {
|
|
101
|
-
break;
|
|
102
|
-
}
|
|
103
|
-
message.last_name = reader.string();
|
|
104
|
-
continue;
|
|
105
|
-
case 5:
|
|
106
|
-
if (tag !== 42) {
|
|
107
|
-
break;
|
|
108
|
-
}
|
|
109
|
-
message.mobile_number = reader.string();
|
|
110
|
-
continue;
|
|
111
|
-
}
|
|
112
|
-
if ((tag & 7) === 4 || tag === 0) {
|
|
113
|
-
break;
|
|
114
|
-
}
|
|
115
|
-
reader.skipType(tag & 7);
|
|
116
|
-
}
|
|
117
|
-
return message;
|
|
118
|
-
},
|
|
119
|
-
fromJSON(object) {
|
|
120
|
-
return {
|
|
121
|
-
customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0,
|
|
122
|
-
first_name: isSet(object.first_name) ? globalThis.String(object.first_name) : "",
|
|
123
|
-
middle_name: isSet(object.middle_name) ? globalThis.String(object.middle_name) : "",
|
|
124
|
-
last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : "",
|
|
125
|
-
mobile_number: isSet(object.mobile_number) ? globalThis.String(object.mobile_number) : "",
|
|
126
|
-
};
|
|
127
|
-
},
|
|
128
|
-
toJSON(message) {
|
|
129
|
-
const obj = {};
|
|
130
|
-
if (message.customer_id !== 0) {
|
|
131
|
-
obj.customer_id = Math.round(message.customer_id);
|
|
132
|
-
}
|
|
133
|
-
if (message.first_name !== "") {
|
|
134
|
-
obj.first_name = message.first_name;
|
|
135
|
-
}
|
|
136
|
-
if (message.middle_name !== "") {
|
|
137
|
-
obj.middle_name = message.middle_name;
|
|
138
|
-
}
|
|
139
|
-
if (message.last_name !== "") {
|
|
140
|
-
obj.last_name = message.last_name;
|
|
141
|
-
}
|
|
142
|
-
if (message.mobile_number !== "") {
|
|
143
|
-
obj.mobile_number = message.mobile_number;
|
|
144
|
-
}
|
|
145
|
-
return obj;
|
|
146
|
-
},
|
|
147
|
-
create(base) {
|
|
148
|
-
return exports.response.fromPartial(base ?? {});
|
|
149
|
-
},
|
|
150
|
-
fromPartial(object) {
|
|
151
|
-
const message = createBaseresponse();
|
|
152
|
-
message.customer_id = object.customer_id ?? 0;
|
|
153
|
-
message.first_name = object.first_name ?? "";
|
|
154
|
-
message.middle_name = object.middle_name ?? "";
|
|
155
|
-
message.last_name = object.last_name ?? "";
|
|
156
|
-
message.mobile_number = object.mobile_number ?? "";
|
|
157
|
-
return message;
|
|
158
|
-
},
|
|
159
|
-
};
|
|
160
|
-
function isSet(value) {
|
|
161
|
-
return value !== null && value !== undefined;
|
|
162
|
-
}
|
package/ts/customer/getstep.d.ts
DELETED
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import _m0 from "protobufjs/minimal";
|
|
2
|
-
export declare const protobufPackage = "customer.getstep";
|
|
3
|
-
export interface request {
|
|
4
|
-
}
|
|
5
|
-
export interface response {
|
|
6
|
-
step: string;
|
|
7
|
-
setp_data: stepResponse | undefined;
|
|
8
|
-
}
|
|
9
|
-
export interface Validation {
|
|
10
|
-
key: string;
|
|
11
|
-
value: string;
|
|
12
|
-
message: string;
|
|
13
|
-
}
|
|
14
|
-
export interface stepResponse {
|
|
15
|
-
page: string;
|
|
16
|
-
type: string;
|
|
17
|
-
button_text: string;
|
|
18
|
-
data: stepResponse_Field[];
|
|
19
|
-
}
|
|
20
|
-
export interface stepResponse_Field {
|
|
21
|
-
label: string;
|
|
22
|
-
key: string;
|
|
23
|
-
input_type: string;
|
|
24
|
-
data_type: string;
|
|
25
|
-
icon: string;
|
|
26
|
-
validations: Validation[];
|
|
27
|
-
}
|
|
28
|
-
export declare const request: {
|
|
29
|
-
encode(_: request, writer?: _m0.Writer): _m0.Writer;
|
|
30
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): request;
|
|
31
|
-
fromJSON(_: any): request;
|
|
32
|
-
toJSON(_: request): unknown;
|
|
33
|
-
create<I extends Exact<DeepPartial<request>, I>>(base?: I): request;
|
|
34
|
-
fromPartial<I extends Exact<DeepPartial<request>, I>>(_: I): request;
|
|
35
|
-
};
|
|
36
|
-
export declare const response: {
|
|
37
|
-
encode(message: response, writer?: _m0.Writer): _m0.Writer;
|
|
38
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): response;
|
|
39
|
-
fromJSON(object: any): response;
|
|
40
|
-
toJSON(message: response): unknown;
|
|
41
|
-
create<I extends Exact<DeepPartial<response>, I>>(base?: I): response;
|
|
42
|
-
fromPartial<I extends Exact<DeepPartial<response>, I>>(object: I): response;
|
|
43
|
-
};
|
|
44
|
-
export declare const Validation: {
|
|
45
|
-
encode(message: Validation, writer?: _m0.Writer): _m0.Writer;
|
|
46
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): Validation;
|
|
47
|
-
fromJSON(object: any): Validation;
|
|
48
|
-
toJSON(message: Validation): unknown;
|
|
49
|
-
create<I extends Exact<DeepPartial<Validation>, I>>(base?: I): Validation;
|
|
50
|
-
fromPartial<I extends Exact<DeepPartial<Validation>, I>>(object: I): Validation;
|
|
51
|
-
};
|
|
52
|
-
export declare const stepResponse: {
|
|
53
|
-
encode(message: stepResponse, writer?: _m0.Writer): _m0.Writer;
|
|
54
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): stepResponse;
|
|
55
|
-
fromJSON(object: any): stepResponse;
|
|
56
|
-
toJSON(message: stepResponse): unknown;
|
|
57
|
-
create<I extends Exact<DeepPartial<stepResponse>, I>>(base?: I): stepResponse;
|
|
58
|
-
fromPartial<I extends Exact<DeepPartial<stepResponse>, I>>(object: I): stepResponse;
|
|
59
|
-
};
|
|
60
|
-
export declare const stepResponse_Field: {
|
|
61
|
-
encode(message: stepResponse_Field, writer?: _m0.Writer): _m0.Writer;
|
|
62
|
-
decode(input: _m0.Reader | Uint8Array, length?: number): stepResponse_Field;
|
|
63
|
-
fromJSON(object: any): stepResponse_Field;
|
|
64
|
-
toJSON(message: stepResponse_Field): unknown;
|
|
65
|
-
create<I extends Exact<DeepPartial<stepResponse_Field>, I>>(base?: I): stepResponse_Field;
|
|
66
|
-
fromPartial<I extends Exact<DeepPartial<stepResponse_Field>, I>>(object: I): stepResponse_Field;
|
|
67
|
-
};
|
|
68
|
-
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
69
|
-
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 {} ? {
|
|
70
|
-
[K in keyof T]?: DeepPartial<T[K]>;
|
|
71
|
-
} : Partial<T>;
|
|
72
|
-
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
73
|
-
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
74
|
-
[K in keyof P]: Exact<P[K], I[K]>;
|
|
75
|
-
} & {
|
|
76
|
-
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
77
|
-
};
|
|
78
|
-
export {};
|