@fivenet-app/gen 2026.4.0 → 2026.5.1

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 (60) hide show
  1. package/clients.ts +60 -0
  2. package/codegen/perms/perms.ts +64 -31
  3. package/package.json +1 -1
  4. package/perms.ts +57 -41
  5. package/resources/accounts/accounts.ts +41 -30
  6. package/resources/audit/audit.ts +5 -1
  7. package/resources/citizens/labels/access.ts +216 -0
  8. package/resources/citizens/labels/labels.ts +8 -214
  9. package/resources/jobs/colleagues/activity/activity.ts +1 -1
  10. package/resources/laws/laws.ts +72 -50
  11. package/resources/permissions/attributes/attributes.ts +51 -39
  12. package/resources/permissions/permissions/permissions.ts +46 -34
  13. package/resources/sync/data/data.ts +9 -9
  14. package/resources/users/activity/activity.ts +69 -76
  15. package/services/auth/auth.ts +1 -1
  16. package/services/calendar/calendar.client.ts +2 -106
  17. package/services/calendar/calendar.ts +0 -1018
  18. package/services/calendar/entries.client.ts +129 -0
  19. package/services/calendar/entries.ts +1040 -0
  20. package/services/centrum/centrum.client.ts +23 -244
  21. package/services/centrum/centrum.ts +246 -2383
  22. package/services/centrum/dispatches.client.ts +155 -0
  23. package/services/centrum/dispatches.ts +1305 -0
  24. package/services/centrum/units.client.ts +116 -0
  25. package/services/centrum/units.ts +876 -0
  26. package/services/citizens/labels.client.ts +26 -0
  27. package/services/citizens/labels.ts +283 -4
  28. package/services/completor/completor.client.ts +0 -13
  29. package/services/completor/completor.ts +2 -116
  30. package/services/documents/approval.ts +5 -5
  31. package/services/documents/categories.client.ts +64 -0
  32. package/services/documents/categories.ts +331 -0
  33. package/services/documents/collab.ts +1 -1
  34. package/services/documents/comments.client.ts +77 -0
  35. package/services/documents/comments.ts +479 -0
  36. package/services/documents/documents.client.ts +26 -182
  37. package/services/documents/documents.ts +335 -1682
  38. package/services/documents/templates.client.ts +90 -0
  39. package/services/documents/templates.ts +591 -0
  40. package/services/jobs/colleagues.client.ts +129 -0
  41. package/services/jobs/colleagues.ts +1129 -0
  42. package/services/jobs/jobs.client.ts +3 -107
  43. package/services/jobs/jobs.ts +1 -1113
  44. package/services/mailer/mailer.client.ts +0 -208
  45. package/services/mailer/mailer.ts +1 -2010
  46. package/services/mailer/settings.client.ts +103 -0
  47. package/services/mailer/settings.ts +708 -0
  48. package/services/mailer/thread.client.ts +155 -0
  49. package/services/mailer/thread.ts +1343 -0
  50. package/services/qualifications/exam.client.ts +77 -0
  51. package/services/qualifications/exam.ts +609 -0
  52. package/services/qualifications/qualifications.client.ts +1 -53
  53. package/services/qualifications/qualifications.ts +0 -591
  54. package/services/settings/accounts.ts +14 -1
  55. package/services/settings/laws.client.ts +18 -5
  56. package/services/settings/laws.ts +128 -3
  57. package/services/sync/sync.client.ts +4 -4
  58. package/services/sync/sync.ts +23 -0
  59. package/services/wiki/collab.ts +1 -1
  60. package/svcs.ts +156 -68
@@ -8,14 +8,6 @@ import { QualificationsService } from "./qualifications";
8
8
  import type { UploadFileResponse } from "../../resources/file/filestore";
9
9
  import type { UploadFileRequest } from "../../resources/file/filestore";
10
10
  import type { ClientStreamingCall } from "@protobuf-ts/runtime-rpc";
11
- import type { GetUserExamResponse } from "./qualifications";
12
- import type { GetUserExamRequest } from "./qualifications";
13
- import type { SubmitExamResponse } from "./qualifications";
14
- import type { SubmitExamRequest } from "./qualifications";
15
- import type { TakeExamResponse } from "./qualifications";
16
- import type { TakeExamRequest } from "./qualifications";
17
- import type { GetExamInfoResponse } from "./qualifications";
18
- import type { GetExamInfoRequest } from "./qualifications";
19
11
  import type { DeleteQualificationResultResponse } from "./qualifications";
20
12
  import type { DeleteQualificationResultRequest } from "./qualifications";
21
13
  import type { CreateOrUpdateQualificationResultResponse } from "./qualifications";
@@ -89,22 +81,6 @@ export interface IQualificationsServiceClient {
89
81
  * @generated from protobuf rpc: DeleteQualificationResult
90
82
  */
91
83
  deleteQualificationResult(input: DeleteQualificationResultRequest, options?: RpcOptions): UnaryCall<DeleteQualificationResultRequest, DeleteQualificationResultResponse>;
92
- /**
93
- * @generated from protobuf rpc: GetExamInfo
94
- */
95
- getExamInfo(input: GetExamInfoRequest, options?: RpcOptions): UnaryCall<GetExamInfoRequest, GetExamInfoResponse>;
96
- /**
97
- * @generated from protobuf rpc: TakeExam
98
- */
99
- takeExam(input: TakeExamRequest, options?: RpcOptions): UnaryCall<TakeExamRequest, TakeExamResponse>;
100
- /**
101
- * @generated from protobuf rpc: SubmitExam
102
- */
103
- submitExam(input: SubmitExamRequest, options?: RpcOptions): UnaryCall<SubmitExamRequest, SubmitExamResponse>;
104
- /**
105
- * @generated from protobuf rpc: GetUserExam
106
- */
107
- getUserExam(input: GetUserExamRequest, options?: RpcOptions): UnaryCall<GetUserExamRequest, GetUserExamResponse>;
108
84
  /**
109
85
  * @generated from protobuf rpc: UploadFile
110
86
  */
@@ -196,39 +172,11 @@ export class QualificationsServiceClient implements IQualificationsServiceClient
196
172
  const method = this.methods[10], opt = this._transport.mergeOptions(options);
197
173
  return stackIntercept<DeleteQualificationResultRequest, DeleteQualificationResultResponse>("unary", this._transport, method, opt, input);
198
174
  }
199
- /**
200
- * @generated from protobuf rpc: GetExamInfo
201
- */
202
- getExamInfo(input: GetExamInfoRequest, options?: RpcOptions): UnaryCall<GetExamInfoRequest, GetExamInfoResponse> {
203
- const method = this.methods[11], opt = this._transport.mergeOptions(options);
204
- return stackIntercept<GetExamInfoRequest, GetExamInfoResponse>("unary", this._transport, method, opt, input);
205
- }
206
- /**
207
- * @generated from protobuf rpc: TakeExam
208
- */
209
- takeExam(input: TakeExamRequest, options?: RpcOptions): UnaryCall<TakeExamRequest, TakeExamResponse> {
210
- const method = this.methods[12], opt = this._transport.mergeOptions(options);
211
- return stackIntercept<TakeExamRequest, TakeExamResponse>("unary", this._transport, method, opt, input);
212
- }
213
- /**
214
- * @generated from protobuf rpc: SubmitExam
215
- */
216
- submitExam(input: SubmitExamRequest, options?: RpcOptions): UnaryCall<SubmitExamRequest, SubmitExamResponse> {
217
- const method = this.methods[13], opt = this._transport.mergeOptions(options);
218
- return stackIntercept<SubmitExamRequest, SubmitExamResponse>("unary", this._transport, method, opt, input);
219
- }
220
- /**
221
- * @generated from protobuf rpc: GetUserExam
222
- */
223
- getUserExam(input: GetUserExamRequest, options?: RpcOptions): UnaryCall<GetUserExamRequest, GetUserExamResponse> {
224
- const method = this.methods[14], opt = this._transport.mergeOptions(options);
225
- return stackIntercept<GetUserExamRequest, GetUserExamResponse>("unary", this._transport, method, opt, input);
226
- }
227
175
  /**
228
176
  * @generated from protobuf rpc: UploadFile
229
177
  */
230
178
  uploadFile(options?: RpcOptions): ClientStreamingCall<UploadFileRequest, UploadFileResponse> {
231
- const method = this.methods[15], opt = this._transport.mergeOptions(options);
179
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
232
180
  return stackIntercept<UploadFileRequest, UploadFileResponse>("clientStreaming", this._transport, method, opt);
233
181
  }
234
182
  }