@fivenet-app/gen 2026.3.0 → 2026.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/clients.ts +66 -6
  2. package/codegen/perms/perms.ts +104 -1
  3. package/package.json +1 -1
  4. package/perms.ts +16 -5
  5. package/resources/centrum/settings/settings.ts +1 -1
  6. package/resources/centrum/units/units.ts +1 -1
  7. package/resources/citizens/labels/access.ts +216 -0
  8. package/resources/citizens/labels/labels.ts +320 -0
  9. package/resources/{users → citizens}/licenses/licenses.ts +17 -17
  10. package/resources/clientconfig/clientconfig.ts +32 -289
  11. package/resources/cron/cron.ts +2 -2
  12. package/resources/documents/access/access.ts +0 -23
  13. package/resources/documents/category/category.ts +1 -1
  14. package/resources/documents/templates/templates.ts +2 -2
  15. package/resources/jobs/labels/labels.ts +16 -5
  16. package/resources/livemap/markers/marker_marker.ts +1 -1
  17. package/resources/settings/banner.ts +1 -1
  18. package/resources/settings/config.ts +16 -14
  19. package/resources/sync/data/data.ts +9 -9
  20. package/resources/users/activity/activity.ts +132 -12
  21. package/resources/users/props/props.ts +4 -4
  22. package/resources/users/user.ts +4 -4
  23. package/services/calendar/calendar.client.ts +2 -106
  24. package/services/calendar/calendar.ts +0 -1018
  25. package/services/calendar/entries.client.ts +129 -0
  26. package/services/calendar/entries.ts +1040 -0
  27. package/services/centrum/centrum.client.ts +23 -244
  28. package/services/centrum/centrum.ts +246 -2383
  29. package/services/centrum/dispatches.client.ts +155 -0
  30. package/services/centrum/dispatches.ts +1305 -0
  31. package/services/centrum/units.client.ts +116 -0
  32. package/services/centrum/units.ts +876 -0
  33. package/services/citizens/citizens.client.ts +0 -13
  34. package/services/citizens/citizens.ts +1 -115
  35. package/services/citizens/labels.client.ts +77 -0
  36. package/services/citizens/labels.ts +455 -0
  37. package/services/completor/completor.ts +5 -5
  38. package/services/documents/categories.client.ts +64 -0
  39. package/services/documents/categories.ts +331 -0
  40. package/services/documents/comments.client.ts +77 -0
  41. package/services/documents/comments.ts +479 -0
  42. package/services/documents/documents.client.ts +26 -182
  43. package/services/documents/documents.ts +335 -1682
  44. package/services/documents/templates.client.ts +90 -0
  45. package/services/documents/templates.ts +591 -0
  46. package/services/jobs/colleagues.client.ts +129 -0
  47. package/services/jobs/colleagues.ts +1129 -0
  48. package/services/jobs/jobs.client.ts +3 -107
  49. package/services/jobs/jobs.ts +1 -1113
  50. package/services/mailer/mailer.client.ts +0 -208
  51. package/services/mailer/mailer.ts +1 -2010
  52. package/services/mailer/settings.client.ts +103 -0
  53. package/services/mailer/settings.ts +708 -0
  54. package/services/mailer/thread.client.ts +155 -0
  55. package/services/mailer/thread.ts +1343 -0
  56. package/services/qualifications/exam.client.ts +77 -0
  57. package/services/qualifications/exam.ts +609 -0
  58. package/services/qualifications/qualifications.client.ts +1 -53
  59. package/services/qualifications/qualifications.ts +0 -591
  60. package/services/settings/cron.client.ts +13 -0
  61. package/services/settings/cron.ts +114 -1
  62. package/services/sync/sync.client.ts +271 -37
  63. package/services/sync/sync.ts +1463 -383
  64. package/svcs.ts +182 -94
  65. package/resources/sync/data/v2/data.ts +0 -220
  66. package/resources/users/labels/labels.ts +0 -160
  67. package/services/sync/v2/sync.client.ts +0 -331
  68. package/services/sync/v2/sync.ts +0 -1766
@@ -9,22 +9,6 @@ import type { SubscribeToCalendarResponse } from "./calendar";
9
9
  import type { SubscribeToCalendarRequest } from "./calendar";
10
10
  import type { ListSubscriptionsResponse } from "./calendar";
11
11
  import type { ListSubscriptionsRequest } from "./calendar";
12
- import type { RSVPCalendarEntryResponse } from "./calendar";
13
- import type { RSVPCalendarEntryRequest } from "./calendar";
14
- import type { ListCalendarEntryRSVPResponse } from "./calendar";
15
- import type { ListCalendarEntryRSVPRequest } from "./calendar";
16
- import type { ShareCalendarEntryResponse } from "./calendar";
17
- import type { ShareCalendarEntryRequest } from "./calendar";
18
- import type { DeleteCalendarEntryResponse } from "./calendar";
19
- import type { DeleteCalendarEntryRequest } from "./calendar";
20
- import type { CreateOrUpdateCalendarEntryResponse } from "./calendar";
21
- import type { CreateOrUpdateCalendarEntryRequest } from "./calendar";
22
- import type { GetCalendarEntryResponse } from "./calendar";
23
- import type { GetCalendarEntryRequest } from "./calendar";
24
- import type { GetUpcomingEntriesResponse } from "./calendar";
25
- import type { GetUpcomingEntriesRequest } from "./calendar";
26
- import type { ListCalendarEntriesResponse } from "./calendar";
27
- import type { ListCalendarEntriesRequest } from "./calendar";
28
12
  import type { DeleteCalendarResponse } from "./calendar";
29
13
  import type { DeleteCalendarRequest } from "./calendar";
30
14
  import type { UpdateCalendarResponse } from "./calendar";
@@ -62,38 +46,6 @@ export interface ICalendarServiceClient {
62
46
  * @generated from protobuf rpc: DeleteCalendar
63
47
  */
64
48
  deleteCalendar(input: DeleteCalendarRequest, options?: RpcOptions): UnaryCall<DeleteCalendarRequest, DeleteCalendarResponse>;
65
- /**
66
- * @generated from protobuf rpc: ListCalendarEntries
67
- */
68
- listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse>;
69
- /**
70
- * @generated from protobuf rpc: GetUpcomingEntries
71
- */
72
- getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>;
73
- /**
74
- * @generated from protobuf rpc: GetCalendarEntry
75
- */
76
- getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse>;
77
- /**
78
- * @generated from protobuf rpc: CreateOrUpdateCalendarEntry
79
- */
80
- createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>;
81
- /**
82
- * @generated from protobuf rpc: DeleteCalendarEntry
83
- */
84
- deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>;
85
- /**
86
- * @generated from protobuf rpc: ShareCalendarEntry
87
- */
88
- shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse>;
89
- /**
90
- * @generated from protobuf rpc: ListCalendarEntryRSVP
91
- */
92
- listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>;
93
- /**
94
- * @generated from protobuf rpc: RSVPCalendarEntry
95
- */
96
- rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>;
97
49
  /**
98
50
  * @generated from protobuf rpc: ListSubscriptions
99
51
  */
@@ -147,74 +99,18 @@ export class CalendarServiceClient implements ICalendarServiceClient, ServiceInf
147
99
  const method = this.methods[4], opt = this._transport.mergeOptions(options);
148
100
  return stackIntercept<DeleteCalendarRequest, DeleteCalendarResponse>("unary", this._transport, method, opt, input);
149
101
  }
150
- /**
151
- * @generated from protobuf rpc: ListCalendarEntries
152
- */
153
- listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse> {
154
- const method = this.methods[5], opt = this._transport.mergeOptions(options);
155
- return stackIntercept<ListCalendarEntriesRequest, ListCalendarEntriesResponse>("unary", this._transport, method, opt, input);
156
- }
157
- /**
158
- * @generated from protobuf rpc: GetUpcomingEntries
159
- */
160
- getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse> {
161
- const method = this.methods[6], opt = this._transport.mergeOptions(options);
162
- return stackIntercept<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>("unary", this._transport, method, opt, input);
163
- }
164
- /**
165
- * @generated from protobuf rpc: GetCalendarEntry
166
- */
167
- getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse> {
168
- const method = this.methods[7], opt = this._transport.mergeOptions(options);
169
- return stackIntercept<GetCalendarEntryRequest, GetCalendarEntryResponse>("unary", this._transport, method, opt, input);
170
- }
171
- /**
172
- * @generated from protobuf rpc: CreateOrUpdateCalendarEntry
173
- */
174
- createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse> {
175
- const method = this.methods[8], opt = this._transport.mergeOptions(options);
176
- return stackIntercept<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>("unary", this._transport, method, opt, input);
177
- }
178
- /**
179
- * @generated from protobuf rpc: DeleteCalendarEntry
180
- */
181
- deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse> {
182
- const method = this.methods[9], opt = this._transport.mergeOptions(options);
183
- return stackIntercept<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>("unary", this._transport, method, opt, input);
184
- }
185
- /**
186
- * @generated from protobuf rpc: ShareCalendarEntry
187
- */
188
- shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse> {
189
- const method = this.methods[10], opt = this._transport.mergeOptions(options);
190
- return stackIntercept<ShareCalendarEntryRequest, ShareCalendarEntryResponse>("unary", this._transport, method, opt, input);
191
- }
192
- /**
193
- * @generated from protobuf rpc: ListCalendarEntryRSVP
194
- */
195
- listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse> {
196
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
197
- return stackIntercept<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>("unary", this._transport, method, opt, input);
198
- }
199
- /**
200
- * @generated from protobuf rpc: RSVPCalendarEntry
201
- */
202
- rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse> {
203
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
204
- return stackIntercept<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>("unary", this._transport, method, opt, input);
205
- }
206
102
  /**
207
103
  * @generated from protobuf rpc: ListSubscriptions
208
104
  */
209
105
  listSubscriptions(input: ListSubscriptionsRequest, options?: RpcOptions): UnaryCall<ListSubscriptionsRequest, ListSubscriptionsResponse> {
210
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
106
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
211
107
  return stackIntercept<ListSubscriptionsRequest, ListSubscriptionsResponse>("unary", this._transport, method, opt, input);
212
108
  }
213
109
  /**
214
110
  * @generated from protobuf rpc: SubscribeToCalendar
215
111
  */
216
112
  subscribeToCalendar(input: SubscribeToCalendarRequest, options?: RpcOptions): UnaryCall<SubscribeToCalendarRequest, SubscribeToCalendarResponse> {
217
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
113
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
218
114
  return stackIntercept<SubscribeToCalendarRequest, SubscribeToCalendarResponse>("unary", this._transport, method, opt, input);
219
115
  }
220
116
  }