@technova-tech/olive-proto-lib 1.2.0
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/accounts/accounts.js +11726 -0
- package/admin/admin.js +6902 -0
- package/audit/audit.js +984 -0
- package/bills/bills.js +2363 -0
- package/business/business.js +16432 -0
- package/google/protobuf/any.js +113 -0
- package/google/protobuf/struct.js +357 -0
- package/image/recognition.js +456 -0
- package/index.js +46 -0
- package/package.json +31 -0
- package/pos/transactions.js +2084 -0
- package/pos.v1/auth.js +1179 -0
- package/pos.v1/card-transactions.js +2473 -0
- package/pos.v1/eod.js +2416 -0
- package/pos.v1/merchants.js +1552 -0
- package/pos.v1/terminal-transactions.js +3792 -0
- package/pos.v1/terminal-types.js +3888 -0
- package/pos.v1/terminals.js +32605 -0
- package/pos.v1/transactions.js +2918 -0
- package/shared/response.js +233 -0
- package/storage/storage.js +476 -0
- package/terminal/terminal.js +12583 -0
- package/transfer/transfer.js +3609 -0
- package/types/accounts/accounts.d.ts +3943 -0
- package/types/admin/admin.d.ts +2348 -0
- package/types/audit/audit.d.ts +323 -0
- package/types/bills/bills.d.ts +731 -0
- package/types/business/business.d.ts +7630 -0
- package/types/google/protobuf/any.d.ts +27 -0
- package/types/google/protobuf/struct.d.ts +175 -0
- package/types/image/recognition.d.ts +147 -0
- package/types/index.d.ts +43 -0
- package/types/pos/transactions.d.ts +667 -0
- package/types/pos.v1/auth.d.ts +374 -0
- package/types/pos.v1/card-transactions.d.ts +808 -0
- package/types/pos.v1/eod.d.ts +819 -0
- package/types/pos.v1/merchants.d.ts +566 -0
- package/types/pos.v1/terminal-transactions.d.ts +1342 -0
- package/types/pos.v1/terminal-types.d.ts +1215 -0
- package/types/pos.v1/terminals.d.ts +11142 -0
- package/types/pos.v1/transactions.d.ts +1057 -0
- package/types/shared/response.d.ts +65 -0
- package/types/storage/storage.d.ts +153 -0
- package/types/terminal/terminal.d.ts +5482 -0
- package/types/transfer/transfer.d.ts +1148 -0
- package/types/users/users.d.ts +4336 -0
- package/types/verifications/verifications.d.ts +2952 -0
- package/users/users.js +12683 -0
- package/verifications/verifications.js +8194 -0
|
@@ -0,0 +1,2348 @@
|
|
|
1
|
+
/// <reference types="node" />
|
|
2
|
+
import * as pb_1 from "google-protobuf";
|
|
3
|
+
import * as grpc_1 from "@grpc/grpc-js";
|
|
4
|
+
export declare namespace com.pkg.admin {
|
|
5
|
+
export class EmptyRequest extends pb_1.Message {
|
|
6
|
+
#private;
|
|
7
|
+
constructor(data?: any[] | {});
|
|
8
|
+
static fromObject(data: {}): EmptyRequest;
|
|
9
|
+
toObject(): {};
|
|
10
|
+
serialize(): Uint8Array;
|
|
11
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
12
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): EmptyRequest;
|
|
13
|
+
serializeBinary(): Uint8Array;
|
|
14
|
+
static deserializeBinary(bytes: Uint8Array): EmptyRequest;
|
|
15
|
+
}
|
|
16
|
+
export class ValidationErrors extends pb_1.Message {
|
|
17
|
+
#private;
|
|
18
|
+
constructor(data?: any[] | {
|
|
19
|
+
field?: string;
|
|
20
|
+
message?: string;
|
|
21
|
+
});
|
|
22
|
+
get field(): string;
|
|
23
|
+
set field(value: string);
|
|
24
|
+
get message(): string;
|
|
25
|
+
set message(value: string);
|
|
26
|
+
static fromObject(data: {
|
|
27
|
+
field?: string;
|
|
28
|
+
message?: string;
|
|
29
|
+
}): ValidationErrors;
|
|
30
|
+
toObject(): {
|
|
31
|
+
field?: string | undefined;
|
|
32
|
+
message?: string | undefined;
|
|
33
|
+
};
|
|
34
|
+
serialize(): Uint8Array;
|
|
35
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
36
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ValidationErrors;
|
|
37
|
+
serializeBinary(): Uint8Array;
|
|
38
|
+
static deserializeBinary(bytes: Uint8Array): ValidationErrors;
|
|
39
|
+
}
|
|
40
|
+
export class DefaultResponse extends pb_1.Message {
|
|
41
|
+
#private;
|
|
42
|
+
constructor(data?: any[] | {
|
|
43
|
+
success?: boolean;
|
|
44
|
+
status?: string;
|
|
45
|
+
message?: string;
|
|
46
|
+
errors?: ValidationErrors[];
|
|
47
|
+
error?: string;
|
|
48
|
+
});
|
|
49
|
+
get success(): boolean;
|
|
50
|
+
set success(value: boolean);
|
|
51
|
+
get status(): string;
|
|
52
|
+
set status(value: string);
|
|
53
|
+
get message(): string;
|
|
54
|
+
set message(value: string);
|
|
55
|
+
get errors(): ValidationErrors[];
|
|
56
|
+
set errors(value: ValidationErrors[]);
|
|
57
|
+
get error(): string;
|
|
58
|
+
set error(value: string);
|
|
59
|
+
static fromObject(data: {
|
|
60
|
+
success?: boolean;
|
|
61
|
+
status?: string;
|
|
62
|
+
message?: string;
|
|
63
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
64
|
+
error?: string;
|
|
65
|
+
}): DefaultResponse;
|
|
66
|
+
toObject(): {
|
|
67
|
+
success?: boolean | undefined;
|
|
68
|
+
status?: string | undefined;
|
|
69
|
+
message?: string | undefined;
|
|
70
|
+
errors?: {
|
|
71
|
+
field?: string | undefined;
|
|
72
|
+
message?: string | undefined;
|
|
73
|
+
}[] | undefined;
|
|
74
|
+
error?: string | undefined;
|
|
75
|
+
};
|
|
76
|
+
serialize(): Uint8Array;
|
|
77
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
78
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): DefaultResponse;
|
|
79
|
+
serializeBinary(): Uint8Array;
|
|
80
|
+
static deserializeBinary(bytes: Uint8Array): DefaultResponse;
|
|
81
|
+
}
|
|
82
|
+
export class Pagination extends pb_1.Message {
|
|
83
|
+
#private;
|
|
84
|
+
constructor(data?: any[] | {
|
|
85
|
+
page?: number;
|
|
86
|
+
limit?: number;
|
|
87
|
+
total?: number;
|
|
88
|
+
hasNext?: boolean;
|
|
89
|
+
hasPrev?: boolean;
|
|
90
|
+
});
|
|
91
|
+
get page(): number;
|
|
92
|
+
set page(value: number);
|
|
93
|
+
get limit(): number;
|
|
94
|
+
set limit(value: number);
|
|
95
|
+
get total(): number;
|
|
96
|
+
set total(value: number);
|
|
97
|
+
get hasNext(): boolean;
|
|
98
|
+
set hasNext(value: boolean);
|
|
99
|
+
get hasPrev(): boolean;
|
|
100
|
+
set hasPrev(value: boolean);
|
|
101
|
+
static fromObject(data: {
|
|
102
|
+
page?: number;
|
|
103
|
+
limit?: number;
|
|
104
|
+
total?: number;
|
|
105
|
+
hasNext?: boolean;
|
|
106
|
+
hasPrev?: boolean;
|
|
107
|
+
}): Pagination;
|
|
108
|
+
toObject(): {
|
|
109
|
+
page?: number | undefined;
|
|
110
|
+
limit?: number | undefined;
|
|
111
|
+
total?: number | undefined;
|
|
112
|
+
hasNext?: boolean | undefined;
|
|
113
|
+
hasPrev?: boolean | undefined;
|
|
114
|
+
};
|
|
115
|
+
serialize(): Uint8Array;
|
|
116
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
117
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Pagination;
|
|
118
|
+
serializeBinary(): Uint8Array;
|
|
119
|
+
static deserializeBinary(bytes: Uint8Array): Pagination;
|
|
120
|
+
}
|
|
121
|
+
export class IdRequest extends pb_1.Message {
|
|
122
|
+
#private;
|
|
123
|
+
constructor(data?: any[] | {
|
|
124
|
+
id?: string;
|
|
125
|
+
});
|
|
126
|
+
get id(): string;
|
|
127
|
+
set id(value: string);
|
|
128
|
+
static fromObject(data: {
|
|
129
|
+
id?: string;
|
|
130
|
+
}): IdRequest;
|
|
131
|
+
toObject(): {
|
|
132
|
+
id?: string | undefined;
|
|
133
|
+
};
|
|
134
|
+
serialize(): Uint8Array;
|
|
135
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
136
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): IdRequest;
|
|
137
|
+
serializeBinary(): Uint8Array;
|
|
138
|
+
static deserializeBinary(bytes: Uint8Array): IdRequest;
|
|
139
|
+
}
|
|
140
|
+
export class UpdateRoleRequest extends pb_1.Message {
|
|
141
|
+
#private;
|
|
142
|
+
constructor(data?: any[] | {
|
|
143
|
+
name?: string;
|
|
144
|
+
description?: string;
|
|
145
|
+
permissions?: string[];
|
|
146
|
+
active?: string;
|
|
147
|
+
id?: string;
|
|
148
|
+
});
|
|
149
|
+
get name(): string;
|
|
150
|
+
set name(value: string);
|
|
151
|
+
get description(): string;
|
|
152
|
+
set description(value: string);
|
|
153
|
+
get permissions(): string[];
|
|
154
|
+
set permissions(value: string[]);
|
|
155
|
+
get active(): string;
|
|
156
|
+
set active(value: string);
|
|
157
|
+
get id(): string;
|
|
158
|
+
set id(value: string);
|
|
159
|
+
static fromObject(data: {
|
|
160
|
+
name?: string;
|
|
161
|
+
description?: string;
|
|
162
|
+
permissions?: string[];
|
|
163
|
+
active?: string;
|
|
164
|
+
id?: string;
|
|
165
|
+
}): UpdateRoleRequest;
|
|
166
|
+
toObject(): {
|
|
167
|
+
name?: string | undefined;
|
|
168
|
+
description?: string | undefined;
|
|
169
|
+
permissions?: string[] | undefined;
|
|
170
|
+
active?: string | undefined;
|
|
171
|
+
id?: string | undefined;
|
|
172
|
+
};
|
|
173
|
+
serialize(): Uint8Array;
|
|
174
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
175
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateRoleRequest;
|
|
176
|
+
serializeBinary(): Uint8Array;
|
|
177
|
+
static deserializeBinary(bytes: Uint8Array): UpdateRoleRequest;
|
|
178
|
+
}
|
|
179
|
+
export class Permission extends pb_1.Message {
|
|
180
|
+
#private;
|
|
181
|
+
constructor(data?: any[] | {
|
|
182
|
+
id?: string;
|
|
183
|
+
name?: string;
|
|
184
|
+
description?: string;
|
|
185
|
+
code?: string;
|
|
186
|
+
});
|
|
187
|
+
get id(): string;
|
|
188
|
+
set id(value: string);
|
|
189
|
+
get name(): string;
|
|
190
|
+
set name(value: string);
|
|
191
|
+
get description(): string;
|
|
192
|
+
set description(value: string);
|
|
193
|
+
get code(): string;
|
|
194
|
+
set code(value: string);
|
|
195
|
+
static fromObject(data: {
|
|
196
|
+
id?: string;
|
|
197
|
+
name?: string;
|
|
198
|
+
description?: string;
|
|
199
|
+
code?: string;
|
|
200
|
+
}): Permission;
|
|
201
|
+
toObject(): {
|
|
202
|
+
id?: string | undefined;
|
|
203
|
+
name?: string | undefined;
|
|
204
|
+
description?: string | undefined;
|
|
205
|
+
code?: string | undefined;
|
|
206
|
+
};
|
|
207
|
+
serialize(): Uint8Array;
|
|
208
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
209
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Permission;
|
|
210
|
+
serializeBinary(): Uint8Array;
|
|
211
|
+
static deserializeBinary(bytes: Uint8Array): Permission;
|
|
212
|
+
}
|
|
213
|
+
export class GetPermissionRequest extends pb_1.Message {
|
|
214
|
+
#private;
|
|
215
|
+
constructor(data?: any[] | {
|
|
216
|
+
search?: string;
|
|
217
|
+
});
|
|
218
|
+
get search(): string;
|
|
219
|
+
set search(value: string);
|
|
220
|
+
static fromObject(data: {
|
|
221
|
+
search?: string;
|
|
222
|
+
}): GetPermissionRequest;
|
|
223
|
+
toObject(): {
|
|
224
|
+
search?: string | undefined;
|
|
225
|
+
};
|
|
226
|
+
serialize(): Uint8Array;
|
|
227
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
228
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetPermissionRequest;
|
|
229
|
+
serializeBinary(): Uint8Array;
|
|
230
|
+
static deserializeBinary(bytes: Uint8Array): GetPermissionRequest;
|
|
231
|
+
}
|
|
232
|
+
export class CreatePermissionRequest extends pb_1.Message {
|
|
233
|
+
#private;
|
|
234
|
+
constructor(data?: any[] | {
|
|
235
|
+
name?: string;
|
|
236
|
+
description?: string;
|
|
237
|
+
code?: string;
|
|
238
|
+
});
|
|
239
|
+
get name(): string;
|
|
240
|
+
set name(value: string);
|
|
241
|
+
get description(): string;
|
|
242
|
+
set description(value: string);
|
|
243
|
+
get code(): string;
|
|
244
|
+
set code(value: string);
|
|
245
|
+
static fromObject(data: {
|
|
246
|
+
name?: string;
|
|
247
|
+
description?: string;
|
|
248
|
+
code?: string;
|
|
249
|
+
}): CreatePermissionRequest;
|
|
250
|
+
toObject(): {
|
|
251
|
+
name?: string | undefined;
|
|
252
|
+
description?: string | undefined;
|
|
253
|
+
code?: string | undefined;
|
|
254
|
+
};
|
|
255
|
+
serialize(): Uint8Array;
|
|
256
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
257
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CreatePermissionRequest;
|
|
258
|
+
serializeBinary(): Uint8Array;
|
|
259
|
+
static deserializeBinary(bytes: Uint8Array): CreatePermissionRequest;
|
|
260
|
+
}
|
|
261
|
+
export class UpdatePermissionRequest extends pb_1.Message {
|
|
262
|
+
#private;
|
|
263
|
+
constructor(data?: any[] | {
|
|
264
|
+
id?: string;
|
|
265
|
+
name?: string;
|
|
266
|
+
description?: string;
|
|
267
|
+
code?: string;
|
|
268
|
+
});
|
|
269
|
+
get id(): string;
|
|
270
|
+
set id(value: string);
|
|
271
|
+
get name(): string;
|
|
272
|
+
set name(value: string);
|
|
273
|
+
get description(): string;
|
|
274
|
+
set description(value: string);
|
|
275
|
+
get code(): string;
|
|
276
|
+
set code(value: string);
|
|
277
|
+
static fromObject(data: {
|
|
278
|
+
id?: string;
|
|
279
|
+
name?: string;
|
|
280
|
+
description?: string;
|
|
281
|
+
code?: string;
|
|
282
|
+
}): UpdatePermissionRequest;
|
|
283
|
+
toObject(): {
|
|
284
|
+
id?: string | undefined;
|
|
285
|
+
name?: string | undefined;
|
|
286
|
+
description?: string | undefined;
|
|
287
|
+
code?: string | undefined;
|
|
288
|
+
};
|
|
289
|
+
serialize(): Uint8Array;
|
|
290
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
291
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdatePermissionRequest;
|
|
292
|
+
serializeBinary(): Uint8Array;
|
|
293
|
+
static deserializeBinary(bytes: Uint8Array): UpdatePermissionRequest;
|
|
294
|
+
}
|
|
295
|
+
export class Role extends pb_1.Message {
|
|
296
|
+
#private;
|
|
297
|
+
constructor(data?: any[] | {
|
|
298
|
+
id?: string;
|
|
299
|
+
name?: string;
|
|
300
|
+
description?: string;
|
|
301
|
+
memberCount?: number;
|
|
302
|
+
permissions?: Permission[];
|
|
303
|
+
});
|
|
304
|
+
get id(): string;
|
|
305
|
+
set id(value: string);
|
|
306
|
+
get name(): string;
|
|
307
|
+
set name(value: string);
|
|
308
|
+
get description(): string;
|
|
309
|
+
set description(value: string);
|
|
310
|
+
get memberCount(): number;
|
|
311
|
+
set memberCount(value: number);
|
|
312
|
+
get permissions(): Permission[];
|
|
313
|
+
set permissions(value: Permission[]);
|
|
314
|
+
static fromObject(data: {
|
|
315
|
+
id?: string;
|
|
316
|
+
name?: string;
|
|
317
|
+
description?: string;
|
|
318
|
+
memberCount?: number;
|
|
319
|
+
permissions?: ReturnType<typeof Permission.prototype.toObject>[];
|
|
320
|
+
}): Role;
|
|
321
|
+
toObject(): {
|
|
322
|
+
id?: string | undefined;
|
|
323
|
+
name?: string | undefined;
|
|
324
|
+
description?: string | undefined;
|
|
325
|
+
memberCount?: number | undefined;
|
|
326
|
+
permissions?: {
|
|
327
|
+
id?: string | undefined;
|
|
328
|
+
name?: string | undefined;
|
|
329
|
+
description?: string | undefined;
|
|
330
|
+
code?: string | undefined;
|
|
331
|
+
}[] | undefined;
|
|
332
|
+
};
|
|
333
|
+
serialize(): Uint8Array;
|
|
334
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
335
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Role;
|
|
336
|
+
serializeBinary(): Uint8Array;
|
|
337
|
+
static deserializeBinary(bytes: Uint8Array): Role;
|
|
338
|
+
}
|
|
339
|
+
export class CreateRoleRequest extends pb_1.Message {
|
|
340
|
+
#private;
|
|
341
|
+
constructor(data?: any[] | {
|
|
342
|
+
name?: string;
|
|
343
|
+
description?: string;
|
|
344
|
+
permissions?: string[];
|
|
345
|
+
});
|
|
346
|
+
get name(): string;
|
|
347
|
+
set name(value: string);
|
|
348
|
+
get description(): string;
|
|
349
|
+
set description(value: string);
|
|
350
|
+
get permissions(): string[];
|
|
351
|
+
set permissions(value: string[]);
|
|
352
|
+
static fromObject(data: {
|
|
353
|
+
name?: string;
|
|
354
|
+
description?: string;
|
|
355
|
+
permissions?: string[];
|
|
356
|
+
}): CreateRoleRequest;
|
|
357
|
+
toObject(): {
|
|
358
|
+
name?: string | undefined;
|
|
359
|
+
description?: string | undefined;
|
|
360
|
+
permissions?: string[] | undefined;
|
|
361
|
+
};
|
|
362
|
+
serialize(): Uint8Array;
|
|
363
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
364
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CreateRoleRequest;
|
|
365
|
+
serializeBinary(): Uint8Array;
|
|
366
|
+
static deserializeBinary(bytes: Uint8Array): CreateRoleRequest;
|
|
367
|
+
}
|
|
368
|
+
export class RolesResponseData extends pb_1.Message {
|
|
369
|
+
#private;
|
|
370
|
+
constructor(data?: any[] | {
|
|
371
|
+
roles?: Role[];
|
|
372
|
+
count?: string;
|
|
373
|
+
});
|
|
374
|
+
get roles(): Role[];
|
|
375
|
+
set roles(value: Role[]);
|
|
376
|
+
get count(): string;
|
|
377
|
+
set count(value: string);
|
|
378
|
+
static fromObject(data: {
|
|
379
|
+
roles?: ReturnType<typeof Role.prototype.toObject>[];
|
|
380
|
+
count?: string;
|
|
381
|
+
}): RolesResponseData;
|
|
382
|
+
toObject(): {
|
|
383
|
+
roles?: {
|
|
384
|
+
id?: string | undefined;
|
|
385
|
+
name?: string | undefined;
|
|
386
|
+
description?: string | undefined;
|
|
387
|
+
memberCount?: number | undefined;
|
|
388
|
+
permissions?: {
|
|
389
|
+
id?: string | undefined;
|
|
390
|
+
name?: string | undefined;
|
|
391
|
+
description?: string | undefined;
|
|
392
|
+
code?: string | undefined;
|
|
393
|
+
}[] | undefined;
|
|
394
|
+
}[] | undefined;
|
|
395
|
+
count?: string | undefined;
|
|
396
|
+
};
|
|
397
|
+
serialize(): Uint8Array;
|
|
398
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
399
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): RolesResponseData;
|
|
400
|
+
serializeBinary(): Uint8Array;
|
|
401
|
+
static deserializeBinary(bytes: Uint8Array): RolesResponseData;
|
|
402
|
+
}
|
|
403
|
+
export class RoleData extends pb_1.Message {
|
|
404
|
+
#private;
|
|
405
|
+
constructor(data?: any[] | {
|
|
406
|
+
id?: string;
|
|
407
|
+
name?: string;
|
|
408
|
+
description?: string;
|
|
409
|
+
active?: boolean;
|
|
410
|
+
code?: string;
|
|
411
|
+
createdAt?: string;
|
|
412
|
+
updatedAt?: string;
|
|
413
|
+
permissions?: Permission[];
|
|
414
|
+
});
|
|
415
|
+
get id(): string;
|
|
416
|
+
set id(value: string);
|
|
417
|
+
get name(): string;
|
|
418
|
+
set name(value: string);
|
|
419
|
+
get description(): string;
|
|
420
|
+
set description(value: string);
|
|
421
|
+
get active(): boolean;
|
|
422
|
+
set active(value: boolean);
|
|
423
|
+
get code(): string;
|
|
424
|
+
set code(value: string);
|
|
425
|
+
get createdAt(): string;
|
|
426
|
+
set createdAt(value: string);
|
|
427
|
+
get updatedAt(): string;
|
|
428
|
+
set updatedAt(value: string);
|
|
429
|
+
get permissions(): Permission[];
|
|
430
|
+
set permissions(value: Permission[]);
|
|
431
|
+
static fromObject(data: {
|
|
432
|
+
id?: string;
|
|
433
|
+
name?: string;
|
|
434
|
+
description?: string;
|
|
435
|
+
active?: boolean;
|
|
436
|
+
code?: string;
|
|
437
|
+
createdAt?: string;
|
|
438
|
+
updatedAt?: string;
|
|
439
|
+
permissions?: ReturnType<typeof Permission.prototype.toObject>[];
|
|
440
|
+
}): RoleData;
|
|
441
|
+
toObject(): {
|
|
442
|
+
id?: string | undefined;
|
|
443
|
+
name?: string | undefined;
|
|
444
|
+
description?: string | undefined;
|
|
445
|
+
active?: boolean | undefined;
|
|
446
|
+
code?: string | undefined;
|
|
447
|
+
createdAt?: string | undefined;
|
|
448
|
+
updatedAt?: string | undefined;
|
|
449
|
+
permissions?: {
|
|
450
|
+
id?: string | undefined;
|
|
451
|
+
name?: string | undefined;
|
|
452
|
+
description?: string | undefined;
|
|
453
|
+
code?: string | undefined;
|
|
454
|
+
}[] | undefined;
|
|
455
|
+
};
|
|
456
|
+
serialize(): Uint8Array;
|
|
457
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
458
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): RoleData;
|
|
459
|
+
serializeBinary(): Uint8Array;
|
|
460
|
+
static deserializeBinary(bytes: Uint8Array): RoleData;
|
|
461
|
+
}
|
|
462
|
+
export class RolesResponse extends pb_1.Message {
|
|
463
|
+
#private;
|
|
464
|
+
constructor(data?: any[] | {
|
|
465
|
+
success?: boolean;
|
|
466
|
+
status?: string;
|
|
467
|
+
message?: string;
|
|
468
|
+
errors?: ValidationErrors[];
|
|
469
|
+
data?: RolesResponseData;
|
|
470
|
+
error?: string;
|
|
471
|
+
});
|
|
472
|
+
get success(): boolean;
|
|
473
|
+
set success(value: boolean);
|
|
474
|
+
get status(): string;
|
|
475
|
+
set status(value: string);
|
|
476
|
+
get message(): string;
|
|
477
|
+
set message(value: string);
|
|
478
|
+
get errors(): ValidationErrors[];
|
|
479
|
+
set errors(value: ValidationErrors[]);
|
|
480
|
+
get data(): RolesResponseData;
|
|
481
|
+
set data(value: RolesResponseData);
|
|
482
|
+
get hasData(): boolean;
|
|
483
|
+
get error(): string;
|
|
484
|
+
set error(value: string);
|
|
485
|
+
static fromObject(data: {
|
|
486
|
+
success?: boolean;
|
|
487
|
+
status?: string;
|
|
488
|
+
message?: string;
|
|
489
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
490
|
+
data?: ReturnType<typeof RolesResponseData.prototype.toObject>;
|
|
491
|
+
error?: string;
|
|
492
|
+
}): RolesResponse;
|
|
493
|
+
toObject(): {
|
|
494
|
+
success?: boolean | undefined;
|
|
495
|
+
status?: string | undefined;
|
|
496
|
+
message?: string | undefined;
|
|
497
|
+
errors?: {
|
|
498
|
+
field?: string | undefined;
|
|
499
|
+
message?: string | undefined;
|
|
500
|
+
}[] | undefined;
|
|
501
|
+
data?: {
|
|
502
|
+
roles?: {
|
|
503
|
+
id?: string | undefined;
|
|
504
|
+
name?: string | undefined;
|
|
505
|
+
description?: string | undefined;
|
|
506
|
+
memberCount?: number | undefined;
|
|
507
|
+
permissions?: {
|
|
508
|
+
id?: string | undefined;
|
|
509
|
+
name?: string | undefined;
|
|
510
|
+
description?: string | undefined;
|
|
511
|
+
code?: string | undefined;
|
|
512
|
+
}[] | undefined;
|
|
513
|
+
}[] | undefined;
|
|
514
|
+
count?: string | undefined;
|
|
515
|
+
} | undefined;
|
|
516
|
+
error?: string | undefined;
|
|
517
|
+
};
|
|
518
|
+
serialize(): Uint8Array;
|
|
519
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
520
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): RolesResponse;
|
|
521
|
+
serializeBinary(): Uint8Array;
|
|
522
|
+
static deserializeBinary(bytes: Uint8Array): RolesResponse;
|
|
523
|
+
}
|
|
524
|
+
export class GetRoleResponse extends pb_1.Message {
|
|
525
|
+
#private;
|
|
526
|
+
constructor(data?: any[] | {
|
|
527
|
+
success?: boolean;
|
|
528
|
+
status?: string;
|
|
529
|
+
message?: string;
|
|
530
|
+
errors?: ValidationErrors[];
|
|
531
|
+
data?: RoleData;
|
|
532
|
+
error?: string;
|
|
533
|
+
});
|
|
534
|
+
get success(): boolean;
|
|
535
|
+
set success(value: boolean);
|
|
536
|
+
get status(): string;
|
|
537
|
+
set status(value: string);
|
|
538
|
+
get message(): string;
|
|
539
|
+
set message(value: string);
|
|
540
|
+
get errors(): ValidationErrors[];
|
|
541
|
+
set errors(value: ValidationErrors[]);
|
|
542
|
+
get data(): RoleData;
|
|
543
|
+
set data(value: RoleData);
|
|
544
|
+
get hasData(): boolean;
|
|
545
|
+
get error(): string;
|
|
546
|
+
set error(value: string);
|
|
547
|
+
static fromObject(data: {
|
|
548
|
+
success?: boolean;
|
|
549
|
+
status?: string;
|
|
550
|
+
message?: string;
|
|
551
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
552
|
+
data?: ReturnType<typeof RoleData.prototype.toObject>;
|
|
553
|
+
error?: string;
|
|
554
|
+
}): GetRoleResponse;
|
|
555
|
+
toObject(): {
|
|
556
|
+
success?: boolean | undefined;
|
|
557
|
+
status?: string | undefined;
|
|
558
|
+
message?: string | undefined;
|
|
559
|
+
errors?: {
|
|
560
|
+
field?: string | undefined;
|
|
561
|
+
message?: string | undefined;
|
|
562
|
+
}[] | undefined;
|
|
563
|
+
data?: {
|
|
564
|
+
id?: string | undefined;
|
|
565
|
+
name?: string | undefined;
|
|
566
|
+
description?: string | undefined;
|
|
567
|
+
active?: boolean | undefined;
|
|
568
|
+
code?: string | undefined;
|
|
569
|
+
createdAt?: string | undefined;
|
|
570
|
+
updatedAt?: string | undefined;
|
|
571
|
+
permissions?: {
|
|
572
|
+
id?: string | undefined;
|
|
573
|
+
name?: string | undefined;
|
|
574
|
+
description?: string | undefined;
|
|
575
|
+
code?: string | undefined;
|
|
576
|
+
}[] | undefined;
|
|
577
|
+
} | undefined;
|
|
578
|
+
error?: string | undefined;
|
|
579
|
+
};
|
|
580
|
+
serialize(): Uint8Array;
|
|
581
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
582
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetRoleResponse;
|
|
583
|
+
serializeBinary(): Uint8Array;
|
|
584
|
+
static deserializeBinary(bytes: Uint8Array): GetRoleResponse;
|
|
585
|
+
}
|
|
586
|
+
export class PermissionsResponseData extends pb_1.Message {
|
|
587
|
+
#private;
|
|
588
|
+
constructor(data?: any[] | {
|
|
589
|
+
permissions?: Permission[];
|
|
590
|
+
});
|
|
591
|
+
get permissions(): Permission[];
|
|
592
|
+
set permissions(value: Permission[]);
|
|
593
|
+
static fromObject(data: {
|
|
594
|
+
permissions?: ReturnType<typeof Permission.prototype.toObject>[];
|
|
595
|
+
}): PermissionsResponseData;
|
|
596
|
+
toObject(): {
|
|
597
|
+
permissions?: {
|
|
598
|
+
id?: string | undefined;
|
|
599
|
+
name?: string | undefined;
|
|
600
|
+
description?: string | undefined;
|
|
601
|
+
code?: string | undefined;
|
|
602
|
+
}[] | undefined;
|
|
603
|
+
};
|
|
604
|
+
serialize(): Uint8Array;
|
|
605
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
606
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): PermissionsResponseData;
|
|
607
|
+
serializeBinary(): Uint8Array;
|
|
608
|
+
static deserializeBinary(bytes: Uint8Array): PermissionsResponseData;
|
|
609
|
+
}
|
|
610
|
+
export class PermissionsResponse extends pb_1.Message {
|
|
611
|
+
#private;
|
|
612
|
+
constructor(data?: any[] | {
|
|
613
|
+
success?: boolean;
|
|
614
|
+
status?: string;
|
|
615
|
+
message?: string;
|
|
616
|
+
errors?: ValidationErrors[];
|
|
617
|
+
data?: PermissionsResponseData;
|
|
618
|
+
error?: string;
|
|
619
|
+
});
|
|
620
|
+
get success(): boolean;
|
|
621
|
+
set success(value: boolean);
|
|
622
|
+
get status(): string;
|
|
623
|
+
set status(value: string);
|
|
624
|
+
get message(): string;
|
|
625
|
+
set message(value: string);
|
|
626
|
+
get errors(): ValidationErrors[];
|
|
627
|
+
set errors(value: ValidationErrors[]);
|
|
628
|
+
get data(): PermissionsResponseData;
|
|
629
|
+
set data(value: PermissionsResponseData);
|
|
630
|
+
get hasData(): boolean;
|
|
631
|
+
get error(): string;
|
|
632
|
+
set error(value: string);
|
|
633
|
+
static fromObject(data: {
|
|
634
|
+
success?: boolean;
|
|
635
|
+
status?: string;
|
|
636
|
+
message?: string;
|
|
637
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
638
|
+
data?: ReturnType<typeof PermissionsResponseData.prototype.toObject>;
|
|
639
|
+
error?: string;
|
|
640
|
+
}): PermissionsResponse;
|
|
641
|
+
toObject(): {
|
|
642
|
+
success?: boolean | undefined;
|
|
643
|
+
status?: string | undefined;
|
|
644
|
+
message?: string | undefined;
|
|
645
|
+
errors?: {
|
|
646
|
+
field?: string | undefined;
|
|
647
|
+
message?: string | undefined;
|
|
648
|
+
}[] | undefined;
|
|
649
|
+
data?: {
|
|
650
|
+
permissions?: {
|
|
651
|
+
id?: string | undefined;
|
|
652
|
+
name?: string | undefined;
|
|
653
|
+
description?: string | undefined;
|
|
654
|
+
code?: string | undefined;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
} | undefined;
|
|
657
|
+
error?: string | undefined;
|
|
658
|
+
};
|
|
659
|
+
serialize(): Uint8Array;
|
|
660
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
661
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): PermissionsResponse;
|
|
662
|
+
serializeBinary(): Uint8Array;
|
|
663
|
+
static deserializeBinary(bytes: Uint8Array): PermissionsResponse;
|
|
664
|
+
}
|
|
665
|
+
export class Admin extends pb_1.Message {
|
|
666
|
+
#private;
|
|
667
|
+
constructor(data?: any[] | {
|
|
668
|
+
id?: string;
|
|
669
|
+
email?: string;
|
|
670
|
+
firstName?: string;
|
|
671
|
+
lastName?: string;
|
|
672
|
+
role?: Role;
|
|
673
|
+
status?: string;
|
|
674
|
+
phone?: string;
|
|
675
|
+
mfbId?: string;
|
|
676
|
+
});
|
|
677
|
+
get id(): string;
|
|
678
|
+
set id(value: string);
|
|
679
|
+
get email(): string;
|
|
680
|
+
set email(value: string);
|
|
681
|
+
get firstName(): string;
|
|
682
|
+
set firstName(value: string);
|
|
683
|
+
get lastName(): string;
|
|
684
|
+
set lastName(value: string);
|
|
685
|
+
get role(): Role;
|
|
686
|
+
set role(value: Role);
|
|
687
|
+
get hasRole(): boolean;
|
|
688
|
+
get status(): string;
|
|
689
|
+
set status(value: string);
|
|
690
|
+
get phone(): string;
|
|
691
|
+
set phone(value: string);
|
|
692
|
+
get mfbId(): string;
|
|
693
|
+
set mfbId(value: string);
|
|
694
|
+
static fromObject(data: {
|
|
695
|
+
id?: string;
|
|
696
|
+
email?: string;
|
|
697
|
+
firstName?: string;
|
|
698
|
+
lastName?: string;
|
|
699
|
+
role?: ReturnType<typeof Role.prototype.toObject>;
|
|
700
|
+
status?: string;
|
|
701
|
+
phone?: string;
|
|
702
|
+
mfbId?: string;
|
|
703
|
+
}): Admin;
|
|
704
|
+
toObject(): {
|
|
705
|
+
id?: string | undefined;
|
|
706
|
+
email?: string | undefined;
|
|
707
|
+
firstName?: string | undefined;
|
|
708
|
+
lastName?: string | undefined;
|
|
709
|
+
role?: {
|
|
710
|
+
id?: string | undefined;
|
|
711
|
+
name?: string | undefined;
|
|
712
|
+
description?: string | undefined;
|
|
713
|
+
memberCount?: number | undefined;
|
|
714
|
+
permissions?: {
|
|
715
|
+
id?: string | undefined;
|
|
716
|
+
name?: string | undefined;
|
|
717
|
+
description?: string | undefined;
|
|
718
|
+
code?: string | undefined;
|
|
719
|
+
}[] | undefined;
|
|
720
|
+
} | undefined;
|
|
721
|
+
status?: string | undefined;
|
|
722
|
+
phone?: string | undefined;
|
|
723
|
+
mfbId?: string | undefined;
|
|
724
|
+
};
|
|
725
|
+
serialize(): Uint8Array;
|
|
726
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
727
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Admin;
|
|
728
|
+
serializeBinary(): Uint8Array;
|
|
729
|
+
static deserializeBinary(bytes: Uint8Array): Admin;
|
|
730
|
+
}
|
|
731
|
+
export class AdminResponse extends pb_1.Message {
|
|
732
|
+
#private;
|
|
733
|
+
constructor(data?: any[] | {
|
|
734
|
+
success?: boolean;
|
|
735
|
+
status?: string;
|
|
736
|
+
message?: string;
|
|
737
|
+
errors?: ValidationErrors[];
|
|
738
|
+
data?: Admin;
|
|
739
|
+
error?: string;
|
|
740
|
+
});
|
|
741
|
+
get success(): boolean;
|
|
742
|
+
set success(value: boolean);
|
|
743
|
+
get status(): string;
|
|
744
|
+
set status(value: string);
|
|
745
|
+
get message(): string;
|
|
746
|
+
set message(value: string);
|
|
747
|
+
get errors(): ValidationErrors[];
|
|
748
|
+
set errors(value: ValidationErrors[]);
|
|
749
|
+
get data(): Admin;
|
|
750
|
+
set data(value: Admin);
|
|
751
|
+
get hasData(): boolean;
|
|
752
|
+
get error(): string;
|
|
753
|
+
set error(value: string);
|
|
754
|
+
static fromObject(data: {
|
|
755
|
+
success?: boolean;
|
|
756
|
+
status?: string;
|
|
757
|
+
message?: string;
|
|
758
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
759
|
+
data?: ReturnType<typeof Admin.prototype.toObject>;
|
|
760
|
+
error?: string;
|
|
761
|
+
}): AdminResponse;
|
|
762
|
+
toObject(): {
|
|
763
|
+
success?: boolean | undefined;
|
|
764
|
+
status?: string | undefined;
|
|
765
|
+
message?: string | undefined;
|
|
766
|
+
errors?: {
|
|
767
|
+
field?: string | undefined;
|
|
768
|
+
message?: string | undefined;
|
|
769
|
+
}[] | undefined;
|
|
770
|
+
data?: {
|
|
771
|
+
id?: string | undefined;
|
|
772
|
+
email?: string | undefined;
|
|
773
|
+
firstName?: string | undefined;
|
|
774
|
+
lastName?: string | undefined;
|
|
775
|
+
role?: {
|
|
776
|
+
id?: string | undefined;
|
|
777
|
+
name?: string | undefined;
|
|
778
|
+
description?: string | undefined;
|
|
779
|
+
memberCount?: number | undefined;
|
|
780
|
+
permissions?: {
|
|
781
|
+
id?: string | undefined;
|
|
782
|
+
name?: string | undefined;
|
|
783
|
+
description?: string | undefined;
|
|
784
|
+
code?: string | undefined;
|
|
785
|
+
}[] | undefined;
|
|
786
|
+
} | undefined;
|
|
787
|
+
status?: string | undefined;
|
|
788
|
+
phone?: string | undefined;
|
|
789
|
+
mfbId?: string | undefined;
|
|
790
|
+
} | undefined;
|
|
791
|
+
error?: string | undefined;
|
|
792
|
+
};
|
|
793
|
+
serialize(): Uint8Array;
|
|
794
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
795
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): AdminResponse;
|
|
796
|
+
serializeBinary(): Uint8Array;
|
|
797
|
+
static deserializeBinary(bytes: Uint8Array): AdminResponse;
|
|
798
|
+
}
|
|
799
|
+
export class GetAdminsRequest extends pb_1.Message {
|
|
800
|
+
#private;
|
|
801
|
+
constructor(data?: any[] | {
|
|
802
|
+
id?: string;
|
|
803
|
+
roleId?: string;
|
|
804
|
+
page?: number;
|
|
805
|
+
limit?: number;
|
|
806
|
+
searchQuery?: string;
|
|
807
|
+
});
|
|
808
|
+
get id(): string;
|
|
809
|
+
set id(value: string);
|
|
810
|
+
get roleId(): string;
|
|
811
|
+
set roleId(value: string);
|
|
812
|
+
get page(): number;
|
|
813
|
+
set page(value: number);
|
|
814
|
+
get limit(): number;
|
|
815
|
+
set limit(value: number);
|
|
816
|
+
get searchQuery(): string;
|
|
817
|
+
set searchQuery(value: string);
|
|
818
|
+
static fromObject(data: {
|
|
819
|
+
id?: string;
|
|
820
|
+
roleId?: string;
|
|
821
|
+
page?: number;
|
|
822
|
+
limit?: number;
|
|
823
|
+
searchQuery?: string;
|
|
824
|
+
}): GetAdminsRequest;
|
|
825
|
+
toObject(): {
|
|
826
|
+
id?: string | undefined;
|
|
827
|
+
roleId?: string | undefined;
|
|
828
|
+
page?: number | undefined;
|
|
829
|
+
limit?: number | undefined;
|
|
830
|
+
searchQuery?: string | undefined;
|
|
831
|
+
};
|
|
832
|
+
serialize(): Uint8Array;
|
|
833
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
834
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetAdminsRequest;
|
|
835
|
+
serializeBinary(): Uint8Array;
|
|
836
|
+
static deserializeBinary(bytes: Uint8Array): GetAdminsRequest;
|
|
837
|
+
}
|
|
838
|
+
export class AdminsResponse extends pb_1.Message {
|
|
839
|
+
#private;
|
|
840
|
+
constructor(data?: any[] | {
|
|
841
|
+
success?: boolean;
|
|
842
|
+
status?: string;
|
|
843
|
+
message?: string;
|
|
844
|
+
errors?: ValidationErrors[];
|
|
845
|
+
data?: Admin[];
|
|
846
|
+
error?: string;
|
|
847
|
+
pagination?: Pagination;
|
|
848
|
+
});
|
|
849
|
+
get success(): boolean;
|
|
850
|
+
set success(value: boolean);
|
|
851
|
+
get status(): string;
|
|
852
|
+
set status(value: string);
|
|
853
|
+
get message(): string;
|
|
854
|
+
set message(value: string);
|
|
855
|
+
get errors(): ValidationErrors[];
|
|
856
|
+
set errors(value: ValidationErrors[]);
|
|
857
|
+
get data(): Admin[];
|
|
858
|
+
set data(value: Admin[]);
|
|
859
|
+
get error(): string;
|
|
860
|
+
set error(value: string);
|
|
861
|
+
get pagination(): Pagination;
|
|
862
|
+
set pagination(value: Pagination);
|
|
863
|
+
get hasPagination(): boolean;
|
|
864
|
+
static fromObject(data: {
|
|
865
|
+
success?: boolean;
|
|
866
|
+
status?: string;
|
|
867
|
+
message?: string;
|
|
868
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
869
|
+
data?: ReturnType<typeof Admin.prototype.toObject>[];
|
|
870
|
+
error?: string;
|
|
871
|
+
pagination?: ReturnType<typeof Pagination.prototype.toObject>;
|
|
872
|
+
}): AdminsResponse;
|
|
873
|
+
toObject(): {
|
|
874
|
+
success?: boolean | undefined;
|
|
875
|
+
status?: string | undefined;
|
|
876
|
+
message?: string | undefined;
|
|
877
|
+
errors?: {
|
|
878
|
+
field?: string | undefined;
|
|
879
|
+
message?: string | undefined;
|
|
880
|
+
}[] | undefined;
|
|
881
|
+
data?: {
|
|
882
|
+
id?: string | undefined;
|
|
883
|
+
email?: string | undefined;
|
|
884
|
+
firstName?: string | undefined;
|
|
885
|
+
lastName?: string | undefined;
|
|
886
|
+
role?: {
|
|
887
|
+
id?: string | undefined;
|
|
888
|
+
name?: string | undefined;
|
|
889
|
+
description?: string | undefined;
|
|
890
|
+
memberCount?: number | undefined;
|
|
891
|
+
permissions?: {
|
|
892
|
+
id?: string | undefined;
|
|
893
|
+
name?: string | undefined;
|
|
894
|
+
description?: string | undefined;
|
|
895
|
+
code?: string | undefined;
|
|
896
|
+
}[] | undefined;
|
|
897
|
+
} | undefined;
|
|
898
|
+
status?: string | undefined;
|
|
899
|
+
phone?: string | undefined;
|
|
900
|
+
mfbId?: string | undefined;
|
|
901
|
+
}[] | undefined;
|
|
902
|
+
error?: string | undefined;
|
|
903
|
+
pagination?: {
|
|
904
|
+
page?: number | undefined;
|
|
905
|
+
limit?: number | undefined;
|
|
906
|
+
total?: number | undefined;
|
|
907
|
+
hasNext?: boolean | undefined;
|
|
908
|
+
hasPrev?: boolean | undefined;
|
|
909
|
+
} | undefined;
|
|
910
|
+
};
|
|
911
|
+
serialize(): Uint8Array;
|
|
912
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
913
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): AdminsResponse;
|
|
914
|
+
serializeBinary(): Uint8Array;
|
|
915
|
+
static deserializeBinary(bytes: Uint8Array): AdminsResponse;
|
|
916
|
+
}
|
|
917
|
+
export class InviteAdminRequest extends pb_1.Message {
|
|
918
|
+
#private;
|
|
919
|
+
constructor(data?: any[] | {
|
|
920
|
+
adminId?: string;
|
|
921
|
+
email?: string;
|
|
922
|
+
firstName?: string;
|
|
923
|
+
lastName?: string;
|
|
924
|
+
middleName?: string;
|
|
925
|
+
phone?: string;
|
|
926
|
+
roleId?: string;
|
|
927
|
+
mfbId?: string;
|
|
928
|
+
});
|
|
929
|
+
get adminId(): string;
|
|
930
|
+
set adminId(value: string);
|
|
931
|
+
get email(): string;
|
|
932
|
+
set email(value: string);
|
|
933
|
+
get firstName(): string;
|
|
934
|
+
set firstName(value: string);
|
|
935
|
+
get lastName(): string;
|
|
936
|
+
set lastName(value: string);
|
|
937
|
+
get middleName(): string;
|
|
938
|
+
set middleName(value: string);
|
|
939
|
+
get phone(): string;
|
|
940
|
+
set phone(value: string);
|
|
941
|
+
get roleId(): string;
|
|
942
|
+
set roleId(value: string);
|
|
943
|
+
get mfbId(): string;
|
|
944
|
+
set mfbId(value: string);
|
|
945
|
+
static fromObject(data: {
|
|
946
|
+
adminId?: string;
|
|
947
|
+
email?: string;
|
|
948
|
+
firstName?: string;
|
|
949
|
+
lastName?: string;
|
|
950
|
+
middleName?: string;
|
|
951
|
+
phone?: string;
|
|
952
|
+
roleId?: string;
|
|
953
|
+
mfbId?: string;
|
|
954
|
+
}): InviteAdminRequest;
|
|
955
|
+
toObject(): {
|
|
956
|
+
adminId?: string | undefined;
|
|
957
|
+
email?: string | undefined;
|
|
958
|
+
firstName?: string | undefined;
|
|
959
|
+
lastName?: string | undefined;
|
|
960
|
+
middleName?: string | undefined;
|
|
961
|
+
phone?: string | undefined;
|
|
962
|
+
roleId?: string | undefined;
|
|
963
|
+
mfbId?: string | undefined;
|
|
964
|
+
};
|
|
965
|
+
serialize(): Uint8Array;
|
|
966
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
967
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): InviteAdminRequest;
|
|
968
|
+
serializeBinary(): Uint8Array;
|
|
969
|
+
static deserializeBinary(bytes: Uint8Array): InviteAdminRequest;
|
|
970
|
+
}
|
|
971
|
+
export class ReInviteAdminRequest extends pb_1.Message {
|
|
972
|
+
#private;
|
|
973
|
+
constructor(data?: any[] | {
|
|
974
|
+
email?: string;
|
|
975
|
+
});
|
|
976
|
+
get email(): string;
|
|
977
|
+
set email(value: string);
|
|
978
|
+
static fromObject(data: {
|
|
979
|
+
email?: string;
|
|
980
|
+
}): ReInviteAdminRequest;
|
|
981
|
+
toObject(): {
|
|
982
|
+
email?: string | undefined;
|
|
983
|
+
};
|
|
984
|
+
serialize(): Uint8Array;
|
|
985
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
986
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ReInviteAdminRequest;
|
|
987
|
+
serializeBinary(): Uint8Array;
|
|
988
|
+
static deserializeBinary(bytes: Uint8Array): ReInviteAdminRequest;
|
|
989
|
+
}
|
|
990
|
+
export class ValidationRequest extends pb_1.Message {
|
|
991
|
+
#private;
|
|
992
|
+
constructor(data?: any[] | {
|
|
993
|
+
token?: string;
|
|
994
|
+
});
|
|
995
|
+
get token(): string;
|
|
996
|
+
set token(value: string);
|
|
997
|
+
static fromObject(data: {
|
|
998
|
+
token?: string;
|
|
999
|
+
}): ValidationRequest;
|
|
1000
|
+
toObject(): {
|
|
1001
|
+
token?: string | undefined;
|
|
1002
|
+
};
|
|
1003
|
+
serialize(): Uint8Array;
|
|
1004
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1005
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ValidationRequest;
|
|
1006
|
+
serializeBinary(): Uint8Array;
|
|
1007
|
+
static deserializeBinary(bytes: Uint8Array): ValidationRequest;
|
|
1008
|
+
}
|
|
1009
|
+
export class AcceptInvitationRequest extends pb_1.Message {
|
|
1010
|
+
#private;
|
|
1011
|
+
constructor(data?: any[] | {
|
|
1012
|
+
token?: string;
|
|
1013
|
+
password?: string;
|
|
1014
|
+
email?: string;
|
|
1015
|
+
});
|
|
1016
|
+
get token(): string;
|
|
1017
|
+
set token(value: string);
|
|
1018
|
+
get password(): string;
|
|
1019
|
+
set password(value: string);
|
|
1020
|
+
get email(): string;
|
|
1021
|
+
set email(value: string);
|
|
1022
|
+
static fromObject(data: {
|
|
1023
|
+
token?: string;
|
|
1024
|
+
password?: string;
|
|
1025
|
+
email?: string;
|
|
1026
|
+
}): AcceptInvitationRequest;
|
|
1027
|
+
toObject(): {
|
|
1028
|
+
token?: string | undefined;
|
|
1029
|
+
password?: string | undefined;
|
|
1030
|
+
email?: string | undefined;
|
|
1031
|
+
};
|
|
1032
|
+
serialize(): Uint8Array;
|
|
1033
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1034
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): AcceptInvitationRequest;
|
|
1035
|
+
serializeBinary(): Uint8Array;
|
|
1036
|
+
static deserializeBinary(bytes: Uint8Array): AcceptInvitationRequest;
|
|
1037
|
+
}
|
|
1038
|
+
export class LoginRequest extends pb_1.Message {
|
|
1039
|
+
#private;
|
|
1040
|
+
constructor(data?: any[] | {
|
|
1041
|
+
email?: string;
|
|
1042
|
+
password?: string;
|
|
1043
|
+
});
|
|
1044
|
+
get email(): string;
|
|
1045
|
+
set email(value: string);
|
|
1046
|
+
get password(): string;
|
|
1047
|
+
set password(value: string);
|
|
1048
|
+
static fromObject(data: {
|
|
1049
|
+
email?: string;
|
|
1050
|
+
password?: string;
|
|
1051
|
+
}): LoginRequest;
|
|
1052
|
+
toObject(): {
|
|
1053
|
+
email?: string | undefined;
|
|
1054
|
+
password?: string | undefined;
|
|
1055
|
+
};
|
|
1056
|
+
serialize(): Uint8Array;
|
|
1057
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1058
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): LoginRequest;
|
|
1059
|
+
serializeBinary(): Uint8Array;
|
|
1060
|
+
static deserializeBinary(bytes: Uint8Array): LoginRequest;
|
|
1061
|
+
}
|
|
1062
|
+
export class LoginResponse extends pb_1.Message {
|
|
1063
|
+
#private;
|
|
1064
|
+
constructor(data?: any[] | {
|
|
1065
|
+
success?: boolean;
|
|
1066
|
+
status?: string;
|
|
1067
|
+
message?: string;
|
|
1068
|
+
errors?: ValidationErrors[];
|
|
1069
|
+
data?: LoginResponse.Data;
|
|
1070
|
+
error?: string;
|
|
1071
|
+
});
|
|
1072
|
+
get success(): boolean;
|
|
1073
|
+
set success(value: boolean);
|
|
1074
|
+
get status(): string;
|
|
1075
|
+
set status(value: string);
|
|
1076
|
+
get message(): string;
|
|
1077
|
+
set message(value: string);
|
|
1078
|
+
get errors(): ValidationErrors[];
|
|
1079
|
+
set errors(value: ValidationErrors[]);
|
|
1080
|
+
get data(): LoginResponse.Data;
|
|
1081
|
+
set data(value: LoginResponse.Data);
|
|
1082
|
+
get hasData(): boolean;
|
|
1083
|
+
get error(): string;
|
|
1084
|
+
set error(value: string);
|
|
1085
|
+
static fromObject(data: {
|
|
1086
|
+
success?: boolean;
|
|
1087
|
+
status?: string;
|
|
1088
|
+
message?: string;
|
|
1089
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1090
|
+
data?: ReturnType<typeof LoginResponse.Data.prototype.toObject>;
|
|
1091
|
+
error?: string;
|
|
1092
|
+
}): LoginResponse;
|
|
1093
|
+
toObject(): {
|
|
1094
|
+
success?: boolean | undefined;
|
|
1095
|
+
status?: string | undefined;
|
|
1096
|
+
message?: string | undefined;
|
|
1097
|
+
errors?: {
|
|
1098
|
+
field?: string | undefined;
|
|
1099
|
+
message?: string | undefined;
|
|
1100
|
+
}[] | undefined;
|
|
1101
|
+
data?: {
|
|
1102
|
+
token?: string | undefined;
|
|
1103
|
+
admin?: {
|
|
1104
|
+
id?: string | undefined;
|
|
1105
|
+
email?: string | undefined;
|
|
1106
|
+
firstName?: string | undefined;
|
|
1107
|
+
lastName?: string | undefined;
|
|
1108
|
+
role?: {
|
|
1109
|
+
id?: string | undefined;
|
|
1110
|
+
name?: string | undefined;
|
|
1111
|
+
description?: string | undefined;
|
|
1112
|
+
memberCount?: number | undefined;
|
|
1113
|
+
permissions?: {
|
|
1114
|
+
id?: string | undefined;
|
|
1115
|
+
name?: string | undefined;
|
|
1116
|
+
description?: string | undefined;
|
|
1117
|
+
code?: string | undefined;
|
|
1118
|
+
}[] | undefined;
|
|
1119
|
+
} | undefined;
|
|
1120
|
+
status?: string | undefined;
|
|
1121
|
+
phone?: string | undefined;
|
|
1122
|
+
mfbId?: string | undefined;
|
|
1123
|
+
} | undefined;
|
|
1124
|
+
} | undefined;
|
|
1125
|
+
error?: string | undefined;
|
|
1126
|
+
};
|
|
1127
|
+
serialize(): Uint8Array;
|
|
1128
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1129
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): LoginResponse;
|
|
1130
|
+
serializeBinary(): Uint8Array;
|
|
1131
|
+
static deserializeBinary(bytes: Uint8Array): LoginResponse;
|
|
1132
|
+
}
|
|
1133
|
+
export namespace LoginResponse {
|
|
1134
|
+
class Data extends pb_1.Message {
|
|
1135
|
+
#private;
|
|
1136
|
+
constructor(data?: any[] | {
|
|
1137
|
+
token?: string;
|
|
1138
|
+
admin?: Admin;
|
|
1139
|
+
});
|
|
1140
|
+
get token(): string;
|
|
1141
|
+
set token(value: string);
|
|
1142
|
+
get admin(): Admin;
|
|
1143
|
+
set admin(value: Admin);
|
|
1144
|
+
get hasAdmin(): boolean;
|
|
1145
|
+
static fromObject(data: {
|
|
1146
|
+
token?: string;
|
|
1147
|
+
admin?: ReturnType<typeof Admin.prototype.toObject>;
|
|
1148
|
+
}): Data;
|
|
1149
|
+
toObject(): {
|
|
1150
|
+
token?: string | undefined;
|
|
1151
|
+
admin?: {
|
|
1152
|
+
id?: string | undefined;
|
|
1153
|
+
email?: string | undefined;
|
|
1154
|
+
firstName?: string | undefined;
|
|
1155
|
+
lastName?: string | undefined;
|
|
1156
|
+
role?: {
|
|
1157
|
+
id?: string | undefined;
|
|
1158
|
+
name?: string | undefined;
|
|
1159
|
+
description?: string | undefined;
|
|
1160
|
+
memberCount?: number | undefined;
|
|
1161
|
+
permissions?: {
|
|
1162
|
+
id?: string | undefined;
|
|
1163
|
+
name?: string | undefined;
|
|
1164
|
+
description?: string | undefined;
|
|
1165
|
+
code?: string | undefined;
|
|
1166
|
+
}[] | undefined;
|
|
1167
|
+
} | undefined;
|
|
1168
|
+
status?: string | undefined;
|
|
1169
|
+
phone?: string | undefined;
|
|
1170
|
+
mfbId?: string | undefined;
|
|
1171
|
+
} | undefined;
|
|
1172
|
+
};
|
|
1173
|
+
serialize(): Uint8Array;
|
|
1174
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1175
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): Data;
|
|
1176
|
+
serializeBinary(): Uint8Array;
|
|
1177
|
+
static deserializeBinary(bytes: Uint8Array): Data;
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
export class TokenRequest extends pb_1.Message {
|
|
1181
|
+
#private;
|
|
1182
|
+
constructor(data?: any[] | {
|
|
1183
|
+
token?: string;
|
|
1184
|
+
});
|
|
1185
|
+
get token(): string;
|
|
1186
|
+
set token(value: string);
|
|
1187
|
+
static fromObject(data: {
|
|
1188
|
+
token?: string;
|
|
1189
|
+
}): TokenRequest;
|
|
1190
|
+
toObject(): {
|
|
1191
|
+
token?: string | undefined;
|
|
1192
|
+
};
|
|
1193
|
+
serialize(): Uint8Array;
|
|
1194
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1195
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): TokenRequest;
|
|
1196
|
+
serializeBinary(): Uint8Array;
|
|
1197
|
+
static deserializeBinary(bytes: Uint8Array): TokenRequest;
|
|
1198
|
+
}
|
|
1199
|
+
export class EmailRequest extends pb_1.Message {
|
|
1200
|
+
#private;
|
|
1201
|
+
constructor(data?: any[] | {
|
|
1202
|
+
email?: string;
|
|
1203
|
+
});
|
|
1204
|
+
get email(): string;
|
|
1205
|
+
set email(value: string);
|
|
1206
|
+
static fromObject(data: {
|
|
1207
|
+
email?: string;
|
|
1208
|
+
}): EmailRequest;
|
|
1209
|
+
toObject(): {
|
|
1210
|
+
email?: string | undefined;
|
|
1211
|
+
};
|
|
1212
|
+
serialize(): Uint8Array;
|
|
1213
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1214
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): EmailRequest;
|
|
1215
|
+
serializeBinary(): Uint8Array;
|
|
1216
|
+
static deserializeBinary(bytes: Uint8Array): EmailRequest;
|
|
1217
|
+
}
|
|
1218
|
+
export class ResetPasswordRequest extends pb_1.Message {
|
|
1219
|
+
#private;
|
|
1220
|
+
constructor(data?: any[] | {
|
|
1221
|
+
email?: string;
|
|
1222
|
+
password?: string;
|
|
1223
|
+
token?: string;
|
|
1224
|
+
});
|
|
1225
|
+
get email(): string;
|
|
1226
|
+
set email(value: string);
|
|
1227
|
+
get password(): string;
|
|
1228
|
+
set password(value: string);
|
|
1229
|
+
get token(): string;
|
|
1230
|
+
set token(value: string);
|
|
1231
|
+
static fromObject(data: {
|
|
1232
|
+
email?: string;
|
|
1233
|
+
password?: string;
|
|
1234
|
+
token?: string;
|
|
1235
|
+
}): ResetPasswordRequest;
|
|
1236
|
+
toObject(): {
|
|
1237
|
+
email?: string | undefined;
|
|
1238
|
+
password?: string | undefined;
|
|
1239
|
+
token?: string | undefined;
|
|
1240
|
+
};
|
|
1241
|
+
serialize(): Uint8Array;
|
|
1242
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1243
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ResetPasswordRequest;
|
|
1244
|
+
serializeBinary(): Uint8Array;
|
|
1245
|
+
static deserializeBinary(bytes: Uint8Array): ResetPasswordRequest;
|
|
1246
|
+
}
|
|
1247
|
+
export class ChangeAdminRoleRequest extends pb_1.Message {
|
|
1248
|
+
#private;
|
|
1249
|
+
constructor(data?: any[] | {
|
|
1250
|
+
id?: string;
|
|
1251
|
+
roleId?: string;
|
|
1252
|
+
});
|
|
1253
|
+
get id(): string;
|
|
1254
|
+
set id(value: string);
|
|
1255
|
+
get roleId(): string;
|
|
1256
|
+
set roleId(value: string);
|
|
1257
|
+
static fromObject(data: {
|
|
1258
|
+
id?: string;
|
|
1259
|
+
roleId?: string;
|
|
1260
|
+
}): ChangeAdminRoleRequest;
|
|
1261
|
+
toObject(): {
|
|
1262
|
+
id?: string | undefined;
|
|
1263
|
+
roleId?: string | undefined;
|
|
1264
|
+
};
|
|
1265
|
+
serialize(): Uint8Array;
|
|
1266
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1267
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): ChangeAdminRoleRequest;
|
|
1268
|
+
serializeBinary(): Uint8Array;
|
|
1269
|
+
static deserializeBinary(bytes: Uint8Array): ChangeAdminRoleRequest;
|
|
1270
|
+
}
|
|
1271
|
+
export class AuditLog extends pb_1.Message {
|
|
1272
|
+
#private;
|
|
1273
|
+
constructor(data?: any[] | {
|
|
1274
|
+
id?: string;
|
|
1275
|
+
action?: string;
|
|
1276
|
+
admin?: Admin;
|
|
1277
|
+
metadata?: Map<string, string>;
|
|
1278
|
+
status?: string;
|
|
1279
|
+
comment?: string;
|
|
1280
|
+
createdAt?: string;
|
|
1281
|
+
});
|
|
1282
|
+
get id(): string;
|
|
1283
|
+
set id(value: string);
|
|
1284
|
+
get action(): string;
|
|
1285
|
+
set action(value: string);
|
|
1286
|
+
get admin(): Admin;
|
|
1287
|
+
set admin(value: Admin);
|
|
1288
|
+
get hasAdmin(): boolean;
|
|
1289
|
+
get metadata(): Map<string, string>;
|
|
1290
|
+
set metadata(value: Map<string, string>);
|
|
1291
|
+
get status(): string;
|
|
1292
|
+
set status(value: string);
|
|
1293
|
+
get comment(): string;
|
|
1294
|
+
set comment(value: string);
|
|
1295
|
+
get createdAt(): string;
|
|
1296
|
+
set createdAt(value: string);
|
|
1297
|
+
static fromObject(data: {
|
|
1298
|
+
id?: string;
|
|
1299
|
+
action?: string;
|
|
1300
|
+
admin?: ReturnType<typeof Admin.prototype.toObject>;
|
|
1301
|
+
metadata?: {
|
|
1302
|
+
[key: string]: string;
|
|
1303
|
+
};
|
|
1304
|
+
status?: string;
|
|
1305
|
+
comment?: string;
|
|
1306
|
+
createdAt?: string;
|
|
1307
|
+
}): AuditLog;
|
|
1308
|
+
toObject(): {
|
|
1309
|
+
id?: string | undefined;
|
|
1310
|
+
action?: string | undefined;
|
|
1311
|
+
admin?: {
|
|
1312
|
+
id?: string | undefined;
|
|
1313
|
+
email?: string | undefined;
|
|
1314
|
+
firstName?: string | undefined;
|
|
1315
|
+
lastName?: string | undefined;
|
|
1316
|
+
role?: {
|
|
1317
|
+
id?: string | undefined;
|
|
1318
|
+
name?: string | undefined;
|
|
1319
|
+
description?: string | undefined;
|
|
1320
|
+
memberCount?: number | undefined;
|
|
1321
|
+
permissions?: {
|
|
1322
|
+
id?: string | undefined;
|
|
1323
|
+
name?: string | undefined;
|
|
1324
|
+
description?: string | undefined;
|
|
1325
|
+
code?: string | undefined;
|
|
1326
|
+
}[] | undefined;
|
|
1327
|
+
} | undefined;
|
|
1328
|
+
status?: string | undefined;
|
|
1329
|
+
phone?: string | undefined;
|
|
1330
|
+
mfbId?: string | undefined;
|
|
1331
|
+
} | undefined;
|
|
1332
|
+
metadata?: {
|
|
1333
|
+
[key: string]: string;
|
|
1334
|
+
} | undefined;
|
|
1335
|
+
status?: string | undefined;
|
|
1336
|
+
comment?: string | undefined;
|
|
1337
|
+
createdAt?: string | undefined;
|
|
1338
|
+
};
|
|
1339
|
+
serialize(): Uint8Array;
|
|
1340
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1341
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): AuditLog;
|
|
1342
|
+
serializeBinary(): Uint8Array;
|
|
1343
|
+
static deserializeBinary(bytes: Uint8Array): AuditLog;
|
|
1344
|
+
}
|
|
1345
|
+
export class AuditLogRequest extends pb_1.Message {
|
|
1346
|
+
#private;
|
|
1347
|
+
constructor(data?: any[] | {
|
|
1348
|
+
action?: string;
|
|
1349
|
+
adminId?: string;
|
|
1350
|
+
metadata?: Map<string, string>;
|
|
1351
|
+
status?: string;
|
|
1352
|
+
comment?: string;
|
|
1353
|
+
});
|
|
1354
|
+
get action(): string;
|
|
1355
|
+
set action(value: string);
|
|
1356
|
+
get adminId(): string;
|
|
1357
|
+
set adminId(value: string);
|
|
1358
|
+
get metadata(): Map<string, string>;
|
|
1359
|
+
set metadata(value: Map<string, string>);
|
|
1360
|
+
get status(): string;
|
|
1361
|
+
set status(value: string);
|
|
1362
|
+
get comment(): string;
|
|
1363
|
+
set comment(value: string);
|
|
1364
|
+
static fromObject(data: {
|
|
1365
|
+
action?: string;
|
|
1366
|
+
adminId?: string;
|
|
1367
|
+
metadata?: {
|
|
1368
|
+
[key: string]: string;
|
|
1369
|
+
};
|
|
1370
|
+
status?: string;
|
|
1371
|
+
comment?: string;
|
|
1372
|
+
}): AuditLogRequest;
|
|
1373
|
+
toObject(): {
|
|
1374
|
+
action?: string | undefined;
|
|
1375
|
+
adminId?: string | undefined;
|
|
1376
|
+
metadata?: {
|
|
1377
|
+
[key: string]: string;
|
|
1378
|
+
} | undefined;
|
|
1379
|
+
status?: string | undefined;
|
|
1380
|
+
comment?: string | undefined;
|
|
1381
|
+
};
|
|
1382
|
+
serialize(): Uint8Array;
|
|
1383
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1384
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): AuditLogRequest;
|
|
1385
|
+
serializeBinary(): Uint8Array;
|
|
1386
|
+
static deserializeBinary(bytes: Uint8Array): AuditLogRequest;
|
|
1387
|
+
}
|
|
1388
|
+
export class GetAuditLogsRequest extends pb_1.Message {
|
|
1389
|
+
#private;
|
|
1390
|
+
constructor(data?: any[] | {
|
|
1391
|
+
page?: number;
|
|
1392
|
+
limit?: number;
|
|
1393
|
+
searchQuery?: string;
|
|
1394
|
+
});
|
|
1395
|
+
get page(): number;
|
|
1396
|
+
set page(value: number);
|
|
1397
|
+
get limit(): number;
|
|
1398
|
+
set limit(value: number);
|
|
1399
|
+
get searchQuery(): string;
|
|
1400
|
+
set searchQuery(value: string);
|
|
1401
|
+
static fromObject(data: {
|
|
1402
|
+
page?: number;
|
|
1403
|
+
limit?: number;
|
|
1404
|
+
searchQuery?: string;
|
|
1405
|
+
}): GetAuditLogsRequest;
|
|
1406
|
+
toObject(): {
|
|
1407
|
+
page?: number | undefined;
|
|
1408
|
+
limit?: number | undefined;
|
|
1409
|
+
searchQuery?: string | undefined;
|
|
1410
|
+
};
|
|
1411
|
+
serialize(): Uint8Array;
|
|
1412
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1413
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetAuditLogsRequest;
|
|
1414
|
+
serializeBinary(): Uint8Array;
|
|
1415
|
+
static deserializeBinary(bytes: Uint8Array): GetAuditLogsRequest;
|
|
1416
|
+
}
|
|
1417
|
+
export class MultipleAuditLogResponse extends pb_1.Message {
|
|
1418
|
+
#private;
|
|
1419
|
+
constructor(data?: any[] | {
|
|
1420
|
+
success?: boolean;
|
|
1421
|
+
status?: string;
|
|
1422
|
+
message?: string;
|
|
1423
|
+
errors?: ValidationErrors[];
|
|
1424
|
+
data?: AuditLog[];
|
|
1425
|
+
error?: string;
|
|
1426
|
+
pagination?: Pagination;
|
|
1427
|
+
});
|
|
1428
|
+
get success(): boolean;
|
|
1429
|
+
set success(value: boolean);
|
|
1430
|
+
get status(): string;
|
|
1431
|
+
set status(value: string);
|
|
1432
|
+
get message(): string;
|
|
1433
|
+
set message(value: string);
|
|
1434
|
+
get errors(): ValidationErrors[];
|
|
1435
|
+
set errors(value: ValidationErrors[]);
|
|
1436
|
+
get data(): AuditLog[];
|
|
1437
|
+
set data(value: AuditLog[]);
|
|
1438
|
+
get error(): string;
|
|
1439
|
+
set error(value: string);
|
|
1440
|
+
get pagination(): Pagination;
|
|
1441
|
+
set pagination(value: Pagination);
|
|
1442
|
+
get hasPagination(): boolean;
|
|
1443
|
+
static fromObject(data: {
|
|
1444
|
+
success?: boolean;
|
|
1445
|
+
status?: string;
|
|
1446
|
+
message?: string;
|
|
1447
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1448
|
+
data?: ReturnType<typeof AuditLog.prototype.toObject>[];
|
|
1449
|
+
error?: string;
|
|
1450
|
+
pagination?: ReturnType<typeof Pagination.prototype.toObject>;
|
|
1451
|
+
}): MultipleAuditLogResponse;
|
|
1452
|
+
toObject(): {
|
|
1453
|
+
success?: boolean | undefined;
|
|
1454
|
+
status?: string | undefined;
|
|
1455
|
+
message?: string | undefined;
|
|
1456
|
+
errors?: {
|
|
1457
|
+
field?: string | undefined;
|
|
1458
|
+
message?: string | undefined;
|
|
1459
|
+
}[] | undefined;
|
|
1460
|
+
data?: {
|
|
1461
|
+
id?: string | undefined;
|
|
1462
|
+
action?: string | undefined;
|
|
1463
|
+
admin?: {
|
|
1464
|
+
id?: string | undefined;
|
|
1465
|
+
email?: string | undefined;
|
|
1466
|
+
firstName?: string | undefined;
|
|
1467
|
+
lastName?: string | undefined;
|
|
1468
|
+
role?: {
|
|
1469
|
+
id?: string | undefined;
|
|
1470
|
+
name?: string | undefined;
|
|
1471
|
+
description?: string | undefined;
|
|
1472
|
+
memberCount?: number | undefined;
|
|
1473
|
+
permissions?: {
|
|
1474
|
+
id?: string | undefined;
|
|
1475
|
+
name?: string | undefined;
|
|
1476
|
+
description?: string | undefined;
|
|
1477
|
+
code?: string | undefined;
|
|
1478
|
+
}[] | undefined;
|
|
1479
|
+
} | undefined;
|
|
1480
|
+
status?: string | undefined;
|
|
1481
|
+
phone?: string | undefined;
|
|
1482
|
+
mfbId?: string | undefined;
|
|
1483
|
+
} | undefined;
|
|
1484
|
+
metadata?: {
|
|
1485
|
+
[key: string]: string;
|
|
1486
|
+
} | undefined;
|
|
1487
|
+
status?: string | undefined;
|
|
1488
|
+
comment?: string | undefined;
|
|
1489
|
+
createdAt?: string | undefined;
|
|
1490
|
+
}[] | undefined;
|
|
1491
|
+
error?: string | undefined;
|
|
1492
|
+
pagination?: {
|
|
1493
|
+
page?: number | undefined;
|
|
1494
|
+
limit?: number | undefined;
|
|
1495
|
+
total?: number | undefined;
|
|
1496
|
+
hasNext?: boolean | undefined;
|
|
1497
|
+
hasPrev?: boolean | undefined;
|
|
1498
|
+
} | undefined;
|
|
1499
|
+
};
|
|
1500
|
+
serialize(): Uint8Array;
|
|
1501
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1502
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MultipleAuditLogResponse;
|
|
1503
|
+
serializeBinary(): Uint8Array;
|
|
1504
|
+
static deserializeBinary(bytes: Uint8Array): MultipleAuditLogResponse;
|
|
1505
|
+
}
|
|
1506
|
+
export class MfbData extends pb_1.Message {
|
|
1507
|
+
#private;
|
|
1508
|
+
constructor(data?: any[] | {
|
|
1509
|
+
id?: string;
|
|
1510
|
+
name?: string;
|
|
1511
|
+
contactEmail?: string;
|
|
1512
|
+
contactPhone?: string;
|
|
1513
|
+
address?: string;
|
|
1514
|
+
cbnLicenseNumber?: string;
|
|
1515
|
+
licenseType?: string;
|
|
1516
|
+
licenseExpiryDate?: string;
|
|
1517
|
+
settlementAccount?: string;
|
|
1518
|
+
bankName?: string;
|
|
1519
|
+
brandingLogo?: string;
|
|
1520
|
+
brandingPrimaryColor?: string;
|
|
1521
|
+
status?: string;
|
|
1522
|
+
contractReference?: string;
|
|
1523
|
+
createdAt?: string;
|
|
1524
|
+
settlementBankCode?: string;
|
|
1525
|
+
bvn?: string;
|
|
1526
|
+
nin?: string;
|
|
1527
|
+
});
|
|
1528
|
+
get id(): string;
|
|
1529
|
+
set id(value: string);
|
|
1530
|
+
get name(): string;
|
|
1531
|
+
set name(value: string);
|
|
1532
|
+
get contactEmail(): string;
|
|
1533
|
+
set contactEmail(value: string);
|
|
1534
|
+
get contactPhone(): string;
|
|
1535
|
+
set contactPhone(value: string);
|
|
1536
|
+
get address(): string;
|
|
1537
|
+
set address(value: string);
|
|
1538
|
+
get cbnLicenseNumber(): string;
|
|
1539
|
+
set cbnLicenseNumber(value: string);
|
|
1540
|
+
get licenseType(): string;
|
|
1541
|
+
set licenseType(value: string);
|
|
1542
|
+
get licenseExpiryDate(): string;
|
|
1543
|
+
set licenseExpiryDate(value: string);
|
|
1544
|
+
get settlementAccount(): string;
|
|
1545
|
+
set settlementAccount(value: string);
|
|
1546
|
+
get bankName(): string;
|
|
1547
|
+
set bankName(value: string);
|
|
1548
|
+
get brandingLogo(): string;
|
|
1549
|
+
set brandingLogo(value: string);
|
|
1550
|
+
get brandingPrimaryColor(): string;
|
|
1551
|
+
set brandingPrimaryColor(value: string);
|
|
1552
|
+
get status(): string;
|
|
1553
|
+
set status(value: string);
|
|
1554
|
+
get contractReference(): string;
|
|
1555
|
+
set contractReference(value: string);
|
|
1556
|
+
get createdAt(): string;
|
|
1557
|
+
set createdAt(value: string);
|
|
1558
|
+
get settlementBankCode(): string;
|
|
1559
|
+
set settlementBankCode(value: string);
|
|
1560
|
+
get bvn(): string;
|
|
1561
|
+
set bvn(value: string);
|
|
1562
|
+
get nin(): string;
|
|
1563
|
+
set nin(value: string);
|
|
1564
|
+
static fromObject(data: {
|
|
1565
|
+
id?: string;
|
|
1566
|
+
name?: string;
|
|
1567
|
+
contactEmail?: string;
|
|
1568
|
+
contactPhone?: string;
|
|
1569
|
+
address?: string;
|
|
1570
|
+
cbnLicenseNumber?: string;
|
|
1571
|
+
licenseType?: string;
|
|
1572
|
+
licenseExpiryDate?: string;
|
|
1573
|
+
settlementAccount?: string;
|
|
1574
|
+
bankName?: string;
|
|
1575
|
+
brandingLogo?: string;
|
|
1576
|
+
brandingPrimaryColor?: string;
|
|
1577
|
+
status?: string;
|
|
1578
|
+
contractReference?: string;
|
|
1579
|
+
createdAt?: string;
|
|
1580
|
+
settlementBankCode?: string;
|
|
1581
|
+
bvn?: string;
|
|
1582
|
+
nin?: string;
|
|
1583
|
+
}): MfbData;
|
|
1584
|
+
toObject(): {
|
|
1585
|
+
id?: string | undefined;
|
|
1586
|
+
name?: string | undefined;
|
|
1587
|
+
contactEmail?: string | undefined;
|
|
1588
|
+
contactPhone?: string | undefined;
|
|
1589
|
+
address?: string | undefined;
|
|
1590
|
+
cbnLicenseNumber?: string | undefined;
|
|
1591
|
+
licenseType?: string | undefined;
|
|
1592
|
+
licenseExpiryDate?: string | undefined;
|
|
1593
|
+
settlementAccount?: string | undefined;
|
|
1594
|
+
bankName?: string | undefined;
|
|
1595
|
+
brandingLogo?: string | undefined;
|
|
1596
|
+
brandingPrimaryColor?: string | undefined;
|
|
1597
|
+
status?: string | undefined;
|
|
1598
|
+
contractReference?: string | undefined;
|
|
1599
|
+
createdAt?: string | undefined;
|
|
1600
|
+
settlementBankCode?: string | undefined;
|
|
1601
|
+
bvn?: string | undefined;
|
|
1602
|
+
nin?: string | undefined;
|
|
1603
|
+
};
|
|
1604
|
+
serialize(): Uint8Array;
|
|
1605
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1606
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbData;
|
|
1607
|
+
serializeBinary(): Uint8Array;
|
|
1608
|
+
static deserializeBinary(bytes: Uint8Array): MfbData;
|
|
1609
|
+
}
|
|
1610
|
+
export class MfbResponse extends pb_1.Message {
|
|
1611
|
+
#private;
|
|
1612
|
+
constructor(data?: any[] | {
|
|
1613
|
+
success?: boolean;
|
|
1614
|
+
status?: string;
|
|
1615
|
+
message?: string;
|
|
1616
|
+
errors?: ValidationErrors[];
|
|
1617
|
+
data?: MfbData;
|
|
1618
|
+
error?: string;
|
|
1619
|
+
});
|
|
1620
|
+
get success(): boolean;
|
|
1621
|
+
set success(value: boolean);
|
|
1622
|
+
get status(): string;
|
|
1623
|
+
set status(value: string);
|
|
1624
|
+
get message(): string;
|
|
1625
|
+
set message(value: string);
|
|
1626
|
+
get errors(): ValidationErrors[];
|
|
1627
|
+
set errors(value: ValidationErrors[]);
|
|
1628
|
+
get data(): MfbData;
|
|
1629
|
+
set data(value: MfbData);
|
|
1630
|
+
get hasData(): boolean;
|
|
1631
|
+
get error(): string;
|
|
1632
|
+
set error(value: string);
|
|
1633
|
+
static fromObject(data: {
|
|
1634
|
+
success?: boolean;
|
|
1635
|
+
status?: string;
|
|
1636
|
+
message?: string;
|
|
1637
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1638
|
+
data?: ReturnType<typeof MfbData.prototype.toObject>;
|
|
1639
|
+
error?: string;
|
|
1640
|
+
}): MfbResponse;
|
|
1641
|
+
toObject(): {
|
|
1642
|
+
success?: boolean | undefined;
|
|
1643
|
+
status?: string | undefined;
|
|
1644
|
+
message?: string | undefined;
|
|
1645
|
+
errors?: {
|
|
1646
|
+
field?: string | undefined;
|
|
1647
|
+
message?: string | undefined;
|
|
1648
|
+
}[] | undefined;
|
|
1649
|
+
data?: {
|
|
1650
|
+
id?: string | undefined;
|
|
1651
|
+
name?: string | undefined;
|
|
1652
|
+
contactEmail?: string | undefined;
|
|
1653
|
+
contactPhone?: string | undefined;
|
|
1654
|
+
address?: string | undefined;
|
|
1655
|
+
cbnLicenseNumber?: string | undefined;
|
|
1656
|
+
licenseType?: string | undefined;
|
|
1657
|
+
licenseExpiryDate?: string | undefined;
|
|
1658
|
+
settlementAccount?: string | undefined;
|
|
1659
|
+
bankName?: string | undefined;
|
|
1660
|
+
brandingLogo?: string | undefined;
|
|
1661
|
+
brandingPrimaryColor?: string | undefined;
|
|
1662
|
+
status?: string | undefined;
|
|
1663
|
+
contractReference?: string | undefined;
|
|
1664
|
+
createdAt?: string | undefined;
|
|
1665
|
+
settlementBankCode?: string | undefined;
|
|
1666
|
+
bvn?: string | undefined;
|
|
1667
|
+
nin?: string | undefined;
|
|
1668
|
+
} | undefined;
|
|
1669
|
+
error?: string | undefined;
|
|
1670
|
+
};
|
|
1671
|
+
serialize(): Uint8Array;
|
|
1672
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1673
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbResponse;
|
|
1674
|
+
serializeBinary(): Uint8Array;
|
|
1675
|
+
static deserializeBinary(bytes: Uint8Array): MfbResponse;
|
|
1676
|
+
}
|
|
1677
|
+
export class MfbsResponse extends pb_1.Message {
|
|
1678
|
+
#private;
|
|
1679
|
+
constructor(data?: any[] | {
|
|
1680
|
+
success?: boolean;
|
|
1681
|
+
status?: string;
|
|
1682
|
+
message?: string;
|
|
1683
|
+
errors?: ValidationErrors[];
|
|
1684
|
+
data?: MfbData[];
|
|
1685
|
+
error?: string;
|
|
1686
|
+
pagination?: Pagination;
|
|
1687
|
+
});
|
|
1688
|
+
get success(): boolean;
|
|
1689
|
+
set success(value: boolean);
|
|
1690
|
+
get status(): string;
|
|
1691
|
+
set status(value: string);
|
|
1692
|
+
get message(): string;
|
|
1693
|
+
set message(value: string);
|
|
1694
|
+
get errors(): ValidationErrors[];
|
|
1695
|
+
set errors(value: ValidationErrors[]);
|
|
1696
|
+
get data(): MfbData[];
|
|
1697
|
+
set data(value: MfbData[]);
|
|
1698
|
+
get error(): string;
|
|
1699
|
+
set error(value: string);
|
|
1700
|
+
get pagination(): Pagination;
|
|
1701
|
+
set pagination(value: Pagination);
|
|
1702
|
+
get hasPagination(): boolean;
|
|
1703
|
+
static fromObject(data: {
|
|
1704
|
+
success?: boolean;
|
|
1705
|
+
status?: string;
|
|
1706
|
+
message?: string;
|
|
1707
|
+
errors?: ReturnType<typeof ValidationErrors.prototype.toObject>[];
|
|
1708
|
+
data?: ReturnType<typeof MfbData.prototype.toObject>[];
|
|
1709
|
+
error?: string;
|
|
1710
|
+
pagination?: ReturnType<typeof Pagination.prototype.toObject>;
|
|
1711
|
+
}): MfbsResponse;
|
|
1712
|
+
toObject(): {
|
|
1713
|
+
success?: boolean | undefined;
|
|
1714
|
+
status?: string | undefined;
|
|
1715
|
+
message?: string | undefined;
|
|
1716
|
+
errors?: {
|
|
1717
|
+
field?: string | undefined;
|
|
1718
|
+
message?: string | undefined;
|
|
1719
|
+
}[] | undefined;
|
|
1720
|
+
data?: {
|
|
1721
|
+
id?: string | undefined;
|
|
1722
|
+
name?: string | undefined;
|
|
1723
|
+
contactEmail?: string | undefined;
|
|
1724
|
+
contactPhone?: string | undefined;
|
|
1725
|
+
address?: string | undefined;
|
|
1726
|
+
cbnLicenseNumber?: string | undefined;
|
|
1727
|
+
licenseType?: string | undefined;
|
|
1728
|
+
licenseExpiryDate?: string | undefined;
|
|
1729
|
+
settlementAccount?: string | undefined;
|
|
1730
|
+
bankName?: string | undefined;
|
|
1731
|
+
brandingLogo?: string | undefined;
|
|
1732
|
+
brandingPrimaryColor?: string | undefined;
|
|
1733
|
+
status?: string | undefined;
|
|
1734
|
+
contractReference?: string | undefined;
|
|
1735
|
+
createdAt?: string | undefined;
|
|
1736
|
+
settlementBankCode?: string | undefined;
|
|
1737
|
+
bvn?: string | undefined;
|
|
1738
|
+
nin?: string | undefined;
|
|
1739
|
+
}[] | undefined;
|
|
1740
|
+
error?: string | undefined;
|
|
1741
|
+
pagination?: {
|
|
1742
|
+
page?: number | undefined;
|
|
1743
|
+
limit?: number | undefined;
|
|
1744
|
+
total?: number | undefined;
|
|
1745
|
+
hasNext?: boolean | undefined;
|
|
1746
|
+
hasPrev?: boolean | undefined;
|
|
1747
|
+
} | undefined;
|
|
1748
|
+
};
|
|
1749
|
+
serialize(): Uint8Array;
|
|
1750
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1751
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): MfbsResponse;
|
|
1752
|
+
serializeBinary(): Uint8Array;
|
|
1753
|
+
static deserializeBinary(bytes: Uint8Array): MfbsResponse;
|
|
1754
|
+
}
|
|
1755
|
+
export class CreateMfbRequest extends pb_1.Message {
|
|
1756
|
+
#private;
|
|
1757
|
+
constructor(data?: any[] | {
|
|
1758
|
+
name?: string;
|
|
1759
|
+
contactEmail?: string;
|
|
1760
|
+
contactPhone?: string;
|
|
1761
|
+
address?: string;
|
|
1762
|
+
cbnLicenseNumber?: string;
|
|
1763
|
+
licenseType?: string;
|
|
1764
|
+
licenseExpiryDate?: string;
|
|
1765
|
+
settlementAccount?: string;
|
|
1766
|
+
bankName?: string;
|
|
1767
|
+
brandingLogo?: string;
|
|
1768
|
+
brandingPrimaryColor?: string;
|
|
1769
|
+
contractReference?: string;
|
|
1770
|
+
settlementBankCode?: string;
|
|
1771
|
+
bvn?: string;
|
|
1772
|
+
nin?: string;
|
|
1773
|
+
});
|
|
1774
|
+
get name(): string;
|
|
1775
|
+
set name(value: string);
|
|
1776
|
+
get contactEmail(): string;
|
|
1777
|
+
set contactEmail(value: string);
|
|
1778
|
+
get contactPhone(): string;
|
|
1779
|
+
set contactPhone(value: string);
|
|
1780
|
+
get address(): string;
|
|
1781
|
+
set address(value: string);
|
|
1782
|
+
get cbnLicenseNumber(): string;
|
|
1783
|
+
set cbnLicenseNumber(value: string);
|
|
1784
|
+
get licenseType(): string;
|
|
1785
|
+
set licenseType(value: string);
|
|
1786
|
+
get licenseExpiryDate(): string;
|
|
1787
|
+
set licenseExpiryDate(value: string);
|
|
1788
|
+
get settlementAccount(): string;
|
|
1789
|
+
set settlementAccount(value: string);
|
|
1790
|
+
get bankName(): string;
|
|
1791
|
+
set bankName(value: string);
|
|
1792
|
+
get brandingLogo(): string;
|
|
1793
|
+
set brandingLogo(value: string);
|
|
1794
|
+
get brandingPrimaryColor(): string;
|
|
1795
|
+
set brandingPrimaryColor(value: string);
|
|
1796
|
+
get contractReference(): string;
|
|
1797
|
+
set contractReference(value: string);
|
|
1798
|
+
get settlementBankCode(): string;
|
|
1799
|
+
set settlementBankCode(value: string);
|
|
1800
|
+
get bvn(): string;
|
|
1801
|
+
set bvn(value: string);
|
|
1802
|
+
get nin(): string;
|
|
1803
|
+
set nin(value: string);
|
|
1804
|
+
static fromObject(data: {
|
|
1805
|
+
name?: string;
|
|
1806
|
+
contactEmail?: string;
|
|
1807
|
+
contactPhone?: string;
|
|
1808
|
+
address?: string;
|
|
1809
|
+
cbnLicenseNumber?: string;
|
|
1810
|
+
licenseType?: string;
|
|
1811
|
+
licenseExpiryDate?: string;
|
|
1812
|
+
settlementAccount?: string;
|
|
1813
|
+
bankName?: string;
|
|
1814
|
+
brandingLogo?: string;
|
|
1815
|
+
brandingPrimaryColor?: string;
|
|
1816
|
+
contractReference?: string;
|
|
1817
|
+
settlementBankCode?: string;
|
|
1818
|
+
bvn?: string;
|
|
1819
|
+
nin?: string;
|
|
1820
|
+
}): CreateMfbRequest;
|
|
1821
|
+
toObject(): {
|
|
1822
|
+
name?: string | undefined;
|
|
1823
|
+
contactEmail?: string | undefined;
|
|
1824
|
+
contactPhone?: string | undefined;
|
|
1825
|
+
address?: string | undefined;
|
|
1826
|
+
cbnLicenseNumber?: string | undefined;
|
|
1827
|
+
licenseType?: string | undefined;
|
|
1828
|
+
licenseExpiryDate?: string | undefined;
|
|
1829
|
+
settlementAccount?: string | undefined;
|
|
1830
|
+
bankName?: string | undefined;
|
|
1831
|
+
brandingLogo?: string | undefined;
|
|
1832
|
+
brandingPrimaryColor?: string | undefined;
|
|
1833
|
+
contractReference?: string | undefined;
|
|
1834
|
+
settlementBankCode?: string | undefined;
|
|
1835
|
+
bvn?: string | undefined;
|
|
1836
|
+
nin?: string | undefined;
|
|
1837
|
+
};
|
|
1838
|
+
serialize(): Uint8Array;
|
|
1839
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1840
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): CreateMfbRequest;
|
|
1841
|
+
serializeBinary(): Uint8Array;
|
|
1842
|
+
static deserializeBinary(bytes: Uint8Array): CreateMfbRequest;
|
|
1843
|
+
}
|
|
1844
|
+
export class UpdateMfbRequest extends pb_1.Message {
|
|
1845
|
+
#private;
|
|
1846
|
+
constructor(data?: any[] | {
|
|
1847
|
+
id?: string;
|
|
1848
|
+
name?: string;
|
|
1849
|
+
contactEmail?: string;
|
|
1850
|
+
contactPhone?: string;
|
|
1851
|
+
address?: string;
|
|
1852
|
+
cbnLicenseNumber?: string;
|
|
1853
|
+
licenseType?: string;
|
|
1854
|
+
licenseExpiryDate?: string;
|
|
1855
|
+
settlementAccount?: string;
|
|
1856
|
+
bankName?: string;
|
|
1857
|
+
brandingLogo?: string;
|
|
1858
|
+
brandingPrimaryColor?: string;
|
|
1859
|
+
contractReference?: string;
|
|
1860
|
+
settlementBankCode?: string;
|
|
1861
|
+
bvn?: string;
|
|
1862
|
+
nin?: string;
|
|
1863
|
+
});
|
|
1864
|
+
get id(): string;
|
|
1865
|
+
set id(value: string);
|
|
1866
|
+
get name(): string;
|
|
1867
|
+
set name(value: string);
|
|
1868
|
+
get contactEmail(): string;
|
|
1869
|
+
set contactEmail(value: string);
|
|
1870
|
+
get contactPhone(): string;
|
|
1871
|
+
set contactPhone(value: string);
|
|
1872
|
+
get address(): string;
|
|
1873
|
+
set address(value: string);
|
|
1874
|
+
get cbnLicenseNumber(): string;
|
|
1875
|
+
set cbnLicenseNumber(value: string);
|
|
1876
|
+
get licenseType(): string;
|
|
1877
|
+
set licenseType(value: string);
|
|
1878
|
+
get licenseExpiryDate(): string;
|
|
1879
|
+
set licenseExpiryDate(value: string);
|
|
1880
|
+
get settlementAccount(): string;
|
|
1881
|
+
set settlementAccount(value: string);
|
|
1882
|
+
get bankName(): string;
|
|
1883
|
+
set bankName(value: string);
|
|
1884
|
+
get brandingLogo(): string;
|
|
1885
|
+
set brandingLogo(value: string);
|
|
1886
|
+
get brandingPrimaryColor(): string;
|
|
1887
|
+
set brandingPrimaryColor(value: string);
|
|
1888
|
+
get contractReference(): string;
|
|
1889
|
+
set contractReference(value: string);
|
|
1890
|
+
get settlementBankCode(): string;
|
|
1891
|
+
set settlementBankCode(value: string);
|
|
1892
|
+
get bvn(): string;
|
|
1893
|
+
set bvn(value: string);
|
|
1894
|
+
get nin(): string;
|
|
1895
|
+
set nin(value: string);
|
|
1896
|
+
static fromObject(data: {
|
|
1897
|
+
id?: string;
|
|
1898
|
+
name?: string;
|
|
1899
|
+
contactEmail?: string;
|
|
1900
|
+
contactPhone?: string;
|
|
1901
|
+
address?: string;
|
|
1902
|
+
cbnLicenseNumber?: string;
|
|
1903
|
+
licenseType?: string;
|
|
1904
|
+
licenseExpiryDate?: string;
|
|
1905
|
+
settlementAccount?: string;
|
|
1906
|
+
bankName?: string;
|
|
1907
|
+
brandingLogo?: string;
|
|
1908
|
+
brandingPrimaryColor?: string;
|
|
1909
|
+
contractReference?: string;
|
|
1910
|
+
settlementBankCode?: string;
|
|
1911
|
+
bvn?: string;
|
|
1912
|
+
nin?: string;
|
|
1913
|
+
}): UpdateMfbRequest;
|
|
1914
|
+
toObject(): {
|
|
1915
|
+
id?: string | undefined;
|
|
1916
|
+
name?: string | undefined;
|
|
1917
|
+
contactEmail?: string | undefined;
|
|
1918
|
+
contactPhone?: string | undefined;
|
|
1919
|
+
address?: string | undefined;
|
|
1920
|
+
cbnLicenseNumber?: string | undefined;
|
|
1921
|
+
licenseType?: string | undefined;
|
|
1922
|
+
licenseExpiryDate?: string | undefined;
|
|
1923
|
+
settlementAccount?: string | undefined;
|
|
1924
|
+
bankName?: string | undefined;
|
|
1925
|
+
brandingLogo?: string | undefined;
|
|
1926
|
+
brandingPrimaryColor?: string | undefined;
|
|
1927
|
+
contractReference?: string | undefined;
|
|
1928
|
+
settlementBankCode?: string | undefined;
|
|
1929
|
+
bvn?: string | undefined;
|
|
1930
|
+
nin?: string | undefined;
|
|
1931
|
+
};
|
|
1932
|
+
serialize(): Uint8Array;
|
|
1933
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1934
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateMfbRequest;
|
|
1935
|
+
serializeBinary(): Uint8Array;
|
|
1936
|
+
static deserializeBinary(bytes: Uint8Array): UpdateMfbRequest;
|
|
1937
|
+
}
|
|
1938
|
+
export class GetMfbRequest extends pb_1.Message {
|
|
1939
|
+
#private;
|
|
1940
|
+
constructor(data?: any[] | {
|
|
1941
|
+
id?: string;
|
|
1942
|
+
});
|
|
1943
|
+
get id(): string;
|
|
1944
|
+
set id(value: string);
|
|
1945
|
+
static fromObject(data: {
|
|
1946
|
+
id?: string;
|
|
1947
|
+
}): GetMfbRequest;
|
|
1948
|
+
toObject(): {
|
|
1949
|
+
id?: string | undefined;
|
|
1950
|
+
};
|
|
1951
|
+
serialize(): Uint8Array;
|
|
1952
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1953
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetMfbRequest;
|
|
1954
|
+
serializeBinary(): Uint8Array;
|
|
1955
|
+
static deserializeBinary(bytes: Uint8Array): GetMfbRequest;
|
|
1956
|
+
}
|
|
1957
|
+
export class GetMfbsRequest extends pb_1.Message {
|
|
1958
|
+
#private;
|
|
1959
|
+
constructor(data?: any[] | {
|
|
1960
|
+
page?: number;
|
|
1961
|
+
limit?: number;
|
|
1962
|
+
searchQuery?: string;
|
|
1963
|
+
status?: string;
|
|
1964
|
+
});
|
|
1965
|
+
get page(): number;
|
|
1966
|
+
set page(value: number);
|
|
1967
|
+
get limit(): number;
|
|
1968
|
+
set limit(value: number);
|
|
1969
|
+
get searchQuery(): string;
|
|
1970
|
+
set searchQuery(value: string);
|
|
1971
|
+
get status(): string;
|
|
1972
|
+
set status(value: string);
|
|
1973
|
+
static fromObject(data: {
|
|
1974
|
+
page?: number;
|
|
1975
|
+
limit?: number;
|
|
1976
|
+
searchQuery?: string;
|
|
1977
|
+
status?: string;
|
|
1978
|
+
}): GetMfbsRequest;
|
|
1979
|
+
toObject(): {
|
|
1980
|
+
page?: number | undefined;
|
|
1981
|
+
limit?: number | undefined;
|
|
1982
|
+
searchQuery?: string | undefined;
|
|
1983
|
+
status?: string | undefined;
|
|
1984
|
+
};
|
|
1985
|
+
serialize(): Uint8Array;
|
|
1986
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
1987
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): GetMfbsRequest;
|
|
1988
|
+
serializeBinary(): Uint8Array;
|
|
1989
|
+
static deserializeBinary(bytes: Uint8Array): GetMfbsRequest;
|
|
1990
|
+
}
|
|
1991
|
+
export class UpdateMfbStatusRequest extends pb_1.Message {
|
|
1992
|
+
#private;
|
|
1993
|
+
constructor(data?: any[] | {
|
|
1994
|
+
id?: string;
|
|
1995
|
+
status?: string;
|
|
1996
|
+
});
|
|
1997
|
+
get id(): string;
|
|
1998
|
+
set id(value: string);
|
|
1999
|
+
get status(): string;
|
|
2000
|
+
set status(value: string);
|
|
2001
|
+
static fromObject(data: {
|
|
2002
|
+
id?: string;
|
|
2003
|
+
status?: string;
|
|
2004
|
+
}): UpdateMfbStatusRequest;
|
|
2005
|
+
toObject(): {
|
|
2006
|
+
id?: string | undefined;
|
|
2007
|
+
status?: string | undefined;
|
|
2008
|
+
};
|
|
2009
|
+
serialize(): Uint8Array;
|
|
2010
|
+
serialize(w: pb_1.BinaryWriter): void;
|
|
2011
|
+
static deserialize(bytes: Uint8Array | pb_1.BinaryReader): UpdateMfbStatusRequest;
|
|
2012
|
+
serializeBinary(): Uint8Array;
|
|
2013
|
+
static deserializeBinary(bytes: Uint8Array): UpdateMfbStatusRequest;
|
|
2014
|
+
}
|
|
2015
|
+
interface GrpcPromiseServiceInterface<P, R> {
|
|
2016
|
+
(message: P, metadata: grpc_1.Metadata, options?: grpc_1.CallOptions): Promise<R>;
|
|
2017
|
+
(message: P, options?: grpc_1.CallOptions): Promise<R>;
|
|
2018
|
+
}
|
|
2019
|
+
export abstract class UnimplementedAdminServiceService {
|
|
2020
|
+
static definition: {
|
|
2021
|
+
InviteAdmin: {
|
|
2022
|
+
path: string;
|
|
2023
|
+
requestStream: boolean;
|
|
2024
|
+
responseStream: boolean;
|
|
2025
|
+
requestSerialize: (message: InviteAdminRequest) => Buffer;
|
|
2026
|
+
requestDeserialize: (bytes: Buffer) => InviteAdminRequest;
|
|
2027
|
+
responseSerialize: (message: AdminResponse) => Buffer;
|
|
2028
|
+
responseDeserialize: (bytes: Buffer) => AdminResponse;
|
|
2029
|
+
};
|
|
2030
|
+
ReInviteAdmin: {
|
|
2031
|
+
path: string;
|
|
2032
|
+
requestStream: boolean;
|
|
2033
|
+
responseStream: boolean;
|
|
2034
|
+
requestSerialize: (message: ReInviteAdminRequest) => Buffer;
|
|
2035
|
+
requestDeserialize: (bytes: Buffer) => ReInviteAdminRequest;
|
|
2036
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2037
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2038
|
+
};
|
|
2039
|
+
ValidateInvitation: {
|
|
2040
|
+
path: string;
|
|
2041
|
+
requestStream: boolean;
|
|
2042
|
+
responseStream: boolean;
|
|
2043
|
+
requestSerialize: (message: ValidationRequest) => Buffer;
|
|
2044
|
+
requestDeserialize: (bytes: Buffer) => ValidationRequest;
|
|
2045
|
+
responseSerialize: (message: AdminResponse) => Buffer;
|
|
2046
|
+
responseDeserialize: (bytes: Buffer) => AdminResponse;
|
|
2047
|
+
};
|
|
2048
|
+
AcceptInvitation: {
|
|
2049
|
+
path: string;
|
|
2050
|
+
requestStream: boolean;
|
|
2051
|
+
responseStream: boolean;
|
|
2052
|
+
requestSerialize: (message: AcceptInvitationRequest) => Buffer;
|
|
2053
|
+
requestDeserialize: (bytes: Buffer) => AcceptInvitationRequest;
|
|
2054
|
+
responseSerialize: (message: AdminResponse) => Buffer;
|
|
2055
|
+
responseDeserialize: (bytes: Buffer) => AdminResponse;
|
|
2056
|
+
};
|
|
2057
|
+
Login: {
|
|
2058
|
+
path: string;
|
|
2059
|
+
requestStream: boolean;
|
|
2060
|
+
responseStream: boolean;
|
|
2061
|
+
requestSerialize: (message: LoginRequest) => Buffer;
|
|
2062
|
+
requestDeserialize: (bytes: Buffer) => LoginRequest;
|
|
2063
|
+
responseSerialize: (message: LoginResponse) => Buffer;
|
|
2064
|
+
responseDeserialize: (bytes: Buffer) => LoginResponse;
|
|
2065
|
+
};
|
|
2066
|
+
ValidateToken: {
|
|
2067
|
+
path: string;
|
|
2068
|
+
requestStream: boolean;
|
|
2069
|
+
responseStream: boolean;
|
|
2070
|
+
requestSerialize: (message: TokenRequest) => Buffer;
|
|
2071
|
+
requestDeserialize: (bytes: Buffer) => TokenRequest;
|
|
2072
|
+
responseSerialize: (message: AdminResponse) => Buffer;
|
|
2073
|
+
responseDeserialize: (bytes: Buffer) => AdminResponse;
|
|
2074
|
+
};
|
|
2075
|
+
GetAdmins: {
|
|
2076
|
+
path: string;
|
|
2077
|
+
requestStream: boolean;
|
|
2078
|
+
responseStream: boolean;
|
|
2079
|
+
requestSerialize: (message: GetAdminsRequest) => Buffer;
|
|
2080
|
+
requestDeserialize: (bytes: Buffer) => GetAdminsRequest;
|
|
2081
|
+
responseSerialize: (message: AdminsResponse) => Buffer;
|
|
2082
|
+
responseDeserialize: (bytes: Buffer) => AdminsResponse;
|
|
2083
|
+
};
|
|
2084
|
+
RequestPasswordReset: {
|
|
2085
|
+
path: string;
|
|
2086
|
+
requestStream: boolean;
|
|
2087
|
+
responseStream: boolean;
|
|
2088
|
+
requestSerialize: (message: EmailRequest) => Buffer;
|
|
2089
|
+
requestDeserialize: (bytes: Buffer) => EmailRequest;
|
|
2090
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2091
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2092
|
+
};
|
|
2093
|
+
ResetPassword: {
|
|
2094
|
+
path: string;
|
|
2095
|
+
requestStream: boolean;
|
|
2096
|
+
responseStream: boolean;
|
|
2097
|
+
requestSerialize: (message: ResetPasswordRequest) => Buffer;
|
|
2098
|
+
requestDeserialize: (bytes: Buffer) => ResetPasswordRequest;
|
|
2099
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2100
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2101
|
+
};
|
|
2102
|
+
CreateRole: {
|
|
2103
|
+
path: string;
|
|
2104
|
+
requestStream: boolean;
|
|
2105
|
+
responseStream: boolean;
|
|
2106
|
+
requestSerialize: (message: CreateRoleRequest) => Buffer;
|
|
2107
|
+
requestDeserialize: (bytes: Buffer) => CreateRoleRequest;
|
|
2108
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2109
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2110
|
+
};
|
|
2111
|
+
GetRoles: {
|
|
2112
|
+
path: string;
|
|
2113
|
+
requestStream: boolean;
|
|
2114
|
+
responseStream: boolean;
|
|
2115
|
+
requestSerialize: (message: EmptyRequest) => Buffer;
|
|
2116
|
+
requestDeserialize: (bytes: Buffer) => EmptyRequest;
|
|
2117
|
+
responseSerialize: (message: RolesResponse) => Buffer;
|
|
2118
|
+
responseDeserialize: (bytes: Buffer) => RolesResponse;
|
|
2119
|
+
};
|
|
2120
|
+
GetRole: {
|
|
2121
|
+
path: string;
|
|
2122
|
+
requestStream: boolean;
|
|
2123
|
+
responseStream: boolean;
|
|
2124
|
+
requestSerialize: (message: IdRequest) => Buffer;
|
|
2125
|
+
requestDeserialize: (bytes: Buffer) => IdRequest;
|
|
2126
|
+
responseSerialize: (message: GetRoleResponse) => Buffer;
|
|
2127
|
+
responseDeserialize: (bytes: Buffer) => GetRoleResponse;
|
|
2128
|
+
};
|
|
2129
|
+
UpdateRole: {
|
|
2130
|
+
path: string;
|
|
2131
|
+
requestStream: boolean;
|
|
2132
|
+
responseStream: boolean;
|
|
2133
|
+
requestSerialize: (message: UpdateRoleRequest) => Buffer;
|
|
2134
|
+
requestDeserialize: (bytes: Buffer) => UpdateRoleRequest;
|
|
2135
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2136
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2137
|
+
};
|
|
2138
|
+
DeleteRole: {
|
|
2139
|
+
path: string;
|
|
2140
|
+
requestStream: boolean;
|
|
2141
|
+
responseStream: boolean;
|
|
2142
|
+
requestSerialize: (message: IdRequest) => Buffer;
|
|
2143
|
+
requestDeserialize: (bytes: Buffer) => IdRequest;
|
|
2144
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2145
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2146
|
+
};
|
|
2147
|
+
CreatePermission: {
|
|
2148
|
+
path: string;
|
|
2149
|
+
requestStream: boolean;
|
|
2150
|
+
responseStream: boolean;
|
|
2151
|
+
requestSerialize: (message: CreatePermissionRequest) => Buffer;
|
|
2152
|
+
requestDeserialize: (bytes: Buffer) => CreatePermissionRequest;
|
|
2153
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2154
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2155
|
+
};
|
|
2156
|
+
UpdatePermission: {
|
|
2157
|
+
path: string;
|
|
2158
|
+
requestStream: boolean;
|
|
2159
|
+
responseStream: boolean;
|
|
2160
|
+
requestSerialize: (message: UpdatePermissionRequest) => Buffer;
|
|
2161
|
+
requestDeserialize: (bytes: Buffer) => UpdatePermissionRequest;
|
|
2162
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2163
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2164
|
+
};
|
|
2165
|
+
GetPermissions: {
|
|
2166
|
+
path: string;
|
|
2167
|
+
requestStream: boolean;
|
|
2168
|
+
responseStream: boolean;
|
|
2169
|
+
requestSerialize: (message: GetPermissionRequest) => Buffer;
|
|
2170
|
+
requestDeserialize: (bytes: Buffer) => GetPermissionRequest;
|
|
2171
|
+
responseSerialize: (message: PermissionsResponse) => Buffer;
|
|
2172
|
+
responseDeserialize: (bytes: Buffer) => PermissionsResponse;
|
|
2173
|
+
};
|
|
2174
|
+
AdminsByRoleId: {
|
|
2175
|
+
path: string;
|
|
2176
|
+
requestStream: boolean;
|
|
2177
|
+
responseStream: boolean;
|
|
2178
|
+
requestSerialize: (message: IdRequest) => Buffer;
|
|
2179
|
+
requestDeserialize: (bytes: Buffer) => IdRequest;
|
|
2180
|
+
responseSerialize: (message: AdminsResponse) => Buffer;
|
|
2181
|
+
responseDeserialize: (bytes: Buffer) => AdminsResponse;
|
|
2182
|
+
};
|
|
2183
|
+
DeactivateAdmin: {
|
|
2184
|
+
path: string;
|
|
2185
|
+
requestStream: boolean;
|
|
2186
|
+
responseStream: boolean;
|
|
2187
|
+
requestSerialize: (message: IdRequest) => Buffer;
|
|
2188
|
+
requestDeserialize: (bytes: Buffer) => IdRequest;
|
|
2189
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2190
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2191
|
+
};
|
|
2192
|
+
ActivateAdmin: {
|
|
2193
|
+
path: string;
|
|
2194
|
+
requestStream: boolean;
|
|
2195
|
+
responseStream: boolean;
|
|
2196
|
+
requestSerialize: (message: IdRequest) => Buffer;
|
|
2197
|
+
requestDeserialize: (bytes: Buffer) => IdRequest;
|
|
2198
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2199
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2200
|
+
};
|
|
2201
|
+
ChangeAdminRole: {
|
|
2202
|
+
path: string;
|
|
2203
|
+
requestStream: boolean;
|
|
2204
|
+
responseStream: boolean;
|
|
2205
|
+
requestSerialize: (message: ChangeAdminRoleRequest) => Buffer;
|
|
2206
|
+
requestDeserialize: (bytes: Buffer) => ChangeAdminRoleRequest;
|
|
2207
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2208
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2209
|
+
};
|
|
2210
|
+
CreateAuditLog: {
|
|
2211
|
+
path: string;
|
|
2212
|
+
requestStream: boolean;
|
|
2213
|
+
responseStream: boolean;
|
|
2214
|
+
requestSerialize: (message: AuditLogRequest) => Buffer;
|
|
2215
|
+
requestDeserialize: (bytes: Buffer) => AuditLogRequest;
|
|
2216
|
+
responseSerialize: (message: DefaultResponse) => Buffer;
|
|
2217
|
+
responseDeserialize: (bytes: Buffer) => DefaultResponse;
|
|
2218
|
+
};
|
|
2219
|
+
GetAuditLogs: {
|
|
2220
|
+
path: string;
|
|
2221
|
+
requestStream: boolean;
|
|
2222
|
+
responseStream: boolean;
|
|
2223
|
+
requestSerialize: (message: GetAuditLogsRequest) => Buffer;
|
|
2224
|
+
requestDeserialize: (bytes: Buffer) => GetAuditLogsRequest;
|
|
2225
|
+
responseSerialize: (message: MultipleAuditLogResponse) => Buffer;
|
|
2226
|
+
responseDeserialize: (bytes: Buffer) => MultipleAuditLogResponse;
|
|
2227
|
+
};
|
|
2228
|
+
CreateMfb: {
|
|
2229
|
+
path: string;
|
|
2230
|
+
requestStream: boolean;
|
|
2231
|
+
responseStream: boolean;
|
|
2232
|
+
requestSerialize: (message: CreateMfbRequest) => Buffer;
|
|
2233
|
+
requestDeserialize: (bytes: Buffer) => CreateMfbRequest;
|
|
2234
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2235
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2236
|
+
};
|
|
2237
|
+
GetMfb: {
|
|
2238
|
+
path: string;
|
|
2239
|
+
requestStream: boolean;
|
|
2240
|
+
responseStream: boolean;
|
|
2241
|
+
requestSerialize: (message: GetMfbRequest) => Buffer;
|
|
2242
|
+
requestDeserialize: (bytes: Buffer) => GetMfbRequest;
|
|
2243
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2244
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2245
|
+
};
|
|
2246
|
+
GetMfbs: {
|
|
2247
|
+
path: string;
|
|
2248
|
+
requestStream: boolean;
|
|
2249
|
+
responseStream: boolean;
|
|
2250
|
+
requestSerialize: (message: GetMfbsRequest) => Buffer;
|
|
2251
|
+
requestDeserialize: (bytes: Buffer) => GetMfbsRequest;
|
|
2252
|
+
responseSerialize: (message: MfbsResponse) => Buffer;
|
|
2253
|
+
responseDeserialize: (bytes: Buffer) => MfbsResponse;
|
|
2254
|
+
};
|
|
2255
|
+
UpdateMfb: {
|
|
2256
|
+
path: string;
|
|
2257
|
+
requestStream: boolean;
|
|
2258
|
+
responseStream: boolean;
|
|
2259
|
+
requestSerialize: (message: UpdateMfbRequest) => Buffer;
|
|
2260
|
+
requestDeserialize: (bytes: Buffer) => UpdateMfbRequest;
|
|
2261
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2262
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2263
|
+
};
|
|
2264
|
+
UpdateMfbStatus: {
|
|
2265
|
+
path: string;
|
|
2266
|
+
requestStream: boolean;
|
|
2267
|
+
responseStream: boolean;
|
|
2268
|
+
requestSerialize: (message: UpdateMfbStatusRequest) => Buffer;
|
|
2269
|
+
requestDeserialize: (bytes: Buffer) => UpdateMfbStatusRequest;
|
|
2270
|
+
responseSerialize: (message: MfbResponse) => Buffer;
|
|
2271
|
+
responseDeserialize: (bytes: Buffer) => MfbResponse;
|
|
2272
|
+
};
|
|
2273
|
+
GetMfbAdmins: {
|
|
2274
|
+
path: string;
|
|
2275
|
+
requestStream: boolean;
|
|
2276
|
+
responseStream: boolean;
|
|
2277
|
+
requestSerialize: (message: GetMfbRequest) => Buffer;
|
|
2278
|
+
requestDeserialize: (bytes: Buffer) => GetMfbRequest;
|
|
2279
|
+
responseSerialize: (message: AdminsResponse) => Buffer;
|
|
2280
|
+
responseDeserialize: (bytes: Buffer) => AdminsResponse;
|
|
2281
|
+
};
|
|
2282
|
+
};
|
|
2283
|
+
[method: string]: grpc_1.UntypedHandleCall;
|
|
2284
|
+
abstract InviteAdmin(call: grpc_1.ServerUnaryCall<InviteAdminRequest, AdminResponse>, callback: grpc_1.sendUnaryData<AdminResponse>): void;
|
|
2285
|
+
abstract ReInviteAdmin(call: grpc_1.ServerUnaryCall<ReInviteAdminRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2286
|
+
abstract ValidateInvitation(call: grpc_1.ServerUnaryCall<ValidationRequest, AdminResponse>, callback: grpc_1.sendUnaryData<AdminResponse>): void;
|
|
2287
|
+
abstract AcceptInvitation(call: grpc_1.ServerUnaryCall<AcceptInvitationRequest, AdminResponse>, callback: grpc_1.sendUnaryData<AdminResponse>): void;
|
|
2288
|
+
abstract Login(call: grpc_1.ServerUnaryCall<LoginRequest, LoginResponse>, callback: grpc_1.sendUnaryData<LoginResponse>): void;
|
|
2289
|
+
abstract ValidateToken(call: grpc_1.ServerUnaryCall<TokenRequest, AdminResponse>, callback: grpc_1.sendUnaryData<AdminResponse>): void;
|
|
2290
|
+
abstract GetAdmins(call: grpc_1.ServerUnaryCall<GetAdminsRequest, AdminsResponse>, callback: grpc_1.sendUnaryData<AdminsResponse>): void;
|
|
2291
|
+
abstract RequestPasswordReset(call: grpc_1.ServerUnaryCall<EmailRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2292
|
+
abstract ResetPassword(call: grpc_1.ServerUnaryCall<ResetPasswordRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2293
|
+
abstract CreateRole(call: grpc_1.ServerUnaryCall<CreateRoleRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2294
|
+
abstract GetRoles(call: grpc_1.ServerUnaryCall<EmptyRequest, RolesResponse>, callback: grpc_1.sendUnaryData<RolesResponse>): void;
|
|
2295
|
+
abstract GetRole(call: grpc_1.ServerUnaryCall<IdRequest, GetRoleResponse>, callback: grpc_1.sendUnaryData<GetRoleResponse>): void;
|
|
2296
|
+
abstract UpdateRole(call: grpc_1.ServerUnaryCall<UpdateRoleRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2297
|
+
abstract DeleteRole(call: grpc_1.ServerUnaryCall<IdRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2298
|
+
abstract CreatePermission(call: grpc_1.ServerUnaryCall<CreatePermissionRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2299
|
+
abstract UpdatePermission(call: grpc_1.ServerUnaryCall<UpdatePermissionRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2300
|
+
abstract GetPermissions(call: grpc_1.ServerUnaryCall<GetPermissionRequest, PermissionsResponse>, callback: grpc_1.sendUnaryData<PermissionsResponse>): void;
|
|
2301
|
+
abstract AdminsByRoleId(call: grpc_1.ServerUnaryCall<IdRequest, AdminsResponse>, callback: grpc_1.sendUnaryData<AdminsResponse>): void;
|
|
2302
|
+
abstract DeactivateAdmin(call: grpc_1.ServerUnaryCall<IdRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2303
|
+
abstract ActivateAdmin(call: grpc_1.ServerUnaryCall<IdRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2304
|
+
abstract ChangeAdminRole(call: grpc_1.ServerUnaryCall<ChangeAdminRoleRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2305
|
+
abstract CreateAuditLog(call: grpc_1.ServerUnaryCall<AuditLogRequest, DefaultResponse>, callback: grpc_1.sendUnaryData<DefaultResponse>): void;
|
|
2306
|
+
abstract GetAuditLogs(call: grpc_1.ServerUnaryCall<GetAuditLogsRequest, MultipleAuditLogResponse>, callback: grpc_1.sendUnaryData<MultipleAuditLogResponse>): void;
|
|
2307
|
+
abstract CreateMfb(call: grpc_1.ServerUnaryCall<CreateMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2308
|
+
abstract GetMfb(call: grpc_1.ServerUnaryCall<GetMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2309
|
+
abstract GetMfbs(call: grpc_1.ServerUnaryCall<GetMfbsRequest, MfbsResponse>, callback: grpc_1.sendUnaryData<MfbsResponse>): void;
|
|
2310
|
+
abstract UpdateMfb(call: grpc_1.ServerUnaryCall<UpdateMfbRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2311
|
+
abstract UpdateMfbStatus(call: grpc_1.ServerUnaryCall<UpdateMfbStatusRequest, MfbResponse>, callback: grpc_1.sendUnaryData<MfbResponse>): void;
|
|
2312
|
+
abstract GetMfbAdmins(call: grpc_1.ServerUnaryCall<GetMfbRequest, AdminsResponse>, callback: grpc_1.sendUnaryData<AdminsResponse>): void;
|
|
2313
|
+
}
|
|
2314
|
+
const AdminServiceClient_base: grpc_1.ServiceClientConstructor;
|
|
2315
|
+
export class AdminServiceClient extends AdminServiceClient_base {
|
|
2316
|
+
constructor(address: string, credentials: grpc_1.ChannelCredentials, options?: Partial<grpc_1.ChannelOptions>);
|
|
2317
|
+
InviteAdmin: GrpcPromiseServiceInterface<InviteAdminRequest, AdminResponse>;
|
|
2318
|
+
ReInviteAdmin: GrpcPromiseServiceInterface<ReInviteAdminRequest, DefaultResponse>;
|
|
2319
|
+
ValidateInvitation: GrpcPromiseServiceInterface<ValidationRequest, AdminResponse>;
|
|
2320
|
+
AcceptInvitation: GrpcPromiseServiceInterface<AcceptInvitationRequest, AdminResponse>;
|
|
2321
|
+
Login: GrpcPromiseServiceInterface<LoginRequest, LoginResponse>;
|
|
2322
|
+
ValidateToken: GrpcPromiseServiceInterface<TokenRequest, AdminResponse>;
|
|
2323
|
+
GetAdmins: GrpcPromiseServiceInterface<GetAdminsRequest, AdminsResponse>;
|
|
2324
|
+
RequestPasswordReset: GrpcPromiseServiceInterface<EmailRequest, DefaultResponse>;
|
|
2325
|
+
ResetPassword: GrpcPromiseServiceInterface<ResetPasswordRequest, DefaultResponse>;
|
|
2326
|
+
CreateRole: GrpcPromiseServiceInterface<CreateRoleRequest, DefaultResponse>;
|
|
2327
|
+
GetRoles: GrpcPromiseServiceInterface<EmptyRequest, RolesResponse>;
|
|
2328
|
+
GetRole: GrpcPromiseServiceInterface<IdRequest, GetRoleResponse>;
|
|
2329
|
+
UpdateRole: GrpcPromiseServiceInterface<UpdateRoleRequest, DefaultResponse>;
|
|
2330
|
+
DeleteRole: GrpcPromiseServiceInterface<IdRequest, DefaultResponse>;
|
|
2331
|
+
CreatePermission: GrpcPromiseServiceInterface<CreatePermissionRequest, DefaultResponse>;
|
|
2332
|
+
UpdatePermission: GrpcPromiseServiceInterface<UpdatePermissionRequest, DefaultResponse>;
|
|
2333
|
+
GetPermissions: GrpcPromiseServiceInterface<GetPermissionRequest, PermissionsResponse>;
|
|
2334
|
+
AdminsByRoleId: GrpcPromiseServiceInterface<IdRequest, AdminsResponse>;
|
|
2335
|
+
DeactivateAdmin: GrpcPromiseServiceInterface<IdRequest, DefaultResponse>;
|
|
2336
|
+
ActivateAdmin: GrpcPromiseServiceInterface<IdRequest, DefaultResponse>;
|
|
2337
|
+
ChangeAdminRole: GrpcPromiseServiceInterface<ChangeAdminRoleRequest, DefaultResponse>;
|
|
2338
|
+
CreateAuditLog: GrpcPromiseServiceInterface<AuditLogRequest, DefaultResponse>;
|
|
2339
|
+
GetAuditLogs: GrpcPromiseServiceInterface<GetAuditLogsRequest, MultipleAuditLogResponse>;
|
|
2340
|
+
CreateMfb: GrpcPromiseServiceInterface<CreateMfbRequest, MfbResponse>;
|
|
2341
|
+
GetMfb: GrpcPromiseServiceInterface<GetMfbRequest, MfbResponse>;
|
|
2342
|
+
GetMfbs: GrpcPromiseServiceInterface<GetMfbsRequest, MfbsResponse>;
|
|
2343
|
+
UpdateMfb: GrpcPromiseServiceInterface<UpdateMfbRequest, MfbResponse>;
|
|
2344
|
+
UpdateMfbStatus: GrpcPromiseServiceInterface<UpdateMfbStatusRequest, MfbResponse>;
|
|
2345
|
+
GetMfbAdmins: GrpcPromiseServiceInterface<GetMfbRequest, AdminsResponse>;
|
|
2346
|
+
}
|
|
2347
|
+
export {};
|
|
2348
|
+
}
|