@fivenet-app/gen 2026.4.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 (41) hide show
  1. package/clients.ts +60 -0
  2. package/codegen/perms/perms.ts +11 -0
  3. package/package.json +1 -1
  4. package/perms.ts +10 -0
  5. package/resources/citizens/labels/access.ts +216 -0
  6. package/resources/citizens/labels/labels.ts +8 -214
  7. package/services/calendar/calendar.client.ts +2 -106
  8. package/services/calendar/calendar.ts +0 -1018
  9. package/services/calendar/entries.client.ts +129 -0
  10. package/services/calendar/entries.ts +1040 -0
  11. package/services/centrum/centrum.client.ts +23 -244
  12. package/services/centrum/centrum.ts +246 -2383
  13. package/services/centrum/dispatches.client.ts +155 -0
  14. package/services/centrum/dispatches.ts +1305 -0
  15. package/services/centrum/units.client.ts +116 -0
  16. package/services/centrum/units.ts +876 -0
  17. package/services/documents/categories.client.ts +64 -0
  18. package/services/documents/categories.ts +331 -0
  19. package/services/documents/comments.client.ts +77 -0
  20. package/services/documents/comments.ts +479 -0
  21. package/services/documents/documents.client.ts +26 -182
  22. package/services/documents/documents.ts +335 -1682
  23. package/services/documents/templates.client.ts +90 -0
  24. package/services/documents/templates.ts +591 -0
  25. package/services/jobs/colleagues.client.ts +129 -0
  26. package/services/jobs/colleagues.ts +1129 -0
  27. package/services/jobs/jobs.client.ts +3 -107
  28. package/services/jobs/jobs.ts +1 -1113
  29. package/services/mailer/mailer.client.ts +0 -208
  30. package/services/mailer/mailer.ts +1 -2010
  31. package/services/mailer/settings.client.ts +103 -0
  32. package/services/mailer/settings.ts +708 -0
  33. package/services/mailer/thread.client.ts +155 -0
  34. package/services/mailer/thread.ts +1343 -0
  35. package/services/qualifications/exam.client.ts +77 -0
  36. package/services/qualifications/exam.ts +609 -0
  37. package/services/qualifications/qualifications.client.ts +1 -53
  38. package/services/qualifications/qualifications.ts +0 -591
  39. package/services/sync/sync.client.ts +4 -4
  40. package/services/sync/sync.ts +23 -0
  41. package/svcs.ts +153 -67
@@ -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/mailer/thread.proto" (package "services.mailer", 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 { ThreadService } from "./thread";
8
+ import type { DeleteMessageResponse } from "./thread";
9
+ import type { DeleteMessageRequest } from "./thread";
10
+ import type { PostMessageResponse } from "./thread";
11
+ import type { PostMessageRequest } from "./thread";
12
+ import type { ListThreadMessagesResponse } from "./thread";
13
+ import type { ListThreadMessagesRequest } from "./thread";
14
+ import type { SearchThreadsResponse } from "./thread";
15
+ import type { SearchThreadsRequest } from "./thread";
16
+ import type { SetThreadStateResponse } from "./thread";
17
+ import type { SetThreadStateRequest } from "./thread";
18
+ import type { GetThreadStateResponse } from "./thread";
19
+ import type { GetThreadStateRequest } from "./thread";
20
+ import type { DeleteThreadResponse } from "./thread";
21
+ import type { DeleteThreadRequest } from "./thread";
22
+ import type { CreateThreadResponse } from "./thread";
23
+ import type { CreateThreadRequest } from "./thread";
24
+ import type { GetThreadResponse } from "./thread";
25
+ import type { GetThreadRequest } from "./thread";
26
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
27
+ import type { ListThreadsResponse } from "./thread";
28
+ import type { ListThreadsRequest } from "./thread";
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.mailer.ThreadService
33
+ */
34
+ export interface IThreadServiceClient {
35
+ /**
36
+ * @generated from protobuf rpc: ListThreads
37
+ */
38
+ listThreads(input: ListThreadsRequest, options?: RpcOptions): UnaryCall<ListThreadsRequest, ListThreadsResponse>;
39
+ /**
40
+ * @generated from protobuf rpc: GetThread
41
+ */
42
+ getThread(input: GetThreadRequest, options?: RpcOptions): UnaryCall<GetThreadRequest, GetThreadResponse>;
43
+ /**
44
+ * @generated from protobuf rpc: CreateThread
45
+ */
46
+ createThread(input: CreateThreadRequest, options?: RpcOptions): UnaryCall<CreateThreadRequest, CreateThreadResponse>;
47
+ /**
48
+ * @generated from protobuf rpc: DeleteThread
49
+ */
50
+ deleteThread(input: DeleteThreadRequest, options?: RpcOptions): UnaryCall<DeleteThreadRequest, DeleteThreadResponse>;
51
+ /**
52
+ * @generated from protobuf rpc: GetThreadState
53
+ */
54
+ getThreadState(input: GetThreadStateRequest, options?: RpcOptions): UnaryCall<GetThreadStateRequest, GetThreadStateResponse>;
55
+ /**
56
+ * @generated from protobuf rpc: SetThreadState
57
+ */
58
+ setThreadState(input: SetThreadStateRequest, options?: RpcOptions): UnaryCall<SetThreadStateRequest, SetThreadStateResponse>;
59
+ /**
60
+ * @generated from protobuf rpc: SearchThreads
61
+ */
62
+ searchThreads(input: SearchThreadsRequest, options?: RpcOptions): UnaryCall<SearchThreadsRequest, SearchThreadsResponse>;
63
+ /**
64
+ * @generated from protobuf rpc: ListThreadMessages
65
+ */
66
+ listThreadMessages(input: ListThreadMessagesRequest, options?: RpcOptions): UnaryCall<ListThreadMessagesRequest, ListThreadMessagesResponse>;
67
+ /**
68
+ * @generated from protobuf rpc: PostMessage
69
+ */
70
+ postMessage(input: PostMessageRequest, options?: RpcOptions): UnaryCall<PostMessageRequest, PostMessageResponse>;
71
+ /**
72
+ * @generated from protobuf rpc: DeleteMessage
73
+ */
74
+ deleteMessage(input: DeleteMessageRequest, options?: RpcOptions): UnaryCall<DeleteMessageRequest, DeleteMessageResponse>;
75
+ }
76
+ /**
77
+ * @generated from protobuf service services.mailer.ThreadService
78
+ */
79
+ export class ThreadServiceClient implements IThreadServiceClient, ServiceInfo {
80
+ typeName = ThreadService.typeName;
81
+ methods = ThreadService.methods;
82
+ options = ThreadService.options;
83
+ constructor(private readonly _transport: RpcTransport) {
84
+ }
85
+ /**
86
+ * @generated from protobuf rpc: ListThreads
87
+ */
88
+ listThreads(input: ListThreadsRequest, options?: RpcOptions): UnaryCall<ListThreadsRequest, ListThreadsResponse> {
89
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
90
+ return stackIntercept<ListThreadsRequest, ListThreadsResponse>("unary", this._transport, method, opt, input);
91
+ }
92
+ /**
93
+ * @generated from protobuf rpc: GetThread
94
+ */
95
+ getThread(input: GetThreadRequest, options?: RpcOptions): UnaryCall<GetThreadRequest, GetThreadResponse> {
96
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
97
+ return stackIntercept<GetThreadRequest, GetThreadResponse>("unary", this._transport, method, opt, input);
98
+ }
99
+ /**
100
+ * @generated from protobuf rpc: CreateThread
101
+ */
102
+ createThread(input: CreateThreadRequest, options?: RpcOptions): UnaryCall<CreateThreadRequest, CreateThreadResponse> {
103
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
104
+ return stackIntercept<CreateThreadRequest, CreateThreadResponse>("unary", this._transport, method, opt, input);
105
+ }
106
+ /**
107
+ * @generated from protobuf rpc: DeleteThread
108
+ */
109
+ deleteThread(input: DeleteThreadRequest, options?: RpcOptions): UnaryCall<DeleteThreadRequest, DeleteThreadResponse> {
110
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
111
+ return stackIntercept<DeleteThreadRequest, DeleteThreadResponse>("unary", this._transport, method, opt, input);
112
+ }
113
+ /**
114
+ * @generated from protobuf rpc: GetThreadState
115
+ */
116
+ getThreadState(input: GetThreadStateRequest, options?: RpcOptions): UnaryCall<GetThreadStateRequest, GetThreadStateResponse> {
117
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
118
+ return stackIntercept<GetThreadStateRequest, GetThreadStateResponse>("unary", this._transport, method, opt, input);
119
+ }
120
+ /**
121
+ * @generated from protobuf rpc: SetThreadState
122
+ */
123
+ setThreadState(input: SetThreadStateRequest, options?: RpcOptions): UnaryCall<SetThreadStateRequest, SetThreadStateResponse> {
124
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
125
+ return stackIntercept<SetThreadStateRequest, SetThreadStateResponse>("unary", this._transport, method, opt, input);
126
+ }
127
+ /**
128
+ * @generated from protobuf rpc: SearchThreads
129
+ */
130
+ searchThreads(input: SearchThreadsRequest, options?: RpcOptions): UnaryCall<SearchThreadsRequest, SearchThreadsResponse> {
131
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
132
+ return stackIntercept<SearchThreadsRequest, SearchThreadsResponse>("unary", this._transport, method, opt, input);
133
+ }
134
+ /**
135
+ * @generated from protobuf rpc: ListThreadMessages
136
+ */
137
+ listThreadMessages(input: ListThreadMessagesRequest, options?: RpcOptions): UnaryCall<ListThreadMessagesRequest, ListThreadMessagesResponse> {
138
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
139
+ return stackIntercept<ListThreadMessagesRequest, ListThreadMessagesResponse>("unary", this._transport, method, opt, input);
140
+ }
141
+ /**
142
+ * @generated from protobuf rpc: PostMessage
143
+ */
144
+ postMessage(input: PostMessageRequest, options?: RpcOptions): UnaryCall<PostMessageRequest, PostMessageResponse> {
145
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
146
+ return stackIntercept<PostMessageRequest, PostMessageResponse>("unary", this._transport, method, opt, input);
147
+ }
148
+ /**
149
+ * @generated from protobuf rpc: DeleteMessage
150
+ */
151
+ deleteMessage(input: DeleteMessageRequest, options?: RpcOptions): UnaryCall<DeleteMessageRequest, DeleteMessageResponse> {
152
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
153
+ return stackIntercept<DeleteMessageRequest, DeleteMessageResponse>("unary", this._transport, method, opt, input);
154
+ }
155
+ }