@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
@@ -0,0 +1,155 @@
1
+ // @generated by protobuf-ts 2.11.1 with parameter force_server_none,long_type_number,optimize_speed,ts_nocheck
2
+ // @generated from protobuf file "services/centrum/dispatches.proto" (package "services.centrum", syntax proto3)
3
+ // tslint:disable
4
+ // @ts-nocheck
5
+ import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
6
+ import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
7
+ import { DispatchesService } from "./dispatches";
8
+ import type { UpdateDispatchStatusResponse } from "./dispatches";
9
+ import type { UpdateDispatchStatusRequest } from "./dispatches";
10
+ import type { TakeDispatchResponse } from "./dispatches";
11
+ import type { TakeDispatchRequest } from "./dispatches";
12
+ import type { ListDispatchActivityResponse } from "./dispatches";
13
+ import type { ListDispatchActivityRequest } from "./dispatches";
14
+ import type { ListDispatchesResponse } from "./dispatches";
15
+ import type { ListDispatchesRequest } from "./dispatches";
16
+ import type { GetDispatchResponse } from "./dispatches";
17
+ import type { GetDispatchRequest } from "./dispatches";
18
+ import type { AssignDispatchResponse } from "./dispatches";
19
+ import type { AssignDispatchRequest } from "./dispatches";
20
+ import type { ListDispatchTargetJobsResponse } from "./dispatches";
21
+ import type { ListDispatchTargetJobsRequest } from "./dispatches";
22
+ import type { DeleteDispatchResponse } from "./dispatches";
23
+ import type { DeleteDispatchRequest } from "./dispatches";
24
+ import type { UpdateDispatchResponse } from "./dispatches";
25
+ import type { UpdateDispatchRequest } from "./dispatches";
26
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
27
+ import type { CreateDispatchResponse } from "./dispatches";
28
+ import type { CreateDispatchRequest } from "./dispatches";
29
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
30
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
31
+ /**
32
+ * @generated from protobuf service services.centrum.DispatchesService
33
+ */
34
+ export interface IDispatchesServiceClient {
35
+ /**
36
+ * @generated from protobuf rpc: CreateDispatch
37
+ */
38
+ createDispatch(input: CreateDispatchRequest, options?: RpcOptions): UnaryCall<CreateDispatchRequest, CreateDispatchResponse>;
39
+ /**
40
+ * @generated from protobuf rpc: UpdateDispatch
41
+ */
42
+ updateDispatch(input: UpdateDispatchRequest, options?: RpcOptions): UnaryCall<UpdateDispatchRequest, UpdateDispatchResponse>;
43
+ /**
44
+ * @generated from protobuf rpc: DeleteDispatch
45
+ */
46
+ deleteDispatch(input: DeleteDispatchRequest, options?: RpcOptions): UnaryCall<DeleteDispatchRequest, DeleteDispatchResponse>;
47
+ /**
48
+ * @generated from protobuf rpc: ListDispatchTargetJobs
49
+ */
50
+ listDispatchTargetJobs(input: ListDispatchTargetJobsRequest, options?: RpcOptions): UnaryCall<ListDispatchTargetJobsRequest, ListDispatchTargetJobsResponse>;
51
+ /**
52
+ * @generated from protobuf rpc: AssignDispatch
53
+ */
54
+ assignDispatch(input: AssignDispatchRequest, options?: RpcOptions): UnaryCall<AssignDispatchRequest, AssignDispatchResponse>;
55
+ /**
56
+ * @generated from protobuf rpc: GetDispatch
57
+ */
58
+ getDispatch(input: GetDispatchRequest, options?: RpcOptions): UnaryCall<GetDispatchRequest, GetDispatchResponse>;
59
+ /**
60
+ * @generated from protobuf rpc: ListDispatches
61
+ */
62
+ listDispatches(input: ListDispatchesRequest, options?: RpcOptions): UnaryCall<ListDispatchesRequest, ListDispatchesResponse>;
63
+ /**
64
+ * @generated from protobuf rpc: ListDispatchActivity
65
+ */
66
+ listDispatchActivity(input: ListDispatchActivityRequest, options?: RpcOptions): UnaryCall<ListDispatchActivityRequest, ListDispatchActivityResponse>;
67
+ /**
68
+ * @generated from protobuf rpc: TakeDispatch
69
+ */
70
+ takeDispatch(input: TakeDispatchRequest, options?: RpcOptions): UnaryCall<TakeDispatchRequest, TakeDispatchResponse>;
71
+ /**
72
+ * @generated from protobuf rpc: UpdateDispatchStatus
73
+ */
74
+ updateDispatchStatus(input: UpdateDispatchStatusRequest, options?: RpcOptions): UnaryCall<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse>;
75
+ }
76
+ /**
77
+ * @generated from protobuf service services.centrum.DispatchesService
78
+ */
79
+ export class DispatchesServiceClient implements IDispatchesServiceClient, ServiceInfo {
80
+ typeName = DispatchesService.typeName;
81
+ methods = DispatchesService.methods;
82
+ options = DispatchesService.options;
83
+ constructor(private readonly _transport: RpcTransport) {
84
+ }
85
+ /**
86
+ * @generated from protobuf rpc: CreateDispatch
87
+ */
88
+ createDispatch(input: CreateDispatchRequest, options?: RpcOptions): UnaryCall<CreateDispatchRequest, CreateDispatchResponse> {
89
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
90
+ return stackIntercept<CreateDispatchRequest, CreateDispatchResponse>("unary", this._transport, method, opt, input);
91
+ }
92
+ /**
93
+ * @generated from protobuf rpc: UpdateDispatch
94
+ */
95
+ updateDispatch(input: UpdateDispatchRequest, options?: RpcOptions): UnaryCall<UpdateDispatchRequest, UpdateDispatchResponse> {
96
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
97
+ return stackIntercept<UpdateDispatchRequest, UpdateDispatchResponse>("unary", this._transport, method, opt, input);
98
+ }
99
+ /**
100
+ * @generated from protobuf rpc: DeleteDispatch
101
+ */
102
+ deleteDispatch(input: DeleteDispatchRequest, options?: RpcOptions): UnaryCall<DeleteDispatchRequest, DeleteDispatchResponse> {
103
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
104
+ return stackIntercept<DeleteDispatchRequest, DeleteDispatchResponse>("unary", this._transport, method, opt, input);
105
+ }
106
+ /**
107
+ * @generated from protobuf rpc: ListDispatchTargetJobs
108
+ */
109
+ listDispatchTargetJobs(input: ListDispatchTargetJobsRequest, options?: RpcOptions): UnaryCall<ListDispatchTargetJobsRequest, ListDispatchTargetJobsResponse> {
110
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
111
+ return stackIntercept<ListDispatchTargetJobsRequest, ListDispatchTargetJobsResponse>("unary", this._transport, method, opt, input);
112
+ }
113
+ /**
114
+ * @generated from protobuf rpc: AssignDispatch
115
+ */
116
+ assignDispatch(input: AssignDispatchRequest, options?: RpcOptions): UnaryCall<AssignDispatchRequest, AssignDispatchResponse> {
117
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
118
+ return stackIntercept<AssignDispatchRequest, AssignDispatchResponse>("unary", this._transport, method, opt, input);
119
+ }
120
+ /**
121
+ * @generated from protobuf rpc: GetDispatch
122
+ */
123
+ getDispatch(input: GetDispatchRequest, options?: RpcOptions): UnaryCall<GetDispatchRequest, GetDispatchResponse> {
124
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
125
+ return stackIntercept<GetDispatchRequest, GetDispatchResponse>("unary", this._transport, method, opt, input);
126
+ }
127
+ /**
128
+ * @generated from protobuf rpc: ListDispatches
129
+ */
130
+ listDispatches(input: ListDispatchesRequest, options?: RpcOptions): UnaryCall<ListDispatchesRequest, ListDispatchesResponse> {
131
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
132
+ return stackIntercept<ListDispatchesRequest, ListDispatchesResponse>("unary", this._transport, method, opt, input);
133
+ }
134
+ /**
135
+ * @generated from protobuf rpc: ListDispatchActivity
136
+ */
137
+ listDispatchActivity(input: ListDispatchActivityRequest, options?: RpcOptions): UnaryCall<ListDispatchActivityRequest, ListDispatchActivityResponse> {
138
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
139
+ return stackIntercept<ListDispatchActivityRequest, ListDispatchActivityResponse>("unary", this._transport, method, opt, input);
140
+ }
141
+ /**
142
+ * @generated from protobuf rpc: TakeDispatch
143
+ */
144
+ takeDispatch(input: TakeDispatchRequest, options?: RpcOptions): UnaryCall<TakeDispatchRequest, TakeDispatchResponse> {
145
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
146
+ return stackIntercept<TakeDispatchRequest, TakeDispatchResponse>("unary", this._transport, method, opt, input);
147
+ }
148
+ /**
149
+ * @generated from protobuf rpc: UpdateDispatchStatus
150
+ */
151
+ updateDispatchStatus(input: UpdateDispatchStatusRequest, options?: RpcOptions): UnaryCall<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse> {
152
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
153
+ return stackIntercept<UpdateDispatchStatusRequest, UpdateDispatchStatusResponse>("unary", this._transport, method, opt, input);
154
+ }
155
+ }