-
resources/qualifications/qualifications.proto
-
-
services/centrum/centrum.proto
-
services/docstore/docstore.proto
-
-
services/qualifications/qualifications.proto
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
username | string | ||
license | string |
Field | Type | Label | Description |
---|---|---|---|
account_id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
provider_name | string | ||
provider | OAuth2Provider | ||
external_id | uint64 | ||
username | string | ||
avatar | string |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
label | string | ||
homepage | string |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
job | string | ||
status | DispatchStatus | optional | |
message | string | @sanitize | |
description | string | optional | @sanitize |
attributes | Attributes | optional | |
x | double | ||
y | double | ||
postal | string | optional | @sanitize |
anon | bool | ||
creator_id | int32 | optional | |
creator | resources.users.User | optional | |
units | DispatchAssignment | repeated | |
references | DispatchReferences | optional |
Field | Type | Label | Description |
---|---|---|---|
dispatch_id | uint64 | @gotags: sql:"primary_key" alias:"dispatch_id" | |
unit_id | uint64 | @gotags: sql:"primary_key" alias:"unit_id" | |
unit | Unit | optional | |
created_at | resources.timestamp.Timestamp | optional | |
expires_at | resources.timestamp.Timestamp | optional |
Field | Type | Label | Description |
---|---|---|---|
dispatch_id | uint64 | ||
job | string | ||
units | DispatchAssignment | repeated |
Field | Type | Label | Description |
---|---|---|---|
target_dispatch_id | uint64 | ||
reference_type | DispatchReferenceType |
Field | Type | Label | Description |
---|---|---|---|
references | DispatchReference | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
dispatch_id | uint64 | ||
unit_id | uint64 | optional | |
unit | Unit | optional | |
status | StatusDispatch | ||
reason | string | optional | @sanitize |
code | string | optional | @sanitize |
user_id | int32 | optional | |
user | resources.users.UserShort | optional | |
x | double | optional | |
y | double | optional | |
postal | string | optional | @sanitize |
Name | Number | Description |
---|---|---|
DISPATCH_REFERENCE_TYPE_UNSPECIFIED | 0 | |
DISPATCH_REFERENCE_TYPE_REFERENCED | 1 | |
DISPATCH_REFERENCE_TYPE_DUPLICATED_BY | 2 | |
DISPATCH_REFERENCE_TYPE_DUPLICATE_OF | 3 |
Name | Number | Description |
---|---|---|
STATUS_DISPATCH_UNSPECIFIED | 0 | |
STATUS_DISPATCH_NEW | 1 | |
STATUS_DISPATCH_UNASSIGNED | 2 | |
STATUS_DISPATCH_UPDATED | 3 | |
STATUS_DISPATCH_UNIT_ASSIGNED | 4 | |
STATUS_DISPATCH_UNIT_UNASSIGNED | 5 | |
STATUS_DISPATCH_UNIT_ACCEPTED | 6 | |
STATUS_DISPATCH_UNIT_DECLINED | 7 | |
STATUS_DISPATCH_EN_ROUTE | 8 | |
STATUS_DISPATCH_ON_SCENE | 9 | |
STATUS_DISPATCH_NEED_ASSISTANCE | 10 | |
STATUS_DISPATCH_COMPLETED | 11 | |
STATUS_DISPATCH_CANCELLED | 12 | |
STATUS_DISPATCH_ARCHIVED | 13 |
Name | Number | Description |
---|---|---|
TAKE_DISPATCH_RESP_UNSPECIFIED | 0 | |
TAKE_DISPATCH_RESP_TIMEOUT | 1 | |
TAKE_DISPATCH_RESP_ACCEPTED | 2 | |
TAKE_DISPATCH_RESP_DECLINED | 3 |
Field | Type | Label | Description |
---|---|---|---|
list | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
job | string | ||
disponents | resources.users.UserShort | repeated |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 | ||
job | string | ||
user_id | int32 | ||
created_at | resources.timestamp.Timestamp |
Field | Type | Label | Description |
---|---|---|---|
unit_status | string | repeated | |
dispatch_status | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
job | string | ||
enabled | bool | ||
mode | CentrumMode | ||
fallback_mode | CentrumMode | ||
predefined_status | PredefinedStatus | optional | |
timings | Timings |
Field | Type | Label | Description |
---|---|---|---|
dispatch_max_wait | int64 |
Name | Number | Description |
---|---|---|
CENTRUM_MODE_UNSPECIFIED | 0 | |
CENTRUM_MODE_MANUAL | 1 | |
CENTRUM_MODE_CENTRAL_COMMAND | 2 | |
CENTRUM_MODE_AUTO_ROUND_ROBIN | 3 | |
CENTRUM_MODE_SIMPLIFIED | 4 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
job | string | ||
name | string | @sanitize | |
initials | string | @sanitize | |
color | string | ||
description | string | optional | @sanitize |
status | UnitStatus | optional | |
users | UnitAssignment | repeated | |
attributes | Attributes | optional | |
home_postal | string | optional |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 | @gotags: sql:"primary_key" alias:"unit_id" | |
user_id | int32 | @gotags: sql:"primary_key" alias:"user_id" | |
user | resources.users.UserShort | optional |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 | ||
job | string | ||
users | UnitAssignment | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
unit_id | uint64 | ||
unit | Unit | optional | |
status | StatusUnit | ||
reason | string | optional | @sanitize |
code | string | optional | @sanitize |
user_id | int32 | optional | |
user | resources.users.UserShort | optional | |
x | double | optional | |
y | double | optional | |
postal | string | optional | @sanitize |
creator_id | int32 | optional | |
creator | resources.users.UserShort | optional |
Name | Number | Description |
---|---|---|
STATUS_UNIT_UNSPECIFIED | 0 | |
STATUS_UNIT_UNKNOWN | 1 | |
STATUS_UNIT_USER_ADDED | 2 | |
STATUS_UNIT_USER_REMOVED | 3 | |
STATUS_UNIT_UNAVAILABLE | 4 | |
STATUS_UNIT_AVAILABLE | 5 | |
STATUS_UNIT_ON_BREAK | 6 | |
STATUS_UNIT_BUSY | 7 |
Field | Type | Label | Description |
---|---|---|---|
column | string | ||
desc | bool |
Field | Type | Label | Description |
---|---|---|---|
offset | int64 | ||
page_size | int64 | optional |
Field | Type | Label | Description |
---|---|---|---|
total_count | int64 | ||
offset | int64 | ||
end | int64 | ||
page_size | int64 |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
parameters | TranslateItem.ParametersEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | string |
Field | Type | Label | Description |
---|---|---|---|
jobs | DocumentJobAccess | repeated | @gotags: alias:"job_access" |
users | DocumentUserAccess | repeated | @gotags: alias:"user_access" |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
document_id | uint64 | ||
job | string | @gotags: alias:"job" | |
job_label | string | optional | @gotags: alias:"job_label" |
minimum_grade | int32 | @gotags: alias:"minimum_grade" | |
job_grade_label | string | optional | @gotags: alias:"job_grade_label" |
access | AccessLevel | @gotags: alias:"access" | |
required | bool | optional | @gotags: alias:"required" |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
document_id | uint64 | ||
user_id | int32 | ||
user | resources.users.UserShort | optional | |
access | AccessLevel | @gotags: alias:"access" | |
required | bool | optional | @gotags: alias:"required" |
Name | Number | Description |
---|---|---|
ACCESS_LEVEL_UNSPECIFIED | 0 | |
ACCESS_LEVEL_BLOCKED | 1 | |
ACCESS_LEVEL_VIEW | 2 | |
ACCESS_LEVEL_COMMENT | 3 | |
ACCESS_LEVEL_STATUS | 4 | |
ACCESS_LEVEL_ACCESS | 5 | |
ACCESS_LEVEL_EDIT | 6 |
Name | Number | Description |
---|---|---|
ACCESS_LEVEL_UPDATE_MODE_UNSPECIFIED | 0 | |
ACCESS_LEVEL_UPDATE_MODE_UPDATE | 1 | |
ACCESS_LEVEL_UPDATE_MODE_DELETE | 2 | |
ACCESS_LEVEL_UPDATE_MODE_CLEAR | 3 |
Field | Type | Label | Description |
---|---|---|---|
level | AccessLevel |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | ||
document_id | uint64 | ||
activity_type | DocActivityType | ||
creator_id | int32 | optional | |
creator | resources.users.UserShort | optional | @gotags: alias:"creator" |
creator_job | string | ||
creator_job_label | string | optional | |
reason | string | optional | |
data | DocActivityData |
Field | Type | Label | Description |
---|---|---|---|
updated | DocUpdated | ||
owner_changed | DocOwnerChanged | ||
access_updated | DocumentAccess | ||
access_requested | DocAccessRequested |
Field | Type | Label | Description |
---|---|---|---|
new_owner_id | int32 | ||
new_owner | resources.users.UserShort |
Field | Type | Label | Description |
---|---|---|---|
title_diff | string | optional | |
content_diff | string | optional | |
state_diff | string | optional |
Name | Number | Description |
---|---|---|
DOC_ACTIVITY_TYPE_UNSPECIFIED | 0 | |
DOC_ACTIVITY_TYPE_CREATED | 1 | Base |
DOC_ACTIVITY_TYPE_STATUS_OPEN | 2 | |
DOC_ACTIVITY_TYPE_STATUS_CLOSED | 3 | |
DOC_ACTIVITY_TYPE_UPDATED | 4 | |
DOC_ACTIVITY_TYPE_RELATIONS_UPDATED | 5 | |
DOC_ACTIVITY_TYPE_REFERENCES_UPDATED | 6 | |
DOC_ACTIVITY_TYPE_ACCESS_UPDATED | 7 | |
DOC_ACTIVITY_TYPE_OWNER_CHANGED | 8 | |
DOC_ACTIVITY_TYPE_DELETED | 9 | |
DOC_ACTIVITY_TYPE_COMMENT_ADDED | 10 | Comments |
DOC_ACTIVITY_TYPE_COMMENT_UPDATED | 11 | |
DOC_ACTIVITY_TYPE_COMMENT_DELETED | 12 | |
DOC_ACTIVITY_TYPE_REQUESTED_ACCESS | 13 | Requests |
DOC_ACTIVITY_TYPE_REQUESTED_CLOSURE | 14 | |
DOC_ACTIVITY_TYPE_REQUESTED_OPENING | 15 | |
DOC_ACTIVITY_TYPE_REQUESTED_UPDATE | 16 | |
DOC_ACTIVITY_TYPE_REQUESTED_OWNER_CHANGE | 17 | |
DOC_ACTIVITY_TYPE_REQUESTED_DELETION | 18 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
name | string | @sanitize | |
description | string | optional | @sanitize |
job | string | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
document_id | uint64 | ||
comment | string | @sanitize: method=StripTags | |
creator_id | int32 | optional | |
creator | resources.users.UserShort | optional | @gotags: alias:"creator" |
creator_job | string |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | ||
updated_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
category_id | uint64 | optional | |
category | Category | optional | @gotags: alias:"category" |
title | string | @sanitize | |
content_type | DocContentType | @gotags: alias:"content_type" | |
content | string | @sanitize | |
data | string | optional | @sanitize |
@gotags: alias:"data" | | creator_id | int32 | optional | @gotags: alias:"creator_id" | | creator | resources.users.UserShort | optional | @gotags: alias:"creator" | | creator_job | string | | | | state | string | | @sanitize | | closed | bool | | | | public | bool | | | | template_id | uint64 | optional | |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | optional | |
created_at | resources.timestamp.Timestamp | optional | |
source_document_id | uint64 | @gotags: alias:"source_document_id" | |
source_document | DocumentShort | optional | @gotags: alias:"source_document" |
reference | DocReference | @gotags: alias:"reference" | |
target_document_id | uint64 | @gotags: alias:"target_document_id" | |
target_document | DocumentShort | optional | @gotags: alias:"target_document" |
creator_id | int32 | optional | @gotags: alias:"creator_id" |
creator | resources.users.UserShort | optional | @gotags: alias:"ref_creator" |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | optional | |
created_at | resources.timestamp.Timestamp | optional | |
document_id | uint64 | ||
document | DocumentShort | optional | @gotags: alias:"document" |
source_user_id | int32 | @gotags: alias:"source_user_id" | |
source_user | resources.users.UserShort | optional | @gotags: alias:"source_user" |
relation | DocRelation | @gotags: alias:"relation" | |
target_user_id | int32 | @gotags: alias:"target_user_id" | |
target_user | resources.users.UserShort | optional | @gotags: alias:"target_user" |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | ||
updated_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
category_id | uint64 | optional | |
category | Category | optional | @gotags: alias:"category" |
title | string | @sanitize | |
content_type | DocContentType | @gotags: alias:"content_type" | |
content | string | @sanitize | |
creator_id | int32 | optional | @gotags: alias:"creator_id" |
creator | resources.users.UserShort | optional | @gotags: alias:"creator" |
creator_job | string | @gotags: alias:"creator_job" | |
state | string | @sanitize |
@gotags: alias:"state" | | closed | bool | | | | public | bool | | |
Name | Number | Description |
---|---|---|
DOC_CONTENT_TYPE_UNSPECIFIED | 0 | |
DOC_CONTENT_TYPE_HTML | 1 | |
DOC_CONTENT_TYPE_PLAIN | 2 |
Name | Number | Description |
---|---|---|
DOC_REFERENCE_UNSPECIFIED | 0 | |
DOC_REFERENCE_LINKED | 1 | |
DOC_REFERENCE_SOLVES | 2 | |
DOC_REFERENCE_CLOSES | 3 | |
DOC_REFERENCE_DEPRECATES | 4 |
Name | Number | Description |
---|---|---|
DOC_RELATION_UNSPECIFIED | 0 | |
DOC_RELATION_MENTIONED | 1 | |
DOC_RELATION_TARGETS | 2 | |
DOC_RELATION_CAUSED | 3 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | ||
updated_at | resources.timestamp.Timestamp | ||
document_id | uint64 | ||
request_type | DocActivityType | ||
creator_id | int32 | optional | |
creator | resources.users.UserShort | optional | @gotags: alias:"creator" |
creator_job | string | ||
creator_job_label | string | optional | |
reason | string | optional | |
data | DocActivityData | ||
accepted | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
required | bool | optional | |
min | int32 | optional | |
max | int32 | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
category | Category | @gotags: alias:"category" | |
weight | uint32 | ||
title | string | @sanitize | |
description | string | @sanitize | |
content_title | string | @gotags: alias:"content_title" | |
content | string | @gotags: alias:"content" | |
state | string | @gotags: alias:"state" | |
schema | TemplateSchema | @gotags: alias:"schema" | |
creator_job | string | ||
creator_job_label | string | optional | |
job_access | TemplateJobAccess | repeated | |
content_access | DocumentAccess | @gotags: alias:"access" |
Field | Type | Label | Description |
---|---|---|---|
activeChar | resources.users.User | ||
documents | DocumentShort | repeated | |
users | resources.users.UserShort | repeated | |
vehicles | resources.vehicles.Vehicle | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
template_id | uint64 | @gotags: alias:"template_id" | |
job | string | @gotags: alias:"job" | |
job_label | string | optional | @gotags: alias:"job_label" |
minimum_grade | int32 | @gotags: alias:"minimum_grade" | |
job_grade_label | string | optional | @gotags: alias:"job_grade_label" |
access | AccessLevel | @gotags: alias:"access" |
Field | Type | Label | Description |
---|---|---|---|
documents | ObjectSpecs | optional | |
users | ObjectSpecs | optional | |
vehicles | ObjectSpecs | optional |
Field | Type | Label | Description |
---|---|---|---|
requirements | TemplateRequirements |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
category | Category | @gotags: alias:"category" | |
weight | uint32 | ||
title | string | @sanitize | |
description | string | @sanitize | |
schema | TemplateSchema | @gotags: alias:"schema" | |
creator_job | string | ||
creator_job_label | string | optional |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 | @gotags: alias:"id" | |
identifier | string | ||
job | string | ||
job_label | string | optional | |
job_grade | int32 | ||
job_grade_label | string | optional | |
firstname | string | ||
lastname | string | ||
dateofbirth | string | ||
phone_number | string | optional | |
avatar | resources.filestore.File | optional | |
props | JobsUserProps | @gotags: alias:"fivenet_jobs_user_props" |
Field | Type | Label | Description |
---|---|---|---|
absence_begin | resources.timestamp.Timestamp | ||
absence_end | resources.timestamp.Timestamp |
Field | Type | Label | Description |
---|---|---|---|
grade | int32 | ||
grade_label | string |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
job | string | ||
source_user_id | int32 | ||
source_user | Colleague | @gotags: alias:"source_user" | |
target_user_id | int32 | ||
target_user | Colleague | @gotags: alias:"target_user" | |
activity_type | JobsUserActivityType | ||
reason | string | @sanitize | |
data | JobsUserActivityData |
Field | Type | Label | Description |
---|---|---|---|
absence_date | ColleagueAbsenceDate | ||
grade_change | ColleagueGradeChange |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 | ||
absence_begin | resources.timestamp.Timestamp | optional | |
absence_end | resources.timestamp.Timestamp | optional |
Name | Number | Description |
---|---|---|
JOBS_USER_ACTIVITY_TYPE_UNSPECIFIED | 0 | |
JOBS_USER_ACTIVITY_TYPE_HIRED | 1 | |
JOBS_USER_ACTIVITY_TYPE_FIRED | 2 | |
JOBS_USER_ACTIVITY_TYPE_PROMOTED | 3 | |
JOBS_USER_ACTIVITY_TYPE_DEMOTED | 4 | |
JOBS_USER_ACTIVITY_TYPE_ABSENCE_DATE | 5 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
job | string | ||
type | ConductType | ||
message | string | @sanitize | |
expires_at | resources.timestamp.Timestamp | optional | |
target_user_id | int32 | ||
target_user | Colleague | optional | @gotags: alias:"target_user" |
creator_id | int32 | ||
creator | Colleague | optional | @gotags: alias:"creator" |
Name | Number | Description |
---|---|---|
CONDUCT_TYPE_UNSPECIFIED | 0 | |
CONDUCT_TYPE_NEUTRAL | 1 | |
CONDUCT_TYPE_POSITIVE | 2 | |
CONDUCT_TYPE_NEGATIVE | 3 | |
CONDUCT_TYPE_WARNING | 4 | |
CONDUCT_TYPE_SUSPENSION | 5 | |
CONDUCT_TYPE_NOTE | 6 |
Field | Type | Label | Description |
---|---|---|---|
job | string | ||
date | resources.timestamp.Timestamp | ||
user_id | int32 | ||
user | Colleague | optional | |
start_time | resources.timestamp.Timestamp | optional | |
end_time | resources.timestamp.Timestamp | optional | |
spent_time | float |
Field | Type | Label | Description |
---|---|---|---|
job | string | ||
spent_time_sum | float | ||
spent_time_avg | float | ||
spent_time_max | float |
Field | Type | Label | Description |
---|---|---|---|
year | int32 | ||
calendar_week | int32 | ||
sum | float | ||
avg | float | ||
max | float |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"law.id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
lawbook_id | uint64 | ||
name | string | @sanitize | |
description | string | optional | @sanitize |
fine | uint32 | optional | |
detention_time | uint32 | optional | |
stvo_points | uint32 | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
name | string | @sanitize | |
description | string | optional | @sanitize |
laws | Law | repeated |
Field | Type | Label | Description |
---|---|---|---|
radius | int32 | ||
opacity | float | optional |
Field | Type | Label | Description |
---|---|---|---|
x | double | ||
y | double |
Field | Type | Label | Description |
---|---|---|---|
icon | string |
Field | Type | Label | Description |
---|---|---|---|
circle | CircleMarker | ||
icon | IconMarker |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
job | string | ||
job_label | string | ||
name | string | @sanitize | |
description | string | optional | @sanitize |
x | double | ||
y | double | ||
postal | string | optional | @sanitize |
color | string | optional | |
icon | string | optional |
Field | Type | Label | Description |
---|---|---|---|
info | MarkerInfo | ||
type | MarkerType | @gotags: alias:"markerType" | |
expires_at | resources.timestamp.Timestamp | optional | |
data | MarkerData | @gotags: alias:"markerData" | |
creator_id | int32 | optional | |
creator | resources.users.UserShort | optional |
Field | Type | Label | Description |
---|---|---|---|
info | MarkerInfo | ||
user_id | int32 | ||
user | resources.users.UserShort | @gotags: alias:"user" | |
unit_id | uint64 | optional | |
unit | resources.centrum.Unit | optional |
Name | Number | Description |
---|---|---|
MARKER_TYPE_UNSPECIFIED | 0 | |
MARKER_TYPE_DOT | 1 | |
MARKER_TYPE_CIRCLE | 2 | |
MARKER_TYPE_ICON | 3 |
Field | Type | Label | Description |
---|---|---|---|
added | UserMarker | repeated | |
removed | UserMarker | repeated |
Field | Type | Label | Description |
---|---|---|---|
link | Link | optional | |
caused_by | resources.users.UserShort | optional |
Field | Type | Label | Description |
---|---|---|---|
to | string | ||
title | string | optional | |
external | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | ||
read_at | resources.timestamp.Timestamp | ||
user_id | int32 | ||
title | resources.common.TranslateItem | @sanitize | |
type | string | optional | |
content | resources.common.TranslateItem | @sanitize | |
category | NotificationCategory | ||
data | Data | optional | |
starred | bool | optional |
Name | Number | Description |
---|---|---|
NOTIFICATION_CATEGORY_UNSPECIFIED | 0 | |
NOTIFICATION_CATEGORY_GENERAL | 1 | |
NOTIFICATION_CATEGORY_DOCUMENT | 2 |
Field | Type | Label | Description |
---|---|---|---|
string_list | StringList | ||
job_list | StringList | ||
job_grade_list | JobGradeList |
Field | Type | Label | Description |
---|---|---|---|
jobs | JobGradeList.JobsEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
key | string | ||
value | int32 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
category | string | ||
name | string | ||
guard_name | string | ||
val | bool |
Field | Type | Label | Description |
---|---|---|---|
role_id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
attr_id | uint64 | ||
permission_id | uint64 | ||
category | string | ||
name | string | ||
key | string | ||
type | string | ||
valid_values | AttributeValues | ||
value | AttributeValues |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
job | string | ||
job_label | string | optional | |
grade | int32 | ||
job_grade_label | string | optional | |
permissions | Permission | repeated | |
attributes | RoleAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
role_id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
attr_id | uint64 | ||
permission_id | uint64 | ||
category | string | ||
name | string | ||
key | string | ||
type | string | ||
valid_values | AttributeValues | ||
value | AttributeValues | ||
max_values | AttributeValues | optional |
Field | Type | Label | Description |
---|---|---|---|
strings | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: alias:"id" | |
created_at | resources.timestamp.Timestamp | ||
user_id | uint64 | @gotags: alias:"user_id" | |
user | resources.users.UserShort | optional | |
user_job | string | @gotags: alias:"user_job" | |
target_user_id | int32 | optional | @gotags: alias:"target_user_id" |
target_user | resources.users.UserShort | optional | |
target_user_job | string | @gotags: alias:"target_user_job" | |
service | string | @gotags: alias:"service" | |
method | string | @gotags: alias:"method" | |
state | EventType | @gotags: alias:"state" | |
data | string | optional | @gotags: alias:"data" |
Name | Number | Description |
---|---|---|
EVENT_TYPE_UNSPECIFIED | 0 | |
EVENT_TYPE_ERRORED | 1 | |
EVENT_TYPE_VIEWED | 2 | |
EVENT_TYPE_CREATED | 3 | |
EVENT_TYPE_UPDATED | 4 | |
EVENT_TYPE_DELETED | 5 |
Field | Type | Label | Description |
---|---|---|---|
auth | Auth | ||
perms | Perms | ||
website | Website | ||
job_info | JobInfo | ||
user_tracker | UserTracker | ||
discord | Discord |
Field | Type | Label | Description |
---|---|---|---|
signup_enabled | bool |
Field | Type | Label | Description |
---|---|---|---|
enabled | bool | ||
sync_interval | google.protobuf.Duration | ||
invite_url | string | optional |
Field | Type | Label | Description |
---|---|---|---|
unemployed_job | UnemployedJob | ||
public_jobs | string | repeated | |
hidden_jobs | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
privacy_policy | string | optional | |
imprint | string | optional |
Field | Type | Label | Description |
---|---|---|---|
category | string | ||
name | string |
Field | Type | Label | Description |
---|---|---|---|
default | Perm | repeated |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
grade | int32 |
Field | Type | Label | Description |
---|---|---|---|
refresh_time | google.protobuf.Duration | ||
db_refresh_time | google.protobuf.Duration | ||
livemap_jobs | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
links | Links |
Timestamp for storage messages. We've defined a new local type wrapper of google.protobuf.Timestamp so we can implement sql.Scanner and sql.Valuer interfaces. See: https://golang.org/pkg/database/sql/#Scanner https://golang.org/pkg/database/sql/driver/#Valuer
Field | Type | Label | Description |
---|---|---|---|
timestamp | google.protobuf.Timestamp |
Field | Type | Label | Description |
---|---|---|---|
user_info_sync | bool | ||
user_info_sync_settings | UserInfoSyncSettings | ||
status_log | bool | ||
status_log_settings | StatusLogSettings | ||
jobs_absence | bool | ||
jobs_absence_settings | JobsAbsenceSettings | ||
group_sync_settings | GroupSyncSettings |
Field | Type | Label | Description |
---|---|---|---|
ignored_role_ids | string | repeated |
Field | Type | Label | Description |
---|---|---|---|
name | string | @gotags: sql:"primary_key" alias:"name" | |
label | string | ||
grades | JobGrade | repeated |
Field | Type | Label | Description |
---|---|---|---|
job_name | string | optional | |
grade | int32 | ||
label | string |
Field | Type | Label | Description |
---|---|---|---|
job | string | ||
job_label | string | optional | |
theme | string | ||
livemap_marker_color | string | ||
quick_buttons | QuickButtons | ||
radio_frequency | string | optional | |
discord_guild_id | uint64 | optional | |
discord_last_sync | resources.timestamp.Timestamp | optional | |
discord_sync_settings | DiscordSyncSettings | ||
motd | string | optional | |
logo_url | resources.filestore.File | optional | |
settings | JobSettings |
Field | Type | Label | Description |
---|---|---|---|
absence_role | string |
Field | Type | Label | Description |
---|---|---|---|
penalty_calculator | bool | ||
body_checkup | bool |
Field | Type | Label | Description |
---|---|---|---|
channel_id | string |
Field | Type | Label | Description |
---|---|---|---|
employee_role_enabled | bool | ||
employee_role_format | string | ||
grade_role_format | string | ||
unemployed_enabled | bool | ||
unemployed_mode | UserInfoSyncUnemployedMode | ||
unemployed_role_name | string |
Name | Number | Description |
---|---|---|
USER_INFO_SYNC_UNEMPLOYED_MODE_UNSPECIFIED | 0 | |
USER_INFO_SYNC_UNEMPLOYED_MODE_GIVE_ROLE | 1 | |
USER_INFO_SYNC_UNEMPLOYED_MODE_KICK | 2 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
job | string | optional | |
name | string | ||
color | string |
Field | Type | Label | Description |
---|---|---|---|
list | CitizenAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
type | string | ||
label | string |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 | @gotags: alias:"id" | |
identifier | string | ||
job | string | ||
job_label | string | optional | |
job_grade | int32 | ||
job_grade_label | string | optional | |
firstname | string | ||
lastname | string | ||
dateofbirth | string | ||
sex | string | optional | |
height | string | optional | |
phone_number | string | optional | |
visum | int32 | optional | |
playtime | int32 | optional | |
props | UserProps | @gotags: alias:"fivenet_user_props" | |
licenses | License | repeated | @gotags: alias:"user_licenses" |
avatar | resources.filestore.File | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: alias:"fivenet_user_activity.id" | |
type | UserActivityType | @gotags: alias:"fivenet_user_activity.type" | |
created_at | resources.timestamp.Timestamp | @gotags: alias:"fivenet_user_activity.created_at" | |
source_user | UserShort | @gotags: alias:"source_user" | |
target_user | UserShort | @gotags: alias:"target_user" | |
key | string | @sanitize |
@gotags: alias:"fivenet_user_activity.key" | | old_value | string | | @gotags: alias:"fivenet_user_activity.old_value" | | new_value | string | | @gotags: alias:"fivenet_user_activity.new_value" | | reason | string | | @sanitize
@gotags: alias:"fivenet_user_activity.reason" |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 | ||
wanted | bool | optional | |
job_name | string | optional | @gotags: alias:"job" |
job | Job | optional | |
job_grade_number | int32 | optional | @gotags: alias:"job_grade" |
job_grade | JobGrade | optional | |
traffic_infraction_points | uint32 | optional | |
open_fines | int64 | optional | |
blood_type | string | optional | |
mug_shot | resources.filestore.File | optional | |
attributes | CitizenAttributes | optional |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 | @gotags: alias:"id" | |
identifier | string | ||
job | string | ||
job_label | string | optional | |
job_grade | int32 | ||
job_grade_label | string | optional | |
firstname | string | ||
lastname | string | ||
dateofbirth | string | ||
phone_number | string | optional | |
avatar | resources.filestore.File | optional |
Name | Number | Description |
---|---|---|
USER_ACTIVITY_TYPE_UNSPECIFIED | 0 | |
USER_ACTIVITY_TYPE_CHANGED | 1 | |
USER_ACTIVITY_TYPE_MENTIONED | 2 | |
USER_ACTIVITY_TYPE_CREATED | 3 |
Field | Type | Label | Description |
---|---|---|---|
plate | string | ||
model | string | optional | |
type | string | ||
owner | resources.users.UserShort |
Field | Type | Label | Description |
---|---|---|---|
url | string | optional | |
data | bytes | ||
delete | bool | optional | |
content_type | string | optional | |
extension | string | optional |
Field | Type | Label | Description |
---|---|---|---|
name | string | ||
last_modified | resources.timestamp.Timestamp | optional | |
size | int64 | ||
content_type | string |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
job | string | ||
weight | uint32 | ||
closed | bool | ||
abbreviation | string | @sanitize: method=StripTags | |
title | string | @sanitize | |
description | string | optional | @sanitize: method=StripTags |
content | string | @sanitize | |
creator_id | int32 | ||
creator | resources.users.UserShort | optional | @gotags: alias:"creator" |
creator_job | string | ||
access | QualificationAccess | ||
requirements | QualificationRequirement | repeated | |
discord_settings | QualificationDiscordSettings | optional | |
result | QualificationResult | optional | |
request | QualificationRequest | optional |
Field | Type | Label | Description |
---|---|---|---|
jobs | QualificationJobAccess | repeated |
Field | Type | Label | Description |
---|---|---|---|
sync_enabled | bool | ||
role_name | string | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
qualification_id | uint64 | ||
job | string | ||
job_label | string | optional | |
minimum_grade | int32 | ||
job_grade_label | string | optional | |
access | AccessLevel |
Field | Type | Label | Description |
---|---|---|---|
created_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
qualification_id | uint64 | ||
qualification | QualificationShort | optional | |
user_id | int32 | ||
user | resources.users.UserShort | @gotags: alias:"user" | |
user_comment | string | optional | @sanitize: method=StripTags |
status | RequestStatus | optional | |
approved_at | resources.timestamp.Timestamp | optional | |
approver_comment | string | optional | @sanitize: method=StripTags |
approver_id | int32 | optional | |
approver | resources.users.UserShort | optional | @gotags: alias:"approver" |
approver_job | string | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
qualification_id | uint64 | ||
target_qualification_id | uint64 | ||
target_qualification | QualificationShort | optional | @gotags: alias:"targetqualification.*" |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
created_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
qualification_id | uint64 | ||
qualification | QualificationShort | optional | |
user_id | int32 | ||
user | resources.users.UserShort | @gotags: alias:"user" | |
status | ResultStatus | ||
score | uint32 | optional | |
summary | string | @sanitize: method=StripTags | |
creator_id | int32 | ||
creator | resources.users.UserShort | @gotags: alias:"creator" | |
creator_job | string |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | @gotags: sql:"primary_key" alias:"id" | |
created_at | resources.timestamp.Timestamp | optional | |
updated_at | resources.timestamp.Timestamp | optional | |
deleted_at | resources.timestamp.Timestamp | optional | |
job | string | ||
weight | uint32 | ||
closed | bool | ||
abbreviation | string | @sanitize: method=StripTags | |
title | string | @sanitize | |
description | string | optional | @sanitize: method=StripTags |
creator_id | int32 | ||
creator | resources.users.UserShort | optional | @gotags: alias:"creator" |
creator_job | string | ||
requirements | QualificationRequirement | repeated | |
result | QualificationResult | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
qualification_id | uint64 | ||
question | string | ||
data | TestQuestionData |
Field | Type | Label | Description |
---|---|---|---|
separator | bool | ||
yesno | bool | ||
short_text | TestQuestionDataText | ||
long_text | TestQuestionDataText | ||
multiple_choice | TestQuestionDataMultipleChoice |
TODO
Field | Type | Label | Description |
---|---|---|---|
min_length | int32 | ||
max_length | int32 |
Name | Number | Description |
---|---|---|
ACCESS_LEVEL_UNSPECIFIED | 0 | |
ACCESS_LEVEL_BLOCKED | 1 | |
ACCESS_LEVEL_VIEW | 2 | |
ACCESS_LEVEL_REQUEST | 3 | |
ACCESS_LEVEL_TAKE | 4 | |
ACCESS_LEVEL_GRADE | 5 | |
ACCESS_LEVEL_MANAGE | 6 | |
ACCESS_LEVEL_EDIT | 7 |
Name | Number | Description |
---|---|---|
ACCESS_LEVEL_UPDATE_MODE_UNSPECIFIED | 0 | |
ACCESS_LEVEL_UPDATE_MODE_UPDATE | 1 | |
ACCESS_LEVEL_UPDATE_MODE_DELETE | 2 | |
ACCESS_LEVEL_UPDATE_MODE_CLEAR | 3 |
Name | Number | Description |
---|---|---|
REQUEST_STATUS_UNSPECIFIED | 0 | |
REQUEST_STATUS_PENDING | 1 | |
REQUEST_STATUS_DENIED | 2 | |
REQUEST_STATUS_ACCEPTED | 3 | |
REQUEST_STATUS_COMPLETED | 4 |
Name | Number | Description |
---|---|---|
RESULT_STATUS_UNSPECIFIED | 0 | |
RESULT_STATUS_PENDING | 1 | |
RESULT_STATUS_FAILED | 2 | |
RESULT_STATUS_SUCCESSFUL | 3 |
Field | Type | Label | Description |
---|---|---|---|
current | string | ||
new | string |
Field | Type | Label | Description |
---|---|---|---|
token | string | ||
expires | resources.timestamp.Timestamp |
Field | Type | Label | Description |
---|---|---|---|
current | string | ||
new | string |
Field | Type | Label | Description |
---|---|---|---|
char_id | int32 |
Field | Type | Label | Description |
---|---|---|---|
token | string | ||
expires | resources.timestamp.Timestamp | ||
permissions | string | repeated | |
job_props | resources.users.JobProps | ||
char | resources.users.User |
Field | Type | Label | Description |
---|---|---|---|
reg_token | string | ||
username | string | ||
password | string |
Field | Type | Label | Description |
---|---|---|---|
account_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
provider | string |
Field | Type | Label | Description |
---|---|---|---|
success | bool |
Field | Type | Label | Description |
---|---|---|---|
reg_token | string | ||
new | string |
Field | Type | Label | Description |
---|---|---|---|
account | resources.accounts.Account | ||
oauth2_providers | resources.accounts.OAuth2Provider | repeated | |
oauth2_connections | resources.accounts.OAuth2Account | repeated |
Field | Type | Label | Description |
---|---|---|---|
chars | resources.users.User | repeated |
Field | Type | Label | Description |
---|---|---|---|
username | string | ||
password | string |
Field | Type | Label | Description |
---|---|---|---|
token | string | ||
expires | resources.timestamp.Timestamp | ||
account_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
success | bool |
Field | Type | Label | Description |
---|---|---|---|
superuser | bool | ||
job | string | optional |
Field | Type | Label | Description |
---|---|---|---|
token | string | ||
expires | resources.timestamp.Timestamp | ||
job_props | resources.users.JobProps | optional | |
char | resources.users.User |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Login | LoginRequest | LoginResponse | |
Logout | LogoutRequest | LogoutResponse | |
CreateAccount | CreateAccountRequest | CreateAccountResponse | |
ChangeUsername | ChangeUsernameRequest | ChangeUsernameResponse | |
ChangePassword | ChangePasswordRequest | ChangePasswordResponse | |
ForgotPassword | ForgotPasswordRequest | ForgotPasswordResponse | |
GetCharacters | GetCharactersRequest | GetCharactersResponse | |
ChooseCharacter | ChooseCharacterRequest | ChooseCharacterResponse | @perm |
GetAccountInfo | GetAccountInfoRequest | GetAccountInfoResponse | |
DeleteOAuth2Connection | DeleteOAuth2ConnectionRequest | DeleteOAuth2ConnectionResponse | |
SetSuperUserMode | SetSuperUserModeRequest | SetSuperUserModeResponse |
Field | Type | Label | Description |
---|---|---|---|
dispatch_id | uint64 | ||
to_add | uint64 | repeated | |
to_remove | uint64 | repeated | |
forced | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 | ||
to_add | int32 | repeated | |
to_remove | int32 | repeated |
Field | Type | Label | Description |
---|---|---|---|
dispatch | resources.centrum.Dispatch |
Field | Type | Label | Description |
---|---|---|---|
dispatch | resources.centrum.Dispatch |
Field | Type | Label | Description |
---|---|---|---|
unit | resources.centrum.Unit |
Field | Type | Label | Description |
---|---|---|---|
unit | resources.centrum.Unit |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
dispatch | resources.centrum.Dispatch |
Field | Type | Label | Description |
---|---|---|---|
settings | resources.centrum.Settings |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 | optional |
Field | Type | Label | Description |
---|---|---|---|
unit | resources.centrum.Unit |
Field | Type | Label | Description |
---|---|---|---|
server_time | resources.timestamp.Timestamp | ||
settings | resources.centrum.Settings | ||
disponents | resources.users.UserShort | repeated | |
own_unit_id | uint64 | optional | |
units | resources.centrum.Unit | repeated | Send the current units and dispatches |
dispatches | resources.centrum.Dispatch | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
activity | resources.centrum.DispatchStatus | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
status | resources.centrum.StatusDispatch | repeated | |
not_status | resources.centrum.StatusDispatch | repeated | |
ids | uint64 | repeated | |
postal | string | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
dispatches | resources.centrum.Dispatch | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
activity | resources.centrum.UnitStatus | repeated |
Field | Type | Label | Description |
---|---|---|---|
status | resources.centrum.StatusUnit | repeated |
Field | Type | Label | Description |
---|---|---|---|
units | resources.centrum.Unit | repeated |
Field | Type | Label | Description |
---|---|---|---|
latest_state | LatestState | ||
settings | resources.centrum.Settings | ||
disponents | resources.centrum.Disponents | ||
unit_created | resources.centrum.Unit | ||
unit_deleted | resources.centrum.Unit | ||
unit_updated | resources.centrum.Unit | ||
unit_status | resources.centrum.UnitStatus | ||
dispatch_created | resources.centrum.Dispatch | ||
dispatch_deleted | resources.centrum.Dispatch | ||
dispatch_updated | resources.centrum.Dispatch | ||
dispatch_status | resources.centrum.DispatchStatus |
Field | Type | Label | Description |
---|---|---|---|
signon | bool |
Field | Type | Label | Description |
---|---|---|---|
dispatch_ids | uint64 | repeated | |
resp | resources.centrum.TakeDispatchResp | ||
reason | string | optional | @sanitize |
Field | Type | Label | Description |
---|---|---|---|
dispatch | resources.centrum.Dispatch |
Field | Type | Label | Description |
---|---|---|---|
dispatch_id | uint64 | ||
status | resources.centrum.StatusDispatch | ||
reason | string | optional | @sanitize |
code | string | optional | @sanitize |
Field | Type | Label | Description |
---|---|---|---|
settings | resources.centrum.Settings |
Field | Type | Label | Description |
---|---|---|---|
settings | resources.centrum.Settings |
Field | Type | Label | Description |
---|---|---|---|
unit_id | uint64 | ||
status | resources.centrum.StatusUnit | ||
reason | string | optional | @sanitize |
code | string | optional | @sanitize |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 |
Field | Type | Label | Description |
---|---|---|---|
user | resources.users.User |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
search | string | Search params | |
wanted | bool | optional | |
phone_number | string | optional | |
traffic_infraction_points | uint32 | optional | |
dateofbirth | string | optional | |
open_fines | uint64 | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
users | resources.users.User | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
user_id | int32 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
activity | resources.users.UserActivity | repeated |
Field | Type | Label | Description |
---|---|---|---|
attributes | resources.users.CitizenAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
attributes | resources.users.CitizenAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
avatar | resources.filestore.File |
Field | Type | Label | Description |
---|---|---|---|
avatar | resources.filestore.File |
Field | Type | Label | Description |
---|---|---|---|
props | resources.users.UserProps | ||
reason | string | @sanitize |
Field | Type | Label | Description |
---|---|---|---|
props | resources.users.UserProps |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListCitizens | ListCitizensRequest | ListCitizensResponse | @perm: Attrs=Fields/StringList:[]string{"PhoneNumber", "Licenses", "UserProps.Wanted", "UserProps.Job", "UserProps.TrafficInfractionPoints", "UserProps.OpenFines", "UserProps.BloodType", "UserProps.MugShot", "UserProps.Attributes"} |
GetUser | GetUserRequest | GetUserResponse | @perm: Attrs=Jobs/JobGradeList |
ListUserActivity | ListUserActivityRequest | ListUserActivityResponse | @perm: Attrs=Fields/StringList:[]string{"SourceUser", "Own"} |
SetUserProps | SetUserPropsRequest | SetUserPropsResponse | @perm: Attrs=Fields/StringList:[]string{"Wanted", "Job", "TrafficInfractionPoints", "MugShot", "Attributes"} |
SetProfilePicture | SetProfilePictureRequest | SetProfilePictureResponse | @perm: Name=Any |
ManageCitizenAttributes | ManageCitizenAttributesRequest | ManageCitizenAttributesResponse | @perm |
Field | Type | Label | Description |
---|---|---|---|
search | string |
Field | Type | Label | Description |
---|---|---|---|
attributes | resources.users.CitizenAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
search | string | ||
current_job | bool | optional | |
on_duty | bool | optional | |
user_id | int32 | optional |
Field | Type | Label | Description |
---|---|---|---|
users | resources.users.UserShort | repeated | @gotags: alias:"user" |
Field | Type | Label | Description |
---|---|---|---|
search | string |
Field | Type | Label | Description |
---|---|---|---|
categories | resources.documents.Category | repeated |
Field | Type | Label | Description |
---|---|---|---|
search | string | optional | |
exact_match | bool | optional | |
current_job | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
jobs | resources.users.Job | repeated |
Field | Type | Label | Description |
---|---|---|---|
books | resources.laws.LawBook | repeated |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
CompleteCitizens | CompleteCitizensRequest | CompleteCitizensRespoonse | @perm |
CompleteJobs | CompleteJobsRequest | CompleteJobsResponse | @perm |
CompleteDocumentCategories | CompleteDocumentCategoriesRequest | CompleteDocumentCategoriesResponse | @perm: Attrs=Jobs/JobList |
ListLawBooks | ListLawBooksRequest | ListLawBooksResponse | @perm: Name=Any |
CompleteCitizenAttributes | CompleteCitizenAttributesRequest | CompleteCitizenAttributesResponse | @perm: Attrs=Jobs/JobList |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
orderBy | resources.common.database.OrderBy | repeated | |
license_plate | string | optional | Search params |
model | string | optional | |
user_id | int32 | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
vehicles | resources.vehicles.Vehicle | repeated |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListVehicles | ListVehiclesRequest | ListVehiclesResponse | @perm |
Field | Type | Label | Description |
---|---|---|---|
reference | resources.documents.DocumentReference |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
relation | resources.documents.DocumentRelation |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | ||
new_user_id | int32 | optional |
Field | Type | Label | Description |
---|---|---|---|
category | resources.documents.Category |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | ||
request_type | resources.documents.DocActivityType | ||
reason | string | optional | @sanitize |
data | resources.documents.DocActivityData | optional |
Field | Type | Label | Description |
---|---|---|---|
request | resources.documents.DocRequest |
Field | Type | Label | Description |
---|---|---|---|
category_id | uint64 | optional | @gotags: alias:"category_id" |
title | string | @sanitize: method=StripTags |
@gotags: alias:"title" | | content | string | | @sanitize
@gotags: alias:"content" | | content_type | resources.documents.DocContentType | | @gotags: alias:"content_type" | | data | string | optional | @gotags: alias:"data" | | state | string | | @sanitize
@gotags: alias:"state" | | closed | bool | | @gotags: alias:"closed" | | public | bool | | @gotags: alias:"public" | | access | resources.documents.DocumentAccess | optional | | | template_id | uint64 | optional | |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | @gotags: alias:"id" |
Field | Type | Label | Description |
---|---|---|---|
template | resources.documents.Template |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
ids | uint64 | repeated |
Field | Type | Label | Description |
---|---|---|---|
comment_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
request_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | @gotags: alias:"id" |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
comment | resources.documents.Comment |
Field | Type | Label | Description |
---|---|---|---|
comment | resources.documents.Comment |
Comments ===============================================================
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
document_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
comments | resources.documents.Comment | repeated |
Access =====================================================================
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
access | resources.documents.DocumentAccess |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
references | resources.documents.DocumentReference | repeated | @gotags: alias:"reference" |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
relations | resources.documents.DocumentRelation | repeated | @gotags: alias:"relation" |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
document | resources.documents.Document | ||
access | resources.documents.DocumentAccess |
Field | Type | Label | Description |
---|---|---|---|
template_id | uint64 | ||
data | resources.documents.TemplateData | optional | |
render | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
template | resources.documents.Template | ||
rendered | bool |
Categories
Field | Type | Label | Description |
---|---|---|---|
category | resources.documents.Category | repeated |
Document Activity and Requests =============================================
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
document_id | uint64 | ||
activity_types | resources.documents.DocActivityType | repeated | Search |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
activity | resources.documents.DocActivity | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
document_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
requests | resources.documents.DocRequest | repeated |
Documents ==================================================================
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
orderBy | resources.common.database.OrderBy | repeated | |
search | string | optional | Search params |
category_ids | uint64 | repeated | |
creator_ids | int32 | repeated | |
from | resources.timestamp.Timestamp | optional | |
to | resources.timestamp.Timestamp | optional | |
closed | bool | optional | |
document_ids | uint64 | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
documents | resources.documents.DocumentShort | repeated |
Templates ==================================================================
Field | Type | Label | Description |
---|---|---|---|
templates | resources.documents.TemplateShort | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
user_id | int32 | ||
relations | resources.documents.DocRelation | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
relations | resources.documents.DocumentRelation | repeated |
Field | Type | Label | Description |
---|---|---|---|
comment | resources.documents.Comment |
Field | Type | Label | Description |
---|---|---|---|
comment | resources.documents.Comment |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | ||
mode | resources.documents.AccessLevelUpdateMode | ||
access | resources.documents.DocumentAccess |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | ||
closed | bool |
Field | Type | Label | Description |
---|---|---|---|
category | resources.documents.Category |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | ||
request_id | uint64 | ||
reason | string | optional | @sanitize |
data | resources.documents.DocActivityData | optional | |
accepted | bool |
Field | Type | Label | Description |
---|---|---|---|
request | resources.documents.DocRequest |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | @gotags: alias:"id" | |
category_id | uint64 | optional | @gotags: alias:"category_id" |
title | string | @sanitize: method=StripTags |
@gotags: alias:"title" | | content | string | | @sanitize
@gotags: alias:"content" | | content_type | resources.documents.DocContentType | | @gotags: alias:"content_type" | | data | string | optional | @gotags: alias:"data" | | state | string | | @sanitize
@gotags: alias:"state" | | closed | bool | | @gotags: alias:"closed" | | public | bool | | @gotags: alias:"public" | | access | resources.documents.DocumentAccess | optional | |
Field | Type | Label | Description |
---|---|---|---|
document_id | uint64 | @gotags: alias:"id" |
Field | Type | Label | Description |
---|---|---|---|
template | resources.documents.Template |
Field | Type | Label | Description |
---|---|---|---|
template | resources.documents.Template |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListTemplates | ListTemplatesRequest | ListTemplatesResponse | @perm |
GetTemplate | GetTemplateRequest | GetTemplateResponse | @perm: Name=ListTemplates |
CreateTemplate | CreateTemplateRequest | CreateTemplateResponse | @perm |
UpdateTemplate | UpdateTemplateRequest | UpdateTemplateResponse | @perm: Name=CreateTemplate |
DeleteTemplate | DeleteTemplateRequest | DeleteTemplateResponse | @perm |
ListDocuments | ListDocumentsRequest | ListDocumentsResponse | @perm |
GetDocument | GetDocumentRequest | GetDocumentResponse | @perm |
CreateDocument | CreateDocumentRequest | CreateDocumentResponse | @perm |
UpdateDocument | UpdateDocumentRequest | UpdateDocumentResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
DeleteDocument | DeleteDocumentRequest | DeleteDocumentResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
ToggleDocument | ToggleDocumentRequest | ToggleDocumentResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
ChangeDocumentOwner | ChangeDocumentOwnerRequest | ChangeDocumentOwnerResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
GetDocumentReferences | GetDocumentReferencesRequest | GetDocumentReferencesResponse | @perm: Name=GetDocument |
GetDocumentRelations | GetDocumentRelationsRequest | GetDocumentRelationsResponse | @perm: Name=GetDocument |
AddDocumentReference | AddDocumentReferenceRequest | AddDocumentReferenceResponse | @perm |
RemoveDocumentReference | RemoveDocumentReferenceRequest | RemoveDocumentReferenceResponse | @perm: Name=AddDocumentReference |
AddDocumentRelation | AddDocumentRelationRequest | AddDocumentRelationResponse | @perm |
RemoveDocumentRelation | RemoveDocumentRelationRequest | RemoveDocumentRelationResponse | @perm: Name=AddDocumentRelation |
GetComments | GetCommentsRequest | GetCommentsResponse | @perm: Name=GetDocument |
PostComment | PostCommentRequest | PostCommentResponse | @perm |
EditComment | EditCommentRequest | EditCommentResponse | @perm: Name=PostComment |
DeleteComment | DeleteCommentRequest | DeleteCommentResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
GetDocumentAccess | GetDocumentAccessRequest | GetDocumentAccessResponse | @perm: Name=GetDocument |
SetDocumentAccess | SetDocumentAccessRequest | SetDocumentAccessResponse | @perm: Name=CreateDocument |
ListDocumentActivity | ListDocumentActivityRequest | ListDocumentActivityResponse | @perm |
ListDocumentReqs | ListDocumentReqsRequest | ListDocumentReqsResponse | @perm |
CreateDocumentReq | CreateDocumentReqRequest | CreateDocumentReqResponse | @perm: Attrs=Types/StringList:[]string{"Access", "Closure", "Update", "Deletion", "OwnerChange"} |
UpdateDocumentReq | UpdateDocumentReqRequest | UpdateDocumentReqResponse | @perm: Name=CreateDocumentReq |
DeleteDocumentReq | DeleteDocumentReqRequest | DeleteDocumentReqResponse | @perm |
ListUserDocuments | ListUserDocumentsRequest | ListUserDocumentsResponse | @perm |
ListCategories | ListCategoriesRequest | ListCategoriesResponse | @perm |
CreateCategory | CreateCategoryRequest | CreateCategoryResponse | @perm |
UpdateCategory | UpdateCategoryRequest | UpdateCategoryResponse | @perm: Name=CreateCategory |
DeleteCategory | DeleteCategoryRequest | DeleteCategoryResponse | @perm |
Field | Type | Label | Description |
---|---|---|---|
entry | resources.jobs.ConductEntry |
Field | Type | Label | Description |
---|---|---|---|
entry | resources.jobs.ConductEntry |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
types | resources.jobs.ConductType | repeated | Search params |
show_expired | bool | optional | |
user_ids | int32 | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
entries | resources.jobs.ConductEntry | repeated |
Field | Type | Label | Description |
---|---|---|---|
entry | resources.jobs.ConductEntry |
Field | Type | Label | Description |
---|---|---|---|
entry | resources.jobs.ConductEntry |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListConductEntries | ListConductEntriesRequest | ListConductEntriesResponse | @perm: Attrs=Access/StringList:[]string{"Own", "All"} |
CreateConductEntry | CreateConductEntryRequest | CreateConductEntryResponse | @perm |
UpdateConductEntry | UpdateConductEntryRequest | UpdateConductEntryResponse | @perm |
DeleteConductEntry | DeleteConductEntryRequest | DeleteConductEntryResponse | @perm |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 |
Field | Type | Label | Description |
---|---|---|---|
colleague | resources.jobs.Colleague |
Field | Type | Label | Description |
---|---|---|---|
motd | string |
Field | Type | Label | Description |
---|---|---|---|
colleague | resources.jobs.Colleague |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
user_ids | int32 | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
activity | resources.jobs.JobsUserActivity | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
search | string | Search params | |
user_id | int32 | optional | |
absent | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
colleagues | resources.jobs.Colleague | repeated |
Field | Type | Label | Description |
---|---|---|---|
props | resources.jobs.JobsUserProps | ||
reason | string | @sanitize |
Field | Type | Label | Description |
---|---|---|---|
props | resources.jobs.JobsUserProps |
Field | Type | Label | Description |
---|---|---|---|
motd | string | @sanitize: method=StripTags |
Field | Type | Label | Description |
---|---|---|---|
motd | string |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListColleagues | ListColleaguesRequest | ListColleaguesResponse | @perm |
GetSelf | GetSelfRequest | GetSelfResponse | @perm: Name=ListColleagues |
GetColleague | GetColleagueRequest | GetColleagueResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
ListColleagueActivity | ListColleagueActivityRequest | ListColleagueActivityResponse | @perm: Attrs=Types/StringList:[]string{"HIRED", "FIRED", "PROMOTED", "DEMOTED", "ABSENCE_DATE"} |
SetJobsUserProps | SetJobsUserPropsRequest | SetJobsUserPropsResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
GetMOTD | GetMOTDRequest | GetMOTDResponse | @perm: Name=Any |
SetMOTD | SetMOTDRequest | SetMOTDResponse | @perm |
Field | Type | Label | Description |
---|---|---|---|
user_id | int32 | optional |
Field | Type | Label | Description |
---|---|---|---|
stats | resources.jobs.TimeclockStats | ||
weekly | resources.jobs.TimeclockWeeklyStats | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
days | int32 |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
colleagues | resources.jobs.Colleague | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
user_ids | int32 | repeated | Search |
from | resources.timestamp.Timestamp | optional | |
to | resources.timestamp.Timestamp | optional | |
per_day | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
entries | resources.jobs.TimeclockEntry | repeated | |
stats | resources.jobs.TimeclockStats | ||
weekly | resources.jobs.TimeclockWeeklyStats | repeated |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListTimeclock | ListTimeclockRequest | ListTimeclockResponse | @perm: Attrs=Access/StringList:[]string{"All"} |
GetTimeclockStats | GetTimeclockStatsRequest | GetTimeclockStatsResponse | @perm: Name=ListTimeclock |
ListInactiveEmployees | ListInactiveEmployeesRequest | ListInactiveEmployeesResponse | @perm |
Field | Type | Label | Description |
---|---|---|---|
marker | resources.livemap.MarkerMarker |
Field | Type | Label | Description |
---|---|---|---|
marker | resources.livemap.MarkerMarker |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
users | resources.users.Job | repeated | |
markers | resources.users.Job | repeated |
Field | Type | Label | Description |
---|---|---|---|
markers | resources.livemap.MarkerMarker | repeated |
Field | Type | Label | Description |
---|---|---|---|
jobs | JobsList | ||
markers | MarkerMarkersUpdates | ||
users | UserMarkersUpdates |
Field | Type | Label | Description |
---|---|---|---|
users | resources.livemap.UserMarker | repeated | |
part | int32 |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
Stream | StreamRequest | StreamResponse stream | @perm: Attrs=Markers/JobList |
CreateOrUpdateMarker | CreateOrUpdateMarkerRequest | CreateOrUpdateMarkerResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
DeleteMarker | DeleteMarkerRequest | DeleteMarkerResponse | @perm: Attrs=Access/StringList:[]string{"Own", "Lower_Rank", "Same_Rank", "Any"} |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
include_read | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
notifications | resources.notifications.Notification | repeated |
Field | Type | Label | Description |
---|---|---|---|
ids | uint64 | repeated | |
all | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
updated | uint64 |
Field | Type | Label | Description |
---|---|---|---|
notification_count | int32 | ||
restart | bool | optional | |
notification | resources.notifications.Notification | ||
token | TokenUpdate |
Field | Type | Label | Description |
---|---|---|---|
new_token | string | optional | |
expires | resources.timestamp.Timestamp | ||
permissions | string | repeated | |
user_info | resources.users.User | optional | |
job_props | resources.users.JobProps | optional |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetNotifications | GetNotificationsRequest | GetNotificationsResponse | @perm: Name=Any |
MarkNotifications | MarkNotificationsRequest | MarkNotificationsResponse | @perm: Name=Any |
Stream | StreamRequest | StreamResponse stream | @perm: Name=Any |
Field | Type | Label | Description |
---|---|---|---|
config | resources.rector.AppConfig |
Field | Type | Label | Description |
---|---|---|---|
config | resources.rector.AppConfig |
Field | Type | Label | Description |
---|---|---|---|
config | resources.rector.AppConfig |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetAppConfig | GetAppConfigRequest | GetAppConfigResponse | @perm: Name=SuperUser |
UpdateAppConfig | UpdateAppConfigRequest | UpdateAppConfigResponse | @perm: Name=SuperUser |
Field | Type | Label | Description |
---|---|---|---|
path | string |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
path | string | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
files | resources.filestore.FileInfo | repeated |
Field | Type | Label | Description |
---|---|---|---|
prefix | string | ||
name | string | ||
file | resources.filestore.File |
Field | Type | Label | Description |
---|---|---|---|
file | resources.filestore.FileInfo |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
ListFiles | ListFilesRequest | ListFilesResponse | @perm: Name=SuperUser |
UploadFile | UploadFileRequest | UploadFileResponse | @perm: Name=SuperUser |
DeleteFile | DeleteFileRequest | DeleteFileResponse | @perm: Name=SuperUser |
Field | Type | Label | Description |
---|---|---|---|
lawBook | resources.laws.LawBook |
Field | Type | Label | Description |
---|---|---|---|
lawBook | resources.laws.LawBook |
Field | Type | Label | Description |
---|---|---|---|
law | resources.laws.Law |
Field | Type | Label | Description |
---|---|---|---|
law | resources.laws.Law |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
CreateOrUpdateLawBook | CreateOrUpdateLawBookRequest | CreateOrUpdateLawBookResponse | @perm: Name=SuperUser |
DeleteLawBook | DeleteLawBookRequest | DeleteLawBookResponse | @perm: Name=SuperUser |
CreateOrUpdateLaw | CreateOrUpdateLawRequest | CreateOrUpdateLawResponse | @perm: Name=SuperUser |
DeleteLaw | DeleteLawRequest | DeleteLawResponse | @perm: Name=SuperUser |
Field | Type | Label | Description |
---|---|---|---|
to_update | resources.permissions.RoleAttribute | repeated | |
to_remove | resources.permissions.RoleAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
job | string | ||
grade | int32 |
Field | Type | Label | Description |
---|---|---|---|
role | resources.permissions.Role |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
job_props | resources.users.JobProps |
Field | Type | Label | Description |
---|---|---|---|
role_id | uint64 | ||
filtered | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
permissions | resources.permissions.Permission | repeated | |
attributes | resources.permissions.RoleAttribute | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
filtered | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
role | resources.permissions.Role |
Field | Type | Label | Description |
---|---|---|---|
lowest_rank | bool | optional |
Field | Type | Label | Description |
---|---|---|---|
roles | resources.permissions.Role | repeated |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
val | bool |
Field | Type | Label | Description |
---|---|---|---|
to_update | PermItem | repeated | |
to_remove | uint64 | repeated |
Field | Type | Label | Description |
---|---|---|---|
job_props | resources.users.JobProps |
Field | Type | Label | Description |
---|---|---|---|
job_props | resources.users.JobProps |
Field | Type | Label | Description |
---|---|---|---|
role_id | uint64 | ||
perms | PermsUpdate | optional | |
attrs | AttrsUpdate | optional |
Field | Type | Label | Description |
---|---|---|---|
id | uint64 | ||
perms | PermsUpdate | optional | |
attrs | AttrsUpdate | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
user_ids | int32 | repeated | |
from | resources.timestamp.Timestamp | optional | |
to | resources.timestamp.Timestamp | optional | |
service | string | optional | |
method | string | optional | |
search | string | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
logs | resources.rector.AuditEntry | repeated |
Method Name | Request Type | Response Type | Description |
---|---|---|---|
GetJobProps | GetJobPropsRequest | GetJobPropsResponse | @perm |
SetJobProps | SetJobPropsRequest | SetJobPropsResponse | @perm |
GetRoles | GetRolesRequest | GetRolesResponse | @perm |
GetRole | GetRoleRequest | GetRoleResponse | @perm: Name=GetRoles |
CreateRole | CreateRoleRequest | CreateRoleResponse | @perm |
DeleteRole | DeleteRoleRequest | DeleteRoleResponse | @perm |
UpdateRolePerms | UpdateRolePermsRequest | UpdateRolePermsResponse | @perm |
GetPermissions | GetPermissionsRequest | GetPermissionsResponse | @perm: Name=GetRoles |
ViewAuditLog | ViewAuditLogRequest | ViewAuditLogResponse | @perm |
UpdateRoleLimits | UpdateRoleLimitsRequest | UpdateRoleLimitsResponse | @perm: Name=SuperUser |
Field | Type | Label | Description |
---|---|---|---|
request | resources.qualifications.QualificationRequest |
Field | Type | Label | Description |
---|---|---|---|
request | resources.qualifications.QualificationRequest |
Field | Type | Label | Description |
---|---|---|---|
result | resources.qualifications.QualificationResult |
Field | Type | Label | Description |
---|---|---|---|
result | resources.qualifications.QualificationResult |
Field | Type | Label | Description |
---|---|---|---|
qualification | resources.qualifications.Qualification |
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 | ||
user_id | int32 |
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
result_id | uint64 |
Access =====================================================================
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
access | resources.qualifications.QualificationAccess |
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 |
Field | Type | Label | Description |
---|---|---|---|
qualification | resources.qualifications.Qualification |
Requests ===================================================================
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
qualification_id | uint64 | optional | Search params |
status | resources.qualifications.RequestStatus | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
requests | resources.qualifications.QualificationRequest | repeated |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
search | string | optional | Search params |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
qualifications | resources.qualifications.Qualification | repeated |
Results ====================================================================
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationRequest | ||
qualification_id | uint64 | optional | Search params |
status | resources.qualifications.ResultStatus | repeated | |
user_id | int32 | optional |
Field | Type | Label | Description |
---|---|---|---|
pagination | resources.common.database.PaginationResponse | ||
results | resources.qualifications.QualificationResult | repeated |
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 | ||
mode | resources.qualifications.AccessLevelUpdateMode | ||
access | resources.qualifications.QualificationAccess |
Field | Type | Label | Description |
---|---|---|---|
qualification | resources.qualifications.Qualification |
Field | Type | Label | Description |
---|---|---|---|
qualification_id | uint64 |
.proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
---|---|---|---|---|---|---|---|---|
double | double | double | float | float64 | double | float | Float | |
float | float | float | float | float32 | float | float | Float | |
int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
bool | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | |
string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |