@fivenet-app/gen 2025.5.3 → 2026.3.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/buf/validate/validate.ts +11301 -0
- package/clients.ts +193 -154
- package/codegen/dbscanner/dbscanner.ts +91 -0
- package/codegen/perms/perms.ts +287 -0
- package/codegen/sanitizer/sanitizer.ts +113 -0
- package/google/protobuf/any.ts +4 -3
- package/google/protobuf/descriptor.ts +393 -239
- package/google/protobuf/duration.ts +4 -3
- package/google/protobuf/struct.ts +485 -0
- package/google/protobuf/timestamp.ts +4 -3
- package/package.json +3 -3
- package/perms.ts +217 -160
- package/resources/accounts/accounts.ts +115 -47
- package/resources/accounts/{oauth2.ts → oauth2/oauth2.ts} +33 -32
- package/resources/audit/audit.ts +172 -53
- package/resources/calendar/{access.ts → access/access.ts} +72 -71
- package/resources/calendar/calendar.ts +79 -543
- package/resources/calendar/entries/entries.ts +474 -0
- package/resources/centrum/access/access.ts +345 -0
- package/resources/centrum/dispatchers/dispatchers.ts +149 -0
- package/resources/centrum/{dispatches.ts → dispatches/dispatches.ts} +267 -164
- package/resources/centrum/joblist.ts +136 -0
- package/resources/centrum/settings/settings.ts +657 -0
- package/resources/centrum/{units_access.ts → units/access/access.ts} +78 -79
- package/resources/centrum/{units.ts → units/units.ts} +230 -130
- package/resources/clientconfig/clientconfig.ts +1015 -0
- package/resources/collab/collab.ts +805 -0
- package/resources/common/content/content.ts +169 -63
- package/resources/common/content/diff_activity.ts +267 -0
- package/resources/common/database/database.ts +92 -35
- package/resources/common/error.ts +17 -16
- package/resources/common/i18n.ts +20 -24
- package/resources/common/id_mapping.ts +69 -0
- package/resources/common/tests/objects.ts +4 -3
- package/resources/{common/cron → cron}/cron.ts +77 -65
- package/resources/discord/discord.ts +209 -0
- package/resources/documents/{access.ts → access/access.ts} +75 -76
- package/resources/documents/{activity.ts → activity/activity.ts} +349 -124
- package/resources/documents/approval/approval.ts +945 -0
- package/resources/documents/{category.ts → category/category.ts} +25 -32
- package/resources/documents/{comment.ts → comment/comment.ts} +35 -34
- package/resources/documents/data/data.ts +303 -0
- package/resources/documents/documents.ts +374 -686
- package/resources/{common/uuid.ts → documents/forms/forms.ts} +22 -21
- package/resources/documents/pins/pins.ts +127 -0
- package/resources/documents/references/references.ts +187 -0
- package/resources/documents/relations/relations.ts +184 -0
- package/resources/documents/{requests.ts → requests/requests.ts} +45 -44
- package/resources/documents/stamps/stamp.ts +355 -0
- package/resources/documents/{templates.ts → templates/templates.ts} +524 -199
- package/resources/documents/workflow/workflow.ts +600 -0
- package/resources/file/file.ts +152 -0
- package/{services/settings → resources/file}/filestore.ts +179 -165
- package/resources/file/meta.ts +148 -0
- package/resources/{common/grpcws → grpcws}/grpcws.ts +66 -65
- package/resources/jobs/{activity.ts → colleagues/activity/activity.ts} +83 -86
- package/resources/jobs/{colleagues.ts → colleagues/colleagues.ts} +76 -80
- package/resources/jobs/{conduct.ts → conduct/conduct.ts} +86 -62
- package/resources/jobs/jobs.ts +14 -13
- package/resources/jobs/{labels.ts → labels/labels.ts} +36 -37
- package/resources/jobs/{job_props.ts → props/props.ts} +63 -65
- package/resources/jobs/{job_settings.ts → settings/settings.ts} +89 -96
- package/resources/jobs/{timeclock.ts → timeclock/timeclock.ts} +42 -41
- package/resources/laws/laws.ts +40 -49
- package/resources/livemap/coords.ts +81 -0
- package/resources/livemap/heatmap/heatmap.ts +93 -0
- package/resources/livemap/{livemap.ts → markers/marker_marker.ts} +68 -335
- package/resources/livemap/markers/user_marker.ts +377 -0
- package/resources/mailer/{access.ts → access/access.ts} +119 -118
- package/resources/mailer/{email.ts → emails/email.ts} +38 -41
- package/resources/mailer/{events.ts → events/events.ts} +44 -43
- package/resources/mailer/{message.ts → messages/message.ts} +69 -74
- package/resources/mailer/{settings.ts → settings/settings.ts} +23 -25
- package/resources/mailer/{template.ts → templates/template.ts} +37 -40
- package/resources/mailer/{thread.ts → threads/thread.ts} +93 -94
- package/resources/notifications/clientview/clientview.ts +239 -0
- package/resources/notifications/{events.ts → events/events.ts} +67 -130
- package/resources/notifications/notifications.ts +55 -60
- package/resources/permissions/{attributes.ts → attributes/attributes.ts} +94 -237
- package/resources/permissions/events/events.ts +149 -0
- package/resources/permissions/{permissions.ts → permissions/permissions.ts} +127 -47
- package/resources/qualifications/{access.ts → access/access.ts} +43 -42
- package/resources/qualifications/{exam.ts → exam/exam.ts} +419 -229
- package/resources/qualifications/qualifications.ts +327 -388
- package/resources/settings/banner.ts +14 -21
- package/resources/settings/config.ts +663 -79
- package/resources/settings/data.ts +90 -0
- package/resources/settings/perms.ts +151 -0
- package/resources/settings/status.ts +533 -0
- package/resources/stats/stats.ts +382 -2
- package/resources/sync/{activity.ts → activity/activity.ts} +126 -46
- package/resources/sync/data/data.ts +1001 -0
- package/resources/sync/data/v2/data.ts +220 -0
- package/resources/timestamp/timestamp.ts +3 -2
- package/resources/{centrum/user_unit.ts → tracker/mapping.ts} +44 -44
- package/resources/userinfo/userinfo.ts +442 -0
- package/resources/users/{activity.ts → activity/activity.ts} +182 -166
- package/resources/users/{labels.ts → labels/labels.ts} +27 -30
- package/resources/users/{licenses.ts → licenses/licenses.ts} +18 -17
- package/resources/users/{props.ts → props/props.ts} +109 -77
- package/resources/users/short/user.ts +184 -0
- package/resources/users/user.ts +528 -0
- package/resources/vehicles/activity/activity.ts +231 -0
- package/resources/vehicles/props/props.ts +125 -0
- package/resources/vehicles/vehicles.ts +43 -18
- package/resources/wiki/{access.ts → access/access.ts} +72 -71
- package/resources/wiki/{activity.ts → activity/activity.ts} +218 -102
- package/resources/wiki/page.ts +164 -93
- package/services/auth/auth.client.ts +45 -35
- package/services/auth/auth.ts +498 -288
- package/services/calendar/calendar.client.ts +32 -91
- package/services/calendar/calendar.ts +157 -134
- package/services/centrum/centrum.client.ts +97 -137
- package/services/centrum/centrum.ts +755 -352
- package/services/citizens/citizens.client.ts +70 -39
- package/services/citizens/citizens.ts +226 -112
- package/services/completor/completor.client.ts +16 -35
- package/services/completor/completor.ts +95 -54
- package/services/documents/approval.client.ts +188 -0
- package/services/documents/approval.ts +1776 -0
- package/services/documents/collab.client.ts +46 -0
- package/services/documents/collab.ts +13 -0
- package/services/documents/documents.client.ts +88 -217
- package/services/documents/documents.ts +579 -619
- 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/filestore/filestore.client.ts +86 -0
- package/services/filestore/filestore.ts +262 -0
- package/services/jobs/conduct.client.ts +40 -28
- package/services/jobs/conduct.ts +183 -56
- package/services/jobs/jobs.client.ts +22 -61
- package/services/jobs/jobs.ts +138 -121
- package/services/jobs/stats.client.ts +38 -0
- package/services/jobs/stats.ts +207 -0
- package/services/jobs/timeclock.client.ts +8 -19
- package/services/jobs/timeclock.ts +76 -75
- package/services/livemap/livemap.client.ts +8 -19
- package/services/livemap/livemap.ts +297 -126
- package/services/mailer/mailer.client.ts +44 -127
- package/services/mailer/mailer.ts +266 -269
- package/services/notifications/notifications.client.ts +65 -0
- package/services/{notificator/notificator.ts → notifications/notifications.ts} +126 -83
- package/services/qualifications/qualifications.client.ts +46 -91
- package/services/qualifications/qualifications.ts +250 -209
- package/services/settings/accounts.client.ts +31 -33
- package/services/settings/accounts.ts +251 -67
- package/services/settings/config.client.ts +6 -13
- package/services/settings/config.ts +8 -7
- package/services/settings/cron.client.ts +4 -7
- package/services/settings/cron.ts +7 -6
- package/services/settings/laws.client.ts +10 -25
- package/services/settings/laws.ts +30 -29
- package/services/settings/settings.client.ts +57 -103
- package/services/settings/settings.ts +237 -633
- package/services/settings/system.client.ts +103 -0
- package/services/settings/system.ts +718 -0
- package/services/stats/stats.client.ts +9 -8
- package/services/stats/stats.ts +27 -26
- package/services/sync/sync.client.ts +16 -15
- package/services/sync/sync.ts +174 -97
- package/services/sync/v2/sync.client.ts +331 -0
- package/services/sync/v2/sync.ts +1766 -0
- package/services/vehicles/vehicles.client.ts +17 -7
- package/services/vehicles/vehicles.ts +170 -25
- package/services/wiki/collab.client.ts +46 -0
- package/services/wiki/collab.ts +13 -0
- package/services/wiki/wiki.client.ts +28 -37
- package/services/wiki/wiki.ts +97 -67
- package/svcs.ts +174 -106
- package/resources/centrum/attributes.ts +0 -186
- package/resources/centrum/disponents.ts +0 -81
- package/resources/centrum/settings.ts +0 -307
- package/resources/documents/workflow.ts +0 -351
- package/resources/filestore/file.ts +0 -204
- package/resources/internet/access.ts +0 -358
- package/resources/internet/ads.ts +0 -257
- package/resources/internet/domain.ts +0 -328
- package/resources/internet/page.ts +0 -428
- package/resources/internet/search.ts +0 -128
- package/resources/livemap/tracker.ts +0 -81
- package/resources/sync/data.ts +0 -587
- package/resources/users/users.ts +0 -435
- package/services/internet/ads.client.ts +0 -41
- package/services/internet/ads.ts +0 -145
- package/services/internet/domain.client.ts +0 -109
- package/services/internet/domain.ts +0 -658
- package/services/internet/internet.client.ts +0 -58
- package/services/internet/internet.ts +0 -268
- package/services/notificator/notificator.client.ts +0 -76
- package/services/settings/filestore.client.ts +0 -75
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
// @generated by protobuf-ts 2.
|
|
2
|
-
// @generated from protobuf file "resources/jobs/
|
|
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/jobs/settings/settings.proto" (package "resources.jobs.settings", syntax proto3)
|
|
3
|
+
// tslint:disable
|
|
3
4
|
// @ts-nocheck
|
|
4
5
|
import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
|
|
5
6
|
import type { IBinaryWriter } from "@protobuf-ts/runtime";
|
|
@@ -10,174 +11,166 @@ import { UnknownFieldHandler } from "@protobuf-ts/runtime";
|
|
|
10
11
|
import type { PartialMessage } from "@protobuf-ts/runtime";
|
|
11
12
|
import { reflectionMergePartial } from "@protobuf-ts/runtime";
|
|
12
13
|
import { MessageType } from "@protobuf-ts/runtime";
|
|
13
|
-
import { Timestamp } from "
|
|
14
|
+
import { Timestamp } from "../../timestamp/timestamp";
|
|
14
15
|
/**
|
|
15
|
-
* @
|
|
16
|
-
*
|
|
17
|
-
* @generated from protobuf message resources.jobs.DiscordSyncSettings
|
|
16
|
+
* @generated from protobuf message resources.jobs.settings.DiscordSyncSettings
|
|
18
17
|
*/
|
|
19
18
|
export interface DiscordSyncSettings {
|
|
20
19
|
/**
|
|
21
|
-
* @generated from protobuf field: bool dry_run = 1
|
|
20
|
+
* @generated from protobuf field: bool dry_run = 1
|
|
22
21
|
*/
|
|
23
22
|
dryRun: boolean;
|
|
24
23
|
/**
|
|
25
|
-
* @generated from protobuf field: bool user_info_sync = 2
|
|
24
|
+
* @generated from protobuf field: bool user_info_sync = 2
|
|
26
25
|
*/
|
|
27
26
|
userInfoSync: boolean;
|
|
28
27
|
/**
|
|
29
|
-
* @generated from protobuf field: resources.jobs.UserInfoSyncSettings user_info_sync_settings = 3
|
|
28
|
+
* @generated from protobuf field: resources.jobs.settings.UserInfoSyncSettings user_info_sync_settings = 3
|
|
30
29
|
*/
|
|
31
30
|
userInfoSyncSettings?: UserInfoSyncSettings;
|
|
32
31
|
/**
|
|
33
|
-
* @generated from protobuf field: bool status_log = 4
|
|
32
|
+
* @generated from protobuf field: bool status_log = 4
|
|
34
33
|
*/
|
|
35
34
|
statusLog: boolean;
|
|
36
35
|
/**
|
|
37
|
-
* @generated from protobuf field: resources.jobs.StatusLogSettings status_log_settings = 5
|
|
36
|
+
* @generated from protobuf field: resources.jobs.settings.StatusLogSettings status_log_settings = 5
|
|
38
37
|
*/
|
|
39
38
|
statusLogSettings?: StatusLogSettings;
|
|
40
39
|
/**
|
|
41
|
-
* @generated from protobuf field: bool jobs_absence = 6
|
|
40
|
+
* @generated from protobuf field: bool jobs_absence = 6
|
|
42
41
|
*/
|
|
43
42
|
jobsAbsence: boolean;
|
|
44
43
|
/**
|
|
45
|
-
* @generated from protobuf field: resources.jobs.JobsAbsenceSettings jobs_absence_settings = 7
|
|
44
|
+
* @generated from protobuf field: resources.jobs.settings.JobsAbsenceSettings jobs_absence_settings = 7
|
|
46
45
|
*/
|
|
47
46
|
jobsAbsenceSettings?: JobsAbsenceSettings;
|
|
48
47
|
/**
|
|
49
|
-
* @generated from protobuf field: resources.jobs.GroupSyncSettings group_sync_settings = 8
|
|
48
|
+
* @generated from protobuf field: resources.jobs.settings.GroupSyncSettings group_sync_settings = 8
|
|
50
49
|
*/
|
|
51
50
|
groupSyncSettings?: GroupSyncSettings;
|
|
52
51
|
/**
|
|
53
|
-
* @generated from protobuf field: string qualifications_role_format = 9
|
|
52
|
+
* @generated from protobuf field: string qualifications_role_format = 9
|
|
54
53
|
*/
|
|
55
54
|
qualificationsRoleFormat: string;
|
|
56
55
|
}
|
|
57
56
|
/**
|
|
58
|
-
* @
|
|
59
|
-
*
|
|
60
|
-
* @generated from protobuf message resources.jobs.DiscordSyncChanges
|
|
57
|
+
* @generated from protobuf message resources.jobs.settings.DiscordSyncChanges
|
|
61
58
|
*/
|
|
62
59
|
export interface DiscordSyncChanges {
|
|
63
60
|
/**
|
|
64
|
-
* @generated from protobuf field: repeated resources.jobs.DiscordSyncChange changes = 1
|
|
61
|
+
* @generated from protobuf field: repeated resources.jobs.settings.DiscordSyncChange changes = 1
|
|
65
62
|
*/
|
|
66
63
|
changes: DiscordSyncChange[];
|
|
67
64
|
}
|
|
68
65
|
/**
|
|
69
|
-
* @generated from protobuf message resources.jobs.DiscordSyncChange
|
|
66
|
+
* @generated from protobuf message resources.jobs.settings.DiscordSyncChange
|
|
70
67
|
*/
|
|
71
68
|
export interface DiscordSyncChange {
|
|
72
69
|
/**
|
|
73
|
-
* @generated from protobuf field: resources.timestamp.Timestamp time = 1
|
|
70
|
+
* @generated from protobuf field: resources.timestamp.Timestamp time = 1
|
|
74
71
|
*/
|
|
75
72
|
time?: Timestamp;
|
|
76
73
|
/**
|
|
77
|
-
* @generated from protobuf field: string plan = 2
|
|
74
|
+
* @generated from protobuf field: string plan = 2
|
|
78
75
|
*/
|
|
79
76
|
plan: string;
|
|
80
77
|
}
|
|
81
78
|
/**
|
|
82
|
-
* @generated from protobuf message resources.jobs.UserInfoSyncSettings
|
|
79
|
+
* @generated from protobuf message resources.jobs.settings.UserInfoSyncSettings
|
|
83
80
|
*/
|
|
84
81
|
export interface UserInfoSyncSettings {
|
|
85
82
|
/**
|
|
86
|
-
* @generated from protobuf field: bool employee_role_enabled = 1
|
|
83
|
+
* @generated from protobuf field: bool employee_role_enabled = 1
|
|
87
84
|
*/
|
|
88
85
|
employeeRoleEnabled: boolean;
|
|
89
86
|
/**
|
|
90
|
-
* @generated from protobuf field: string employee_role_format = 2
|
|
87
|
+
* @generated from protobuf field: string employee_role_format = 2
|
|
91
88
|
*/
|
|
92
89
|
employeeRoleFormat: string;
|
|
93
90
|
/**
|
|
94
|
-
* @generated from protobuf field: string grade_role_format = 3
|
|
91
|
+
* @generated from protobuf field: string grade_role_format = 3
|
|
95
92
|
*/
|
|
96
93
|
gradeRoleFormat: string;
|
|
97
94
|
/**
|
|
98
|
-
* @generated from protobuf field: bool unemployed_enabled = 4
|
|
95
|
+
* @generated from protobuf field: bool unemployed_enabled = 4
|
|
99
96
|
*/
|
|
100
97
|
unemployedEnabled: boolean;
|
|
101
98
|
/**
|
|
102
|
-
* @generated from protobuf field: resources.jobs.UserInfoSyncUnemployedMode unemployed_mode = 5
|
|
99
|
+
* @generated from protobuf field: resources.jobs.settings.UserInfoSyncUnemployedMode unemployed_mode = 5
|
|
103
100
|
*/
|
|
104
101
|
unemployedMode: UserInfoSyncUnemployedMode;
|
|
105
102
|
/**
|
|
106
|
-
* @generated from protobuf field: string unemployed_role_name = 6
|
|
103
|
+
* @generated from protobuf field: string unemployed_role_name = 6
|
|
107
104
|
*/
|
|
108
105
|
unemployedRoleName: string;
|
|
109
106
|
/**
|
|
110
|
-
* @generated from protobuf field: bool sync_nicknames = 7
|
|
107
|
+
* @generated from protobuf field: bool sync_nicknames = 7
|
|
111
108
|
*/
|
|
112
109
|
syncNicknames: boolean;
|
|
113
110
|
/**
|
|
114
|
-
* @generated from protobuf field: repeated resources.jobs.GroupMapping group_mapping = 8
|
|
111
|
+
* @generated from protobuf field: repeated resources.jobs.settings.GroupMapping group_mapping = 8
|
|
115
112
|
*/
|
|
116
113
|
groupMapping: GroupMapping[];
|
|
117
114
|
}
|
|
118
115
|
/**
|
|
119
|
-
* @generated from protobuf message resources.jobs.GroupMapping
|
|
116
|
+
* @generated from protobuf message resources.jobs.settings.GroupMapping
|
|
120
117
|
*/
|
|
121
118
|
export interface GroupMapping {
|
|
122
119
|
/**
|
|
123
|
-
* @generated from protobuf field: string name = 1
|
|
120
|
+
* @generated from protobuf field: string name = 1
|
|
124
121
|
*/
|
|
125
122
|
name: string;
|
|
126
123
|
/**
|
|
127
|
-
* @generated from protobuf field: int32 from_grade = 2
|
|
124
|
+
* @generated from protobuf field: int32 from_grade = 2
|
|
128
125
|
*/
|
|
129
126
|
fromGrade: number;
|
|
130
127
|
/**
|
|
131
|
-
* @generated from protobuf field: int32 to_grade = 3
|
|
128
|
+
* @generated from protobuf field: int32 to_grade = 3
|
|
132
129
|
*/
|
|
133
130
|
toGrade: number;
|
|
134
131
|
}
|
|
135
132
|
/**
|
|
136
|
-
* @generated from protobuf message resources.jobs.StatusLogSettings
|
|
133
|
+
* @generated from protobuf message resources.jobs.settings.StatusLogSettings
|
|
137
134
|
*/
|
|
138
135
|
export interface StatusLogSettings {
|
|
139
136
|
/**
|
|
140
|
-
* @generated from protobuf field: string channel_id = 1
|
|
137
|
+
* @generated from protobuf field: string channel_id = 1
|
|
141
138
|
*/
|
|
142
139
|
channelId: string;
|
|
143
140
|
}
|
|
144
141
|
/**
|
|
145
|
-
* @generated from protobuf message resources.jobs.JobsAbsenceSettings
|
|
142
|
+
* @generated from protobuf message resources.jobs.settings.JobsAbsenceSettings
|
|
146
143
|
*/
|
|
147
144
|
export interface JobsAbsenceSettings {
|
|
148
145
|
/**
|
|
149
|
-
* @generated from protobuf field: string absence_role = 1
|
|
146
|
+
* @generated from protobuf field: string absence_role = 1
|
|
150
147
|
*/
|
|
151
148
|
absenceRole: string;
|
|
152
149
|
}
|
|
153
150
|
/**
|
|
154
|
-
* @generated from protobuf message resources.jobs.GroupSyncSettings
|
|
151
|
+
* @generated from protobuf message resources.jobs.settings.GroupSyncSettings
|
|
155
152
|
*/
|
|
156
153
|
export interface GroupSyncSettings {
|
|
157
154
|
/**
|
|
158
|
-
* @
|
|
159
|
-
*
|
|
160
|
-
* @generated from protobuf field: repeated string ignored_role_ids = 1;
|
|
155
|
+
* @generated from protobuf field: repeated string ignored_role_ids = 1
|
|
161
156
|
*/
|
|
162
157
|
ignoredRoleIds: string[];
|
|
163
158
|
}
|
|
164
159
|
/**
|
|
165
|
-
* @
|
|
166
|
-
*
|
|
167
|
-
* @generated from protobuf message resources.jobs.JobSettings
|
|
160
|
+
* @generated from protobuf message resources.jobs.settings.JobSettings
|
|
168
161
|
*/
|
|
169
162
|
export interface JobSettings {
|
|
170
163
|
/**
|
|
171
|
-
* @generated from protobuf field: int32 absence_past_days = 1
|
|
164
|
+
* @generated from protobuf field: int32 absence_past_days = 1
|
|
172
165
|
*/
|
|
173
166
|
absencePastDays: number;
|
|
174
167
|
/**
|
|
175
|
-
* @generated from protobuf field: int32 absence_future_days = 2
|
|
168
|
+
* @generated from protobuf field: int32 absence_future_days = 2
|
|
176
169
|
*/
|
|
177
170
|
absenceFutureDays: number;
|
|
178
171
|
}
|
|
179
172
|
/**
|
|
180
|
-
* @generated from protobuf enum resources.jobs.UserInfoSyncUnemployedMode
|
|
173
|
+
* @generated from protobuf enum resources.jobs.settings.UserInfoSyncUnemployedMode
|
|
181
174
|
*/
|
|
182
175
|
export enum UserInfoSyncUnemployedMode {
|
|
183
176
|
/**
|
|
@@ -196,7 +189,7 @@ export enum UserInfoSyncUnemployedMode {
|
|
|
196
189
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
197
190
|
class DiscordSyncSettings$Type extends MessageType<DiscordSyncSettings> {
|
|
198
191
|
constructor() {
|
|
199
|
-
super("resources.jobs.DiscordSyncSettings", [
|
|
192
|
+
super("resources.jobs.settings.DiscordSyncSettings", [
|
|
200
193
|
{ no: 1, name: "dry_run", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
201
194
|
{ no: 2, name: "user_info_sync", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
202
195
|
{ no: 3, name: "user_info_sync_settings", kind: "message", T: () => UserInfoSyncSettings },
|
|
@@ -205,8 +198,8 @@ class DiscordSyncSettings$Type extends MessageType<DiscordSyncSettings> {
|
|
|
205
198
|
{ no: 6, name: "jobs_absence", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
206
199
|
{ no: 7, name: "jobs_absence_settings", kind: "message", T: () => JobsAbsenceSettings },
|
|
207
200
|
{ no: 8, name: "group_sync_settings", kind: "message", T: () => GroupSyncSettings },
|
|
208
|
-
{ no: 9, name: "qualifications_role_format", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
209
|
-
]);
|
|
201
|
+
{ no: 9, name: "qualifications_role_format", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "64" } } } }
|
|
202
|
+
], { "codegen.dbscanner.dbscanner": { enabled: true } });
|
|
210
203
|
}
|
|
211
204
|
create(value?: PartialMessage<DiscordSyncSettings>): DiscordSyncSettings {
|
|
212
205
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
@@ -230,22 +223,22 @@ class DiscordSyncSettings$Type extends MessageType<DiscordSyncSettings> {
|
|
|
230
223
|
case /* bool user_info_sync */ 2:
|
|
231
224
|
message.userInfoSync = reader.bool();
|
|
232
225
|
break;
|
|
233
|
-
case /* resources.jobs.UserInfoSyncSettings user_info_sync_settings */ 3:
|
|
226
|
+
case /* resources.jobs.settings.UserInfoSyncSettings user_info_sync_settings */ 3:
|
|
234
227
|
message.userInfoSyncSettings = UserInfoSyncSettings.internalBinaryRead(reader, reader.uint32(), options, message.userInfoSyncSettings);
|
|
235
228
|
break;
|
|
236
229
|
case /* bool status_log */ 4:
|
|
237
230
|
message.statusLog = reader.bool();
|
|
238
231
|
break;
|
|
239
|
-
case /* resources.jobs.StatusLogSettings status_log_settings */ 5:
|
|
232
|
+
case /* resources.jobs.settings.StatusLogSettings status_log_settings */ 5:
|
|
240
233
|
message.statusLogSettings = StatusLogSettings.internalBinaryRead(reader, reader.uint32(), options, message.statusLogSettings);
|
|
241
234
|
break;
|
|
242
235
|
case /* bool jobs_absence */ 6:
|
|
243
236
|
message.jobsAbsence = reader.bool();
|
|
244
237
|
break;
|
|
245
|
-
case /* resources.jobs.JobsAbsenceSettings jobs_absence_settings */ 7:
|
|
238
|
+
case /* resources.jobs.settings.JobsAbsenceSettings jobs_absence_settings */ 7:
|
|
246
239
|
message.jobsAbsenceSettings = JobsAbsenceSettings.internalBinaryRead(reader, reader.uint32(), options, message.jobsAbsenceSettings);
|
|
247
240
|
break;
|
|
248
|
-
case /* resources.jobs.GroupSyncSettings group_sync_settings */ 8:
|
|
241
|
+
case /* resources.jobs.settings.GroupSyncSettings group_sync_settings */ 8:
|
|
249
242
|
message.groupSyncSettings = GroupSyncSettings.internalBinaryRead(reader, reader.uint32(), options, message.groupSyncSettings);
|
|
250
243
|
break;
|
|
251
244
|
case /* string qualifications_role_format */ 9:
|
|
@@ -269,22 +262,22 @@ class DiscordSyncSettings$Type extends MessageType<DiscordSyncSettings> {
|
|
|
269
262
|
/* bool user_info_sync = 2; */
|
|
270
263
|
if (message.userInfoSync !== false)
|
|
271
264
|
writer.tag(2, WireType.Varint).bool(message.userInfoSync);
|
|
272
|
-
/* resources.jobs.UserInfoSyncSettings user_info_sync_settings = 3; */
|
|
265
|
+
/* resources.jobs.settings.UserInfoSyncSettings user_info_sync_settings = 3; */
|
|
273
266
|
if (message.userInfoSyncSettings)
|
|
274
267
|
UserInfoSyncSettings.internalBinaryWrite(message.userInfoSyncSettings, writer.tag(3, WireType.LengthDelimited).fork(), options).join();
|
|
275
268
|
/* bool status_log = 4; */
|
|
276
269
|
if (message.statusLog !== false)
|
|
277
270
|
writer.tag(4, WireType.Varint).bool(message.statusLog);
|
|
278
|
-
/* resources.jobs.StatusLogSettings status_log_settings = 5; */
|
|
271
|
+
/* resources.jobs.settings.StatusLogSettings status_log_settings = 5; */
|
|
279
272
|
if (message.statusLogSettings)
|
|
280
273
|
StatusLogSettings.internalBinaryWrite(message.statusLogSettings, writer.tag(5, WireType.LengthDelimited).fork(), options).join();
|
|
281
274
|
/* bool jobs_absence = 6; */
|
|
282
275
|
if (message.jobsAbsence !== false)
|
|
283
276
|
writer.tag(6, WireType.Varint).bool(message.jobsAbsence);
|
|
284
|
-
/* resources.jobs.JobsAbsenceSettings jobs_absence_settings = 7; */
|
|
277
|
+
/* resources.jobs.settings.JobsAbsenceSettings jobs_absence_settings = 7; */
|
|
285
278
|
if (message.jobsAbsenceSettings)
|
|
286
279
|
JobsAbsenceSettings.internalBinaryWrite(message.jobsAbsenceSettings, writer.tag(7, WireType.LengthDelimited).fork(), options).join();
|
|
287
|
-
/* resources.jobs.GroupSyncSettings group_sync_settings = 8; */
|
|
280
|
+
/* resources.jobs.settings.GroupSyncSettings group_sync_settings = 8; */
|
|
288
281
|
if (message.groupSyncSettings)
|
|
289
282
|
GroupSyncSettings.internalBinaryWrite(message.groupSyncSettings, writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
290
283
|
/* string qualifications_role_format = 9; */
|
|
@@ -297,15 +290,15 @@ class DiscordSyncSettings$Type extends MessageType<DiscordSyncSettings> {
|
|
|
297
290
|
}
|
|
298
291
|
}
|
|
299
292
|
/**
|
|
300
|
-
* @generated MessageType for protobuf message resources.jobs.DiscordSyncSettings
|
|
293
|
+
* @generated MessageType for protobuf message resources.jobs.settings.DiscordSyncSettings
|
|
301
294
|
*/
|
|
302
295
|
export const DiscordSyncSettings = new DiscordSyncSettings$Type();
|
|
303
296
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
304
297
|
class DiscordSyncChanges$Type extends MessageType<DiscordSyncChanges> {
|
|
305
298
|
constructor() {
|
|
306
|
-
super("resources.jobs.DiscordSyncChanges", [
|
|
299
|
+
super("resources.jobs.settings.DiscordSyncChanges", [
|
|
307
300
|
{ no: 1, name: "changes", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => DiscordSyncChange }
|
|
308
|
-
]);
|
|
301
|
+
], { "codegen.dbscanner.dbscanner": { enabled: true } });
|
|
309
302
|
}
|
|
310
303
|
create(value?: PartialMessage<DiscordSyncChanges>): DiscordSyncChanges {
|
|
311
304
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
@@ -319,7 +312,7 @@ class DiscordSyncChanges$Type extends MessageType<DiscordSyncChanges> {
|
|
|
319
312
|
while (reader.pos < end) {
|
|
320
313
|
let [fieldNo, wireType] = reader.tag();
|
|
321
314
|
switch (fieldNo) {
|
|
322
|
-
case /* repeated resources.jobs.DiscordSyncChange changes */ 1:
|
|
315
|
+
case /* repeated resources.jobs.settings.DiscordSyncChange changes */ 1:
|
|
323
316
|
message.changes.push(DiscordSyncChange.internalBinaryRead(reader, reader.uint32(), options));
|
|
324
317
|
break;
|
|
325
318
|
default:
|
|
@@ -334,7 +327,7 @@ class DiscordSyncChanges$Type extends MessageType<DiscordSyncChanges> {
|
|
|
334
327
|
return message;
|
|
335
328
|
}
|
|
336
329
|
internalBinaryWrite(message: DiscordSyncChanges, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter {
|
|
337
|
-
/* repeated resources.jobs.DiscordSyncChange changes = 1; */
|
|
330
|
+
/* repeated resources.jobs.settings.DiscordSyncChange changes = 1; */
|
|
338
331
|
for (let i = 0; i < message.changes.length; i++)
|
|
339
332
|
DiscordSyncChange.internalBinaryWrite(message.changes[i], writer.tag(1, WireType.LengthDelimited).fork(), options).join();
|
|
340
333
|
let u = options.writeUnknownFields;
|
|
@@ -344,13 +337,13 @@ class DiscordSyncChanges$Type extends MessageType<DiscordSyncChanges> {
|
|
|
344
337
|
}
|
|
345
338
|
}
|
|
346
339
|
/**
|
|
347
|
-
* @generated MessageType for protobuf message resources.jobs.DiscordSyncChanges
|
|
340
|
+
* @generated MessageType for protobuf message resources.jobs.settings.DiscordSyncChanges
|
|
348
341
|
*/
|
|
349
342
|
export const DiscordSyncChanges = new DiscordSyncChanges$Type();
|
|
350
343
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
351
344
|
class DiscordSyncChange$Type extends MessageType<DiscordSyncChange> {
|
|
352
345
|
constructor() {
|
|
353
|
-
super("resources.jobs.DiscordSyncChange", [
|
|
346
|
+
super("resources.jobs.settings.DiscordSyncChange", [
|
|
354
347
|
{ no: 1, name: "time", kind: "message", T: () => Timestamp },
|
|
355
348
|
{ no: 2, name: "plan", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
356
349
|
]);
|
|
@@ -398,19 +391,19 @@ class DiscordSyncChange$Type extends MessageType<DiscordSyncChange> {
|
|
|
398
391
|
}
|
|
399
392
|
}
|
|
400
393
|
/**
|
|
401
|
-
* @generated MessageType for protobuf message resources.jobs.DiscordSyncChange
|
|
394
|
+
* @generated MessageType for protobuf message resources.jobs.settings.DiscordSyncChange
|
|
402
395
|
*/
|
|
403
396
|
export const DiscordSyncChange = new DiscordSyncChange$Type();
|
|
404
397
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
405
398
|
class UserInfoSyncSettings$Type extends MessageType<UserInfoSyncSettings> {
|
|
406
399
|
constructor() {
|
|
407
|
-
super("resources.jobs.UserInfoSyncSettings", [
|
|
400
|
+
super("resources.jobs.settings.UserInfoSyncSettings", [
|
|
408
401
|
{ no: 1, name: "employee_role_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
409
|
-
{ no: 2, name: "employee_role_format", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
410
|
-
{ no: 3, name: "grade_role_format", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
402
|
+
{ no: 2, name: "employee_role_format", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "64" } } } },
|
|
403
|
+
{ no: 3, name: "grade_role_format", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "64" } } } },
|
|
411
404
|
{ no: 4, name: "unemployed_enabled", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
412
|
-
{ no: 5, name: "unemployed_mode", kind: "enum", T: () => ["resources.jobs.UserInfoSyncUnemployedMode", UserInfoSyncUnemployedMode, "USER_INFO_SYNC_UNEMPLOYED_MODE_"], options: { "validate.
|
|
413
|
-
{ no: 6, name: "unemployed_role_name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
405
|
+
{ no: 5, name: "unemployed_mode", kind: "enum", T: () => ["resources.jobs.settings.UserInfoSyncUnemployedMode", UserInfoSyncUnemployedMode, "USER_INFO_SYNC_UNEMPLOYED_MODE_"], options: { "buf.validate.field": { enum: { definedOnly: true } } } },
|
|
406
|
+
{ no: 6, name: "unemployed_role_name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "64" } } } },
|
|
414
407
|
{ no: 7, name: "sync_nicknames", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
|
|
415
408
|
{ no: 8, name: "group_mapping", kind: "message", repeat: 2 /*RepeatType.UNPACKED*/, T: () => GroupMapping }
|
|
416
409
|
]);
|
|
@@ -446,7 +439,7 @@ class UserInfoSyncSettings$Type extends MessageType<UserInfoSyncSettings> {
|
|
|
446
439
|
case /* bool unemployed_enabled */ 4:
|
|
447
440
|
message.unemployedEnabled = reader.bool();
|
|
448
441
|
break;
|
|
449
|
-
case /* resources.jobs.UserInfoSyncUnemployedMode unemployed_mode */ 5:
|
|
442
|
+
case /* resources.jobs.settings.UserInfoSyncUnemployedMode unemployed_mode */ 5:
|
|
450
443
|
message.unemployedMode = reader.int32();
|
|
451
444
|
break;
|
|
452
445
|
case /* string unemployed_role_name */ 6:
|
|
@@ -455,7 +448,7 @@ class UserInfoSyncSettings$Type extends MessageType<UserInfoSyncSettings> {
|
|
|
455
448
|
case /* bool sync_nicknames */ 7:
|
|
456
449
|
message.syncNicknames = reader.bool();
|
|
457
450
|
break;
|
|
458
|
-
case /* repeated resources.jobs.GroupMapping group_mapping */ 8:
|
|
451
|
+
case /* repeated resources.jobs.settings.GroupMapping group_mapping */ 8:
|
|
459
452
|
message.groupMapping.push(GroupMapping.internalBinaryRead(reader, reader.uint32(), options));
|
|
460
453
|
break;
|
|
461
454
|
default:
|
|
@@ -482,7 +475,7 @@ class UserInfoSyncSettings$Type extends MessageType<UserInfoSyncSettings> {
|
|
|
482
475
|
/* bool unemployed_enabled = 4; */
|
|
483
476
|
if (message.unemployedEnabled !== false)
|
|
484
477
|
writer.tag(4, WireType.Varint).bool(message.unemployedEnabled);
|
|
485
|
-
/* resources.jobs.UserInfoSyncUnemployedMode unemployed_mode = 5; */
|
|
478
|
+
/* resources.jobs.settings.UserInfoSyncUnemployedMode unemployed_mode = 5; */
|
|
486
479
|
if (message.unemployedMode !== 0)
|
|
487
480
|
writer.tag(5, WireType.Varint).int32(message.unemployedMode);
|
|
488
481
|
/* string unemployed_role_name = 6; */
|
|
@@ -491,7 +484,7 @@ class UserInfoSyncSettings$Type extends MessageType<UserInfoSyncSettings> {
|
|
|
491
484
|
/* bool sync_nicknames = 7; */
|
|
492
485
|
if (message.syncNicknames !== false)
|
|
493
486
|
writer.tag(7, WireType.Varint).bool(message.syncNicknames);
|
|
494
|
-
/* repeated resources.jobs.GroupMapping group_mapping = 8; */
|
|
487
|
+
/* repeated resources.jobs.settings.GroupMapping group_mapping = 8; */
|
|
495
488
|
for (let i = 0; i < message.groupMapping.length; i++)
|
|
496
489
|
GroupMapping.internalBinaryWrite(message.groupMapping[i], writer.tag(8, WireType.LengthDelimited).fork(), options).join();
|
|
497
490
|
let u = options.writeUnknownFields;
|
|
@@ -501,16 +494,16 @@ class UserInfoSyncSettings$Type extends MessageType<UserInfoSyncSettings> {
|
|
|
501
494
|
}
|
|
502
495
|
}
|
|
503
496
|
/**
|
|
504
|
-
* @generated MessageType for protobuf message resources.jobs.UserInfoSyncSettings
|
|
497
|
+
* @generated MessageType for protobuf message resources.jobs.settings.UserInfoSyncSettings
|
|
505
498
|
*/
|
|
506
499
|
export const UserInfoSyncSettings = new UserInfoSyncSettings$Type();
|
|
507
500
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
508
501
|
class GroupMapping$Type extends MessageType<GroupMapping> {
|
|
509
502
|
constructor() {
|
|
510
|
-
super("resources.jobs.GroupMapping", [
|
|
511
|
-
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
512
|
-
{ no: 2, name: "from_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.
|
|
513
|
-
{ no: 3, name: "to_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.
|
|
503
|
+
super("resources.jobs.settings.GroupMapping", [
|
|
504
|
+
{ no: 1, name: "name", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "64" } } } },
|
|
505
|
+
{ no: 2, name: "from_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gte: 0 } } } },
|
|
506
|
+
{ no: 3, name: "to_grade", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { gte: 0 } } } }
|
|
514
507
|
]);
|
|
515
508
|
}
|
|
516
509
|
create(value?: PartialMessage<GroupMapping>): GroupMapping {
|
|
@@ -564,13 +557,13 @@ class GroupMapping$Type extends MessageType<GroupMapping> {
|
|
|
564
557
|
}
|
|
565
558
|
}
|
|
566
559
|
/**
|
|
567
|
-
* @generated MessageType for protobuf message resources.jobs.GroupMapping
|
|
560
|
+
* @generated MessageType for protobuf message resources.jobs.settings.GroupMapping
|
|
568
561
|
*/
|
|
569
562
|
export const GroupMapping = new GroupMapping$Type();
|
|
570
563
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
571
564
|
class StatusLogSettings$Type extends MessageType<StatusLogSettings> {
|
|
572
565
|
constructor() {
|
|
573
|
-
super("resources.jobs.StatusLogSettings", [
|
|
566
|
+
super("resources.jobs.settings.StatusLogSettings", [
|
|
574
567
|
{ no: 1, name: "channel_id", kind: "scalar", T: 9 /*ScalarType.STRING*/ }
|
|
575
568
|
]);
|
|
576
569
|
}
|
|
@@ -611,14 +604,14 @@ class StatusLogSettings$Type extends MessageType<StatusLogSettings> {
|
|
|
611
604
|
}
|
|
612
605
|
}
|
|
613
606
|
/**
|
|
614
|
-
* @generated MessageType for protobuf message resources.jobs.StatusLogSettings
|
|
607
|
+
* @generated MessageType for protobuf message resources.jobs.settings.StatusLogSettings
|
|
615
608
|
*/
|
|
616
609
|
export const StatusLogSettings = new StatusLogSettings$Type();
|
|
617
610
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
618
611
|
class JobsAbsenceSettings$Type extends MessageType<JobsAbsenceSettings> {
|
|
619
612
|
constructor() {
|
|
620
|
-
super("resources.jobs.JobsAbsenceSettings", [
|
|
621
|
-
{ no: 1, name: "absence_role", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
613
|
+
super("resources.jobs.settings.JobsAbsenceSettings", [
|
|
614
|
+
{ no: 1, name: "absence_role", kind: "scalar", T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { string: { maxLen: "64" } } } }
|
|
622
615
|
]);
|
|
623
616
|
}
|
|
624
617
|
create(value?: PartialMessage<JobsAbsenceSettings>): JobsAbsenceSettings {
|
|
@@ -658,14 +651,14 @@ class JobsAbsenceSettings$Type extends MessageType<JobsAbsenceSettings> {
|
|
|
658
651
|
}
|
|
659
652
|
}
|
|
660
653
|
/**
|
|
661
|
-
* @generated MessageType for protobuf message resources.jobs.JobsAbsenceSettings
|
|
654
|
+
* @generated MessageType for protobuf message resources.jobs.settings.JobsAbsenceSettings
|
|
662
655
|
*/
|
|
663
656
|
export const JobsAbsenceSettings = new JobsAbsenceSettings$Type();
|
|
664
657
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
665
658
|
class GroupSyncSettings$Type extends MessageType<GroupSyncSettings> {
|
|
666
659
|
constructor() {
|
|
667
|
-
super("resources.jobs.GroupSyncSettings", [
|
|
668
|
-
{ no: 1, name: "ignored_role_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "validate.
|
|
660
|
+
super("resources.jobs.settings.GroupSyncSettings", [
|
|
661
|
+
{ no: 1, name: "ignored_role_ids", kind: "scalar", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/, options: { "buf.validate.field": { repeated: { maxItems: "25", items: { string: { maxLen: "24" } } } }, "codegen.sanitizer.sanitizer": { enabled: true, stripHtmlTags: true } } }
|
|
669
662
|
]);
|
|
670
663
|
}
|
|
671
664
|
create(value?: PartialMessage<GroupSyncSettings>): GroupSyncSettings {
|
|
@@ -705,16 +698,16 @@ class GroupSyncSettings$Type extends MessageType<GroupSyncSettings> {
|
|
|
705
698
|
}
|
|
706
699
|
}
|
|
707
700
|
/**
|
|
708
|
-
* @generated MessageType for protobuf message resources.jobs.GroupSyncSettings
|
|
701
|
+
* @generated MessageType for protobuf message resources.jobs.settings.GroupSyncSettings
|
|
709
702
|
*/
|
|
710
703
|
export const GroupSyncSettings = new GroupSyncSettings$Type();
|
|
711
704
|
// @generated message type with reflection information, may provide speed optimized methods
|
|
712
705
|
class JobSettings$Type extends MessageType<JobSettings> {
|
|
713
706
|
constructor() {
|
|
714
|
-
super("resources.jobs.JobSettings", [
|
|
715
|
-
{ no: 1, name: "absence_past_days", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.
|
|
716
|
-
{ no: 2, name: "absence_future_days", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "validate.
|
|
717
|
-
]);
|
|
707
|
+
super("resources.jobs.settings.JobSettings", [
|
|
708
|
+
{ no: 1, name: "absence_past_days", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { lte: 31, gte: 0 } } } },
|
|
709
|
+
{ no: 2, name: "absence_future_days", kind: "scalar", T: 5 /*ScalarType.INT32*/, options: { "buf.validate.field": { int32: { lte: 186, gte: 3 } } } }
|
|
710
|
+
], { "codegen.dbscanner.dbscanner": { enabled: true } });
|
|
718
711
|
}
|
|
719
712
|
create(value?: PartialMessage<JobSettings>): JobSettings {
|
|
720
713
|
const message = globalThis.Object.create((this.messagePrototype!));
|
|
@@ -760,6 +753,6 @@ class JobSettings$Type extends MessageType<JobSettings> {
|
|
|
760
753
|
}
|
|
761
754
|
}
|
|
762
755
|
/**
|
|
763
|
-
* @generated MessageType for protobuf message resources.jobs.JobSettings
|
|
756
|
+
* @generated MessageType for protobuf message resources.jobs.settings.JobSettings
|
|
764
757
|
*/
|
|
765
758
|
export const JobSettings = new JobSettings$Type();
|