@fivenet-app/gen 2025.9.1 → 2026.4.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.
- package/README.md +1 -1
- package/clients.ts +36 -0
- package/codegen/perms/perms.ts +186 -15
- package/codegen/sanitizer/sanitizer.ts +34 -1
- package/package.json +2 -2
- package/perms.ts +140 -8
- package/resources/accounts/accounts.ts +98 -31
- package/resources/accounts/{oauth2.ts → oauth2/oauth2.ts} +20 -20
- package/resources/audit/audit.ts +156 -38
- package/resources/calendar/{access.ts → access/access.ts} +30 -30
- package/resources/calendar/calendar.ts +17 -477
- package/resources/calendar/entries/entries.ts +474 -0
- package/resources/centrum/{access.ts → access/access.ts} +22 -22
- package/resources/centrum/{dispatchers.ts → dispatchers/dispatchers.ts} +14 -14
- package/resources/centrum/{dispatches.ts → dispatches/dispatches.ts} +151 -185
- package/resources/centrum/joblist.ts +136 -0
- package/resources/centrum/{settings.ts → settings/settings.ts} +70 -70
- package/resources/centrum/{units_access.ts → units/access/access.ts} +30 -30
- package/resources/centrum/{units.ts → units/units.ts} +131 -51
- package/resources/citizens/labels/labels.ts +526 -0
- package/resources/{users → citizens/licenses}/licenses.ts +17 -17
- package/resources/clientconfig/clientconfig.ts +126 -258
- package/resources/collab/collab.ts +4 -16
- package/resources/common/content/content.ts +108 -85
- package/resources/common/content/diff_activity.ts +267 -0
- package/resources/common/i18n.ts +2 -2
- package/resources/{common/cron → cron}/cron.ts +43 -43
- package/resources/documents/{access.ts → access/access.ts} +29 -52
- package/resources/documents/{activity.ts → activity/activity.ts} +171 -123
- package/resources/documents/approval/approval.ts +945 -0
- package/resources/documents/{category.ts → category/category.ts} +7 -7
- package/resources/documents/{comment.ts → comment/comment.ts} +10 -10
- package/resources/documents/data/data.ts +303 -0
- package/resources/documents/documents.ts +282 -667
- package/resources/{common/uuid.ts → documents/forms/forms.ts} +20 -20
- package/resources/documents/{pins.ts → pins/pins.ts} +5 -5
- package/resources/documents/references/references.ts +187 -0
- package/resources/documents/relations/relations.ts +184 -0
- package/resources/documents/{requests.ts → requests/requests.ts} +18 -18
- package/resources/documents/stamps/stamp.ts +355 -0
- package/resources/documents/{templates.ts → templates/templates.ts} +426 -84
- package/resources/documents/{workflow.ts → workflow/workflow.ts} +264 -26
- package/resources/file/filestore.ts +1 -1
- package/resources/{common/grpcws → grpcws}/grpcws.ts +52 -52
- package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +54 -54
- package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +17 -28
- package/resources/jobs/{conduct.ts → conduct/conduct.ts} +70 -45
- package/resources/jobs/{labels.ts → labels/labels.ts} +34 -23
- package/resources/jobs/{job_props.ts → props/props.ts} +26 -38
- package/resources/jobs/{job_settings.ts → settings/settings.ts} +53 -53
- package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +17 -17
- package/resources/livemap/{heatmap.ts → heatmap/heatmap.ts} +4 -4
- package/resources/livemap/{marker_marker.ts → markers/marker_marker.ts} +35 -35
- package/resources/livemap/{user_marker.ts → markers/user_marker.ts} +115 -36
- package/resources/mailer/{access.ts → access/access.ts} +67 -67
- package/resources/mailer/{email.ts → emails/email.ts} +19 -19
- package/resources/mailer/{events.ts → events/events.ts} +24 -24
- package/resources/mailer/{message.ts → messages/message.ts} +29 -29
- package/resources/mailer/{settings.ts → settings/settings.ts} +14 -13
- package/resources/mailer/{template.ts → templates/template.ts} +15 -15
- package/resources/mailer/{thread.ts → threads/thread.ts} +29 -29
- package/resources/notifications/{client_view.ts → clientview/clientview.ts} +22 -22
- package/resources/notifications/{events.ts → events/events.ts} +20 -20
- package/resources/notifications/notifications.ts +4 -4
- package/resources/permissions/{attributes.ts → attributes/attributes.ts} +42 -42
- package/resources/permissions/{events.ts → events/events.ts} +7 -7
- package/resources/permissions/{permissions.ts → permissions/permissions.ts} +30 -19
- package/resources/qualifications/{access.ts → access/access.ts} +19 -19
- package/resources/qualifications/{exam.ts → exam/exam.ts} +269 -141
- package/resources/qualifications/qualifications.ts +51 -179
- package/resources/settings/banner.ts +3 -3
- package/resources/settings/config.ts +527 -25
- package/resources/{documents/state.ts → settings/data.ts} +41 -20
- package/resources/settings/perms.ts +14 -14
- package/resources/stats/stats.ts +379 -0
- package/resources/sync/{activity.ts → activity/activity.ts} +104 -25
- package/resources/sync/{data.ts → data/data.ts} +405 -59
- package/resources/userinfo/{user_info.ts → userinfo.ts} +71 -93
- package/resources/users/{activity.ts → activity/activity.ts} +242 -101
- package/resources/users/{props.ts → props/props.ts} +91 -69
- package/resources/users/short/user.ts +184 -0
- package/resources/users/{users.ts → user.ts} +266 -195
- package/resources/vehicles/{activity.ts → activity/activity.ts} +20 -20
- package/resources/vehicles/{props.ts → props/props.ts} +28 -6
- package/resources/vehicles/vehicles.ts +20 -8
- package/resources/wiki/{access.ts → access/access.ts} +30 -30
- package/resources/wiki/{activity.ts → activity/activity.ts} +104 -70
- package/resources/wiki/page.ts +39 -15
- package/services/auth/auth.client.ts +23 -10
- package/services/auth/auth.ts +445 -262
- package/services/calendar/calendar.ts +56 -34
- package/services/centrum/centrum.ts +127 -127
- package/services/citizens/citizens.client.ts +0 -13
- package/services/citizens/citizens.ts +44 -134
- package/services/citizens/labels.client.ts +77 -0
- package/services/citizens/labels.ts +455 -0
- package/services/completor/completor.ts +36 -16
- package/services/documents/approval.client.ts +188 -0
- package/services/documents/approval.ts +1776 -0
- package/services/documents/documents.ts +164 -186
- package/services/documents/forms.client.ts +51 -0
- package/services/documents/forms.ts +232 -0
- package/services/documents/stamps.client.ts +77 -0
- package/services/documents/stamps.ts +481 -0
- package/services/documents/stats.client.ts +38 -0
- package/services/documents/stats.ts +245 -0
- package/services/jobs/conduct.client.ts +30 -3
- package/services/jobs/conduct.ts +159 -33
- package/services/jobs/jobs.ts +43 -43
- package/services/jobs/stats.client.ts +38 -0
- package/services/jobs/stats.ts +207 -0
- package/services/jobs/timeclock.ts +39 -39
- package/services/livemap/livemap.ts +18 -18
- package/services/mailer/mailer.ts +78 -78
- package/services/notifications/notifications.ts +35 -35
- package/services/qualifications/qualifications.ts +81 -46
- package/services/settings/accounts.client.ts +23 -10
- package/services/settings/accounts.ts +191 -30
- package/services/settings/cron.client.ts +13 -0
- package/services/settings/cron.ts +118 -5
- package/services/settings/laws.ts +1 -1
- package/services/settings/settings.ts +73 -52
- package/services/settings/system.client.ts +13 -0
- package/services/settings/system.ts +115 -15
- package/services/stats/stats.client.ts +7 -7
- package/services/stats/stats.ts +24 -24
- package/services/sync/sync.client.ts +271 -37
- package/services/sync/sync.ts +1525 -421
- package/services/vehicles/vehicles.ts +8 -8
- package/services/wiki/wiki.ts +8 -8
- package/svcs.ts +100 -6
- package/resources/centrum/attributes.ts +0 -183
- package/resources/documents/signoff.ts +0 -55
- package/resources/users/labels.ts +0 -160
|
@@ -1,5 +1,5 @@
|
|
|
1
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 "resources/centrum/dispatchers.proto" (package "resources.centrum", syntax proto3)
|
|
2
|
+
// @generated from protobuf file "resources/centrum/dispatchers/dispatchers.proto" (package "resources.centrum.dispatchers", syntax proto3)
|
|
3
3
|
// tslint:disable
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
@@ -11,9 +11,9 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
11
11
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
12
12
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
13
13
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
14
|
-
import { Colleague } from "
|
|
14
|
+
import { Colleague } from "../../jobs/colleagues/colleagues";
|
|
15
15
|
/**
|
|
16
|
-
* @generated from protobuf message resources.centrum.Dispatchers
|
|
16
|
+
* @generated from protobuf message resources.centrum.dispatchers.Dispatchers
|
|
17
17
|
*/
|
|
18
18
|
export interface Dispatchers {
|
|
19
19
|
/**
|
|
@@ -25,23 +25,23 @@ export interface Dispatchers {
|
|
|
25
25
|
*/
|
|
26
26
|
jobLabel?: string;
|
|
27
27
|
/**
|
|
28
|
-
* @generated from protobuf field: repeated resources.jobs.Colleague dispatchers = 3
|
|
28
|
+
* @generated from protobuf field: repeated resources.jobs.colleagues.Colleague dispatchers = 3
|
|
29
29
|
*/
|
|
30
30
|
dispatchers: Colleague[];
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
|
-
* @generated from protobuf message resources.centrum.JobDispatchers
|
|
33
|
+
* @generated from protobuf message resources.centrum.dispatchers.JobDispatchers
|
|
34
34
|
*/
|
|
35
35
|
export interface JobDispatchers {
|
|
36
36
|
/**
|
|
37
|
-
* @generated from protobuf field: repeated resources.centrum.Dispatchers dispatchers = 1
|
|
37
|
+
* @generated from protobuf field: repeated resources.centrum.dispatchers.Dispatchers dispatchers = 1
|
|
38
38
|
*/
|
|
39
39
|
dispatchers: Dispatchers[];
|
|
40
40
|
}
|
|
41
41
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
42
42
|
class Dispatchers$Type extends MessageType<Dispatchers> {
|
|
43
43
|
constructor() {
|
|
44
|
-
super("resources.centrum.Dispatchers", [
|
|
44
|
+
super("resources.centrum.dispatchers.Dispatchers", [
|
|
45
45
|
{ no: 1, name: "job", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "20" } } } },
|
|
46
46
|
{ no: 2, name: "job_label", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "50" } } } },
|
|
47
47
|
{ no: 3, name: "dispatchers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Colleague }
|
|
@@ -66,7 +66,7 @@ class Dispatchers$Type extends MessageType<Dispatchers> {
|
|
|
66
66
|
case /* optional string job_label */ 2:
|
|
67
67
|
message.jobLabel = reader.string();
|
|
68
68
|
break;
|
|
69
|
-
case /* repeated resources.jobs.Colleague dispatchers */ 3:
|
|
69
|
+
case /* repeated resources.jobs.colleagues.Colleague dispatchers */ 3:
|
|
70
70
|
message.dispatchers.push(Colleague.internalBinaryRead(reader, reader.uint32(), options));
|
|
71
71
|
break;
|
|
72
72
|
default:
|
|
@@ -87,7 +87,7 @@ class Dispatchers$Type extends MessageType<Dispatchers> {
|
|
|
87
87
|
/* optional string job_label = 2; */
|
|
88
88
|
if (message.jobLabel !== undefined)
|
|
89
89
|
writer.tag(2, WireType.LengthDelimited).string(message.jobLabel);
|
|
90
|
-
/* repeated resources.jobs.Colleague dispatchers = 3; */
|
|
90
|
+
/* repeated resources.jobs.colleagues.Colleague dispatchers = 3; */
|
|
91
91
|
for (let i = 0; i < message.dispatchers.length; i++)
|
|
92
92
|
Colleague.internalBinaryWrite(message.dispatchers[i], writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
93
93
|
let u = options.writeUnknownFields;
|
|
@@ -97,13 +97,13 @@ class Dispatchers$Type extends MessageType<Dispatchers> {
|
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
|
-
* @generated MessageType for protobuf message resources.centrum.Dispatchers
|
|
100
|
+
* @generated MessageType for protobuf message resources.centrum.dispatchers.Dispatchers
|
|
101
101
|
*/
|
|
102
102
|
export const Dispatchers = new Dispatchers$Type();
|
|
103
103
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
104
104
|
class JobDispatchers$Type extends MessageType<JobDispatchers> {
|
|
105
105
|
constructor() {
|
|
106
|
-
super("resources.centrum.JobDispatchers", [
|
|
106
|
+
super("resources.centrum.dispatchers.JobDispatchers", [
|
|
107
107
|
{ no: 1, name: "dispatchers", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => Dispatchers }
|
|
108
108
|
]);
|
|
109
109
|
}
|
|
@@ -119,7 +119,7 @@ class JobDispatchers$Type extends MessageType<JobDispatchers> {
|
|
|
119
119
|
while (reader.pos < end) {
|
|
120
120
|
let [fieldNo, wireType] = reader.tag();
|
|
121
121
|
switch (fieldNo) {
|
|
122
|
-
case /* repeated resources.centrum.Dispatchers dispatchers */ 1:
|
|
122
|
+
case /* repeated resources.centrum.dispatchers.Dispatchers dispatchers */ 1:
|
|
123
123
|
message.dispatchers.push(Dispatchers.internalBinaryRead(reader, reader.uint32(), options));
|
|
124
124
|
break;
|
|
125
125
|
default:
|
|
@@ -134,7 +134,7 @@ class JobDispatchers$Type extends MessageType<JobDispatchers> {
|
|
|
134
134
|
return message;
|
|
135
135
|
}
|
|
136
136
|
internalBinaryWrite(message: JobDispatchers, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
137
|
-
/* repeated resources.centrum.Dispatchers dispatchers = 1; */
|
|
137
|
+
/* repeated resources.centrum.dispatchers.Dispatchers dispatchers = 1; */
|
|
138
138
|
for (let i = 0; i < message.dispatchers.length; i++)
|
|
139
139
|
Dispatchers.internalBinaryWrite(message.dispatchers[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
140
140
|
let u = options.writeUnknownFields;
|
|
@@ -144,6 +144,6 @@ class JobDispatchers$Type extends MessageType<JobDispatchers> {
|
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
|
-
* @generated MessageType for protobuf message resources.centrum.JobDispatchers
|
|
147
|
+
* @generated MessageType for protobuf message resources.centrum.dispatchers.JobDispatchers
|
|
148
148
|
*/
|
|
149
149
|
export const JobDispatchers = new JobDispatchers$Type();
|