@fivenet-app/gen 2025.9.1 → 2026.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +1 -1
  2. package/clients.ts +36 -0
  3. package/codegen/perms/perms.ts +186 -15
  4. package/codegen/sanitizer/sanitizer.ts +34 -1
  5. package/package.json +2 -2
  6. package/perms.ts +140 -8
  7. package/resources/accounts/accounts.ts +98 -31
  8. package/resources/accounts/{oauth2.ts → oauth2/oauth2.ts} +20 -20
  9. package/resources/audit/audit.ts +156 -38
  10. package/resources/calendar/{access.ts → access/access.ts} +30 -30
  11. package/resources/calendar/calendar.ts +17 -477
  12. package/resources/calendar/entries/entries.ts +474 -0
  13. package/resources/centrum/{access.ts → access/access.ts} +22 -22
  14. package/resources/centrum/{dispatchers.ts → dispatchers/dispatchers.ts} +14 -14
  15. package/resources/centrum/{dispatches.ts → dispatches/dispatches.ts} +151 -185
  16. package/resources/centrum/joblist.ts +136 -0
  17. package/resources/centrum/{settings.ts → settings/settings.ts} +70 -70
  18. package/resources/centrum/{units_access.ts → units/access/access.ts} +30 -30
  19. package/resources/centrum/{units.ts → units/units.ts} +131 -51
  20. package/resources/citizens/labels/labels.ts +526 -0
  21. package/resources/{users → citizens/licenses}/licenses.ts +17 -17
  22. package/resources/clientconfig/clientconfig.ts +126 -258
  23. package/resources/collab/collab.ts +4 -16
  24. package/resources/common/content/content.ts +108 -85
  25. package/resources/common/content/diff_activity.ts +267 -0
  26. package/resources/common/i18n.ts +2 -2
  27. package/resources/{common/cron → cron}/cron.ts +43 -43
  28. package/resources/documents/{access.ts → access/access.ts} +29 -52
  29. package/resources/documents/{activity.ts → activity/activity.ts} +171 -123
  30. package/resources/documents/approval/approval.ts +945 -0
  31. package/resources/documents/{category.ts → category/category.ts} +7 -7
  32. package/resources/documents/{comment.ts → comment/comment.ts} +10 -10
  33. package/resources/documents/data/data.ts +303 -0
  34. package/resources/documents/documents.ts +282 -667
  35. package/resources/{common/uuid.ts → documents/forms/forms.ts} +20 -20
  36. package/resources/documents/{pins.ts → pins/pins.ts} +5 -5
  37. package/resources/documents/references/references.ts +187 -0
  38. package/resources/documents/relations/relations.ts +184 -0
  39. package/resources/documents/{requests.ts → requests/requests.ts} +18 -18
  40. package/resources/documents/stamps/stamp.ts +355 -0
  41. package/resources/documents/{templates.ts → templates/templates.ts} +426 -84
  42. package/resources/documents/{workflow.ts → workflow/workflow.ts} +264 -26
  43. package/resources/file/filestore.ts +1 -1
  44. package/resources/{common/grpcws → grpcws}/grpcws.ts +52 -52
  45. package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +54 -54
  46. package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +17 -28
  47. package/resources/jobs/{conduct.ts → conduct/conduct.ts} +70 -45
  48. package/resources/jobs/{labels.ts → labels/labels.ts} +34 -23
  49. package/resources/jobs/{job_props.ts → props/props.ts} +26 -38
  50. package/resources/jobs/{job_settings.ts → settings/settings.ts} +53 -53
  51. package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +17 -17
  52. package/resources/livemap/{heatmap.ts → heatmap/heatmap.ts} +4 -4
  53. package/resources/livemap/{marker_marker.ts → markers/marker_marker.ts} +35 -35
  54. package/resources/livemap/{user_marker.ts → markers/user_marker.ts} +115 -36
  55. package/resources/mailer/{access.ts → access/access.ts} +67 -67
  56. package/resources/mailer/{email.ts → emails/email.ts} +19 -19
  57. package/resources/mailer/{events.ts → events/events.ts} +24 -24
  58. package/resources/mailer/{message.ts → messages/message.ts} +29 -29
  59. package/resources/mailer/{settings.ts → settings/settings.ts} +14 -13
  60. package/resources/mailer/{template.ts → templates/template.ts} +15 -15
  61. package/resources/mailer/{thread.ts → threads/thread.ts} +29 -29
  62. package/resources/notifications/{client_view.ts → clientview/clientview.ts} +22 -22
  63. package/resources/notifications/{events.ts → events/events.ts} +20 -20
  64. package/resources/notifications/notifications.ts +4 -4
  65. package/resources/permissions/{attributes.ts → attributes/attributes.ts} +42 -42
  66. package/resources/permissions/{events.ts → events/events.ts} +7 -7
  67. package/resources/permissions/{permissions.ts → permissions/permissions.ts} +30 -19
  68. package/resources/qualifications/{access.ts → access/access.ts} +19 -19
  69. package/resources/qualifications/{exam.ts → exam/exam.ts} +269 -141
  70. package/resources/qualifications/qualifications.ts +51 -179
  71. package/resources/settings/banner.ts +3 -3
  72. package/resources/settings/config.ts +527 -25
  73. package/resources/{documents/state.ts → settings/data.ts} +41 -20
  74. package/resources/settings/perms.ts +14 -14
  75. package/resources/stats/stats.ts +379 -0
  76. package/resources/sync/{activity.ts → activity/activity.ts} +104 -25
  77. package/resources/sync/{data.ts → data/data.ts} +405 -59
  78. package/resources/userinfo/{user_info.ts → userinfo.ts} +71 -93
  79. package/resources/users/{activity.ts → activity/activity.ts} +242 -101
  80. package/resources/users/{props.ts → props/props.ts} +91 -69
  81. package/resources/users/short/user.ts +184 -0
  82. package/resources/users/{users.ts → user.ts} +266 -195
  83. package/resources/vehicles/{activity.ts → activity/activity.ts} +20 -20
  84. package/resources/vehicles/{props.ts → props/props.ts} +28 -6
  85. package/resources/vehicles/vehicles.ts +20 -8
  86. package/resources/wiki/{access.ts → access/access.ts} +30 -30
  87. package/resources/wiki/{activity.ts → activity/activity.ts} +104 -70
  88. package/resources/wiki/page.ts +39 -15
  89. package/services/auth/auth.client.ts +23 -10
  90. package/services/auth/auth.ts +445 -262
  91. package/services/calendar/calendar.ts +56 -34
  92. package/services/centrum/centrum.ts +127 -127
  93. package/services/citizens/citizens.client.ts +0 -13
  94. package/services/citizens/citizens.ts +44 -134
  95. package/services/citizens/labels.client.ts +77 -0
  96. package/services/citizens/labels.ts +455 -0
  97. package/services/completor/completor.ts +36 -16
  98. package/services/documents/approval.client.ts +188 -0
  99. package/services/documents/approval.ts +1776 -0
  100. package/services/documents/documents.ts +164 -186
  101. package/services/documents/forms.client.ts +51 -0
  102. package/services/documents/forms.ts +232 -0
  103. package/services/documents/stamps.client.ts +77 -0
  104. package/services/documents/stamps.ts +481 -0
  105. package/services/documents/stats.client.ts +38 -0
  106. package/services/documents/stats.ts +245 -0
  107. package/services/jobs/conduct.client.ts +30 -3
  108. package/services/jobs/conduct.ts +159 -33
  109. package/services/jobs/jobs.ts +43 -43
  110. package/services/jobs/stats.client.ts +38 -0
  111. package/services/jobs/stats.ts +207 -0
  112. package/services/jobs/timeclock.ts +39 -39
  113. package/services/livemap/livemap.ts +18 -18
  114. package/services/mailer/mailer.ts +78 -78
  115. package/services/notifications/notifications.ts +35 -35
  116. package/services/qualifications/qualifications.ts +81 -46
  117. package/services/settings/accounts.client.ts +23 -10
  118. package/services/settings/accounts.ts +191 -30
  119. package/services/settings/cron.client.ts +13 -0
  120. package/services/settings/cron.ts +118 -5
  121. package/services/settings/laws.ts +1 -1
  122. package/services/settings/settings.ts +73 -52
  123. package/services/settings/system.client.ts +13 -0
  124. package/services/settings/system.ts +115 -15
  125. package/services/stats/stats.client.ts +7 -7
  126. package/services/stats/stats.ts +24 -24
  127. package/services/sync/sync.client.ts +271 -37
  128. package/services/sync/sync.ts +1525 -421
  129. package/services/vehicles/vehicles.ts +8 -8
  130. package/services/wiki/wiki.ts +8 -8
  131. package/svcs.ts +100 -6
  132. package/resources/centrum/attributes.ts +0 -183
  133. package/resources/documents/signoff.ts +0 -55
  134. package/resources/users/labels.ts +0 -160
@@ -12,7 +12,7 @@ import { WireType } from "@protobuf-ts/runtime";
12
12
  import type { PartialMessage } from "@protobuf-ts/runtime";
13
13
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
14
14
  import { MessageType } from "@protobuf-ts/runtime";
15
- import { VehicleProps } from "../../resources/vehicles/props";
15
+ import { VehicleProps } from "../../resources/vehicles/props/props";
16
16
  import { Vehicle } from "../../resources/vehicles/vehicles";
17
17
  import { PaginationResponse } from "../../resources/common/database/database";
18
18
  import { Sort } from "../../resources/common/database/database";
@@ -70,7 +70,7 @@ export interface ListVehiclesResponse {
70
70
  */
71
71
  export interface SetVehiclePropsRequest {
72
72
  /**
73
- * @generated from protobuf field: resources.vehicles.VehicleProps props = 1
73
+ * @generated from protobuf field: resources.vehicles.props.VehicleProps props = 1
74
74
  */
75
75
  props?: VehicleProps;
76
76
  }
@@ -79,7 +79,7 @@ export interface SetVehiclePropsRequest {
79
79
  */
80
80
  export interface SetVehiclePropsResponse {
81
81
  /**
82
- * @generated from protobuf field: resources.vehicles.VehicleProps props = 1
82
+ * @generated from protobuf field: resources.vehicles.props.VehicleProps props = 1
83
83
  */
84
84
  props?: VehicleProps;
85
85
  /**
@@ -256,7 +256,7 @@ class SetVehiclePropsRequest$Type extends MessageType<SetVehiclePropsRequest> {
256
256
  while (reader.pos < end) {
257
257
  let [fieldNo, wireType] = reader.tag();
258
258
  switch (fieldNo) {
259
- case /* resources.vehicles.VehicleProps props */ 1:
259
+ case /* resources.vehicles.props.VehicleProps props */ 1:
260
260
  message.props = VehicleProps.internalBinaryRead(reader, reader.uint32(), options, message.props);
261
261
  break;
262
262
  default:
@@ -271,7 +271,7 @@ class SetVehiclePropsRequest$Type extends MessageType<SetVehiclePropsRequest> {
271
271
  return message;
272
272
  }
273
273
  internalBinaryWrite(message: SetVehiclePropsRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
274
- /* resources.vehicles.VehicleProps props = 1; */
274
+ /* resources.vehicles.props.VehicleProps props = 1; */
275
275
  if (message.props)
276
276
  VehicleProps.internalBinaryWrite(message.props, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
277
277
  let u = options.writeUnknownFields;
@@ -304,7 +304,7 @@ class SetVehiclePropsResponse$Type extends MessageType<SetVehiclePropsResponse>
304
304
  while (reader.pos < end) {
305
305
  let [fieldNo, wireType] = reader.tag();
306
306
  switch (fieldNo) {
307
- case /* resources.vehicles.VehicleProps props */ 1:
307
+ case /* resources.vehicles.props.VehicleProps props */ 1:
308
308
  message.props = VehicleProps.internalBinaryRead(reader, reader.uint32(), options, message.props);
309
309
  break;
310
310
  case /* string reason */ 2:
@@ -322,7 +322,7 @@ class SetVehiclePropsResponse$Type extends MessageType<SetVehiclePropsResponse>
322
322
  return message;
323
323
  }
324
324
  internalBinaryWrite(message: SetVehiclePropsResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
325
- /* resources.vehicles.VehicleProps props = 1; */
325
+ /* resources.vehicles.props.VehicleProps props = 1; */
326
326
  if (message.props)
327
327
  VehicleProps.internalBinaryWrite(message.props, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
328
328
  /* string reason = 2; */
@@ -344,4 +344,4 @@ export const SetVehiclePropsResponse = new SetVehiclePropsResponse$Type();
344
344
  export const VehiclesService = new ServiceType("services.vehicles.VehiclesService", [
345
345
  { name: "ListVehicles", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Wanted"] }] } }, I: ListVehiclesRequest, O: ListVehiclesResponse },
346
346
  { name: "SetVehicleProps", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Wanted"] }] } }, I: SetVehiclePropsRequest, O: SetVehiclePropsResponse }
347
- ]);
347
+ ], { "codegen.perms.perms_svc": { order: 40, icon: "i-mdi-car-outline" } });
@@ -14,7 +14,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
14
14
  import type { PartialMessage } from "@protobuf-ts/runtime";
15
15
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
16
16
  import { MessageType } from "@protobuf-ts/runtime";
17
- import { PageActivity } from "../../resources/wiki/activity";
17
+ import { PageActivity } from "../../resources/wiki/activity/activity";
18
18
  import { ContentType } from "../../resources/common/content/content";
19
19
  import { Page } from "../../resources/wiki/page";
20
20
  import { PageShort } from "../../resources/wiki/page";
@@ -159,7 +159,7 @@ export interface ListPageActivityResponse {
159
159
  */
160
160
  pagination?: PaginationResponse;
161
161
  /**
162
- * @generated from protobuf field: repeated resources.wiki.PageActivity activity = 2
162
+ * @generated from protobuf field: repeated resources.wiki.activity.PageActivity activity = 2
163
163
  */
164
164
  activity: PageActivity[];
165
165
  }
@@ -747,7 +747,7 @@ class ListPageActivityResponse$Type extends MessageType<ListPageActivityResponse
747
747
  case /* resources.common.database.PaginationResponse pagination */ 1:
748
748
  message.pagination = PaginationResponse.internalBinaryRead(reader, reader.uint32(), options, message.pagination);
749
749
  break;
750
- case /* repeated resources.wiki.PageActivity activity */ 2:
750
+ case /* repeated resources.wiki.activity.PageActivity activity */ 2:
751
751
  message.activity.push(PageActivity.internalBinaryRead(reader, reader.uint32(), options));
752
752
  break;
753
753
  default:
@@ -765,7 +765,7 @@ class ListPageActivityResponse$Type extends MessageType<ListPageActivityResponse
765
765
  /* resources.common.database.PaginationResponse pagination = 1; */
766
766
  if (message.pagination)
767
767
  PaginationResponse.internalBinaryWrite(message.pagination, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
768
- /* repeated resources.wiki.PageActivity activity = 2; */
768
+ /* repeated resources.wiki.activity.PageActivity activity = 2; */
769
769
  for (let i = 0; i < message.activity.length; i++)
770
770
  PageActivity.internalBinaryWrite(message.activity[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
771
771
  let u = options.writeUnknownFields;
@@ -784,9 +784,9 @@ export const ListPageActivityResponse = new ListPageActivityResponse$Type();
784
784
  export const WikiService = new ServiceType("services.wiki.WikiService", [
785
785
  { name: "ListPages", options: { "codegen.perms.perms": { enabled: true } }, I: ListPagesRequest, O: ListPagesResponse },
786
786
  { name: "GetPage", options: { "codegen.perms.perms": { enabled: true, name: "ListPages" } }, I: GetPageRequest, O: GetPageResponse },
787
- { name: "CreatePage", options: { "codegen.perms.perms": { enabled: true, name: "UpdatePage" } }, I: CreatePageRequest, O: CreatePageResponse },
788
- { name: "UpdatePage", options: { "codegen.perms.perms": { enabled: true, attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Public"] }] } }, I: UpdatePageRequest, O: UpdatePageResponse },
787
+ { name: "CreatePage", options: { "codegen.perms.perms": { enabled: true } }, I: CreatePageRequest, O: CreatePageResponse },
788
+ { name: "UpdatePage", options: { "codegen.perms.perms": { enabled: true, names: ["UpdatePage", "CreatePage"], attrs: [{ key: "Fields", type: "ATTRIBUTE_TYPE_STRING_LIST", validStringList: ["Public"] }] } }, I: UpdatePageRequest, O: UpdatePageResponse },
789
789
  { name: "DeletePage", options: { "codegen.perms.perms": { enabled: true } }, I: DeletePageRequest, O: DeletePageResponse },
790
790
  { name: "ListPageActivity", options: { "codegen.perms.perms": { enabled: true } }, I: ListPageActivityRequest, O: ListPageActivityResponse },
791
- { name: "UploadFile", clientStreaming: true, options: { "codegen.perms.perms": { enabled: true, name: "UpdatePage" } }, I: UploadFileRequest, O: UploadFileResponse }
792
- ]);
791
+ { name: "UploadFile", clientStreaming: true, options: { "codegen.perms.perms": { enabled: true, names: ["CreatePage", "UpdatePage"] } }, I: UploadFileRequest, O: UploadFileResponse }
792
+ ], { "codegen.perms.perms_svc": { order: 110, icon: "i-mdi-brain" } });
package/svcs.ts CHANGED
@@ -3,20 +3,62 @@
3
3
  // source: services/calendar/calendar.proto
4
4
  // source: services/centrum/centrum.proto
5
5
  // source: services/citizens/citizens.proto
6
+ // source: services/citizens/labels.proto
7
+ // source: services/citizens/citizens.proto
8
+ // source: services/citizens/labels.proto
6
9
  // source: services/completor/completor.proto
10
+ // source: services/documents/approval.proto
11
+ // source: services/documents/collab.proto
12
+ // source: services/documents/documents.proto
13
+ // source: services/documents/forms.proto
14
+ // source: services/documents/stamps.proto
15
+ // source: services/documents/stats.proto
16
+ // source: services/documents/approval.proto
17
+ // source: services/documents/collab.proto
18
+ // source: services/documents/documents.proto
19
+ // source: services/documents/forms.proto
20
+ // source: services/documents/stamps.proto
21
+ // source: services/documents/stats.proto
22
+ // source: services/documents/approval.proto
23
+ // source: services/documents/collab.proto
24
+ // source: services/documents/documents.proto
25
+ // source: services/documents/forms.proto
26
+ // source: services/documents/stamps.proto
27
+ // source: services/documents/stats.proto
28
+ // source: services/documents/approval.proto
29
+ // source: services/documents/collab.proto
30
+ // source: services/documents/documents.proto
31
+ // source: services/documents/forms.proto
32
+ // source: services/documents/stamps.proto
33
+ // source: services/documents/stats.proto
34
+ // source: services/documents/approval.proto
7
35
  // source: services/documents/collab.proto
8
36
  // source: services/documents/documents.proto
37
+ // source: services/documents/forms.proto
38
+ // source: services/documents/stamps.proto
39
+ // source: services/documents/stats.proto
40
+ // source: services/documents/approval.proto
9
41
  // source: services/documents/collab.proto
10
42
  // source: services/documents/documents.proto
43
+ // source: services/documents/forms.proto
44
+ // source: services/documents/stamps.proto
45
+ // source: services/documents/stats.proto
11
46
  // source: services/filestore/filestore.proto
12
47
  // source: services/jobs/conduct.proto
13
48
  // source: services/jobs/jobs.proto
49
+ // source: services/jobs/stats.proto
50
+ // source: services/jobs/timeclock.proto
51
+ // source: services/jobs/conduct.proto
52
+ // source: services/jobs/jobs.proto
53
+ // source: services/jobs/stats.proto
14
54
  // source: services/jobs/timeclock.proto
15
55
  // source: services/jobs/conduct.proto
16
56
  // source: services/jobs/jobs.proto
57
+ // source: services/jobs/stats.proto
17
58
  // source: services/jobs/timeclock.proto
18
59
  // source: services/jobs/conduct.proto
19
60
  // source: services/jobs/jobs.proto
61
+ // source: services/jobs/stats.proto
20
62
  // source: services/jobs/timeclock.proto
21
63
  // source: services/livemap/livemap.proto
22
64
  // source: services/mailer/mailer.proto
@@ -71,12 +113,18 @@ export const grpcServices = [
71
113
  'calendar.CalendarService',
72
114
  'centrum.CentrumService',
73
115
  'citizens.CitizensService',
116
+ 'citizens.LabelsService',
74
117
  'completor.CompletorService',
118
+ 'documents.ApprovalService',
75
119
  'documents.CollabService',
76
120
  'documents.DocumentsService',
121
+ 'documents.FormsService',
122
+ 'documents.StampsService',
123
+ 'documents.StatsService',
77
124
  'filestore.FilestoreService',
78
125
  'jobs.ConductService',
79
126
  'jobs.JobsService',
127
+ 'jobs.StatsService',
80
128
  'jobs.TimeclockService',
81
129
  'livemap.LivemapService',
82
130
  'mailer.MailerService',
@@ -104,8 +152,9 @@ export const grpcMethods = [
104
152
  'auth.AuthService/ForgotPassword',
105
153
  'auth.AuthService/GetCharacters',
106
154
  'auth.AuthService/ChooseCharacter',
155
+ 'auth.AuthService/ImpersonateJob',
107
156
  'auth.AuthService/GetAccountInfo',
108
- 'auth.AuthService/DeleteOAuth2Connection',
157
+ 'auth.AuthService/DeleteSocialLogin',
109
158
  'auth.AuthService/SetSuperuserMode',
110
159
  'calendar.CalendarService/ListCalendars',
111
160
  'calendar.CalendarService/GetCalendar',
@@ -153,12 +202,26 @@ export const grpcMethods = [
153
202
  'citizens.CitizensService/DeleteAvatar',
154
203
  'citizens.CitizensService/UploadMugshot',
155
204
  'citizens.CitizensService/DeleteMugshot',
156
- 'citizens.CitizensService/ManageLabels',
205
+ 'citizens.LabelsService/ListLabels',
206
+ 'citizens.LabelsService/GetLabel',
207
+ 'citizens.LabelsService/CreateOrUpdateLabel',
208
+ 'citizens.LabelsService/DeleteLabel',
157
209
  'completor.CompletorService/CompleteCitizens',
158
210
  'completor.CompletorService/CompleteJobs',
159
211
  'completor.CompletorService/CompleteDocumentCategories',
160
212
  'completor.CompletorService/ListLawBooks',
161
213
  'completor.CompletorService/CompleteCitizenLabels',
214
+ 'documents.ApprovalService/ListApprovalTasksInbox',
215
+ 'documents.ApprovalService/ListApprovalPolicies',
216
+ 'documents.ApprovalService/UpsertApprovalPolicy',
217
+ 'documents.ApprovalService/ListApprovalTasks',
218
+ 'documents.ApprovalService/UpsertApprovalTasks',
219
+ 'documents.ApprovalService/DeleteApprovalTasks',
220
+ 'documents.ApprovalService/ListApprovals',
221
+ 'documents.ApprovalService/RevokeApproval',
222
+ 'documents.ApprovalService/DecideApproval',
223
+ 'documents.ApprovalService/ReopenApprovalTask',
224
+ 'documents.ApprovalService/RecomputeApprovalPolicyCounters',
162
225
  'documents.CollabService/JoinRoom',
163
226
  'documents.DocumentsService/ListTemplates',
164
227
  'documents.DocumentsService/GetTemplate',
@@ -197,14 +260,23 @@ export const grpcMethods = [
197
260
  'documents.DocumentsService/ToggleDocumentPin',
198
261
  'documents.DocumentsService/SetDocumentReminder',
199
262
  'documents.DocumentsService/UploadFile',
263
+ 'documents.FormsService/GetForm',
264
+ 'documents.FormsService/ListForms',
265
+ 'documents.StampsService/ListUsableStamps',
266
+ 'documents.StampsService/GetStamp',
267
+ 'documents.StampsService/UpsertStamp',
268
+ 'documents.StampsService/DeleteStamp',
269
+ 'documents.StatsService/GetStats',
200
270
  'filestore.FilestoreService/Upload',
201
271
  'filestore.FilestoreService/ListFiles',
202
272
  'filestore.FilestoreService/DeleteFile',
203
273
  'filestore.FilestoreService/DeleteFileByPath',
204
274
  'jobs.ConductService/ListConductEntries',
275
+ 'jobs.ConductService/GetConductEntry',
205
276
  'jobs.ConductService/CreateConductEntry',
206
277
  'jobs.ConductService/UpdateConductEntry',
207
278
  'jobs.ConductService/DeleteConductEntry',
279
+ 'jobs.ConductService/UploadFile',
208
280
  'jobs.JobsService/ListColleagues',
209
281
  'jobs.JobsService/GetSelf',
210
282
  'jobs.JobsService/GetColleague',
@@ -215,6 +287,7 @@ export const grpcMethods = [
215
287
  'jobs.JobsService/GetColleagueLabelsStats',
216
288
  'jobs.JobsService/GetMOTD',
217
289
  'jobs.JobsService/SetMOTD',
290
+ 'jobs.StatsService/GetStats',
218
291
  'jobs.TimeclockService/ListTimeclock',
219
292
  'jobs.TimeclockService/GetTimeclockStats',
220
293
  'jobs.TimeclockService/ListInactiveEmployees',
@@ -262,12 +335,14 @@ export const grpcMethods = [
262
335
  'qualifications.QualificationsService/GetUserExam',
263
336
  'qualifications.QualificationsService/UploadFile',
264
337
  'settings.AccountsService/ListAccounts',
338
+ 'settings.AccountsService/CreateAccount',
265
339
  'settings.AccountsService/UpdateAccount',
266
- 'settings.AccountsService/DisconnectOAuth2Connection',
340
+ 'settings.AccountsService/DisconnectSocialLogin',
267
341
  'settings.AccountsService/DeleteAccount',
268
342
  'settings.ConfigService/GetAppConfig',
269
343
  'settings.ConfigService/UpdateAppConfig',
270
344
  'settings.CronService/ListCronjobs',
345
+ 'settings.CronService/RunCronjob',
271
346
  'settings.LawsService/CreateOrUpdateLawBook',
272
347
  'settings.LawsService/DeleteLawBook',
273
348
  'settings.LawsService/CreateOrUpdateLaw',
@@ -291,14 +366,33 @@ export const grpcMethods = [
291
366
  'settings.SystemService/GetJobLimits',
292
367
  'settings.SystemService/UpdateJobLimits',
293
368
  'settings.SystemService/DeleteFaction',
294
- 'stats.StatsService/GetStats',
369
+ 'settings.SystemService/TriggerUserSync',
370
+ 'stats.StatsService/GetPublicStats',
295
371
  'sync.SyncService/GetStatus',
296
- 'sync.SyncService/AddActivity',
297
372
  'sync.SyncService/RegisterAccount',
298
373
  'sync.SyncService/TransferAccount',
374
+ 'sync.SyncService/AddUserOAuth2Conn',
375
+ 'sync.SyncService/AddAccountUpdate',
376
+ 'sync.SyncService/AddUserUpdate',
377
+ 'sync.SyncService/AddUserActivity',
378
+ 'sync.SyncService/AddUserProps',
379
+ 'sync.SyncService/AddColleagueActivity',
380
+ 'sync.SyncService/AddColleagueProps',
381
+ 'sync.SyncService/AddJobTimeclock',
382
+ 'sync.SyncService/AddDispatch',
383
+ 'sync.SyncService/SendJobs',
384
+ 'sync.SyncService/SendLicenses',
385
+ 'sync.SyncService/SendAccounts',
386
+ 'sync.SyncService/SendUsers',
387
+ 'sync.SyncService/SendVehicles',
388
+ 'sync.SyncService/SendUserLocations',
389
+ 'sync.SyncService/SetLastCharID',
390
+ 'sync.SyncService/DeleteUsers',
391
+ 'sync.SyncService/DeleteVehicles',
392
+ 'sync.SyncService/Stream',
393
+ 'sync.SyncService/AddActivity',
299
394
  'sync.SyncService/SendData',
300
395
  'sync.SyncService/DeleteData',
301
- 'sync.SyncService/Stream',
302
396
  'vehicles.VehiclesService/ListVehicles',
303
397
  'vehicles.VehiclesService/SetVehicleProps',
304
398
  'wiki.CollabService/JoinRoom',
@@ -1,183 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter force_server_none,long_type_number,optimize_speed,ts_nocheck
2
- // @generated from protobuf file "resources/centrum/attributes.proto" (package "resources.centrum", syntax proto3)
3
- // tslint:disable
4
- // @ts-nocheck
5
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
6
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import { WireType } from "@protobuf-ts/runtime";
11
- import type { PartialMessage } from "@protobuf-ts/runtime";
12
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
- import { MessageType } from "@protobuf-ts/runtime";
14
- /**
15
- * @generated from protobuf message resources.centrum.UnitAttributes
16
- */
17
- export interface UnitAttributes {
18
- /**
19
- * @generated from protobuf field: repeated resources.centrum.UnitAttribute list = 1
20
- */
21
- list: UnitAttribute[];
22
- }
23
- /**
24
- * @generated from protobuf message resources.centrum.DispatchAttributes
25
- */
26
- export interface DispatchAttributes {
27
- /**
28
- * @generated from protobuf field: repeated resources.centrum.DispatchAttribute list = 1
29
- */
30
- list: DispatchAttribute[];
31
- }
32
- /**
33
- * @generated from protobuf enum resources.centrum.UnitAttribute
34
- */
35
- export enum UnitAttribute {
36
- /**
37
- * @generated from protobuf enum value: UNIT_ATTRIBUTE_UNSPECIFIED = 0;
38
- */
39
- UNSPECIFIED = 0,
40
- /**
41
- * @generated from protobuf enum value: UNIT_ATTRIBUTE_STATIC = 1;
42
- */
43
- STATIC = 1,
44
- /**
45
- * @generated from protobuf enum value: UNIT_ATTRIBUTE_NO_DISPATCH_AUTO_ASSIGN = 2;
46
- */
47
- NO_DISPATCH_AUTO_ASSIGN = 2
48
- }
49
- /**
50
- * @generated from protobuf enum resources.centrum.DispatchAttribute
51
- */
52
- export enum DispatchAttribute {
53
- /**
54
- * @generated from protobuf enum value: DISPATCH_ATTRIBUTE_UNSPECIFIED = 0;
55
- */
56
- UNSPECIFIED = 0,
57
- /**
58
- * @generated from protobuf enum value: DISPATCH_ATTRIBUTE_MULTIPLE = 1;
59
- */
60
- MULTIPLE = 1,
61
- /**
62
- * @generated from protobuf enum value: DISPATCH_ATTRIBUTE_DUPLICATE = 2;
63
- */
64
- DUPLICATE = 2,
65
- /**
66
- * @generated from protobuf enum value: DISPATCH_ATTRIBUTE_TOO_OLD = 3;
67
- */
68
- TOO_OLD = 3,
69
- /**
70
- * @generated from protobuf enum value: DISPATCH_ATTRIBUTE_AUTOMATIC = 4;
71
- */
72
- AUTOMATIC = 4
73
- }
74
- // @generated message type with reflection information, may provide speed optimized methods
75
- class UnitAttributes$Type extends MessageType<UnitAttributes> {
76
- constructor() {
77
- super("resources.centrum.UnitAttributes", [
78
- { no: 1, name: "list", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["resources.centrum.UnitAttribute", UnitAttribute, "UNIT_ATTRIBUTE_"], options: { "buf.validate.field": { repeated: { items: { enum: { definedOnly: true } } } } } }
79
- ], { "codegen.dbscanner.dbscanner": { enabled: true } });
80
- }
81
- create(value?: PartialMessage<UnitAttributes>): UnitAttributes {
82
- const message = globalThis.Object.create((this.messagePrototype!));
83
- message.list = [];
84
- if (value !== undefined)
85
- reflectionMergePartial<UnitAttributes>(this, message, value);
86
- return message;
87
- }
88
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UnitAttributes): UnitAttributes {
89
- let message = target ?? this.create(), end = reader.pos + length;
90
- while (reader.pos < end) {
91
- let [fieldNo, wireType] = reader.tag();
92
- switch (fieldNo) {
93
- case /* repeated resources.centrum.UnitAttribute list */ 1:
94
- if (wireType === WireType.LengthDelimited)
95
- for (let e = reader.int32() + reader.pos; reader.pos < e;)
96
- message.list.push(reader.int32());
97
- else
98
- message.list.push(reader.int32());
99
- break;
100
- default:
101
- let u = options.readUnknownField;
102
- if (u === "throw")
103
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
104
- let d = reader.skip(wireType);
105
- if (u !== false)
106
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
107
- }
108
- }
109
- return message;
110
- }
111
- internalBinaryWrite(message: UnitAttributes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
112
- /* repeated resources.centrum.UnitAttribute list = 1; */
113
- if (message.list.length) {
114
- writer.tag(1, WireType.LengthDelimited).fork();
115
- for (let i = 0; i < message.list.length; i++)
116
- writer.int32(message.list[i]);
117
- writer.join();
118
- }
119
- let u = options.writeUnknownFields;
120
- if (u !== false)
121
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
122
- return writer;
123
- }
124
- }
125
- /**
126
- * @generated MessageType for protobuf message resources.centrum.UnitAttributes
127
- */
128
- export const UnitAttributes = new UnitAttributes$Type();
129
- // @generated message type with reflection information, may provide speed optimized methods
130
- class DispatchAttributes$Type extends MessageType<DispatchAttributes> {
131
- constructor() {
132
- super("resources.centrum.DispatchAttributes", [
133
- { no: 1, name: "list", kind: "enum", repeat: 1 /*RepeatType.PACKED*/, T: () => ["resources.centrum.DispatchAttribute", DispatchAttribute, "DISPATCH_ATTRIBUTE_"], options: { "buf.validate.field": { repeated: { items: { enum: { definedOnly: true } } } } } }
134
- ], { "codegen.dbscanner.dbscanner": { enabled: true } });
135
- }
136
- create(value?: PartialMessage<DispatchAttributes>): DispatchAttributes {
137
- const message = globalThis.Object.create((this.messagePrototype!));
138
- message.list = [];
139
- if (value !== undefined)
140
- reflectionMergePartial<DispatchAttributes>(this, message, value);
141
- return message;
142
- }
143
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DispatchAttributes): DispatchAttributes {
144
- let message = target ?? this.create(), end = reader.pos + length;
145
- while (reader.pos < end) {
146
- let [fieldNo, wireType] = reader.tag();
147
- switch (fieldNo) {
148
- case /* repeated resources.centrum.DispatchAttribute list */ 1:
149
- if (wireType === WireType.LengthDelimited)
150
- for (let e = reader.int32() + reader.pos; reader.pos < e;)
151
- message.list.push(reader.int32());
152
- else
153
- message.list.push(reader.int32());
154
- break;
155
- default:
156
- let u = options.readUnknownField;
157
- if (u === "throw")
158
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
159
- let d = reader.skip(wireType);
160
- if (u !== false)
161
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
162
- }
163
- }
164
- return message;
165
- }
166
- internalBinaryWrite(message: DispatchAttributes, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
167
- /* repeated resources.centrum.DispatchAttribute list = 1; */
168
- if (message.list.length) {
169
- writer.tag(1, WireType.LengthDelimited).fork();
170
- for (let i = 0; i < message.list.length; i++)
171
- writer.int32(message.list[i]);
172
- writer.join();
173
- }
174
- let u = options.writeUnknownFields;
175
- if (u !== false)
176
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
177
- return writer;
178
- }
179
- }
180
- /**
181
- * @generated MessageType for protobuf message resources.centrum.DispatchAttributes
182
- */
183
- export const DispatchAttributes = new DispatchAttributes$Type();
@@ -1,55 +0,0 @@
1
- // @generated by protobuf-ts 2.11.1 with parameter force_server_none,long_type_number,optimize_speed,ts_nocheck
2
- // @generated from protobuf file "resources/documents/signoff.proto" (package "resources.documents", syntax proto3)
3
- // tslint:disable
4
- // @ts-nocheck
5
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
6
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
7
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
8
- import type { IBinaryReader } from "@protobuf-ts/runtime";
9
- import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
- import type { PartialMessage } from "@protobuf-ts/runtime";
11
- import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
- import { MessageType } from "@protobuf-ts/runtime";
13
- /**
14
- * @generated from protobuf message resources.documents.SignoffState
15
- */
16
- export interface SignoffState {
17
- }
18
- // @generated message type with reflection information, may provide speed optimized methods
19
- class SignoffState$Type extends MessageType<SignoffState> {
20
- constructor() {
21
- super("resources.documents.SignoffState", []);
22
- }
23
- create(value?: PartialMessage<SignoffState>): SignoffState {
24
- const message = globalThis.Object.create((this.messagePrototype!));
25
- if (value !== undefined)
26
- reflectionMergePartial<SignoffState>(this, message, value);
27
- return message;
28
- }
29
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SignoffState): SignoffState {
30
- let message = target ?? this.create(), end = reader.pos + length;
31
- while (reader.pos < end) {
32
- let [fieldNo, wireType] = reader.tag();
33
- switch (fieldNo) {
34
- default:
35
- let u = options.readUnknownField;
36
- if (u === "throw")
37
- throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
38
- let d = reader.skip(wireType);
39
- if (u !== false)
40
- (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
41
- }
42
- }
43
- return message;
44
- }
45
- internalBinaryWrite(message: SignoffState, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
46
- let u = options.writeUnknownFields;
47
- if (u !== false)
48
- (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
49
- return writer;
50
- }
51
- }
52
- /**
53
- * @generated MessageType for protobuf message resources.documents.SignoffState
54
- */
55
- export const SignoffState = new SignoffState$Type();