@naisys/supervisor-shared 3.0.0-beta.4 → 3.0.0-beta.6
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/package.json +5 -3
- package/dist/admin-types.d.ts +0 -103
- package/dist/agent-config-types.d.ts +0 -194
- package/dist/agents-types.d.ts +0 -332
- package/dist/api-types.d.ts +0 -5
- package/dist/auth-types.d.ts +0 -26
- package/dist/chat-types.d.ts +0 -125
- package/dist/controls-types.d.ts +0 -2
- package/dist/costs-types.d.ts +0 -38
- package/dist/error-types.d.ts +0 -7
- package/dist/index.d.ts +0 -16
- package/dist/log-types.d.ts +0 -55
- package/dist/mail-types.d.ts +0 -140
- package/dist/models-types.d.ts +0 -142
- package/dist/runs-types.d.ts +0 -105
- package/dist/status-types.d.ts +0 -32
- package/dist/user-types.d.ts +0 -42
- package/dist/variables-types.d.ts +0 -50
package/dist/user-types.d.ts
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const PermissionEnum: z.ZodEnum<{
|
|
3
|
-
supervisor_admin: "supervisor_admin";
|
|
4
|
-
manage_agents: "manage_agents";
|
|
5
|
-
manage_hosts: "manage_hosts";
|
|
6
|
-
agent_communication: "agent_communication";
|
|
7
|
-
manage_models: "manage_models";
|
|
8
|
-
manage_variables: "manage_variables";
|
|
9
|
-
view_run_logs: "view_run_logs";
|
|
10
|
-
}>;
|
|
11
|
-
export type Permission = z.infer<typeof PermissionEnum>;
|
|
12
|
-
export declare const CreateUserSchema: z.ZodObject<{
|
|
13
|
-
username: z.ZodString;
|
|
14
|
-
password: z.ZodString;
|
|
15
|
-
}, z.core.$strict>;
|
|
16
|
-
export type CreateUser = z.infer<typeof CreateUserSchema>;
|
|
17
|
-
export declare const UpdateUserSchema: z.ZodObject<{
|
|
18
|
-
username: z.ZodOptional<z.ZodString>;
|
|
19
|
-
password: z.ZodOptional<z.ZodString>;
|
|
20
|
-
}, z.core.$strict>;
|
|
21
|
-
export type UpdateUser = z.infer<typeof UpdateUserSchema>;
|
|
22
|
-
export declare const GrantPermissionSchema: z.ZodObject<{
|
|
23
|
-
permission: z.ZodEnum<{
|
|
24
|
-
supervisor_admin: "supervisor_admin";
|
|
25
|
-
manage_agents: "manage_agents";
|
|
26
|
-
manage_hosts: "manage_hosts";
|
|
27
|
-
agent_communication: "agent_communication";
|
|
28
|
-
manage_models: "manage_models";
|
|
29
|
-
manage_variables: "manage_variables";
|
|
30
|
-
view_run_logs: "view_run_logs";
|
|
31
|
-
}>;
|
|
32
|
-
}, z.core.$strict>;
|
|
33
|
-
export type GrantPermission = z.infer<typeof GrantPermissionSchema>;
|
|
34
|
-
export declare const ChangePasswordSchema: z.ZodObject<{
|
|
35
|
-
password: z.ZodString;
|
|
36
|
-
}, z.core.$strict>;
|
|
37
|
-
export type ChangePassword = z.infer<typeof ChangePasswordSchema>;
|
|
38
|
-
export declare const CreateAgentUserSchema: z.ZodObject<{
|
|
39
|
-
agentId: z.ZodNumber;
|
|
40
|
-
}, z.core.$strict>;
|
|
41
|
-
export type CreateAgentUser = z.infer<typeof CreateAgentUserSchema>;
|
|
42
|
-
//# sourceMappingURL=user-types.d.ts.map
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const VariableSchema: z.ZodObject<{
|
|
3
|
-
key: z.ZodString;
|
|
4
|
-
value: z.ZodString;
|
|
5
|
-
exportToShell: z.ZodBoolean;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
-
export type Variable = z.infer<typeof VariableSchema>;
|
|
8
|
-
export declare const VariablesResponseSchema: z.ZodObject<{
|
|
9
|
-
items: z.ZodArray<z.ZodObject<{
|
|
10
|
-
key: z.ZodString;
|
|
11
|
-
value: z.ZodString;
|
|
12
|
-
exportToShell: z.ZodBoolean;
|
|
13
|
-
}, z.core.$strip>>;
|
|
14
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15
|
-
rel: z.ZodString;
|
|
16
|
-
href: z.ZodString;
|
|
17
|
-
method: z.ZodString;
|
|
18
|
-
title: z.ZodOptional<z.ZodString>;
|
|
19
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
20
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
21
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
22
|
-
contentType: z.ZodString;
|
|
23
|
-
description: z.ZodOptional<z.ZodString>;
|
|
24
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
25
|
-
}, z.core.$strip>>;
|
|
26
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
28
|
-
}, z.core.$strip>>>;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
export type VariablesResponse = z.infer<typeof VariablesResponseSchema>;
|
|
31
|
-
export declare const SaveVariableRequestSchema: z.ZodObject<{
|
|
32
|
-
value: z.ZodString;
|
|
33
|
-
exportToShell: z.ZodBoolean;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
|
-
export type SaveVariableRequest = z.infer<typeof SaveVariableRequestSchema>;
|
|
36
|
-
export declare const SaveVariableResponseSchema: z.ZodObject<{
|
|
37
|
-
success: z.ZodBoolean;
|
|
38
|
-
message: z.ZodString;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
export type SaveVariableResponse = z.infer<typeof SaveVariableResponseSchema>;
|
|
41
|
-
export declare const DeleteVariableParamsSchema: z.ZodObject<{
|
|
42
|
-
key: z.ZodString;
|
|
43
|
-
}, z.core.$strip>;
|
|
44
|
-
export type DeleteVariableParams = z.infer<typeof DeleteVariableParamsSchema>;
|
|
45
|
-
export declare const DeleteVariableResponseSchema: z.ZodObject<{
|
|
46
|
-
success: z.ZodBoolean;
|
|
47
|
-
message: z.ZodString;
|
|
48
|
-
}, z.core.$strip>;
|
|
49
|
-
export type DeleteVariableResponse = z.infer<typeof DeleteVariableResponseSchema>;
|
|
50
|
-
//# sourceMappingURL=variables-types.d.ts.map
|