diff --git a/changes.proto b/changes.proto index c1fe044..6b48a18 100644 --- a/changes.proto +++ b/changes.proto @@ -71,6 +71,8 @@ service ChangesService { rpc UpdateChange(UpdateChangeRequest) returns (UpdateChangeResponse); // Deletes a change rpc DeleteChange(DeleteChangeRequest) returns (DeleteChangeResponse); + // Lists all changes for a snapshot UUID + rpc ListChangesBySnapshotUUID(ListChangesBySnapshotUUIDRequest) returns (ListChangesBySnapshotUUIDResponse); // Get the timeline of changes for a given change rpc GetChangeTimeline(GetChangeTimelineRequest) returns (GetChangeTimelineResponse); @@ -777,6 +779,15 @@ message DeleteChangeRequest { bytes UUID = 1; } +// list changes for a snapshot UUID +message ListChangesBySnapshotUUIDRequest { + bytes UUID = 1; +} + +message ListChangesBySnapshotUUIDResponse { + repeated changes.Change changes = 1; +} + message DeleteChangeResponse {} message RefreshStateRequest {} diff --git a/gateway.proto b/gateway.proto index 8df5ae8..b9c84a1 100644 --- a/gateway.proto +++ b/gateway.proto @@ -60,6 +60,7 @@ message GatewayRequest { // CancelLoadBookmark cancelLoadBookmark = ??; // // undo the loading of a Bookmark // UndoLoadBookmark undoLoadBookmark = ??; + ChatMessage chatMessage = 16; } optional google.protobuf.Duration minStatusInterval = 2; // Minimum time between status updates. Setting this value too low can result in too many status messages @@ -90,6 +91,8 @@ message GatewayResponse { BookmarkLoadResult bookmarkLoadResult = 16; QueryStatus queryStatus = 17; // Status of requested queries + + ChatMessageResult chatMessageResult = 18; } } @@ -205,3 +208,15 @@ message SnapshotLoadResult { // a correlation ID to match up requests and responses. this field returns the contents of the request's msgID bytes msgID = 4; } + +message ChatMessage { + // The message to create + string message = 1; +} + +message ChatMessageResult { + oneof response_type { + string error = 1; + string message = 2; + } +}