@naisys/erp-shared 3.0.0-beta.4 → 3.0.0-beta.7

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.
@@ -1,276 +0,0 @@
1
- import { z } from "zod/v4";
2
- export declare const StepSchema: z.ZodObject<{
3
- id: z.ZodNumber;
4
- operationId: z.ZodNumber;
5
- seqNo: z.ZodNumber;
6
- title: z.ZodString;
7
- instructions: z.ZodString;
8
- multiSet: z.ZodBoolean;
9
- fieldCount: z.ZodOptional<z.ZodNumber>;
10
- createdAt: z.ZodISODateTime;
11
- createdBy: z.ZodString;
12
- updatedAt: z.ZodISODateTime;
13
- updatedBy: z.ZodString;
14
- fields: z.ZodObject<{
15
- items: z.ZodArray<z.ZodObject<{
16
- id: z.ZodNumber;
17
- fieldSetId: z.ZodNumber;
18
- seqNo: z.ZodNumber;
19
- label: z.ZodString;
20
- type: z.ZodEnum<{
21
- string: "string";
22
- number: "number";
23
- date: "date";
24
- datetime: "datetime";
25
- yesNo: "yesNo";
26
- checkbox: "checkbox";
27
- attachment: "attachment";
28
- }>;
29
- isArray: z.ZodBoolean;
30
- required: z.ZodBoolean;
31
- createdAt: z.ZodISODateTime;
32
- createdBy: z.ZodString;
33
- updatedAt: z.ZodISODateTime;
34
- updatedBy: z.ZodString;
35
- _links: z.ZodOptional<z.ZodArray<z.ZodObject<{
36
- rel: z.ZodString;
37
- href: z.ZodString;
38
- method: z.ZodOptional<z.ZodString>;
39
- title: z.ZodOptional<z.ZodString>;
40
- schema: z.ZodOptional<z.ZodString>;
41
- }, z.core.$strip>>>;
42
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
43
- rel: z.ZodString;
44
- href: z.ZodString;
45
- method: z.ZodString;
46
- title: z.ZodOptional<z.ZodString>;
47
- schema: z.ZodOptional<z.ZodString>;
48
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
49
- alternateEncoding: z.ZodOptional<z.ZodObject<{
50
- contentType: z.ZodString;
51
- description: z.ZodOptional<z.ZodString>;
52
- fileFields: z.ZodArray<z.ZodString>;
53
- }, z.core.$strip>>;
54
- disabled: z.ZodOptional<z.ZodBoolean>;
55
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
56
- }, z.core.$strip>>>;
57
- }, z.core.$strip>>;
58
- total: z.ZodNumber;
59
- nextSeqNo: z.ZodNumber;
60
- _links: z.ZodArray<z.ZodObject<{
61
- rel: z.ZodString;
62
- href: z.ZodString;
63
- method: z.ZodOptional<z.ZodString>;
64
- title: z.ZodOptional<z.ZodString>;
65
- schema: z.ZodOptional<z.ZodString>;
66
- }, z.core.$strip>>;
67
- _linkTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
68
- rel: z.ZodString;
69
- hrefTemplate: z.ZodString;
70
- title: z.ZodOptional<z.ZodString>;
71
- }, z.core.$strip>>>;
72
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
73
- rel: z.ZodString;
74
- href: z.ZodString;
75
- method: z.ZodString;
76
- title: z.ZodOptional<z.ZodString>;
77
- schema: z.ZodOptional<z.ZodString>;
78
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
79
- alternateEncoding: z.ZodOptional<z.ZodObject<{
80
- contentType: z.ZodString;
81
- description: z.ZodOptional<z.ZodString>;
82
- fileFields: z.ZodArray<z.ZodString>;
83
- }, z.core.$strip>>;
84
- disabled: z.ZodOptional<z.ZodBoolean>;
85
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
86
- }, z.core.$strip>>>;
87
- }, z.core.$strip>;
88
- _links: z.ZodOptional<z.ZodArray<z.ZodObject<{
89
- rel: z.ZodString;
90
- href: z.ZodString;
91
- method: z.ZodOptional<z.ZodString>;
92
- title: z.ZodOptional<z.ZodString>;
93
- schema: z.ZodOptional<z.ZodString>;
94
- }, z.core.$strip>>>;
95
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
96
- rel: z.ZodString;
97
- href: z.ZodString;
98
- method: z.ZodString;
99
- title: z.ZodOptional<z.ZodString>;
100
- schema: z.ZodOptional<z.ZodString>;
101
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
102
- alternateEncoding: z.ZodOptional<z.ZodObject<{
103
- contentType: z.ZodString;
104
- description: z.ZodOptional<z.ZodString>;
105
- fileFields: z.ZodArray<z.ZodString>;
106
- }, z.core.$strip>>;
107
- disabled: z.ZodOptional<z.ZodBoolean>;
108
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
109
- }, z.core.$strip>>>;
110
- }, z.core.$strip>;
111
- export type Step = z.infer<typeof StepSchema>;
112
- export declare const CreateStepSchema: z.ZodObject<{
113
- seqNo: z.ZodOptional<z.ZodNumber>;
114
- title: z.ZodOptional<z.ZodString>;
115
- instructions: z.ZodOptional<z.ZodString>;
116
- multiSet: z.ZodOptional<z.ZodBoolean>;
117
- }, z.core.$strict>;
118
- export type CreateStep = z.infer<typeof CreateStepSchema>;
119
- export declare const BatchCreateStepSchema: z.ZodObject<{
120
- items: z.ZodArray<z.ZodObject<{
121
- seqNo: z.ZodOptional<z.ZodNumber>;
122
- title: z.ZodOptional<z.ZodString>;
123
- instructions: z.ZodOptional<z.ZodString>;
124
- multiSet: z.ZodOptional<z.ZodBoolean>;
125
- }, z.core.$strict>>;
126
- }, z.core.$strip>;
127
- export type BatchCreateStep = z.infer<typeof BatchCreateStepSchema>;
128
- export declare const UpdateStepSchema: z.ZodObject<{
129
- seqNo: z.ZodOptional<z.ZodNumber>;
130
- title: z.ZodOptional<z.ZodString>;
131
- instructions: z.ZodOptional<z.ZodString>;
132
- multiSet: z.ZodOptional<z.ZodBoolean>;
133
- }, z.core.$strict>;
134
- export type UpdateStep = z.infer<typeof UpdateStepSchema>;
135
- export declare const StepListResponseSchema: z.ZodObject<{
136
- items: z.ZodArray<z.ZodObject<{
137
- id: z.ZodNumber;
138
- operationId: z.ZodNumber;
139
- seqNo: z.ZodNumber;
140
- title: z.ZodString;
141
- instructions: z.ZodString;
142
- multiSet: z.ZodBoolean;
143
- fieldCount: z.ZodOptional<z.ZodNumber>;
144
- createdAt: z.ZodISODateTime;
145
- createdBy: z.ZodString;
146
- updatedAt: z.ZodISODateTime;
147
- updatedBy: z.ZodString;
148
- fields: z.ZodObject<{
149
- items: z.ZodArray<z.ZodObject<{
150
- id: z.ZodNumber;
151
- fieldSetId: z.ZodNumber;
152
- seqNo: z.ZodNumber;
153
- label: z.ZodString;
154
- type: z.ZodEnum<{
155
- string: "string";
156
- number: "number";
157
- date: "date";
158
- datetime: "datetime";
159
- yesNo: "yesNo";
160
- checkbox: "checkbox";
161
- attachment: "attachment";
162
- }>;
163
- isArray: z.ZodBoolean;
164
- required: z.ZodBoolean;
165
- createdAt: z.ZodISODateTime;
166
- createdBy: z.ZodString;
167
- updatedAt: z.ZodISODateTime;
168
- updatedBy: z.ZodString;
169
- _links: z.ZodOptional<z.ZodArray<z.ZodObject<{
170
- rel: z.ZodString;
171
- href: z.ZodString;
172
- method: z.ZodOptional<z.ZodString>;
173
- title: z.ZodOptional<z.ZodString>;
174
- schema: z.ZodOptional<z.ZodString>;
175
- }, z.core.$strip>>>;
176
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
177
- rel: z.ZodString;
178
- href: z.ZodString;
179
- method: z.ZodString;
180
- title: z.ZodOptional<z.ZodString>;
181
- schema: z.ZodOptional<z.ZodString>;
182
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
183
- alternateEncoding: z.ZodOptional<z.ZodObject<{
184
- contentType: z.ZodString;
185
- description: z.ZodOptional<z.ZodString>;
186
- fileFields: z.ZodArray<z.ZodString>;
187
- }, z.core.$strip>>;
188
- disabled: z.ZodOptional<z.ZodBoolean>;
189
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
190
- }, z.core.$strip>>>;
191
- }, z.core.$strip>>;
192
- total: z.ZodNumber;
193
- nextSeqNo: z.ZodNumber;
194
- _links: z.ZodArray<z.ZodObject<{
195
- rel: z.ZodString;
196
- href: z.ZodString;
197
- method: z.ZodOptional<z.ZodString>;
198
- title: z.ZodOptional<z.ZodString>;
199
- schema: z.ZodOptional<z.ZodString>;
200
- }, z.core.$strip>>;
201
- _linkTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
202
- rel: z.ZodString;
203
- hrefTemplate: z.ZodString;
204
- title: z.ZodOptional<z.ZodString>;
205
- }, z.core.$strip>>>;
206
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
207
- rel: z.ZodString;
208
- href: z.ZodString;
209
- method: z.ZodString;
210
- title: z.ZodOptional<z.ZodString>;
211
- schema: z.ZodOptional<z.ZodString>;
212
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
213
- alternateEncoding: z.ZodOptional<z.ZodObject<{
214
- contentType: z.ZodString;
215
- description: z.ZodOptional<z.ZodString>;
216
- fileFields: z.ZodArray<z.ZodString>;
217
- }, z.core.$strip>>;
218
- disabled: z.ZodOptional<z.ZodBoolean>;
219
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
220
- }, z.core.$strip>>>;
221
- }, z.core.$strip>;
222
- _links: z.ZodOptional<z.ZodArray<z.ZodObject<{
223
- rel: z.ZodString;
224
- href: z.ZodString;
225
- method: z.ZodOptional<z.ZodString>;
226
- title: z.ZodOptional<z.ZodString>;
227
- schema: z.ZodOptional<z.ZodString>;
228
- }, z.core.$strip>>>;
229
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
230
- rel: z.ZodString;
231
- href: z.ZodString;
232
- method: z.ZodString;
233
- title: z.ZodOptional<z.ZodString>;
234
- schema: z.ZodOptional<z.ZodString>;
235
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
236
- alternateEncoding: z.ZodOptional<z.ZodObject<{
237
- contentType: z.ZodString;
238
- description: z.ZodOptional<z.ZodString>;
239
- fileFields: z.ZodArray<z.ZodString>;
240
- }, z.core.$strip>>;
241
- disabled: z.ZodOptional<z.ZodBoolean>;
242
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
243
- }, z.core.$strip>>>;
244
- }, z.core.$strip>>;
245
- total: z.ZodNumber;
246
- nextSeqNo: z.ZodNumber;
247
- _links: z.ZodArray<z.ZodObject<{
248
- rel: z.ZodString;
249
- href: z.ZodString;
250
- method: z.ZodOptional<z.ZodString>;
251
- title: z.ZodOptional<z.ZodString>;
252
- schema: z.ZodOptional<z.ZodString>;
253
- }, z.core.$strip>>;
254
- _linkTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
255
- rel: z.ZodString;
256
- hrefTemplate: z.ZodString;
257
- title: z.ZodOptional<z.ZodString>;
258
- }, z.core.$strip>>>;
259
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
260
- rel: z.ZodString;
261
- href: z.ZodString;
262
- method: z.ZodString;
263
- title: z.ZodOptional<z.ZodString>;
264
- schema: z.ZodOptional<z.ZodString>;
265
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
266
- alternateEncoding: z.ZodOptional<z.ZodObject<{
267
- contentType: z.ZodString;
268
- description: z.ZodOptional<z.ZodString>;
269
- fileFields: z.ZodArray<z.ZodString>;
270
- }, z.core.$strip>>;
271
- disabled: z.ZodOptional<z.ZodBoolean>;
272
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
273
- }, z.core.$strip>>>;
274
- }, z.core.$strip>;
275
- export type StepListResponse = z.infer<typeof StepListResponseSchema>;
276
- //# sourceMappingURL=step-types.d.ts.map
@@ -1,109 +0,0 @@
1
- import { z } from "zod/v4";
2
- export declare const ErpPermissionEnum: z.ZodEnum<{
3
- erp_admin: "erp_admin";
4
- order_planner: "order_planner";
5
- order_executor: "order_executor";
6
- order_manager: "order_manager";
7
- item_manager: "item_manager";
8
- }>;
9
- export type ErpPermission = z.infer<typeof ErpPermissionEnum>;
10
- export declare const ErpPermission: {
11
- erp_admin: "erp_admin";
12
- order_planner: "order_planner";
13
- order_executor: "order_executor";
14
- order_manager: "order_manager";
15
- item_manager: "item_manager";
16
- };
17
- export declare const CreateUserSchema: z.ZodObject<{
18
- username: z.ZodString;
19
- password: z.ZodString;
20
- }, z.core.$strict>;
21
- export type CreateUser = z.infer<typeof CreateUserSchema>;
22
- export declare const UpdateUserSchema: z.ZodObject<{
23
- username: z.ZodOptional<z.ZodString>;
24
- password: z.ZodOptional<z.ZodString>;
25
- }, z.core.$strict>;
26
- export type UpdateUser = z.infer<typeof UpdateUserSchema>;
27
- export declare const GrantPermissionSchema: z.ZodObject<{
28
- permission: z.ZodEnum<{
29
- erp_admin: "erp_admin";
30
- order_planner: "order_planner";
31
- order_executor: "order_executor";
32
- order_manager: "order_manager";
33
- item_manager: "item_manager";
34
- }>;
35
- }, z.core.$strict>;
36
- export type GrantPermission = z.infer<typeof GrantPermissionSchema>;
37
- export declare const CreateAgentUserSchema: z.ZodObject<{
38
- agentId: z.ZodNumber;
39
- }, z.core.$strict>;
40
- export type CreateAgentUser = z.infer<typeof CreateAgentUserSchema>;
41
- export declare const ChangePasswordSchema: z.ZodObject<{
42
- password: z.ZodString;
43
- }, z.core.$strict>;
44
- export type ChangePassword = z.infer<typeof ChangePasswordSchema>;
45
- export declare const UserPermissionSchema: z.ZodObject<{
46
- permission: z.ZodEnum<{
47
- erp_admin: "erp_admin";
48
- order_planner: "order_planner";
49
- order_executor: "order_executor";
50
- order_manager: "order_manager";
51
- item_manager: "item_manager";
52
- }>;
53
- grantedAt: z.ZodString;
54
- grantedBy: z.ZodNullable<z.ZodNumber>;
55
- _actions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
56
- }, z.core.$strip>;
57
- export declare const UserSchema: z.ZodObject<{
58
- id: z.ZodNumber;
59
- username: z.ZodString;
60
- isAgent: z.ZodBoolean;
61
- createdAt: z.ZodString;
62
- updatedAt: z.ZodString;
63
- apiKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
64
- permissions: z.ZodArray<z.ZodObject<{
65
- permission: z.ZodEnum<{
66
- erp_admin: "erp_admin";
67
- order_planner: "order_planner";
68
- order_executor: "order_executor";
69
- order_manager: "order_manager";
70
- item_manager: "item_manager";
71
- }>;
72
- grantedAt: z.ZodString;
73
- grantedBy: z.ZodNullable<z.ZodNumber>;
74
- _actions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
75
- }, z.core.$strip>>;
76
- _links: z.ZodOptional<z.ZodArray<z.ZodAny>>;
77
- _actions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
78
- }, z.core.$strip>;
79
- export type User = z.infer<typeof UserSchema>;
80
- export declare const UserListItemSchema: z.ZodObject<{
81
- id: z.ZodNumber;
82
- username: z.ZodString;
83
- isAgent: z.ZodBoolean;
84
- createdAt: z.ZodString;
85
- permissionCount: z.ZodNumber;
86
- }, z.core.$strip>;
87
- export type UserListItem = z.infer<typeof UserListItemSchema>;
88
- export declare const UserListResponseSchema: z.ZodObject<{
89
- items: z.ZodArray<z.ZodObject<{
90
- id: z.ZodNumber;
91
- username: z.ZodString;
92
- isAgent: z.ZodBoolean;
93
- createdAt: z.ZodString;
94
- permissionCount: z.ZodNumber;
95
- }, z.core.$strip>>;
96
- total: z.ZodNumber;
97
- page: z.ZodNumber;
98
- pageSize: z.ZodNumber;
99
- _links: z.ZodOptional<z.ZodArray<z.ZodAny>>;
100
- _linkTemplates: z.ZodOptional<z.ZodArray<z.ZodAny>>;
101
- _actions: z.ZodOptional<z.ZodArray<z.ZodAny>>;
102
- }, z.core.$strip>;
103
- export type UserListResponse = z.infer<typeof UserListResponseSchema>;
104
- export declare const UserListQuerySchema: z.ZodObject<{
105
- page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
106
- pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
107
- search: z.ZodOptional<z.ZodString>;
108
- }, z.core.$strip>;
109
- //# sourceMappingURL=user-types.d.ts.map
@@ -1,151 +0,0 @@
1
- import { z } from "zod/v4";
2
- export declare const WorkCenterUserSchema: z.ZodObject<{
3
- userId: z.ZodNumber;
4
- username: z.ZodString;
5
- createdAt: z.ZodString;
6
- createdBy: z.ZodNullable<z.ZodString>;
7
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
8
- rel: z.ZodString;
9
- href: z.ZodString;
10
- method: z.ZodString;
11
- title: z.ZodOptional<z.ZodString>;
12
- schema: z.ZodOptional<z.ZodString>;
13
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
14
- alternateEncoding: z.ZodOptional<z.ZodObject<{
15
- contentType: z.ZodString;
16
- description: z.ZodOptional<z.ZodString>;
17
- fileFields: z.ZodArray<z.ZodString>;
18
- }, z.core.$strip>>;
19
- disabled: z.ZodOptional<z.ZodBoolean>;
20
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
21
- }, z.core.$strip>>>;
22
- }, z.core.$strip>;
23
- export type WorkCenterUserItem = z.infer<typeof WorkCenterUserSchema>;
24
- export declare const WorkCenterSchema: z.ZodObject<{
25
- id: z.ZodNumber;
26
- key: z.ZodString;
27
- description: z.ZodString;
28
- userAssignments: z.ZodArray<z.ZodObject<{
29
- userId: z.ZodNumber;
30
- username: z.ZodString;
31
- createdAt: z.ZodString;
32
- createdBy: z.ZodNullable<z.ZodString>;
33
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
- rel: z.ZodString;
35
- href: z.ZodString;
36
- method: z.ZodString;
37
- title: z.ZodOptional<z.ZodString>;
38
- schema: z.ZodOptional<z.ZodString>;
39
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
40
- alternateEncoding: z.ZodOptional<z.ZodObject<{
41
- contentType: z.ZodString;
42
- description: z.ZodOptional<z.ZodString>;
43
- fileFields: z.ZodArray<z.ZodString>;
44
- }, z.core.$strip>>;
45
- disabled: z.ZodOptional<z.ZodBoolean>;
46
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
47
- }, z.core.$strip>>>;
48
- }, z.core.$strip>>;
49
- createdAt: z.ZodISODateTime;
50
- createdBy: z.ZodString;
51
- updatedAt: z.ZodISODateTime;
52
- updatedBy: z.ZodString;
53
- _links: z.ZodArray<z.ZodObject<{
54
- rel: z.ZodString;
55
- href: z.ZodString;
56
- method: z.ZodOptional<z.ZodString>;
57
- title: z.ZodOptional<z.ZodString>;
58
- schema: z.ZodOptional<z.ZodString>;
59
- }, z.core.$strip>>;
60
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
61
- rel: z.ZodString;
62
- href: z.ZodString;
63
- method: z.ZodString;
64
- title: z.ZodOptional<z.ZodString>;
65
- schema: z.ZodOptional<z.ZodString>;
66
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
67
- alternateEncoding: z.ZodOptional<z.ZodObject<{
68
- contentType: z.ZodString;
69
- description: z.ZodOptional<z.ZodString>;
70
- fileFields: z.ZodArray<z.ZodString>;
71
- }, z.core.$strip>>;
72
- disabled: z.ZodOptional<z.ZodBoolean>;
73
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
74
- }, z.core.$strip>>>;
75
- }, z.core.$strip>;
76
- export type WorkCenter = z.infer<typeof WorkCenterSchema>;
77
- export declare const CreateWorkCenterSchema: z.ZodObject<{
78
- key: z.ZodString;
79
- description: z.ZodDefault<z.ZodOptional<z.ZodString>>;
80
- }, z.core.$strict>;
81
- export type CreateWorkCenter = z.infer<typeof CreateWorkCenterSchema>;
82
- export declare const UpdateWorkCenterSchema: z.ZodObject<{
83
- key: z.ZodOptional<z.ZodString>;
84
- description: z.ZodOptional<z.ZodString>;
85
- }, z.core.$strict>;
86
- export type UpdateWorkCenter = z.infer<typeof UpdateWorkCenterSchema>;
87
- export declare const AssignWorkCenterUserSchema: z.ZodObject<{
88
- username: z.ZodString;
89
- }, z.core.$strict>;
90
- export type AssignWorkCenterUser = z.infer<typeof AssignWorkCenterUserSchema>;
91
- export declare const WorkCenterListQuerySchema: z.ZodObject<{
92
- page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
93
- pageSize: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
94
- search: z.ZodOptional<z.ZodString>;
95
- }, z.core.$strip>;
96
- export type WorkCenterListQuery = z.infer<typeof WorkCenterListQuerySchema>;
97
- export declare const WorkCenterListItemSchema: z.ZodObject<{
98
- id: z.ZodNumber;
99
- key: z.ZodString;
100
- description: z.ZodString;
101
- userCount: z.ZodNumber;
102
- createdAt: z.ZodISODateTime;
103
- createdBy: z.ZodString;
104
- updatedAt: z.ZodISODateTime;
105
- updatedBy: z.ZodString;
106
- }, z.core.$strip>;
107
- export type WorkCenterListItem = z.infer<typeof WorkCenterListItemSchema>;
108
- export declare const WorkCenterListResponseSchema: z.ZodObject<{
109
- items: z.ZodArray<z.ZodObject<{
110
- id: z.ZodNumber;
111
- key: z.ZodString;
112
- description: z.ZodString;
113
- userCount: z.ZodNumber;
114
- createdAt: z.ZodISODateTime;
115
- createdBy: z.ZodString;
116
- updatedAt: z.ZodISODateTime;
117
- updatedBy: z.ZodString;
118
- }, z.core.$strip>>;
119
- total: z.ZodNumber;
120
- page: z.ZodNumber;
121
- pageSize: z.ZodNumber;
122
- _links: z.ZodArray<z.ZodObject<{
123
- rel: z.ZodString;
124
- href: z.ZodString;
125
- method: z.ZodOptional<z.ZodString>;
126
- title: z.ZodOptional<z.ZodString>;
127
- schema: z.ZodOptional<z.ZodString>;
128
- }, z.core.$strip>>;
129
- _linkTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
130
- rel: z.ZodString;
131
- hrefTemplate: z.ZodString;
132
- title: z.ZodOptional<z.ZodString>;
133
- }, z.core.$strip>>>;
134
- _actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
135
- rel: z.ZodString;
136
- href: z.ZodString;
137
- method: z.ZodString;
138
- title: z.ZodOptional<z.ZodString>;
139
- schema: z.ZodOptional<z.ZodString>;
140
- body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
141
- alternateEncoding: z.ZodOptional<z.ZodObject<{
142
- contentType: z.ZodString;
143
- description: z.ZodOptional<z.ZodString>;
144
- fileFields: z.ZodArray<z.ZodString>;
145
- }, z.core.$strip>>;
146
- disabled: z.ZodOptional<z.ZodBoolean>;
147
- disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
148
- }, z.core.$strip>>>;
149
- }, z.core.$strip>;
150
- export type WorkCenterListResponse = z.infer<typeof WorkCenterListResponseSchema>;
151
- //# sourceMappingURL=work-center-types.d.ts.map