@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,77 @@
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/qualifications/exam.proto" (package "services.qualifications", 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 { ExamService } from "./exam";
8
+ import type { GetUserExamResponse } from "./exam";
9
+ import type { GetUserExamRequest } from "./exam";
10
+ import type { SubmitExamResponse } from "./exam";
11
+ import type { SubmitExamRequest } from "./exam";
12
+ import type { TakeExamResponse } from "./exam";
13
+ import type { TakeExamRequest } from "./exam";
14
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
15
+ import type { GetExamInfoResponse } from "./exam";
16
+ import type { GetExamInfoRequest } from "./exam";
17
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
18
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
19
+ /**
20
+ * @generated from protobuf service services.qualifications.ExamService
21
+ */
22
+ export interface IExamServiceClient {
23
+ /**
24
+ * @generated from protobuf rpc: GetExamInfo
25
+ */
26
+ getExamInfo(input: GetExamInfoRequest, options?: RpcOptions): UnaryCall<GetExamInfoRequest, GetExamInfoResponse>;
27
+ /**
28
+ * @generated from protobuf rpc: TakeExam
29
+ */
30
+ takeExam(input: TakeExamRequest, options?: RpcOptions): UnaryCall<TakeExamRequest, TakeExamResponse>;
31
+ /**
32
+ * @generated from protobuf rpc: SubmitExam
33
+ */
34
+ submitExam(input: SubmitExamRequest, options?: RpcOptions): UnaryCall<SubmitExamRequest, SubmitExamResponse>;
35
+ /**
36
+ * @generated from protobuf rpc: GetUserExam
37
+ */
38
+ getUserExam(input: GetUserExamRequest, options?: RpcOptions): UnaryCall<GetUserExamRequest, GetUserExamResponse>;
39
+ }
40
+ /**
41
+ * @generated from protobuf service services.qualifications.ExamService
42
+ */
43
+ export class ExamServiceClient implements IExamServiceClient, ServiceInfo {
44
+ typeName = ExamService.typeName;
45
+ methods = ExamService.methods;
46
+ options = ExamService.options;
47
+ constructor(private readonly _transport: RpcTransport) {
48
+ }
49
+ /**
50
+ * @generated from protobuf rpc: GetExamInfo
51
+ */
52
+ getExamInfo(input: GetExamInfoRequest, options?: RpcOptions): UnaryCall<GetExamInfoRequest, GetExamInfoResponse> {
53
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
54
+ return stackIntercept<GetExamInfoRequest, GetExamInfoResponse>("unary", this._transport, method, opt, input);
55
+ }
56
+ /**
57
+ * @generated from protobuf rpc: TakeExam
58
+ */
59
+ takeExam(input: TakeExamRequest, options?: RpcOptions): UnaryCall<TakeExamRequest, TakeExamResponse> {
60
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
61
+ return stackIntercept<TakeExamRequest, TakeExamResponse>("unary", this._transport, method, opt, input);
62
+ }
63
+ /**
64
+ * @generated from protobuf rpc: SubmitExam
65
+ */
66
+ submitExam(input: SubmitExamRequest, options?: RpcOptions): UnaryCall<SubmitExamRequest, SubmitExamResponse> {
67
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
68
+ return stackIntercept<SubmitExamRequest, SubmitExamResponse>("unary", this._transport, method, opt, input);
69
+ }
70
+ /**
71
+ * @generated from protobuf rpc: GetUserExam
72
+ */
73
+ getUserExam(input: GetUserExamRequest, options?: RpcOptions): UnaryCall<GetUserExamRequest, GetUserExamResponse> {
74
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
75
+ return stackIntercept<GetUserExamRequest, GetUserExamResponse>("unary", this._transport, method, opt, input);
76
+ }
77
+ }