hyperboria/nexus/hub/proto/delivery_service.proto
the-superpirate 9ce67ec590 - feat(pylon): Refactor code
- feat(idm): Rename IDM-2 to IDM
  - feat(idm): Open IDM
3 internal commit(s)

GitOrigin-RevId: e302e9b5cda18cca1adc4ae8a3d906714d222106
2021-04-12 23:38:54 +03:00

24 lines
514 B
Protocol Buffer

syntax = "proto3";
package nexus.hub.proto;
import "nexus/models/proto/typed_document.proto";
import "idm/api/proto/chat_manager_service.proto";
message StartDeliveryRequest {
nexus.models.proto.TypedDocument typed_document = 1;
idm.api.proto.Chat chat = 2;
}
message StartDeliveryResponse {
enum Status {
OK = 0;
TOO_MANY_DOWNLOADS = 1;
ALREADY_DOWNLOADING = 2;
}
Status status = 1;
}
service Delivery {
rpc start_delivery(StartDeliveryRequest) returns (StartDeliveryResponse) {};
}