@fivenet-app/gen 2025.4.8 → 2025.5.2

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 -29
  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 +9 -9
  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 "services/auth/auth.proto" (package "services.auth", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -12,7 +12,7 @@ import type { PartialMessage } from "@protobuf-ts/runtime";
12
12
  import { reflectionMergePartial } from "@protobuf-ts/runtime";
13
13
  import { MessageType } from "@protobuf-ts/runtime";
14
14
  import { User } from "../../resources/users/users";
15
- import { JobProps } from "../../resources/users/job_props";
15
+ import { JobProps } from "../../resources/jobs/job_props";
16
16
  import { Character } from "../../resources/accounts/accounts";
17
17
  import { OAuth2Account } from "../../resources/accounts/oauth2";
18
18
  import { OAuth2Provider } from "../../resources/accounts/oauth2";
@@ -190,7 +190,7 @@ export interface ChooseCharacterResponse {
190
190
  */
191
191
  permissions: string[];
192
192
  /**
193
- * @generated from protobuf field: resources.users.JobProps job_props = 3;
193
+ * @generated from protobuf field: resources.jobs.JobProps job_props = 3;
194
194
  */
195
195
  jobProps?: JobProps;
196
196
  /**
@@ -235,9 +235,9 @@ export interface DeleteOAuth2ConnectionResponse {
235
235
  success: boolean;
236
236
  }
237
237
  /**
238
- * @generated from protobuf message services.auth.SetSuperUserModeRequest
238
+ * @generated from protobuf message services.auth.SetSuperuserModeRequest
239
239
  */
240
- export interface SetSuperUserModeRequest {
240
+ export interface SetSuperuserModeRequest {
241
241
  /**
242
242
  * @generated from protobuf field: bool superuser = 1;
243
243
  */
@@ -248,9 +248,9 @@ export interface SetSuperUserModeRequest {
248
248
  job?: string;
249
249
  }
250
250
  /**
251
- * @generated from protobuf message services.auth.SetSuperUserModeResponse
251
+ * @generated from protobuf message services.auth.SetSuperuserModeResponse
252
252
  */
253
- export interface SetSuperUserModeResponse {
253
+ export interface SetSuperuserModeResponse {
254
254
  /**
255
255
  * @generated from protobuf field: resources.timestamp.Timestamp expires = 1;
256
256
  */
@@ -260,7 +260,7 @@ export interface SetSuperUserModeResponse {
260
260
  */
261
261
  permissions: string[];
262
262
  /**
263
- * @generated from protobuf field: optional resources.users.JobProps job_props = 3;
263
+ * @generated from protobuf field: optional resources.jobs.JobProps job_props = 3;
264
264
  */
265
265
  jobProps?: JobProps;
266
266
  /**
@@ -824,8 +824,8 @@ class GetAccountInfoResponse$Type extends MessageType<GetAccountInfoResponse> {
824
824
  constructor() {
825
825
  super("services.auth.GetAccountInfoResponse", [
826
826
  { no: 1, name: "account", kind: "message", T: () => Account },
827
- { no: 2, name: "oauth2_providers", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => OAuth2Provider },
828
- { no: 3, name: "oauth2_connections", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => OAuth2Account }
827
+ { no: 2, name: "oauth2_providers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OAuth2Provider },
828
+ { no: 3, name: "oauth2_connections", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => OAuth2Account }
829
829
  ]);
830
830
  }
831
831
  create(value?: PartialMessage<GetAccountInfoResponse>): GetAccountInfoResponse {
@@ -923,7 +923,7 @@ export const GetCharactersRequest = new GetCharactersRequest$Type();
923
923
  class GetCharactersResponse$Type extends MessageType<GetCharactersResponse> {
924
924
  constructor() {
925
925
  super("services.auth.GetCharactersResponse", [
926
- { no: 1, name: "chars", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Character }
926
+ { no: 1, name: "chars", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Character }
927
927
  ]);
928
928
  }
929
929
  create(value?: PartialMessage<GetCharactersResponse>): GetCharactersResponse {
@@ -1043,7 +1043,7 @@ class ChooseCharacterResponse$Type extends MessageType<ChooseCharacterResponse>
1043
1043
  case /* repeated string permissions */ 2:
1044
1044
  message.permissions.push(reader.string());
1045
1045
  break;
1046
- case /* resources.users.JobProps job_props */ 3:
1046
+ case /* resources.jobs.JobProps job_props */ 3:
1047
1047
  message.jobProps = JobProps.internalBinaryRead(reader, reader.uint32(), options, message.jobProps);
1048
1048
  break;
1049
1049
  case /* resources.users.User char */ 4:
@@ -1070,7 +1070,7 @@ class ChooseCharacterResponse$Type extends MessageType<ChooseCharacterResponse>
1070
1070
  /* repeated string permissions = 2; */
1071
1071
  for (let i = 0; i < message.permissions.length; i++)
1072
1072
  writer.tag(2, WireType.LengthDelimited).string(message.permissions[i]);
1073
- /* resources.users.JobProps job_props = 3; */
1073
+ /* resources.jobs.JobProps job_props = 3; */
1074
1074
  if (message.jobProps)
1075
1075
  JobProps.internalBinaryWrite(message.jobProps, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1076
1076
  /* resources.users.User char = 4; */
@@ -1269,21 +1269,21 @@ class DeleteOAuth2ConnectionResponse$Type extends MessageType<DeleteOAuth2Connec
1269
1269
  */
1270
1270
  export const DeleteOAuth2ConnectionResponse = new DeleteOAuth2ConnectionResponse$Type();
1271
1271
  // @generated message type with reflection information, may provide speed optimized methods
1272
- class SetSuperUserModeRequest$Type extends MessageType<SetSuperUserModeRequest> {
1272
+ class SetSuperuserModeRequest$Type extends MessageType<SetSuperuserModeRequest> {
1273
1273
  constructor() {
1274
- super("services.auth.SetSuperUserModeRequest", [
1274
+ super("services.auth.SetSuperuserModeRequest", [
1275
1275
  { no: 1, name: "superuser", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
1276
1276
  { no: 2, name: "job", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "validate.rules": { string: { maxLen: "20" } } } }
1277
1277
  ]);
1278
1278
  }
1279
- create(value?: PartialMessage<SetSuperUserModeRequest>): SetSuperUserModeRequest {
1279
+ create(value?: PartialMessage<SetSuperuserModeRequest>): SetSuperuserModeRequest {
1280
1280
  const message = globalThis.Object.create((this.messagePrototype!));
1281
1281
  message.superuser = false;
1282
1282
  if (value !== undefined)
1283
- reflectionMergePartial<SetSuperUserModeRequest>(this, message, value);
1283
+ reflectionMergePartial<SetSuperuserModeRequest>(this, message, value);
1284
1284
  return message;
1285
1285
  }
1286
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuperUserModeRequest): SetSuperUserModeRequest {
1286
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuperuserModeRequest): SetSuperuserModeRequest {
1287
1287
  let message = target ?? this.create(), end = reader.pos + length;
1288
1288
  while (reader.pos < end) {
1289
1289
  let [fieldNo, wireType] = reader.tag();
@@ -1305,7 +1305,7 @@ class SetSuperUserModeRequest$Type extends MessageType<SetSuperUserModeRequest>
1305
1305
  }
1306
1306
  return message;
1307
1307
  }
1308
- internalBinaryWrite(message: SetSuperUserModeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1308
+ internalBinaryWrite(message: SetSuperuserModeRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1309
1309
  /* bool superuser = 1; */
1310
1310
  if (message.superuser !== false)
1311
1311
  writer.tag(1, WireType.Varint).bool(message.superuser);
@@ -1319,27 +1319,27 @@ class SetSuperUserModeRequest$Type extends MessageType<SetSuperUserModeRequest>
1319
1319
  }
1320
1320
  }
1321
1321
  /**
1322
- * @generated MessageType for protobuf message services.auth.SetSuperUserModeRequest
1322
+ * @generated MessageType for protobuf message services.auth.SetSuperuserModeRequest
1323
1323
  */
1324
- export const SetSuperUserModeRequest = new SetSuperUserModeRequest$Type();
1324
+ export const SetSuperuserModeRequest = new SetSuperuserModeRequest$Type();
1325
1325
  // @generated message type with reflection information, may provide speed optimized methods
1326
- class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse> {
1326
+ class SetSuperuserModeResponse$Type extends MessageType<SetSuperuserModeResponse> {
1327
1327
  constructor() {
1328
- super("services.auth.SetSuperUserModeResponse", [
1328
+ super("services.auth.SetSuperuserModeResponse", [
1329
1329
  { no: 1, name: "expires", kind: "message", T: () => Timestamp },
1330
1330
  { no: 2, name: "permissions", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },
1331
1331
  { no: 3, name: "job_props", kind: "message", T: () => JobProps },
1332
1332
  { no: 4, name: "char", kind: "message", T: () => User }
1333
1333
  ]);
1334
1334
  }
1335
- create(value?: PartialMessage<SetSuperUserModeResponse>): SetSuperUserModeResponse {
1335
+ create(value?: PartialMessage<SetSuperuserModeResponse>): SetSuperuserModeResponse {
1336
1336
  const message = globalThis.Object.create((this.messagePrototype!));
1337
1337
  message.permissions = [];
1338
1338
  if (value !== undefined)
1339
- reflectionMergePartial<SetSuperUserModeResponse>(this, message, value);
1339
+ reflectionMergePartial<SetSuperuserModeResponse>(this, message, value);
1340
1340
  return message;
1341
1341
  }
1342
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuperUserModeResponse): SetSuperUserModeResponse {
1342
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SetSuperuserModeResponse): SetSuperuserModeResponse {
1343
1343
  let message = target ?? this.create(), end = reader.pos + length;
1344
1344
  while (reader.pos < end) {
1345
1345
  let [fieldNo, wireType] = reader.tag();
@@ -1350,7 +1350,7 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
1350
1350
  case /* repeated string permissions */ 2:
1351
1351
  message.permissions.push(reader.string());
1352
1352
  break;
1353
- case /* optional resources.users.JobProps job_props */ 3:
1353
+ case /* optional resources.jobs.JobProps job_props */ 3:
1354
1354
  message.jobProps = JobProps.internalBinaryRead(reader, reader.uint32(), options, message.jobProps);
1355
1355
  break;
1356
1356
  case /* resources.users.User char */ 4:
@@ -1367,14 +1367,14 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
1367
1367
  }
1368
1368
  return message;
1369
1369
  }
1370
- internalBinaryWrite(message: SetSuperUserModeResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1370
+ internalBinaryWrite(message: SetSuperuserModeResponse, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
1371
1371
  /* resources.timestamp.Timestamp expires = 1; */
1372
1372
  if (message.expires)
1373
1373
  Timestamp.internalBinaryWrite(message.expires, writer.tag(1, WireType.LengthDelimited).fork(), options).join();
1374
1374
  /* repeated string permissions = 2; */
1375
1375
  for (let i = 0; i < message.permissions.length; i++)
1376
1376
  writer.tag(2, WireType.LengthDelimited).string(message.permissions[i]);
1377
- /* optional resources.users.JobProps job_props = 3; */
1377
+ /* optional resources.jobs.JobProps job_props = 3; */
1378
1378
  if (message.jobProps)
1379
1379
  JobProps.internalBinaryWrite(message.jobProps, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
1380
1380
  /* resources.users.User char = 4; */
@@ -1387,9 +1387,9 @@ class SetSuperUserModeResponse$Type extends MessageType<SetSuperUserModeResponse
1387
1387
  }
1388
1388
  }
1389
1389
  /**
1390
- * @generated MessageType for protobuf message services.auth.SetSuperUserModeResponse
1390
+ * @generated MessageType for protobuf message services.auth.SetSuperuserModeResponse
1391
1391
  */
1392
- export const SetSuperUserModeResponse = new SetSuperUserModeResponse$Type();
1392
+ export const SetSuperuserModeResponse = new SetSuperuserModeResponse$Type();
1393
1393
  /**
1394
1394
  * @generated ServiceType for protobuf service services.auth.AuthService
1395
1395
  */
@@ -1404,5 +1404,5 @@ export const AuthService = new ServiceType("services.auth.AuthService", [
1404
1404
  { name: "ChooseCharacter", options: {}, I: ChooseCharacterRequest, O: ChooseCharacterResponse },
1405
1405
  { name: "GetAccountInfo", options: {}, I: GetAccountInfoRequest, O: GetAccountInfoResponse },
1406
1406
  { name: "DeleteOAuth2Connection", options: {}, I: DeleteOAuth2ConnectionRequest, O: DeleteOAuth2ConnectionResponse },
1407
- { name: "SetSuperUserMode", options: {}, I: SetSuperUserModeRequest, O: SetSuperUserModeResponse }
1407
+ { name: "SetSuperuserMode", options: {}, I: SetSuperuserModeRequest, O: SetSuperuserModeResponse }
1408
1408
  ]);
@@ -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 "services/calendar/calendar.proto" (package "services.calendar", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -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 "services/calendar/calendar.proto" (package "services.calendar", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -422,7 +422,7 @@ class ListCalendarsResponse$Type extends MessageType<ListCalendarsResponse> {
422
422
  constructor() {
423
423
  super("services.calendar.ListCalendarsResponse", [
424
424
  { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse, options: { "validate.rules": { message: { required: true } } } },
425
- { no: 2, name: "calendars", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Calendar }
425
+ { no: 2, name: "calendars", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Calendar }
426
426
  ]);
427
427
  }
428
428
  create(value?: PartialMessage<ListCalendarsResponse>): ListCalendarsResponse {
@@ -922,7 +922,7 @@ export const ListCalendarEntriesRequest = new ListCalendarEntriesRequest$Type();
922
922
  class ListCalendarEntriesResponse$Type extends MessageType<ListCalendarEntriesResponse> {
923
923
  constructor() {
924
924
  super("services.calendar.ListCalendarEntriesResponse", [
925
- { no: 1, name: "entries", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => CalendarEntry }
925
+ { no: 1, name: "entries", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CalendarEntry }
926
926
  ]);
927
927
  }
928
928
  create(value?: PartialMessage<ListCalendarEntriesResponse>): ListCalendarEntriesResponse {
@@ -1016,7 +1016,7 @@ export const GetUpcomingEntriesRequest = new GetUpcomingEntriesRequest$Type();
1016
1016
  class GetUpcomingEntriesResponse$Type extends MessageType<GetUpcomingEntriesResponse> {
1017
1017
  constructor() {
1018
1018
  super("services.calendar.GetUpcomingEntriesResponse", [
1019
- { no: 1, name: "entries", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => CalendarEntry }
1019
+ { no: 1, name: "entries", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CalendarEntry }
1020
1020
  ]);
1021
1021
  }
1022
1022
  create(value?: PartialMessage<GetUpcomingEntriesResponse>): GetUpcomingEntriesResponse {
@@ -1505,7 +1505,7 @@ class ListCalendarEntryRSVPResponse$Type extends MessageType<ListCalendarEntryRS
1505
1505
  constructor() {
1506
1506
  super("services.calendar.ListCalendarEntryRSVPResponse", [
1507
1507
  { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse, options: { "validate.rules": { message: { required: true } } } },
1508
- { no: 2, name: "entries", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => CalendarEntryRSVP }
1508
+ { no: 2, name: "entries", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CalendarEntryRSVP }
1509
1509
  ]);
1510
1510
  }
1511
1511
  create(value?: PartialMessage<ListCalendarEntryRSVPResponse>): ListCalendarEntryRSVPResponse {
@@ -1712,7 +1712,7 @@ class ListSubscriptionsResponse$Type extends MessageType<ListSubscriptionsRespon
1712
1712
  constructor() {
1713
1713
  super("services.calendar.ListSubscriptionsResponse", [
1714
1714
  { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse, options: { "validate.rules": { message: { required: true } } } },
1715
- { no: 2, name: "subs", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => CalendarSub }
1715
+ { no: 2, name: "subs", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => CalendarSub }
1716
1716
  ]);
1717
1717
  }
1718
1718
  create(value?: PartialMessage<ListSubscriptionsResponse>): ListSubscriptionsResponse {
@@ -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 "services/centrum/centrum.proto" (package "services.centrum", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
@@ -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 "services/centrum/centrum.proto" (package "services.centrum", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
@@ -886,7 +886,7 @@ export const ListUnitsRequest = new ListUnitsRequest$Type();
886
886
  class ListUnitsResponse$Type extends MessageType<ListUnitsResponse> {
887
887
  constructor() {
888
888
  super("services.centrum.ListUnitsResponse", [
889
- { no: 1, name: "units", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Unit }
889
+ { no: 1, name: "units", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Unit }
890
890
  ]);
891
891
  }
892
892
  create(value?: PartialMessage<ListUnitsResponse>): ListUnitsResponse {
@@ -1335,7 +1335,7 @@ class ListUnitActivityResponse$Type extends MessageType<ListUnitActivityResponse
1335
1335
  constructor() {
1336
1336
  super("services.centrum.ListUnitActivityResponse", [
1337
1337
  { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse },
1338
- { no: 2, name: "activity", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => UnitStatus }
1338
+ { no: 2, name: "activity", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => UnitStatus }
1339
1339
  ]);
1340
1340
  }
1341
1341
  create(value?: PartialMessage<ListUnitActivityResponse>): ListUnitActivityResponse {
@@ -1575,7 +1575,7 @@ class ListDispatchesResponse$Type extends MessageType<ListDispatchesResponse> {
1575
1575
  constructor() {
1576
1576
  super("services.centrum.ListDispatchesResponse", [
1577
1577
  { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse },
1578
- { no: 2, name: "dispatches", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Dispatch }
1578
+ { no: 2, name: "dispatches", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Dispatch }
1579
1579
  ]);
1580
1580
  }
1581
1581
  create(value?: PartialMessage<ListDispatchesResponse>): ListDispatchesResponse {
@@ -2214,7 +2214,7 @@ class ListDispatchActivityResponse$Type extends MessageType<ListDispatchActivity
2214
2214
  constructor() {
2215
2215
  super("services.centrum.ListDispatchActivityResponse", [
2216
2216
  { no: 1, name: "pagination", kind: "message", T: () => PaginationResponse },
2217
- { no: 2, name: "activity", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => DispatchStatus }
2217
+ { no: 2, name: "activity", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DispatchStatus }
2218
2218
  ]);
2219
2219
  }
2220
2220
  create(value?: PartialMessage<ListDispatchActivityResponse>): ListDispatchActivityResponse {
@@ -2469,10 +2469,10 @@ class LatestState$Type extends MessageType<LatestState> {
2469
2469
  super("services.centrum.LatestState", [
2470
2470
  { no: 1, name: "server_time", kind: "message", T: () => Timestamp },
2471
2471
  { no: 2, name: "settings", kind: "message", T: () => Settings },
2472
- { no: 3, name: "disponents", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Colleague },
2472
+ { no: 3, name: "disponents", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Colleague },
2473
2473
  { no: 4, name: "own_unit_id", kind: "scalar", opt: true, T: 4 /*ScalarType.UINT64*/, L: 2 /*LongType.NUMBER*/ },
2474
- { no: 5, name: "units", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Unit },
2475
- { no: 6, name: "dispatches", kind: "message", repeat: 1 /*RepeatType.PACKED*/, T: () => Dispatch }
2474
+ { no: 5, name: "units", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Unit },
2475
+ { no: 6, name: "dispatches", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Dispatch }
2476
2476
  ]);
2477
2477
  }
2478
2478
  create(value?: PartialMessage<LatestState>): LatestState {
@@ -1,78 +1,78 @@
1
- // @generated by protobuf-ts 2.9.6 with parameter optimize_speed,long_type_number,force_server_none
2
- // @generated from protobuf file "services/citizenstore/citizenstore.proto" (package "services.citizenstore", syntax proto3)
1
+ // @generated by protobuf-ts 2.10.0 with parameter optimize_speed,long_type_number,force_server_none
2
+ // @generated from protobuf file "services/citizens/citizens.proto" (package "services.citizens", syntax proto3)
3
3
  // @ts-nocheck
4
4
  import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
5
5
  import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
6
- import { CitizenStoreService } from "./citizenstore";
7
- import type { ManageCitizenLabelsResponse } from "./citizenstore";
8
- import type { ManageCitizenLabelsRequest } from "./citizenstore";
9
- import type { SetProfilePictureResponse } from "./citizenstore";
10
- import type { SetProfilePictureRequest } from "./citizenstore";
11
- import type { SetUserPropsResponse } from "./citizenstore";
12
- import type { SetUserPropsRequest } from "./citizenstore";
13
- import type { ListUserActivityResponse } from "./citizenstore";
14
- import type { ListUserActivityRequest } from "./citizenstore";
15
- import type { GetUserResponse } from "./citizenstore";
16
- import type { GetUserRequest } from "./citizenstore";
6
+ import { CitizensService } from "./citizens";
7
+ import type { ManageLabelsResponse } from "./citizens";
8
+ import type { ManageLabelsRequest } from "./citizens";
9
+ import type { SetProfilePictureResponse } from "./citizens";
10
+ import type { SetProfilePictureRequest } from "./citizens";
11
+ import type { SetUserPropsResponse } from "./citizens";
12
+ import type { SetUserPropsRequest } from "./citizens";
13
+ import type { ListUserActivityResponse } from "./citizens";
14
+ import type { ListUserActivityRequest } from "./citizens";
15
+ import type { GetUserResponse } from "./citizens";
16
+ import type { GetUserRequest } from "./citizens";
17
17
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
18
- import type { ListCitizensResponse } from "./citizenstore";
19
- import type { ListCitizensRequest } from "./citizenstore";
18
+ import type { ListCitizensResponse } from "./citizens";
19
+ import type { ListCitizensRequest } from "./citizens";
20
20
  import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
21
21
  import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
22
22
  /**
23
- * @generated from protobuf service services.citizenstore.CitizenStoreService
23
+ * @generated from protobuf service services.citizens.CitizensService
24
24
  */
25
- export interface ICitizenStoreServiceClient {
25
+ export interface ICitizensServiceClient {
26
26
  /**
27
27
  * @perm: Attrs=Fields/StringList:[]string{"PhoneNumber", "Licenses", "UserProps.Wanted", "UserProps.Job", "UserProps.TrafficInfractionPoints", "UserProps.OpenFines", "UserProps.BloodType", "UserProps.MugShot", "UserProps.Labels", "UserProps.Email"}
28
28
  *
29
- * @generated from protobuf rpc: ListCitizens(services.citizenstore.ListCitizensRequest) returns (services.citizenstore.ListCitizensResponse);
29
+ * @generated from protobuf rpc: ListCitizens(services.citizens.ListCitizensRequest) returns (services.citizens.ListCitizensResponse);
30
30
  */
31
31
  listCitizens(input: ListCitizensRequest, options?: RpcOptions): UnaryCall<ListCitizensRequest, ListCitizensResponse>;
32
32
  /**
33
33
  * @perm: Attrs=Jobs/JobGradeList
34
34
  *
35
- * @generated from protobuf rpc: GetUser(services.citizenstore.GetUserRequest) returns (services.citizenstore.GetUserResponse);
35
+ * @generated from protobuf rpc: GetUser(services.citizens.GetUserRequest) returns (services.citizens.GetUserResponse);
36
36
  */
37
37
  getUser(input: GetUserRequest, options?: RpcOptions): UnaryCall<GetUserRequest, GetUserResponse>;
38
38
  /**
39
39
  * @perm: Attrs=Fields/StringList:[]string{"SourceUser", "Own"}
40
40
  *
41
- * @generated from protobuf rpc: ListUserActivity(services.citizenstore.ListUserActivityRequest) returns (services.citizenstore.ListUserActivityResponse);
41
+ * @generated from protobuf rpc: ListUserActivity(services.citizens.ListUserActivityRequest) returns (services.citizens.ListUserActivityResponse);
42
42
  */
43
43
  listUserActivity(input: ListUserActivityRequest, options?: RpcOptions): UnaryCall<ListUserActivityRequest, ListUserActivityResponse>;
44
44
  /**
45
45
  * @perm: Attrs=Fields/StringList:[]string{"Wanted", "Job", "TrafficInfractionPoints", "MugShot", "Labels"}
46
46
  *
47
- * @generated from protobuf rpc: SetUserProps(services.citizenstore.SetUserPropsRequest) returns (services.citizenstore.SetUserPropsResponse);
47
+ * @generated from protobuf rpc: SetUserProps(services.citizens.SetUserPropsRequest) returns (services.citizens.SetUserPropsResponse);
48
48
  */
49
49
  setUserProps(input: SetUserPropsRequest, options?: RpcOptions): UnaryCall<SetUserPropsRequest, SetUserPropsResponse>;
50
50
  /**
51
51
  * @perm: Name=Any
52
52
  *
53
- * @generated from protobuf rpc: SetProfilePicture(services.citizenstore.SetProfilePictureRequest) returns (services.citizenstore.SetProfilePictureResponse);
53
+ * @generated from protobuf rpc: SetProfilePicture(services.citizens.SetProfilePictureRequest) returns (services.citizens.SetProfilePictureResponse);
54
54
  */
55
55
  setProfilePicture(input: SetProfilePictureRequest, options?: RpcOptions): UnaryCall<SetProfilePictureRequest, SetProfilePictureResponse>;
56
56
  /**
57
57
  * @perm
58
58
  *
59
- * @generated from protobuf rpc: ManageCitizenLabels(services.citizenstore.ManageCitizenLabelsRequest) returns (services.citizenstore.ManageCitizenLabelsResponse);
59
+ * @generated from protobuf rpc: ManageLabels(services.citizens.ManageLabelsRequest) returns (services.citizens.ManageLabelsResponse);
60
60
  */
61
- manageCitizenLabels(input: ManageCitizenLabelsRequest, options?: RpcOptions): UnaryCall<ManageCitizenLabelsRequest, ManageCitizenLabelsResponse>;
61
+ manageLabels(input: ManageLabelsRequest, options?: RpcOptions): UnaryCall<ManageLabelsRequest, ManageLabelsResponse>;
62
62
  }
63
63
  /**
64
- * @generated from protobuf service services.citizenstore.CitizenStoreService
64
+ * @generated from protobuf service services.citizens.CitizensService
65
65
  */
66
- export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, ServiceInfo {
67
- typeName = CitizenStoreService.typeName;
68
- methods = CitizenStoreService.methods;
69
- options = CitizenStoreService.options;
66
+ export class CitizensServiceClient implements ICitizensServiceClient, ServiceInfo {
67
+ typeName = CitizensService.typeName;
68
+ methods = CitizensService.methods;
69
+ options = CitizensService.options;
70
70
  constructor(private readonly _transport: RpcTransport) {
71
71
  }
72
72
  /**
73
73
  * @perm: Attrs=Fields/StringList:[]string{"PhoneNumber", "Licenses", "UserProps.Wanted", "UserProps.Job", "UserProps.TrafficInfractionPoints", "UserProps.OpenFines", "UserProps.BloodType", "UserProps.MugShot", "UserProps.Labels", "UserProps.Email"}
74
74
  *
75
- * @generated from protobuf rpc: ListCitizens(services.citizenstore.ListCitizensRequest) returns (services.citizenstore.ListCitizensResponse);
75
+ * @generated from protobuf rpc: ListCitizens(services.citizens.ListCitizensRequest) returns (services.citizens.ListCitizensResponse);
76
76
  */
77
77
  listCitizens(input: ListCitizensRequest, options?: RpcOptions): UnaryCall<ListCitizensRequest, ListCitizensResponse> {
78
78
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
@@ -81,7 +81,7 @@ export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, Se
81
81
  /**
82
82
  * @perm: Attrs=Jobs/JobGradeList
83
83
  *
84
- * @generated from protobuf rpc: GetUser(services.citizenstore.GetUserRequest) returns (services.citizenstore.GetUserResponse);
84
+ * @generated from protobuf rpc: GetUser(services.citizens.GetUserRequest) returns (services.citizens.GetUserResponse);
85
85
  */
86
86
  getUser(input: GetUserRequest, options?: RpcOptions): UnaryCall<GetUserRequest, GetUserResponse> {
87
87
  const method = this.methods[1], opt = this._transport.mergeOptions(options);
@@ -90,7 +90,7 @@ export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, Se
90
90
  /**
91
91
  * @perm: Attrs=Fields/StringList:[]string{"SourceUser", "Own"}
92
92
  *
93
- * @generated from protobuf rpc: ListUserActivity(services.citizenstore.ListUserActivityRequest) returns (services.citizenstore.ListUserActivityResponse);
93
+ * @generated from protobuf rpc: ListUserActivity(services.citizens.ListUserActivityRequest) returns (services.citizens.ListUserActivityResponse);
94
94
  */
95
95
  listUserActivity(input: ListUserActivityRequest, options?: RpcOptions): UnaryCall<ListUserActivityRequest, ListUserActivityResponse> {
96
96
  const method = this.methods[2], opt = this._transport.mergeOptions(options);
@@ -99,7 +99,7 @@ export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, Se
99
99
  /**
100
100
  * @perm: Attrs=Fields/StringList:[]string{"Wanted", "Job", "TrafficInfractionPoints", "MugShot", "Labels"}
101
101
  *
102
- * @generated from protobuf rpc: SetUserProps(services.citizenstore.SetUserPropsRequest) returns (services.citizenstore.SetUserPropsResponse);
102
+ * @generated from protobuf rpc: SetUserProps(services.citizens.SetUserPropsRequest) returns (services.citizens.SetUserPropsResponse);
103
103
  */
104
104
  setUserProps(input: SetUserPropsRequest, options?: RpcOptions): UnaryCall<SetUserPropsRequest, SetUserPropsResponse> {
105
105
  const method = this.methods[3], opt = this._transport.mergeOptions(options);
@@ -108,7 +108,7 @@ export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, Se
108
108
  /**
109
109
  * @perm: Name=Any
110
110
  *
111
- * @generated from protobuf rpc: SetProfilePicture(services.citizenstore.SetProfilePictureRequest) returns (services.citizenstore.SetProfilePictureResponse);
111
+ * @generated from protobuf rpc: SetProfilePicture(services.citizens.SetProfilePictureRequest) returns (services.citizens.SetProfilePictureResponse);
112
112
  */
113
113
  setProfilePicture(input: SetProfilePictureRequest, options?: RpcOptions): UnaryCall<SetProfilePictureRequest, SetProfilePictureResponse> {
114
114
  const method = this.methods[4], opt = this._transport.mergeOptions(options);
@@ -117,10 +117,10 @@ export class CitizenStoreServiceClient implements ICitizenStoreServiceClient, Se
117
117
  /**
118
118
  * @perm
119
119
  *
120
- * @generated from protobuf rpc: ManageCitizenLabels(services.citizenstore.ManageCitizenLabelsRequest) returns (services.citizenstore.ManageCitizenLabelsResponse);
120
+ * @generated from protobuf rpc: ManageLabels(services.citizens.ManageLabelsRequest) returns (services.citizens.ManageLabelsResponse);
121
121
  */
122
- manageCitizenLabels(input: ManageCitizenLabelsRequest, options?: RpcOptions): UnaryCall<ManageCitizenLabelsRequest, ManageCitizenLabelsResponse> {
122
+ manageLabels(input: ManageLabelsRequest, options?: RpcOptions): UnaryCall<ManageLabelsRequest, ManageLabelsResponse> {
123
123
  const method = this.methods[5], opt = this._transport.mergeOptions(options);
124
- return stackIntercept<ManageCitizenLabelsRequest, ManageCitizenLabelsResponse>("unary", this._transport, method, opt, input);
124
+ return stackIntercept<ManageLabelsRequest, ManageLabelsResponse>("unary", this._transport, method, opt, input);
125
125
  }
126
126
  }