@stashfin/grpc 1.2.8 → 1.2.10
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/getcustomerbyid.d.ts +50 -0
- package/ts/customers/getcustomerbyid.js +346 -0
- package/ts/customers/getdashboard.d.ts +90 -0
- package/ts/customers/getdashboard.js +603 -0
- package/ts/customers/getdashboardmaincard.d.ts +69 -0
- package/ts/customers/getdashboardmaincard.js +520 -0
- package/ts/customers.d.ts +42 -0
- package/ts/customers.js +30 -0
- package/ts/google/protobuf/timestamp.d.ts +127 -0
- package/ts/google/protobuf/timestamp.js +97 -0
- package/ts/loans/approveloan.d.ts +39 -0
- package/ts/loans/approveloan.js +175 -0
- package/ts/loans/banklist.d.ts +13 -1
- package/ts/loans/banklist.js +88 -20
- package/ts/loans/calculateemi.d.ts +0 -11
- package/ts/loans/calculateemi.js +17 -71
- package/ts/loans/updateinstallments.d.ts +38 -0
- package/ts/loans/updateinstallments.js +161 -0
- package/ts/loans/updateloan.d.ts +39 -0
- package/ts/loans/updateloan.js +175 -0
- package/ts/loans.d.ts +42 -0
- package/ts/loans.js +30 -0
package/package.json
CHANGED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getcustomerbyid";
|
|
3
|
+
export interface getCustomerByIdRequest {
|
|
4
|
+
customer_id: number;
|
|
5
|
+
}
|
|
6
|
+
export interface getCustomerByIdResponse {
|
|
7
|
+
mobile: string;
|
|
8
|
+
email: string;
|
|
9
|
+
first_name: string;
|
|
10
|
+
middle_name: string;
|
|
11
|
+
last_name: string;
|
|
12
|
+
father_name: string;
|
|
13
|
+
mother_maiden_name: string;
|
|
14
|
+
dob: string;
|
|
15
|
+
company_name: string;
|
|
16
|
+
pincode: string;
|
|
17
|
+
app_version: string;
|
|
18
|
+
biometric_enabled: boolean;
|
|
19
|
+
journey_sequence: number;
|
|
20
|
+
category: string;
|
|
21
|
+
loc_limit: number;
|
|
22
|
+
status: string;
|
|
23
|
+
}
|
|
24
|
+
export declare const getCustomerByIdRequest: {
|
|
25
|
+
encode(message: getCustomerByIdRequest, writer?: _m0.Writer): _m0.Writer;
|
|
26
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerByIdRequest;
|
|
27
|
+
fromJSON(object: any): getCustomerByIdRequest;
|
|
28
|
+
toJSON(message: getCustomerByIdRequest): unknown;
|
|
29
|
+
create<I extends Exact<DeepPartial<getCustomerByIdRequest>, I>>(base?: I): getCustomerByIdRequest;
|
|
30
|
+
fromPartial<I extends Exact<DeepPartial<getCustomerByIdRequest>, I>>(object: I): getCustomerByIdRequest;
|
|
31
|
+
};
|
|
32
|
+
export declare const getCustomerByIdResponse: {
|
|
33
|
+
encode(message: getCustomerByIdResponse, writer?: _m0.Writer): _m0.Writer;
|
|
34
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getCustomerByIdResponse;
|
|
35
|
+
fromJSON(object: any): getCustomerByIdResponse;
|
|
36
|
+
toJSON(message: getCustomerByIdResponse): unknown;
|
|
37
|
+
create<I extends Exact<DeepPartial<getCustomerByIdResponse>, I>>(base?: I): getCustomerByIdResponse;
|
|
38
|
+
fromPartial<I extends Exact<DeepPartial<getCustomerByIdResponse>, I>>(object: I): getCustomerByIdResponse;
|
|
39
|
+
};
|
|
40
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
41
|
+
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 {} ? {
|
|
42
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
43
|
+
} : Partial<T>;
|
|
44
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
45
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
46
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
47
|
+
} & {
|
|
48
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
49
|
+
};
|
|
50
|
+
export {};
|
|
@@ -0,0 +1,346 @@
|
|
|
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/getcustomerbyid.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.getCustomerByIdResponse = exports.getCustomerByIdRequest = exports.protobufPackage = void 0;
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
const minimal_1 = __importDefault(require("protobufjs/minimal"));
|
|
14
|
+
exports.protobufPackage = "customers.getcustomerbyid";
|
|
15
|
+
function createBasegetCustomerByIdRequest() {
|
|
16
|
+
return { customer_id: 0 };
|
|
17
|
+
}
|
|
18
|
+
exports.getCustomerByIdRequest = {
|
|
19
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
20
|
+
if (message.customer_id !== 0) {
|
|
21
|
+
writer.uint32(8).int32(message.customer_id);
|
|
22
|
+
}
|
|
23
|
+
return writer;
|
|
24
|
+
},
|
|
25
|
+
decode(input, length) {
|
|
26
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
27
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
28
|
+
const message = createBasegetCustomerByIdRequest();
|
|
29
|
+
while (reader.pos < end) {
|
|
30
|
+
const tag = reader.uint32();
|
|
31
|
+
switch (tag >>> 3) {
|
|
32
|
+
case 1:
|
|
33
|
+
if (tag !== 8) {
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
message.customer_id = reader.int32();
|
|
37
|
+
continue;
|
|
38
|
+
}
|
|
39
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
40
|
+
break;
|
|
41
|
+
}
|
|
42
|
+
reader.skipType(tag & 7);
|
|
43
|
+
}
|
|
44
|
+
return message;
|
|
45
|
+
},
|
|
46
|
+
fromJSON(object) {
|
|
47
|
+
return { customer_id: isSet(object.customer_id) ? globalThis.Number(object.customer_id) : 0 };
|
|
48
|
+
},
|
|
49
|
+
toJSON(message) {
|
|
50
|
+
const obj = {};
|
|
51
|
+
if (message.customer_id !== 0) {
|
|
52
|
+
obj.customer_id = Math.round(message.customer_id);
|
|
53
|
+
}
|
|
54
|
+
return obj;
|
|
55
|
+
},
|
|
56
|
+
create(base) {
|
|
57
|
+
return exports.getCustomerByIdRequest.fromPartial(base ?? {});
|
|
58
|
+
},
|
|
59
|
+
fromPartial(object) {
|
|
60
|
+
const message = createBasegetCustomerByIdRequest();
|
|
61
|
+
message.customer_id = object.customer_id ?? 0;
|
|
62
|
+
return message;
|
|
63
|
+
},
|
|
64
|
+
};
|
|
65
|
+
function createBasegetCustomerByIdResponse() {
|
|
66
|
+
return {
|
|
67
|
+
mobile: "",
|
|
68
|
+
email: "",
|
|
69
|
+
first_name: "",
|
|
70
|
+
middle_name: "",
|
|
71
|
+
last_name: "",
|
|
72
|
+
father_name: "",
|
|
73
|
+
mother_maiden_name: "",
|
|
74
|
+
dob: "",
|
|
75
|
+
company_name: "",
|
|
76
|
+
pincode: "",
|
|
77
|
+
app_version: "",
|
|
78
|
+
biometric_enabled: false,
|
|
79
|
+
journey_sequence: 0,
|
|
80
|
+
category: "",
|
|
81
|
+
loc_limit: 0,
|
|
82
|
+
status: "",
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
exports.getCustomerByIdResponse = {
|
|
86
|
+
encode(message, writer = minimal_1.default.Writer.create()) {
|
|
87
|
+
if (message.mobile !== "") {
|
|
88
|
+
writer.uint32(10).string(message.mobile);
|
|
89
|
+
}
|
|
90
|
+
if (message.email !== "") {
|
|
91
|
+
writer.uint32(18).string(message.email);
|
|
92
|
+
}
|
|
93
|
+
if (message.first_name !== "") {
|
|
94
|
+
writer.uint32(26).string(message.first_name);
|
|
95
|
+
}
|
|
96
|
+
if (message.middle_name !== "") {
|
|
97
|
+
writer.uint32(34).string(message.middle_name);
|
|
98
|
+
}
|
|
99
|
+
if (message.last_name !== "") {
|
|
100
|
+
writer.uint32(42).string(message.last_name);
|
|
101
|
+
}
|
|
102
|
+
if (message.father_name !== "") {
|
|
103
|
+
writer.uint32(50).string(message.father_name);
|
|
104
|
+
}
|
|
105
|
+
if (message.mother_maiden_name !== "") {
|
|
106
|
+
writer.uint32(58).string(message.mother_maiden_name);
|
|
107
|
+
}
|
|
108
|
+
if (message.dob !== "") {
|
|
109
|
+
writer.uint32(66).string(message.dob);
|
|
110
|
+
}
|
|
111
|
+
if (message.company_name !== "") {
|
|
112
|
+
writer.uint32(74).string(message.company_name);
|
|
113
|
+
}
|
|
114
|
+
if (message.pincode !== "") {
|
|
115
|
+
writer.uint32(82).string(message.pincode);
|
|
116
|
+
}
|
|
117
|
+
if (message.app_version !== "") {
|
|
118
|
+
writer.uint32(90).string(message.app_version);
|
|
119
|
+
}
|
|
120
|
+
if (message.biometric_enabled !== false) {
|
|
121
|
+
writer.uint32(96).bool(message.biometric_enabled);
|
|
122
|
+
}
|
|
123
|
+
if (message.journey_sequence !== 0) {
|
|
124
|
+
writer.uint32(104).int32(message.journey_sequence);
|
|
125
|
+
}
|
|
126
|
+
if (message.category !== "") {
|
|
127
|
+
writer.uint32(114).string(message.category);
|
|
128
|
+
}
|
|
129
|
+
if (message.loc_limit !== 0) {
|
|
130
|
+
writer.uint32(125).float(message.loc_limit);
|
|
131
|
+
}
|
|
132
|
+
if (message.status !== "") {
|
|
133
|
+
writer.uint32(130).string(message.status);
|
|
134
|
+
}
|
|
135
|
+
return writer;
|
|
136
|
+
},
|
|
137
|
+
decode(input, length) {
|
|
138
|
+
const reader = input instanceof minimal_1.default.Reader ? input : minimal_1.default.Reader.create(input);
|
|
139
|
+
let end = length === undefined ? reader.len : reader.pos + length;
|
|
140
|
+
const message = createBasegetCustomerByIdResponse();
|
|
141
|
+
while (reader.pos < end) {
|
|
142
|
+
const tag = reader.uint32();
|
|
143
|
+
switch (tag >>> 3) {
|
|
144
|
+
case 1:
|
|
145
|
+
if (tag !== 10) {
|
|
146
|
+
break;
|
|
147
|
+
}
|
|
148
|
+
message.mobile = reader.string();
|
|
149
|
+
continue;
|
|
150
|
+
case 2:
|
|
151
|
+
if (tag !== 18) {
|
|
152
|
+
break;
|
|
153
|
+
}
|
|
154
|
+
message.email = reader.string();
|
|
155
|
+
continue;
|
|
156
|
+
case 3:
|
|
157
|
+
if (tag !== 26) {
|
|
158
|
+
break;
|
|
159
|
+
}
|
|
160
|
+
message.first_name = reader.string();
|
|
161
|
+
continue;
|
|
162
|
+
case 4:
|
|
163
|
+
if (tag !== 34) {
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
message.middle_name = reader.string();
|
|
167
|
+
continue;
|
|
168
|
+
case 5:
|
|
169
|
+
if (tag !== 42) {
|
|
170
|
+
break;
|
|
171
|
+
}
|
|
172
|
+
message.last_name = reader.string();
|
|
173
|
+
continue;
|
|
174
|
+
case 6:
|
|
175
|
+
if (tag !== 50) {
|
|
176
|
+
break;
|
|
177
|
+
}
|
|
178
|
+
message.father_name = reader.string();
|
|
179
|
+
continue;
|
|
180
|
+
case 7:
|
|
181
|
+
if (tag !== 58) {
|
|
182
|
+
break;
|
|
183
|
+
}
|
|
184
|
+
message.mother_maiden_name = reader.string();
|
|
185
|
+
continue;
|
|
186
|
+
case 8:
|
|
187
|
+
if (tag !== 66) {
|
|
188
|
+
break;
|
|
189
|
+
}
|
|
190
|
+
message.dob = reader.string();
|
|
191
|
+
continue;
|
|
192
|
+
case 9:
|
|
193
|
+
if (tag !== 74) {
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
message.company_name = reader.string();
|
|
197
|
+
continue;
|
|
198
|
+
case 10:
|
|
199
|
+
if (tag !== 82) {
|
|
200
|
+
break;
|
|
201
|
+
}
|
|
202
|
+
message.pincode = reader.string();
|
|
203
|
+
continue;
|
|
204
|
+
case 11:
|
|
205
|
+
if (tag !== 90) {
|
|
206
|
+
break;
|
|
207
|
+
}
|
|
208
|
+
message.app_version = reader.string();
|
|
209
|
+
continue;
|
|
210
|
+
case 12:
|
|
211
|
+
if (tag !== 96) {
|
|
212
|
+
break;
|
|
213
|
+
}
|
|
214
|
+
message.biometric_enabled = reader.bool();
|
|
215
|
+
continue;
|
|
216
|
+
case 13:
|
|
217
|
+
if (tag !== 104) {
|
|
218
|
+
break;
|
|
219
|
+
}
|
|
220
|
+
message.journey_sequence = reader.int32();
|
|
221
|
+
continue;
|
|
222
|
+
case 14:
|
|
223
|
+
if (tag !== 114) {
|
|
224
|
+
break;
|
|
225
|
+
}
|
|
226
|
+
message.category = reader.string();
|
|
227
|
+
continue;
|
|
228
|
+
case 15:
|
|
229
|
+
if (tag !== 125) {
|
|
230
|
+
break;
|
|
231
|
+
}
|
|
232
|
+
message.loc_limit = reader.float();
|
|
233
|
+
continue;
|
|
234
|
+
case 16:
|
|
235
|
+
if (tag !== 130) {
|
|
236
|
+
break;
|
|
237
|
+
}
|
|
238
|
+
message.status = reader.string();
|
|
239
|
+
continue;
|
|
240
|
+
}
|
|
241
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
242
|
+
break;
|
|
243
|
+
}
|
|
244
|
+
reader.skipType(tag & 7);
|
|
245
|
+
}
|
|
246
|
+
return message;
|
|
247
|
+
},
|
|
248
|
+
fromJSON(object) {
|
|
249
|
+
return {
|
|
250
|
+
mobile: isSet(object.mobile) ? globalThis.String(object.mobile) : "",
|
|
251
|
+
email: isSet(object.email) ? globalThis.String(object.email) : "",
|
|
252
|
+
first_name: isSet(object.first_name) ? globalThis.String(object.first_name) : "",
|
|
253
|
+
middle_name: isSet(object.middle_name) ? globalThis.String(object.middle_name) : "",
|
|
254
|
+
last_name: isSet(object.last_name) ? globalThis.String(object.last_name) : "",
|
|
255
|
+
father_name: isSet(object.father_name) ? globalThis.String(object.father_name) : "",
|
|
256
|
+
mother_maiden_name: isSet(object.mother_maiden_name) ? globalThis.String(object.mother_maiden_name) : "",
|
|
257
|
+
dob: isSet(object.dob) ? globalThis.String(object.dob) : "",
|
|
258
|
+
company_name: isSet(object.company_name) ? globalThis.String(object.company_name) : "",
|
|
259
|
+
pincode: isSet(object.pincode) ? globalThis.String(object.pincode) : "",
|
|
260
|
+
app_version: isSet(object.app_version) ? globalThis.String(object.app_version) : "",
|
|
261
|
+
biometric_enabled: isSet(object.biometric_enabled) ? globalThis.Boolean(object.biometric_enabled) : false,
|
|
262
|
+
journey_sequence: isSet(object.journey_sequence) ? globalThis.Number(object.journey_sequence) : 0,
|
|
263
|
+
category: isSet(object.category) ? globalThis.String(object.category) : "",
|
|
264
|
+
loc_limit: isSet(object.loc_limit) ? globalThis.Number(object.loc_limit) : 0,
|
|
265
|
+
status: isSet(object.status) ? globalThis.String(object.status) : "",
|
|
266
|
+
};
|
|
267
|
+
},
|
|
268
|
+
toJSON(message) {
|
|
269
|
+
const obj = {};
|
|
270
|
+
if (message.mobile !== "") {
|
|
271
|
+
obj.mobile = message.mobile;
|
|
272
|
+
}
|
|
273
|
+
if (message.email !== "") {
|
|
274
|
+
obj.email = message.email;
|
|
275
|
+
}
|
|
276
|
+
if (message.first_name !== "") {
|
|
277
|
+
obj.first_name = message.first_name;
|
|
278
|
+
}
|
|
279
|
+
if (message.middle_name !== "") {
|
|
280
|
+
obj.middle_name = message.middle_name;
|
|
281
|
+
}
|
|
282
|
+
if (message.last_name !== "") {
|
|
283
|
+
obj.last_name = message.last_name;
|
|
284
|
+
}
|
|
285
|
+
if (message.father_name !== "") {
|
|
286
|
+
obj.father_name = message.father_name;
|
|
287
|
+
}
|
|
288
|
+
if (message.mother_maiden_name !== "") {
|
|
289
|
+
obj.mother_maiden_name = message.mother_maiden_name;
|
|
290
|
+
}
|
|
291
|
+
if (message.dob !== "") {
|
|
292
|
+
obj.dob = message.dob;
|
|
293
|
+
}
|
|
294
|
+
if (message.company_name !== "") {
|
|
295
|
+
obj.company_name = message.company_name;
|
|
296
|
+
}
|
|
297
|
+
if (message.pincode !== "") {
|
|
298
|
+
obj.pincode = message.pincode;
|
|
299
|
+
}
|
|
300
|
+
if (message.app_version !== "") {
|
|
301
|
+
obj.app_version = message.app_version;
|
|
302
|
+
}
|
|
303
|
+
if (message.biometric_enabled !== false) {
|
|
304
|
+
obj.biometric_enabled = message.biometric_enabled;
|
|
305
|
+
}
|
|
306
|
+
if (message.journey_sequence !== 0) {
|
|
307
|
+
obj.journey_sequence = Math.round(message.journey_sequence);
|
|
308
|
+
}
|
|
309
|
+
if (message.category !== "") {
|
|
310
|
+
obj.category = message.category;
|
|
311
|
+
}
|
|
312
|
+
if (message.loc_limit !== 0) {
|
|
313
|
+
obj.loc_limit = message.loc_limit;
|
|
314
|
+
}
|
|
315
|
+
if (message.status !== "") {
|
|
316
|
+
obj.status = message.status;
|
|
317
|
+
}
|
|
318
|
+
return obj;
|
|
319
|
+
},
|
|
320
|
+
create(base) {
|
|
321
|
+
return exports.getCustomerByIdResponse.fromPartial(base ?? {});
|
|
322
|
+
},
|
|
323
|
+
fromPartial(object) {
|
|
324
|
+
const message = createBasegetCustomerByIdResponse();
|
|
325
|
+
message.mobile = object.mobile ?? "";
|
|
326
|
+
message.email = object.email ?? "";
|
|
327
|
+
message.first_name = object.first_name ?? "";
|
|
328
|
+
message.middle_name = object.middle_name ?? "";
|
|
329
|
+
message.last_name = object.last_name ?? "";
|
|
330
|
+
message.father_name = object.father_name ?? "";
|
|
331
|
+
message.mother_maiden_name = object.mother_maiden_name ?? "";
|
|
332
|
+
message.dob = object.dob ?? "";
|
|
333
|
+
message.company_name = object.company_name ?? "";
|
|
334
|
+
message.pincode = object.pincode ?? "";
|
|
335
|
+
message.app_version = object.app_version ?? "";
|
|
336
|
+
message.biometric_enabled = object.biometric_enabled ?? false;
|
|
337
|
+
message.journey_sequence = object.journey_sequence ?? 0;
|
|
338
|
+
message.category = object.category ?? "";
|
|
339
|
+
message.loc_limit = object.loc_limit ?? 0;
|
|
340
|
+
message.status = object.status ?? "";
|
|
341
|
+
return message;
|
|
342
|
+
},
|
|
343
|
+
};
|
|
344
|
+
function isSet(value) {
|
|
345
|
+
return value !== null && value !== undefined;
|
|
346
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import _m0 from "protobufjs/minimal";
|
|
2
|
+
export declare const protobufPackage = "customers.getdashboard";
|
|
3
|
+
export interface getDashboardRequest {
|
|
4
|
+
}
|
|
5
|
+
export interface getDashboardResponse {
|
|
6
|
+
user_state: string;
|
|
7
|
+
father_name_dialog: boolean;
|
|
8
|
+
current_step: string;
|
|
9
|
+
blocks: Block[];
|
|
10
|
+
}
|
|
11
|
+
export interface Block {
|
|
12
|
+
block_name: string;
|
|
13
|
+
block_title: string;
|
|
14
|
+
block_code: string;
|
|
15
|
+
block_data: BlockData[];
|
|
16
|
+
}
|
|
17
|
+
export interface BlockData {
|
|
18
|
+
text: string;
|
|
19
|
+
image_url: string;
|
|
20
|
+
video_url: string;
|
|
21
|
+
video_length: number;
|
|
22
|
+
action_url: string;
|
|
23
|
+
landing_page: string;
|
|
24
|
+
api_mode: string;
|
|
25
|
+
app_version: string;
|
|
26
|
+
old_customers: boolean;
|
|
27
|
+
is_new: boolean;
|
|
28
|
+
action_type: string;
|
|
29
|
+
color1: string;
|
|
30
|
+
color2: string;
|
|
31
|
+
image_trailing: boolean;
|
|
32
|
+
tag: Tag | undefined;
|
|
33
|
+
overlay_image: string;
|
|
34
|
+
}
|
|
35
|
+
export interface Tag {
|
|
36
|
+
text: string;
|
|
37
|
+
bg_color: string;
|
|
38
|
+
text_color: string;
|
|
39
|
+
}
|
|
40
|
+
export declare const getDashboardRequest: {
|
|
41
|
+
encode(_: getDashboardRequest, writer?: _m0.Writer): _m0.Writer;
|
|
42
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getDashboardRequest;
|
|
43
|
+
fromJSON(_: any): getDashboardRequest;
|
|
44
|
+
toJSON(_: getDashboardRequest): unknown;
|
|
45
|
+
create<I extends Exact<DeepPartial<getDashboardRequest>, I>>(base?: I): getDashboardRequest;
|
|
46
|
+
fromPartial<I extends Exact<DeepPartial<getDashboardRequest>, I>>(_: I): getDashboardRequest;
|
|
47
|
+
};
|
|
48
|
+
export declare const getDashboardResponse: {
|
|
49
|
+
encode(message: getDashboardResponse, writer?: _m0.Writer): _m0.Writer;
|
|
50
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): getDashboardResponse;
|
|
51
|
+
fromJSON(object: any): getDashboardResponse;
|
|
52
|
+
toJSON(message: getDashboardResponse): unknown;
|
|
53
|
+
create<I extends Exact<DeepPartial<getDashboardResponse>, I>>(base?: I): getDashboardResponse;
|
|
54
|
+
fromPartial<I extends Exact<DeepPartial<getDashboardResponse>, I>>(object: I): getDashboardResponse;
|
|
55
|
+
};
|
|
56
|
+
export declare const Block: {
|
|
57
|
+
encode(message: Block, writer?: _m0.Writer): _m0.Writer;
|
|
58
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Block;
|
|
59
|
+
fromJSON(object: any): Block;
|
|
60
|
+
toJSON(message: Block): unknown;
|
|
61
|
+
create<I extends Exact<DeepPartial<Block>, I>>(base?: I): Block;
|
|
62
|
+
fromPartial<I extends Exact<DeepPartial<Block>, I>>(object: I): Block;
|
|
63
|
+
};
|
|
64
|
+
export declare const BlockData: {
|
|
65
|
+
encode(message: BlockData, writer?: _m0.Writer): _m0.Writer;
|
|
66
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): BlockData;
|
|
67
|
+
fromJSON(object: any): BlockData;
|
|
68
|
+
toJSON(message: BlockData): unknown;
|
|
69
|
+
create<I extends Exact<DeepPartial<BlockData>, I>>(base?: I): BlockData;
|
|
70
|
+
fromPartial<I extends Exact<DeepPartial<BlockData>, I>>(object: I): BlockData;
|
|
71
|
+
};
|
|
72
|
+
export declare const Tag: {
|
|
73
|
+
encode(message: Tag, writer?: _m0.Writer): _m0.Writer;
|
|
74
|
+
decode(input: _m0.Reader | Uint8Array, length?: number): Tag;
|
|
75
|
+
fromJSON(object: any): Tag;
|
|
76
|
+
toJSON(message: Tag): unknown;
|
|
77
|
+
create<I extends Exact<DeepPartial<Tag>, I>>(base?: I): Tag;
|
|
78
|
+
fromPartial<I extends Exact<DeepPartial<Tag>, I>>(object: I): Tag;
|
|
79
|
+
};
|
|
80
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
81
|
+
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 {} ? {
|
|
82
|
+
[K in keyof T]?: DeepPartial<T[K]>;
|
|
83
|
+
} : Partial<T>;
|
|
84
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
85
|
+
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
86
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
87
|
+
} & {
|
|
88
|
+
[K in Exclude<keyof I, KeysOfUnion<P>>]: never;
|
|
89
|
+
};
|
|
90
|
+
export {};
|