@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
package/README.md CHANGED
@@ -1 +1,7 @@
1
- # FiveNet Proto Generate Typescript Files
1
+ # FiveNet Proto Generated Typescript Files
2
+
3
+ [![Container Images on GHCR.io](https://img.shields.io/badge/Container%20Images%20on-GHCR.io-blue)](https://github.com/fivenet-app/fivenet/v2025/pkgs/container/fivenet) [![Helm Logo](https://img.shields.io/badge/Helm%20Chart%20-available?logo=Helm&labelColor=0F1689)](https://github.com/FiveNet-app/charts) [![Discord](https://img.shields.io/badge/Discord-%235865F2.svg?&logo=discord&logoColor=white)](https://discord.gg/ASRPPr8CeT) [![fivenet.app Website](https://img.shields.io/badge/Website-fivenet.app-purple)](https://fivenet.app)
4
+
5
+ [![Go](https://img.shields.io/badge/Go-%2300ADD8.svg?&logo=go&logoColor=white)](https://go.dev/) [![Nuxt.js](https://img.shields.io/badge/Nuxt.js-00DC82?logo=nuxtdotjs&logoColor=fff)](https://nuxt.com/) [![Nuxt UI Pro](https://img.shields.io/badge/Made%20with-Nuxt%20UI%20Pro-00DC82?logo=nuxt.js&labelColor=020420)](https://ui.nuxt.com/pro) [![TypeScript](https://img.shields.io/badge/TypeScript-3178C6?logo=typescript&logoColor=fff)](#) [![NATS.io](https://img.shields.io/badge/nats.io-gray.svg?logo=natsdotio)](https://nats.io/) [![Docker](https://img.shields.io/badge/Docker-2496ED?logo=docker&logoColor=fff)](https://www.docker.com/)
6
+
7
+ **Checkout the documentation the project documentation [https://fivenet.app](https://fivenet.app/).**
package/clients.ts CHANGED
@@ -4,26 +4,28 @@ import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
4
4
  import { AuthServiceClient } from '~~/gen/ts/services/auth/auth.client';
5
5
  import { CalendarServiceClient } from '~~/gen/ts/services/calendar/calendar.client';
6
6
  import { CentrumServiceClient } from '~~/gen/ts/services/centrum/centrum.client';
7
- import { CitizenStoreServiceClient } from '~~/gen/ts/services/citizenstore/citizenstore.client';
7
+ import { CitizensServiceClient } from '~~/gen/ts/services/citizens/citizens.client';
8
8
  import { CompletorServiceClient } from '~~/gen/ts/services/completor/completor.client';
9
- import { DMVServiceClient } from '~~/gen/ts/services/dmv/vehicles.client';
10
- import { DocStoreServiceClient } from '~~/gen/ts/services/docstore/docstore.client';
9
+ import { DocumentsServiceClient } from '~~/gen/ts/services/documents/documents.client';
11
10
  import { AdsServiceClient } from '~~/gen/ts/services/internet/ads.client';
12
11
  import { DomainServiceClient } from '~~/gen/ts/services/internet/domain.client';
13
12
  import { InternetServiceClient } from '~~/gen/ts/services/internet/internet.client';
14
- import { JobsConductServiceClient } from '~~/gen/ts/services/jobs/conduct.client';
13
+ import { ConductServiceClient } from '~~/gen/ts/services/jobs/conduct.client';
15
14
  import { JobsServiceClient } from '~~/gen/ts/services/jobs/jobs.client';
16
- import { JobsTimeclockServiceClient } from '~~/gen/ts/services/jobs/timeclock.client';
17
- import { LivemapperServiceClient } from '~~/gen/ts/services/livemapper/livemap.client';
15
+ import { TimeclockServiceClient } from '~~/gen/ts/services/jobs/timeclock.client';
16
+ import { LivemapServiceClient } from '~~/gen/ts/services/livemap/livemap.client';
18
17
  import { MailerServiceClient } from '~~/gen/ts/services/mailer/mailer.client';
19
18
  import { NotificatorServiceClient } from '~~/gen/ts/services/notificator/notificator.client';
20
19
  import { QualificationsServiceClient } from '~~/gen/ts/services/qualifications/qualifications.client';
21
- import { RectorConfigServiceClient } from '~~/gen/ts/services/rector/config.client';
22
- import { RectorFilestoreServiceClient } from '~~/gen/ts/services/rector/filestore.client';
23
- import { RectorLawsServiceClient } from '~~/gen/ts/services/rector/laws.client';
24
- import { RectorServiceClient } from '~~/gen/ts/services/rector/rector.client';
20
+ import { AccountsServiceClient } from '~~/gen/ts/services/settings/accounts.client';
21
+ import { ConfigServiceClient } from '~~/gen/ts/services/settings/config.client';
22
+ import { CronServiceClient } from '~~/gen/ts/services/settings/cron.client';
23
+ import { FilestoreServiceClient } from '~~/gen/ts/services/settings/filestore.client';
24
+ import { LawsServiceClient } from '~~/gen/ts/services/settings/laws.client';
25
+ import { SettingsServiceClient } from '~~/gen/ts/services/settings/settings.client';
25
26
  import { StatsServiceClient } from '~~/gen/ts/services/stats/stats.client';
26
27
  import { SyncServiceClient } from '~~/gen/ts/services/sync/sync.client';
28
+ import { VehiclesServiceClient } from '~~/gen/ts/services/vehicles/vehicles.client';
27
29
  import { WikiServiceClient } from '~~/gen/ts/services/wiki/wiki.client';
28
30
 
29
31
  export class GRPCClients {
@@ -37,17 +39,14 @@ export class GRPCClients {
37
39
  public centrum: {
38
40
  centrum: CentrumServiceClient;
39
41
  };
40
- public citizenstore: {
41
- citizenStore: CitizenStoreServiceClient;
42
+ public citizens: {
43
+ citizens: CitizensServiceClient;
42
44
  };
43
45
  public completor: {
44
46
  completor: CompletorServiceClient;
45
47
  };
46
- public dmv: {
47
- dMV: DMVServiceClient;
48
- };
49
- public docstore: {
50
- docStore: DocStoreServiceClient;
48
+ public documents: {
49
+ documents: DocumentsServiceClient;
51
50
  };
52
51
  public internet: {
53
52
  ads: AdsServiceClient;
@@ -55,12 +54,12 @@ export class GRPCClients {
55
54
  internet: InternetServiceClient;
56
55
  };
57
56
  public jobs: {
58
- jobsConduct: JobsConductServiceClient;
57
+ conduct: ConductServiceClient;
59
58
  jobs: JobsServiceClient;
60
- jobsTimeclock: JobsTimeclockServiceClient;
59
+ timeclock: TimeclockServiceClient;
61
60
  };
62
- public livemapper: {
63
- livemapper: LivemapperServiceClient;
61
+ public livemap: {
62
+ livemap: LivemapServiceClient;
64
63
  };
65
64
  public mailer: {
66
65
  mailer: MailerServiceClient;
@@ -71,11 +70,13 @@ export class GRPCClients {
71
70
  public qualifications: {
72
71
  qualifications: QualificationsServiceClient;
73
72
  };
74
- public rector: {
75
- rectorConfig: RectorConfigServiceClient;
76
- rectorFilestore: RectorFilestoreServiceClient;
77
- rectorLaws: RectorLawsServiceClient;
78
- rector: RectorServiceClient;
73
+ public settings: {
74
+ accounts: AccountsServiceClient;
75
+ config: ConfigServiceClient;
76
+ cron: CronServiceClient;
77
+ filestore: FilestoreServiceClient;
78
+ laws: LawsServiceClient;
79
+ settings: SettingsServiceClient;
79
80
  };
80
81
  public stats: {
81
82
  stats: StatsServiceClient;
@@ -83,6 +84,9 @@ export class GRPCClients {
83
84
  public sync: {
84
85
  sync: SyncServiceClient;
85
86
  };
87
+ public vehicles: {
88
+ vehicles: VehiclesServiceClient;
89
+ };
86
90
  public wiki: {
87
91
  wiki: WikiServiceClient;
88
92
  };
@@ -97,17 +101,14 @@ export class GRPCClients {
97
101
  this.centrum = {
98
102
  centrum: new CentrumServiceClient(transport),
99
103
  };
100
- this.citizenstore = {
101
- citizenStore: new CitizenStoreServiceClient(transport),
104
+ this.citizens = {
105
+ citizens: new CitizensServiceClient(transport),
102
106
  };
103
107
  this.completor = {
104
108
  completor: new CompletorServiceClient(transport),
105
109
  };
106
- this.dmv = {
107
- dMV: new DMVServiceClient(transport),
108
- };
109
- this.docstore = {
110
- docStore: new DocStoreServiceClient(transport),
110
+ this.documents = {
111
+ documents: new DocumentsServiceClient(transport),
111
112
  };
112
113
  this.internet = {
113
114
  ads: new AdsServiceClient(transport),
@@ -115,12 +116,12 @@ export class GRPCClients {
115
116
  internet: new InternetServiceClient(transport),
116
117
  };
117
118
  this.jobs = {
118
- jobsConduct: new JobsConductServiceClient(transport),
119
+ conduct: new ConductServiceClient(transport),
119
120
  jobs: new JobsServiceClient(transport),
120
- jobsTimeclock: new JobsTimeclockServiceClient(transport),
121
+ timeclock: new TimeclockServiceClient(transport),
121
122
  };
122
- this.livemapper = {
123
- livemapper: new LivemapperServiceClient(transport),
123
+ this.livemap = {
124
+ livemap: new LivemapServiceClient(transport),
124
125
  };
125
126
  this.mailer = {
126
127
  mailer: new MailerServiceClient(transport),
@@ -131,11 +132,13 @@ export class GRPCClients {
131
132
  this.qualifications = {
132
133
  qualifications: new QualificationsServiceClient(transport),
133
134
  };
134
- this.rector = {
135
- rectorConfig: new RectorConfigServiceClient(transport),
136
- rectorFilestore: new RectorFilestoreServiceClient(transport),
137
- rectorLaws: new RectorLawsServiceClient(transport),
138
- rector: new RectorServiceClient(transport),
135
+ this.settings = {
136
+ accounts: new AccountsServiceClient(transport),
137
+ config: new ConfigServiceClient(transport),
138
+ cron: new CronServiceClient(transport),
139
+ filestore: new FilestoreServiceClient(transport),
140
+ laws: new LawsServiceClient(transport),
141
+ settings: new SettingsServiceClient(transport),
139
142
  };
140
143
  this.stats = {
141
144
  stats: new StatsServiceClient(transport),
@@ -143,6 +146,9 @@ export class GRPCClients {
143
146
  this.sync = {
144
147
  sync: new SyncServiceClient(transport),
145
148
  };
149
+ this.vehicles = {
150
+ vehicles: new VehiclesServiceClient(transport),
151
+ };
146
152
  this.wiki = {
147
153
  wiki: new WikiServiceClient(transport),
148
154
  };
@@ -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 "google/protobuf/any.proto" (package "google.protobuf", syntax proto3)
3
3
  // @ts-nocheck
4
4
  //
@@ -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 "google/protobuf/descriptor.proto" (package "google.protobuf", syntax proto2)
3
3
  // @ts-nocheck
4
4
  //
@@ -131,12 +131,18 @@ export interface FileDescriptorProto {
131
131
  * The supported values are "proto2", "proto3", and "editions".
132
132
  *
133
133
  * If `edition` is present, this value must be "editions".
134
+ * WARNING: This field should only be used by protobuf plugins or special
135
+ * cases like the proto compiler. Other uses are discouraged and
136
+ * developers should rely on the protoreflect APIs for their client language.
134
137
  *
135
138
  * @generated from protobuf field: optional string syntax = 12;
136
139
  */
137
140
  syntax?: string;
138
141
  /**
139
142
  * The edition of the proto file.
143
+ * WARNING: This field should only be used by protobuf plugins or special
144
+ * cases like the proto compiler. Other uses are discouraged and
145
+ * developers should rely on the protoreflect APIs for their client language.
140
146
  *
141
147
  * @generated from protobuf field: optional google.protobuf.Edition edition = 14;
142
148
  */
@@ -887,6 +893,9 @@ export interface FileOptions {
887
893
  rubyPackage?: string;
888
894
  /**
889
895
  * Any features defined in the specific edition.
896
+ * WARNING: This field should only be used by protobuf plugins or special
897
+ * cases like the proto compiler. Other uses are discouraged and
898
+ * developers should rely on the protoreflect APIs for their client language.
890
899
  *
891
900
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50;
892
901
  */
@@ -1018,6 +1027,9 @@ export interface MessageOptions {
1018
1027
  deprecatedLegacyJsonFieldConflicts?: boolean;
1019
1028
  /**
1020
1029
  * Any features defined in the specific edition.
1030
+ * WARNING: This field should only be used by protobuf plugins or special
1031
+ * cases like the proto compiler. Other uses are discouraged and
1032
+ * developers should rely on the protoreflect APIs for their client language.
1021
1033
  *
1022
1034
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12;
1023
1035
  */
@@ -1144,6 +1156,9 @@ export interface FieldOptions {
1144
1156
  editionDefaults: FieldOptions_EditionDefault[];
1145
1157
  /**
1146
1158
  * Any features defined in the specific edition.
1159
+ * WARNING: This field should only be used by protobuf plugins or special
1160
+ * cases like the proto compiler. Other uses are discouraged and
1161
+ * developers should rely on the protoreflect APIs for their client language.
1147
1162
  *
1148
1163
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21;
1149
1164
  */
@@ -1332,6 +1347,9 @@ export enum FieldOptions_OptionTargetType {
1332
1347
  export interface OneofOptions {
1333
1348
  /**
1334
1349
  * Any features defined in the specific edition.
1350
+ * WARNING: This field should only be used by protobuf plugins or special
1351
+ * cases like the proto compiler. Other uses are discouraged and
1352
+ * developers should rely on the protoreflect APIs for their client language.
1335
1353
  *
1336
1354
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1;
1337
1355
  */
@@ -1377,6 +1395,9 @@ export interface EnumOptions {
1377
1395
  deprecatedLegacyJsonFieldConflicts?: boolean;
1378
1396
  /**
1379
1397
  * Any features defined in the specific edition.
1398
+ * WARNING: This field should only be used by protobuf plugins or special
1399
+ * cases like the proto compiler. Other uses are discouraged and
1400
+ * developers should rely on the protoreflect APIs for their client language.
1380
1401
  *
1381
1402
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7;
1382
1403
  */
@@ -1403,6 +1424,9 @@ export interface EnumValueOptions {
1403
1424
  deprecated?: boolean;
1404
1425
  /**
1405
1426
  * Any features defined in the specific edition.
1427
+ * WARNING: This field should only be used by protobuf plugins or special
1428
+ * cases like the proto compiler. Other uses are discouraged and
1429
+ * developers should rely on the protoreflect APIs for their client language.
1406
1430
  *
1407
1431
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2;
1408
1432
  */
@@ -1434,6 +1458,9 @@ export interface EnumValueOptions {
1434
1458
  export interface ServiceOptions {
1435
1459
  /**
1436
1460
  * Any features defined in the specific edition.
1461
+ * WARNING: This field should only be used by protobuf plugins or special
1462
+ * cases like the proto compiler. Other uses are discouraged and
1463
+ * developers should rely on the protoreflect APIs for their client language.
1437
1464
  *
1438
1465
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34;
1439
1466
  */
@@ -1483,6 +1510,9 @@ export interface MethodOptions {
1483
1510
  idempotencyLevel?: MethodOptions_IdempotencyLevel;
1484
1511
  /**
1485
1512
  * Any features defined in the specific edition.
1513
+ * WARNING: This field should only be used by protobuf plugins or special
1514
+ * cases like the proto compiler. Other uses are discouraged and
1515
+ * developers should rely on the protoreflect APIs for their client language.
1486
1516
  *
1487
1517
  * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35;
1488
1518
  */
@@ -1619,6 +1649,10 @@ export interface FeatureSet {
1619
1649
  * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
1620
1650
  */
1621
1651
  jsonFormat?: FeatureSet_JsonFormat;
1652
+ /**
1653
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7;
1654
+ */
1655
+ enforceNamingStyle?: FeatureSet_EnforceNamingStyle;
1622
1656
  }
1623
1657
  /**
1624
1658
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
@@ -1726,6 +1760,23 @@ export enum FeatureSet_JsonFormat {
1726
1760
  */
1727
1761
  LEGACY_BEST_EFFORT = 2
1728
1762
  }
1763
+ /**
1764
+ * @generated from protobuf enum google.protobuf.FeatureSet.EnforceNamingStyle
1765
+ */
1766
+ export enum FeatureSet_EnforceNamingStyle {
1767
+ /**
1768
+ * @generated from protobuf enum value: ENFORCE_NAMING_STYLE_UNKNOWN = 0;
1769
+ */
1770
+ ENFORCE_NAMING_STYLE_UNKNOWN = 0,
1771
+ /**
1772
+ * @generated from protobuf enum value: STYLE2024 = 1;
1773
+ */
1774
+ STYLE2024 = 1,
1775
+ /**
1776
+ * @generated from protobuf enum value: STYLE_LEGACY = 2;
1777
+ */
1778
+ STYLE_LEGACY = 2
1779
+ }
1729
1780
  /**
1730
1781
  * A compiled specification for the defaults of a set of features. These
1731
1782
  * messages are generated from FeatureSet extensions and can be used to seed
@@ -2249,12 +2300,6 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2249
2300
  /* repeated string dependency = 3; */
2250
2301
  for (let i = 0; i < message.dependency.length; i++)
2251
2302
  writer.tag(3, WireType.LengthDelimited).string(message.dependency[i]);
2252
- /* repeated int32 public_dependency = 10; */
2253
- for (let i = 0; i < message.publicDependency.length; i++)
2254
- writer.tag(10, WireType.Varint).int32(message.publicDependency[i]);
2255
- /* repeated int32 weak_dependency = 11; */
2256
- for (let i = 0; i < message.weakDependency.length; i++)
2257
- writer.tag(11, WireType.Varint).int32(message.weakDependency[i]);
2258
2303
  /* repeated google.protobuf.DescriptorProto message_type = 4; */
2259
2304
  for (let i = 0; i < message.messageType.length; i++)
2260
2305
  DescriptorProto.internalBinaryWrite(message.messageType[i], writer.tag(4, WireType.LengthDelimited).fork(), options).join();
@@ -2273,6 +2318,12 @@ class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2273
2318
  /* optional google.protobuf.SourceCodeInfo source_code_info = 9; */
2274
2319
  if (message.sourceCodeInfo)
2275
2320
  SourceCodeInfo.internalBinaryWrite(message.sourceCodeInfo, writer.tag(9, WireType.LengthDelimited).fork(), options).join();
2321
+ /* repeated int32 public_dependency = 10; */
2322
+ for (let i = 0; i < message.publicDependency.length; i++)
2323
+ writer.tag(10, WireType.Varint).int32(message.publicDependency[i]);
2324
+ /* repeated int32 weak_dependency = 11; */
2325
+ for (let i = 0; i < message.weakDependency.length; i++)
2326
+ writer.tag(11, WireType.Varint).int32(message.weakDependency[i]);
2276
2327
  /* optional string syntax = 12; */
2277
2328
  if (message.syntax !== undefined)
2278
2329
  writer.tag(12, WireType.LengthDelimited).string(message.syntax);
@@ -2372,9 +2423,6 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2372
2423
  /* repeated google.protobuf.FieldDescriptorProto field = 2; */
2373
2424
  for (let i = 0; i < message.field.length; i++)
2374
2425
  FieldDescriptorProto.internalBinaryWrite(message.field[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2375
- /* repeated google.protobuf.FieldDescriptorProto extension = 6; */
2376
- for (let i = 0; i < message.extension.length; i++)
2377
- FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
2378
2426
  /* repeated google.protobuf.DescriptorProto nested_type = 3; */
2379
2427
  for (let i = 0; i < message.nestedType.length; i++)
2380
2428
  DescriptorProto.internalBinaryWrite(message.nestedType[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
@@ -2384,12 +2432,15 @@ class DescriptorProto$Type extends MessageType<DescriptorProto> {
2384
2432
  /* repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5; */
2385
2433
  for (let i = 0; i < message.extensionRange.length; i++)
2386
2434
  DescriptorProto_ExtensionRange.internalBinaryWrite(message.extensionRange[i], writer.tag(5, WireType.LengthDelimited).fork(), options).join();
2387
- /* repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; */
2388
- for (let i = 0; i < message.oneofDecl.length; i++)
2389
- OneofDescriptorProto.internalBinaryWrite(message.oneofDecl[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
2435
+ /* repeated google.protobuf.FieldDescriptorProto extension = 6; */
2436
+ for (let i = 0; i < message.extension.length; i++)
2437
+ FieldDescriptorProto.internalBinaryWrite(message.extension[i], writer.tag(6, WireType.LengthDelimited).fork(), options).join();
2390
2438
  /* optional google.protobuf.MessageOptions options = 7; */
2391
2439
  if (message.options)
2392
2440
  MessageOptions.internalBinaryWrite(message.options, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
2441
+ /* repeated google.protobuf.OneofDescriptorProto oneof_decl = 8; */
2442
+ for (let i = 0; i < message.oneofDecl.length; i++)
2443
+ OneofDescriptorProto.internalBinaryWrite(message.oneofDecl[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
2393
2444
  /* repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9; */
2394
2445
  for (let i = 0; i < message.reservedRange.length; i++)
2395
2446
  DescriptorProto_ReservedRange.internalBinaryWrite(message.reservedRange[i], writer.tag(9, WireType.LengthDelimited).fork(), options).join();
@@ -2566,18 +2617,18 @@ class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
2566
2617
  return message;
2567
2618
  }
2568
2619
  internalBinaryWrite(message: ExtensionRangeOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
2569
- /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
2570
- for (let i = 0; i < message.uninterpretedOption.length; i++)
2571
- UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
2572
2620
  /* repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2; */
2573
2621
  for (let i = 0; i < message.declaration.length; i++)
2574
2622
  ExtensionRangeOptions_Declaration.internalBinaryWrite(message.declaration[i], writer.tag(2, WireType.LengthDelimited).fork(), options).join();
2575
- /* optional google.protobuf.FeatureSet features = 50; */
2576
- if (message.features)
2577
- FeatureSet.internalBinaryWrite(message.features, writer.tag(50, WireType.LengthDelimited).fork(), options).join();
2578
2623
  /* optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3; */
2579
2624
  if (message.verification !== undefined)
2580
2625
  writer.tag(3, WireType.Varint).int32(message.verification);
2626
+ /* optional google.protobuf.FeatureSet features = 50; */
2627
+ if (message.features)
2628
+ FeatureSet.internalBinaryWrite(message.features, writer.tag(50, WireType.LengthDelimited).fork(), options).join();
2629
+ /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
2630
+ for (let i = 0; i < message.uninterpretedOption.length; i++)
2631
+ UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
2581
2632
  let u = options.writeUnknownFields;
2582
2633
  if (u !== false)
2583
2634
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2738,6 +2789,9 @@ class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
2738
2789
  /* optional string name = 1; */
2739
2790
  if (message.name !== undefined)
2740
2791
  writer.tag(1, WireType.LengthDelimited).string(message.name);
2792
+ /* optional string extendee = 2; */
2793
+ if (message.extendee !== undefined)
2794
+ writer.tag(2, WireType.LengthDelimited).string(message.extendee);
2741
2795
  /* optional int32 number = 3; */
2742
2796
  if (message.number !== undefined)
2743
2797
  writer.tag(3, WireType.Varint).int32(message.number);
@@ -2750,21 +2804,18 @@ class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
2750
2804
  /* optional string type_name = 6; */
2751
2805
  if (message.typeName !== undefined)
2752
2806
  writer.tag(6, WireType.LengthDelimited).string(message.typeName);
2753
- /* optional string extendee = 2; */
2754
- if (message.extendee !== undefined)
2755
- writer.tag(2, WireType.LengthDelimited).string(message.extendee);
2756
2807
  /* optional string default_value = 7; */
2757
2808
  if (message.defaultValue !== undefined)
2758
2809
  writer.tag(7, WireType.LengthDelimited).string(message.defaultValue);
2810
+ /* optional google.protobuf.FieldOptions options = 8; */
2811
+ if (message.options)
2812
+ FieldOptions.internalBinaryWrite(message.options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
2759
2813
  /* optional int32 oneof_index = 9; */
2760
2814
  if (message.oneofIndex !== undefined)
2761
2815
  writer.tag(9, WireType.Varint).int32(message.oneofIndex);
2762
2816
  /* optional string json_name = 10; */
2763
2817
  if (message.jsonName !== undefined)
2764
2818
  writer.tag(10, WireType.LengthDelimited).string(message.jsonName);
2765
- /* optional google.protobuf.FieldOptions options = 8; */
2766
- if (message.options)
2767
- FieldOptions.internalBinaryWrite(message.options, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
2768
2819
  /* optional bool proto3_optional = 17; */
2769
2820
  if (message.proto3Optional !== undefined)
2770
2821
  writer.tag(17, WireType.Varint).bool(message.proto3Optional);
@@ -3283,18 +3334,12 @@ class FileOptions$Type extends MessageType<FileOptions> {
3283
3334
  /* optional string java_outer_classname = 8; */
3284
3335
  if (message.javaOuterClassname !== undefined)
3285
3336
  writer.tag(8, WireType.LengthDelimited).string(message.javaOuterClassname);
3286
- /* optional bool java_multiple_files = 10; */
3287
- if (message.javaMultipleFiles !== undefined)
3288
- writer.tag(10, WireType.Varint).bool(message.javaMultipleFiles);
3289
- /* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
3290
- if (message.javaGenerateEqualsAndHash !== undefined)
3291
- writer.tag(20, WireType.Varint).bool(message.javaGenerateEqualsAndHash);
3292
- /* optional bool java_string_check_utf8 = 27; */
3293
- if (message.javaStringCheckUtf8 !== undefined)
3294
- writer.tag(27, WireType.Varint).bool(message.javaStringCheckUtf8);
3295
3337
  /* optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9; */
3296
3338
  if (message.optimizeFor !== undefined)
3297
3339
  writer.tag(9, WireType.Varint).int32(message.optimizeFor);
3340
+ /* optional bool java_multiple_files = 10; */
3341
+ if (message.javaMultipleFiles !== undefined)
3342
+ writer.tag(10, WireType.Varint).bool(message.javaMultipleFiles);
3298
3343
  /* optional string go_package = 11; */
3299
3344
  if (message.goPackage !== undefined)
3300
3345
  writer.tag(11, WireType.LengthDelimited).string(message.goPackage);
@@ -3307,9 +3352,15 @@ class FileOptions$Type extends MessageType<FileOptions> {
3307
3352
  /* optional bool py_generic_services = 18; */
3308
3353
  if (message.pyGenericServices !== undefined)
3309
3354
  writer.tag(18, WireType.Varint).bool(message.pyGenericServices);
3355
+ /* optional bool java_generate_equals_and_hash = 20 [deprecated = true]; */
3356
+ if (message.javaGenerateEqualsAndHash !== undefined)
3357
+ writer.tag(20, WireType.Varint).bool(message.javaGenerateEqualsAndHash);
3310
3358
  /* optional bool deprecated = 23; */
3311
3359
  if (message.deprecated !== undefined)
3312
3360
  writer.tag(23, WireType.Varint).bool(message.deprecated);
3361
+ /* optional bool java_string_check_utf8 = 27; */
3362
+ if (message.javaStringCheckUtf8 !== undefined)
3363
+ writer.tag(27, WireType.Varint).bool(message.javaStringCheckUtf8);
3313
3364
  /* optional bool cc_enable_arenas = 31; */
3314
3365
  if (message.ccEnableArenas !== undefined)
3315
3366
  writer.tag(31, WireType.Varint).bool(message.ccEnableArenas);
@@ -3537,21 +3588,21 @@ class FieldOptions$Type extends MessageType<FieldOptions> {
3537
3588
  /* optional bool packed = 2; */
3538
3589
  if (message.packed !== undefined)
3539
3590
  writer.tag(2, WireType.Varint).bool(message.packed);
3540
- /* optional google.protobuf.FieldOptions.JSType jstype = 6; */
3541
- if (message.jstype !== undefined)
3542
- writer.tag(6, WireType.Varint).int32(message.jstype);
3543
- /* optional bool lazy = 5; */
3544
- if (message.lazy !== undefined)
3545
- writer.tag(5, WireType.Varint).bool(message.lazy);
3546
- /* optional bool unverified_lazy = 15; */
3547
- if (message.unverifiedLazy !== undefined)
3548
- writer.tag(15, WireType.Varint).bool(message.unverifiedLazy);
3549
3591
  /* optional bool deprecated = 3; */
3550
3592
  if (message.deprecated !== undefined)
3551
3593
  writer.tag(3, WireType.Varint).bool(message.deprecated);
3594
+ /* optional bool lazy = 5; */
3595
+ if (message.lazy !== undefined)
3596
+ writer.tag(5, WireType.Varint).bool(message.lazy);
3597
+ /* optional google.protobuf.FieldOptions.JSType jstype = 6; */
3598
+ if (message.jstype !== undefined)
3599
+ writer.tag(6, WireType.Varint).int32(message.jstype);
3552
3600
  /* optional bool weak = 10; */
3553
3601
  if (message.weak !== undefined)
3554
3602
  writer.tag(10, WireType.Varint).bool(message.weak);
3603
+ /* optional bool unverified_lazy = 15; */
3604
+ if (message.unverifiedLazy !== undefined)
3605
+ writer.tag(15, WireType.Varint).bool(message.unverifiedLazy);
3555
3606
  /* optional bool debug_redact = 16; */
3556
3607
  if (message.debugRedact !== undefined)
3557
3608
  writer.tag(16, WireType.Varint).bool(message.debugRedact);
@@ -3620,12 +3671,12 @@ class FieldOptions_EditionDefault$Type extends MessageType<FieldOptions_EditionD
3620
3671
  return message;
3621
3672
  }
3622
3673
  internalBinaryWrite(message: FieldOptions_EditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3623
- /* optional google.protobuf.Edition edition = 3; */
3624
- if (message.edition !== undefined)
3625
- writer.tag(3, WireType.Varint).int32(message.edition);
3626
3674
  /* optional string value = 2; */
3627
3675
  if (message.value !== undefined)
3628
3676
  writer.tag(2, WireType.LengthDelimited).string(message.value);
3677
+ /* optional google.protobuf.Edition edition = 3; */
3678
+ if (message.edition !== undefined)
3679
+ writer.tag(3, WireType.Varint).int32(message.edition);
3629
3680
  let u = options.writeUnknownFields;
3630
3681
  if (u !== false)
3631
3682
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -3949,12 +4000,12 @@ class ServiceOptions$Type extends MessageType<ServiceOptions> {
3949
4000
  return message;
3950
4001
  }
3951
4002
  internalBinaryWrite(message: ServiceOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
3952
- /* optional google.protobuf.FeatureSet features = 34; */
3953
- if (message.features)
3954
- FeatureSet.internalBinaryWrite(message.features, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
3955
4003
  /* optional bool deprecated = 33; */
3956
4004
  if (message.deprecated !== undefined)
3957
4005
  writer.tag(33, WireType.Varint).bool(message.deprecated);
4006
+ /* optional google.protobuf.FeatureSet features = 34; */
4007
+ if (message.features)
4008
+ FeatureSet.internalBinaryWrite(message.features, writer.tag(34, WireType.LengthDelimited).fork(), options).join();
3958
4009
  /* repeated google.protobuf.UninterpretedOption uninterpreted_option = 999; */
3959
4010
  for (let i = 0; i < message.uninterpretedOption.length; i++)
3960
4011
  UninterpretedOption.internalBinaryWrite(message.uninterpretedOption[i], writer.tag(999, WireType.LengthDelimited).fork(), options).join();
@@ -4189,7 +4240,8 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4189
4240
  { no: 3, name: "repeated_field_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.RepeatedFieldEncoding", FeatureSet_RepeatedFieldEncoding] },
4190
4241
  { no: 4, name: "utf8_validation", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.Utf8Validation", FeatureSet_Utf8Validation] },
4191
4242
  { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
4192
- { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] }
4243
+ { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] },
4244
+ { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] }
4193
4245
  ]);
4194
4246
  }
4195
4247
  create(value?: PartialMessage<FeatureSet>): FeatureSet {
@@ -4221,6 +4273,9 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4221
4273
  case /* optional google.protobuf.FeatureSet.JsonFormat json_format */ 6:
4222
4274
  message.jsonFormat = reader.int32();
4223
4275
  break;
4276
+ case /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style */ 7:
4277
+ message.enforceNamingStyle = reader.int32();
4278
+ break;
4224
4279
  default:
4225
4280
  let u = options.readUnknownField;
4226
4281
  if (u === "throw")
@@ -4251,6 +4306,9 @@ class FeatureSet$Type extends MessageType<FeatureSet> {
4251
4306
  /* optional google.protobuf.FeatureSet.JsonFormat json_format = 6; */
4252
4307
  if (message.jsonFormat !== undefined)
4253
4308
  writer.tag(6, WireType.Varint).int32(message.jsonFormat);
4309
+ /* optional google.protobuf.FeatureSet.EnforceNamingStyle enforce_naming_style = 7; */
4310
+ if (message.enforceNamingStyle !== undefined)
4311
+ writer.tag(7, WireType.Varint).int32(message.enforceNamingStyle);
4254
4312
  let u = options.writeUnknownFields;
4255
4313
  if (u !== false)
4256
4314
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -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 "google/protobuf/duration.proto" (package "google.protobuf", syntax proto3)
3
3
  // @ts-nocheck
4
4
  //
@@ -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 "google/protobuf/timestamp.proto" (package "google.protobuf", syntax proto3)
3
3
  // @ts-nocheck
4
4
  //
package/package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
2
  "name": "@fivenet-app/gen",
3
3
  "private": false,
4
- "version": "2025.4.8",
4
+ "version": "2025.5.2",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
+ "homepage": "https://fivenet.app",
7
8
  "repository": {
8
9
  "type": "git",
9
10
  "url": "git+https://github.com/fivenet-app/fivenet.git"
10
11
  },
11
12
  "devDependencies": {
12
- "@protobuf-ts/plugin": "2.9.6",
13
+ "@protobuf-ts/plugin": "2.10.0",
13
14
  "google-protobuf": "3.21.4"
14
15
  }
15
16
  }