jr-common-micro 1.1.133 → 1.1.135
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/dist/proto/micro/v1/education/education_messages_nest.d.ts +2 -0
- package/dist/proto/micro/v1/education/education_messages_pb.d.ts +2 -0
- package/dist/proto/micro/v1/education/education_messages_pb.js +4 -0
- package/dist/proto/micro/v1/mining/mining_messages_nest.d.ts +172 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.d.ts +236 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.js +473 -2
- package/dist/proto/micro/v1/mining/services_connect.d.ts +31 -1
- package/dist/proto/micro/v1/mining/services_connect.js +30 -0
- package/dist/proto/micro/v1/mining/services_nest.d.ts +11 -1
- package/dist/proto/micro/v1/mining/services_nest.js +5 -0
- package/package.json +1 -1
- package/proto/micro/v1/education/education_messages.proto +5 -0
- package/proto/micro/v1/mining/mining_messages.proto +178 -0
- package/proto/micro/v1/mining/services.proto +9 -0
|
@@ -493,6 +493,8 @@ export interface UserRefAdminDto {
|
|
|
493
493
|
status: string;
|
|
494
494
|
created_at: string;
|
|
495
495
|
updated_at?: string | undefined;
|
|
496
|
+
api_refusals: number;
|
|
497
|
+
next_api_check_at: string;
|
|
496
498
|
}
|
|
497
499
|
export interface UserRefAdminListRequest {
|
|
498
500
|
page?: number | undefined;
|
|
@@ -878,6 +878,8 @@ export declare class UserRefAdminDto extends Message<UserRefAdminDto> {
|
|
|
878
878
|
status: string;
|
|
879
879
|
createdAt: string;
|
|
880
880
|
updatedAt?: string;
|
|
881
|
+
apiRefusals: number;
|
|
882
|
+
nextApiCheckAt: string;
|
|
881
883
|
constructor(data?: PartialMessage<UserRefAdminDto>);
|
|
882
884
|
static readonly runtime: typeof proto3;
|
|
883
885
|
static readonly typeName = "micro.v1.education.UserRefAdminDto";
|
|
@@ -1849,6 +1849,8 @@ class UserRefAdminDto extends protobuf_1.Message {
|
|
|
1849
1849
|
status = "";
|
|
1850
1850
|
createdAt = "";
|
|
1851
1851
|
updatedAt;
|
|
1852
|
+
apiRefusals = 0;
|
|
1853
|
+
nextApiCheckAt = "";
|
|
1852
1854
|
constructor(data) {
|
|
1853
1855
|
super();
|
|
1854
1856
|
protobuf_1.proto3.util.initPartial(data, this);
|
|
@@ -1863,6 +1865,8 @@ class UserRefAdminDto extends protobuf_1.Message {
|
|
|
1863
1865
|
{ no: 5, name: "status", kind: "scalar", T: 9 },
|
|
1864
1866
|
{ no: 6, name: "created_at", kind: "scalar", T: 9 },
|
|
1865
1867
|
{ no: 7, name: "updated_at", kind: "scalar", T: 9, opt: true },
|
|
1868
|
+
{ no: 8, name: "api_refusals", kind: "scalar", T: 5 },
|
|
1869
|
+
{ no: 9, name: "next_api_check_at", kind: "scalar", T: 9 },
|
|
1866
1870
|
]);
|
|
1867
1871
|
static fromBinary(bytes, options) {
|
|
1868
1872
|
return new UserRefAdminDto().fromBinary(bytes, options);
|
|
@@ -95,6 +95,26 @@ export interface TaskInfo {
|
|
|
95
95
|
reopened: boolean;
|
|
96
96
|
requirement: string;
|
|
97
97
|
last_done_at: string;
|
|
98
|
+
template: string;
|
|
99
|
+
description: string;
|
|
100
|
+
icon: string;
|
|
101
|
+
icon_image: string;
|
|
102
|
+
url: string;
|
|
103
|
+
target: string;
|
|
104
|
+
button_text: string;
|
|
105
|
+
blocks: TaskBlock[];
|
|
106
|
+
effect_days: number;
|
|
107
|
+
ends_at: string;
|
|
108
|
+
test: boolean;
|
|
109
|
+
}
|
|
110
|
+
export interface TaskBlock {
|
|
111
|
+
type: string;
|
|
112
|
+
title: string;
|
|
113
|
+
body: string;
|
|
114
|
+
button_text: string;
|
|
115
|
+
button_url: string;
|
|
116
|
+
button_target: string;
|
|
117
|
+
items: string[];
|
|
98
118
|
}
|
|
99
119
|
export interface TasksSummary {
|
|
100
120
|
done: number;
|
|
@@ -360,14 +380,153 @@ export interface AdminTaskItem {
|
|
|
360
380
|
titles: {
|
|
361
381
|
[key: string]: string;
|
|
362
382
|
};
|
|
383
|
+
completers: number;
|
|
384
|
+
template: string;
|
|
385
|
+
state: string;
|
|
386
|
+
descriptions: {
|
|
387
|
+
[key: string]: string;
|
|
388
|
+
};
|
|
389
|
+
button_texts: {
|
|
390
|
+
[key: string]: string;
|
|
391
|
+
};
|
|
392
|
+
icon: string;
|
|
393
|
+
icon_image: string;
|
|
394
|
+
url: string;
|
|
395
|
+
target: string;
|
|
396
|
+
blocks: AdminTaskBlock[];
|
|
397
|
+
effect_days: number;
|
|
398
|
+
starts_at: string;
|
|
399
|
+
ends_at: string;
|
|
400
|
+
published_at: string;
|
|
363
401
|
}
|
|
364
402
|
export interface AdminTaskItem_TitlesEntry {
|
|
365
403
|
key: string;
|
|
366
404
|
value: string;
|
|
367
405
|
}
|
|
406
|
+
export interface AdminTaskItem_DescriptionsEntry {
|
|
407
|
+
key: string;
|
|
408
|
+
value: string;
|
|
409
|
+
}
|
|
410
|
+
export interface AdminTaskItem_ButtonTextsEntry {
|
|
411
|
+
key: string;
|
|
412
|
+
value: string;
|
|
413
|
+
}
|
|
414
|
+
export interface LocalizedText {
|
|
415
|
+
values: {
|
|
416
|
+
[key: string]: string;
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
export interface LocalizedText_ValuesEntry {
|
|
420
|
+
key: string;
|
|
421
|
+
value: string;
|
|
422
|
+
}
|
|
423
|
+
export interface AdminTaskBlock {
|
|
424
|
+
type: string;
|
|
425
|
+
title: {
|
|
426
|
+
[key: string]: string;
|
|
427
|
+
};
|
|
428
|
+
body: {
|
|
429
|
+
[key: string]: string;
|
|
430
|
+
};
|
|
431
|
+
button_text: {
|
|
432
|
+
[key: string]: string;
|
|
433
|
+
};
|
|
434
|
+
button_url: string;
|
|
435
|
+
button_target: string;
|
|
436
|
+
items: LocalizedText[];
|
|
437
|
+
}
|
|
438
|
+
export interface AdminTaskBlock_TitleEntry {
|
|
439
|
+
key: string;
|
|
440
|
+
value: string;
|
|
441
|
+
}
|
|
442
|
+
export interface AdminTaskBlock_BodyEntry {
|
|
443
|
+
key: string;
|
|
444
|
+
value: string;
|
|
445
|
+
}
|
|
446
|
+
export interface AdminTaskBlock_ButtonTextEntry {
|
|
447
|
+
key: string;
|
|
448
|
+
value: string;
|
|
449
|
+
}
|
|
368
450
|
export interface AdminTasksResponse {
|
|
369
451
|
status: ResponseStatus | undefined;
|
|
370
452
|
data: AdminTaskItem[];
|
|
453
|
+
saved_id: string;
|
|
454
|
+
}
|
|
455
|
+
export interface AdminSaveTaskRequest {
|
|
456
|
+
id: string;
|
|
457
|
+
template: string;
|
|
458
|
+
kind: string;
|
|
459
|
+
multiplier: string;
|
|
460
|
+
titles: {
|
|
461
|
+
[key: string]: string;
|
|
462
|
+
};
|
|
463
|
+
descriptions: {
|
|
464
|
+
[key: string]: string;
|
|
465
|
+
};
|
|
466
|
+
button_texts: {
|
|
467
|
+
[key: string]: string;
|
|
468
|
+
};
|
|
469
|
+
icon: string;
|
|
470
|
+
icon_image: string;
|
|
471
|
+
url: string;
|
|
472
|
+
target: string;
|
|
473
|
+
blocks: AdminTaskBlock[];
|
|
474
|
+
effect_days: number;
|
|
475
|
+
starts_at: string;
|
|
476
|
+
ends_at: string;
|
|
477
|
+
}
|
|
478
|
+
export interface AdminSaveTaskRequest_TitlesEntry {
|
|
479
|
+
key: string;
|
|
480
|
+
value: string;
|
|
481
|
+
}
|
|
482
|
+
export interface AdminSaveTaskRequest_DescriptionsEntry {
|
|
483
|
+
key: string;
|
|
484
|
+
value: string;
|
|
485
|
+
}
|
|
486
|
+
export interface AdminSaveTaskRequest_ButtonTextsEntry {
|
|
487
|
+
key: string;
|
|
488
|
+
value: string;
|
|
489
|
+
}
|
|
490
|
+
export interface AdminTaskActionRequest {
|
|
491
|
+
id: string;
|
|
492
|
+
action: string;
|
|
493
|
+
}
|
|
494
|
+
export interface AdminTranslateItem {
|
|
495
|
+
key: string;
|
|
496
|
+
tr: string;
|
|
497
|
+
en: string;
|
|
498
|
+
max: number;
|
|
499
|
+
paragraph: boolean;
|
|
500
|
+
}
|
|
501
|
+
export interface AdminTranslateRequest {
|
|
502
|
+
items: AdminTranslateItem[];
|
|
503
|
+
}
|
|
504
|
+
export interface AdminTranslatedItem {
|
|
505
|
+
key: string;
|
|
506
|
+
values: {
|
|
507
|
+
[key: string]: string;
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
export interface AdminTranslatedItem_ValuesEntry {
|
|
511
|
+
key: string;
|
|
512
|
+
value: string;
|
|
513
|
+
}
|
|
514
|
+
export interface AdminTranslateResponse {
|
|
515
|
+
status: ResponseStatus | undefined;
|
|
516
|
+
data: AdminTranslatedItem[];
|
|
517
|
+
}
|
|
518
|
+
export interface AdminUploadTaskIconRequest {
|
|
519
|
+
data: Buffer;
|
|
520
|
+
mimetype: string;
|
|
521
|
+
}
|
|
522
|
+
export interface AdminUploadTaskIconResponse {
|
|
523
|
+
status: ResponseStatus | undefined;
|
|
524
|
+
id: string;
|
|
525
|
+
}
|
|
526
|
+
export interface TaskIconResponse {
|
|
527
|
+
status: ResponseStatus | undefined;
|
|
528
|
+
data: Buffer;
|
|
529
|
+
mimetype: string;
|
|
371
530
|
}
|
|
372
531
|
export interface AdminUsersRequest {
|
|
373
532
|
query: string;
|
|
@@ -430,6 +589,19 @@ export interface AdminUserResponse {
|
|
|
430
589
|
tasks: TaskInfo[];
|
|
431
590
|
sessions: SessionInfo[];
|
|
432
591
|
team_seats: AdminTeamSeat[];
|
|
592
|
+
exchanges: AdminExchangeFacts[];
|
|
593
|
+
}
|
|
594
|
+
export interface AdminExchangeFacts {
|
|
595
|
+
exchange: string;
|
|
596
|
+
uid: string;
|
|
597
|
+
found: boolean;
|
|
598
|
+
kyc_level: number;
|
|
599
|
+
deposit_usd: string;
|
|
600
|
+
trade_usd: string;
|
|
601
|
+
fetched_at: string;
|
|
602
|
+
kyc_required: number;
|
|
603
|
+
deposit_required: string;
|
|
604
|
+
trade_required: string;
|
|
433
605
|
}
|
|
434
606
|
export interface AdminTeamSeat {
|
|
435
607
|
owner_id: string;
|
|
@@ -152,6 +152,17 @@ export declare class TaskInfo extends Message<TaskInfo> {
|
|
|
152
152
|
reopened: boolean;
|
|
153
153
|
requirement: string;
|
|
154
154
|
lastDoneAt: string;
|
|
155
|
+
template: string;
|
|
156
|
+
description: string;
|
|
157
|
+
icon: string;
|
|
158
|
+
iconImage: string;
|
|
159
|
+
url: string;
|
|
160
|
+
target: string;
|
|
161
|
+
buttonText: string;
|
|
162
|
+
blocks: TaskBlock[];
|
|
163
|
+
effectDays: number;
|
|
164
|
+
endsAt: string;
|
|
165
|
+
test: boolean;
|
|
155
166
|
constructor(data?: PartialMessage<TaskInfo>);
|
|
156
167
|
static readonly runtime: typeof proto3;
|
|
157
168
|
static readonly typeName = "micro.v1.mining.TaskInfo";
|
|
@@ -161,6 +172,23 @@ export declare class TaskInfo extends Message<TaskInfo> {
|
|
|
161
172
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TaskInfo;
|
|
162
173
|
static equals(a: TaskInfo | PlainMessage<TaskInfo> | undefined, b: TaskInfo | PlainMessage<TaskInfo> | undefined): boolean;
|
|
163
174
|
}
|
|
175
|
+
export declare class TaskBlock extends Message<TaskBlock> {
|
|
176
|
+
type: string;
|
|
177
|
+
title: string;
|
|
178
|
+
body: string;
|
|
179
|
+
buttonText: string;
|
|
180
|
+
buttonUrl: string;
|
|
181
|
+
buttonTarget: string;
|
|
182
|
+
items: string[];
|
|
183
|
+
constructor(data?: PartialMessage<TaskBlock>);
|
|
184
|
+
static readonly runtime: typeof proto3;
|
|
185
|
+
static readonly typeName = "micro.v1.mining.TaskBlock";
|
|
186
|
+
static readonly fields: FieldList;
|
|
187
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TaskBlock;
|
|
188
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TaskBlock;
|
|
189
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TaskBlock;
|
|
190
|
+
static equals(a: TaskBlock | PlainMessage<TaskBlock> | undefined, b: TaskBlock | PlainMessage<TaskBlock> | undefined): boolean;
|
|
191
|
+
}
|
|
164
192
|
export declare class TasksSummary extends Message<TasksSummary> {
|
|
165
193
|
done: number;
|
|
166
194
|
total: number;
|
|
@@ -729,6 +757,24 @@ export declare class AdminTaskItem extends Message<AdminTaskItem> {
|
|
|
729
757
|
titles: {
|
|
730
758
|
[key: string]: string;
|
|
731
759
|
};
|
|
760
|
+
completers: number;
|
|
761
|
+
template: string;
|
|
762
|
+
state: string;
|
|
763
|
+
descriptions: {
|
|
764
|
+
[key: string]: string;
|
|
765
|
+
};
|
|
766
|
+
buttonTexts: {
|
|
767
|
+
[key: string]: string;
|
|
768
|
+
};
|
|
769
|
+
icon: string;
|
|
770
|
+
iconImage: string;
|
|
771
|
+
url: string;
|
|
772
|
+
target: string;
|
|
773
|
+
blocks: AdminTaskBlock[];
|
|
774
|
+
effectDays: number;
|
|
775
|
+
startsAt: string;
|
|
776
|
+
endsAt: string;
|
|
777
|
+
publishedAt: string;
|
|
732
778
|
constructor(data?: PartialMessage<AdminTaskItem>);
|
|
733
779
|
static readonly runtime: typeof proto3;
|
|
734
780
|
static readonly typeName = "micro.v1.mining.AdminTaskItem";
|
|
@@ -738,9 +784,46 @@ export declare class AdminTaskItem extends Message<AdminTaskItem> {
|
|
|
738
784
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTaskItem;
|
|
739
785
|
static equals(a: AdminTaskItem | PlainMessage<AdminTaskItem> | undefined, b: AdminTaskItem | PlainMessage<AdminTaskItem> | undefined): boolean;
|
|
740
786
|
}
|
|
787
|
+
export declare class LocalizedText extends Message<LocalizedText> {
|
|
788
|
+
values: {
|
|
789
|
+
[key: string]: string;
|
|
790
|
+
};
|
|
791
|
+
constructor(data?: PartialMessage<LocalizedText>);
|
|
792
|
+
static readonly runtime: typeof proto3;
|
|
793
|
+
static readonly typeName = "micro.v1.mining.LocalizedText";
|
|
794
|
+
static readonly fields: FieldList;
|
|
795
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LocalizedText;
|
|
796
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LocalizedText;
|
|
797
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocalizedText;
|
|
798
|
+
static equals(a: LocalizedText | PlainMessage<LocalizedText> | undefined, b: LocalizedText | PlainMessage<LocalizedText> | undefined): boolean;
|
|
799
|
+
}
|
|
800
|
+
export declare class AdminTaskBlock extends Message<AdminTaskBlock> {
|
|
801
|
+
type: string;
|
|
802
|
+
title: {
|
|
803
|
+
[key: string]: string;
|
|
804
|
+
};
|
|
805
|
+
body: {
|
|
806
|
+
[key: string]: string;
|
|
807
|
+
};
|
|
808
|
+
buttonText: {
|
|
809
|
+
[key: string]: string;
|
|
810
|
+
};
|
|
811
|
+
buttonUrl: string;
|
|
812
|
+
buttonTarget: string;
|
|
813
|
+
items: LocalizedText[];
|
|
814
|
+
constructor(data?: PartialMessage<AdminTaskBlock>);
|
|
815
|
+
static readonly runtime: typeof proto3;
|
|
816
|
+
static readonly typeName = "micro.v1.mining.AdminTaskBlock";
|
|
817
|
+
static readonly fields: FieldList;
|
|
818
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminTaskBlock;
|
|
819
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminTaskBlock;
|
|
820
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTaskBlock;
|
|
821
|
+
static equals(a: AdminTaskBlock | PlainMessage<AdminTaskBlock> | undefined, b: AdminTaskBlock | PlainMessage<AdminTaskBlock> | undefined): boolean;
|
|
822
|
+
}
|
|
741
823
|
export declare class AdminTasksResponse extends Message<AdminTasksResponse> {
|
|
742
824
|
status?: ResponseStatus;
|
|
743
825
|
data: AdminTaskItem[];
|
|
826
|
+
savedId: string;
|
|
744
827
|
constructor(data?: PartialMessage<AdminTasksResponse>);
|
|
745
828
|
static readonly runtime: typeof proto3;
|
|
746
829
|
static readonly typeName = "micro.v1.mining.AdminTasksResponse";
|
|
@@ -750,6 +833,138 @@ export declare class AdminTasksResponse extends Message<AdminTasksResponse> {
|
|
|
750
833
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTasksResponse;
|
|
751
834
|
static equals(a: AdminTasksResponse | PlainMessage<AdminTasksResponse> | undefined, b: AdminTasksResponse | PlainMessage<AdminTasksResponse> | undefined): boolean;
|
|
752
835
|
}
|
|
836
|
+
export declare class AdminSaveTaskRequest extends Message<AdminSaveTaskRequest> {
|
|
837
|
+
id: string;
|
|
838
|
+
template: string;
|
|
839
|
+
kind: string;
|
|
840
|
+
multiplier: string;
|
|
841
|
+
titles: {
|
|
842
|
+
[key: string]: string;
|
|
843
|
+
};
|
|
844
|
+
descriptions: {
|
|
845
|
+
[key: string]: string;
|
|
846
|
+
};
|
|
847
|
+
buttonTexts: {
|
|
848
|
+
[key: string]: string;
|
|
849
|
+
};
|
|
850
|
+
icon: string;
|
|
851
|
+
iconImage: string;
|
|
852
|
+
url: string;
|
|
853
|
+
target: string;
|
|
854
|
+
blocks: AdminTaskBlock[];
|
|
855
|
+
effectDays: number;
|
|
856
|
+
startsAt: string;
|
|
857
|
+
endsAt: string;
|
|
858
|
+
constructor(data?: PartialMessage<AdminSaveTaskRequest>);
|
|
859
|
+
static readonly runtime: typeof proto3;
|
|
860
|
+
static readonly typeName = "micro.v1.mining.AdminSaveTaskRequest";
|
|
861
|
+
static readonly fields: FieldList;
|
|
862
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminSaveTaskRequest;
|
|
863
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminSaveTaskRequest;
|
|
864
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminSaveTaskRequest;
|
|
865
|
+
static equals(a: AdminSaveTaskRequest | PlainMessage<AdminSaveTaskRequest> | undefined, b: AdminSaveTaskRequest | PlainMessage<AdminSaveTaskRequest> | undefined): boolean;
|
|
866
|
+
}
|
|
867
|
+
export declare class AdminTaskActionRequest extends Message<AdminTaskActionRequest> {
|
|
868
|
+
id: string;
|
|
869
|
+
action: string;
|
|
870
|
+
constructor(data?: PartialMessage<AdminTaskActionRequest>);
|
|
871
|
+
static readonly runtime: typeof proto3;
|
|
872
|
+
static readonly typeName = "micro.v1.mining.AdminTaskActionRequest";
|
|
873
|
+
static readonly fields: FieldList;
|
|
874
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminTaskActionRequest;
|
|
875
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminTaskActionRequest;
|
|
876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTaskActionRequest;
|
|
877
|
+
static equals(a: AdminTaskActionRequest | PlainMessage<AdminTaskActionRequest> | undefined, b: AdminTaskActionRequest | PlainMessage<AdminTaskActionRequest> | undefined): boolean;
|
|
878
|
+
}
|
|
879
|
+
export declare class AdminTranslateItem extends Message<AdminTranslateItem> {
|
|
880
|
+
key: string;
|
|
881
|
+
tr: string;
|
|
882
|
+
en: string;
|
|
883
|
+
max: number;
|
|
884
|
+
paragraph: boolean;
|
|
885
|
+
constructor(data?: PartialMessage<AdminTranslateItem>);
|
|
886
|
+
static readonly runtime: typeof proto3;
|
|
887
|
+
static readonly typeName = "micro.v1.mining.AdminTranslateItem";
|
|
888
|
+
static readonly fields: FieldList;
|
|
889
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminTranslateItem;
|
|
890
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminTranslateItem;
|
|
891
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTranslateItem;
|
|
892
|
+
static equals(a: AdminTranslateItem | PlainMessage<AdminTranslateItem> | undefined, b: AdminTranslateItem | PlainMessage<AdminTranslateItem> | undefined): boolean;
|
|
893
|
+
}
|
|
894
|
+
export declare class AdminTranslateRequest extends Message<AdminTranslateRequest> {
|
|
895
|
+
items: AdminTranslateItem[];
|
|
896
|
+
constructor(data?: PartialMessage<AdminTranslateRequest>);
|
|
897
|
+
static readonly runtime: typeof proto3;
|
|
898
|
+
static readonly typeName = "micro.v1.mining.AdminTranslateRequest";
|
|
899
|
+
static readonly fields: FieldList;
|
|
900
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminTranslateRequest;
|
|
901
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminTranslateRequest;
|
|
902
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTranslateRequest;
|
|
903
|
+
static equals(a: AdminTranslateRequest | PlainMessage<AdminTranslateRequest> | undefined, b: AdminTranslateRequest | PlainMessage<AdminTranslateRequest> | undefined): boolean;
|
|
904
|
+
}
|
|
905
|
+
export declare class AdminTranslatedItem extends Message<AdminTranslatedItem> {
|
|
906
|
+
key: string;
|
|
907
|
+
values: {
|
|
908
|
+
[key: string]: string;
|
|
909
|
+
};
|
|
910
|
+
constructor(data?: PartialMessage<AdminTranslatedItem>);
|
|
911
|
+
static readonly runtime: typeof proto3;
|
|
912
|
+
static readonly typeName = "micro.v1.mining.AdminTranslatedItem";
|
|
913
|
+
static readonly fields: FieldList;
|
|
914
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminTranslatedItem;
|
|
915
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminTranslatedItem;
|
|
916
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTranslatedItem;
|
|
917
|
+
static equals(a: AdminTranslatedItem | PlainMessage<AdminTranslatedItem> | undefined, b: AdminTranslatedItem | PlainMessage<AdminTranslatedItem> | undefined): boolean;
|
|
918
|
+
}
|
|
919
|
+
export declare class AdminTranslateResponse extends Message<AdminTranslateResponse> {
|
|
920
|
+
status?: ResponseStatus;
|
|
921
|
+
data: AdminTranslatedItem[];
|
|
922
|
+
constructor(data?: PartialMessage<AdminTranslateResponse>);
|
|
923
|
+
static readonly runtime: typeof proto3;
|
|
924
|
+
static readonly typeName = "micro.v1.mining.AdminTranslateResponse";
|
|
925
|
+
static readonly fields: FieldList;
|
|
926
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminTranslateResponse;
|
|
927
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminTranslateResponse;
|
|
928
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminTranslateResponse;
|
|
929
|
+
static equals(a: AdminTranslateResponse | PlainMessage<AdminTranslateResponse> | undefined, b: AdminTranslateResponse | PlainMessage<AdminTranslateResponse> | undefined): boolean;
|
|
930
|
+
}
|
|
931
|
+
export declare class AdminUploadTaskIconRequest extends Message<AdminUploadTaskIconRequest> {
|
|
932
|
+
data: Uint8Array<ArrayBuffer>;
|
|
933
|
+
mimetype: string;
|
|
934
|
+
constructor(data?: PartialMessage<AdminUploadTaskIconRequest>);
|
|
935
|
+
static readonly runtime: typeof proto3;
|
|
936
|
+
static readonly typeName = "micro.v1.mining.AdminUploadTaskIconRequest";
|
|
937
|
+
static readonly fields: FieldList;
|
|
938
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminUploadTaskIconRequest;
|
|
939
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminUploadTaskIconRequest;
|
|
940
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminUploadTaskIconRequest;
|
|
941
|
+
static equals(a: AdminUploadTaskIconRequest | PlainMessage<AdminUploadTaskIconRequest> | undefined, b: AdminUploadTaskIconRequest | PlainMessage<AdminUploadTaskIconRequest> | undefined): boolean;
|
|
942
|
+
}
|
|
943
|
+
export declare class AdminUploadTaskIconResponse extends Message<AdminUploadTaskIconResponse> {
|
|
944
|
+
status?: ResponseStatus;
|
|
945
|
+
id: string;
|
|
946
|
+
constructor(data?: PartialMessage<AdminUploadTaskIconResponse>);
|
|
947
|
+
static readonly runtime: typeof proto3;
|
|
948
|
+
static readonly typeName = "micro.v1.mining.AdminUploadTaskIconResponse";
|
|
949
|
+
static readonly fields: FieldList;
|
|
950
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminUploadTaskIconResponse;
|
|
951
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminUploadTaskIconResponse;
|
|
952
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminUploadTaskIconResponse;
|
|
953
|
+
static equals(a: AdminUploadTaskIconResponse | PlainMessage<AdminUploadTaskIconResponse> | undefined, b: AdminUploadTaskIconResponse | PlainMessage<AdminUploadTaskIconResponse> | undefined): boolean;
|
|
954
|
+
}
|
|
955
|
+
export declare class TaskIconResponse extends Message<TaskIconResponse> {
|
|
956
|
+
status?: ResponseStatus;
|
|
957
|
+
data: Uint8Array<ArrayBuffer>;
|
|
958
|
+
mimetype: string;
|
|
959
|
+
constructor(data?: PartialMessage<TaskIconResponse>);
|
|
960
|
+
static readonly runtime: typeof proto3;
|
|
961
|
+
static readonly typeName = "micro.v1.mining.TaskIconResponse";
|
|
962
|
+
static readonly fields: FieldList;
|
|
963
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TaskIconResponse;
|
|
964
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TaskIconResponse;
|
|
965
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TaskIconResponse;
|
|
966
|
+
static equals(a: TaskIconResponse | PlainMessage<TaskIconResponse> | undefined, b: TaskIconResponse | PlainMessage<TaskIconResponse> | undefined): boolean;
|
|
967
|
+
}
|
|
753
968
|
export declare class AdminUsersRequest extends Message<AdminUsersRequest> {
|
|
754
969
|
query: string;
|
|
755
970
|
status: string;
|
|
@@ -843,6 +1058,7 @@ export declare class AdminUserResponse extends Message<AdminUserResponse> {
|
|
|
843
1058
|
tasks: TaskInfo[];
|
|
844
1059
|
sessions: SessionInfo[];
|
|
845
1060
|
teamSeats: AdminTeamSeat[];
|
|
1061
|
+
exchanges: AdminExchangeFacts[];
|
|
846
1062
|
constructor(data?: PartialMessage<AdminUserResponse>);
|
|
847
1063
|
static readonly runtime: typeof proto3;
|
|
848
1064
|
static readonly typeName = "micro.v1.mining.AdminUserResponse";
|
|
@@ -852,6 +1068,26 @@ export declare class AdminUserResponse extends Message<AdminUserResponse> {
|
|
|
852
1068
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminUserResponse;
|
|
853
1069
|
static equals(a: AdminUserResponse | PlainMessage<AdminUserResponse> | undefined, b: AdminUserResponse | PlainMessage<AdminUserResponse> | undefined): boolean;
|
|
854
1070
|
}
|
|
1071
|
+
export declare class AdminExchangeFacts extends Message<AdminExchangeFacts> {
|
|
1072
|
+
exchange: string;
|
|
1073
|
+
uid: string;
|
|
1074
|
+
found: boolean;
|
|
1075
|
+
kycLevel: number;
|
|
1076
|
+
depositUsd: string;
|
|
1077
|
+
tradeUsd: string;
|
|
1078
|
+
fetchedAt: string;
|
|
1079
|
+
kycRequired: number;
|
|
1080
|
+
depositRequired: string;
|
|
1081
|
+
tradeRequired: string;
|
|
1082
|
+
constructor(data?: PartialMessage<AdminExchangeFacts>);
|
|
1083
|
+
static readonly runtime: typeof proto3;
|
|
1084
|
+
static readonly typeName = "micro.v1.mining.AdminExchangeFacts";
|
|
1085
|
+
static readonly fields: FieldList;
|
|
1086
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminExchangeFacts;
|
|
1087
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminExchangeFacts;
|
|
1088
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminExchangeFacts;
|
|
1089
|
+
static equals(a: AdminExchangeFacts | PlainMessage<AdminExchangeFacts> | undefined, b: AdminExchangeFacts | PlainMessage<AdminExchangeFacts> | undefined): boolean;
|
|
1090
|
+
}
|
|
855
1091
|
export declare class AdminTeamSeat extends Message<AdminTeamSeat> {
|
|
856
1092
|
ownerId: string;
|
|
857
1093
|
ownerUsername: string;
|