@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.
- package/LICENSE +201 -0
- package/clients.ts +12 -0
- package/codegen/perms/perms.ts +331 -2
- package/google/protobuf/any.ts +47 -103
- package/google/protobuf/descriptor.ts +28 -29
- package/google/protobuf/struct.ts +33 -22
- package/google/protobuf/timestamp.ts +3 -3
- package/package.json +2 -2
- package/perms.ts +58 -17
- package/resources/calendar/calendar.ts +11 -0
- package/resources/calendar/entries/entries.ts +23 -0
- package/resources/centrum/dispatches/dispatches.ts +214 -21
- package/resources/centrum/units/units.ts +212 -5
- package/resources/citizens/labels/access.ts +10 -6
- package/resources/cron/cron.ts +44 -3
- package/resources/dbsync/state.ts +192 -0
- package/resources/documents/stamps/access.ts +25 -0
- package/resources/documents/stamps/stamp.ts +0 -21
- package/resources/documents/templates/templates.ts +63 -61
- package/resources/documents/workflow/workflow.ts +61 -1
- package/resources/file/file.ts +3 -3
- package/resources/file/filestore.ts +26 -10
- package/resources/jobs/colleagues/activity/activity.ts +50 -8
- package/resources/jobs/colleagues/colleagues.ts +14 -1
- package/resources/jobs/groups/access/access.ts +29 -0
- package/resources/jobs/groups/activity.ts +332 -0
- package/resources/jobs/groups/group.ts +1666 -0
- package/resources/jobs/groups/short/group_member_short.ts +129 -0
- package/resources/jobs/job_asset.ts +116 -0
- package/resources/jobs/user_selector.ts +170 -0
- package/resources/notifications/clientview/clientview.ts +5 -1
- package/resources/notifications/events/events.ts +35 -1
- package/resources/notifications/notifications.ts +322 -2
- package/resources/permissions/attributes/attributes.ts +164 -2
- package/resources/permissions/authorization/authorization.ts +86 -0
- package/resources/permissions/permissions/permissions.ts +16 -1
- package/resources/properties/properties.ts +1648 -0
- package/resources/qualifications/activity/activity.ts +328 -0
- package/resources/qualifications/exam/exam.ts +108 -4
- package/resources/qualifications/qualifications.ts +36 -2
- package/resources/settings/config.ts +3 -3
- package/resources/settings/status.ts +197 -105
- package/resources/sync/activity/activity.ts +4 -4
- package/resources/sync/data/data.ts +16 -4
- package/resources/users/activity/activity.ts +220 -3
- package/resources/users/props/props.ts +13 -1
- package/resources/users/user.ts +13 -1
- package/resources/vehicles/activity/activity.ts +222 -3
- package/resources/vehicles/props/props.ts +13 -1
- package/resources/vehicles/vehicles.ts +13 -1
- package/services/auth/auth.ts +61 -67
- package/services/calendar/calendar.ts +1 -1
- package/services/calendar/entries.ts +3 -3
- package/services/centrum/centrum.ts +103 -1
- package/services/centrum/dispatches.ts +25 -1
- package/services/centrum/units.ts +28 -4
- package/services/citizens/citizens.client.ts +49 -0
- package/services/citizens/citizens.ts +384 -7
- package/services/completor/completor.ts +2 -2
- package/services/documents/approval.ts +2 -2
- package/services/documents/documents.ts +10 -9
- package/services/documents/templates.ts +24 -13
- package/services/jobs/colleagues.client.ts +34 -8
- package/services/jobs/colleagues.ts +289 -75
- package/services/jobs/conduct.ts +12 -19
- package/services/jobs/groups.client.ts +311 -0
- package/services/jobs/groups.ts +3654 -1
- package/services/jobs/timeclock.ts +30 -27
- package/services/notifications/notifications.client.ts +40 -1
- package/services/notifications/notifications.ts +483 -3
- package/services/qualifications/qualifications.client.ts +20 -7
- package/services/qualifications/qualifications.ts +291 -8
- package/services/settings/job_assets.client.ts +105 -0
- package/services/settings/job_assets.ts +373 -0
- package/services/settings/properties.client.ts +194 -0
- package/services/settings/properties.ts +1555 -0
- package/services/settings/settings.ts +1 -1
- package/services/settings/system.ts +29 -9
- package/services/sync/sync.client.ts +69 -33
- package/services/sync/sync.ts +557 -18
- package/services/vehicles/vehicles.client.ts +52 -0
- package/services/vehicles/vehicles.ts +386 -8
- package/svcs.ts +87 -1
|
@@ -53,6 +53,13 @@ export interface Permission {
|
|
|
53
53
|
* @generated from protobuf field: optional string icon = 9
|
|
54
54
|
*/
|
|
55
55
|
icon?: string;
|
|
56
|
+
/**
|
|
57
|
+
* True when this permission is granted through the AppConfig default list.
|
|
58
|
+
* This is metadata for consumers; override behavior is enforced separately.
|
|
59
|
+
*
|
|
60
|
+
* @generated from protobuf field: bool is_default = 10
|
|
61
|
+
*/
|
|
62
|
+
isDefault: boolean;
|
|
56
63
|
}
|
|
57
64
|
/**
|
|
58
65
|
* @generated from protobuf message resources.permissions.permissions.Role
|
|
@@ -116,7 +123,8 @@ class Permission$Type extends MessageType<Permission> {
|
|
|
116
123
|
{ no: 6, name: "guard_name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "255" } } } },
|
|
117
124
|
{ no: 7, name: "val", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
118
125
|
{ no: 8, name: "order", kind: "scalar", opt: true, T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gte: 0 } } } },
|
|
119
|
-
{ no: 9, name: "icon", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "128" } } } }
|
|
126
|
+
{ no: 9, name: "icon", kind: "scalar", opt: true, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "128" } } } },
|
|
127
|
+
{ no: 10, name: "is_default", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
|
|
120
128
|
]);
|
|
121
129
|
}
|
|
122
130
|
create(value?: PartialMessage<Permission>): Permission {
|
|
@@ -127,6 +135,7 @@ class Permission$Type extends MessageType<Permission> {
|
|
|
127
135
|
message.name = "";
|
|
128
136
|
message.guardName = "";
|
|
129
137
|
message.val = false;
|
|
138
|
+
message.isDefault = false;
|
|
130
139
|
if (value !== undefined)
|
|
131
140
|
reflectionMergePartial<Permission>(this, message, value);
|
|
132
141
|
return message;
|
|
@@ -163,6 +172,9 @@ class Permission$Type extends MessageType<Permission> {
|
|
|
163
172
|
case /* optional string icon */ 9:
|
|
164
173
|
message.icon = reader.string();
|
|
165
174
|
break;
|
|
175
|
+
case /* bool is_default */ 10:
|
|
176
|
+
message.isDefault = reader.bool();
|
|
177
|
+
break;
|
|
166
178
|
default:
|
|
167
179
|
let u = options.readUnknownField;
|
|
168
180
|
if (u === "throw")
|
|
@@ -202,6 +214,9 @@ class Permission$Type extends MessageType<Permission> {
|
|
|
202
214
|
/* optional string icon = 9; */
|
|
203
215
|
if (message.icon !== undefined)
|
|
204
216
|
writer.tag(9, WireType.LengthDelimited).string(message.icon);
|
|
217
|
+
/* bool is_default = 10; */
|
|
218
|
+
if (message.isDefault !== false)
|
|
219
|
+
writer.tag(10, WireType.Varint).bool(message.isDefault);
|
|
205
220
|
let u = options.writeUnknownFields;
|
|
206
221
|
if (u !== false)
|
|
207
222
|
(u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
|