@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,129 @@
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/calendar/entries.proto" (package "services.calendar", 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 { EntriesService } from "./entries";
8
+ import type { RSVPCalendarEntryResponse } from "./entries";
9
+ import type { RSVPCalendarEntryRequest } from "./entries";
10
+ import type { ListCalendarEntryRSVPResponse } from "./entries";
11
+ import type { ListCalendarEntryRSVPRequest } from "./entries";
12
+ import type { ShareCalendarEntryResponse } from "./entries";
13
+ import type { ShareCalendarEntryRequest } from "./entries";
14
+ import type { DeleteCalendarEntryResponse } from "./entries";
15
+ import type { DeleteCalendarEntryRequest } from "./entries";
16
+ import type { CreateOrUpdateCalendarEntryResponse } from "./entries";
17
+ import type { CreateOrUpdateCalendarEntryRequest } from "./entries";
18
+ import type { GetCalendarEntryResponse } from "./entries";
19
+ import type { GetCalendarEntryRequest } from "./entries";
20
+ import type { GetUpcomingEntriesResponse } from "./entries";
21
+ import type { GetUpcomingEntriesRequest } from "./entries";
22
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
23
+ import type { ListCalendarEntriesResponse } from "./entries";
24
+ import type { ListCalendarEntriesRequest } from "./entries";
25
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
26
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
27
+ /**
28
+ * @generated from protobuf service services.calendar.EntriesService
29
+ */
30
+ export interface IEntriesServiceClient {
31
+ /**
32
+ * @generated from protobuf rpc: ListCalendarEntries
33
+ */
34
+ listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse>;
35
+ /**
36
+ * @generated from protobuf rpc: GetUpcomingEntries
37
+ */
38
+ getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>;
39
+ /**
40
+ * @generated from protobuf rpc: GetCalendarEntry
41
+ */
42
+ getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse>;
43
+ /**
44
+ * @generated from protobuf rpc: CreateOrUpdateCalendarEntry
45
+ */
46
+ createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>;
47
+ /**
48
+ * @generated from protobuf rpc: DeleteCalendarEntry
49
+ */
50
+ deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>;
51
+ /**
52
+ * @generated from protobuf rpc: ShareCalendarEntry
53
+ */
54
+ shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse>;
55
+ /**
56
+ * @generated from protobuf rpc: ListCalendarEntryRSVP
57
+ */
58
+ listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>;
59
+ /**
60
+ * @generated from protobuf rpc: RSVPCalendarEntry
61
+ */
62
+ rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>;
63
+ }
64
+ /**
65
+ * @generated from protobuf service services.calendar.EntriesService
66
+ */
67
+ export class EntriesServiceClient implements IEntriesServiceClient, ServiceInfo {
68
+ typeName = EntriesService.typeName;
69
+ methods = EntriesService.methods;
70
+ options = EntriesService.options;
71
+ constructor(private readonly _transport: RpcTransport) {
72
+ }
73
+ /**
74
+ * @generated from protobuf rpc: ListCalendarEntries
75
+ */
76
+ listCalendarEntries(input: ListCalendarEntriesRequest, options?: RpcOptions): UnaryCall<ListCalendarEntriesRequest, ListCalendarEntriesResponse> {
77
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
78
+ return stackIntercept<ListCalendarEntriesRequest, ListCalendarEntriesResponse>("unary", this._transport, method, opt, input);
79
+ }
80
+ /**
81
+ * @generated from protobuf rpc: GetUpcomingEntries
82
+ */
83
+ getUpcomingEntries(input: GetUpcomingEntriesRequest, options?: RpcOptions): UnaryCall<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse> {
84
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
85
+ return stackIntercept<GetUpcomingEntriesRequest, GetUpcomingEntriesResponse>("unary", this._transport, method, opt, input);
86
+ }
87
+ /**
88
+ * @generated from protobuf rpc: GetCalendarEntry
89
+ */
90
+ getCalendarEntry(input: GetCalendarEntryRequest, options?: RpcOptions): UnaryCall<GetCalendarEntryRequest, GetCalendarEntryResponse> {
91
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
92
+ return stackIntercept<GetCalendarEntryRequest, GetCalendarEntryResponse>("unary", this._transport, method, opt, input);
93
+ }
94
+ /**
95
+ * @generated from protobuf rpc: CreateOrUpdateCalendarEntry
96
+ */
97
+ createOrUpdateCalendarEntry(input: CreateOrUpdateCalendarEntryRequest, options?: RpcOptions): UnaryCall<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse> {
98
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
99
+ return stackIntercept<CreateOrUpdateCalendarEntryRequest, CreateOrUpdateCalendarEntryResponse>("unary", this._transport, method, opt, input);
100
+ }
101
+ /**
102
+ * @generated from protobuf rpc: DeleteCalendarEntry
103
+ */
104
+ deleteCalendarEntry(input: DeleteCalendarEntryRequest, options?: RpcOptions): UnaryCall<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse> {
105
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
106
+ return stackIntercept<DeleteCalendarEntryRequest, DeleteCalendarEntryResponse>("unary", this._transport, method, opt, input);
107
+ }
108
+ /**
109
+ * @generated from protobuf rpc: ShareCalendarEntry
110
+ */
111
+ shareCalendarEntry(input: ShareCalendarEntryRequest, options?: RpcOptions): UnaryCall<ShareCalendarEntryRequest, ShareCalendarEntryResponse> {
112
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
113
+ return stackIntercept<ShareCalendarEntryRequest, ShareCalendarEntryResponse>("unary", this._transport, method, opt, input);
114
+ }
115
+ /**
116
+ * @generated from protobuf rpc: ListCalendarEntryRSVP
117
+ */
118
+ listCalendarEntryRSVP(input: ListCalendarEntryRSVPRequest, options?: RpcOptions): UnaryCall<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse> {
119
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
120
+ return stackIntercept<ListCalendarEntryRSVPRequest, ListCalendarEntryRSVPResponse>("unary", this._transport, method, opt, input);
121
+ }
122
+ /**
123
+ * @generated from protobuf rpc: RSVPCalendarEntry
124
+ */
125
+ rSVPCalendarEntry(input: RSVPCalendarEntryRequest, options?: RpcOptions): UnaryCall<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse> {
126
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
127
+ return stackIntercept<RSVPCalendarEntryRequest, RSVPCalendarEntryResponse>("unary", this._transport, method, opt, input);
128
+ }
129
+ }