jr-common-micro 1.1.121 → 1.1.122
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/mining/mining_messages_nest.d.ts +18 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.d.ts +34 -0
- package/dist/proto/micro/v1/mining/mining_messages_pb.js +75 -1
- package/dist/proto/micro/v1/mining/services_connect.d.ts +7 -1
- package/dist/proto/micro/v1/mining/services_connect.js +6 -0
- package/dist/proto/micro/v1/mining/services_nest.d.ts +3 -1
- package/dist/proto/micro/v1/mining/services_nest.js +1 -0
- package/package.json +1 -1
- package/proto/micro/v1/mining/mining_messages.proto +29 -0
- package/proto/micro/v1/mining/services.proto +2 -0
|
@@ -434,6 +434,24 @@ export interface AdminRiskFlag {
|
|
|
434
434
|
updated_at: string;
|
|
435
435
|
profile?: AdminUserItem | undefined;
|
|
436
436
|
}
|
|
437
|
+
export interface AdminInviteTreeNode {
|
|
438
|
+
user_id: string;
|
|
439
|
+
parent_id: string;
|
|
440
|
+
depth: number;
|
|
441
|
+
username: string;
|
|
442
|
+
status: string;
|
|
443
|
+
sessions_completed: number;
|
|
444
|
+
risk_score: number;
|
|
445
|
+
same_device: boolean;
|
|
446
|
+
activated: boolean;
|
|
447
|
+
last_seen_at: string;
|
|
448
|
+
}
|
|
449
|
+
export interface AdminInviteTreeResponse {
|
|
450
|
+
status: ResponseStatus | undefined;
|
|
451
|
+
path: AdminInviteTreeNode[];
|
|
452
|
+
nodes: AdminInviteTreeNode[];
|
|
453
|
+
truncated: boolean;
|
|
454
|
+
}
|
|
437
455
|
export interface AdminRiskQueueRequest {
|
|
438
456
|
status: string;
|
|
439
457
|
limit: number;
|
|
@@ -863,6 +863,40 @@ export declare class AdminRiskFlag extends Message<AdminRiskFlag> {
|
|
|
863
863
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminRiskFlag;
|
|
864
864
|
static equals(a: AdminRiskFlag | PlainMessage<AdminRiskFlag> | undefined, b: AdminRiskFlag | PlainMessage<AdminRiskFlag> | undefined): boolean;
|
|
865
865
|
}
|
|
866
|
+
export declare class AdminInviteTreeNode extends Message<AdminInviteTreeNode> {
|
|
867
|
+
userId: string;
|
|
868
|
+
parentId: string;
|
|
869
|
+
depth: number;
|
|
870
|
+
username: string;
|
|
871
|
+
status: string;
|
|
872
|
+
sessionsCompleted: number;
|
|
873
|
+
riskScore: number;
|
|
874
|
+
sameDevice: boolean;
|
|
875
|
+
activated: boolean;
|
|
876
|
+
lastSeenAt: string;
|
|
877
|
+
constructor(data?: PartialMessage<AdminInviteTreeNode>);
|
|
878
|
+
static readonly runtime: typeof proto3;
|
|
879
|
+
static readonly typeName = "micro.v1.mining.AdminInviteTreeNode";
|
|
880
|
+
static readonly fields: FieldList;
|
|
881
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminInviteTreeNode;
|
|
882
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminInviteTreeNode;
|
|
883
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminInviteTreeNode;
|
|
884
|
+
static equals(a: AdminInviteTreeNode | PlainMessage<AdminInviteTreeNode> | undefined, b: AdminInviteTreeNode | PlainMessage<AdminInviteTreeNode> | undefined): boolean;
|
|
885
|
+
}
|
|
886
|
+
export declare class AdminInviteTreeResponse extends Message<AdminInviteTreeResponse> {
|
|
887
|
+
status?: ResponseStatus;
|
|
888
|
+
path: AdminInviteTreeNode[];
|
|
889
|
+
nodes: AdminInviteTreeNode[];
|
|
890
|
+
truncated: boolean;
|
|
891
|
+
constructor(data?: PartialMessage<AdminInviteTreeResponse>);
|
|
892
|
+
static readonly runtime: typeof proto3;
|
|
893
|
+
static readonly typeName = "micro.v1.mining.AdminInviteTreeResponse";
|
|
894
|
+
static readonly fields: FieldList;
|
|
895
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AdminInviteTreeResponse;
|
|
896
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AdminInviteTreeResponse;
|
|
897
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AdminInviteTreeResponse;
|
|
898
|
+
static equals(a: AdminInviteTreeResponse | PlainMessage<AdminInviteTreeResponse> | undefined, b: AdminInviteTreeResponse | PlainMessage<AdminInviteTreeResponse> | undefined): boolean;
|
|
899
|
+
}
|
|
866
900
|
export declare class AdminRiskQueueRequest extends Message<AdminRiskQueueRequest> {
|
|
867
901
|
status: string;
|
|
868
902
|
limit: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.AdminUserResponse = exports.AdminActionItem = exports.AdminUsersResponse = exports.AdminUserItem = exports.AdminUsersRequest = exports.AdminTasksResponse = exports.AdminTaskItem = exports.SetParameterRequest = exports.ParametersResponse = exports.ParameterItem = exports.AdminOverviewResponse = exports.AdminTopReferrersResponse = exports.AdminTopReferrersRequest = exports.AdminTopReferrer = exports.AdminTaskStat = exports.AdminSeries = exports.AdminSeriesPoint = exports.AdminMetric = exports.AdminOverviewRequest = exports.ConfigResponse = exports.ResolveCodeResponse = exports.ResolveCodeRequest = exports.EnrollResponse = exports.EnrollRequest = exports.UpdateSettingsRequest = exports.HistoryResponse = exports.HistoryDay = exports.HistoryItem = exports.HistoryRequest = exports.TeamResponse = exports.SetTeamRequest = exports.ClaimResponse = exports.ReferralListResponse = exports.ReferralListRequest = exports.ReferralItem = exports.TaskEventResponse = exports.TaskEventRequest = exports.TasksResponse = exports.MiningMeResponse = exports.MiningState = exports.MiningSettings = exports.TasksSummary = exports.TaskInfo = exports.TeamInfo = exports.TeamWeek = exports.TeamMember = exports.ReferralInfo = exports.HalvingInfo = exports.RateInfo = exports.SessionInfo = void 0;
|
|
4
|
-
exports.AdminGiftsResponse = exports.AdminGiftsRequest = exports.AdminGiftResponse = exports.AdminGift = exports.AdminGiftConfirmRequest = exports.AdminGiftPreviewResponse = exports.AdminGiftRecipient = exports.AdminGiftPreviewRequest = exports.AdminSetTaskRequest = exports.AdminDeviceClustersResponse = exports.AdminDeviceCluster = exports.AdminDeviceClustersRequest = exports.AdminModerateRequest = exports.AdminCreditSource = exports.AdminRiskQueueResponse = exports.AdminRiskQueueRequest = exports.AdminRiskFlag = exports.AdminRiskSignalStat = exports.AdminRiskSignal = exports.AdminTeamSeat = void 0;
|
|
4
|
+
exports.AdminGiftsResponse = exports.AdminGiftsRequest = exports.AdminGiftResponse = exports.AdminGift = exports.AdminGiftConfirmRequest = exports.AdminGiftPreviewResponse = exports.AdminGiftRecipient = exports.AdminGiftPreviewRequest = exports.AdminSetTaskRequest = exports.AdminDeviceClustersResponse = exports.AdminDeviceCluster = exports.AdminDeviceClustersRequest = exports.AdminModerateRequest = exports.AdminCreditSource = exports.AdminRiskQueueResponse = exports.AdminRiskQueueRequest = exports.AdminInviteTreeResponse = exports.AdminInviteTreeNode = exports.AdminRiskFlag = exports.AdminRiskSignalStat = exports.AdminRiskSignal = exports.AdminTeamSeat = void 0;
|
|
5
5
|
const protobuf_1 = require("@bufbuild/protobuf");
|
|
6
6
|
const general_pb_js_1 = require("../general_pb.js");
|
|
7
7
|
class SessionInfo extends protobuf_1.Message {
|
|
@@ -1886,6 +1886,80 @@ class AdminRiskFlag extends protobuf_1.Message {
|
|
|
1886
1886
|
}
|
|
1887
1887
|
}
|
|
1888
1888
|
exports.AdminRiskFlag = AdminRiskFlag;
|
|
1889
|
+
class AdminInviteTreeNode extends protobuf_1.Message {
|
|
1890
|
+
userId = "";
|
|
1891
|
+
parentId = "";
|
|
1892
|
+
depth = 0;
|
|
1893
|
+
username = "";
|
|
1894
|
+
status = "";
|
|
1895
|
+
sessionsCompleted = 0;
|
|
1896
|
+
riskScore = 0;
|
|
1897
|
+
sameDevice = false;
|
|
1898
|
+
activated = false;
|
|
1899
|
+
lastSeenAt = "";
|
|
1900
|
+
constructor(data) {
|
|
1901
|
+
super();
|
|
1902
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1903
|
+
}
|
|
1904
|
+
static runtime = protobuf_1.proto3;
|
|
1905
|
+
static typeName = "micro.v1.mining.AdminInviteTreeNode";
|
|
1906
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1907
|
+
{ no: 1, name: "user_id", kind: "scalar", T: 9 },
|
|
1908
|
+
{ no: 2, name: "parent_id", kind: "scalar", T: 9 },
|
|
1909
|
+
{ no: 3, name: "depth", kind: "scalar", T: 5 },
|
|
1910
|
+
{ no: 4, name: "username", kind: "scalar", T: 9 },
|
|
1911
|
+
{ no: 5, name: "status", kind: "scalar", T: 9 },
|
|
1912
|
+
{ no: 6, name: "sessions_completed", kind: "scalar", T: 5 },
|
|
1913
|
+
{ no: 7, name: "risk_score", kind: "scalar", T: 5 },
|
|
1914
|
+
{ no: 8, name: "same_device", kind: "scalar", T: 8 },
|
|
1915
|
+
{ no: 9, name: "activated", kind: "scalar", T: 8 },
|
|
1916
|
+
{ no: 10, name: "last_seen_at", kind: "scalar", T: 9 },
|
|
1917
|
+
]);
|
|
1918
|
+
static fromBinary(bytes, options) {
|
|
1919
|
+
return new AdminInviteTreeNode().fromBinary(bytes, options);
|
|
1920
|
+
}
|
|
1921
|
+
static fromJson(jsonValue, options) {
|
|
1922
|
+
return new AdminInviteTreeNode().fromJson(jsonValue, options);
|
|
1923
|
+
}
|
|
1924
|
+
static fromJsonString(jsonString, options) {
|
|
1925
|
+
return new AdminInviteTreeNode().fromJsonString(jsonString, options);
|
|
1926
|
+
}
|
|
1927
|
+
static equals(a, b) {
|
|
1928
|
+
return protobuf_1.proto3.util.equals(AdminInviteTreeNode, a, b);
|
|
1929
|
+
}
|
|
1930
|
+
}
|
|
1931
|
+
exports.AdminInviteTreeNode = AdminInviteTreeNode;
|
|
1932
|
+
class AdminInviteTreeResponse extends protobuf_1.Message {
|
|
1933
|
+
status;
|
|
1934
|
+
path = [];
|
|
1935
|
+
nodes = [];
|
|
1936
|
+
truncated = false;
|
|
1937
|
+
constructor(data) {
|
|
1938
|
+
super();
|
|
1939
|
+
protobuf_1.proto3.util.initPartial(data, this);
|
|
1940
|
+
}
|
|
1941
|
+
static runtime = protobuf_1.proto3;
|
|
1942
|
+
static typeName = "micro.v1.mining.AdminInviteTreeResponse";
|
|
1943
|
+
static fields = protobuf_1.proto3.util.newFieldList(() => [
|
|
1944
|
+
{ no: 1, name: "status", kind: "message", T: general_pb_js_1.ResponseStatus },
|
|
1945
|
+
{ no: 2, name: "path", kind: "message", T: AdminInviteTreeNode, repeated: true },
|
|
1946
|
+
{ no: 3, name: "nodes", kind: "message", T: AdminInviteTreeNode, repeated: true },
|
|
1947
|
+
{ no: 4, name: "truncated", kind: "scalar", T: 8 },
|
|
1948
|
+
]);
|
|
1949
|
+
static fromBinary(bytes, options) {
|
|
1950
|
+
return new AdminInviteTreeResponse().fromBinary(bytes, options);
|
|
1951
|
+
}
|
|
1952
|
+
static fromJson(jsonValue, options) {
|
|
1953
|
+
return new AdminInviteTreeResponse().fromJson(jsonValue, options);
|
|
1954
|
+
}
|
|
1955
|
+
static fromJsonString(jsonString, options) {
|
|
1956
|
+
return new AdminInviteTreeResponse().fromJsonString(jsonString, options);
|
|
1957
|
+
}
|
|
1958
|
+
static equals(a, b) {
|
|
1959
|
+
return protobuf_1.proto3.util.equals(AdminInviteTreeResponse, a, b);
|
|
1960
|
+
}
|
|
1961
|
+
}
|
|
1962
|
+
exports.AdminInviteTreeResponse = AdminInviteTreeResponse;
|
|
1889
1963
|
class AdminRiskQueueRequest extends protobuf_1.Message {
|
|
1890
1964
|
status = "";
|
|
1891
1965
|
limit = 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ByIdRequest, EmptyRequest, EmptyResponse } from "../general_pb.js";
|
|
2
|
-
import { AdminDeviceClustersRequest, AdminDeviceClustersResponse, AdminGiftConfirmRequest, AdminGiftPreviewRequest, AdminGiftPreviewResponse, AdminGiftResponse, AdminGiftsRequest, AdminGiftsResponse, AdminModerateRequest, AdminOverviewRequest, AdminOverviewResponse, AdminRiskQueueRequest, AdminRiskQueueResponse, AdminSetTaskRequest, AdminTasksResponse, AdminTopReferrersRequest, AdminTopReferrersResponse, AdminUserResponse, AdminUsersRequest, AdminUsersResponse, ClaimResponse, ConfigResponse, EnrollRequest, EnrollResponse, HistoryRequest, HistoryResponse, MiningMeResponse, ParametersResponse, ReferralListRequest, ReferralListResponse, ResolveCodeRequest, ResolveCodeResponse, SetParameterRequest, SetTeamRequest, TaskEventRequest, TaskEventResponse, TasksResponse, TeamResponse, UpdateSettingsRequest } from "./mining_messages_pb.js";
|
|
2
|
+
import { AdminDeviceClustersRequest, AdminDeviceClustersResponse, AdminGiftConfirmRequest, AdminGiftPreviewRequest, AdminGiftPreviewResponse, AdminGiftResponse, AdminGiftsRequest, AdminGiftsResponse, AdminInviteTreeResponse, AdminModerateRequest, AdminOverviewRequest, AdminOverviewResponse, AdminRiskQueueRequest, AdminRiskQueueResponse, AdminSetTaskRequest, AdminTasksResponse, AdminTopReferrersRequest, AdminTopReferrersResponse, AdminUserResponse, AdminUsersRequest, AdminUsersResponse, ClaimResponse, ConfigResponse, EnrollRequest, EnrollResponse, HistoryRequest, HistoryResponse, MiningMeResponse, ParametersResponse, ReferralListRequest, ReferralListResponse, ResolveCodeRequest, ResolveCodeResponse, SetParameterRequest, SetTeamRequest, TaskEventRequest, TaskEventResponse, TasksResponse, TeamResponse, UpdateSettingsRequest } from "./mining_messages_pb.js";
|
|
3
3
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
4
4
|
export declare const PMiningService: {
|
|
5
5
|
readonly typeName: "micro.v1.mining.PMiningService";
|
|
@@ -142,6 +142,12 @@ export declare const PMiningService: {
|
|
|
142
142
|
readonly O: typeof AdminUserResponse;
|
|
143
143
|
readonly kind: MethodKind.ServerStreaming;
|
|
144
144
|
};
|
|
145
|
+
readonly adminInviteTree: {
|
|
146
|
+
readonly name: "AdminInviteTree";
|
|
147
|
+
readonly I: typeof ByIdRequest;
|
|
148
|
+
readonly O: typeof AdminInviteTreeResponse;
|
|
149
|
+
readonly kind: MethodKind.ServerStreaming;
|
|
150
|
+
};
|
|
145
151
|
readonly adminModerate: {
|
|
146
152
|
readonly name: "AdminModerate";
|
|
147
153
|
readonly I: typeof AdminModerateRequest;
|
|
@@ -145,6 +145,12 @@ exports.PMiningService = {
|
|
|
145
145
|
O: mining_messages_pb_js_1.AdminUserResponse,
|
|
146
146
|
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
147
147
|
},
|
|
148
|
+
adminInviteTree: {
|
|
149
|
+
name: "AdminInviteTree",
|
|
150
|
+
I: general_pb_js_1.ByIdRequest,
|
|
151
|
+
O: mining_messages_pb_js_1.AdminInviteTreeResponse,
|
|
152
|
+
kind: protobuf_1.MethodKind.ServerStreaming,
|
|
153
|
+
},
|
|
148
154
|
adminModerate: {
|
|
149
155
|
name: "AdminModerate",
|
|
150
156
|
I: mining_messages_pb_js_1.AdminModerateRequest,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Metadata } from "@grpc/grpc-js";
|
|
2
2
|
import { Observable } from "rxjs";
|
|
3
3
|
import { ByIdRequest, EmptyRequest, EmptyResponse } from "../general_nest";
|
|
4
|
-
import { AdminDeviceClustersRequest, AdminDeviceClustersResponse, AdminGiftConfirmRequest, AdminGiftPreviewRequest, AdminGiftPreviewResponse, AdminGiftResponse, AdminGiftsRequest, AdminGiftsResponse, AdminModerateRequest, AdminOverviewRequest, AdminOverviewResponse, AdminRiskQueueRequest, AdminRiskQueueResponse, AdminSetTaskRequest, AdminTasksResponse, AdminTopReferrersRequest, AdminTopReferrersResponse, AdminUserResponse, AdminUsersRequest, AdminUsersResponse, ClaimResponse, ConfigResponse, EnrollRequest, EnrollResponse, HistoryRequest, HistoryResponse, MiningMeResponse, ParametersResponse, ReferralListRequest, ReferralListResponse, ResolveCodeRequest, ResolveCodeResponse, SetParameterRequest, SetTeamRequest, TaskEventRequest, TaskEventResponse, TasksResponse, TeamResponse, UpdateSettingsRequest } from "./mining_messages_nest";
|
|
4
|
+
import { AdminDeviceClustersRequest, AdminDeviceClustersResponse, AdminGiftConfirmRequest, AdminGiftPreviewRequest, AdminGiftPreviewResponse, AdminGiftResponse, AdminGiftsRequest, AdminGiftsResponse, AdminInviteTreeResponse, AdminModerateRequest, AdminOverviewRequest, AdminOverviewResponse, AdminRiskQueueRequest, AdminRiskQueueResponse, AdminSetTaskRequest, AdminTasksResponse, AdminTopReferrersRequest, AdminTopReferrersResponse, AdminUserResponse, AdminUsersRequest, AdminUsersResponse, ClaimResponse, ConfigResponse, EnrollRequest, EnrollResponse, HistoryRequest, HistoryResponse, MiningMeResponse, ParametersResponse, ReferralListRequest, ReferralListResponse, ResolveCodeRequest, ResolveCodeResponse, SetParameterRequest, SetTeamRequest, TaskEventRequest, TaskEventResponse, TasksResponse, TeamResponse, UpdateSettingsRequest } from "./mining_messages_nest";
|
|
5
5
|
export declare const protobufPackage = "micro.v1.mining";
|
|
6
6
|
export declare const MICRO_V1_MINING_PACKAGE_NAME = "micro.v1.mining";
|
|
7
7
|
export interface PMiningServiceClient {
|
|
@@ -28,6 +28,7 @@ export interface PMiningServiceClient {
|
|
|
28
28
|
adminSetTask(request: AdminSetTaskRequest, metadata?: Metadata): Observable<AdminTasksResponse>;
|
|
29
29
|
adminUsers(request: AdminUsersRequest, metadata?: Metadata): Observable<AdminUsersResponse>;
|
|
30
30
|
adminUser(request: ByIdRequest, metadata?: Metadata): Observable<AdminUserResponse>;
|
|
31
|
+
adminInviteTree(request: ByIdRequest, metadata?: Metadata): Observable<AdminInviteTreeResponse>;
|
|
31
32
|
adminModerate(request: AdminModerateRequest, metadata?: Metadata): Observable<AdminUserResponse>;
|
|
32
33
|
adminDeviceClusters(request: AdminDeviceClustersRequest, metadata?: Metadata): Observable<AdminDeviceClustersResponse>;
|
|
33
34
|
adminRiskQueue(request: AdminRiskQueueRequest, metadata?: Metadata): Observable<AdminRiskQueueResponse>;
|
|
@@ -60,6 +61,7 @@ export interface PMiningServiceController {
|
|
|
60
61
|
adminSetTask(request: AdminSetTaskRequest, metadata?: Metadata): Observable<AdminTasksResponse>;
|
|
61
62
|
adminUsers(request: AdminUsersRequest, metadata?: Metadata): Observable<AdminUsersResponse>;
|
|
62
63
|
adminUser(request: ByIdRequest, metadata?: Metadata): Observable<AdminUserResponse>;
|
|
64
|
+
adminInviteTree(request: ByIdRequest, metadata?: Metadata): Observable<AdminInviteTreeResponse>;
|
|
63
65
|
adminModerate(request: AdminModerateRequest, metadata?: Metadata): Observable<AdminUserResponse>;
|
|
64
66
|
adminDeviceClusters(request: AdminDeviceClustersRequest, metadata?: Metadata): Observable<AdminDeviceClustersResponse>;
|
|
65
67
|
adminRiskQueue(request: AdminRiskQueueRequest, metadata?: Metadata): Observable<AdminRiskQueueResponse>;
|
package/package.json
CHANGED
|
@@ -628,6 +628,35 @@ message AdminRiskFlag {
|
|
|
628
628
|
optional AdminUserItem profile = 7;
|
|
629
629
|
}
|
|
630
630
|
|
|
631
|
+
// One person in an invite tree on the review desk.
|
|
632
|
+
message AdminInviteTreeNode {
|
|
633
|
+
string user_id = 1;
|
|
634
|
+
// Who brought them; empty for the top of the path.
|
|
635
|
+
string parent_id = 2;
|
|
636
|
+
// Levels below the person asked about (the path above them is 0).
|
|
637
|
+
int32 depth = 3;
|
|
638
|
+
string username = 4;
|
|
639
|
+
// normal | restricted | banned
|
|
640
|
+
string status = 5;
|
|
641
|
+
int32 sessions_completed = 6;
|
|
642
|
+
// Only while a flag is in the queue; 0 otherwise.
|
|
643
|
+
int32 risk_score = 7;
|
|
644
|
+
// Shares a device with someone else in this tree or path.
|
|
645
|
+
bool same_device = 8;
|
|
646
|
+
bool activated = 9;
|
|
647
|
+
string last_seen_at = 10;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
message AdminInviteTreeResponse {
|
|
651
|
+
ResponseStatus status = 1;
|
|
652
|
+
// Who brought this person, and who brought them: the top first.
|
|
653
|
+
repeated AdminInviteTreeNode path = 2;
|
|
654
|
+
// Everyone under this person, parents before their invitees.
|
|
655
|
+
repeated AdminInviteTreeNode nodes = 3;
|
|
656
|
+
// More exists than was read (too many people or too many levels).
|
|
657
|
+
bool truncated = 4;
|
|
658
|
+
}
|
|
659
|
+
|
|
631
660
|
message AdminRiskQueueRequest {
|
|
632
661
|
// open (default) | silent | cleared | actioned | all
|
|
633
662
|
string status = 1;
|
|
@@ -50,6 +50,8 @@ service PMiningService {
|
|
|
50
50
|
// ban, unban) with the JR that came from fraud taken back.
|
|
51
51
|
rpc AdminUsers(AdminUsersRequest) returns(stream AdminUsersResponse) {}
|
|
52
52
|
rpc AdminUser(ByIdRequest) returns(stream AdminUserResponse) {}
|
|
53
|
+
// Everyone under a person and the path above them.
|
|
54
|
+
rpc AdminInviteTree(ByIdRequest) returns(stream AdminInviteTreeResponse) {}
|
|
53
55
|
rpc AdminModerate(AdminModerateRequest) returns(stream AdminUserResponse) {}
|
|
54
56
|
// Accounts that share an install (the first review signal).
|
|
55
57
|
rpc AdminDeviceClusters(AdminDeviceClustersRequest) returns(stream AdminDeviceClustersResponse) {}
|