@fivenet-app/gen 2026.8.0 → 2026.10.2

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 (83) hide show
  1. package/LICENSE +201 -0
  2. package/clients.ts +12 -0
  3. package/codegen/perms/perms.ts +331 -2
  4. package/google/protobuf/any.ts +47 -103
  5. package/google/protobuf/descriptor.ts +28 -29
  6. package/google/protobuf/struct.ts +33 -22
  7. package/google/protobuf/timestamp.ts +3 -3
  8. package/package.json +2 -2
  9. package/perms.ts +58 -17
  10. package/resources/calendar/calendar.ts +11 -0
  11. package/resources/calendar/entries/entries.ts +23 -0
  12. package/resources/centrum/dispatches/dispatches.ts +214 -21
  13. package/resources/centrum/units/units.ts +212 -5
  14. package/resources/citizens/labels/access.ts +10 -6
  15. package/resources/cron/cron.ts +44 -3
  16. package/resources/dbsync/state.ts +192 -0
  17. package/resources/documents/stamps/access.ts +25 -0
  18. package/resources/documents/stamps/stamp.ts +0 -21
  19. package/resources/documents/templates/templates.ts +63 -61
  20. package/resources/documents/workflow/workflow.ts +61 -1
  21. package/resources/file/file.ts +3 -3
  22. package/resources/file/filestore.ts +26 -10
  23. package/resources/jobs/colleagues/activity/activity.ts +50 -8
  24. package/resources/jobs/colleagues/colleagues.ts +14 -1
  25. package/resources/jobs/groups/access/access.ts +29 -0
  26. package/resources/jobs/groups/activity.ts +332 -0
  27. package/resources/jobs/groups/group.ts +1666 -0
  28. package/resources/jobs/groups/short/group_member_short.ts +129 -0
  29. package/resources/jobs/job_asset.ts +116 -0
  30. package/resources/jobs/user_selector.ts +170 -0
  31. package/resources/notifications/clientview/clientview.ts +5 -1
  32. package/resources/notifications/events/events.ts +35 -1
  33. package/resources/notifications/notifications.ts +322 -2
  34. package/resources/permissions/attributes/attributes.ts +164 -2
  35. package/resources/permissions/authorization/authorization.ts +86 -0
  36. package/resources/permissions/permissions/permissions.ts +16 -1
  37. package/resources/properties/properties.ts +1648 -0
  38. package/resources/qualifications/activity/activity.ts +328 -0
  39. package/resources/qualifications/exam/exam.ts +108 -4
  40. package/resources/qualifications/qualifications.ts +36 -2
  41. package/resources/settings/config.ts +3 -3
  42. package/resources/settings/status.ts +197 -105
  43. package/resources/sync/activity/activity.ts +4 -4
  44. package/resources/sync/data/data.ts +16 -4
  45. package/resources/users/activity/activity.ts +220 -3
  46. package/resources/users/props/props.ts +13 -1
  47. package/resources/users/user.ts +13 -1
  48. package/resources/vehicles/activity/activity.ts +222 -3
  49. package/resources/vehicles/props/props.ts +13 -1
  50. package/resources/vehicles/vehicles.ts +13 -1
  51. package/services/auth/auth.ts +61 -67
  52. package/services/calendar/calendar.ts +1 -1
  53. package/services/calendar/entries.ts +3 -3
  54. package/services/centrum/centrum.ts +103 -1
  55. package/services/centrum/dispatches.ts +25 -1
  56. package/services/centrum/units.ts +28 -4
  57. package/services/citizens/citizens.client.ts +49 -0
  58. package/services/citizens/citizens.ts +384 -7
  59. package/services/completor/completor.ts +2 -2
  60. package/services/documents/approval.ts +2 -2
  61. package/services/documents/documents.ts +10 -9
  62. package/services/documents/templates.ts +24 -13
  63. package/services/jobs/colleagues.client.ts +34 -8
  64. package/services/jobs/colleagues.ts +289 -75
  65. package/services/jobs/conduct.ts +12 -19
  66. package/services/jobs/groups.client.ts +311 -0
  67. package/services/jobs/groups.ts +3654 -1
  68. package/services/jobs/timeclock.ts +30 -27
  69. package/services/notifications/notifications.client.ts +40 -1
  70. package/services/notifications/notifications.ts +483 -3
  71. package/services/qualifications/qualifications.client.ts +20 -7
  72. package/services/qualifications/qualifications.ts +291 -8
  73. package/services/settings/job_assets.client.ts +105 -0
  74. package/services/settings/job_assets.ts +373 -0
  75. package/services/settings/properties.client.ts +194 -0
  76. package/services/settings/properties.ts +1555 -0
  77. package/services/settings/settings.ts +1 -1
  78. package/services/settings/system.ts +29 -9
  79. package/services/sync/sync.client.ts +69 -33
  80. package/services/sync/sync.ts +557 -18
  81. package/services/vehicles/vehicles.client.ts +52 -0
  82. package/services/vehicles/vehicles.ts +386 -8
  83. package/svcs.ts +87 -1
@@ -0,0 +1,194 @@
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/settings/properties.proto" (package "services.settings", 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 { PropertyService } from "./properties";
8
+ import type { SetSystemPropertyEnabledResponse } from "./properties";
9
+ import type { SetSystemPropertyEnabledRequest } from "./properties";
10
+ import type { RestorePropertyDefinitionResponse } from "./properties";
11
+ import type { RestorePropertyDefinitionRequest } from "./properties";
12
+ import type { DeletePropertyDefinitionResponse } from "./properties";
13
+ import type { DeletePropertyDefinitionRequest } from "./properties";
14
+ import type { UpdatePropertyDefinitionResponse } from "./properties";
15
+ import type { UpdatePropertyDefinitionRequest } from "./properties";
16
+ import type { CreatePropertyDefinitionResponse } from "./properties";
17
+ import type { CreatePropertyDefinitionRequest } from "./properties";
18
+ import type { ReorderPropertyDefinitionsResponse } from "./properties";
19
+ import type { ReorderPropertyDefinitionsRequest } from "./properties";
20
+ import type { RestorePropertyGroupResponse } from "./properties";
21
+ import type { RestorePropertyGroupRequest } from "./properties";
22
+ import type { DeletePropertyGroupResponse } from "./properties";
23
+ import type { DeletePropertyGroupRequest } from "./properties";
24
+ import type { UpdatePropertyGroupResponse } from "./properties";
25
+ import type { UpdatePropertyGroupRequest } from "./properties";
26
+ import type { CreatePropertyGroupResponse } from "./properties";
27
+ import type { CreatePropertyGroupRequest } from "./properties";
28
+ import type { ReorderPropertyGroupsResponse } from "./properties";
29
+ import type { ReorderPropertyGroupsRequest } from "./properties";
30
+ import type { ListPropertyDefinitionsResponse } from "./properties";
31
+ import type { ListPropertyDefinitionsRequest } from "./properties";
32
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
33
+ import type { ListPropertyScopesResponse } from "./properties";
34
+ import type { ListPropertyScopesRequest } from "./properties";
35
+ import type { UnaryCall } from "@protobuf-ts/runtime-rpc";
36
+ import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
37
+ /**
38
+ * @generated from protobuf service services.settings.PropertyService
39
+ */
40
+ export interface IPropertyServiceClient {
41
+ /**
42
+ * @generated from protobuf rpc: ListPropertyScopes
43
+ */
44
+ listPropertyScopes(input: ListPropertyScopesRequest, options?: RpcOptions): UnaryCall<ListPropertyScopesRequest, ListPropertyScopesResponse>;
45
+ /**
46
+ * @generated from protobuf rpc: ListPropertyDefinitions
47
+ */
48
+ listPropertyDefinitions(input: ListPropertyDefinitionsRequest, options?: RpcOptions): UnaryCall<ListPropertyDefinitionsRequest, ListPropertyDefinitionsResponse>;
49
+ /**
50
+ * @generated from protobuf rpc: ReorderPropertyGroups
51
+ */
52
+ reorderPropertyGroups(input: ReorderPropertyGroupsRequest, options?: RpcOptions): UnaryCall<ReorderPropertyGroupsRequest, ReorderPropertyGroupsResponse>;
53
+ /**
54
+ * @generated from protobuf rpc: CreatePropertyGroup
55
+ */
56
+ createPropertyGroup(input: CreatePropertyGroupRequest, options?: RpcOptions): UnaryCall<CreatePropertyGroupRequest, CreatePropertyGroupResponse>;
57
+ /**
58
+ * @generated from protobuf rpc: UpdatePropertyGroup
59
+ */
60
+ updatePropertyGroup(input: UpdatePropertyGroupRequest, options?: RpcOptions): UnaryCall<UpdatePropertyGroupRequest, UpdatePropertyGroupResponse>;
61
+ /**
62
+ * @generated from protobuf rpc: DeletePropertyGroup
63
+ */
64
+ deletePropertyGroup(input: DeletePropertyGroupRequest, options?: RpcOptions): UnaryCall<DeletePropertyGroupRequest, DeletePropertyGroupResponse>;
65
+ /**
66
+ * @generated from protobuf rpc: RestorePropertyGroup
67
+ */
68
+ restorePropertyGroup(input: RestorePropertyGroupRequest, options?: RpcOptions): UnaryCall<RestorePropertyGroupRequest, RestorePropertyGroupResponse>;
69
+ /**
70
+ * @generated from protobuf rpc: ReorderPropertyDefinitions
71
+ */
72
+ reorderPropertyDefinitions(input: ReorderPropertyDefinitionsRequest, options?: RpcOptions): UnaryCall<ReorderPropertyDefinitionsRequest, ReorderPropertyDefinitionsResponse>;
73
+ /**
74
+ * @generated from protobuf rpc: CreatePropertyDefinition
75
+ */
76
+ createPropertyDefinition(input: CreatePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<CreatePropertyDefinitionRequest, CreatePropertyDefinitionResponse>;
77
+ /**
78
+ * @generated from protobuf rpc: UpdatePropertyDefinition
79
+ */
80
+ updatePropertyDefinition(input: UpdatePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<UpdatePropertyDefinitionRequest, UpdatePropertyDefinitionResponse>;
81
+ /**
82
+ * @generated from protobuf rpc: DeletePropertyDefinition
83
+ */
84
+ deletePropertyDefinition(input: DeletePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<DeletePropertyDefinitionRequest, DeletePropertyDefinitionResponse>;
85
+ /**
86
+ * @generated from protobuf rpc: RestorePropertyDefinition
87
+ */
88
+ restorePropertyDefinition(input: RestorePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<RestorePropertyDefinitionRequest, RestorePropertyDefinitionResponse>;
89
+ /**
90
+ * @generated from protobuf rpc: SetSystemPropertyEnabled
91
+ */
92
+ setSystemPropertyEnabled(input: SetSystemPropertyEnabledRequest, options?: RpcOptions): UnaryCall<SetSystemPropertyEnabledRequest, SetSystemPropertyEnabledResponse>;
93
+ }
94
+ /**
95
+ * @generated from protobuf service services.settings.PropertyService
96
+ */
97
+ export class PropertyServiceClient implements IPropertyServiceClient, ServiceInfo {
98
+ typeName = PropertyService.typeName;
99
+ methods = PropertyService.methods;
100
+ options = PropertyService.options;
101
+ constructor(private readonly _transport: RpcTransport) {
102
+ }
103
+ /**
104
+ * @generated from protobuf rpc: ListPropertyScopes
105
+ */
106
+ listPropertyScopes(input: ListPropertyScopesRequest, options?: RpcOptions): UnaryCall<ListPropertyScopesRequest, ListPropertyScopesResponse> {
107
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
108
+ return stackIntercept<ListPropertyScopesRequest, ListPropertyScopesResponse>("unary", this._transport, method, opt, input);
109
+ }
110
+ /**
111
+ * @generated from protobuf rpc: ListPropertyDefinitions
112
+ */
113
+ listPropertyDefinitions(input: ListPropertyDefinitionsRequest, options?: RpcOptions): UnaryCall<ListPropertyDefinitionsRequest, ListPropertyDefinitionsResponse> {
114
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
115
+ return stackIntercept<ListPropertyDefinitionsRequest, ListPropertyDefinitionsResponse>("unary", this._transport, method, opt, input);
116
+ }
117
+ /**
118
+ * @generated from protobuf rpc: ReorderPropertyGroups
119
+ */
120
+ reorderPropertyGroups(input: ReorderPropertyGroupsRequest, options?: RpcOptions): UnaryCall<ReorderPropertyGroupsRequest, ReorderPropertyGroupsResponse> {
121
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
122
+ return stackIntercept<ReorderPropertyGroupsRequest, ReorderPropertyGroupsResponse>("unary", this._transport, method, opt, input);
123
+ }
124
+ /**
125
+ * @generated from protobuf rpc: CreatePropertyGroup
126
+ */
127
+ createPropertyGroup(input: CreatePropertyGroupRequest, options?: RpcOptions): UnaryCall<CreatePropertyGroupRequest, CreatePropertyGroupResponse> {
128
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
129
+ return stackIntercept<CreatePropertyGroupRequest, CreatePropertyGroupResponse>("unary", this._transport, method, opt, input);
130
+ }
131
+ /**
132
+ * @generated from protobuf rpc: UpdatePropertyGroup
133
+ */
134
+ updatePropertyGroup(input: UpdatePropertyGroupRequest, options?: RpcOptions): UnaryCall<UpdatePropertyGroupRequest, UpdatePropertyGroupResponse> {
135
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
136
+ return stackIntercept<UpdatePropertyGroupRequest, UpdatePropertyGroupResponse>("unary", this._transport, method, opt, input);
137
+ }
138
+ /**
139
+ * @generated from protobuf rpc: DeletePropertyGroup
140
+ */
141
+ deletePropertyGroup(input: DeletePropertyGroupRequest, options?: RpcOptions): UnaryCall<DeletePropertyGroupRequest, DeletePropertyGroupResponse> {
142
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
143
+ return stackIntercept<DeletePropertyGroupRequest, DeletePropertyGroupResponse>("unary", this._transport, method, opt, input);
144
+ }
145
+ /**
146
+ * @generated from protobuf rpc: RestorePropertyGroup
147
+ */
148
+ restorePropertyGroup(input: RestorePropertyGroupRequest, options?: RpcOptions): UnaryCall<RestorePropertyGroupRequest, RestorePropertyGroupResponse> {
149
+ const method = this.methods[6], opt = this._transport.mergeOptions(options);
150
+ return stackIntercept<RestorePropertyGroupRequest, RestorePropertyGroupResponse>("unary", this._transport, method, opt, input);
151
+ }
152
+ /**
153
+ * @generated from protobuf rpc: ReorderPropertyDefinitions
154
+ */
155
+ reorderPropertyDefinitions(input: ReorderPropertyDefinitionsRequest, options?: RpcOptions): UnaryCall<ReorderPropertyDefinitionsRequest, ReorderPropertyDefinitionsResponse> {
156
+ const method = this.methods[7], opt = this._transport.mergeOptions(options);
157
+ return stackIntercept<ReorderPropertyDefinitionsRequest, ReorderPropertyDefinitionsResponse>("unary", this._transport, method, opt, input);
158
+ }
159
+ /**
160
+ * @generated from protobuf rpc: CreatePropertyDefinition
161
+ */
162
+ createPropertyDefinition(input: CreatePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<CreatePropertyDefinitionRequest, CreatePropertyDefinitionResponse> {
163
+ const method = this.methods[8], opt = this._transport.mergeOptions(options);
164
+ return stackIntercept<CreatePropertyDefinitionRequest, CreatePropertyDefinitionResponse>("unary", this._transport, method, opt, input);
165
+ }
166
+ /**
167
+ * @generated from protobuf rpc: UpdatePropertyDefinition
168
+ */
169
+ updatePropertyDefinition(input: UpdatePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<UpdatePropertyDefinitionRequest, UpdatePropertyDefinitionResponse> {
170
+ const method = this.methods[9], opt = this._transport.mergeOptions(options);
171
+ return stackIntercept<UpdatePropertyDefinitionRequest, UpdatePropertyDefinitionResponse>("unary", this._transport, method, opt, input);
172
+ }
173
+ /**
174
+ * @generated from protobuf rpc: DeletePropertyDefinition
175
+ */
176
+ deletePropertyDefinition(input: DeletePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<DeletePropertyDefinitionRequest, DeletePropertyDefinitionResponse> {
177
+ const method = this.methods[10], opt = this._transport.mergeOptions(options);
178
+ return stackIntercept<DeletePropertyDefinitionRequest, DeletePropertyDefinitionResponse>("unary", this._transport, method, opt, input);
179
+ }
180
+ /**
181
+ * @generated from protobuf rpc: RestorePropertyDefinition
182
+ */
183
+ restorePropertyDefinition(input: RestorePropertyDefinitionRequest, options?: RpcOptions): UnaryCall<RestorePropertyDefinitionRequest, RestorePropertyDefinitionResponse> {
184
+ const method = this.methods[11], opt = this._transport.mergeOptions(options);
185
+ return stackIntercept<RestorePropertyDefinitionRequest, RestorePropertyDefinitionResponse>("unary", this._transport, method, opt, input);
186
+ }
187
+ /**
188
+ * @generated from protobuf rpc: SetSystemPropertyEnabled
189
+ */
190
+ setSystemPropertyEnabled(input: SetSystemPropertyEnabledRequest, options?: RpcOptions): UnaryCall<SetSystemPropertyEnabledRequest, SetSystemPropertyEnabledResponse> {
191
+ const method = this.methods[12], opt = this._transport.mergeOptions(options);
192
+ return stackIntercept<SetSystemPropertyEnabledRequest, SetSystemPropertyEnabledResponse>("unary", this._transport, method, opt, input);
193
+ }
194
+ }