@agentdock/wire 0.0.95 → 0.0.96
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/dist/enterpriseCurrency.d.ts +120 -0
- package/dist/enterpriseCurrency.js +1 -0
- package/dist/enterpriseDirectory.d.ts +636 -0
- package/dist/enterpriseDirectory.js +1 -0
- package/dist/enterpriseGatewayExports.d.ts +4 -0
- package/dist/enterpriseGatewayExports.js +1 -0
- package/dist/enterpriseOverview.d.ts +423 -0
- package/dist/enterpriseOverview.js +1 -0
- package/dist/enterprisePolicy.d.ts +283 -489
- package/dist/enterprisePolicy.js +1 -1
- package/dist/enterprisePolicyExports.d.ts +2 -2
- package/dist/enterprisePolicyExports.js +1 -1
- package/dist/enterpriseRange.d.ts +19 -0
- package/dist/enterpriseRange.js +1 -0
- package/dist/enterpriseRuntime.d.ts +135 -32
- package/dist/enterpriseRuntime.js +1 -1
- package/dist/gateway.d.ts +1390 -873
- package/dist/gateway.js +1 -1
- package/dist/gatewayBodyRetention.d.ts +149 -0
- package/dist/gatewayBodyRetention.js +2 -0
- package/dist/gatewayUsage.d.ts +3232 -0
- package/dist/gatewayUsage.js +1 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.js +1 -1
- package/dist/sessionBtw.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,106 +1,92 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
export declare const EnterpriseBuildAgentViewSchema: z.ZodObject<{
|
|
4
|
+
agent: z.ZodString;
|
|
5
|
+
source: z.ZodLiteral<"deployment_manifest">;
|
|
6
|
+
enabled: z.ZodBoolean;
|
|
7
|
+
}, "strict", z.ZodTypeAny, {
|
|
8
|
+
source: "deployment_manifest";
|
|
9
|
+
agent: string;
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
}, {
|
|
12
|
+
source: "deployment_manifest";
|
|
13
|
+
agent: string;
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const EnterpriseBuildAgentListResponseSchema: z.ZodObject<{
|
|
17
|
+
ok: z.ZodLiteral<true>;
|
|
18
|
+
data: z.ZodArray<z.ZodObject<{
|
|
19
|
+
agent: z.ZodString;
|
|
20
|
+
source: z.ZodLiteral<"deployment_manifest">;
|
|
21
|
+
enabled: z.ZodBoolean;
|
|
22
|
+
}, "strict", z.ZodTypeAny, {
|
|
23
|
+
source: "deployment_manifest";
|
|
24
|
+
agent: string;
|
|
25
|
+
enabled: boolean;
|
|
26
|
+
}, {
|
|
27
|
+
source: "deployment_manifest";
|
|
28
|
+
agent: string;
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
}>, "many">;
|
|
31
|
+
}, "strict", z.ZodTypeAny, {
|
|
32
|
+
data: {
|
|
33
|
+
source: "deployment_manifest";
|
|
34
|
+
agent: string;
|
|
35
|
+
enabled: boolean;
|
|
36
|
+
}[];
|
|
37
|
+
ok: true;
|
|
38
|
+
}, {
|
|
39
|
+
data: {
|
|
40
|
+
source: "deployment_manifest";
|
|
41
|
+
agent: string;
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
}[];
|
|
44
|
+
ok: true;
|
|
45
|
+
}>;
|
|
46
|
+
export type EnterpriseBuildAgentView = z.infer<typeof EnterpriseBuildAgentViewSchema>;
|
|
2
47
|
export declare const EnterprisePolicyBindingInputSchema: z.ZodObject<{
|
|
3
48
|
agent: z.ZodString;
|
|
4
49
|
model: z.ZodString;
|
|
5
|
-
connectionId: z.ZodString;
|
|
6
50
|
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
7
51
|
}, "strict", z.ZodTypeAny, {
|
|
8
52
|
model: string;
|
|
9
53
|
agent: string;
|
|
10
54
|
isDefault: boolean;
|
|
11
|
-
connectionId: string;
|
|
12
55
|
}, {
|
|
13
56
|
model: string;
|
|
14
57
|
agent: string;
|
|
15
|
-
connectionId: string;
|
|
16
58
|
isDefault?: boolean | undefined;
|
|
17
59
|
}>;
|
|
18
60
|
export declare const EnterprisePolicyGroupCreateSchema: z.ZodObject<{
|
|
19
61
|
name: z.ZodString;
|
|
20
|
-
priority: z.ZodNumber
|
|
62
|
+
priority: z.ZodOptional<z.ZodNumber>;
|
|
21
63
|
status: z.ZodDefault<z.ZodEnum<["active", "disabled"]>>;
|
|
22
|
-
bindings: z.ZodArray<z.ZodObject<{
|
|
23
|
-
agent: z.ZodString;
|
|
24
|
-
model: z.ZodString;
|
|
25
|
-
connectionId: z.ZodString;
|
|
26
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
27
|
-
}, "strict", z.ZodTypeAny, {
|
|
28
|
-
model: string;
|
|
29
|
-
agent: string;
|
|
30
|
-
isDefault: boolean;
|
|
31
|
-
connectionId: string;
|
|
32
|
-
}, {
|
|
33
|
-
model: string;
|
|
34
|
-
agent: string;
|
|
35
|
-
connectionId: string;
|
|
36
|
-
isDefault?: boolean | undefined;
|
|
37
|
-
}>, "many">;
|
|
38
64
|
memberUserIds: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
|
|
39
65
|
}, "strict", z.ZodTypeAny, {
|
|
40
66
|
status: "active" | "disabled";
|
|
41
67
|
name: string;
|
|
42
|
-
priority: number;
|
|
43
|
-
bindings: {
|
|
44
|
-
model: string;
|
|
45
|
-
agent: string;
|
|
46
|
-
isDefault: boolean;
|
|
47
|
-
connectionId: string;
|
|
48
|
-
}[];
|
|
49
68
|
memberUserIds: string[];
|
|
69
|
+
priority?: number | undefined;
|
|
50
70
|
}, {
|
|
51
71
|
name: string;
|
|
52
|
-
priority: number;
|
|
53
|
-
bindings: {
|
|
54
|
-
model: string;
|
|
55
|
-
agent: string;
|
|
56
|
-
connectionId: string;
|
|
57
|
-
isDefault?: boolean | undefined;
|
|
58
|
-
}[];
|
|
59
72
|
status?: "active" | "disabled" | undefined;
|
|
73
|
+
priority?: number | undefined;
|
|
60
74
|
memberUserIds?: string[] | undefined;
|
|
61
75
|
}>;
|
|
62
76
|
export declare const EnterprisePolicyGroupUpdateSchema: z.ZodObject<{
|
|
63
77
|
name: z.ZodOptional<z.ZodString>;
|
|
64
|
-
priority: z.ZodOptional<z.ZodNumber
|
|
78
|
+
priority: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
65
79
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["active", "disabled"]>>>;
|
|
66
|
-
bindings: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
67
|
-
agent: z.ZodString;
|
|
68
|
-
model: z.ZodString;
|
|
69
|
-
connectionId: z.ZodString;
|
|
70
|
-
isDefault: z.ZodDefault<z.ZodBoolean>;
|
|
71
|
-
}, "strict", z.ZodTypeAny, {
|
|
72
|
-
model: string;
|
|
73
|
-
agent: string;
|
|
74
|
-
isDefault: boolean;
|
|
75
|
-
connectionId: string;
|
|
76
|
-
}, {
|
|
77
|
-
model: string;
|
|
78
|
-
agent: string;
|
|
79
|
-
connectionId: string;
|
|
80
|
-
isDefault?: boolean | undefined;
|
|
81
|
-
}>, "many">>;
|
|
82
80
|
memberUserIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString, "many">>>;
|
|
83
81
|
}, "strict", z.ZodTypeAny, {
|
|
84
82
|
status?: "active" | "disabled" | undefined;
|
|
85
83
|
name?: string | undefined;
|
|
86
84
|
priority?: number | undefined;
|
|
87
|
-
bindings?: {
|
|
88
|
-
model: string;
|
|
89
|
-
agent: string;
|
|
90
|
-
isDefault: boolean;
|
|
91
|
-
connectionId: string;
|
|
92
|
-
}[] | undefined;
|
|
93
85
|
memberUserIds?: string[] | undefined;
|
|
94
86
|
}, {
|
|
95
87
|
status?: "active" | "disabled" | undefined;
|
|
96
88
|
name?: string | undefined;
|
|
97
89
|
priority?: number | undefined;
|
|
98
|
-
bindings?: {
|
|
99
|
-
model: string;
|
|
100
|
-
agent: string;
|
|
101
|
-
connectionId: string;
|
|
102
|
-
isDefault?: boolean | undefined;
|
|
103
|
-
}[] | undefined;
|
|
104
90
|
memberUserIds?: string[] | undefined;
|
|
105
91
|
}>;
|
|
106
92
|
export declare const EnterprisePolicyGroupReorderSchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -125,44 +111,20 @@ export declare const EnterprisePolicyBindingViewSchema: z.ZodObject<{
|
|
|
125
111
|
id: z.ZodString;
|
|
126
112
|
agent: z.ZodString;
|
|
127
113
|
model: z.ZodString;
|
|
128
|
-
connectionId: z.ZodString;
|
|
129
114
|
isDefault: z.ZodBoolean;
|
|
130
115
|
enabled: z.ZodBoolean;
|
|
131
|
-
routeId: z.ZodString;
|
|
132
|
-
requestProtocol: z.ZodString;
|
|
133
|
-
upstreamProtocol: z.ZodString;
|
|
134
|
-
provider: z.ZodString;
|
|
135
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
136
|
-
routeStatus: z.ZodString;
|
|
137
|
-
connectionStatus: z.ZodString;
|
|
138
116
|
}, "strict", z.ZodTypeAny, {
|
|
139
117
|
model: string;
|
|
140
118
|
agent: string;
|
|
141
119
|
id: string;
|
|
142
120
|
enabled: boolean;
|
|
143
|
-
provider: string;
|
|
144
121
|
isDefault: boolean;
|
|
145
|
-
connectionId: string;
|
|
146
|
-
routeId: string;
|
|
147
|
-
requestProtocol: string;
|
|
148
|
-
upstreamProtocol: string;
|
|
149
|
-
routeAlias: string | null;
|
|
150
|
-
routeStatus: string;
|
|
151
|
-
connectionStatus: string;
|
|
152
122
|
}, {
|
|
153
123
|
model: string;
|
|
154
124
|
agent: string;
|
|
155
125
|
id: string;
|
|
156
126
|
enabled: boolean;
|
|
157
|
-
provider: string;
|
|
158
127
|
isDefault: boolean;
|
|
159
|
-
connectionId: string;
|
|
160
|
-
routeId: string;
|
|
161
|
-
requestProtocol: string;
|
|
162
|
-
upstreamProtocol: string;
|
|
163
|
-
routeAlias: string | null;
|
|
164
|
-
routeStatus: string;
|
|
165
|
-
connectionStatus: string;
|
|
166
128
|
}>;
|
|
167
129
|
export declare const EnterprisePolicyGroupViewSchema: z.ZodObject<{
|
|
168
130
|
id: z.ZodString;
|
|
@@ -174,44 +136,20 @@ export declare const EnterprisePolicyGroupViewSchema: z.ZodObject<{
|
|
|
174
136
|
id: z.ZodString;
|
|
175
137
|
agent: z.ZodString;
|
|
176
138
|
model: z.ZodString;
|
|
177
|
-
connectionId: z.ZodString;
|
|
178
139
|
isDefault: z.ZodBoolean;
|
|
179
140
|
enabled: z.ZodBoolean;
|
|
180
|
-
routeId: z.ZodString;
|
|
181
|
-
requestProtocol: z.ZodString;
|
|
182
|
-
upstreamProtocol: z.ZodString;
|
|
183
|
-
provider: z.ZodString;
|
|
184
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
185
|
-
routeStatus: z.ZodString;
|
|
186
|
-
connectionStatus: z.ZodString;
|
|
187
141
|
}, "strict", z.ZodTypeAny, {
|
|
188
142
|
model: string;
|
|
189
143
|
agent: string;
|
|
190
144
|
id: string;
|
|
191
145
|
enabled: boolean;
|
|
192
|
-
provider: string;
|
|
193
146
|
isDefault: boolean;
|
|
194
|
-
connectionId: string;
|
|
195
|
-
routeId: string;
|
|
196
|
-
requestProtocol: string;
|
|
197
|
-
upstreamProtocol: string;
|
|
198
|
-
routeAlias: string | null;
|
|
199
|
-
routeStatus: string;
|
|
200
|
-
connectionStatus: string;
|
|
201
147
|
}, {
|
|
202
148
|
model: string;
|
|
203
149
|
agent: string;
|
|
204
150
|
id: string;
|
|
205
151
|
enabled: boolean;
|
|
206
|
-
provider: string;
|
|
207
152
|
isDefault: boolean;
|
|
208
|
-
connectionId: string;
|
|
209
|
-
routeId: string;
|
|
210
|
-
requestProtocol: string;
|
|
211
|
-
upstreamProtocol: string;
|
|
212
|
-
routeAlias: string | null;
|
|
213
|
-
routeStatus: string;
|
|
214
|
-
connectionStatus: string;
|
|
215
153
|
}>, "many">;
|
|
216
154
|
members: z.ZodArray<z.ZodObject<{
|
|
217
155
|
id: z.ZodString;
|
|
@@ -235,22 +173,14 @@ export declare const EnterprisePolicyGroupViewSchema: z.ZodObject<{
|
|
|
235
173
|
createdAt: string;
|
|
236
174
|
updatedAt: string;
|
|
237
175
|
version: number;
|
|
238
|
-
priority: number;
|
|
239
176
|
bindings: {
|
|
240
177
|
model: string;
|
|
241
178
|
agent: string;
|
|
242
179
|
id: string;
|
|
243
180
|
enabled: boolean;
|
|
244
|
-
provider: string;
|
|
245
181
|
isDefault: boolean;
|
|
246
|
-
connectionId: string;
|
|
247
|
-
routeId: string;
|
|
248
|
-
requestProtocol: string;
|
|
249
|
-
upstreamProtocol: string;
|
|
250
|
-
routeAlias: string | null;
|
|
251
|
-
routeStatus: string;
|
|
252
|
-
connectionStatus: string;
|
|
253
182
|
}[];
|
|
183
|
+
priority: number;
|
|
254
184
|
members: {
|
|
255
185
|
id: string;
|
|
256
186
|
displayName: string;
|
|
@@ -263,22 +193,14 @@ export declare const EnterprisePolicyGroupViewSchema: z.ZodObject<{
|
|
|
263
193
|
createdAt: string;
|
|
264
194
|
updatedAt: string;
|
|
265
195
|
version: number;
|
|
266
|
-
priority: number;
|
|
267
196
|
bindings: {
|
|
268
197
|
model: string;
|
|
269
198
|
agent: string;
|
|
270
199
|
id: string;
|
|
271
200
|
enabled: boolean;
|
|
272
|
-
provider: string;
|
|
273
201
|
isDefault: boolean;
|
|
274
|
-
connectionId: string;
|
|
275
|
-
routeId: string;
|
|
276
|
-
requestProtocol: string;
|
|
277
|
-
upstreamProtocol: string;
|
|
278
|
-
routeAlias: string | null;
|
|
279
|
-
routeStatus: string;
|
|
280
|
-
connectionStatus: string;
|
|
281
202
|
}[];
|
|
203
|
+
priority: number;
|
|
282
204
|
members: {
|
|
283
205
|
id: string;
|
|
284
206
|
displayName: string;
|
|
@@ -287,100 +209,76 @@ export declare const EnterprisePolicyGroupViewSchema: z.ZodObject<{
|
|
|
287
209
|
}>;
|
|
288
210
|
export declare const EnterpriseEffectiveModelSchema: z.ZodObject<{
|
|
289
211
|
model: z.ZodString;
|
|
290
|
-
routeId: z.ZodString;
|
|
291
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
292
212
|
sourceGroupId: z.ZodString;
|
|
293
213
|
sourceGroupName: z.ZodString;
|
|
294
214
|
sourceGroupPriority: z.ZodNumber;
|
|
295
|
-
status: z.
|
|
215
|
+
status: z.ZodLiteral<"active">;
|
|
296
216
|
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
297
|
-
availabilityReason: z.ZodOptional<z.ZodEnum<["
|
|
298
|
-
blockedReason: z.ZodOptional<z.ZodEnum<["route-not-found", "route-not-active", "connection-not-active", "binding-route-mismatch"]>>;
|
|
217
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
299
218
|
}, "strict", z.ZodTypeAny, {
|
|
300
|
-
status: "active"
|
|
219
|
+
status: "active";
|
|
301
220
|
model: string;
|
|
302
|
-
routeId: string;
|
|
303
|
-
routeAlias: string | null;
|
|
304
221
|
sourceGroupId: string;
|
|
305
222
|
sourceGroupName: string;
|
|
306
223
|
sourceGroupPriority: number;
|
|
307
224
|
availability: "unknown" | "ready" | "unavailable";
|
|
308
|
-
availabilityReason?: "
|
|
309
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
225
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
310
226
|
}, {
|
|
311
|
-
status: "active"
|
|
227
|
+
status: "active";
|
|
312
228
|
model: string;
|
|
313
|
-
routeId: string;
|
|
314
|
-
routeAlias: string | null;
|
|
315
229
|
sourceGroupId: string;
|
|
316
230
|
sourceGroupName: string;
|
|
317
231
|
sourceGroupPriority: number;
|
|
318
232
|
availability: "unknown" | "ready" | "unavailable";
|
|
319
|
-
availabilityReason?: "
|
|
320
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
233
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
321
234
|
}>;
|
|
322
235
|
export declare const EnterpriseEffectiveAgentSchema: z.ZodObject<{
|
|
323
236
|
authorizedModels: z.ZodArray<z.ZodObject<{
|
|
324
237
|
model: z.ZodString;
|
|
325
|
-
routeId: z.ZodString;
|
|
326
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
327
238
|
sourceGroupId: z.ZodString;
|
|
328
239
|
sourceGroupName: z.ZodString;
|
|
329
240
|
sourceGroupPriority: z.ZodNumber;
|
|
330
|
-
status: z.
|
|
241
|
+
status: z.ZodLiteral<"active">;
|
|
331
242
|
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
332
|
-
availabilityReason: z.ZodOptional<z.ZodEnum<["
|
|
333
|
-
blockedReason: z.ZodOptional<z.ZodEnum<["route-not-found", "route-not-active", "connection-not-active", "binding-route-mismatch"]>>;
|
|
243
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
334
244
|
}, "strict", z.ZodTypeAny, {
|
|
335
|
-
status: "active"
|
|
245
|
+
status: "active";
|
|
336
246
|
model: string;
|
|
337
|
-
routeId: string;
|
|
338
|
-
routeAlias: string | null;
|
|
339
247
|
sourceGroupId: string;
|
|
340
248
|
sourceGroupName: string;
|
|
341
249
|
sourceGroupPriority: number;
|
|
342
250
|
availability: "unknown" | "ready" | "unavailable";
|
|
343
|
-
availabilityReason?: "
|
|
344
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
251
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
345
252
|
}, {
|
|
346
|
-
status: "active"
|
|
253
|
+
status: "active";
|
|
347
254
|
model: string;
|
|
348
|
-
routeId: string;
|
|
349
|
-
routeAlias: string | null;
|
|
350
255
|
sourceGroupId: string;
|
|
351
256
|
sourceGroupName: string;
|
|
352
257
|
sourceGroupPriority: number;
|
|
353
258
|
availability: "unknown" | "ready" | "unavailable";
|
|
354
|
-
availabilityReason?: "
|
|
355
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
259
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
356
260
|
}>, "many">;
|
|
357
261
|
defaultModel: z.ZodNullable<z.ZodString>;
|
|
358
262
|
}, "strict", z.ZodTypeAny, {
|
|
359
263
|
authorizedModels: {
|
|
360
|
-
status: "active"
|
|
264
|
+
status: "active";
|
|
361
265
|
model: string;
|
|
362
|
-
routeId: string;
|
|
363
|
-
routeAlias: string | null;
|
|
364
266
|
sourceGroupId: string;
|
|
365
267
|
sourceGroupName: string;
|
|
366
268
|
sourceGroupPriority: number;
|
|
367
269
|
availability: "unknown" | "ready" | "unavailable";
|
|
368
|
-
availabilityReason?: "
|
|
369
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
270
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
370
271
|
}[];
|
|
371
272
|
defaultModel: string | null;
|
|
372
273
|
}, {
|
|
373
274
|
authorizedModels: {
|
|
374
|
-
status: "active"
|
|
275
|
+
status: "active";
|
|
375
276
|
model: string;
|
|
376
|
-
routeId: string;
|
|
377
|
-
routeAlias: string | null;
|
|
378
277
|
sourceGroupId: string;
|
|
379
278
|
sourceGroupName: string;
|
|
380
279
|
sourceGroupPriority: number;
|
|
381
280
|
availability: "unknown" | "ready" | "unavailable";
|
|
382
|
-
availabilityReason?: "
|
|
383
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
281
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
384
282
|
}[];
|
|
385
283
|
defaultModel: string | null;
|
|
386
284
|
}>;
|
|
@@ -391,65 +289,50 @@ export declare const EnterpriseEffectiveConfigSchema: z.ZodObject<{
|
|
|
391
289
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
392
290
|
authorizedModels: z.ZodArray<z.ZodObject<{
|
|
393
291
|
model: z.ZodString;
|
|
394
|
-
routeId: z.ZodString;
|
|
395
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
396
292
|
sourceGroupId: z.ZodString;
|
|
397
293
|
sourceGroupName: z.ZodString;
|
|
398
294
|
sourceGroupPriority: z.ZodNumber;
|
|
399
|
-
status: z.
|
|
295
|
+
status: z.ZodLiteral<"active">;
|
|
400
296
|
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
401
|
-
availabilityReason: z.ZodOptional<z.ZodEnum<["
|
|
402
|
-
blockedReason: z.ZodOptional<z.ZodEnum<["route-not-found", "route-not-active", "connection-not-active", "binding-route-mismatch"]>>;
|
|
297
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
403
298
|
}, "strict", z.ZodTypeAny, {
|
|
404
|
-
status: "active"
|
|
299
|
+
status: "active";
|
|
405
300
|
model: string;
|
|
406
|
-
routeId: string;
|
|
407
|
-
routeAlias: string | null;
|
|
408
301
|
sourceGroupId: string;
|
|
409
302
|
sourceGroupName: string;
|
|
410
303
|
sourceGroupPriority: number;
|
|
411
304
|
availability: "unknown" | "ready" | "unavailable";
|
|
412
|
-
availabilityReason?: "
|
|
413
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
305
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
414
306
|
}, {
|
|
415
|
-
status: "active"
|
|
307
|
+
status: "active";
|
|
416
308
|
model: string;
|
|
417
|
-
routeId: string;
|
|
418
|
-
routeAlias: string | null;
|
|
419
309
|
sourceGroupId: string;
|
|
420
310
|
sourceGroupName: string;
|
|
421
311
|
sourceGroupPriority: number;
|
|
422
312
|
availability: "unknown" | "ready" | "unavailable";
|
|
423
|
-
availabilityReason?: "
|
|
424
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
313
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
425
314
|
}>, "many">;
|
|
426
315
|
defaultModel: z.ZodNullable<z.ZodString>;
|
|
427
316
|
}, "strict", z.ZodTypeAny, {
|
|
428
317
|
authorizedModels: {
|
|
429
|
-
status: "active"
|
|
318
|
+
status: "active";
|
|
430
319
|
model: string;
|
|
431
|
-
routeId: string;
|
|
432
|
-
routeAlias: string | null;
|
|
433
320
|
sourceGroupId: string;
|
|
434
321
|
sourceGroupName: string;
|
|
435
322
|
sourceGroupPriority: number;
|
|
436
323
|
availability: "unknown" | "ready" | "unavailable";
|
|
437
|
-
availabilityReason?: "
|
|
438
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
324
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
439
325
|
}[];
|
|
440
326
|
defaultModel: string | null;
|
|
441
327
|
}, {
|
|
442
328
|
authorizedModels: {
|
|
443
|
-
status: "active"
|
|
329
|
+
status: "active";
|
|
444
330
|
model: string;
|
|
445
|
-
routeId: string;
|
|
446
|
-
routeAlias: string | null;
|
|
447
331
|
sourceGroupId: string;
|
|
448
332
|
sourceGroupName: string;
|
|
449
333
|
sourceGroupPriority: number;
|
|
450
334
|
availability: "unknown" | "ready" | "unavailable";
|
|
451
|
-
availabilityReason?: "
|
|
452
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
335
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
453
336
|
}[];
|
|
454
337
|
defaultModel: string | null;
|
|
455
338
|
}>>;
|
|
@@ -457,16 +340,13 @@ export declare const EnterpriseEffectiveConfigSchema: z.ZodObject<{
|
|
|
457
340
|
status: "ready" | "blocked" | "partially_ready";
|
|
458
341
|
agents: Record<string, {
|
|
459
342
|
authorizedModels: {
|
|
460
|
-
status: "active"
|
|
343
|
+
status: "active";
|
|
461
344
|
model: string;
|
|
462
|
-
routeId: string;
|
|
463
|
-
routeAlias: string | null;
|
|
464
345
|
sourceGroupId: string;
|
|
465
346
|
sourceGroupName: string;
|
|
466
347
|
sourceGroupPriority: number;
|
|
467
348
|
availability: "unknown" | "ready" | "unavailable";
|
|
468
|
-
availabilityReason?: "
|
|
469
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
349
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
470
350
|
}[];
|
|
471
351
|
defaultModel: string | null;
|
|
472
352
|
}>;
|
|
@@ -476,16 +356,13 @@ export declare const EnterpriseEffectiveConfigSchema: z.ZodObject<{
|
|
|
476
356
|
status: "ready" | "blocked" | "partially_ready";
|
|
477
357
|
agents: Record<string, {
|
|
478
358
|
authorizedModels: {
|
|
479
|
-
status: "active"
|
|
359
|
+
status: "active";
|
|
480
360
|
model: string;
|
|
481
|
-
routeId: string;
|
|
482
|
-
routeAlias: string | null;
|
|
483
361
|
sourceGroupId: string;
|
|
484
362
|
sourceGroupName: string;
|
|
485
363
|
sourceGroupPriority: number;
|
|
486
364
|
availability: "unknown" | "ready" | "unavailable";
|
|
487
|
-
availabilityReason?: "
|
|
488
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
365
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
489
366
|
}[];
|
|
490
367
|
defaultModel: string | null;
|
|
491
368
|
}>;
|
|
@@ -516,65 +393,50 @@ export declare const EnterpriseEffectiveUserConfigSchema: z.ZodObject<{
|
|
|
516
393
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
517
394
|
authorizedModels: z.ZodArray<z.ZodObject<{
|
|
518
395
|
model: z.ZodString;
|
|
519
|
-
routeId: z.ZodString;
|
|
520
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
521
396
|
sourceGroupId: z.ZodString;
|
|
522
397
|
sourceGroupName: z.ZodString;
|
|
523
398
|
sourceGroupPriority: z.ZodNumber;
|
|
524
|
-
status: z.
|
|
399
|
+
status: z.ZodLiteral<"active">;
|
|
525
400
|
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
526
|
-
availabilityReason: z.ZodOptional<z.ZodEnum<["
|
|
527
|
-
blockedReason: z.ZodOptional<z.ZodEnum<["route-not-found", "route-not-active", "connection-not-active", "binding-route-mismatch"]>>;
|
|
401
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
528
402
|
}, "strict", z.ZodTypeAny, {
|
|
529
|
-
status: "active"
|
|
403
|
+
status: "active";
|
|
530
404
|
model: string;
|
|
531
|
-
routeId: string;
|
|
532
|
-
routeAlias: string | null;
|
|
533
405
|
sourceGroupId: string;
|
|
534
406
|
sourceGroupName: string;
|
|
535
407
|
sourceGroupPriority: number;
|
|
536
408
|
availability: "unknown" | "ready" | "unavailable";
|
|
537
|
-
availabilityReason?: "
|
|
538
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
409
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
539
410
|
}, {
|
|
540
|
-
status: "active"
|
|
411
|
+
status: "active";
|
|
541
412
|
model: string;
|
|
542
|
-
routeId: string;
|
|
543
|
-
routeAlias: string | null;
|
|
544
413
|
sourceGroupId: string;
|
|
545
414
|
sourceGroupName: string;
|
|
546
415
|
sourceGroupPriority: number;
|
|
547
416
|
availability: "unknown" | "ready" | "unavailable";
|
|
548
|
-
availabilityReason?: "
|
|
549
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
417
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
550
418
|
}>, "many">;
|
|
551
419
|
defaultModel: z.ZodNullable<z.ZodString>;
|
|
552
420
|
}, "strict", z.ZodTypeAny, {
|
|
553
421
|
authorizedModels: {
|
|
554
|
-
status: "active"
|
|
422
|
+
status: "active";
|
|
555
423
|
model: string;
|
|
556
|
-
routeId: string;
|
|
557
|
-
routeAlias: string | null;
|
|
558
424
|
sourceGroupId: string;
|
|
559
425
|
sourceGroupName: string;
|
|
560
426
|
sourceGroupPriority: number;
|
|
561
427
|
availability: "unknown" | "ready" | "unavailable";
|
|
562
|
-
availabilityReason?: "
|
|
563
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
428
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
564
429
|
}[];
|
|
565
430
|
defaultModel: string | null;
|
|
566
431
|
}, {
|
|
567
432
|
authorizedModels: {
|
|
568
|
-
status: "active"
|
|
433
|
+
status: "active";
|
|
569
434
|
model: string;
|
|
570
|
-
routeId: string;
|
|
571
|
-
routeAlias: string | null;
|
|
572
435
|
sourceGroupId: string;
|
|
573
436
|
sourceGroupName: string;
|
|
574
437
|
sourceGroupPriority: number;
|
|
575
438
|
availability: "unknown" | "ready" | "unavailable";
|
|
576
|
-
availabilityReason?: "
|
|
577
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
439
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
578
440
|
}[];
|
|
579
441
|
defaultModel: string | null;
|
|
580
442
|
}>>;
|
|
@@ -582,16 +444,13 @@ export declare const EnterpriseEffectiveUserConfigSchema: z.ZodObject<{
|
|
|
582
444
|
status: "ready" | "blocked" | "partially_ready";
|
|
583
445
|
agents: Record<string, {
|
|
584
446
|
authorizedModels: {
|
|
585
|
-
status: "active"
|
|
447
|
+
status: "active";
|
|
586
448
|
model: string;
|
|
587
|
-
routeId: string;
|
|
588
|
-
routeAlias: string | null;
|
|
589
449
|
sourceGroupId: string;
|
|
590
450
|
sourceGroupName: string;
|
|
591
451
|
sourceGroupPriority: number;
|
|
592
452
|
availability: "unknown" | "ready" | "unavailable";
|
|
593
|
-
availabilityReason?: "
|
|
594
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
453
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
595
454
|
}[];
|
|
596
455
|
defaultModel: string | null;
|
|
597
456
|
}>;
|
|
@@ -601,16 +460,13 @@ export declare const EnterpriseEffectiveUserConfigSchema: z.ZodObject<{
|
|
|
601
460
|
status: "ready" | "blocked" | "partially_ready";
|
|
602
461
|
agents: Record<string, {
|
|
603
462
|
authorizedModels: {
|
|
604
|
-
status: "active"
|
|
463
|
+
status: "active";
|
|
605
464
|
model: string;
|
|
606
|
-
routeId: string;
|
|
607
|
-
routeAlias: string | null;
|
|
608
465
|
sourceGroupId: string;
|
|
609
466
|
sourceGroupName: string;
|
|
610
467
|
sourceGroupPriority: number;
|
|
611
468
|
availability: "unknown" | "ready" | "unavailable";
|
|
612
|
-
availabilityReason?: "
|
|
613
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
469
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
614
470
|
}[];
|
|
615
471
|
defaultModel: string | null;
|
|
616
472
|
}>;
|
|
@@ -628,16 +484,13 @@ export declare const EnterpriseEffectiveUserConfigSchema: z.ZodObject<{
|
|
|
628
484
|
status: "ready" | "blocked" | "partially_ready";
|
|
629
485
|
agents: Record<string, {
|
|
630
486
|
authorizedModels: {
|
|
631
|
-
status: "active"
|
|
487
|
+
status: "active";
|
|
632
488
|
model: string;
|
|
633
|
-
routeId: string;
|
|
634
|
-
routeAlias: string | null;
|
|
635
489
|
sourceGroupId: string;
|
|
636
490
|
sourceGroupName: string;
|
|
637
491
|
sourceGroupPriority: number;
|
|
638
492
|
availability: "unknown" | "ready" | "unavailable";
|
|
639
|
-
availabilityReason?: "
|
|
640
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
493
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
641
494
|
}[];
|
|
642
495
|
defaultModel: string | null;
|
|
643
496
|
}>;
|
|
@@ -655,16 +508,13 @@ export declare const EnterpriseEffectiveUserConfigSchema: z.ZodObject<{
|
|
|
655
508
|
status: "ready" | "blocked" | "partially_ready";
|
|
656
509
|
agents: Record<string, {
|
|
657
510
|
authorizedModels: {
|
|
658
|
-
status: "active"
|
|
511
|
+
status: "active";
|
|
659
512
|
model: string;
|
|
660
|
-
routeId: string;
|
|
661
|
-
routeAlias: string | null;
|
|
662
513
|
sourceGroupId: string;
|
|
663
514
|
sourceGroupName: string;
|
|
664
515
|
sourceGroupPriority: number;
|
|
665
516
|
availability: "unknown" | "ready" | "unavailable";
|
|
666
|
-
availabilityReason?: "
|
|
667
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
517
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
668
518
|
}[];
|
|
669
519
|
defaultModel: string | null;
|
|
670
520
|
}>;
|
|
@@ -697,65 +547,50 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
697
547
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
698
548
|
authorizedModels: z.ZodArray<z.ZodObject<{
|
|
699
549
|
model: z.ZodString;
|
|
700
|
-
routeId: z.ZodString;
|
|
701
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
702
550
|
sourceGroupId: z.ZodString;
|
|
703
551
|
sourceGroupName: z.ZodString;
|
|
704
552
|
sourceGroupPriority: z.ZodNumber;
|
|
705
|
-
status: z.
|
|
553
|
+
status: z.ZodLiteral<"active">;
|
|
706
554
|
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
707
|
-
availabilityReason: z.ZodOptional<z.ZodEnum<["
|
|
708
|
-
blockedReason: z.ZodOptional<z.ZodEnum<["route-not-found", "route-not-active", "connection-not-active", "binding-route-mismatch"]>>;
|
|
555
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
709
556
|
}, "strict", z.ZodTypeAny, {
|
|
710
|
-
status: "active"
|
|
557
|
+
status: "active";
|
|
711
558
|
model: string;
|
|
712
|
-
routeId: string;
|
|
713
|
-
routeAlias: string | null;
|
|
714
559
|
sourceGroupId: string;
|
|
715
560
|
sourceGroupName: string;
|
|
716
561
|
sourceGroupPriority: number;
|
|
717
562
|
availability: "unknown" | "ready" | "unavailable";
|
|
718
|
-
availabilityReason?: "
|
|
719
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
563
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
720
564
|
}, {
|
|
721
|
-
status: "active"
|
|
565
|
+
status: "active";
|
|
722
566
|
model: string;
|
|
723
|
-
routeId: string;
|
|
724
|
-
routeAlias: string | null;
|
|
725
567
|
sourceGroupId: string;
|
|
726
568
|
sourceGroupName: string;
|
|
727
569
|
sourceGroupPriority: number;
|
|
728
570
|
availability: "unknown" | "ready" | "unavailable";
|
|
729
|
-
availabilityReason?: "
|
|
730
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
571
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
731
572
|
}>, "many">;
|
|
732
573
|
defaultModel: z.ZodNullable<z.ZodString>;
|
|
733
574
|
}, "strict", z.ZodTypeAny, {
|
|
734
575
|
authorizedModels: {
|
|
735
|
-
status: "active"
|
|
576
|
+
status: "active";
|
|
736
577
|
model: string;
|
|
737
|
-
routeId: string;
|
|
738
|
-
routeAlias: string | null;
|
|
739
578
|
sourceGroupId: string;
|
|
740
579
|
sourceGroupName: string;
|
|
741
580
|
sourceGroupPriority: number;
|
|
742
581
|
availability: "unknown" | "ready" | "unavailable";
|
|
743
|
-
availabilityReason?: "
|
|
744
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
582
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
745
583
|
}[];
|
|
746
584
|
defaultModel: string | null;
|
|
747
585
|
}, {
|
|
748
586
|
authorizedModels: {
|
|
749
|
-
status: "active"
|
|
587
|
+
status: "active";
|
|
750
588
|
model: string;
|
|
751
|
-
routeId: string;
|
|
752
|
-
routeAlias: string | null;
|
|
753
589
|
sourceGroupId: string;
|
|
754
590
|
sourceGroupName: string;
|
|
755
591
|
sourceGroupPriority: number;
|
|
756
592
|
availability: "unknown" | "ready" | "unavailable";
|
|
757
|
-
availabilityReason?: "
|
|
758
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
593
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
759
594
|
}[];
|
|
760
595
|
defaultModel: string | null;
|
|
761
596
|
}>>;
|
|
@@ -763,16 +598,13 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
763
598
|
status: "ready" | "blocked" | "partially_ready";
|
|
764
599
|
agents: Record<string, {
|
|
765
600
|
authorizedModels: {
|
|
766
|
-
status: "active"
|
|
601
|
+
status: "active";
|
|
767
602
|
model: string;
|
|
768
|
-
routeId: string;
|
|
769
|
-
routeAlias: string | null;
|
|
770
603
|
sourceGroupId: string;
|
|
771
604
|
sourceGroupName: string;
|
|
772
605
|
sourceGroupPriority: number;
|
|
773
606
|
availability: "unknown" | "ready" | "unavailable";
|
|
774
|
-
availabilityReason?: "
|
|
775
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
607
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
776
608
|
}[];
|
|
777
609
|
defaultModel: string | null;
|
|
778
610
|
}>;
|
|
@@ -782,16 +614,13 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
782
614
|
status: "ready" | "blocked" | "partially_ready";
|
|
783
615
|
agents: Record<string, {
|
|
784
616
|
authorizedModels: {
|
|
785
|
-
status: "active"
|
|
617
|
+
status: "active";
|
|
786
618
|
model: string;
|
|
787
|
-
routeId: string;
|
|
788
|
-
routeAlias: string | null;
|
|
789
619
|
sourceGroupId: string;
|
|
790
620
|
sourceGroupName: string;
|
|
791
621
|
sourceGroupPriority: number;
|
|
792
622
|
availability: "unknown" | "ready" | "unavailable";
|
|
793
|
-
availabilityReason?: "
|
|
794
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
623
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
795
624
|
}[];
|
|
796
625
|
defaultModel: string | null;
|
|
797
626
|
}>;
|
|
@@ -809,16 +638,13 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
809
638
|
status: "ready" | "blocked" | "partially_ready";
|
|
810
639
|
agents: Record<string, {
|
|
811
640
|
authorizedModels: {
|
|
812
|
-
status: "active"
|
|
641
|
+
status: "active";
|
|
813
642
|
model: string;
|
|
814
|
-
routeId: string;
|
|
815
|
-
routeAlias: string | null;
|
|
816
643
|
sourceGroupId: string;
|
|
817
644
|
sourceGroupName: string;
|
|
818
645
|
sourceGroupPriority: number;
|
|
819
646
|
availability: "unknown" | "ready" | "unavailable";
|
|
820
|
-
availabilityReason?: "
|
|
821
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
647
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
822
648
|
}[];
|
|
823
649
|
defaultModel: string | null;
|
|
824
650
|
}>;
|
|
@@ -836,16 +662,13 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
836
662
|
status: "ready" | "blocked" | "partially_ready";
|
|
837
663
|
agents: Record<string, {
|
|
838
664
|
authorizedModels: {
|
|
839
|
-
status: "active"
|
|
665
|
+
status: "active";
|
|
840
666
|
model: string;
|
|
841
|
-
routeId: string;
|
|
842
|
-
routeAlias: string | null;
|
|
843
667
|
sourceGroupId: string;
|
|
844
668
|
sourceGroupName: string;
|
|
845
669
|
sourceGroupPriority: number;
|
|
846
670
|
availability: "unknown" | "ready" | "unavailable";
|
|
847
|
-
availabilityReason?: "
|
|
848
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
671
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
849
672
|
}[];
|
|
850
673
|
defaultModel: string | null;
|
|
851
674
|
}>;
|
|
@@ -865,16 +688,13 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
865
688
|
status: "ready" | "blocked" | "partially_ready";
|
|
866
689
|
agents: Record<string, {
|
|
867
690
|
authorizedModels: {
|
|
868
|
-
status: "active"
|
|
691
|
+
status: "active";
|
|
869
692
|
model: string;
|
|
870
|
-
routeId: string;
|
|
871
|
-
routeAlias: string | null;
|
|
872
693
|
sourceGroupId: string;
|
|
873
694
|
sourceGroupName: string;
|
|
874
695
|
sourceGroupPriority: number;
|
|
875
696
|
availability: "unknown" | "ready" | "unavailable";
|
|
876
|
-
availabilityReason?: "
|
|
877
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
697
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
878
698
|
}[];
|
|
879
699
|
defaultModel: string | null;
|
|
880
700
|
}>;
|
|
@@ -894,16 +714,13 @@ export declare const EnterpriseEffectiveConfigsSchema: z.ZodObject<{
|
|
|
894
714
|
status: "ready" | "blocked" | "partially_ready";
|
|
895
715
|
agents: Record<string, {
|
|
896
716
|
authorizedModels: {
|
|
897
|
-
status: "active"
|
|
717
|
+
status: "active";
|
|
898
718
|
model: string;
|
|
899
|
-
routeId: string;
|
|
900
|
-
routeAlias: string | null;
|
|
901
719
|
sourceGroupId: string;
|
|
902
720
|
sourceGroupName: string;
|
|
903
721
|
sourceGroupPriority: number;
|
|
904
722
|
availability: "unknown" | "ready" | "unavailable";
|
|
905
|
-
availabilityReason?: "
|
|
906
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
723
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
907
724
|
}[];
|
|
908
725
|
defaultModel: string | null;
|
|
909
726
|
}>;
|
|
@@ -928,44 +745,20 @@ export declare const EnterprisePolicyGroupViewResponseSchema: z.ZodObject<{
|
|
|
928
745
|
id: z.ZodString;
|
|
929
746
|
agent: z.ZodString;
|
|
930
747
|
model: z.ZodString;
|
|
931
|
-
connectionId: z.ZodString;
|
|
932
748
|
isDefault: z.ZodBoolean;
|
|
933
749
|
enabled: z.ZodBoolean;
|
|
934
|
-
routeId: z.ZodString;
|
|
935
|
-
requestProtocol: z.ZodString;
|
|
936
|
-
upstreamProtocol: z.ZodString;
|
|
937
|
-
provider: z.ZodString;
|
|
938
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
939
|
-
routeStatus: z.ZodString;
|
|
940
|
-
connectionStatus: z.ZodString;
|
|
941
750
|
}, "strict", z.ZodTypeAny, {
|
|
942
751
|
model: string;
|
|
943
752
|
agent: string;
|
|
944
753
|
id: string;
|
|
945
754
|
enabled: boolean;
|
|
946
|
-
provider: string;
|
|
947
755
|
isDefault: boolean;
|
|
948
|
-
connectionId: string;
|
|
949
|
-
routeId: string;
|
|
950
|
-
requestProtocol: string;
|
|
951
|
-
upstreamProtocol: string;
|
|
952
|
-
routeAlias: string | null;
|
|
953
|
-
routeStatus: string;
|
|
954
|
-
connectionStatus: string;
|
|
955
756
|
}, {
|
|
956
757
|
model: string;
|
|
957
758
|
agent: string;
|
|
958
759
|
id: string;
|
|
959
760
|
enabled: boolean;
|
|
960
|
-
provider: string;
|
|
961
761
|
isDefault: boolean;
|
|
962
|
-
connectionId: string;
|
|
963
|
-
routeId: string;
|
|
964
|
-
requestProtocol: string;
|
|
965
|
-
upstreamProtocol: string;
|
|
966
|
-
routeAlias: string | null;
|
|
967
|
-
routeStatus: string;
|
|
968
|
-
connectionStatus: string;
|
|
969
762
|
}>, "many">;
|
|
970
763
|
members: z.ZodArray<z.ZodObject<{
|
|
971
764
|
id: z.ZodString;
|
|
@@ -989,22 +782,14 @@ export declare const EnterprisePolicyGroupViewResponseSchema: z.ZodObject<{
|
|
|
989
782
|
createdAt: string;
|
|
990
783
|
updatedAt: string;
|
|
991
784
|
version: number;
|
|
992
|
-
priority: number;
|
|
993
785
|
bindings: {
|
|
994
786
|
model: string;
|
|
995
787
|
agent: string;
|
|
996
788
|
id: string;
|
|
997
789
|
enabled: boolean;
|
|
998
|
-
provider: string;
|
|
999
790
|
isDefault: boolean;
|
|
1000
|
-
connectionId: string;
|
|
1001
|
-
routeId: string;
|
|
1002
|
-
requestProtocol: string;
|
|
1003
|
-
upstreamProtocol: string;
|
|
1004
|
-
routeAlias: string | null;
|
|
1005
|
-
routeStatus: string;
|
|
1006
|
-
connectionStatus: string;
|
|
1007
791
|
}[];
|
|
792
|
+
priority: number;
|
|
1008
793
|
members: {
|
|
1009
794
|
id: string;
|
|
1010
795
|
displayName: string;
|
|
@@ -1017,22 +802,14 @@ export declare const EnterprisePolicyGroupViewResponseSchema: z.ZodObject<{
|
|
|
1017
802
|
createdAt: string;
|
|
1018
803
|
updatedAt: string;
|
|
1019
804
|
version: number;
|
|
1020
|
-
priority: number;
|
|
1021
805
|
bindings: {
|
|
1022
806
|
model: string;
|
|
1023
807
|
agent: string;
|
|
1024
808
|
id: string;
|
|
1025
809
|
enabled: boolean;
|
|
1026
|
-
provider: string;
|
|
1027
810
|
isDefault: boolean;
|
|
1028
|
-
connectionId: string;
|
|
1029
|
-
routeId: string;
|
|
1030
|
-
requestProtocol: string;
|
|
1031
|
-
upstreamProtocol: string;
|
|
1032
|
-
routeAlias: string | null;
|
|
1033
|
-
routeStatus: string;
|
|
1034
|
-
connectionStatus: string;
|
|
1035
811
|
}[];
|
|
812
|
+
priority: number;
|
|
1036
813
|
members: {
|
|
1037
814
|
id: string;
|
|
1038
815
|
displayName: string;
|
|
@@ -1047,22 +824,14 @@ export declare const EnterprisePolicyGroupViewResponseSchema: z.ZodObject<{
|
|
|
1047
824
|
createdAt: string;
|
|
1048
825
|
updatedAt: string;
|
|
1049
826
|
version: number;
|
|
1050
|
-
priority: number;
|
|
1051
827
|
bindings: {
|
|
1052
828
|
model: string;
|
|
1053
829
|
agent: string;
|
|
1054
830
|
id: string;
|
|
1055
831
|
enabled: boolean;
|
|
1056
|
-
provider: string;
|
|
1057
832
|
isDefault: boolean;
|
|
1058
|
-
connectionId: string;
|
|
1059
|
-
routeId: string;
|
|
1060
|
-
requestProtocol: string;
|
|
1061
|
-
upstreamProtocol: string;
|
|
1062
|
-
routeAlias: string | null;
|
|
1063
|
-
routeStatus: string;
|
|
1064
|
-
connectionStatus: string;
|
|
1065
833
|
}[];
|
|
834
|
+
priority: number;
|
|
1066
835
|
members: {
|
|
1067
836
|
id: string;
|
|
1068
837
|
displayName: string;
|
|
@@ -1078,22 +847,14 @@ export declare const EnterprisePolicyGroupViewResponseSchema: z.ZodObject<{
|
|
|
1078
847
|
createdAt: string;
|
|
1079
848
|
updatedAt: string;
|
|
1080
849
|
version: number;
|
|
1081
|
-
priority: number;
|
|
1082
850
|
bindings: {
|
|
1083
851
|
model: string;
|
|
1084
852
|
agent: string;
|
|
1085
853
|
id: string;
|
|
1086
854
|
enabled: boolean;
|
|
1087
|
-
provider: string;
|
|
1088
855
|
isDefault: boolean;
|
|
1089
|
-
connectionId: string;
|
|
1090
|
-
routeId: string;
|
|
1091
|
-
requestProtocol: string;
|
|
1092
|
-
upstreamProtocol: string;
|
|
1093
|
-
routeAlias: string | null;
|
|
1094
|
-
routeStatus: string;
|
|
1095
|
-
connectionStatus: string;
|
|
1096
856
|
}[];
|
|
857
|
+
priority: number;
|
|
1097
858
|
members: {
|
|
1098
859
|
id: string;
|
|
1099
860
|
displayName: string;
|
|
@@ -1114,44 +875,20 @@ export declare const EnterprisePolicyGroupResponseSchema: z.ZodObject<{
|
|
|
1114
875
|
id: z.ZodString;
|
|
1115
876
|
agent: z.ZodString;
|
|
1116
877
|
model: z.ZodString;
|
|
1117
|
-
connectionId: z.ZodString;
|
|
1118
878
|
isDefault: z.ZodBoolean;
|
|
1119
879
|
enabled: z.ZodBoolean;
|
|
1120
|
-
routeId: z.ZodString;
|
|
1121
|
-
requestProtocol: z.ZodString;
|
|
1122
|
-
upstreamProtocol: z.ZodString;
|
|
1123
|
-
provider: z.ZodString;
|
|
1124
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
1125
|
-
routeStatus: z.ZodString;
|
|
1126
|
-
connectionStatus: z.ZodString;
|
|
1127
880
|
}, "strict", z.ZodTypeAny, {
|
|
1128
881
|
model: string;
|
|
1129
882
|
agent: string;
|
|
1130
883
|
id: string;
|
|
1131
884
|
enabled: boolean;
|
|
1132
|
-
provider: string;
|
|
1133
885
|
isDefault: boolean;
|
|
1134
|
-
connectionId: string;
|
|
1135
|
-
routeId: string;
|
|
1136
|
-
requestProtocol: string;
|
|
1137
|
-
upstreamProtocol: string;
|
|
1138
|
-
routeAlias: string | null;
|
|
1139
|
-
routeStatus: string;
|
|
1140
|
-
connectionStatus: string;
|
|
1141
886
|
}, {
|
|
1142
887
|
model: string;
|
|
1143
888
|
agent: string;
|
|
1144
889
|
id: string;
|
|
1145
890
|
enabled: boolean;
|
|
1146
|
-
provider: string;
|
|
1147
891
|
isDefault: boolean;
|
|
1148
|
-
connectionId: string;
|
|
1149
|
-
routeId: string;
|
|
1150
|
-
requestProtocol: string;
|
|
1151
|
-
upstreamProtocol: string;
|
|
1152
|
-
routeAlias: string | null;
|
|
1153
|
-
routeStatus: string;
|
|
1154
|
-
connectionStatus: string;
|
|
1155
892
|
}>, "many">;
|
|
1156
893
|
members: z.ZodArray<z.ZodObject<{
|
|
1157
894
|
id: z.ZodString;
|
|
@@ -1175,22 +912,14 @@ export declare const EnterprisePolicyGroupResponseSchema: z.ZodObject<{
|
|
|
1175
912
|
createdAt: string;
|
|
1176
913
|
updatedAt: string;
|
|
1177
914
|
version: number;
|
|
1178
|
-
priority: number;
|
|
1179
915
|
bindings: {
|
|
1180
916
|
model: string;
|
|
1181
917
|
agent: string;
|
|
1182
918
|
id: string;
|
|
1183
919
|
enabled: boolean;
|
|
1184
|
-
provider: string;
|
|
1185
920
|
isDefault: boolean;
|
|
1186
|
-
connectionId: string;
|
|
1187
|
-
routeId: string;
|
|
1188
|
-
requestProtocol: string;
|
|
1189
|
-
upstreamProtocol: string;
|
|
1190
|
-
routeAlias: string | null;
|
|
1191
|
-
routeStatus: string;
|
|
1192
|
-
connectionStatus: string;
|
|
1193
921
|
}[];
|
|
922
|
+
priority: number;
|
|
1194
923
|
members: {
|
|
1195
924
|
id: string;
|
|
1196
925
|
displayName: string;
|
|
@@ -1203,22 +932,14 @@ export declare const EnterprisePolicyGroupResponseSchema: z.ZodObject<{
|
|
|
1203
932
|
createdAt: string;
|
|
1204
933
|
updatedAt: string;
|
|
1205
934
|
version: number;
|
|
1206
|
-
priority: number;
|
|
1207
935
|
bindings: {
|
|
1208
936
|
model: string;
|
|
1209
937
|
agent: string;
|
|
1210
938
|
id: string;
|
|
1211
939
|
enabled: boolean;
|
|
1212
|
-
provider: string;
|
|
1213
940
|
isDefault: boolean;
|
|
1214
|
-
connectionId: string;
|
|
1215
|
-
routeId: string;
|
|
1216
|
-
requestProtocol: string;
|
|
1217
|
-
upstreamProtocol: string;
|
|
1218
|
-
routeAlias: string | null;
|
|
1219
|
-
routeStatus: string;
|
|
1220
|
-
connectionStatus: string;
|
|
1221
941
|
}[];
|
|
942
|
+
priority: number;
|
|
1222
943
|
members: {
|
|
1223
944
|
id: string;
|
|
1224
945
|
displayName: string;
|
|
@@ -1233,22 +954,14 @@ export declare const EnterprisePolicyGroupResponseSchema: z.ZodObject<{
|
|
|
1233
954
|
createdAt: string;
|
|
1234
955
|
updatedAt: string;
|
|
1235
956
|
version: number;
|
|
1236
|
-
priority: number;
|
|
1237
957
|
bindings: {
|
|
1238
958
|
model: string;
|
|
1239
959
|
agent: string;
|
|
1240
960
|
id: string;
|
|
1241
961
|
enabled: boolean;
|
|
1242
|
-
provider: string;
|
|
1243
962
|
isDefault: boolean;
|
|
1244
|
-
connectionId: string;
|
|
1245
|
-
routeId: string;
|
|
1246
|
-
requestProtocol: string;
|
|
1247
|
-
upstreamProtocol: string;
|
|
1248
|
-
routeAlias: string | null;
|
|
1249
|
-
routeStatus: string;
|
|
1250
|
-
connectionStatus: string;
|
|
1251
963
|
}[];
|
|
964
|
+
priority: number;
|
|
1252
965
|
members: {
|
|
1253
966
|
id: string;
|
|
1254
967
|
displayName: string;
|
|
@@ -1264,22 +977,14 @@ export declare const EnterprisePolicyGroupResponseSchema: z.ZodObject<{
|
|
|
1264
977
|
createdAt: string;
|
|
1265
978
|
updatedAt: string;
|
|
1266
979
|
version: number;
|
|
1267
|
-
priority: number;
|
|
1268
980
|
bindings: {
|
|
1269
981
|
model: string;
|
|
1270
982
|
agent: string;
|
|
1271
983
|
id: string;
|
|
1272
984
|
enabled: boolean;
|
|
1273
|
-
provider: string;
|
|
1274
985
|
isDefault: boolean;
|
|
1275
|
-
connectionId: string;
|
|
1276
|
-
routeId: string;
|
|
1277
|
-
requestProtocol: string;
|
|
1278
|
-
upstreamProtocol: string;
|
|
1279
|
-
routeAlias: string | null;
|
|
1280
|
-
routeStatus: string;
|
|
1281
|
-
connectionStatus: string;
|
|
1282
986
|
}[];
|
|
987
|
+
priority: number;
|
|
1283
988
|
members: {
|
|
1284
989
|
id: string;
|
|
1285
990
|
displayName: string;
|
|
@@ -1317,65 +1022,50 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1317
1022
|
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1318
1023
|
authorizedModels: z.ZodArray<z.ZodObject<{
|
|
1319
1024
|
model: z.ZodString;
|
|
1320
|
-
routeId: z.ZodString;
|
|
1321
|
-
routeAlias: z.ZodNullable<z.ZodString>;
|
|
1322
1025
|
sourceGroupId: z.ZodString;
|
|
1323
1026
|
sourceGroupName: z.ZodString;
|
|
1324
1027
|
sourceGroupPriority: z.ZodNumber;
|
|
1325
|
-
status: z.
|
|
1028
|
+
status: z.ZodLiteral<"active">;
|
|
1326
1029
|
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
1327
|
-
availabilityReason: z.ZodOptional<z.ZodEnum<["
|
|
1328
|
-
blockedReason: z.ZodOptional<z.ZodEnum<["route-not-found", "route-not-active", "connection-not-active", "binding-route-mismatch"]>>;
|
|
1030
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
1329
1031
|
}, "strict", z.ZodTypeAny, {
|
|
1330
|
-
status: "active"
|
|
1032
|
+
status: "active";
|
|
1331
1033
|
model: string;
|
|
1332
|
-
routeId: string;
|
|
1333
|
-
routeAlias: string | null;
|
|
1334
1034
|
sourceGroupId: string;
|
|
1335
1035
|
sourceGroupName: string;
|
|
1336
1036
|
sourceGroupPriority: number;
|
|
1337
1037
|
availability: "unknown" | "ready" | "unavailable";
|
|
1338
|
-
availabilityReason?: "
|
|
1339
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1038
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1340
1039
|
}, {
|
|
1341
|
-
status: "active"
|
|
1040
|
+
status: "active";
|
|
1342
1041
|
model: string;
|
|
1343
|
-
routeId: string;
|
|
1344
|
-
routeAlias: string | null;
|
|
1345
1042
|
sourceGroupId: string;
|
|
1346
1043
|
sourceGroupName: string;
|
|
1347
1044
|
sourceGroupPriority: number;
|
|
1348
1045
|
availability: "unknown" | "ready" | "unavailable";
|
|
1349
|
-
availabilityReason?: "
|
|
1350
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1046
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1351
1047
|
}>, "many">;
|
|
1352
1048
|
defaultModel: z.ZodNullable<z.ZodString>;
|
|
1353
1049
|
}, "strict", z.ZodTypeAny, {
|
|
1354
1050
|
authorizedModels: {
|
|
1355
|
-
status: "active"
|
|
1051
|
+
status: "active";
|
|
1356
1052
|
model: string;
|
|
1357
|
-
routeId: string;
|
|
1358
|
-
routeAlias: string | null;
|
|
1359
1053
|
sourceGroupId: string;
|
|
1360
1054
|
sourceGroupName: string;
|
|
1361
1055
|
sourceGroupPriority: number;
|
|
1362
1056
|
availability: "unknown" | "ready" | "unavailable";
|
|
1363
|
-
availabilityReason?: "
|
|
1364
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1057
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1365
1058
|
}[];
|
|
1366
1059
|
defaultModel: string | null;
|
|
1367
1060
|
}, {
|
|
1368
1061
|
authorizedModels: {
|
|
1369
|
-
status: "active"
|
|
1062
|
+
status: "active";
|
|
1370
1063
|
model: string;
|
|
1371
|
-
routeId: string;
|
|
1372
|
-
routeAlias: string | null;
|
|
1373
1064
|
sourceGroupId: string;
|
|
1374
1065
|
sourceGroupName: string;
|
|
1375
1066
|
sourceGroupPriority: number;
|
|
1376
1067
|
availability: "unknown" | "ready" | "unavailable";
|
|
1377
|
-
availabilityReason?: "
|
|
1378
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1068
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1379
1069
|
}[];
|
|
1380
1070
|
defaultModel: string | null;
|
|
1381
1071
|
}>>;
|
|
@@ -1383,16 +1073,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1383
1073
|
status: "ready" | "blocked" | "partially_ready";
|
|
1384
1074
|
agents: Record<string, {
|
|
1385
1075
|
authorizedModels: {
|
|
1386
|
-
status: "active"
|
|
1076
|
+
status: "active";
|
|
1387
1077
|
model: string;
|
|
1388
|
-
routeId: string;
|
|
1389
|
-
routeAlias: string | null;
|
|
1390
1078
|
sourceGroupId: string;
|
|
1391
1079
|
sourceGroupName: string;
|
|
1392
1080
|
sourceGroupPriority: number;
|
|
1393
1081
|
availability: "unknown" | "ready" | "unavailable";
|
|
1394
|
-
availabilityReason?: "
|
|
1395
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1082
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1396
1083
|
}[];
|
|
1397
1084
|
defaultModel: string | null;
|
|
1398
1085
|
}>;
|
|
@@ -1402,16 +1089,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1402
1089
|
status: "ready" | "blocked" | "partially_ready";
|
|
1403
1090
|
agents: Record<string, {
|
|
1404
1091
|
authorizedModels: {
|
|
1405
|
-
status: "active"
|
|
1092
|
+
status: "active";
|
|
1406
1093
|
model: string;
|
|
1407
|
-
routeId: string;
|
|
1408
|
-
routeAlias: string | null;
|
|
1409
1094
|
sourceGroupId: string;
|
|
1410
1095
|
sourceGroupName: string;
|
|
1411
1096
|
sourceGroupPriority: number;
|
|
1412
1097
|
availability: "unknown" | "ready" | "unavailable";
|
|
1413
|
-
availabilityReason?: "
|
|
1414
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1098
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1415
1099
|
}[];
|
|
1416
1100
|
defaultModel: string | null;
|
|
1417
1101
|
}>;
|
|
@@ -1429,16 +1113,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1429
1113
|
status: "ready" | "blocked" | "partially_ready";
|
|
1430
1114
|
agents: Record<string, {
|
|
1431
1115
|
authorizedModels: {
|
|
1432
|
-
status: "active"
|
|
1116
|
+
status: "active";
|
|
1433
1117
|
model: string;
|
|
1434
|
-
routeId: string;
|
|
1435
|
-
routeAlias: string | null;
|
|
1436
1118
|
sourceGroupId: string;
|
|
1437
1119
|
sourceGroupName: string;
|
|
1438
1120
|
sourceGroupPriority: number;
|
|
1439
1121
|
availability: "unknown" | "ready" | "unavailable";
|
|
1440
|
-
availabilityReason?: "
|
|
1441
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1122
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1442
1123
|
}[];
|
|
1443
1124
|
defaultModel: string | null;
|
|
1444
1125
|
}>;
|
|
@@ -1456,16 +1137,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1456
1137
|
status: "ready" | "blocked" | "partially_ready";
|
|
1457
1138
|
agents: Record<string, {
|
|
1458
1139
|
authorizedModels: {
|
|
1459
|
-
status: "active"
|
|
1140
|
+
status: "active";
|
|
1460
1141
|
model: string;
|
|
1461
|
-
routeId: string;
|
|
1462
|
-
routeAlias: string | null;
|
|
1463
1142
|
sourceGroupId: string;
|
|
1464
1143
|
sourceGroupName: string;
|
|
1465
1144
|
sourceGroupPriority: number;
|
|
1466
1145
|
availability: "unknown" | "ready" | "unavailable";
|
|
1467
|
-
availabilityReason?: "
|
|
1468
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1146
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1469
1147
|
}[];
|
|
1470
1148
|
defaultModel: string | null;
|
|
1471
1149
|
}>;
|
|
@@ -1485,16 +1163,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1485
1163
|
status: "ready" | "blocked" | "partially_ready";
|
|
1486
1164
|
agents: Record<string, {
|
|
1487
1165
|
authorizedModels: {
|
|
1488
|
-
status: "active"
|
|
1166
|
+
status: "active";
|
|
1489
1167
|
model: string;
|
|
1490
|
-
routeId: string;
|
|
1491
|
-
routeAlias: string | null;
|
|
1492
1168
|
sourceGroupId: string;
|
|
1493
1169
|
sourceGroupName: string;
|
|
1494
1170
|
sourceGroupPriority: number;
|
|
1495
1171
|
availability: "unknown" | "ready" | "unavailable";
|
|
1496
|
-
availabilityReason?: "
|
|
1497
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1172
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1498
1173
|
}[];
|
|
1499
1174
|
defaultModel: string | null;
|
|
1500
1175
|
}>;
|
|
@@ -1514,16 +1189,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1514
1189
|
status: "ready" | "blocked" | "partially_ready";
|
|
1515
1190
|
agents: Record<string, {
|
|
1516
1191
|
authorizedModels: {
|
|
1517
|
-
status: "active"
|
|
1192
|
+
status: "active";
|
|
1518
1193
|
model: string;
|
|
1519
|
-
routeId: string;
|
|
1520
|
-
routeAlias: string | null;
|
|
1521
1194
|
sourceGroupId: string;
|
|
1522
1195
|
sourceGroupName: string;
|
|
1523
1196
|
sourceGroupPriority: number;
|
|
1524
1197
|
availability: "unknown" | "ready" | "unavailable";
|
|
1525
|
-
availabilityReason?: "
|
|
1526
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1198
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1527
1199
|
}[];
|
|
1528
1200
|
defaultModel: string | null;
|
|
1529
1201
|
}>;
|
|
@@ -1545,16 +1217,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1545
1217
|
status: "ready" | "blocked" | "partially_ready";
|
|
1546
1218
|
agents: Record<string, {
|
|
1547
1219
|
authorizedModels: {
|
|
1548
|
-
status: "active"
|
|
1220
|
+
status: "active";
|
|
1549
1221
|
model: string;
|
|
1550
|
-
routeId: string;
|
|
1551
|
-
routeAlias: string | null;
|
|
1552
1222
|
sourceGroupId: string;
|
|
1553
1223
|
sourceGroupName: string;
|
|
1554
1224
|
sourceGroupPriority: number;
|
|
1555
1225
|
availability: "unknown" | "ready" | "unavailable";
|
|
1556
|
-
availabilityReason?: "
|
|
1557
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1226
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1558
1227
|
}[];
|
|
1559
1228
|
defaultModel: string | null;
|
|
1560
1229
|
}>;
|
|
@@ -1577,16 +1246,13 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1577
1246
|
status: "ready" | "blocked" | "partially_ready";
|
|
1578
1247
|
agents: Record<string, {
|
|
1579
1248
|
authorizedModels: {
|
|
1580
|
-
status: "active"
|
|
1249
|
+
status: "active";
|
|
1581
1250
|
model: string;
|
|
1582
|
-
routeId: string;
|
|
1583
|
-
routeAlias: string | null;
|
|
1584
1251
|
sourceGroupId: string;
|
|
1585
1252
|
sourceGroupName: string;
|
|
1586
1253
|
sourceGroupPriority: number;
|
|
1587
1254
|
availability: "unknown" | "ready" | "unavailable";
|
|
1588
|
-
availabilityReason?: "
|
|
1589
|
-
blockedReason?: "route-not-active" | "connection-not-active" | "route-not-found" | "binding-route-mismatch" | undefined;
|
|
1255
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1590
1256
|
}[];
|
|
1591
1257
|
defaultModel: string | null;
|
|
1592
1258
|
}>;
|
|
@@ -1597,3 +1263,131 @@ export declare const EnterpriseEffectiveConfigsResponseSchema: z.ZodObject<{
|
|
|
1597
1263
|
};
|
|
1598
1264
|
ok: true;
|
|
1599
1265
|
}>;
|
|
1266
|
+
export declare const EnterpriseEffectiveConfigResponseSchema: z.ZodObject<{
|
|
1267
|
+
ok: z.ZodLiteral<true>;
|
|
1268
|
+
data: z.ZodObject<{
|
|
1269
|
+
configVersion: z.ZodString;
|
|
1270
|
+
status: z.ZodEnum<["ready", "partially_ready", "blocked"]>;
|
|
1271
|
+
blockedReason: z.ZodOptional<z.ZodEnum<["user-disabled", "no-authorized-model"]>>;
|
|
1272
|
+
agents: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1273
|
+
authorizedModels: z.ZodArray<z.ZodObject<{
|
|
1274
|
+
model: z.ZodString;
|
|
1275
|
+
sourceGroupId: z.ZodString;
|
|
1276
|
+
sourceGroupName: z.ZodString;
|
|
1277
|
+
sourceGroupPriority: z.ZodNumber;
|
|
1278
|
+
status: z.ZodLiteral<"active">;
|
|
1279
|
+
availability: z.ZodEnum<["ready", "unknown", "unavailable"]>;
|
|
1280
|
+
availabilityReason: z.ZodOptional<z.ZodEnum<["connection-not-active", "no-key", "models-unconfirmed", "model-not-available", "protocol-not-supported"]>>;
|
|
1281
|
+
}, "strict", z.ZodTypeAny, {
|
|
1282
|
+
status: "active";
|
|
1283
|
+
model: string;
|
|
1284
|
+
sourceGroupId: string;
|
|
1285
|
+
sourceGroupName: string;
|
|
1286
|
+
sourceGroupPriority: number;
|
|
1287
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1288
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1289
|
+
}, {
|
|
1290
|
+
status: "active";
|
|
1291
|
+
model: string;
|
|
1292
|
+
sourceGroupId: string;
|
|
1293
|
+
sourceGroupName: string;
|
|
1294
|
+
sourceGroupPriority: number;
|
|
1295
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1296
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1297
|
+
}>, "many">;
|
|
1298
|
+
defaultModel: z.ZodNullable<z.ZodString>;
|
|
1299
|
+
}, "strict", z.ZodTypeAny, {
|
|
1300
|
+
authorizedModels: {
|
|
1301
|
+
status: "active";
|
|
1302
|
+
model: string;
|
|
1303
|
+
sourceGroupId: string;
|
|
1304
|
+
sourceGroupName: string;
|
|
1305
|
+
sourceGroupPriority: number;
|
|
1306
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1307
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1308
|
+
}[];
|
|
1309
|
+
defaultModel: string | null;
|
|
1310
|
+
}, {
|
|
1311
|
+
authorizedModels: {
|
|
1312
|
+
status: "active";
|
|
1313
|
+
model: string;
|
|
1314
|
+
sourceGroupId: string;
|
|
1315
|
+
sourceGroupName: string;
|
|
1316
|
+
sourceGroupPriority: number;
|
|
1317
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1318
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1319
|
+
}[];
|
|
1320
|
+
defaultModel: string | null;
|
|
1321
|
+
}>>;
|
|
1322
|
+
}, "strict", z.ZodTypeAny, {
|
|
1323
|
+
status: "ready" | "blocked" | "partially_ready";
|
|
1324
|
+
agents: Record<string, {
|
|
1325
|
+
authorizedModels: {
|
|
1326
|
+
status: "active";
|
|
1327
|
+
model: string;
|
|
1328
|
+
sourceGroupId: string;
|
|
1329
|
+
sourceGroupName: string;
|
|
1330
|
+
sourceGroupPriority: number;
|
|
1331
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1332
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1333
|
+
}[];
|
|
1334
|
+
defaultModel: string | null;
|
|
1335
|
+
}>;
|
|
1336
|
+
configVersion: string;
|
|
1337
|
+
blockedReason?: "user-disabled" | "no-authorized-model" | undefined;
|
|
1338
|
+
}, {
|
|
1339
|
+
status: "ready" | "blocked" | "partially_ready";
|
|
1340
|
+
agents: Record<string, {
|
|
1341
|
+
authorizedModels: {
|
|
1342
|
+
status: "active";
|
|
1343
|
+
model: string;
|
|
1344
|
+
sourceGroupId: string;
|
|
1345
|
+
sourceGroupName: string;
|
|
1346
|
+
sourceGroupPriority: number;
|
|
1347
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1348
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1349
|
+
}[];
|
|
1350
|
+
defaultModel: string | null;
|
|
1351
|
+
}>;
|
|
1352
|
+
configVersion: string;
|
|
1353
|
+
blockedReason?: "user-disabled" | "no-authorized-model" | undefined;
|
|
1354
|
+
}>;
|
|
1355
|
+
}, "strict", z.ZodTypeAny, {
|
|
1356
|
+
data: {
|
|
1357
|
+
status: "ready" | "blocked" | "partially_ready";
|
|
1358
|
+
agents: Record<string, {
|
|
1359
|
+
authorizedModels: {
|
|
1360
|
+
status: "active";
|
|
1361
|
+
model: string;
|
|
1362
|
+
sourceGroupId: string;
|
|
1363
|
+
sourceGroupName: string;
|
|
1364
|
+
sourceGroupPriority: number;
|
|
1365
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1366
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1367
|
+
}[];
|
|
1368
|
+
defaultModel: string | null;
|
|
1369
|
+
}>;
|
|
1370
|
+
configVersion: string;
|
|
1371
|
+
blockedReason?: "user-disabled" | "no-authorized-model" | undefined;
|
|
1372
|
+
};
|
|
1373
|
+
ok: true;
|
|
1374
|
+
}, {
|
|
1375
|
+
data: {
|
|
1376
|
+
status: "ready" | "blocked" | "partially_ready";
|
|
1377
|
+
agents: Record<string, {
|
|
1378
|
+
authorizedModels: {
|
|
1379
|
+
status: "active";
|
|
1380
|
+
model: string;
|
|
1381
|
+
sourceGroupId: string;
|
|
1382
|
+
sourceGroupName: string;
|
|
1383
|
+
sourceGroupPriority: number;
|
|
1384
|
+
availability: "unknown" | "ready" | "unavailable";
|
|
1385
|
+
availabilityReason?: "protocol-not-supported" | "connection-not-active" | "no-key" | "models-unconfirmed" | "model-not-available" | undefined;
|
|
1386
|
+
}[];
|
|
1387
|
+
defaultModel: string | null;
|
|
1388
|
+
}>;
|
|
1389
|
+
configVersion: string;
|
|
1390
|
+
blockedReason?: "user-disabled" | "no-authorized-model" | undefined;
|
|
1391
|
+
};
|
|
1392
|
+
ok: true;
|
|
1393
|
+
}>;
|