fix and update
This commit is contained in:
@@ -95,6 +95,14 @@ message GetUserInsightsRequest {
|
||||
optional string search = 2;
|
||||
optional int32 limit = 3;
|
||||
optional int32 offset = 4;
|
||||
optional string dateFrom = 5;
|
||||
optional string dateTo = 6;
|
||||
}
|
||||
|
||||
message AdminInsightsPeriodMeta {
|
||||
int32 retentionDays = 1;
|
||||
string periodFrom = 2;
|
||||
string periodTo = 3;
|
||||
}
|
||||
|
||||
message AdminSignInEvent {
|
||||
@@ -110,6 +118,10 @@ message AdminSignInEvent {
|
||||
message UserSignInHistoryResponse {
|
||||
int32 total = 1;
|
||||
repeated AdminSignInEvent events = 2;
|
||||
optional AdminInsightsPeriodMeta meta = 3;
|
||||
optional int32 retentionDays = 4;
|
||||
optional string periodFrom = 5;
|
||||
optional string periodTo = 6;
|
||||
}
|
||||
|
||||
message UserActivityItem {
|
||||
@@ -125,6 +137,10 @@ message UserActivityItem {
|
||||
message UserActivityResponse {
|
||||
int32 total = 1;
|
||||
repeated UserActivityItem items = 2;
|
||||
optional AdminInsightsPeriodMeta meta = 3;
|
||||
optional int32 retentionDays = 4;
|
||||
optional string periodFrom = 5;
|
||||
optional string periodTo = 6;
|
||||
}
|
||||
|
||||
message AdminChatRoomMember {
|
||||
@@ -155,6 +171,10 @@ message AdminChatRoomSummary {
|
||||
message UserChatRoomsResponse {
|
||||
int32 total = 1;
|
||||
repeated AdminChatRoomSummary rooms = 2;
|
||||
optional AdminInsightsPeriodMeta meta = 3;
|
||||
optional int32 retentionDays = 4;
|
||||
optional string periodFrom = 5;
|
||||
optional string periodTo = 6;
|
||||
}
|
||||
|
||||
message ListUserChatMessagesRequest {
|
||||
@@ -163,6 +183,8 @@ message ListUserChatMessagesRequest {
|
||||
optional string search = 3;
|
||||
optional int32 limit = 4;
|
||||
optional string beforeMessageId = 5;
|
||||
optional string dateFrom = 6;
|
||||
optional string dateTo = 7;
|
||||
}
|
||||
|
||||
message SearchUserChatMessagesRequest {
|
||||
@@ -170,6 +192,8 @@ message SearchUserChatMessagesRequest {
|
||||
string search = 2;
|
||||
optional int32 limit = 3;
|
||||
optional int32 offset = 4;
|
||||
optional string dateFrom = 5;
|
||||
optional string dateTo = 6;
|
||||
}
|
||||
|
||||
message AdminChatMessage {
|
||||
@@ -186,6 +210,9 @@ message AdminChatMessage {
|
||||
optional string roomId = 11;
|
||||
optional string roomName = 12;
|
||||
optional string groupName = 13;
|
||||
optional string storageKey = 14;
|
||||
optional string mimeType = 15;
|
||||
optional string metadataJson = 16;
|
||||
}
|
||||
|
||||
message AdminChatRoomContext {
|
||||
@@ -198,11 +225,19 @@ message AdminChatRoomContext {
|
||||
message UserChatMessagesResponse {
|
||||
optional AdminChatRoomContext room = 1;
|
||||
repeated AdminChatMessage messages = 2;
|
||||
optional AdminInsightsPeriodMeta meta = 3;
|
||||
optional int32 retentionDays = 4;
|
||||
optional string periodFrom = 5;
|
||||
optional string periodTo = 6;
|
||||
}
|
||||
|
||||
message UserChatMessageSearchResponse {
|
||||
int32 total = 1;
|
||||
repeated AdminChatMessage messages = 2;
|
||||
optional AdminInsightsPeriodMeta meta = 3;
|
||||
optional int32 retentionDays = 4;
|
||||
optional string periodFrom = 5;
|
||||
optional string periodTo = 6;
|
||||
}
|
||||
|
||||
message AdminDeleteChatMessageRequest {
|
||||
|
||||
Reference in New Issue
Block a user