@fivenet-app/gen 2025.4.8 → 2025.5.3

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 (136) hide show
  1. package/README.md +7 -1
  2. package/clients.ts +48 -42
  3. package/google/protobuf/any.ts +1 -1
  4. package/google/protobuf/descriptor.ts +108 -50
  5. package/google/protobuf/duration.ts +1 -1
  6. package/google/protobuf/timestamp.ts +1 -1
  7. package/package.json +3 -2
  8. package/perms.ts +96 -91
  9. package/resources/accounts/accounts.ts +39 -3
  10. package/resources/accounts/oauth2.ts +6 -6
  11. package/resources/{rector → audit}/audit.ts +22 -23
  12. package/resources/calendar/access.ts +4 -4
  13. package/resources/calendar/calendar.ts +1 -1
  14. package/resources/centrum/attributes.ts +6 -2
  15. package/resources/centrum/dispatches.ts +4 -4
  16. package/resources/centrum/disponents.ts +2 -2
  17. package/resources/centrum/settings.ts +3 -3
  18. package/resources/centrum/units.ts +4 -4
  19. package/resources/centrum/{access.ts → units_access.ts} +4 -4
  20. package/resources/centrum/user_unit.ts +2 -2
  21. package/resources/common/content/content.ts +2 -2
  22. package/resources/common/cron/cron.ts +53 -12
  23. package/resources/common/database/database.ts +1 -1
  24. package/resources/common/error.ts +1 -1
  25. package/resources/common/grpcws/grpcws.ts +1 -1
  26. package/resources/common/i18n.ts +1 -1
  27. package/resources/common/tests/objects.ts +1 -1
  28. package/resources/common/uuid.ts +1 -1
  29. package/resources/documents/access.ts +4 -4
  30. package/resources/documents/activity.ts +7 -7
  31. package/resources/documents/category.ts +49 -26
  32. package/resources/documents/comment.ts +1 -1
  33. package/resources/documents/documents.ts +1 -1
  34. package/resources/documents/requests.ts +1 -1
  35. package/resources/documents/templates.ts +5 -5
  36. package/resources/documents/workflow.ts +2 -2
  37. package/resources/filestore/file.ts +1 -1
  38. package/resources/internet/access.ts +4 -4
  39. package/resources/internet/ads.ts +1 -1
  40. package/resources/internet/domain.ts +1 -1
  41. package/resources/internet/page.ts +3 -3
  42. package/resources/internet/search.ts +1 -1
  43. package/resources/jobs/activity.ts +114 -114
  44. package/resources/jobs/colleagues.ts +59 -48
  45. package/resources/jobs/conduct.ts +52 -41
  46. package/resources/{users → jobs}/job_props.ts +28 -41
  47. package/resources/{users → jobs}/job_settings.ts +54 -54
  48. package/resources/{users → jobs}/jobs.ts +12 -12
  49. package/resources/jobs/labels.ts +29 -17
  50. package/resources/jobs/timeclock.ts +7 -7
  51. package/resources/laws/laws.ts +2 -2
  52. package/resources/livemap/livemap.ts +1 -1
  53. package/resources/livemap/tracker.ts +3 -3
  54. package/resources/mailer/access.ts +5 -5
  55. package/resources/mailer/email.ts +11 -23
  56. package/resources/mailer/events.ts +1 -1
  57. package/resources/mailer/message.ts +2 -2
  58. package/resources/mailer/settings.ts +1 -1
  59. package/resources/mailer/template.ts +1 -1
  60. package/resources/mailer/thread.ts +2 -2
  61. package/resources/notifications/events.ts +23 -11
  62. package/resources/notifications/notifications.ts +1 -1
  63. package/resources/permissions/attributes.ts +689 -0
  64. package/resources/permissions/permissions.ts +4 -727
  65. package/resources/qualifications/access.ts +2 -2
  66. package/resources/qualifications/exam.ts +7 -7
  67. package/resources/qualifications/qualifications.ts +9 -9
  68. package/resources/{rector → settings}/banner.ts +5 -5
  69. package/resources/{rector → settings}/config.ts +83 -83
  70. package/resources/stats/stats.ts +1 -1
  71. package/resources/sync/activity.ts +20 -20
  72. package/resources/sync/data.ts +26 -26
  73. package/resources/timestamp/timestamp.ts +1 -1
  74. package/resources/users/activity.ts +196 -196
  75. package/resources/users/labels.ts +28 -28
  76. package/resources/users/licenses.ts +12 -12
  77. package/resources/users/props.ts +28 -17
  78. package/resources/users/users.ts +2 -2
  79. package/resources/vehicles/vehicles.ts +4 -4
  80. package/resources/wiki/access.ts +4 -4
  81. package/resources/wiki/activity.ts +7 -7
  82. package/resources/wiki/page.ts +2 -2
  83. package/services/auth/auth.client.ts +8 -8
  84. package/services/auth/auth.ts +32 -32
  85. package/services/calendar/calendar.client.ts +1 -1
  86. package/services/calendar/calendar.ts +6 -6
  87. package/services/centrum/centrum.client.ts +1 -1
  88. package/services/centrum/centrum.ts +8 -8
  89. package/services/{citizenstore/citizenstore.client.ts → citizens/citizens.client.ts} +37 -37
  90. package/services/{citizenstore/citizenstore.ts → citizens/citizens.ts} +72 -72
  91. package/services/completor/completor.client.ts +1 -1
  92. package/services/completor/completor.ts +17 -17
  93. package/services/{docstore/docstore.client.ts → documents/documents.client.ts} +163 -180
  94. package/services/{docstore/docstore.ts → documents/documents.ts} +280 -377
  95. package/services/internet/ads.client.ts +1 -1
  96. package/services/internet/ads.ts +2 -2
  97. package/services/internet/domain.client.ts +1 -1
  98. package/services/internet/domain.ts +3 -3
  99. package/services/internet/internet.client.ts +1 -1
  100. package/services/internet/internet.ts +2 -2
  101. package/services/jobs/conduct.client.ts +9 -9
  102. package/services/jobs/conduct.ts +4 -4
  103. package/services/jobs/jobs.client.ts +15 -15
  104. package/services/jobs/jobs.ts +77 -77
  105. package/services/jobs/timeclock.client.ts +9 -9
  106. package/services/jobs/timeclock.ts +15 -15
  107. package/services/{livemapper → livemap}/livemap.client.ts +16 -16
  108. package/services/{livemapper → livemap}/livemap.ts +63 -52
  109. package/services/mailer/mailer.client.ts +5 -5
  110. package/services/mailer/mailer.ts +6 -6
  111. package/services/notificator/notificator.client.ts +1 -1
  112. package/services/notificator/notificator.ts +5 -5
  113. package/services/qualifications/qualifications.client.ts +1 -1
  114. package/services/qualifications/qualifications.ts +4 -4
  115. package/services/settings/accounts.client.ts +92 -0
  116. package/services/settings/accounts.ts +526 -0
  117. package/services/{rector → settings}/config.client.ts +18 -18
  118. package/services/{rector → settings}/config.ts +26 -26
  119. package/services/settings/cron.client.ts +41 -0
  120. package/services/settings/cron.ts +119 -0
  121. package/services/{rector → settings}/filestore.client.ts +22 -22
  122. package/services/{rector → settings}/filestore.ts +23 -23
  123. package/services/{rector → settings}/laws.client.ts +26 -26
  124. package/services/{rector → settings}/laws.ts +28 -28
  125. package/services/settings/settings.client.ts +262 -0
  126. package/services/{rector/rector.ts → settings/settings.ts} +558 -149
  127. package/services/stats/stats.client.ts +1 -1
  128. package/services/stats/stats.ts +1 -1
  129. package/services/sync/sync.client.ts +1 -1
  130. package/services/sync/sync.ts +33 -33
  131. package/services/{dmv → vehicles}/vehicles.client.ts +12 -12
  132. package/services/{dmv → vehicles}/vehicles.ts +11 -11
  133. package/services/wiki/wiki.client.ts +1 -1
  134. package/services/wiki/wiki.ts +3 -3
  135. package/svcs.ts +247 -235
  136. package/services/rector/rector.client.ts +0 -211
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
1
+ // @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
2
2
  // @generated from protobuf file "resources/sync/activity.proto" (package "resources.sync", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -10,7 +10,7 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
10
10
  import type { PartialMessage } from "@protobuf-ts/runtime";
11
11
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
12
12
  import { MessageType } from "@protobuf-ts/runtime";
13
- import { JobsUserProps as JobsUserProps$ } from "../jobs/colleagues";
13
+ import { ColleagueProps as ColleagueProps$ } from "../jobs/colleagues";
14
14
  import { UserProps as UserProps$ } from "../users/props";
15
15
  /**
16
16
  * Connect an identifier/license to the provider with the specified external id
@@ -50,17 +50,17 @@ export interface UserProps {
50
50
  props?: UserProps$;
51
51
  }
52
52
  /**
53
- * @generated from protobuf message resources.sync.JobsUserProps
53
+ * @generated from protobuf message resources.sync.ColleagueProps
54
54
  */
55
- export interface JobsUserProps {
55
+ export interface ColleagueProps {
56
56
  /**
57
57
  * @generated from protobuf field: optional string reason = 1;
58
58
  */
59
59
  reason?: string;
60
60
  /**
61
- * @generated from protobuf field: resources.jobs.JobsUserProps props = 2;
61
+ * @generated from protobuf field: resources.jobs.ColleagueProps props = 2;
62
62
  */
63
- props?: JobsUserProps$;
63
+ props?: ColleagueProps$;
64
64
  }
65
65
  /**
66
66
  * @generated from protobuf message resources.sync.UserUpdate
@@ -235,20 +235,20 @@ class UserProps$Type extends MessageType<UserProps> {
235
235
  */
236
236
  export const UserProps = new UserProps$Type();
237
237
  // @generated message type with reflection information, may provide speed optimized methods
238
- class JobsUserProps$Type extends MessageType<JobsUserProps> {
238
+ class ColleagueProps$Type extends MessageType<ColleagueProps> {
239
239
  constructor() {
240
- super("resources.sync.JobsUserProps", [
240
+ super("resources.sync.ColleagueProps", [
241
241
  { no: 1, name: "reason", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "255" } } } },
242
- { no: 2, name: "props", kind: "message", T: () => JobsUserProps$, options: { "validate.rules": { message: { required: true } } } }
242
+ { no: 2, name: "props", kind: "message", T: () => ColleagueProps$, options: { "validate.rules": { message: { required: true } } } }
243
243
  ]);
244
244
  }
245
- create(value?: PartialMessage<JobsUserProps>): JobsUserProps {
245
+ create(value?: PartialMessage<ColleagueProps>): ColleagueProps {
246
246
  const message = globalThis.Object.create((this.messagePrototype!));
247
247
  if (value !== undefined)
248
- reflectionMergePartial<JobsUserProps>(this, message, value);
248
+ reflectionMergePartial<ColleagueProps>(this, message, value);
249
249
  return message;
250
250
  }
251
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: JobsUserProps): JobsUserProps {
251
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ColleagueProps): ColleagueProps {
252
252
  let message = target ?? this.create(), end = reader.pos + length;
253
253
  while (reader.pos < end) {
254
254
  let [fieldNo, wireType] = reader.tag();
@@ -256,8 +256,8 @@ class JobsUserProps$Type extends MessageType<JobsUserProps> {
256
256
  case /* optional string reason */ 1:
257
257
  message.reason = reader.string();
258
258
  break;
259
- case /* resources.jobs.JobsUserProps props */ 2:
260
- message.props = JobsUserProps$.internalBinaryRead(reader, reader.uint32(), options, message.props);
259
+ case /* resources.jobs.ColleagueProps props */ 2:
260
+ message.props = ColleagueProps$.internalBinaryRead(reader, reader.uint32(), options, message.props);
261
261
  break;
262
262
  default:
263
263
  let u = options.readUnknownField;
@@ -270,13 +270,13 @@ class JobsUserProps$Type extends MessageType<JobsUserProps> {
270
270
  }
271
271
  return message;
272
272
  }
273
- internalBinaryWrite(message: JobsUserProps, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
273
+ internalBinaryWrite(message: ColleagueProps, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
274
274
  /* optional string reason = 1; */
275
275
  if (message.reason !== undefined)
276
276
  writer.tag(1, WireType.LengthDelimited).string(message.reason);
277
- /* resources.jobs.JobsUserProps props = 2; */
277
+ /* resources.jobs.ColleagueProps props = 2; */
278
278
  if (message.props)
279
- JobsUserProps$.internalBinaryWrite(message.props, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
279
+ ColleagueProps$.internalBinaryWrite(message.props, writer.tag(2, WireType.LengthDelimited).fork(), options).join();
280
280
  let u = options.writeUnknownFields;
281
281
  if (u !== false)
282
282
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -284,16 +284,16 @@ class JobsUserProps$Type extends MessageType<JobsUserProps> {
284
284
  }
285
285
  }
286
286
  /**
287
- * @generated MessageType for protobuf message resources.sync.JobsUserProps
287
+ * @generated MessageType for protobuf message resources.sync.ColleagueProps
288
288
  */
289
- export const JobsUserProps = new JobsUserProps$Type();
289
+ export const ColleagueProps = new ColleagueProps$Type();
290
290
  // @generated message type with reflection information, may provide speed optimized methods
291
291
  class UserUpdate$Type extends MessageType<UserUpdate> {
292
292
  constructor() {
293
293
  super("resources.sync.UserUpdate", [
294
294
  { no: 1, name: "user_id", kind: "scalar", T: 5 /*ScalarType.INT32*/ },
295
295
  { no: 2, name: "group", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
296
- { no: 3, name: "job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
296
+ { no: 3, name: "job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
297
297
  { no: 4, name: "job_grade", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/ },
298
298
  { no: 5, name: "firstname", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ },
299
299
  { no: 6, name: "lastname", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/ }
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
1
+ // @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
2
2
  // @generated from protobuf file "resources/sync/data.proto" (package "resources.sync", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
@@ -14,7 +14,7 @@ import { Coords } from "../livemap/livemap";
14
14
  import { License } from "../users/licenses";
15
15
  import { Vehicle } from "../vehicles/vehicles";
16
16
  import { User } from "../users/users";
17
- import { Job } from "../users/jobs";
17
+ import { Job } from "../jobs/jobs";
18
18
  /**
19
19
  * @generated from protobuf message resources.sync.DataStatus
20
20
  */
@@ -29,7 +29,7 @@ export interface DataStatus {
29
29
  */
30
30
  export interface DataJobs {
31
31
  /**
32
- * @generated from protobuf field: repeated resources.users.Job jobs = 1;
32
+ * @generated from protobuf field: repeated resources.jobs.Job jobs = 1;
33
33
  */
34
34
  jobs: Job[];
35
35
  }
@@ -65,18 +65,18 @@ export interface DataLicenses {
65
65
  */
66
66
  export interface DataUserLocations {
67
67
  /**
68
- * @generated from protobuf field: repeated resources.sync.UserLocation users = 1;
68
+ * @generated from protobuf field: repeated resources.sync.CitizenLocations users = 1;
69
69
  */
70
- users: UserLocation[];
70
+ users: CitizenLocations[];
71
71
  /**
72
72
  * @generated from protobuf field: optional bool clear_all = 2;
73
73
  */
74
74
  clearAll?: boolean;
75
75
  }
76
76
  /**
77
- * @generated from protobuf message resources.sync.UserLocation
77
+ * @generated from protobuf message resources.sync.CitizenLocations
78
78
  */
79
- export interface UserLocation {
79
+ export interface CitizenLocations {
80
80
  /**
81
81
  * @generated from protobuf field: string identifier = 1;
82
82
  */
@@ -167,7 +167,7 @@ export const DataStatus = new DataStatus$Type();
167
167
  class DataJobs$Type extends MessageType<DataJobs> {
168
168
  constructor() {
169
169
  super("resources.sync.DataJobs", [
170
- { no: 1, name: "jobs", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Job, options: { "validate.rules": { repeated: { maxItems: "200" } } } }
170
+ { no: 1, name: "jobs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Job, options: { "validate.rules": { repeated: { maxItems: "200" } } } }
171
171
  ]);
172
172
  }
173
173
  create(value?: PartialMessage<DataJobs>): DataJobs {
@@ -182,7 +182,7 @@ class DataJobs$Type extends MessageType<DataJobs> {
182
182
  while (reader.pos < end) {
183
183
  let [fieldNo, wireType] = reader.tag();
184
184
  switch (fieldNo) {
185
- case /* repeated resources.users.Job jobs */ 1:
185
+ case /* repeated resources.jobs.Job jobs */ 1:
186
186
  message.jobs.push(Job.internalBinaryRead(reader, reader.uint32(), options));
187
187
  break;
188
188
  default:
@@ -197,7 +197,7 @@ class DataJobs$Type extends MessageType<DataJobs> {
197
197
  return message;
198
198
  }
199
199
  internalBinaryWrite(message: DataJobs, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
200
- /* repeated resources.users.Job jobs = 1; */
200
+ /* repeated resources.jobs.Job jobs = 1; */
201
201
  for (let i = 0; i < message.jobs.length; i++)
202
202
  Job.internalBinaryWrite(message.jobs[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
203
203
  let u = options.writeUnknownFields;
@@ -214,7 +214,7 @@ export const DataJobs = new DataJobs$Type();
214
214
  class DataUsers$Type extends MessageType<DataUsers> {
215
215
  constructor() {
216
216
  super("resources.sync.DataUsers", [
217
- { no: 1, name: "users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => User, options: { "validate.rules": { repeated: { maxItems: "500" } } } }
217
+ { no: 1, name: "users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => User, options: { "validate.rules": { repeated: { maxItems: "500" } } } }
218
218
  ]);
219
219
  }
220
220
  create(value?: PartialMessage<DataUsers>): DataUsers {
@@ -261,7 +261,7 @@ export const DataUsers = new DataUsers$Type();
261
261
  class DataVehicles$Type extends MessageType<DataVehicles> {
262
262
  constructor() {
263
263
  super("resources.sync.DataVehicles", [
264
- { no: 1, name: "vehicles", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Vehicle, options: { "validate.rules": { repeated: { maxItems: "1000" } } } }
264
+ { no: 1, name: "vehicles", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Vehicle, options: { "validate.rules": { repeated: { maxItems: "1000" } } } }
265
265
  ]);
266
266
  }
267
267
  create(value?: PartialMessage<DataVehicles>): DataVehicles {
@@ -308,7 +308,7 @@ export const DataVehicles = new DataVehicles$Type();
308
308
  class DataLicenses$Type extends MessageType<DataLicenses> {
309
309
  constructor() {
310
310
  super("resources.sync.DataLicenses", [
311
- { no: 1, name: "licenses", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => License, options: { "validate.rules": { repeated: { maxItems: "200" } } } }
311
+ { no: 1, name: "licenses", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => License, options: { "validate.rules": { repeated: { maxItems: "200" } } } }
312
312
  ]);
313
313
  }
314
314
  create(value?: PartialMessage<DataLicenses>): DataLicenses {
@@ -355,7 +355,7 @@ export const DataLicenses = new DataLicenses$Type();
355
355
  class DataUserLocations$Type extends MessageType<DataUserLocations> {
356
356
  constructor() {
357
357
  super("resources.sync.DataUserLocations", [
358
- { no: 1, name: "users", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => UserLocation, options: { "validate.rules": { repeated: { maxItems: "2000" } } } },
358
+ { no: 1, name: "users", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CitizenLocations, options: { "validate.rules": { repeated: { maxItems: "2000" } } } },
359
359
  { no: 2, name: "clear_all", kind: "scalar", opt: true, T: 8 /*ScalarType.BOOL*/ }
360
360
  ]);
361
361
  }
@@ -371,8 +371,8 @@ class DataUserLocations$Type extends MessageType<DataUserLocations> {
371
371
  while (reader.pos < end) {
372
372
  let [fieldNo, wireType] = reader.tag();
373
373
  switch (fieldNo) {
374
- case /* repeated resources.sync.UserLocation users */ 1:
375
- message.users.push(UserLocation.internalBinaryRead(reader, reader.uint32(), options));
374
+ case /* repeated resources.sync.CitizenLocations users */ 1:
375
+ message.users.push(CitizenLocations.internalBinaryRead(reader, reader.uint32(), options));
376
376
  break;
377
377
  case /* optional bool clear_all */ 2:
378
378
  message.clearAll = reader.bool();
@@ -389,9 +389,9 @@ class DataUserLocations$Type extends MessageType<DataUserLocations> {
389
389
  return message;
390
390
  }
391
391
  internalBinaryWrite(message: DataUserLocations, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
392
- /* repeated resources.sync.UserLocation users = 1; */
392
+ /* repeated resources.sync.CitizenLocations users = 1; */
393
393
  for (let i = 0; i < message.users.length; i++)
394
- UserLocation.internalBinaryWrite(message.users[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
394
+ CitizenLocations.internalBinaryWrite(message.users[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
395
395
  /* optional bool clear_all = 2; */
396
396
  if (message.clearAll !== undefined)
397
397
  writer.tag(2, WireType.Varint).bool(message.clearAll);
@@ -406,9 +406,9 @@ class DataUserLocations$Type extends MessageType<DataUserLocations> {
406
406
  */
407
407
  export const DataUserLocations = new DataUserLocations$Type();
408
408
  // @generated message type with reflection information, may provide speed optimized methods
409
- class UserLocation$Type extends MessageType<UserLocation> {
409
+ class CitizenLocations$Type extends MessageType<CitizenLocations> {
410
410
  constructor() {
411
- super("resources.sync.UserLocation", [
411
+ super("resources.sync.CitizenLocations", [
412
412
  { no: 1, name: "identifier", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "64" } } } },
413
413
  { no: 2, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } },
414
414
  { no: 3, name: "coords", kind: "message", T: () => Coords, options: { "validate.rules": { message: { required: true } } } },
@@ -416,17 +416,17 @@ class UserLocation$Type extends MessageType<UserLocation> {
416
416
  { no: 5, name: "remove", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
417
417
  ]);
418
418
  }
419
- create(value?: PartialMessage<UserLocation>): UserLocation {
419
+ create(value?: PartialMessage<CitizenLocations>): CitizenLocations {
420
420
  const message = globalThis.Object.create((this.messagePrototype!));
421
421
  message.identifier = "";
422
422
  message.job = "";
423
423
  message.hidden = false;
424
424
  message.remove = false;
425
425
  if (value !== undefined)
426
- reflectionMergePartial<UserLocation>(this, message, value);
426
+ reflectionMergePartial<CitizenLocations>(this, message, value);
427
427
  return message;
428
428
  }
429
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UserLocation): UserLocation {
429
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CitizenLocations): CitizenLocations {
430
430
  let message = target ?? this.create(), end = reader.pos + length;
431
431
  while (reader.pos < end) {
432
432
  let [fieldNo, wireType] = reader.tag();
@@ -457,7 +457,7 @@ class UserLocation$Type extends MessageType<UserLocation> {
457
457
  }
458
458
  return message;
459
459
  }
460
- internalBinaryWrite(message: UserLocation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
460
+ internalBinaryWrite(message: CitizenLocations, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
461
461
  /* string identifier = 1; */
462
462
  if (message.identifier !== "")
463
463
  writer.tag(1, WireType.LengthDelimited).string(message.identifier);
@@ -480,9 +480,9 @@ class UserLocation$Type extends MessageType<UserLocation> {
480
480
  }
481
481
  }
482
482
  /**
483
- * @generated MessageType for protobuf message resources.sync.UserLocation
483
+ * @generated MessageType for protobuf message resources.sync.CitizenLocations
484
484
  */
485
- export const UserLocation = new UserLocation$Type();
485
+ export const CitizenLocations = new CitizenLocations$Type();
486
486
  // @generated message type with reflection information, may provide speed optimized methods
487
487
  class DeleteUsers$Type extends MessageType<DeleteUsers> {
488
488
  constructor() {
@@ -1,4 +1,4 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
1
+ // @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
2
2
  // @generated from protobuf file "resources/timestamp/timestamp.proto" (package "resources.timestamp", syntax proto3)
3
3
  // @ts-nocheck
4
4
  //