Sales
Users
FCM
Labor
Logbook
Calendar
message LogbookEntry {
uint32 businessId = 1;
string businessDay = 2;
repeated Page pages = 3;
}
message Page {
string name = 1;
repeated Field fields = 2;
DatashotConfig datashotConfig = 3;
}
message Field {
enum FieldType {
Toggle = 0;
ShortText = 1;
LongText = 2;
}
string name = 1;
FieldType type = 2;
oneof value {
string valueString = 3;
bool valueBool = 4;
}
}
message DatashotConfig {
enum ComparisonMode {
SDLW = 0;
SDLY = 1;
}
ComparisonMode comparisonMode = 1;
repeated uint32 revenueCenterIds = 2;
repeated uint32 mealPeriodIds = 3;
}
service LogbookApi {
rpc getEntry (GetEntryRequest) returns (LogbookEntry) {};
rpc getEntries (GetEntriesRequest) returns (GetEntriesResponse) {};
rpc createEntry (LogbookEntry) returns (LogbookEntry) {};
rpc updateEntry (LogbookEntry) returns (LogbookEntry) {};
}
message GetEntryRequest {
uint32 businessId = 1;
string businessDay = 2;
}
message GetEntriesRequest {
uint32 businessId = 1;
}
message GetEntriesResponse {
repeated LogbookEntry entries = 1;
}
Logbook
Consumers
Web UI Mobile UI