@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/package.json
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naisys/supervisor-shared",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.6",
|
|
4
4
|
"description": "[internal] NAISYS Supervisor shared types and validation schemas",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
7
7
|
"dist",
|
|
8
|
-
"!dist/**/*.map"
|
|
8
|
+
"!dist/**/*.map",
|
|
9
|
+
"!dist/**/*.d.ts",
|
|
10
|
+
"!dist/**/*.d.ts.map"
|
|
9
11
|
],
|
|
10
12
|
"scripts": {
|
|
11
13
|
"clean": "rimraf dist",
|
|
@@ -18,7 +20,7 @@
|
|
|
18
20
|
"typescript": "^5.9.3"
|
|
19
21
|
},
|
|
20
22
|
"dependencies": {
|
|
21
|
-
"@naisys/common": "3.0.0-beta.
|
|
23
|
+
"@naisys/common": "3.0.0-beta.6",
|
|
22
24
|
"zod": "^4.3.6"
|
|
23
25
|
},
|
|
24
26
|
"exports": {
|
package/dist/admin-types.d.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const AdminInfoResponseSchema: z.ZodObject<{
|
|
3
|
-
supervisorDbPath: z.ZodString;
|
|
4
|
-
supervisorDbSize: z.ZodOptional<z.ZodNumber>;
|
|
5
|
-
hubDbPath: z.ZodString;
|
|
6
|
-
hubDbSize: z.ZodOptional<z.ZodNumber>;
|
|
7
|
-
hubConnected: z.ZodBoolean;
|
|
8
|
-
hubAccessKey: z.ZodOptional<z.ZodString>;
|
|
9
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10
|
-
rel: z.ZodString;
|
|
11
|
-
href: z.ZodString;
|
|
12
|
-
method: z.ZodString;
|
|
13
|
-
title: z.ZodOptional<z.ZodString>;
|
|
14
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
15
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
17
|
-
contentType: z.ZodString;
|
|
18
|
-
description: z.ZodOptional<z.ZodString>;
|
|
19
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
20
|
-
}, z.core.$strip>>;
|
|
21
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
23
|
-
}, z.core.$strip>>>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export type AdminInfoResponse = z.infer<typeof AdminInfoResponseSchema>;
|
|
26
|
-
export declare const AdminAttachmentItemSchema: z.ZodObject<{
|
|
27
|
-
id: z.ZodString;
|
|
28
|
-
filename: z.ZodString;
|
|
29
|
-
fileSize: z.ZodNumber;
|
|
30
|
-
fileHash: z.ZodString;
|
|
31
|
-
purpose: z.ZodString;
|
|
32
|
-
uploadedBy: z.ZodString;
|
|
33
|
-
createdAt: z.ZodString;
|
|
34
|
-
}, z.core.$strip>;
|
|
35
|
-
export type AdminAttachmentItem = z.infer<typeof AdminAttachmentItemSchema>;
|
|
36
|
-
export declare const AdminAttachmentListRequestSchema: z.ZodObject<{
|
|
37
|
-
page: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
38
|
-
pageSize: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
export type AdminAttachmentListRequest = z.infer<typeof AdminAttachmentListRequestSchema>;
|
|
41
|
-
export declare const AdminAttachmentListResponseSchema: z.ZodObject<{
|
|
42
|
-
attachments: z.ZodArray<z.ZodObject<{
|
|
43
|
-
id: z.ZodString;
|
|
44
|
-
filename: z.ZodString;
|
|
45
|
-
fileSize: z.ZodNumber;
|
|
46
|
-
fileHash: z.ZodString;
|
|
47
|
-
purpose: z.ZodString;
|
|
48
|
-
uploadedBy: z.ZodString;
|
|
49
|
-
createdAt: z.ZodString;
|
|
50
|
-
}, z.core.$strip>>;
|
|
51
|
-
total: z.ZodNumber;
|
|
52
|
-
page: z.ZodNumber;
|
|
53
|
-
pageSize: z.ZodNumber;
|
|
54
|
-
_links: z.ZodArray<z.ZodObject<{
|
|
55
|
-
rel: z.ZodString;
|
|
56
|
-
href: z.ZodString;
|
|
57
|
-
method: z.ZodOptional<z.ZodString>;
|
|
58
|
-
title: z.ZodOptional<z.ZodString>;
|
|
59
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
60
|
-
}, z.core.$strip>>;
|
|
61
|
-
}, z.core.$strip>;
|
|
62
|
-
export type AdminAttachmentListResponse = z.infer<typeof AdminAttachmentListResponseSchema>;
|
|
63
|
-
export declare const RotateAccessKeyResultSchema: z.ZodObject<{
|
|
64
|
-
success: z.ZodBoolean;
|
|
65
|
-
newAccessKey: z.ZodOptional<z.ZodString>;
|
|
66
|
-
error: z.ZodOptional<z.ZodString>;
|
|
67
|
-
}, z.core.$strip>;
|
|
68
|
-
export type RotateAccessKeyResult = z.infer<typeof RotateAccessKeyResultSchema>;
|
|
69
|
-
export declare const ServerLogFileSchema: z.ZodEnum<{
|
|
70
|
-
supervisor: "supervisor";
|
|
71
|
-
"hub-server": "hub-server";
|
|
72
|
-
"hub-client": "hub-client";
|
|
73
|
-
}>;
|
|
74
|
-
export type ServerLogFile = z.infer<typeof ServerLogFileSchema>;
|
|
75
|
-
export declare const ServerLogRequestSchema: z.ZodObject<{
|
|
76
|
-
file: z.ZodEnum<{
|
|
77
|
-
supervisor: "supervisor";
|
|
78
|
-
"hub-server": "hub-server";
|
|
79
|
-
"hub-client": "hub-client";
|
|
80
|
-
}>;
|
|
81
|
-
lines: z.ZodDefault<z.ZodOptional<z.ZodCoercedNumber<unknown>>>;
|
|
82
|
-
minLevel: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
83
|
-
}, z.core.$strip>;
|
|
84
|
-
export type ServerLogRequest = z.infer<typeof ServerLogRequestSchema>;
|
|
85
|
-
export declare const PinoLogEntrySchema: z.ZodObject<{
|
|
86
|
-
level: z.ZodNumber;
|
|
87
|
-
time: z.ZodNumber;
|
|
88
|
-
msg: z.ZodString;
|
|
89
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
export type PinoLogEntry = z.infer<typeof PinoLogEntrySchema>;
|
|
92
|
-
export declare const ServerLogResponseSchema: z.ZodObject<{
|
|
93
|
-
entries: z.ZodArray<z.ZodObject<{
|
|
94
|
-
level: z.ZodNumber;
|
|
95
|
-
time: z.ZodNumber;
|
|
96
|
-
msg: z.ZodString;
|
|
97
|
-
detail: z.ZodOptional<z.ZodString>;
|
|
98
|
-
}, z.core.$strip>>;
|
|
99
|
-
fileName: z.ZodString;
|
|
100
|
-
fileSize: z.ZodOptional<z.ZodNumber>;
|
|
101
|
-
}, z.core.$strip>;
|
|
102
|
-
export type ServerLogResponse = z.infer<typeof ServerLogResponseSchema>;
|
|
103
|
-
//# sourceMappingURL=admin-types.d.ts.map
|
|
@@ -1,194 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const CreateAgentConfigRequestSchema: z.ZodObject<{
|
|
3
|
-
name: z.ZodString;
|
|
4
|
-
title: z.ZodOptional<z.ZodString>;
|
|
5
|
-
}, z.core.$strict>;
|
|
6
|
-
export declare const CreateAgentConfigResponseSchema: z.ZodObject<{
|
|
7
|
-
success: z.ZodBoolean;
|
|
8
|
-
message: z.ZodString;
|
|
9
|
-
name: z.ZodOptional<z.ZodString>;
|
|
10
|
-
_links: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11
|
-
rel: z.ZodString;
|
|
12
|
-
href: z.ZodString;
|
|
13
|
-
method: z.ZodOptional<z.ZodString>;
|
|
14
|
-
title: z.ZodOptional<z.ZodString>;
|
|
15
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>>>;
|
|
17
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18
|
-
rel: z.ZodString;
|
|
19
|
-
href: z.ZodString;
|
|
20
|
-
method: z.ZodString;
|
|
21
|
-
title: z.ZodOptional<z.ZodString>;
|
|
22
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
23
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
24
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
25
|
-
contentType: z.ZodString;
|
|
26
|
-
description: z.ZodOptional<z.ZodString>;
|
|
27
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
28
|
-
}, z.core.$strip>>;
|
|
29
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
30
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
31
|
-
}, z.core.$strip>>>;
|
|
32
|
-
}, z.core.$strip>;
|
|
33
|
-
export declare const UpdateAgentConfigRequestSchema: z.ZodObject<{
|
|
34
|
-
config: z.ZodObject<{
|
|
35
|
-
username: z.ZodString;
|
|
36
|
-
title: z.ZodString;
|
|
37
|
-
agentPrompt: z.ZodString;
|
|
38
|
-
spendLimitDollars: z.ZodOptional<z.ZodNumber>;
|
|
39
|
-
spendLimitHours: z.ZodOptional<z.ZodNumber>;
|
|
40
|
-
tokenMax: z.ZodNumber;
|
|
41
|
-
shellModel: z.ZodString;
|
|
42
|
-
imageModel: z.ZodOptional<z.ZodString>;
|
|
43
|
-
mailEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
-
chatEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
45
|
-
webEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
46
|
-
completeSessionEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
47
|
-
debugPauseSeconds: z.ZodOptional<z.ZodNumber>;
|
|
48
|
-
wakeOnMessage: z.ZodOptional<z.ZodBoolean>;
|
|
49
|
-
commandProtection: z.ZodOptional<z.ZodEnum<{
|
|
50
|
-
none: "none";
|
|
51
|
-
manual: "manual";
|
|
52
|
-
"semi-auto": "semi-auto";
|
|
53
|
-
auto: "auto";
|
|
54
|
-
}>>;
|
|
55
|
-
initialCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
56
|
-
multipleCommandsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
-
workspacesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
58
|
-
controlDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
59
|
-
}, z.core.$strip>;
|
|
60
|
-
}, z.core.$strict>;
|
|
61
|
-
export declare const UpdateAgentConfigResponseSchema: z.ZodObject<{
|
|
62
|
-
success: z.ZodBoolean;
|
|
63
|
-
message: z.ZodString;
|
|
64
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
65
|
-
username: z.ZodString;
|
|
66
|
-
title: z.ZodString;
|
|
67
|
-
agentPrompt: z.ZodString;
|
|
68
|
-
spendLimitDollars: z.ZodOptional<z.ZodNumber>;
|
|
69
|
-
spendLimitHours: z.ZodOptional<z.ZodNumber>;
|
|
70
|
-
tokenMax: z.ZodNumber;
|
|
71
|
-
shellModel: z.ZodString;
|
|
72
|
-
imageModel: z.ZodOptional<z.ZodString>;
|
|
73
|
-
mailEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
74
|
-
chatEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
75
|
-
webEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
-
completeSessionEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
77
|
-
debugPauseSeconds: z.ZodOptional<z.ZodNumber>;
|
|
78
|
-
wakeOnMessage: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
-
commandProtection: z.ZodOptional<z.ZodEnum<{
|
|
80
|
-
none: "none";
|
|
81
|
-
manual: "manual";
|
|
82
|
-
"semi-auto": "semi-auto";
|
|
83
|
-
auto: "auto";
|
|
84
|
-
}>>;
|
|
85
|
-
initialCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
86
|
-
multipleCommandsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
87
|
-
workspacesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
controlDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
89
|
-
}, z.core.$strip>>;
|
|
90
|
-
}, z.core.$strip>;
|
|
91
|
-
export declare const ImportAgentConfigRequestSchema: z.ZodObject<{
|
|
92
|
-
yaml: z.ZodString;
|
|
93
|
-
}, z.core.$strict>;
|
|
94
|
-
export declare const ImportAgentConfigResponseSchema: z.ZodObject<{
|
|
95
|
-
success: z.ZodBoolean;
|
|
96
|
-
message: z.ZodString;
|
|
97
|
-
config: z.ZodOptional<z.ZodObject<{
|
|
98
|
-
username: z.ZodString;
|
|
99
|
-
title: z.ZodString;
|
|
100
|
-
agentPrompt: z.ZodString;
|
|
101
|
-
spendLimitDollars: z.ZodOptional<z.ZodNumber>;
|
|
102
|
-
spendLimitHours: z.ZodOptional<z.ZodNumber>;
|
|
103
|
-
tokenMax: z.ZodNumber;
|
|
104
|
-
shellModel: z.ZodString;
|
|
105
|
-
imageModel: z.ZodOptional<z.ZodString>;
|
|
106
|
-
mailEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
107
|
-
chatEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
108
|
-
webEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
109
|
-
completeSessionEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
110
|
-
debugPauseSeconds: z.ZodOptional<z.ZodNumber>;
|
|
111
|
-
wakeOnMessage: z.ZodOptional<z.ZodBoolean>;
|
|
112
|
-
commandProtection: z.ZodOptional<z.ZodEnum<{
|
|
113
|
-
none: "none";
|
|
114
|
-
manual: "manual";
|
|
115
|
-
"semi-auto": "semi-auto";
|
|
116
|
-
auto: "auto";
|
|
117
|
-
}>>;
|
|
118
|
-
initialCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
119
|
-
multipleCommandsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
120
|
-
workspacesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
121
|
-
controlDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
122
|
-
}, z.core.$strip>>;
|
|
123
|
-
}, z.core.$strip>;
|
|
124
|
-
export declare const GetAgentConfigResponseSchema: z.ZodObject<{
|
|
125
|
-
config: z.ZodObject<{
|
|
126
|
-
username: z.ZodString;
|
|
127
|
-
title: z.ZodString;
|
|
128
|
-
agentPrompt: z.ZodString;
|
|
129
|
-
spendLimitDollars: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
spendLimitHours: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
tokenMax: z.ZodNumber;
|
|
132
|
-
shellModel: z.ZodString;
|
|
133
|
-
imageModel: z.ZodOptional<z.ZodString>;
|
|
134
|
-
mailEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
135
|
-
chatEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
-
webEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
-
completeSessionEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
-
debugPauseSeconds: z.ZodOptional<z.ZodNumber>;
|
|
139
|
-
wakeOnMessage: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
-
commandProtection: z.ZodOptional<z.ZodEnum<{
|
|
141
|
-
none: "none";
|
|
142
|
-
manual: "manual";
|
|
143
|
-
"semi-auto": "semi-auto";
|
|
144
|
-
auto: "auto";
|
|
145
|
-
}>>;
|
|
146
|
-
initialCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
147
|
-
multipleCommandsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
148
|
-
workspacesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
controlDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
}, z.core.$strip>;
|
|
151
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
|
-
rel: z.ZodString;
|
|
153
|
-
href: z.ZodString;
|
|
154
|
-
method: z.ZodString;
|
|
155
|
-
title: z.ZodOptional<z.ZodString>;
|
|
156
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
157
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
158
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
159
|
-
contentType: z.ZodString;
|
|
160
|
-
description: z.ZodOptional<z.ZodString>;
|
|
161
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
162
|
-
}, z.core.$strip>>;
|
|
163
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
164
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
165
|
-
}, z.core.$strip>>>;
|
|
166
|
-
}, z.core.$strip>;
|
|
167
|
-
export declare const ExportAgentConfigResponseSchema: z.ZodObject<{
|
|
168
|
-
yaml: z.ZodString;
|
|
169
|
-
}, z.core.$strip>;
|
|
170
|
-
export declare const ConfigRevisionSchema: z.ZodObject<{
|
|
171
|
-
id: z.ZodNumber;
|
|
172
|
-
config: z.ZodString;
|
|
173
|
-
changedByUsername: z.ZodString;
|
|
174
|
-
createdAt: z.ZodString;
|
|
175
|
-
}, z.core.$strip>;
|
|
176
|
-
export declare const ConfigRevisionListResponseSchema: z.ZodObject<{
|
|
177
|
-
items: z.ZodArray<z.ZodObject<{
|
|
178
|
-
id: z.ZodNumber;
|
|
179
|
-
config: z.ZodString;
|
|
180
|
-
changedByUsername: z.ZodString;
|
|
181
|
-
createdAt: z.ZodString;
|
|
182
|
-
}, z.core.$strip>>;
|
|
183
|
-
}, z.core.$strip>;
|
|
184
|
-
export type ConfigRevision = z.infer<typeof ConfigRevisionSchema>;
|
|
185
|
-
export type ConfigRevisionListResponse = z.infer<typeof ConfigRevisionListResponseSchema>;
|
|
186
|
-
export type CreateAgentConfigRequest = z.infer<typeof CreateAgentConfigRequestSchema>;
|
|
187
|
-
export type CreateAgentConfigResponse = z.infer<typeof CreateAgentConfigResponseSchema>;
|
|
188
|
-
export type UpdateAgentConfigRequest = z.infer<typeof UpdateAgentConfigRequestSchema>;
|
|
189
|
-
export type UpdateAgentConfigResponse = z.infer<typeof UpdateAgentConfigResponseSchema>;
|
|
190
|
-
export type ImportAgentConfigRequest = z.infer<typeof ImportAgentConfigRequestSchema>;
|
|
191
|
-
export type ImportAgentConfigResponse = z.infer<typeof ImportAgentConfigResponseSchema>;
|
|
192
|
-
export type GetAgentConfigResponse = z.infer<typeof GetAgentConfigResponseSchema>;
|
|
193
|
-
export type ExportAgentConfigResponse = z.infer<typeof ExportAgentConfigResponseSchema>;
|
|
194
|
-
//# sourceMappingURL=agent-config-types.d.ts.map
|
package/dist/agents-types.d.ts
DELETED
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const AgentSchema: z.ZodObject<{
|
|
3
|
-
id: z.ZodNumber;
|
|
4
|
-
uuid: z.ZodString;
|
|
5
|
-
name: z.ZodString;
|
|
6
|
-
title: z.ZodString;
|
|
7
|
-
host: z.ZodString;
|
|
8
|
-
lastActive: z.ZodOptional<z.ZodString>;
|
|
9
|
-
leadUsername: z.ZodOptional<z.ZodString>;
|
|
10
|
-
latestLogId: z.ZodNumber;
|
|
11
|
-
latestMailId: z.ZodNumber;
|
|
12
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
13
|
-
archived: z.ZodOptional<z.ZodBoolean>;
|
|
14
|
-
budgetLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
16
|
-
disabled: "disabled";
|
|
17
|
-
active: "active";
|
|
18
|
-
available: "available";
|
|
19
|
-
offline: "offline";
|
|
20
|
-
suspended: "suspended";
|
|
21
|
-
}>>;
|
|
22
|
-
}, z.core.$strip>;
|
|
23
|
-
export declare const HostSchema: z.ZodObject<{
|
|
24
|
-
id: z.ZodNumber;
|
|
25
|
-
name: z.ZodString;
|
|
26
|
-
lastActive: z.ZodNullable<z.ZodString>;
|
|
27
|
-
agentCount: z.ZodNumber;
|
|
28
|
-
restricted: z.ZodOptional<z.ZodBoolean>;
|
|
29
|
-
hostType: z.ZodOptional<z.ZodString>;
|
|
30
|
-
online: z.ZodOptional<z.ZodBoolean>;
|
|
31
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32
|
-
rel: z.ZodString;
|
|
33
|
-
href: z.ZodString;
|
|
34
|
-
method: z.ZodString;
|
|
35
|
-
title: z.ZodOptional<z.ZodString>;
|
|
36
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
37
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
38
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
39
|
-
contentType: z.ZodString;
|
|
40
|
-
description: z.ZodOptional<z.ZodString>;
|
|
41
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
42
|
-
}, z.core.$strip>>;
|
|
43
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
44
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
45
|
-
}, z.core.$strip>>>;
|
|
46
|
-
}, z.core.$strip>;
|
|
47
|
-
export declare const HostNameParamsSchema: z.ZodObject<{
|
|
48
|
-
hostname: z.ZodString;
|
|
49
|
-
}, z.core.$strip>;
|
|
50
|
-
export declare const AgentListRequestSchema: z.ZodObject<{
|
|
51
|
-
updatedSince: z.ZodOptional<z.ZodString>;
|
|
52
|
-
}, z.core.$strip>;
|
|
53
|
-
export declare const AgentListResponseSchema: z.ZodObject<{
|
|
54
|
-
items: z.ZodArray<z.ZodObject<{
|
|
55
|
-
id: z.ZodNumber;
|
|
56
|
-
uuid: z.ZodString;
|
|
57
|
-
name: z.ZodString;
|
|
58
|
-
title: z.ZodString;
|
|
59
|
-
host: z.ZodString;
|
|
60
|
-
lastActive: z.ZodOptional<z.ZodString>;
|
|
61
|
-
leadUsername: z.ZodOptional<z.ZodString>;
|
|
62
|
-
latestLogId: z.ZodNumber;
|
|
63
|
-
latestMailId: z.ZodNumber;
|
|
64
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
-
archived: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
-
budgetLeft: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
67
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
68
|
-
disabled: "disabled";
|
|
69
|
-
active: "active";
|
|
70
|
-
available: "available";
|
|
71
|
-
offline: "offline";
|
|
72
|
-
suspended: "suspended";
|
|
73
|
-
}>>;
|
|
74
|
-
}, z.core.$strip>>;
|
|
75
|
-
timestamp: z.ZodString;
|
|
76
|
-
_links: z.ZodArray<z.ZodObject<{
|
|
77
|
-
rel: z.ZodString;
|
|
78
|
-
href: z.ZodString;
|
|
79
|
-
title: z.ZodOptional<z.ZodString>;
|
|
80
|
-
}, z.core.$strip>>;
|
|
81
|
-
_linkTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
82
|
-
rel: z.ZodString;
|
|
83
|
-
hrefTemplate: z.ZodString;
|
|
84
|
-
title: z.ZodOptional<z.ZodString>;
|
|
85
|
-
}, z.core.$strip>>>;
|
|
86
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
87
|
-
rel: z.ZodString;
|
|
88
|
-
href: z.ZodString;
|
|
89
|
-
method: z.ZodString;
|
|
90
|
-
title: z.ZodOptional<z.ZodString>;
|
|
91
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
92
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
93
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
94
|
-
contentType: z.ZodString;
|
|
95
|
-
description: z.ZodOptional<z.ZodString>;
|
|
96
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
97
|
-
}, z.core.$strip>>;
|
|
98
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
99
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
100
|
-
}, z.core.$strip>>>;
|
|
101
|
-
}, z.core.$strip>;
|
|
102
|
-
export declare const AgentUsernameParamsSchema: z.ZodObject<{
|
|
103
|
-
username: z.ZodString;
|
|
104
|
-
}, z.core.$strip>;
|
|
105
|
-
export declare const AgentDetailResponseSchema: z.ZodObject<{
|
|
106
|
-
id: z.ZodNumber;
|
|
107
|
-
name: z.ZodString;
|
|
108
|
-
title: z.ZodString;
|
|
109
|
-
host: z.ZodString;
|
|
110
|
-
lastActive: z.ZodOptional<z.ZodString>;
|
|
111
|
-
leadUsername: z.ZodOptional<z.ZodString>;
|
|
112
|
-
latestLogId: z.ZodNumber;
|
|
113
|
-
latestMailId: z.ZodNumber;
|
|
114
|
-
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
115
|
-
archived: z.ZodOptional<z.ZodBoolean>;
|
|
116
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
117
|
-
disabled: "disabled";
|
|
118
|
-
active: "active";
|
|
119
|
-
available: "available";
|
|
120
|
-
offline: "offline";
|
|
121
|
-
suspended: "suspended";
|
|
122
|
-
}>>;
|
|
123
|
-
costSuspendedReason: z.ZodOptional<z.ZodString>;
|
|
124
|
-
currentSpend: z.ZodOptional<z.ZodNumber>;
|
|
125
|
-
spendLimitResetAt: z.ZodOptional<z.ZodString>;
|
|
126
|
-
config: z.ZodObject<{
|
|
127
|
-
username: z.ZodString;
|
|
128
|
-
title: z.ZodString;
|
|
129
|
-
agentPrompt: z.ZodString;
|
|
130
|
-
spendLimitDollars: z.ZodOptional<z.ZodNumber>;
|
|
131
|
-
spendLimitHours: z.ZodOptional<z.ZodNumber>;
|
|
132
|
-
tokenMax: z.ZodNumber;
|
|
133
|
-
shellModel: z.ZodString;
|
|
134
|
-
imageModel: z.ZodOptional<z.ZodString>;
|
|
135
|
-
mailEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
136
|
-
chatEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
137
|
-
webEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
138
|
-
completeSessionEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
139
|
-
debugPauseSeconds: z.ZodOptional<z.ZodNumber>;
|
|
140
|
-
wakeOnMessage: z.ZodOptional<z.ZodBoolean>;
|
|
141
|
-
commandProtection: z.ZodOptional<z.ZodEnum<{
|
|
142
|
-
none: "none";
|
|
143
|
-
manual: "manual";
|
|
144
|
-
"semi-auto": "semi-auto";
|
|
145
|
-
auto: "auto";
|
|
146
|
-
}>>;
|
|
147
|
-
initialCommands: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
148
|
-
multipleCommandsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
149
|
-
workspacesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
150
|
-
controlDesktop: z.ZodOptional<z.ZodBoolean>;
|
|
151
|
-
}, z.core.$strip>;
|
|
152
|
-
assignedHosts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
153
|
-
id: z.ZodNumber;
|
|
154
|
-
name: z.ZodString;
|
|
155
|
-
}, z.core.$strip>>>;
|
|
156
|
-
_links: z.ZodArray<z.ZodObject<{
|
|
157
|
-
rel: z.ZodString;
|
|
158
|
-
href: z.ZodString;
|
|
159
|
-
title: z.ZodOptional<z.ZodString>;
|
|
160
|
-
}, z.core.$strip>>;
|
|
161
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
162
|
-
rel: z.ZodString;
|
|
163
|
-
href: z.ZodString;
|
|
164
|
-
method: z.ZodString;
|
|
165
|
-
title: z.ZodOptional<z.ZodString>;
|
|
166
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
167
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
168
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
169
|
-
contentType: z.ZodString;
|
|
170
|
-
description: z.ZodOptional<z.ZodString>;
|
|
171
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
172
|
-
}, z.core.$strip>>;
|
|
173
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
174
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
175
|
-
}, z.core.$strip>>>;
|
|
176
|
-
}, z.core.$strip>;
|
|
177
|
-
export declare const HostListResponseSchema: z.ZodObject<{
|
|
178
|
-
items: z.ZodArray<z.ZodObject<{
|
|
179
|
-
id: z.ZodNumber;
|
|
180
|
-
name: z.ZodString;
|
|
181
|
-
lastActive: z.ZodNullable<z.ZodString>;
|
|
182
|
-
agentCount: z.ZodNumber;
|
|
183
|
-
restricted: z.ZodOptional<z.ZodBoolean>;
|
|
184
|
-
hostType: z.ZodOptional<z.ZodString>;
|
|
185
|
-
online: z.ZodOptional<z.ZodBoolean>;
|
|
186
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
-
rel: z.ZodString;
|
|
188
|
-
href: z.ZodString;
|
|
189
|
-
method: z.ZodString;
|
|
190
|
-
title: z.ZodOptional<z.ZodString>;
|
|
191
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
192
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
193
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
194
|
-
contentType: z.ZodString;
|
|
195
|
-
description: z.ZodOptional<z.ZodString>;
|
|
196
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
197
|
-
}, z.core.$strip>>;
|
|
198
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
199
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
200
|
-
}, z.core.$strip>>>;
|
|
201
|
-
}, z.core.$strip>>;
|
|
202
|
-
_links: z.ZodArray<z.ZodObject<{
|
|
203
|
-
rel: z.ZodString;
|
|
204
|
-
href: z.ZodString;
|
|
205
|
-
title: z.ZodOptional<z.ZodString>;
|
|
206
|
-
}, z.core.$strip>>;
|
|
207
|
-
_linkTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
208
|
-
rel: z.ZodString;
|
|
209
|
-
hrefTemplate: z.ZodString;
|
|
210
|
-
title: z.ZodOptional<z.ZodString>;
|
|
211
|
-
}, z.core.$strip>>>;
|
|
212
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
|
-
rel: z.ZodString;
|
|
214
|
-
href: z.ZodString;
|
|
215
|
-
method: z.ZodString;
|
|
216
|
-
title: z.ZodOptional<z.ZodString>;
|
|
217
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
218
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
219
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
220
|
-
contentType: z.ZodString;
|
|
221
|
-
description: z.ZodOptional<z.ZodString>;
|
|
222
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
223
|
-
}, z.core.$strip>>;
|
|
224
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
225
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
226
|
-
}, z.core.$strip>>>;
|
|
227
|
-
}, z.core.$strip>;
|
|
228
|
-
export type Agent = z.infer<typeof AgentSchema>;
|
|
229
|
-
export type Host = z.infer<typeof HostSchema>;
|
|
230
|
-
export type AgentListRequest = z.infer<typeof AgentListRequestSchema>;
|
|
231
|
-
export type AgentListResponse = z.infer<typeof AgentListResponseSchema>;
|
|
232
|
-
export type AgentUsernameParams = z.infer<typeof AgentUsernameParamsSchema>;
|
|
233
|
-
export type AgentDetailResponse = z.infer<typeof AgentDetailResponseSchema>;
|
|
234
|
-
export type HostNameParams = z.infer<typeof HostNameParamsSchema>;
|
|
235
|
-
export type HostListResponse = z.infer<typeof HostListResponseSchema>;
|
|
236
|
-
export declare const SetLeadAgentRequestSchema: z.ZodObject<{
|
|
237
|
-
leadAgentUsername: z.ZodNullable<z.ZodString>;
|
|
238
|
-
}, z.core.$strict>;
|
|
239
|
-
export type SetLeadAgentRequest = z.infer<typeof SetLeadAgentRequestSchema>;
|
|
240
|
-
export declare const AgentActionResultSchema: z.ZodObject<{
|
|
241
|
-
success: z.ZodBoolean;
|
|
242
|
-
message: z.ZodString;
|
|
243
|
-
}, z.core.$strip>;
|
|
244
|
-
export type AgentActionResult = z.infer<typeof AgentActionResultSchema>;
|
|
245
|
-
export declare const AgentStartRequestSchema: z.ZodObject<{
|
|
246
|
-
task: z.ZodOptional<z.ZodString>;
|
|
247
|
-
}, z.core.$strict>;
|
|
248
|
-
export type AgentStartRequest = z.infer<typeof AgentStartRequestSchema>;
|
|
249
|
-
export declare const AgentStartResultSchema: z.ZodObject<{
|
|
250
|
-
success: z.ZodBoolean;
|
|
251
|
-
message: z.ZodString;
|
|
252
|
-
hostname: z.ZodOptional<z.ZodString>;
|
|
253
|
-
}, z.core.$strip>;
|
|
254
|
-
export type AgentStartResult = z.infer<typeof AgentStartResultSchema>;
|
|
255
|
-
export declare const AgentToggleRequestSchema: z.ZodObject<{
|
|
256
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
257
|
-
}, z.core.$strict>;
|
|
258
|
-
export type AgentToggleRequest = z.infer<typeof AgentToggleRequestSchema>;
|
|
259
|
-
export declare const AgentStopRequestSchema: z.ZodObject<{
|
|
260
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
261
|
-
}, z.core.$strict>;
|
|
262
|
-
export type AgentStopRequest = z.infer<typeof AgentStopRequestSchema>;
|
|
263
|
-
export declare const AgentStopResultSchema: z.ZodObject<{
|
|
264
|
-
success: z.ZodBoolean;
|
|
265
|
-
message: z.ZodString;
|
|
266
|
-
}, z.core.$strip>;
|
|
267
|
-
export type AgentStopResult = z.infer<typeof AgentStopResultSchema>;
|
|
268
|
-
export declare const HostDetailResponseSchema: z.ZodObject<{
|
|
269
|
-
id: z.ZodNumber;
|
|
270
|
-
name: z.ZodString;
|
|
271
|
-
lastActive: z.ZodNullable<z.ZodString>;
|
|
272
|
-
lastIp: z.ZodNullable<z.ZodString>;
|
|
273
|
-
restricted: z.ZodBoolean;
|
|
274
|
-
hostType: z.ZodString;
|
|
275
|
-
online: z.ZodBoolean;
|
|
276
|
-
assignedAgents: z.ZodArray<z.ZodObject<{
|
|
277
|
-
id: z.ZodNumber;
|
|
278
|
-
name: z.ZodString;
|
|
279
|
-
title: z.ZodString;
|
|
280
|
-
}, z.core.$strip>>;
|
|
281
|
-
_links: z.ZodArray<z.ZodObject<{
|
|
282
|
-
rel: z.ZodString;
|
|
283
|
-
href: z.ZodString;
|
|
284
|
-
title: z.ZodOptional<z.ZodString>;
|
|
285
|
-
}, z.core.$strip>>;
|
|
286
|
-
_actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
287
|
-
rel: z.ZodString;
|
|
288
|
-
href: z.ZodString;
|
|
289
|
-
method: z.ZodString;
|
|
290
|
-
title: z.ZodOptional<z.ZodString>;
|
|
291
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
292
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
293
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
294
|
-
contentType: z.ZodString;
|
|
295
|
-
description: z.ZodOptional<z.ZodString>;
|
|
296
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
297
|
-
}, z.core.$strip>>;
|
|
298
|
-
disabled: z.ZodOptional<z.ZodBoolean>;
|
|
299
|
-
disabledReason: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
300
|
-
}, z.core.$strip>>>;
|
|
301
|
-
_actionTemplates: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
302
|
-
rel: z.ZodString;
|
|
303
|
-
hrefTemplate: z.ZodString;
|
|
304
|
-
method: z.ZodString;
|
|
305
|
-
title: z.ZodOptional<z.ZodString>;
|
|
306
|
-
schema: z.ZodOptional<z.ZodString>;
|
|
307
|
-
body: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
308
|
-
alternateEncoding: z.ZodOptional<z.ZodObject<{
|
|
309
|
-
contentType: z.ZodString;
|
|
310
|
-
description: z.ZodOptional<z.ZodString>;
|
|
311
|
-
fileFields: z.ZodArray<z.ZodString>;
|
|
312
|
-
}, z.core.$strip>>;
|
|
313
|
-
}, z.core.$strip>>>;
|
|
314
|
-
}, z.core.$strip>;
|
|
315
|
-
export type HostDetailResponse = z.infer<typeof HostDetailResponseSchema>;
|
|
316
|
-
export declare const UpdateHostRequestSchema: z.ZodObject<{
|
|
317
|
-
name: z.ZodOptional<z.ZodString>;
|
|
318
|
-
restricted: z.ZodOptional<z.ZodBoolean>;
|
|
319
|
-
}, z.core.$strict>;
|
|
320
|
-
export type UpdateHostRequest = z.infer<typeof UpdateHostRequestSchema>;
|
|
321
|
-
export declare const CreateHostRequestSchema: z.ZodObject<{
|
|
322
|
-
name: z.ZodString;
|
|
323
|
-
}, z.core.$strict>;
|
|
324
|
-
export type CreateHostRequest = z.infer<typeof CreateHostRequestSchema>;
|
|
325
|
-
export declare const AssignAgentToHostRequestSchema: z.ZodObject<{
|
|
326
|
-
agentId: z.ZodNumber;
|
|
327
|
-
}, z.core.$strict>;
|
|
328
|
-
export type AssignAgentToHostRequest = z.infer<typeof AssignAgentToHostRequestSchema>;
|
|
329
|
-
export declare const AgentNameParamSchema: z.ZodObject<{
|
|
330
|
-
agentName: z.ZodString;
|
|
331
|
-
}, z.core.$strip>;
|
|
332
|
-
//# sourceMappingURL=agents-types.d.ts.map
|
package/dist/api-types.d.ts
DELETED
package/dist/auth-types.d.ts
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const LoginRequestSchema: z.ZodObject<{
|
|
3
|
-
username: z.ZodString;
|
|
4
|
-
password: z.ZodString;
|
|
5
|
-
}, z.core.$strict>;
|
|
6
|
-
export type LoginRequest = z.infer<typeof LoginRequestSchema>;
|
|
7
|
-
export declare const AuthUserSchema: z.ZodObject<{
|
|
8
|
-
id: z.ZodNumber;
|
|
9
|
-
username: z.ZodString;
|
|
10
|
-
permissions: z.ZodArray<z.ZodString>;
|
|
11
|
-
}, z.core.$strip>;
|
|
12
|
-
export type AuthUser = z.infer<typeof AuthUserSchema>;
|
|
13
|
-
export declare const LoginResponseSchema: z.ZodObject<{
|
|
14
|
-
user: z.ZodObject<{
|
|
15
|
-
id: z.ZodNumber;
|
|
16
|
-
username: z.ZodString;
|
|
17
|
-
permissions: z.ZodArray<z.ZodString>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
export type LoginResponse = z.infer<typeof LoginResponseSchema>;
|
|
21
|
-
export declare const LogoutResponseSchema: z.ZodObject<{
|
|
22
|
-
success: z.ZodBoolean;
|
|
23
|
-
message: z.ZodString;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
export type LogoutResponse = z.infer<typeof LogoutResponseSchema>;
|
|
26
|
-
//# sourceMappingURL=auth-types.d.ts.map
|