@fivenet-app/gen 2025.5.2 → 2025.9.1
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.
- package/buf/validate/validate.ts +11301 -0
- package/clients.ts +157 -154
- package/codegen/dbscanner/dbscanner.ts +91 -0
- package/codegen/perms/perms.ts +208 -0
- package/codegen/sanitizer/sanitizer.ts +80 -0
- package/google/protobuf/any.ts +4 -3
- package/google/protobuf/descriptor.ts +393 -239
- package/google/protobuf/duration.ts +4 -3
- package/google/protobuf/struct.ts +485 -0
- package/google/protobuf/timestamp.ts +4 -3
- package/package.json +3 -3
- package/perms.ts +85 -159
- package/resources/accounts/accounts.ts +26 -25
- package/resources/accounts/oauth2.ts +30 -29
- package/resources/audit/audit.ts +36 -35
- package/resources/calendar/access.ts +49 -48
- package/resources/calendar/calendar.ts +122 -126
- package/resources/centrum/access.ts +345 -0
- package/resources/centrum/attributes.ts +8 -11
- package/resources/centrum/dispatchers.ts +149 -0
- package/resources/centrum/dispatches.ts +252 -115
- package/resources/centrum/settings.ts +384 -34
- package/resources/centrum/units.ts +112 -92
- package/resources/centrum/units_access.ts +54 -55
- package/resources/clientconfig/clientconfig.ts +890 -0
- package/resources/collab/collab.ts +817 -0
- package/resources/common/content/content.ts +113 -30
- package/resources/common/cron/cron.ts +43 -31
- package/resources/common/database/database.ts +92 -35
- package/resources/common/error.ts +17 -16
- package/resources/common/grpcws/grpcws.ts +24 -23
- package/resources/common/i18n.ts +20 -24
- package/resources/common/id_mapping.ts +69 -0
- package/resources/common/tests/objects.ts +4 -3
- package/resources/common/uuid.ts +4 -3
- package/resources/discord/discord.ts +209 -0
- package/resources/documents/access.ts +52 -53
- package/resources/documents/activity.ts +235 -58
- package/resources/documents/category.ts +20 -27
- package/resources/documents/comment.ts +26 -25
- package/resources/documents/documents.ts +335 -262
- package/resources/documents/pins.ts +127 -0
- package/resources/documents/requests.ts +31 -30
- package/resources/documents/signoff.ts +55 -0
- package/resources/documents/state.ts +69 -0
- package/resources/documents/templates.ts +119 -136
- package/resources/documents/workflow.ts +35 -24
- package/resources/file/file.ts +152 -0
- package/{services/settings → resources/file}/filestore.ts +179 -165
- package/resources/file/meta.ts +148 -0
- package/resources/jobs/activity.ts +39 -42
- package/resources/jobs/colleagues.ts +67 -60
- package/resources/jobs/conduct.ts +29 -30
- package/resources/jobs/job_props.ts +46 -48
- package/resources/jobs/job_settings.ts +45 -52
- package/resources/jobs/jobs.ts +14 -13
- package/resources/jobs/labels.ts +21 -22
- package/resources/jobs/timeclock.ts +26 -25
- package/resources/laws/laws.ts +40 -49
- package/resources/livemap/coords.ts +81 -0
- package/resources/livemap/heatmap.ts +93 -0
- package/resources/livemap/{livemap.ts → marker_marker.ts} +43 -310
- package/resources/livemap/user_marker.ts +298 -0
- package/resources/mailer/access.ts +75 -74
- package/resources/mailer/email.ts +24 -27
- package/resources/mailer/events.ts +25 -24
- package/resources/mailer/message.ts +45 -50
- package/resources/mailer/settings.ts +12 -15
- package/resources/mailer/template.ts +25 -28
- package/resources/mailer/thread.ts +70 -71
- package/resources/notifications/client_view.ts +239 -0
- package/resources/notifications/events.ts +50 -101
- package/resources/notifications/notifications.ts +52 -57
- package/resources/permissions/attributes.ts +63 -206
- package/resources/permissions/events.ts +149 -0
- package/resources/permissions/permissions.ts +103 -34
- package/resources/qualifications/access.ts +27 -26
- package/resources/qualifications/exam.ts +188 -126
- package/resources/qualifications/qualifications.ts +370 -303
- package/resources/settings/banner.ts +14 -21
- package/resources/settings/config.ts +163 -79
- package/resources/settings/perms.ts +151 -0
- package/resources/settings/status.ts +533 -0
- package/resources/stats/stats.ts +3 -2
- package/resources/sync/activity.ts +24 -23
- package/resources/sync/data.ts +94 -26
- package/resources/timestamp/timestamp.ts +3 -2
- package/resources/{centrum/user_unit.ts → tracker/mapping.ts} +44 -44
- package/resources/userinfo/user_info.ts +464 -0
- package/resources/users/activity.ts +80 -85
- package/resources/users/labels.ts +18 -21
- package/resources/users/licenses.ts +9 -8
- package/resources/users/props.ts +61 -51
- package/resources/users/users.ts +100 -78
- package/resources/vehicles/activity.ts +231 -0
- package/resources/vehicles/props.ts +103 -0
- package/resources/vehicles/vehicles.ts +28 -15
- package/resources/wiki/access.ts +49 -48
- package/resources/wiki/activity.ts +133 -51
- package/resources/wiki/page.ts +134 -87
- package/services/auth/auth.client.ts +24 -27
- package/services/auth/auth.ts +222 -195
- package/services/calendar/calendar.client.ts +32 -91
- package/services/calendar/calendar.ts +110 -109
- package/services/centrum/centrum.client.ts +97 -137
- package/services/centrum/centrum.ts +701 -298
- package/services/citizens/citizens.client.ts +70 -39
- package/services/citizens/citizens.ts +183 -93
- package/services/completor/completor.client.ts +16 -35
- package/services/completor/completor.ts +65 -44
- package/services/documents/collab.client.ts +46 -0
- package/services/documents/collab.ts +13 -0
- package/services/documents/documents.client.ts +88 -217
- package/services/documents/documents.ts +490 -508
- package/services/filestore/filestore.client.ts +86 -0
- package/services/filestore/filestore.ts +262 -0
- package/services/jobs/conduct.client.ts +10 -25
- package/services/jobs/conduct.ts +36 -35
- package/services/jobs/jobs.client.ts +22 -61
- package/services/jobs/jobs.ts +108 -91
- package/services/jobs/timeclock.client.ts +8 -19
- package/services/jobs/timeclock.ts +47 -46
- package/services/livemap/livemap.client.ts +8 -19
- package/services/livemap/livemap.ts +290 -119
- package/services/mailer/mailer.client.ts +44 -127
- package/services/mailer/mailer.ts +213 -216
- package/services/notifications/notifications.client.ts +65 -0
- package/services/{notificator/notificator.ts → notifications/notifications.ts} +117 -74
- package/services/qualifications/qualifications.client.ts +46 -91
- package/services/qualifications/qualifications.ts +181 -175
- package/services/settings/accounts.client.ts +10 -25
- package/services/settings/accounts.ts +64 -41
- package/services/settings/config.client.ts +6 -13
- package/services/settings/config.ts +8 -7
- package/services/settings/cron.client.ts +4 -7
- package/services/settings/cron.ts +4 -3
- package/services/settings/laws.client.ts +10 -25
- package/services/settings/laws.ts +29 -28
- package/services/settings/settings.client.ts +57 -103
- package/services/settings/settings.ts +190 -607
- package/services/settings/system.client.ts +90 -0
- package/services/settings/system.ts +618 -0
- package/services/stats/stats.client.ts +4 -3
- package/services/stats/stats.ts +4 -3
- package/services/sync/sync.client.ts +16 -15
- package/services/sync/sync.ts +82 -52
- package/services/vehicles/vehicles.client.ts +17 -7
- package/services/vehicles/vehicles.ts +169 -24
- package/services/wiki/collab.client.ts +46 -0
- package/services/wiki/collab.ts +13 -0
- package/services/wiki/wiki.client.ts +28 -37
- package/services/wiki/wiki.ts +93 -63
- package/svcs.ts +79 -103
- package/resources/centrum/disponents.ts +0 -81
- package/resources/filestore/file.ts +0 -204
- package/resources/internet/access.ts +0 -358
- package/resources/internet/ads.ts +0 -257
- package/resources/internet/domain.ts +0 -328
- package/resources/internet/page.ts +0 -428
- package/resources/internet/search.ts +0 -128
- package/resources/livemap/tracker.ts +0 -81
- package/services/internet/ads.client.ts +0 -41
- package/services/internet/ads.ts +0 -145
- package/services/internet/domain.client.ts +0 -109
- package/services/internet/domain.ts +0 -658
- package/services/internet/internet.client.ts +0 -58
- package/services/internet/internet.ts +0 -268
- package/services/notificator/notificator.client.ts +0 -76
- package/services/settings/filestore.client.ts +0 -75
package/svcs.ts
CHANGED
|
@@ -1,103 +1,69 @@
|
|
|
1
1
|
// Code generated by protoc-gen-fronthelper. DO NOT EDIT.
|
|
2
|
-
// source: resources/accounts/accounts.proto
|
|
3
|
-
// source: resources/accounts/oauth2.proto
|
|
4
|
-
// source: resources/audit/audit.proto
|
|
5
|
-
// source: resources/calendar/access.proto
|
|
6
|
-
// source: resources/calendar/calendar.proto
|
|
7
|
-
// source: resources/centrum/attributes.proto
|
|
8
|
-
// source: resources/centrum/dispatches.proto
|
|
9
|
-
// source: resources/centrum/disponents.proto
|
|
10
|
-
// source: resources/centrum/settings.proto
|
|
11
|
-
// source: resources/centrum/units.proto
|
|
12
|
-
// source: resources/centrum/units_access.proto
|
|
13
|
-
// source: resources/centrum/user_unit.proto
|
|
14
|
-
// source: resources/common/error.proto
|
|
15
|
-
// source: resources/common/i18n.proto
|
|
16
|
-
// source: resources/common/uuid.proto
|
|
17
|
-
// source: resources/common/content/content.proto
|
|
18
|
-
// source: resources/common/cron/cron.proto
|
|
19
|
-
// source: resources/common/database/database.proto
|
|
20
|
-
// source: resources/common/grpcws/grpcws.proto
|
|
21
|
-
// source: resources/common/tests/objects.proto
|
|
22
|
-
// source: resources/documents/access.proto
|
|
23
|
-
// source: resources/documents/activity.proto
|
|
24
|
-
// source: resources/documents/category.proto
|
|
25
|
-
// source: resources/documents/comment.proto
|
|
26
|
-
// source: resources/documents/documents.proto
|
|
27
|
-
// source: resources/documents/requests.proto
|
|
28
|
-
// source: resources/documents/templates.proto
|
|
29
|
-
// source: resources/documents/workflow.proto
|
|
30
|
-
// source: resources/filestore/file.proto
|
|
31
|
-
// source: resources/internet/access.proto
|
|
32
|
-
// source: resources/internet/ads.proto
|
|
33
|
-
// source: resources/internet/domain.proto
|
|
34
|
-
// source: resources/internet/page.proto
|
|
35
|
-
// source: resources/internet/search.proto
|
|
36
|
-
// source: resources/jobs/activity.proto
|
|
37
|
-
// source: resources/jobs/colleagues.proto
|
|
38
|
-
// source: resources/jobs/conduct.proto
|
|
39
|
-
// source: resources/jobs/job_props.proto
|
|
40
|
-
// source: resources/jobs/job_settings.proto
|
|
41
|
-
// source: resources/jobs/jobs.proto
|
|
42
|
-
// source: resources/jobs/labels.proto
|
|
43
|
-
// source: resources/jobs/timeclock.proto
|
|
44
|
-
// source: resources/laws/laws.proto
|
|
45
|
-
// source: resources/livemap/livemap.proto
|
|
46
|
-
// source: resources/livemap/tracker.proto
|
|
47
|
-
// source: resources/mailer/access.proto
|
|
48
|
-
// source: resources/mailer/email.proto
|
|
49
|
-
// source: resources/mailer/events.proto
|
|
50
|
-
// source: resources/mailer/message.proto
|
|
51
|
-
// source: resources/mailer/settings.proto
|
|
52
|
-
// source: resources/mailer/template.proto
|
|
53
|
-
// source: resources/mailer/thread.proto
|
|
54
|
-
// source: resources/notifications/events.proto
|
|
55
|
-
// source: resources/notifications/notifications.proto
|
|
56
|
-
// source: resources/permissions/attributes.proto
|
|
57
|
-
// source: resources/permissions/permissions.proto
|
|
58
|
-
// source: resources/qualifications/access.proto
|
|
59
|
-
// source: resources/qualifications/exam.proto
|
|
60
|
-
// source: resources/qualifications/qualifications.proto
|
|
61
|
-
// source: resources/settings/banner.proto
|
|
62
|
-
// source: resources/settings/config.proto
|
|
63
|
-
// source: resources/stats/stats.proto
|
|
64
|
-
// source: resources/sync/activity.proto
|
|
65
|
-
// source: resources/sync/data.proto
|
|
66
|
-
// source: resources/timestamp/timestamp.proto
|
|
67
|
-
// source: resources/users/activity.proto
|
|
68
|
-
// source: resources/users/labels.proto
|
|
69
|
-
// source: resources/users/licenses.proto
|
|
70
|
-
// source: resources/users/props.proto
|
|
71
|
-
// source: resources/users/users.proto
|
|
72
|
-
// source: resources/vehicles/vehicles.proto
|
|
73
|
-
// source: resources/wiki/access.proto
|
|
74
|
-
// source: resources/wiki/activity.proto
|
|
75
|
-
// source: resources/wiki/page.proto
|
|
76
2
|
// source: services/auth/auth.proto
|
|
77
3
|
// source: services/calendar/calendar.proto
|
|
78
4
|
// source: services/centrum/centrum.proto
|
|
79
5
|
// source: services/citizens/citizens.proto
|
|
80
6
|
// source: services/completor/completor.proto
|
|
7
|
+
// source: services/documents/collab.proto
|
|
81
8
|
// source: services/documents/documents.proto
|
|
82
|
-
// source: services/
|
|
83
|
-
// source: services/
|
|
84
|
-
// source: services/
|
|
9
|
+
// source: services/documents/collab.proto
|
|
10
|
+
// source: services/documents/documents.proto
|
|
11
|
+
// source: services/filestore/filestore.proto
|
|
12
|
+
// source: services/jobs/conduct.proto
|
|
13
|
+
// source: services/jobs/jobs.proto
|
|
14
|
+
// source: services/jobs/timeclock.proto
|
|
15
|
+
// source: services/jobs/conduct.proto
|
|
16
|
+
// source: services/jobs/jobs.proto
|
|
17
|
+
// source: services/jobs/timeclock.proto
|
|
85
18
|
// source: services/jobs/conduct.proto
|
|
86
19
|
// source: services/jobs/jobs.proto
|
|
87
20
|
// source: services/jobs/timeclock.proto
|
|
88
21
|
// source: services/livemap/livemap.proto
|
|
89
22
|
// source: services/mailer/mailer.proto
|
|
90
|
-
// source: services/
|
|
23
|
+
// source: services/notifications/notifications.proto
|
|
91
24
|
// source: services/qualifications/qualifications.proto
|
|
92
25
|
// source: services/settings/accounts.proto
|
|
93
26
|
// source: services/settings/config.proto
|
|
94
27
|
// source: services/settings/cron.proto
|
|
95
|
-
// source: services/settings/filestore.proto
|
|
96
28
|
// source: services/settings/laws.proto
|
|
97
29
|
// source: services/settings/settings.proto
|
|
30
|
+
// source: services/settings/system.proto
|
|
31
|
+
// source: services/settings/accounts.proto
|
|
32
|
+
// source: services/settings/config.proto
|
|
33
|
+
// source: services/settings/cron.proto
|
|
34
|
+
// source: services/settings/laws.proto
|
|
35
|
+
// source: services/settings/settings.proto
|
|
36
|
+
// source: services/settings/system.proto
|
|
37
|
+
// source: services/settings/accounts.proto
|
|
38
|
+
// source: services/settings/config.proto
|
|
39
|
+
// source: services/settings/cron.proto
|
|
40
|
+
// source: services/settings/laws.proto
|
|
41
|
+
// source: services/settings/settings.proto
|
|
42
|
+
// source: services/settings/system.proto
|
|
43
|
+
// source: services/settings/accounts.proto
|
|
44
|
+
// source: services/settings/config.proto
|
|
45
|
+
// source: services/settings/cron.proto
|
|
46
|
+
// source: services/settings/laws.proto
|
|
47
|
+
// source: services/settings/settings.proto
|
|
48
|
+
// source: services/settings/system.proto
|
|
49
|
+
// source: services/settings/accounts.proto
|
|
50
|
+
// source: services/settings/config.proto
|
|
51
|
+
// source: services/settings/cron.proto
|
|
52
|
+
// source: services/settings/laws.proto
|
|
53
|
+
// source: services/settings/settings.proto
|
|
54
|
+
// source: services/settings/system.proto
|
|
55
|
+
// source: services/settings/accounts.proto
|
|
56
|
+
// source: services/settings/config.proto
|
|
57
|
+
// source: services/settings/cron.proto
|
|
58
|
+
// source: services/settings/laws.proto
|
|
59
|
+
// source: services/settings/settings.proto
|
|
60
|
+
// source: services/settings/system.proto
|
|
98
61
|
// source: services/stats/stats.proto
|
|
99
62
|
// source: services/sync/sync.proto
|
|
100
63
|
// source: services/vehicles/vehicles.proto
|
|
64
|
+
// source: services/wiki/collab.proto
|
|
65
|
+
// source: services/wiki/wiki.proto
|
|
66
|
+
// source: services/wiki/collab.proto
|
|
101
67
|
// source: services/wiki/wiki.proto
|
|
102
68
|
|
|
103
69
|
export const grpcServices = [
|
|
@@ -106,26 +72,26 @@ export const grpcServices = [
|
|
|
106
72
|
'centrum.CentrumService',
|
|
107
73
|
'citizens.CitizensService',
|
|
108
74
|
'completor.CompletorService',
|
|
75
|
+
'documents.CollabService',
|
|
109
76
|
'documents.DocumentsService',
|
|
110
|
-
'
|
|
111
|
-
'internet.DomainService',
|
|
112
|
-
'internet.InternetService',
|
|
77
|
+
'filestore.FilestoreService',
|
|
113
78
|
'jobs.ConductService',
|
|
114
79
|
'jobs.JobsService',
|
|
115
80
|
'jobs.TimeclockService',
|
|
116
81
|
'livemap.LivemapService',
|
|
117
82
|
'mailer.MailerService',
|
|
118
|
-
'
|
|
83
|
+
'notifications.NotificationsService',
|
|
119
84
|
'qualifications.QualificationsService',
|
|
120
85
|
'settings.AccountsService',
|
|
121
86
|
'settings.ConfigService',
|
|
122
87
|
'settings.CronService',
|
|
123
|
-
'settings.FilestoreService',
|
|
124
88
|
'settings.LawsService',
|
|
125
89
|
'settings.SettingsService',
|
|
90
|
+
'settings.SystemService',
|
|
126
91
|
'stats.StatsService',
|
|
127
92
|
'sync.SyncService',
|
|
128
93
|
'vehicles.VehiclesService',
|
|
94
|
+
'wiki.CollabService',
|
|
129
95
|
'wiki.WikiService',
|
|
130
96
|
];
|
|
131
97
|
|
|
@@ -160,9 +126,12 @@ export const grpcMethods = [
|
|
|
160
126
|
'centrum.CentrumService/CreateDispatch',
|
|
161
127
|
'centrum.CentrumService/UpdateDispatch',
|
|
162
128
|
'centrum.CentrumService/DeleteDispatch',
|
|
129
|
+
'centrum.CentrumService/ListDispatchTargetJobs',
|
|
163
130
|
'centrum.CentrumService/TakeControl',
|
|
164
131
|
'centrum.CentrumService/AssignDispatch',
|
|
165
132
|
'centrum.CentrumService/AssignUnit',
|
|
133
|
+
'centrum.CentrumService/GetDispatchHeatmap',
|
|
134
|
+
'centrum.CentrumService/UpdateDispatchers',
|
|
166
135
|
'centrum.CentrumService/Stream',
|
|
167
136
|
'centrum.CentrumService/GetSettings',
|
|
168
137
|
'centrum.CentrumService/JoinUnit',
|
|
@@ -180,13 +149,17 @@ export const grpcMethods = [
|
|
|
180
149
|
'citizens.CitizensService/GetUser',
|
|
181
150
|
'citizens.CitizensService/ListUserActivity',
|
|
182
151
|
'citizens.CitizensService/SetUserProps',
|
|
183
|
-
'citizens.CitizensService/
|
|
152
|
+
'citizens.CitizensService/UploadAvatar',
|
|
153
|
+
'citizens.CitizensService/DeleteAvatar',
|
|
154
|
+
'citizens.CitizensService/UploadMugshot',
|
|
155
|
+
'citizens.CitizensService/DeleteMugshot',
|
|
184
156
|
'citizens.CitizensService/ManageLabels',
|
|
185
157
|
'completor.CompletorService/CompleteCitizens',
|
|
186
158
|
'completor.CompletorService/CompleteJobs',
|
|
187
159
|
'completor.CompletorService/CompleteDocumentCategories',
|
|
188
160
|
'completor.CompletorService/ListLawBooks',
|
|
189
161
|
'completor.CompletorService/CompleteCitizenLabels',
|
|
162
|
+
'documents.CollabService/JoinRoom',
|
|
190
163
|
'documents.DocumentsService/ListTemplates',
|
|
191
164
|
'documents.DocumentsService/GetTemplate',
|
|
192
165
|
'documents.DocumentsService/CreateTemplate',
|
|
@@ -223,14 +196,11 @@ export const grpcMethods = [
|
|
|
223
196
|
'documents.DocumentsService/ListDocumentPins',
|
|
224
197
|
'documents.DocumentsService/ToggleDocumentPin',
|
|
225
198
|
'documents.DocumentsService/SetDocumentReminder',
|
|
226
|
-
'
|
|
227
|
-
'
|
|
228
|
-
'
|
|
229
|
-
'
|
|
230
|
-
'
|
|
231
|
-
'internet.DomainService/UpdateDomain',
|
|
232
|
-
'internet.InternetService/Search',
|
|
233
|
-
'internet.InternetService/GetPage',
|
|
199
|
+
'documents.DocumentsService/UploadFile',
|
|
200
|
+
'filestore.FilestoreService/Upload',
|
|
201
|
+
'filestore.FilestoreService/ListFiles',
|
|
202
|
+
'filestore.FilestoreService/DeleteFile',
|
|
203
|
+
'filestore.FilestoreService/DeleteFileByPath',
|
|
234
204
|
'jobs.ConductService/ListConductEntries',
|
|
235
205
|
'jobs.ConductService/CreateConductEntry',
|
|
236
206
|
'jobs.ConductService/UpdateConductEntry',
|
|
@@ -272,9 +242,9 @@ export const grpcMethods = [
|
|
|
272
242
|
'mailer.MailerService/DeleteMessage',
|
|
273
243
|
'mailer.MailerService/GetEmailSettings',
|
|
274
244
|
'mailer.MailerService/SetEmailSettings',
|
|
275
|
-
'
|
|
276
|
-
'
|
|
277
|
-
'
|
|
245
|
+
'notifications.NotificationsService/GetNotifications',
|
|
246
|
+
'notifications.NotificationsService/MarkNotifications',
|
|
247
|
+
'notifications.NotificationsService/Stream',
|
|
278
248
|
'qualifications.QualificationsService/ListQualifications',
|
|
279
249
|
'qualifications.QualificationsService/GetQualification',
|
|
280
250
|
'qualifications.QualificationsService/CreateQualification',
|
|
@@ -290,6 +260,7 @@ export const grpcMethods = [
|
|
|
290
260
|
'qualifications.QualificationsService/TakeExam',
|
|
291
261
|
'qualifications.QualificationsService/SubmitExam',
|
|
292
262
|
'qualifications.QualificationsService/GetUserExam',
|
|
263
|
+
'qualifications.QualificationsService/UploadFile',
|
|
293
264
|
'settings.AccountsService/ListAccounts',
|
|
294
265
|
'settings.AccountsService/UpdateAccount',
|
|
295
266
|
'settings.AccountsService/DisconnectOAuth2Connection',
|
|
@@ -297,9 +268,6 @@ export const grpcMethods = [
|
|
|
297
268
|
'settings.ConfigService/GetAppConfig',
|
|
298
269
|
'settings.ConfigService/UpdateAppConfig',
|
|
299
270
|
'settings.CronService/ListCronjobs',
|
|
300
|
-
'settings.FilestoreService/ListFiles',
|
|
301
|
-
'settings.FilestoreService/UploadFile',
|
|
302
|
-
'settings.FilestoreService/DeleteFile',
|
|
303
271
|
'settings.LawsService/CreateOrUpdateLawBook',
|
|
304
272
|
'settings.LawsService/DeleteLawBook',
|
|
305
273
|
'settings.LawsService/CreateOrUpdateLaw',
|
|
@@ -314,10 +282,15 @@ export const grpcMethods = [
|
|
|
314
282
|
'settings.SettingsService/GetPermissions',
|
|
315
283
|
'settings.SettingsService/GetEffectivePermissions',
|
|
316
284
|
'settings.SettingsService/ViewAuditLog',
|
|
317
|
-
'settings.SettingsService/
|
|
318
|
-
'settings.SettingsService/
|
|
319
|
-
'settings.SettingsService/
|
|
320
|
-
'settings.SettingsService/
|
|
285
|
+
'settings.SettingsService/ListDiscordChannels',
|
|
286
|
+
'settings.SettingsService/ListUserGuilds',
|
|
287
|
+
'settings.SettingsService/UploadJobLogo',
|
|
288
|
+
'settings.SettingsService/DeleteJobLogo',
|
|
289
|
+
'settings.SystemService/GetStatus',
|
|
290
|
+
'settings.SystemService/GetAllPermissions',
|
|
291
|
+
'settings.SystemService/GetJobLimits',
|
|
292
|
+
'settings.SystemService/UpdateJobLimits',
|
|
293
|
+
'settings.SystemService/DeleteFaction',
|
|
321
294
|
'stats.StatsService/GetStats',
|
|
322
295
|
'sync.SyncService/GetStatus',
|
|
323
296
|
'sync.SyncService/AddActivity',
|
|
@@ -327,10 +300,13 @@ export const grpcMethods = [
|
|
|
327
300
|
'sync.SyncService/DeleteData',
|
|
328
301
|
'sync.SyncService/Stream',
|
|
329
302
|
'vehicles.VehiclesService/ListVehicles',
|
|
303
|
+
'vehicles.VehiclesService/SetVehicleProps',
|
|
304
|
+
'wiki.CollabService/JoinRoom',
|
|
330
305
|
'wiki.WikiService/ListPages',
|
|
331
306
|
'wiki.WikiService/GetPage',
|
|
332
307
|
'wiki.WikiService/CreatePage',
|
|
333
308
|
'wiki.WikiService/UpdatePage',
|
|
334
309
|
'wiki.WikiService/DeletePage',
|
|
335
310
|
'wiki.WikiService/ListPageActivity',
|
|
311
|
+
'wiki.WikiService/UploadFile',
|
|
336
312
|
];
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
-
// @generated from protobuf file "resources/centrum/disponents.proto" (package "resources.centrum", syntax proto3)
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
-
import { WireType } 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
|
-
import { Colleague } from "../jobs/colleagues";
|
|
14
|
-
/**
|
|
15
|
-
* @generated from protobuf message resources.centrum.Disponents
|
|
16
|
-
*/
|
|
17
|
-
export interface Disponents {
|
|
18
|
-
/**
|
|
19
|
-
* @generated from protobuf field: string job = 1;
|
|
20
|
-
*/
|
|
21
|
-
job: string;
|
|
22
|
-
/**
|
|
23
|
-
* @generated from protobuf field: repeated resources.jobs.Colleague disponents = 2;
|
|
24
|
-
*/
|
|
25
|
-
disponents: Colleague[];
|
|
26
|
-
}
|
|
27
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
28
|
-
class Disponents$Type extends MessageType<Disponents> {
|
|
29
|
-
constructor() {
|
|
30
|
-
super("resources.centrum.Disponents", [
|
|
31
|
-
{ no: 1, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
|
|
32
|
-
{ no: 2, name: "disponents", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Colleague }
|
|
33
|
-
]);
|
|
34
|
-
}
|
|
35
|
-
create(value?: PartialMessage<Disponents>): Disponents {
|
|
36
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
37
|
-
message.job = "";
|
|
38
|
-
message.disponents = [];
|
|
39
|
-
if (value !== undefined)
|
|
40
|
-
reflectionMergePartial<Disponents>(this, message, value);
|
|
41
|
-
return message;
|
|
42
|
-
}
|
|
43
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: Disponents): Disponents {
|
|
44
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
45
|
-
while (reader.pos < end) {
|
|
46
|
-
let [fieldNo, wireType] = reader.tag();
|
|
47
|
-
switch (fieldNo) {
|
|
48
|
-
case /* string job */ 1:
|
|
49
|
-
message.job = reader.string();
|
|
50
|
-
break;
|
|
51
|
-
case /* repeated resources.jobs.Colleague disponents */ 2:
|
|
52
|
-
message.disponents.push(Colleague.internalBinaryRead(reader, reader.uint32(), options));
|
|
53
|
-
break;
|
|
54
|
-
default:
|
|
55
|
-
let u = options.readUnknownField;
|
|
56
|
-
if (u === "throw")
|
|
57
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
58
|
-
let d = reader.skip(wireType);
|
|
59
|
-
if (u !== false)
|
|
60
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return message;
|
|
64
|
-
}
|
|
65
|
-
internalBinaryWrite(message: Disponents, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
66
|
-
/* string job = 1; */
|
|
67
|
-
if (message.job !== "")
|
|
68
|
-
writer.tag(1, WireType.LengthDelimited).string(message.job);
|
|
69
|
-
/* repeated resources.jobs.Colleague disponents = 2; */
|
|
70
|
-
for (let i = 0; i < message.disponents.length; i++)
|
|
71
|
-
Colleague.internalBinaryWrite(message.disponents[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
72
|
-
let u = options.writeUnknownFields;
|
|
73
|
-
if (u !== false)
|
|
74
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
75
|
-
return writer;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* @generated MessageType for protobuf message resources.centrum.Disponents
|
|
80
|
-
*/
|
|
81
|
-
export const Disponents = new Disponents$Type();
|
|
@@ -1,204 +0,0 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
|
|
2
|
-
// @generated from protobuf file "resources/filestore/file.proto" (package "resources.filestore", syntax proto3)
|
|
3
|
-
// @ts-nocheck
|
|
4
|
-
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
|
-
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
6
|
-
import { WireType } 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
|
-
import { Timestamp } from "../timestamp/timestamp";
|
|
14
|
-
/**
|
|
15
|
-
* @generated from protobuf message resources.filestore.File
|
|
16
|
-
*/
|
|
17
|
-
export interface File {
|
|
18
|
-
/**
|
|
19
|
-
* @generated from protobuf field: optional string url = 1;
|
|
20
|
-
*/
|
|
21
|
-
url?: string;
|
|
22
|
-
/**
|
|
23
|
-
* @generated from protobuf field: bytes data = 2;
|
|
24
|
-
*/
|
|
25
|
-
data: Uint8Array;
|
|
26
|
-
/**
|
|
27
|
-
* @generated from protobuf field: optional bool delete = 3;
|
|
28
|
-
*/
|
|
29
|
-
delete?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* @generated from protobuf field: optional string content_type = 4;
|
|
32
|
-
*/
|
|
33
|
-
contentType?: string;
|
|
34
|
-
/**
|
|
35
|
-
* @generated from protobuf field: optional string extension = 5;
|
|
36
|
-
*/
|
|
37
|
-
extension?: string;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @generated from protobuf message resources.filestore.FileInfo
|
|
41
|
-
*/
|
|
42
|
-
export interface FileInfo {
|
|
43
|
-
/**
|
|
44
|
-
* @generated from protobuf field: string name = 1;
|
|
45
|
-
*/
|
|
46
|
-
name: string;
|
|
47
|
-
/**
|
|
48
|
-
* @generated from protobuf field: optional resources.timestamp.Timestamp last_modified = 2;
|
|
49
|
-
*/
|
|
50
|
-
lastModified?: Timestamp;
|
|
51
|
-
/**
|
|
52
|
-
* @generated from protobuf field: int64 size = 3;
|
|
53
|
-
*/
|
|
54
|
-
size: number;
|
|
55
|
-
/**
|
|
56
|
-
* @generated from protobuf field: string content_type = 4;
|
|
57
|
-
*/
|
|
58
|
-
contentType: string;
|
|
59
|
-
}
|
|
60
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
61
|
-
class File$Type extends MessageType<File> {
|
|
62
|
-
constructor() {
|
|
63
|
-
super("resources.filestore.File", [
|
|
64
|
-
{ no: 1, name: "url", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "128" } } } },
|
|
65
|
-
{ no: 2, name: "data", kind: "scalar", T: 12 /*ScalarType.BYTES*/, options: { "validate.rules": { bytes: { maxLen: "2097152" } } } },
|
|
66
|
-
{ no: 3, name: "delete", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ },
|
|
67
|
-
{ no: 4, name: "content_type", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
|
|
68
|
-
{ no: 5, name: "extension", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
|
|
69
|
-
]);
|
|
70
|
-
}
|
|
71
|
-
create(value?: PartialMessage<File>): File {
|
|
72
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
73
|
-
message.data = new Uint8Array(0);
|
|
74
|
-
if (value !== undefined)
|
|
75
|
-
reflectionMergePartial<File>(this, message, value);
|
|
76
|
-
return message;
|
|
77
|
-
}
|
|
78
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: File): File {
|
|
79
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
80
|
-
while (reader.pos < end) {
|
|
81
|
-
let [fieldNo, wireType] = reader.tag();
|
|
82
|
-
switch (fieldNo) {
|
|
83
|
-
case /* optional string url */ 1:
|
|
84
|
-
message.url = reader.string();
|
|
85
|
-
break;
|
|
86
|
-
case /* bytes data */ 2:
|
|
87
|
-
message.data = reader.bytes();
|
|
88
|
-
break;
|
|
89
|
-
case /* optional bool delete */ 3:
|
|
90
|
-
message.delete = reader.bool();
|
|
91
|
-
break;
|
|
92
|
-
case /* optional string content_type */ 4:
|
|
93
|
-
message.contentType = reader.string();
|
|
94
|
-
break;
|
|
95
|
-
case /* optional string extension */ 5:
|
|
96
|
-
message.extension = reader.string();
|
|
97
|
-
break;
|
|
98
|
-
default:
|
|
99
|
-
let u = options.readUnknownField;
|
|
100
|
-
if (u === "throw")
|
|
101
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
102
|
-
let d = reader.skip(wireType);
|
|
103
|
-
if (u !== false)
|
|
104
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
return message;
|
|
108
|
-
}
|
|
109
|
-
internalBinaryWrite(message: File, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
110
|
-
/* optional string url = 1; */
|
|
111
|
-
if (message.url !== undefined)
|
|
112
|
-
writer.tag(1, WireType.LengthDelimited).string(message.url);
|
|
113
|
-
/* bytes data = 2; */
|
|
114
|
-
if (message.data.length)
|
|
115
|
-
writer.tag(2, WireType.LengthDelimited).bytes(message.data);
|
|
116
|
-
/* optional bool delete = 3; */
|
|
117
|
-
if (message.delete !== undefined)
|
|
118
|
-
writer.tag(3, WireType.Varint).bool(message.delete);
|
|
119
|
-
/* optional string content_type = 4; */
|
|
120
|
-
if (message.contentType !== undefined)
|
|
121
|
-
writer.tag(4, WireType.LengthDelimited).string(message.contentType);
|
|
122
|
-
/* optional string extension = 5; */
|
|
123
|
-
if (message.extension !== undefined)
|
|
124
|
-
writer.tag(5, WireType.LengthDelimited).string(message.extension);
|
|
125
|
-
let u = options.writeUnknownFields;
|
|
126
|
-
if (u !== false)
|
|
127
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
128
|
-
return writer;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
/**
|
|
132
|
-
* @generated MessageType for protobuf message resources.filestore.File
|
|
133
|
-
*/
|
|
134
|
-
export const File = new File$Type();
|
|
135
|
-
// @generated message type with reflection information, may provide speed optimized methods
|
|
136
|
-
class FileInfo$Type extends MessageType<FileInfo> {
|
|
137
|
-
constructor() {
|
|
138
|
-
super("resources.filestore.FileInfo", [
|
|
139
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/ },
|
|
140
|
-
{ no: 2, name: "last_modified", kind: "message", T: () => Timestamp },
|
|
141
|
-
{ no: 3, name: "size", kind: "scalar", T: 3 /*ScalarType.INT64*/, L: 2 /*LongType.NUMBER*/ },
|
|
142
|
-
{ no: 4, name: "content_type", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
143
|
-
]);
|
|
144
|
-
}
|
|
145
|
-
create(value?: PartialMessage<FileInfo>): FileInfo {
|
|
146
|
-
const message = globalThis.Object.create((this.messagePrototype!));
|
|
147
|
-
message.name = "";
|
|
148
|
-
message.size = 0;
|
|
149
|
-
message.contentType = "";
|
|
150
|
-
if (value !== undefined)
|
|
151
|
-
reflectionMergePartial<FileInfo>(this, message, value);
|
|
152
|
-
return message;
|
|
153
|
-
}
|
|
154
|
-
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileInfo): FileInfo {
|
|
155
|
-
let message = target ?? this.create(), end = reader.pos + length;
|
|
156
|
-
while (reader.pos < end) {
|
|
157
|
-
let [fieldNo, wireType] = reader.tag();
|
|
158
|
-
switch (fieldNo) {
|
|
159
|
-
case /* string name */ 1:
|
|
160
|
-
message.name = reader.string();
|
|
161
|
-
break;
|
|
162
|
-
case /* optional resources.timestamp.Timestamp last_modified */ 2:
|
|
163
|
-
message.lastModified = Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.lastModified);
|
|
164
|
-
break;
|
|
165
|
-
case /* int64 size */ 3:
|
|
166
|
-
message.size = reader.int64().toNumber();
|
|
167
|
-
break;
|
|
168
|
-
case /* string content_type */ 4:
|
|
169
|
-
message.contentType = reader.string();
|
|
170
|
-
break;
|
|
171
|
-
default:
|
|
172
|
-
let u = options.readUnknownField;
|
|
173
|
-
if (u === "throw")
|
|
174
|
-
throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
|
|
175
|
-
let d = reader.skip(wireType);
|
|
176
|
-
if (u !== false)
|
|
177
|
-
(u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
return message;
|
|
181
|
-
}
|
|
182
|
-
internalBinaryWrite(message: FileInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
183
|
-
/* string name = 1; */
|
|
184
|
-
if (message.name !== "")
|
|
185
|
-
writer.tag(1, WireType.LengthDelimited).string(message.name);
|
|
186
|
-
/* optional resources.timestamp.Timestamp last_modified = 2; */
|
|
187
|
-
if (message.lastModified)
|
|
188
|
-
Timestamp.internalBinaryWrite(message.lastModified, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
|
|
189
|
-
/* int64 size = 3; */
|
|
190
|
-
if (message.size !== 0)
|
|
191
|
-
writer.tag(3, WireType.Varint).int64(message.size);
|
|
192
|
-
/* string content_type = 4; */
|
|
193
|
-
if (message.contentType !== "")
|
|
194
|
-
writer.tag(4, WireType.LengthDelimited).string(message.contentType);
|
|
195
|
-
let u = options.writeUnknownFields;
|
|
196
|
-
if (u !== false)
|
|
197
|
-
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|
|
198
|
-
return writer;
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @generated MessageType for protobuf message resources.filestore.FileInfo
|
|
203
|
-
*/
|
|
204
|
-
export const FileInfo = new FileInfo$Type();
|