@fivenet-app/gen 2025.9.1 → 2026.3.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 (131) hide show
  1. package/README.md +1 -1
  2. package/clients.ts +36 -0
  3. package/codegen/perms/perms.ts +94 -15
  4. package/codegen/sanitizer/sanitizer.ts +34 -1
  5. package/package.json +2 -2
  6. package/perms.ts +137 -6
  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} +69 -69
  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/clientconfig/clientconfig.ts +159 -34
  21. package/resources/collab/collab.ts +4 -16
  22. package/resources/common/content/content.ts +108 -85
  23. package/resources/common/content/diff_activity.ts +267 -0
  24. package/resources/common/i18n.ts +2 -2
  25. package/resources/{common/cron → cron}/cron.ts +41 -41
  26. package/resources/documents/{access.ts → access/access.ts} +30 -30
  27. package/resources/documents/{activity.ts → activity/activity.ts} +171 -123
  28. package/resources/documents/approval/approval.ts +945 -0
  29. package/resources/documents/{category.ts → category/category.ts} +7 -7
  30. package/resources/documents/{comment.ts → comment/comment.ts} +10 -10
  31. package/resources/documents/data/data.ts +303 -0
  32. package/resources/documents/documents.ts +282 -667
  33. package/resources/{common/uuid.ts → documents/forms/forms.ts} +20 -20
  34. package/resources/documents/{pins.ts → pins/pins.ts} +5 -5
  35. package/resources/documents/references/references.ts +187 -0
  36. package/resources/documents/relations/relations.ts +184 -0
  37. package/resources/documents/{requests.ts → requests/requests.ts} +18 -18
  38. package/resources/documents/stamps/stamp.ts +355 -0
  39. package/resources/documents/{templates.ts → templates/templates.ts} +426 -84
  40. package/resources/documents/{workflow.ts → workflow/workflow.ts} +264 -26
  41. package/resources/file/filestore.ts +1 -1
  42. package/resources/{common/grpcws → grpcws}/grpcws.ts +52 -52
  43. package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +54 -54
  44. package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +17 -28
  45. package/resources/jobs/{conduct.ts → conduct/conduct.ts} +70 -45
  46. package/resources/jobs/{labels.ts → labels/labels.ts} +18 -18
  47. package/resources/jobs/{job_props.ts → props/props.ts} +26 -38
  48. package/resources/jobs/{job_settings.ts → settings/settings.ts} +53 -53
  49. package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +17 -17
  50. package/resources/livemap/{heatmap.ts → heatmap/heatmap.ts} +4 -4
  51. package/resources/livemap/{marker_marker.ts → markers/marker_marker.ts} +35 -35
  52. package/resources/livemap/{user_marker.ts → markers/user_marker.ts} +115 -36
  53. package/resources/mailer/{access.ts → access/access.ts} +67 -67
  54. package/resources/mailer/{email.ts → emails/email.ts} +19 -19
  55. package/resources/mailer/{events.ts → events/events.ts} +24 -24
  56. package/resources/mailer/{message.ts → messages/message.ts} +29 -29
  57. package/resources/mailer/{settings.ts → settings/settings.ts} +14 -13
  58. package/resources/mailer/{template.ts → templates/template.ts} +15 -15
  59. package/resources/mailer/{thread.ts → threads/thread.ts} +29 -29
  60. package/resources/notifications/{client_view.ts → clientview/clientview.ts} +22 -22
  61. package/resources/notifications/{events.ts → events/events.ts} +20 -20
  62. package/resources/notifications/notifications.ts +4 -4
  63. package/resources/permissions/{attributes.ts → attributes/attributes.ts} +42 -42
  64. package/resources/permissions/{events.ts → events/events.ts} +7 -7
  65. package/resources/permissions/{permissions.ts → permissions/permissions.ts} +30 -19
  66. package/resources/qualifications/{access.ts → access/access.ts} +19 -19
  67. package/resources/qualifications/{exam.ts → exam/exam.ts} +269 -141
  68. package/resources/qualifications/qualifications.ts +51 -179
  69. package/resources/settings/banner.ts +3 -3
  70. package/resources/settings/config.ts +514 -14
  71. package/resources/{documents/state.ts → settings/data.ts} +41 -20
  72. package/resources/settings/perms.ts +14 -14
  73. package/resources/stats/stats.ts +379 -0
  74. package/resources/sync/{activity.ts → activity/activity.ts} +104 -25
  75. package/resources/sync/{data.ts → data/data.ts} +404 -58
  76. package/resources/sync/data/v2/data.ts +220 -0
  77. package/resources/userinfo/{user_info.ts → userinfo.ts} +71 -93
  78. package/resources/users/{activity.ts → activity/activity.ts} +121 -100
  79. package/resources/users/{labels.ts → labels/labels.ts} +12 -12
  80. package/resources/users/{licenses.ts → licenses/licenses.ts} +10 -10
  81. package/resources/users/{props.ts → props/props.ts} +91 -69
  82. package/resources/users/short/user.ts +184 -0
  83. package/resources/users/{users.ts → user.ts} +266 -195
  84. package/resources/vehicles/{activity.ts → activity/activity.ts} +20 -20
  85. package/resources/vehicles/{props.ts → props/props.ts} +28 -6
  86. package/resources/vehicles/vehicles.ts +20 -8
  87. package/resources/wiki/{access.ts → access/access.ts} +30 -30
  88. package/resources/wiki/{activity.ts → activity/activity.ts} +104 -70
  89. package/resources/wiki/page.ts +39 -15
  90. package/services/auth/auth.client.ts +23 -10
  91. package/services/auth/auth.ts +445 -262
  92. package/services/calendar/calendar.ts +56 -34
  93. package/services/centrum/centrum.ts +127 -127
  94. package/services/citizens/citizens.ts +51 -27
  95. package/services/completor/completor.ts +35 -15
  96. package/services/documents/approval.client.ts +188 -0
  97. package/services/documents/approval.ts +1776 -0
  98. package/services/documents/documents.ts +163 -185
  99. package/services/documents/forms.client.ts +51 -0
  100. package/services/documents/forms.ts +232 -0
  101. package/services/documents/stamps.client.ts +77 -0
  102. package/services/documents/stamps.ts +481 -0
  103. package/services/documents/stats.client.ts +38 -0
  104. package/services/documents/stats.ts +245 -0
  105. package/services/jobs/conduct.client.ts +30 -3
  106. package/services/jobs/conduct.ts +159 -33
  107. package/services/jobs/jobs.ts +43 -43
  108. package/services/jobs/stats.client.ts +38 -0
  109. package/services/jobs/stats.ts +207 -0
  110. package/services/jobs/timeclock.ts +39 -39
  111. package/services/livemap/livemap.ts +18 -18
  112. package/services/mailer/mailer.ts +78 -78
  113. package/services/notifications/notifications.ts +35 -35
  114. package/services/qualifications/qualifications.ts +80 -45
  115. package/services/settings/accounts.client.ts +23 -10
  116. package/services/settings/accounts.ts +191 -30
  117. package/services/settings/cron.ts +4 -4
  118. package/services/settings/laws.ts +1 -1
  119. package/services/settings/settings.ts +73 -52
  120. package/services/settings/system.client.ts +13 -0
  121. package/services/settings/system.ts +115 -15
  122. package/services/stats/stats.client.ts +7 -7
  123. package/services/stats/stats.ts +24 -24
  124. package/services/sync/sync.ts +124 -77
  125. package/services/sync/v2/sync.client.ts +331 -0
  126. package/services/sync/v2/sync.ts +1766 -0
  127. package/services/vehicles/vehicles.ts +8 -8
  128. package/services/wiki/wiki.ts +8 -8
  129. package/svcs.ts +95 -3
  130. package/resources/centrum/attributes.ts +0 -183
  131. package/resources/documents/signoff.ts +0 -55
@@ -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
@@ -4,19 +4,58 @@
4
4
  // source: services/centrum/centrum.proto
5
5
  // source: services/citizens/citizens.proto
6
6
  // source: services/completor/completor.proto
7
+ // source: services/documents/approval.proto
7
8
  // source: services/documents/collab.proto
8
9
  // source: services/documents/documents.proto
10
+ // source: services/documents/forms.proto
11
+ // source: services/documents/stamps.proto
12
+ // source: services/documents/stats.proto
13
+ // source: services/documents/approval.proto
9
14
  // source: services/documents/collab.proto
10
15
  // source: services/documents/documents.proto
16
+ // source: services/documents/forms.proto
17
+ // source: services/documents/stamps.proto
18
+ // source: services/documents/stats.proto
19
+ // source: services/documents/approval.proto
20
+ // source: services/documents/collab.proto
21
+ // source: services/documents/documents.proto
22
+ // source: services/documents/forms.proto
23
+ // source: services/documents/stamps.proto
24
+ // source: services/documents/stats.proto
25
+ // source: services/documents/approval.proto
26
+ // source: services/documents/collab.proto
27
+ // source: services/documents/documents.proto
28
+ // source: services/documents/forms.proto
29
+ // source: services/documents/stamps.proto
30
+ // source: services/documents/stats.proto
31
+ // source: services/documents/approval.proto
32
+ // source: services/documents/collab.proto
33
+ // source: services/documents/documents.proto
34
+ // source: services/documents/forms.proto
35
+ // source: services/documents/stamps.proto
36
+ // source: services/documents/stats.proto
37
+ // source: services/documents/approval.proto
38
+ // source: services/documents/collab.proto
39
+ // source: services/documents/documents.proto
40
+ // source: services/documents/forms.proto
41
+ // source: services/documents/stamps.proto
42
+ // source: services/documents/stats.proto
11
43
  // source: services/filestore/filestore.proto
12
44
  // source: services/jobs/conduct.proto
13
45
  // source: services/jobs/jobs.proto
46
+ // source: services/jobs/stats.proto
47
+ // source: services/jobs/timeclock.proto
48
+ // source: services/jobs/conduct.proto
49
+ // source: services/jobs/jobs.proto
50
+ // source: services/jobs/stats.proto
14
51
  // source: services/jobs/timeclock.proto
15
52
  // source: services/jobs/conduct.proto
16
53
  // source: services/jobs/jobs.proto
54
+ // source: services/jobs/stats.proto
17
55
  // source: services/jobs/timeclock.proto
18
56
  // source: services/jobs/conduct.proto
19
57
  // source: services/jobs/jobs.proto
58
+ // source: services/jobs/stats.proto
20
59
  // source: services/jobs/timeclock.proto
21
60
  // source: services/livemap/livemap.proto
22
61
  // source: services/mailer/mailer.proto
@@ -60,6 +99,7 @@
60
99
  // source: services/settings/system.proto
61
100
  // source: services/stats/stats.proto
62
101
  // source: services/sync/sync.proto
102
+ // source: services/sync/v2/sync.proto
63
103
  // source: services/vehicles/vehicles.proto
64
104
  // source: services/wiki/collab.proto
65
105
  // source: services/wiki/wiki.proto
@@ -72,11 +112,16 @@ export const grpcServices = [
72
112
  'centrum.CentrumService',
73
113
  'citizens.CitizensService',
74
114
  'completor.CompletorService',
115
+ 'documents.ApprovalService',
75
116
  'documents.CollabService',
76
117
  'documents.DocumentsService',
118
+ 'documents.FormsService',
119
+ 'documents.StampsService',
120
+ 'documents.StatsService',
77
121
  'filestore.FilestoreService',
78
122
  'jobs.ConductService',
79
123
  'jobs.JobsService',
124
+ 'jobs.StatsService',
80
125
  'jobs.TimeclockService',
81
126
  'livemap.LivemapService',
82
127
  'mailer.MailerService',
@@ -90,6 +135,7 @@ export const grpcServices = [
90
135
  'settings.SystemService',
91
136
  'stats.StatsService',
92
137
  'sync.SyncService',
138
+ 'sync.v2.SyncService',
93
139
  'vehicles.VehiclesService',
94
140
  'wiki.CollabService',
95
141
  'wiki.WikiService',
@@ -104,8 +150,9 @@ export const grpcMethods = [
104
150
  'auth.AuthService/ForgotPassword',
105
151
  'auth.AuthService/GetCharacters',
106
152
  'auth.AuthService/ChooseCharacter',
153
+ 'auth.AuthService/ImpersonateJob',
107
154
  'auth.AuthService/GetAccountInfo',
108
- 'auth.AuthService/DeleteOAuth2Connection',
155
+ 'auth.AuthService/DeleteSocialLogin',
109
156
  'auth.AuthService/SetSuperuserMode',
110
157
  'calendar.CalendarService/ListCalendars',
111
158
  'calendar.CalendarService/GetCalendar',
@@ -159,6 +206,17 @@ export const grpcMethods = [
159
206
  'completor.CompletorService/CompleteDocumentCategories',
160
207
  'completor.CompletorService/ListLawBooks',
161
208
  'completor.CompletorService/CompleteCitizenLabels',
209
+ 'documents.ApprovalService/ListApprovalTasksInbox',
210
+ 'documents.ApprovalService/ListApprovalPolicies',
211
+ 'documents.ApprovalService/UpsertApprovalPolicy',
212
+ 'documents.ApprovalService/ListApprovalTasks',
213
+ 'documents.ApprovalService/UpsertApprovalTasks',
214
+ 'documents.ApprovalService/DeleteApprovalTasks',
215
+ 'documents.ApprovalService/ListApprovals',
216
+ 'documents.ApprovalService/RevokeApproval',
217
+ 'documents.ApprovalService/DecideApproval',
218
+ 'documents.ApprovalService/ReopenApprovalTask',
219
+ 'documents.ApprovalService/RecomputeApprovalPolicyCounters',
162
220
  'documents.CollabService/JoinRoom',
163
221
  'documents.DocumentsService/ListTemplates',
164
222
  'documents.DocumentsService/GetTemplate',
@@ -197,14 +255,23 @@ export const grpcMethods = [
197
255
  'documents.DocumentsService/ToggleDocumentPin',
198
256
  'documents.DocumentsService/SetDocumentReminder',
199
257
  'documents.DocumentsService/UploadFile',
258
+ 'documents.FormsService/GetForm',
259
+ 'documents.FormsService/ListForms',
260
+ 'documents.StampsService/ListUsableStamps',
261
+ 'documents.StampsService/GetStamp',
262
+ 'documents.StampsService/UpsertStamp',
263
+ 'documents.StampsService/DeleteStamp',
264
+ 'documents.StatsService/GetStats',
200
265
  'filestore.FilestoreService/Upload',
201
266
  'filestore.FilestoreService/ListFiles',
202
267
  'filestore.FilestoreService/DeleteFile',
203
268
  'filestore.FilestoreService/DeleteFileByPath',
204
269
  'jobs.ConductService/ListConductEntries',
270
+ 'jobs.ConductService/GetConductEntry',
205
271
  'jobs.ConductService/CreateConductEntry',
206
272
  'jobs.ConductService/UpdateConductEntry',
207
273
  'jobs.ConductService/DeleteConductEntry',
274
+ 'jobs.ConductService/UploadFile',
208
275
  'jobs.JobsService/ListColleagues',
209
276
  'jobs.JobsService/GetSelf',
210
277
  'jobs.JobsService/GetColleague',
@@ -215,6 +282,7 @@ export const grpcMethods = [
215
282
  'jobs.JobsService/GetColleagueLabelsStats',
216
283
  'jobs.JobsService/GetMOTD',
217
284
  'jobs.JobsService/SetMOTD',
285
+ 'jobs.StatsService/GetStats',
218
286
  'jobs.TimeclockService/ListTimeclock',
219
287
  'jobs.TimeclockService/GetTimeclockStats',
220
288
  'jobs.TimeclockService/ListInactiveEmployees',
@@ -262,8 +330,9 @@ export const grpcMethods = [
262
330
  'qualifications.QualificationsService/GetUserExam',
263
331
  'qualifications.QualificationsService/UploadFile',
264
332
  'settings.AccountsService/ListAccounts',
333
+ 'settings.AccountsService/CreateAccount',
265
334
  'settings.AccountsService/UpdateAccount',
266
- 'settings.AccountsService/DisconnectOAuth2Connection',
335
+ 'settings.AccountsService/DisconnectSocialLogin',
267
336
  'settings.AccountsService/DeleteAccount',
268
337
  'settings.ConfigService/GetAppConfig',
269
338
  'settings.ConfigService/UpdateAppConfig',
@@ -291,7 +360,8 @@ export const grpcMethods = [
291
360
  'settings.SystemService/GetJobLimits',
292
361
  'settings.SystemService/UpdateJobLimits',
293
362
  'settings.SystemService/DeleteFaction',
294
- 'stats.StatsService/GetStats',
363
+ 'settings.SystemService/TriggerUserSync',
364
+ 'stats.StatsService/GetPublicStats',
295
365
  'sync.SyncService/GetStatus',
296
366
  'sync.SyncService/AddActivity',
297
367
  'sync.SyncService/RegisterAccount',
@@ -299,6 +369,28 @@ export const grpcMethods = [
299
369
  'sync.SyncService/SendData',
300
370
  'sync.SyncService/DeleteData',
301
371
  'sync.SyncService/Stream',
372
+ 'sync.v2.SyncService/GetStatus',
373
+ 'sync.v2.SyncService/RegisterAccount',
374
+ 'sync.v2.SyncService/TransferAccount',
375
+ 'sync.v2.SyncService/AddUserOAuth2Conn',
376
+ 'sync.v2.SyncService/AddDispatch',
377
+ 'sync.v2.SyncService/AddUserActivity',
378
+ 'sync.v2.SyncService/AddUserProps',
379
+ 'sync.v2.SyncService/AddColleagueActivity',
380
+ 'sync.v2.SyncService/AddColleagueProps',
381
+ 'sync.v2.SyncService/AddJobTimeclock',
382
+ 'sync.v2.SyncService/AddAccountUpdate',
383
+ 'sync.v2.SyncService/AddUserUpdate',
384
+ 'sync.v2.SyncService/SendJobsData',
385
+ 'sync.v2.SyncService/SendLicensesData',
386
+ 'sync.v2.SyncService/SendAccountsData',
387
+ 'sync.v2.SyncService/SendUsersData',
388
+ 'sync.v2.SyncService/SendVehiclesData',
389
+ 'sync.v2.SyncService/SendUserLocationsData',
390
+ 'sync.v2.SyncService/SendLastCharIDData',
391
+ 'sync.v2.SyncService/DeleteUsersData',
392
+ 'sync.v2.SyncService/DeleteVehiclesData',
393
+ 'sync.v2.SyncService/Stream',
302
394
  'vehicles.VehiclesService/ListVehicles',
303
395
  'vehicles.VehiclesService/SetVehicleProps',
304
396
  '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();