@tai42/api-client 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/agents.d.ts +14 -14
- package/dist/client.d.ts +202 -55
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +54 -4
- package/dist/client.js.map +1 -1
- package/dist/http.d.ts +2 -3
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +2 -3
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +814 -222
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +145 -7
- package/dist/schemas.js.map +1 -1
- package/dist/tool-runs.d.ts +12 -12
- package/package.json +6 -6
- package/src/client.ts +107 -4
- package/src/http.ts +2 -3
- package/src/index.ts +17 -1
- package/src/schemas.ts +173 -7
package/dist/schemas.d.ts
CHANGED
|
@@ -15,13 +15,13 @@ export declare const toolSchema: z.ZodObject<{
|
|
|
15
15
|
output: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
16
16
|
description: z.ZodNullable<z.ZodString>;
|
|
17
17
|
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
description: string | null;
|
|
18
19
|
input: Record<string, unknown>;
|
|
19
20
|
output: Record<string, unknown> | null;
|
|
20
|
-
description: string | null;
|
|
21
21
|
}, {
|
|
22
|
+
description: string | null;
|
|
22
23
|
input: Record<string, unknown>;
|
|
23
24
|
output: Record<string, unknown> | null;
|
|
24
|
-
description: string | null;
|
|
25
25
|
}>;
|
|
26
26
|
export type ToolSchema = z.infer<typeof toolSchema>;
|
|
27
27
|
export declare const allToolSchemas: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
@@ -29,13 +29,13 @@ export declare const allToolSchemas: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
29
29
|
output: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
30
30
|
description: z.ZodNullable<z.ZodString>;
|
|
31
31
|
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
description: string | null;
|
|
32
33
|
input: Record<string, unknown>;
|
|
33
34
|
output: Record<string, unknown> | null;
|
|
34
|
-
description: string | null;
|
|
35
35
|
}, {
|
|
36
|
+
description: string | null;
|
|
36
37
|
input: Record<string, unknown>;
|
|
37
38
|
output: Record<string, unknown> | null;
|
|
38
|
-
description: string | null;
|
|
39
39
|
}>>;
|
|
40
40
|
export declare const runToolResult: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
41
41
|
/**
|
|
@@ -233,8 +233,8 @@ export declare const presetRecord: z.ZodObject<{
|
|
|
233
233
|
conflicted: z.ZodBoolean;
|
|
234
234
|
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
235
235
|
}, "strip", z.ZodTypeAny, {
|
|
236
|
-
description: string;
|
|
237
236
|
name: string;
|
|
237
|
+
description: string;
|
|
238
238
|
tags: string[];
|
|
239
239
|
base_tool: string;
|
|
240
240
|
active_version: number;
|
|
@@ -246,8 +246,8 @@ export declare const presetRecord: z.ZodObject<{
|
|
|
246
246
|
conflicted: boolean;
|
|
247
247
|
conflicted_reason: string | null;
|
|
248
248
|
}, {
|
|
249
|
-
description: string;
|
|
250
249
|
name: string;
|
|
250
|
+
description: string;
|
|
251
251
|
tags: string[];
|
|
252
252
|
base_tool: string;
|
|
253
253
|
active_version: number;
|
|
@@ -280,8 +280,8 @@ export declare const presetList: z.ZodArray<z.ZodObject<{
|
|
|
280
280
|
conflicted: z.ZodBoolean;
|
|
281
281
|
conflicted_reason: z.ZodNullable<z.ZodString>;
|
|
282
282
|
}, "strip", z.ZodTypeAny, {
|
|
283
|
-
description: string;
|
|
284
283
|
name: string;
|
|
284
|
+
description: string;
|
|
285
285
|
tags: string[];
|
|
286
286
|
base_tool: string;
|
|
287
287
|
active_version: number;
|
|
@@ -293,8 +293,8 @@ export declare const presetList: z.ZodArray<z.ZodObject<{
|
|
|
293
293
|
conflicted: boolean;
|
|
294
294
|
conflicted_reason: string | null;
|
|
295
295
|
}, {
|
|
296
|
-
description: string;
|
|
297
296
|
name: string;
|
|
297
|
+
description: string;
|
|
298
298
|
tags: string[];
|
|
299
299
|
base_tool: string;
|
|
300
300
|
active_version: number;
|
|
@@ -329,8 +329,8 @@ export declare const presetDetail: z.ZodObject<{
|
|
|
329
329
|
} & {
|
|
330
330
|
fixed_kwargs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
331
331
|
}, "strip", z.ZodTypeAny, {
|
|
332
|
-
description: string;
|
|
333
332
|
name: string;
|
|
333
|
+
description: string;
|
|
334
334
|
tags: string[];
|
|
335
335
|
base_tool: string;
|
|
336
336
|
active_version: number;
|
|
@@ -343,8 +343,8 @@ export declare const presetDetail: z.ZodObject<{
|
|
|
343
343
|
conflicted_reason: string | null;
|
|
344
344
|
fixed_kwargs: Record<string, unknown>;
|
|
345
345
|
}, {
|
|
346
|
-
description: string;
|
|
347
346
|
name: string;
|
|
347
|
+
description: string;
|
|
348
348
|
tags: string[];
|
|
349
349
|
base_tool: string;
|
|
350
350
|
active_version: number;
|
|
@@ -856,13 +856,13 @@ export declare const fleetOriginResult: z.ZodObject<{
|
|
|
856
856
|
}, "strip", z.ZodTypeAny, {
|
|
857
857
|
error: string | null;
|
|
858
858
|
origin: string;
|
|
859
|
-
outcome: "
|
|
859
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
860
860
|
detail: string | null;
|
|
861
861
|
payload?: unknown;
|
|
862
862
|
}, {
|
|
863
863
|
error: string | null;
|
|
864
864
|
origin: string;
|
|
865
|
-
outcome: "
|
|
865
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
866
866
|
detail: string | null;
|
|
867
867
|
payload?: unknown;
|
|
868
868
|
}>;
|
|
@@ -891,13 +891,13 @@ export declare const fleetResult: z.ZodObject<{
|
|
|
891
891
|
}, "strip", z.ZodTypeAny, {
|
|
892
892
|
error: string | null;
|
|
893
893
|
origin: string;
|
|
894
|
-
outcome: "
|
|
894
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
895
895
|
detail: string | null;
|
|
896
896
|
payload?: unknown;
|
|
897
897
|
}, {
|
|
898
898
|
error: string | null;
|
|
899
899
|
origin: string;
|
|
900
|
-
outcome: "
|
|
900
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
901
901
|
detail: string | null;
|
|
902
902
|
payload?: unknown;
|
|
903
903
|
}>, "many">;
|
|
@@ -910,7 +910,7 @@ export declare const fleetResult: z.ZodObject<{
|
|
|
910
910
|
results: {
|
|
911
911
|
error: string | null;
|
|
912
912
|
origin: string;
|
|
913
|
-
outcome: "
|
|
913
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
914
914
|
detail: string | null;
|
|
915
915
|
payload?: unknown;
|
|
916
916
|
}[];
|
|
@@ -922,7 +922,7 @@ export declare const fleetResult: z.ZodObject<{
|
|
|
922
922
|
results: {
|
|
923
923
|
error: string | null;
|
|
924
924
|
origin: string;
|
|
925
|
-
outcome: "
|
|
925
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
926
926
|
detail: string | null;
|
|
927
927
|
payload?: unknown;
|
|
928
928
|
}[];
|
|
@@ -947,13 +947,13 @@ export declare const fleetReloadResult: z.ZodObject<{
|
|
|
947
947
|
}, "strip", z.ZodTypeAny, {
|
|
948
948
|
error: string | null;
|
|
949
949
|
origin: string;
|
|
950
|
-
outcome: "
|
|
950
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
951
951
|
detail: string | null;
|
|
952
952
|
payload?: unknown;
|
|
953
953
|
}, {
|
|
954
954
|
error: string | null;
|
|
955
955
|
origin: string;
|
|
956
|
-
outcome: "
|
|
956
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
957
957
|
detail: string | null;
|
|
958
958
|
payload?: unknown;
|
|
959
959
|
}>, "many">;
|
|
@@ -966,7 +966,7 @@ export declare const fleetReloadResult: z.ZodObject<{
|
|
|
966
966
|
results: {
|
|
967
967
|
error: string | null;
|
|
968
968
|
origin: string;
|
|
969
|
-
outcome: "
|
|
969
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
970
970
|
detail: string | null;
|
|
971
971
|
payload?: unknown;
|
|
972
972
|
}[];
|
|
@@ -978,7 +978,7 @@ export declare const fleetReloadResult: z.ZodObject<{
|
|
|
978
978
|
results: {
|
|
979
979
|
error: string | null;
|
|
980
980
|
origin: string;
|
|
981
|
-
outcome: "
|
|
981
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
982
982
|
detail: string | null;
|
|
983
983
|
payload?: unknown;
|
|
984
984
|
}[];
|
|
@@ -1020,13 +1020,13 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1020
1020
|
}, "strip", z.ZodTypeAny, {
|
|
1021
1021
|
error: string | null;
|
|
1022
1022
|
origin: string;
|
|
1023
|
-
outcome: "
|
|
1023
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1024
1024
|
detail: string | null;
|
|
1025
1025
|
payload?: unknown;
|
|
1026
1026
|
}, {
|
|
1027
1027
|
error: string | null;
|
|
1028
1028
|
origin: string;
|
|
1029
|
-
outcome: "
|
|
1029
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1030
1030
|
detail: string | null;
|
|
1031
1031
|
payload?: unknown;
|
|
1032
1032
|
}>, "many">;
|
|
@@ -1041,7 +1041,7 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1041
1041
|
results: {
|
|
1042
1042
|
error: string | null;
|
|
1043
1043
|
origin: string;
|
|
1044
|
-
outcome: "
|
|
1044
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1045
1045
|
detail: string | null;
|
|
1046
1046
|
payload?: unknown;
|
|
1047
1047
|
}[];
|
|
@@ -1054,7 +1054,7 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1054
1054
|
results: {
|
|
1055
1055
|
error: string | null;
|
|
1056
1056
|
origin: string;
|
|
1057
|
-
outcome: "
|
|
1057
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1058
1058
|
detail: string | null;
|
|
1059
1059
|
payload?: unknown;
|
|
1060
1060
|
}[];
|
|
@@ -1072,13 +1072,13 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1072
1072
|
}, "strip", z.ZodTypeAny, {
|
|
1073
1073
|
error: string | null;
|
|
1074
1074
|
origin: string;
|
|
1075
|
-
outcome: "
|
|
1075
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1076
1076
|
detail: string | null;
|
|
1077
1077
|
payload?: unknown;
|
|
1078
1078
|
}, {
|
|
1079
1079
|
error: string | null;
|
|
1080
1080
|
origin: string;
|
|
1081
|
-
outcome: "
|
|
1081
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1082
1082
|
detail: string | null;
|
|
1083
1083
|
payload?: unknown;
|
|
1084
1084
|
}>, "many">;
|
|
@@ -1093,7 +1093,7 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1093
1093
|
results: {
|
|
1094
1094
|
error: string | null;
|
|
1095
1095
|
origin: string;
|
|
1096
|
-
outcome: "
|
|
1096
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1097
1097
|
detail: string | null;
|
|
1098
1098
|
payload?: unknown;
|
|
1099
1099
|
}[];
|
|
@@ -1106,7 +1106,7 @@ export declare const fleetReportFanout: z.ZodDiscriminatedUnion<"mode", [z.ZodOb
|
|
|
1106
1106
|
results: {
|
|
1107
1107
|
error: string | null;
|
|
1108
1108
|
origin: string;
|
|
1109
|
-
outcome: "
|
|
1109
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1110
1110
|
detail: string | null;
|
|
1111
1111
|
payload?: unknown;
|
|
1112
1112
|
}[];
|
|
@@ -1156,13 +1156,13 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1156
1156
|
}, "strip", z.ZodTypeAny, {
|
|
1157
1157
|
error: string | null;
|
|
1158
1158
|
origin: string;
|
|
1159
|
-
outcome: "
|
|
1159
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1160
1160
|
detail: string | null;
|
|
1161
1161
|
payload?: unknown;
|
|
1162
1162
|
}, {
|
|
1163
1163
|
error: string | null;
|
|
1164
1164
|
origin: string;
|
|
1165
|
-
outcome: "
|
|
1165
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1166
1166
|
detail: string | null;
|
|
1167
1167
|
payload?: unknown;
|
|
1168
1168
|
}>, "many">;
|
|
@@ -1177,7 +1177,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1177
1177
|
results: {
|
|
1178
1178
|
error: string | null;
|
|
1179
1179
|
origin: string;
|
|
1180
|
-
outcome: "
|
|
1180
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1181
1181
|
detail: string | null;
|
|
1182
1182
|
payload?: unknown;
|
|
1183
1183
|
}[];
|
|
@@ -1190,7 +1190,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1190
1190
|
results: {
|
|
1191
1191
|
error: string | null;
|
|
1192
1192
|
origin: string;
|
|
1193
|
-
outcome: "
|
|
1193
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1194
1194
|
detail: string | null;
|
|
1195
1195
|
payload?: unknown;
|
|
1196
1196
|
}[];
|
|
@@ -1208,13 +1208,13 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1208
1208
|
}, "strip", z.ZodTypeAny, {
|
|
1209
1209
|
error: string | null;
|
|
1210
1210
|
origin: string;
|
|
1211
|
-
outcome: "
|
|
1211
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1212
1212
|
detail: string | null;
|
|
1213
1213
|
payload?: unknown;
|
|
1214
1214
|
}, {
|
|
1215
1215
|
error: string | null;
|
|
1216
1216
|
origin: string;
|
|
1217
|
-
outcome: "
|
|
1217
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1218
1218
|
detail: string | null;
|
|
1219
1219
|
payload?: unknown;
|
|
1220
1220
|
}>, "many">;
|
|
@@ -1229,7 +1229,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1229
1229
|
results: {
|
|
1230
1230
|
error: string | null;
|
|
1231
1231
|
origin: string;
|
|
1232
|
-
outcome: "
|
|
1232
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1233
1233
|
detail: string | null;
|
|
1234
1234
|
payload?: unknown;
|
|
1235
1235
|
}[];
|
|
@@ -1242,7 +1242,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1242
1242
|
results: {
|
|
1243
1243
|
error: string | null;
|
|
1244
1244
|
origin: string;
|
|
1245
|
-
outcome: "
|
|
1245
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1246
1246
|
detail: string | null;
|
|
1247
1247
|
payload?: unknown;
|
|
1248
1248
|
}[];
|
|
@@ -1262,7 +1262,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1262
1262
|
results: {
|
|
1263
1263
|
error: string | null;
|
|
1264
1264
|
origin: string;
|
|
1265
|
-
outcome: "
|
|
1265
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1266
1266
|
detail: string | null;
|
|
1267
1267
|
payload?: unknown;
|
|
1268
1268
|
}[];
|
|
@@ -1275,7 +1275,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1275
1275
|
results: {
|
|
1276
1276
|
error: string | null;
|
|
1277
1277
|
origin: string;
|
|
1278
|
-
outcome: "
|
|
1278
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1279
1279
|
detail: string | null;
|
|
1280
1280
|
payload?: unknown;
|
|
1281
1281
|
}[];
|
|
@@ -1295,7 +1295,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1295
1295
|
results: {
|
|
1296
1296
|
error: string | null;
|
|
1297
1297
|
origin: string;
|
|
1298
|
-
outcome: "
|
|
1298
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1299
1299
|
detail: string | null;
|
|
1300
1300
|
payload?: unknown;
|
|
1301
1301
|
}[];
|
|
@@ -1308,7 +1308,7 @@ export declare const reloadConfigResult: z.ZodObject<{
|
|
|
1308
1308
|
results: {
|
|
1309
1309
|
error: string | null;
|
|
1310
1310
|
origin: string;
|
|
1311
|
-
outcome: "
|
|
1311
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1312
1312
|
detail: string | null;
|
|
1313
1313
|
payload?: unknown;
|
|
1314
1314
|
}[];
|
|
@@ -1383,13 +1383,13 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1383
1383
|
}, "strip", z.ZodTypeAny, {
|
|
1384
1384
|
error: string | null;
|
|
1385
1385
|
origin: string;
|
|
1386
|
-
outcome: "
|
|
1386
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1387
1387
|
detail: string | null;
|
|
1388
1388
|
payload?: unknown;
|
|
1389
1389
|
}, {
|
|
1390
1390
|
error: string | null;
|
|
1391
1391
|
origin: string;
|
|
1392
|
-
outcome: "
|
|
1392
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1393
1393
|
detail: string | null;
|
|
1394
1394
|
payload?: unknown;
|
|
1395
1395
|
}>, "many">;
|
|
@@ -1404,7 +1404,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1404
1404
|
results: {
|
|
1405
1405
|
error: string | null;
|
|
1406
1406
|
origin: string;
|
|
1407
|
-
outcome: "
|
|
1407
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1408
1408
|
detail: string | null;
|
|
1409
1409
|
payload?: unknown;
|
|
1410
1410
|
}[];
|
|
@@ -1417,7 +1417,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1417
1417
|
results: {
|
|
1418
1418
|
error: string | null;
|
|
1419
1419
|
origin: string;
|
|
1420
|
-
outcome: "
|
|
1420
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1421
1421
|
detail: string | null;
|
|
1422
1422
|
payload?: unknown;
|
|
1423
1423
|
}[];
|
|
@@ -1435,13 +1435,13 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1435
1435
|
}, "strip", z.ZodTypeAny, {
|
|
1436
1436
|
error: string | null;
|
|
1437
1437
|
origin: string;
|
|
1438
|
-
outcome: "
|
|
1438
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1439
1439
|
detail: string | null;
|
|
1440
1440
|
payload?: unknown;
|
|
1441
1441
|
}, {
|
|
1442
1442
|
error: string | null;
|
|
1443
1443
|
origin: string;
|
|
1444
|
-
outcome: "
|
|
1444
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1445
1445
|
detail: string | null;
|
|
1446
1446
|
payload?: unknown;
|
|
1447
1447
|
}>, "many">;
|
|
@@ -1456,7 +1456,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1456
1456
|
results: {
|
|
1457
1457
|
error: string | null;
|
|
1458
1458
|
origin: string;
|
|
1459
|
-
outcome: "
|
|
1459
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1460
1460
|
detail: string | null;
|
|
1461
1461
|
payload?: unknown;
|
|
1462
1462
|
}[];
|
|
@@ -1469,7 +1469,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1469
1469
|
results: {
|
|
1470
1470
|
error: string | null;
|
|
1471
1471
|
origin: string;
|
|
1472
|
-
outcome: "
|
|
1472
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1473
1473
|
detail: string | null;
|
|
1474
1474
|
payload?: unknown;
|
|
1475
1475
|
}[];
|
|
@@ -1489,7 +1489,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1489
1489
|
results: {
|
|
1490
1490
|
error: string | null;
|
|
1491
1491
|
origin: string;
|
|
1492
|
-
outcome: "
|
|
1492
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1493
1493
|
detail: string | null;
|
|
1494
1494
|
payload?: unknown;
|
|
1495
1495
|
}[];
|
|
@@ -1502,7 +1502,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1502
1502
|
results: {
|
|
1503
1503
|
error: string | null;
|
|
1504
1504
|
origin: string;
|
|
1505
|
-
outcome: "
|
|
1505
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1506
1506
|
detail: string | null;
|
|
1507
1507
|
payload?: unknown;
|
|
1508
1508
|
}[];
|
|
@@ -1522,7 +1522,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1522
1522
|
results: {
|
|
1523
1523
|
error: string | null;
|
|
1524
1524
|
origin: string;
|
|
1525
|
-
outcome: "
|
|
1525
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1526
1526
|
detail: string | null;
|
|
1527
1527
|
payload?: unknown;
|
|
1528
1528
|
}[];
|
|
@@ -1535,7 +1535,7 @@ export declare const toolExtensionsApplyResult: z.ZodObject<{
|
|
|
1535
1535
|
results: {
|
|
1536
1536
|
error: string | null;
|
|
1537
1537
|
origin: string;
|
|
1538
|
-
outcome: "
|
|
1538
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1539
1539
|
detail: string | null;
|
|
1540
1540
|
payload?: unknown;
|
|
1541
1541
|
}[];
|
|
@@ -1587,13 +1587,13 @@ export declare const mcpReloadResult: z.ZodObject<{
|
|
|
1587
1587
|
}, "strip", z.ZodTypeAny, {
|
|
1588
1588
|
error: string | null;
|
|
1589
1589
|
origin: string;
|
|
1590
|
-
outcome: "
|
|
1590
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1591
1591
|
detail: string | null;
|
|
1592
1592
|
payload?: unknown;
|
|
1593
1593
|
}, {
|
|
1594
1594
|
error: string | null;
|
|
1595
1595
|
origin: string;
|
|
1596
|
-
outcome: "
|
|
1596
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1597
1597
|
detail: string | null;
|
|
1598
1598
|
payload?: unknown;
|
|
1599
1599
|
}>, "many">;
|
|
@@ -1606,7 +1606,7 @@ export declare const mcpReloadResult: z.ZodObject<{
|
|
|
1606
1606
|
results: {
|
|
1607
1607
|
error: string | null;
|
|
1608
1608
|
origin: string;
|
|
1609
|
-
outcome: "
|
|
1609
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1610
1610
|
detail: string | null;
|
|
1611
1611
|
payload?: unknown;
|
|
1612
1612
|
}[];
|
|
@@ -1618,7 +1618,7 @@ export declare const mcpReloadResult: z.ZodObject<{
|
|
|
1618
1618
|
results: {
|
|
1619
1619
|
error: string | null;
|
|
1620
1620
|
origin: string;
|
|
1621
|
-
outcome: "
|
|
1621
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
1622
1622
|
detail: string | null;
|
|
1623
1623
|
payload?: unknown;
|
|
1624
1624
|
}[];
|
|
@@ -2008,13 +2008,13 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2008
2008
|
}, "strip", z.ZodTypeAny, {
|
|
2009
2009
|
error: string | null;
|
|
2010
2010
|
origin: string;
|
|
2011
|
-
outcome: "
|
|
2011
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2012
2012
|
detail: string | null;
|
|
2013
2013
|
payload?: unknown;
|
|
2014
2014
|
}, {
|
|
2015
2015
|
error: string | null;
|
|
2016
2016
|
origin: string;
|
|
2017
|
-
outcome: "
|
|
2017
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2018
2018
|
detail: string | null;
|
|
2019
2019
|
payload?: unknown;
|
|
2020
2020
|
}>, "many">;
|
|
@@ -2029,7 +2029,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2029
2029
|
results: {
|
|
2030
2030
|
error: string | null;
|
|
2031
2031
|
origin: string;
|
|
2032
|
-
outcome: "
|
|
2032
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2033
2033
|
detail: string | null;
|
|
2034
2034
|
payload?: unknown;
|
|
2035
2035
|
}[];
|
|
@@ -2042,7 +2042,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2042
2042
|
results: {
|
|
2043
2043
|
error: string | null;
|
|
2044
2044
|
origin: string;
|
|
2045
|
-
outcome: "
|
|
2045
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2046
2046
|
detail: string | null;
|
|
2047
2047
|
payload?: unknown;
|
|
2048
2048
|
}[];
|
|
@@ -2060,13 +2060,13 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2060
2060
|
}, "strip", z.ZodTypeAny, {
|
|
2061
2061
|
error: string | null;
|
|
2062
2062
|
origin: string;
|
|
2063
|
-
outcome: "
|
|
2063
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2064
2064
|
detail: string | null;
|
|
2065
2065
|
payload?: unknown;
|
|
2066
2066
|
}, {
|
|
2067
2067
|
error: string | null;
|
|
2068
2068
|
origin: string;
|
|
2069
|
-
outcome: "
|
|
2069
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2070
2070
|
detail: string | null;
|
|
2071
2071
|
payload?: unknown;
|
|
2072
2072
|
}>, "many">;
|
|
@@ -2081,7 +2081,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2081
2081
|
results: {
|
|
2082
2082
|
error: string | null;
|
|
2083
2083
|
origin: string;
|
|
2084
|
-
outcome: "
|
|
2084
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2085
2085
|
detail: string | null;
|
|
2086
2086
|
payload?: unknown;
|
|
2087
2087
|
}[];
|
|
@@ -2094,7 +2094,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2094
2094
|
results: {
|
|
2095
2095
|
error: string | null;
|
|
2096
2096
|
origin: string;
|
|
2097
|
-
outcome: "
|
|
2097
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2098
2098
|
detail: string | null;
|
|
2099
2099
|
payload?: unknown;
|
|
2100
2100
|
}[];
|
|
@@ -2112,7 +2112,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2112
2112
|
results: {
|
|
2113
2113
|
error: string | null;
|
|
2114
2114
|
origin: string;
|
|
2115
|
-
outcome: "
|
|
2115
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2116
2116
|
detail: string | null;
|
|
2117
2117
|
payload?: unknown;
|
|
2118
2118
|
}[];
|
|
@@ -2125,7 +2125,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2125
2125
|
results: {
|
|
2126
2126
|
error: string | null;
|
|
2127
2127
|
origin: string;
|
|
2128
|
-
outcome: "
|
|
2128
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2129
2129
|
detail: string | null;
|
|
2130
2130
|
payload?: unknown;
|
|
2131
2131
|
}[];
|
|
@@ -2145,7 +2145,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2145
2145
|
results: {
|
|
2146
2146
|
error: string | null;
|
|
2147
2147
|
origin: string;
|
|
2148
|
-
outcome: "
|
|
2148
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2149
2149
|
detail: string | null;
|
|
2150
2150
|
payload?: unknown;
|
|
2151
2151
|
}[];
|
|
@@ -2158,7 +2158,7 @@ export declare const startConnectResult: z.ZodUnion<[z.ZodObject<{
|
|
|
2158
2158
|
results: {
|
|
2159
2159
|
error: string | null;
|
|
2160
2160
|
origin: string;
|
|
2161
|
-
outcome: "
|
|
2161
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2162
2162
|
detail: string | null;
|
|
2163
2163
|
payload?: unknown;
|
|
2164
2164
|
}[];
|
|
@@ -2204,13 +2204,13 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2204
2204
|
}, "strip", z.ZodTypeAny, {
|
|
2205
2205
|
error: string | null;
|
|
2206
2206
|
origin: string;
|
|
2207
|
-
outcome: "
|
|
2207
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2208
2208
|
detail: string | null;
|
|
2209
2209
|
payload?: unknown;
|
|
2210
2210
|
}, {
|
|
2211
2211
|
error: string | null;
|
|
2212
2212
|
origin: string;
|
|
2213
|
-
outcome: "
|
|
2213
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2214
2214
|
detail: string | null;
|
|
2215
2215
|
payload?: unknown;
|
|
2216
2216
|
}>, "many">;
|
|
@@ -2225,7 +2225,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2225
2225
|
results: {
|
|
2226
2226
|
error: string | null;
|
|
2227
2227
|
origin: string;
|
|
2228
|
-
outcome: "
|
|
2228
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2229
2229
|
detail: string | null;
|
|
2230
2230
|
payload?: unknown;
|
|
2231
2231
|
}[];
|
|
@@ -2238,7 +2238,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2238
2238
|
results: {
|
|
2239
2239
|
error: string | null;
|
|
2240
2240
|
origin: string;
|
|
2241
|
-
outcome: "
|
|
2241
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2242
2242
|
detail: string | null;
|
|
2243
2243
|
payload?: unknown;
|
|
2244
2244
|
}[];
|
|
@@ -2256,13 +2256,13 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2256
2256
|
}, "strip", z.ZodTypeAny, {
|
|
2257
2257
|
error: string | null;
|
|
2258
2258
|
origin: string;
|
|
2259
|
-
outcome: "
|
|
2259
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2260
2260
|
detail: string | null;
|
|
2261
2261
|
payload?: unknown;
|
|
2262
2262
|
}, {
|
|
2263
2263
|
error: string | null;
|
|
2264
2264
|
origin: string;
|
|
2265
|
-
outcome: "
|
|
2265
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2266
2266
|
detail: string | null;
|
|
2267
2267
|
payload?: unknown;
|
|
2268
2268
|
}>, "many">;
|
|
@@ -2277,7 +2277,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2277
2277
|
results: {
|
|
2278
2278
|
error: string | null;
|
|
2279
2279
|
origin: string;
|
|
2280
|
-
outcome: "
|
|
2280
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2281
2281
|
detail: string | null;
|
|
2282
2282
|
payload?: unknown;
|
|
2283
2283
|
}[];
|
|
@@ -2290,7 +2290,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2290
2290
|
results: {
|
|
2291
2291
|
error: string | null;
|
|
2292
2292
|
origin: string;
|
|
2293
|
-
outcome: "
|
|
2293
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2294
2294
|
detail: string | null;
|
|
2295
2295
|
payload?: unknown;
|
|
2296
2296
|
}[];
|
|
@@ -2308,7 +2308,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2308
2308
|
results: {
|
|
2309
2309
|
error: string | null;
|
|
2310
2310
|
origin: string;
|
|
2311
|
-
outcome: "
|
|
2311
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2312
2312
|
detail: string | null;
|
|
2313
2313
|
payload?: unknown;
|
|
2314
2314
|
}[];
|
|
@@ -2321,7 +2321,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2321
2321
|
results: {
|
|
2322
2322
|
error: string | null;
|
|
2323
2323
|
origin: string;
|
|
2324
|
-
outcome: "
|
|
2324
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2325
2325
|
detail: string | null;
|
|
2326
2326
|
payload?: unknown;
|
|
2327
2327
|
}[];
|
|
@@ -2343,7 +2343,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2343
2343
|
results: {
|
|
2344
2344
|
error: string | null;
|
|
2345
2345
|
origin: string;
|
|
2346
|
-
outcome: "
|
|
2346
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2347
2347
|
detail: string | null;
|
|
2348
2348
|
payload?: unknown;
|
|
2349
2349
|
}[];
|
|
@@ -2356,7 +2356,7 @@ export declare const disconnectResult: z.ZodObject<{
|
|
|
2356
2356
|
results: {
|
|
2357
2357
|
error: string | null;
|
|
2358
2358
|
origin: string;
|
|
2359
|
-
outcome: "
|
|
2359
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2360
2360
|
detail: string | null;
|
|
2361
2361
|
payload?: unknown;
|
|
2362
2362
|
}[];
|
|
@@ -2397,13 +2397,13 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2397
2397
|
}, "strip", z.ZodTypeAny, {
|
|
2398
2398
|
error: string | null;
|
|
2399
2399
|
origin: string;
|
|
2400
|
-
outcome: "
|
|
2400
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2401
2401
|
detail: string | null;
|
|
2402
2402
|
payload?: unknown;
|
|
2403
2403
|
}, {
|
|
2404
2404
|
error: string | null;
|
|
2405
2405
|
origin: string;
|
|
2406
|
-
outcome: "
|
|
2406
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2407
2407
|
detail: string | null;
|
|
2408
2408
|
payload?: unknown;
|
|
2409
2409
|
}>, "many">;
|
|
@@ -2418,7 +2418,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2418
2418
|
results: {
|
|
2419
2419
|
error: string | null;
|
|
2420
2420
|
origin: string;
|
|
2421
|
-
outcome: "
|
|
2421
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2422
2422
|
detail: string | null;
|
|
2423
2423
|
payload?: unknown;
|
|
2424
2424
|
}[];
|
|
@@ -2431,7 +2431,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2431
2431
|
results: {
|
|
2432
2432
|
error: string | null;
|
|
2433
2433
|
origin: string;
|
|
2434
|
-
outcome: "
|
|
2434
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2435
2435
|
detail: string | null;
|
|
2436
2436
|
payload?: unknown;
|
|
2437
2437
|
}[];
|
|
@@ -2449,13 +2449,13 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2449
2449
|
}, "strip", z.ZodTypeAny, {
|
|
2450
2450
|
error: string | null;
|
|
2451
2451
|
origin: string;
|
|
2452
|
-
outcome: "
|
|
2452
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2453
2453
|
detail: string | null;
|
|
2454
2454
|
payload?: unknown;
|
|
2455
2455
|
}, {
|
|
2456
2456
|
error: string | null;
|
|
2457
2457
|
origin: string;
|
|
2458
|
-
outcome: "
|
|
2458
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2459
2459
|
detail: string | null;
|
|
2460
2460
|
payload?: unknown;
|
|
2461
2461
|
}>, "many">;
|
|
@@ -2470,7 +2470,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2470
2470
|
results: {
|
|
2471
2471
|
error: string | null;
|
|
2472
2472
|
origin: string;
|
|
2473
|
-
outcome: "
|
|
2473
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2474
2474
|
detail: string | null;
|
|
2475
2475
|
payload?: unknown;
|
|
2476
2476
|
}[];
|
|
@@ -2483,7 +2483,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2483
2483
|
results: {
|
|
2484
2484
|
error: string | null;
|
|
2485
2485
|
origin: string;
|
|
2486
|
-
outcome: "
|
|
2486
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2487
2487
|
detail: string | null;
|
|
2488
2488
|
payload?: unknown;
|
|
2489
2489
|
}[];
|
|
@@ -2501,7 +2501,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2501
2501
|
results: {
|
|
2502
2502
|
error: string | null;
|
|
2503
2503
|
origin: string;
|
|
2504
|
-
outcome: "
|
|
2504
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2505
2505
|
detail: string | null;
|
|
2506
2506
|
payload?: unknown;
|
|
2507
2507
|
}[];
|
|
@@ -2514,7 +2514,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2514
2514
|
results: {
|
|
2515
2515
|
error: string | null;
|
|
2516
2516
|
origin: string;
|
|
2517
|
-
outcome: "
|
|
2517
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2518
2518
|
detail: string | null;
|
|
2519
2519
|
payload?: unknown;
|
|
2520
2520
|
}[];
|
|
@@ -2539,7 +2539,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2539
2539
|
results: {
|
|
2540
2540
|
error: string | null;
|
|
2541
2541
|
origin: string;
|
|
2542
|
-
outcome: "
|
|
2542
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2543
2543
|
detail: string | null;
|
|
2544
2544
|
payload?: unknown;
|
|
2545
2545
|
}[];
|
|
@@ -2552,7 +2552,7 @@ export declare const patchSubServicesResult: z.ZodObject<{
|
|
|
2552
2552
|
results: {
|
|
2553
2553
|
error: string | null;
|
|
2554
2554
|
origin: string;
|
|
2555
|
-
outcome: "
|
|
2555
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2556
2556
|
detail: string | null;
|
|
2557
2557
|
payload?: unknown;
|
|
2558
2558
|
}[];
|
|
@@ -2592,13 +2592,13 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2592
2592
|
}, "strip", z.ZodTypeAny, {
|
|
2593
2593
|
error: string | null;
|
|
2594
2594
|
origin: string;
|
|
2595
|
-
outcome: "
|
|
2595
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2596
2596
|
detail: string | null;
|
|
2597
2597
|
payload?: unknown;
|
|
2598
2598
|
}, {
|
|
2599
2599
|
error: string | null;
|
|
2600
2600
|
origin: string;
|
|
2601
|
-
outcome: "
|
|
2601
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2602
2602
|
detail: string | null;
|
|
2603
2603
|
payload?: unknown;
|
|
2604
2604
|
}>, "many">;
|
|
@@ -2613,7 +2613,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2613
2613
|
results: {
|
|
2614
2614
|
error: string | null;
|
|
2615
2615
|
origin: string;
|
|
2616
|
-
outcome: "
|
|
2616
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2617
2617
|
detail: string | null;
|
|
2618
2618
|
payload?: unknown;
|
|
2619
2619
|
}[];
|
|
@@ -2626,7 +2626,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2626
2626
|
results: {
|
|
2627
2627
|
error: string | null;
|
|
2628
2628
|
origin: string;
|
|
2629
|
-
outcome: "
|
|
2629
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2630
2630
|
detail: string | null;
|
|
2631
2631
|
payload?: unknown;
|
|
2632
2632
|
}[];
|
|
@@ -2644,13 +2644,13 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2644
2644
|
}, "strip", z.ZodTypeAny, {
|
|
2645
2645
|
error: string | null;
|
|
2646
2646
|
origin: string;
|
|
2647
|
-
outcome: "
|
|
2647
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2648
2648
|
detail: string | null;
|
|
2649
2649
|
payload?: unknown;
|
|
2650
2650
|
}, {
|
|
2651
2651
|
error: string | null;
|
|
2652
2652
|
origin: string;
|
|
2653
|
-
outcome: "
|
|
2653
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2654
2654
|
detail: string | null;
|
|
2655
2655
|
payload?: unknown;
|
|
2656
2656
|
}>, "many">;
|
|
@@ -2665,7 +2665,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2665
2665
|
results: {
|
|
2666
2666
|
error: string | null;
|
|
2667
2667
|
origin: string;
|
|
2668
|
-
outcome: "
|
|
2668
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2669
2669
|
detail: string | null;
|
|
2670
2670
|
payload?: unknown;
|
|
2671
2671
|
}[];
|
|
@@ -2678,7 +2678,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2678
2678
|
results: {
|
|
2679
2679
|
error: string | null;
|
|
2680
2680
|
origin: string;
|
|
2681
|
-
outcome: "
|
|
2681
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2682
2682
|
detail: string | null;
|
|
2683
2683
|
payload?: unknown;
|
|
2684
2684
|
}[];
|
|
@@ -2697,7 +2697,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2697
2697
|
results: {
|
|
2698
2698
|
error: string | null;
|
|
2699
2699
|
origin: string;
|
|
2700
|
-
outcome: "
|
|
2700
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2701
2701
|
detail: string | null;
|
|
2702
2702
|
payload?: unknown;
|
|
2703
2703
|
}[];
|
|
@@ -2710,7 +2710,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2710
2710
|
results: {
|
|
2711
2711
|
error: string | null;
|
|
2712
2712
|
origin: string;
|
|
2713
|
-
outcome: "
|
|
2713
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2714
2714
|
detail: string | null;
|
|
2715
2715
|
payload?: unknown;
|
|
2716
2716
|
}[];
|
|
@@ -2731,7 +2731,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2731
2731
|
results: {
|
|
2732
2732
|
error: string | null;
|
|
2733
2733
|
origin: string;
|
|
2734
|
-
outcome: "
|
|
2734
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2735
2735
|
detail: string | null;
|
|
2736
2736
|
payload?: unknown;
|
|
2737
2737
|
}[];
|
|
@@ -2744,7 +2744,7 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2744
2744
|
results: {
|
|
2745
2745
|
error: string | null;
|
|
2746
2746
|
origin: string;
|
|
2747
|
-
outcome: "
|
|
2747
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
2748
2748
|
detail: string | null;
|
|
2749
2749
|
payload?: unknown;
|
|
2750
2750
|
}[];
|
|
@@ -2756,11 +2756,11 @@ export declare const oauthCompleteResult: z.ZodDiscriminatedUnion<"kind", [z.Zod
|
|
|
2756
2756
|
kind: z.ZodLiteral<"failed">;
|
|
2757
2757
|
reason: z.ZodString;
|
|
2758
2758
|
}, "strip", z.ZodTypeAny, {
|
|
2759
|
-
kind: "failed";
|
|
2760
2759
|
reason: string;
|
|
2761
|
-
}, {
|
|
2762
2760
|
kind: "failed";
|
|
2761
|
+
}, {
|
|
2763
2762
|
reason: string;
|
|
2763
|
+
kind: "failed";
|
|
2764
2764
|
}>, z.ZodObject<{
|
|
2765
2765
|
kind: z.ZodLiteral<"cancelled">;
|
|
2766
2766
|
message: z.ZodString;
|
|
@@ -3007,10 +3007,14 @@ export declare const notifications: z.ZodObject<{
|
|
|
3007
3007
|
}[];
|
|
3008
3008
|
}>;
|
|
3009
3009
|
export type Notifications = z.infer<typeof notifications>;
|
|
3010
|
+
/** A fire door — who may trigger a path, not what the fire may do. A string enum. */
|
|
3011
|
+
export declare const triggerAuth: z.ZodEnum<["public", "verifier", "token", "token+api_key", "out-of-service"]>;
|
|
3012
|
+
export type TriggerAuth = z.infer<typeof triggerAuth>;
|
|
3010
3013
|
export declare const hookParams: z.ZodObject<{
|
|
3011
3014
|
name: z.ZodString;
|
|
3012
3015
|
topic: z.ZodString;
|
|
3013
3016
|
tool: z.ZodString;
|
|
3017
|
+
execution_key: z.ZodString;
|
|
3014
3018
|
tool_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3015
3019
|
condition: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3016
3020
|
condition_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -3020,8 +3024,9 @@ export declare const hookParams: z.ZodObject<{
|
|
|
3020
3024
|
expr_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3021
3025
|
}, "strip", z.ZodTypeAny, {
|
|
3022
3026
|
name: string;
|
|
3023
|
-
topic: string;
|
|
3024
3027
|
tool: string;
|
|
3028
|
+
topic: string;
|
|
3029
|
+
execution_key: string;
|
|
3025
3030
|
tool_kwargs: Record<string, unknown>;
|
|
3026
3031
|
condition: string | null;
|
|
3027
3032
|
condition_id: string | null;
|
|
@@ -3031,8 +3036,9 @@ export declare const hookParams: z.ZodObject<{
|
|
|
3031
3036
|
expr_kwargs: Record<string, unknown>;
|
|
3032
3037
|
}, {
|
|
3033
3038
|
name: string;
|
|
3034
|
-
topic: string;
|
|
3035
3039
|
tool: string;
|
|
3040
|
+
topic: string;
|
|
3041
|
+
execution_key: string;
|
|
3036
3042
|
tool_kwargs?: Record<string, unknown> | undefined;
|
|
3037
3043
|
condition?: string | null | undefined;
|
|
3038
3044
|
condition_id?: string | null | undefined;
|
|
@@ -3047,6 +3053,7 @@ export declare const hookList: z.ZodObject<{
|
|
|
3047
3053
|
name: z.ZodString;
|
|
3048
3054
|
topic: z.ZodString;
|
|
3049
3055
|
tool: z.ZodString;
|
|
3056
|
+
execution_key: z.ZodString;
|
|
3050
3057
|
tool_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3051
3058
|
condition: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
3052
3059
|
condition_id: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
@@ -3056,8 +3063,9 @@ export declare const hookList: z.ZodObject<{
|
|
|
3056
3063
|
expr_kwargs: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3057
3064
|
}, "strip", z.ZodTypeAny, {
|
|
3058
3065
|
name: string;
|
|
3059
|
-
topic: string;
|
|
3060
3066
|
tool: string;
|
|
3067
|
+
topic: string;
|
|
3068
|
+
execution_key: string;
|
|
3061
3069
|
tool_kwargs: Record<string, unknown>;
|
|
3062
3070
|
condition: string | null;
|
|
3063
3071
|
condition_id: string | null;
|
|
@@ -3067,8 +3075,9 @@ export declare const hookList: z.ZodObject<{
|
|
|
3067
3075
|
expr_kwargs: Record<string, unknown>;
|
|
3068
3076
|
}, {
|
|
3069
3077
|
name: string;
|
|
3070
|
-
topic: string;
|
|
3071
3078
|
tool: string;
|
|
3079
|
+
topic: string;
|
|
3080
|
+
execution_key: string;
|
|
3072
3081
|
tool_kwargs?: Record<string, unknown> | undefined;
|
|
3073
3082
|
condition?: string | null | undefined;
|
|
3074
3083
|
condition_id?: string | null | undefined;
|
|
@@ -3088,11 +3097,13 @@ export declare const hookList: z.ZodObject<{
|
|
|
3088
3097
|
config: Record<string, unknown>;
|
|
3089
3098
|
verifier: string;
|
|
3090
3099
|
}>>>;
|
|
3100
|
+
trigger_auth: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodEnum<["public", "verifier", "token", "token+api_key", "out-of-service"]>>>;
|
|
3091
3101
|
}, "strip", z.ZodTypeAny, {
|
|
3092
3102
|
items: {
|
|
3093
3103
|
name: string;
|
|
3094
|
-
topic: string;
|
|
3095
3104
|
tool: string;
|
|
3105
|
+
topic: string;
|
|
3106
|
+
execution_key: string;
|
|
3096
3107
|
tool_kwargs: Record<string, unknown>;
|
|
3097
3108
|
condition: string | null;
|
|
3098
3109
|
condition_id: string | null;
|
|
@@ -3106,11 +3117,13 @@ export declare const hookList: z.ZodObject<{
|
|
|
3106
3117
|
config: Record<string, unknown>;
|
|
3107
3118
|
verifier: string;
|
|
3108
3119
|
}>;
|
|
3120
|
+
trigger_auth: Record<string, "public" | "verifier" | "token" | "token+api_key" | "out-of-service">;
|
|
3109
3121
|
}, {
|
|
3110
3122
|
items: {
|
|
3111
3123
|
name: string;
|
|
3112
|
-
topic: string;
|
|
3113
3124
|
tool: string;
|
|
3125
|
+
topic: string;
|
|
3126
|
+
execution_key: string;
|
|
3114
3127
|
tool_kwargs?: Record<string, unknown> | undefined;
|
|
3115
3128
|
condition?: string | null | undefined;
|
|
3116
3129
|
condition_id?: string | null | undefined;
|
|
@@ -3124,7 +3137,9 @@ export declare const hookList: z.ZodObject<{
|
|
|
3124
3137
|
config: Record<string, unknown>;
|
|
3125
3138
|
verifier: string;
|
|
3126
3139
|
}> | undefined;
|
|
3140
|
+
trigger_auth?: Record<string, "public" | "verifier" | "token" | "token+api_key" | "out-of-service"> | undefined;
|
|
3127
3141
|
}>;
|
|
3142
|
+
export type HookList = z.infer<typeof hookList>;
|
|
3128
3143
|
export declare const hookRegistered: z.ZodObject<{
|
|
3129
3144
|
registered: z.ZodBoolean;
|
|
3130
3145
|
name: z.ZodString;
|
|
@@ -3151,11 +3166,11 @@ export declare const topicVerifierSet: z.ZodObject<{
|
|
|
3151
3166
|
topic: z.ZodString;
|
|
3152
3167
|
verifier: z.ZodString;
|
|
3153
3168
|
}, "strip", z.ZodTypeAny, {
|
|
3154
|
-
topic: string;
|
|
3155
3169
|
verifier: string;
|
|
3156
|
-
}, {
|
|
3157
3170
|
topic: string;
|
|
3171
|
+
}, {
|
|
3158
3172
|
verifier: string;
|
|
3173
|
+
topic: string;
|
|
3159
3174
|
}>;
|
|
3160
3175
|
/** `DELETE /api/hooks/topics/{topic}/verifier` — the unbound topic. */
|
|
3161
3176
|
export declare const topicVerifierRemoved: z.ZodObject<{
|
|
@@ -3168,6 +3183,146 @@ export declare const topicVerifierRemoved: z.ZodObject<{
|
|
|
3168
3183
|
removed: boolean;
|
|
3169
3184
|
topic: string;
|
|
3170
3185
|
}>;
|
|
3186
|
+
/**
|
|
3187
|
+
* `POST /api/hooks/trigger-links` — a freshly minted trigger link. `trigger_path`
|
|
3188
|
+
* is a relative path (`/trigger/<token>`, never an absolute URL — Studio composes
|
|
3189
|
+
* the API origin); `token` is the raw token returned exactly ONCE, in this response
|
|
3190
|
+
* (nothing else stores or lists it — a listed link's QR is unrecoverable by
|
|
3191
|
+
* design). `expires_at` is an ISO-8601 instant, or `null` for a permanent link.
|
|
3192
|
+
*/
|
|
3193
|
+
export declare const triggerLinkCreated: z.ZodObject<{
|
|
3194
|
+
name: z.ZodString;
|
|
3195
|
+
trigger_path: z.ZodString;
|
|
3196
|
+
token: z.ZodString;
|
|
3197
|
+
topic: z.ZodString;
|
|
3198
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
3199
|
+
}, "strip", z.ZodTypeAny, {
|
|
3200
|
+
name: string;
|
|
3201
|
+
token: string;
|
|
3202
|
+
topic: string;
|
|
3203
|
+
trigger_path: string;
|
|
3204
|
+
expires_at: string | null;
|
|
3205
|
+
}, {
|
|
3206
|
+
name: string;
|
|
3207
|
+
token: string;
|
|
3208
|
+
topic: string;
|
|
3209
|
+
trigger_path: string;
|
|
3210
|
+
expires_at: string | null;
|
|
3211
|
+
}>;
|
|
3212
|
+
export type TriggerLinkCreated = z.infer<typeof triggerLinkCreated>;
|
|
3213
|
+
/**
|
|
3214
|
+
* One listed trigger-link record (`GET /api/hooks/trigger-links` item). `tool_kwargs`
|
|
3215
|
+
* is the per-link params merged last into every fire (`null` or `{}` = none);
|
|
3216
|
+
* `created_by` is the ambient creator identity (`null` on an identity-less,
|
|
3217
|
+
* gate-off deployment); `token_hash_prefix` is a short hash prefix for log
|
|
3218
|
+
* correlation — never a raw token (none is stored).
|
|
3219
|
+
*/
|
|
3220
|
+
export declare const triggerLinkRecord: z.ZodObject<{
|
|
3221
|
+
name: z.ZodString;
|
|
3222
|
+
topic: z.ZodString;
|
|
3223
|
+
execution_key: z.ZodString;
|
|
3224
|
+
trigger_auth: z.ZodEnum<["public", "verifier", "token", "token+api_key", "out-of-service"]>;
|
|
3225
|
+
tool_kwargs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3226
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
3227
|
+
created_at: z.ZodString;
|
|
3228
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
3229
|
+
token_hash_prefix: z.ZodString;
|
|
3230
|
+
}, "strip", z.ZodTypeAny, {
|
|
3231
|
+
name: string;
|
|
3232
|
+
created_at: string;
|
|
3233
|
+
topic: string;
|
|
3234
|
+
execution_key: string;
|
|
3235
|
+
tool_kwargs: Record<string, unknown> | null;
|
|
3236
|
+
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3237
|
+
expires_at: string | null;
|
|
3238
|
+
created_by: string | null;
|
|
3239
|
+
token_hash_prefix: string;
|
|
3240
|
+
}, {
|
|
3241
|
+
name: string;
|
|
3242
|
+
created_at: string;
|
|
3243
|
+
topic: string;
|
|
3244
|
+
execution_key: string;
|
|
3245
|
+
tool_kwargs: Record<string, unknown> | null;
|
|
3246
|
+
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3247
|
+
expires_at: string | null;
|
|
3248
|
+
created_by: string | null;
|
|
3249
|
+
token_hash_prefix: string;
|
|
3250
|
+
}>;
|
|
3251
|
+
export type TriggerLinkRecord = z.infer<typeof triggerLinkRecord>;
|
|
3252
|
+
/** `GET /api/hooks/trigger-links` — every live trigger-link record. */
|
|
3253
|
+
export declare const triggerLinkList: z.ZodObject<{
|
|
3254
|
+
items: z.ZodArray<z.ZodObject<{
|
|
3255
|
+
name: z.ZodString;
|
|
3256
|
+
topic: z.ZodString;
|
|
3257
|
+
execution_key: z.ZodString;
|
|
3258
|
+
trigger_auth: z.ZodEnum<["public", "verifier", "token", "token+api_key", "out-of-service"]>;
|
|
3259
|
+
tool_kwargs: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3260
|
+
created_by: z.ZodNullable<z.ZodString>;
|
|
3261
|
+
created_at: z.ZodString;
|
|
3262
|
+
expires_at: z.ZodNullable<z.ZodString>;
|
|
3263
|
+
token_hash_prefix: z.ZodString;
|
|
3264
|
+
}, "strip", z.ZodTypeAny, {
|
|
3265
|
+
name: string;
|
|
3266
|
+
created_at: string;
|
|
3267
|
+
topic: string;
|
|
3268
|
+
execution_key: string;
|
|
3269
|
+
tool_kwargs: Record<string, unknown> | null;
|
|
3270
|
+
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3271
|
+
expires_at: string | null;
|
|
3272
|
+
created_by: string | null;
|
|
3273
|
+
token_hash_prefix: string;
|
|
3274
|
+
}, {
|
|
3275
|
+
name: string;
|
|
3276
|
+
created_at: string;
|
|
3277
|
+
topic: string;
|
|
3278
|
+
execution_key: string;
|
|
3279
|
+
tool_kwargs: Record<string, unknown> | null;
|
|
3280
|
+
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3281
|
+
expires_at: string | null;
|
|
3282
|
+
created_by: string | null;
|
|
3283
|
+
token_hash_prefix: string;
|
|
3284
|
+
}>, "many">;
|
|
3285
|
+
total: z.ZodNumber;
|
|
3286
|
+
}, "strip", z.ZodTypeAny, {
|
|
3287
|
+
items: {
|
|
3288
|
+
name: string;
|
|
3289
|
+
created_at: string;
|
|
3290
|
+
topic: string;
|
|
3291
|
+
execution_key: string;
|
|
3292
|
+
tool_kwargs: Record<string, unknown> | null;
|
|
3293
|
+
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3294
|
+
expires_at: string | null;
|
|
3295
|
+
created_by: string | null;
|
|
3296
|
+
token_hash_prefix: string;
|
|
3297
|
+
}[];
|
|
3298
|
+
total: number;
|
|
3299
|
+
}, {
|
|
3300
|
+
items: {
|
|
3301
|
+
name: string;
|
|
3302
|
+
created_at: string;
|
|
3303
|
+
topic: string;
|
|
3304
|
+
execution_key: string;
|
|
3305
|
+
tool_kwargs: Record<string, unknown> | null;
|
|
3306
|
+
trigger_auth: "public" | "verifier" | "token" | "token+api_key" | "out-of-service";
|
|
3307
|
+
expires_at: string | null;
|
|
3308
|
+
created_by: string | null;
|
|
3309
|
+
token_hash_prefix: string;
|
|
3310
|
+
}[];
|
|
3311
|
+
total: number;
|
|
3312
|
+
}>;
|
|
3313
|
+
export type TriggerLinkList = z.infer<typeof triggerLinkList>;
|
|
3314
|
+
/** `DELETE /api/hooks/trigger-links/{name}` — the revoked link. */
|
|
3315
|
+
export declare const triggerLinkDeleted: z.ZodObject<{
|
|
3316
|
+
removed: z.ZodBoolean;
|
|
3317
|
+
name: z.ZodString;
|
|
3318
|
+
}, "strip", z.ZodTypeAny, {
|
|
3319
|
+
name: string;
|
|
3320
|
+
removed: boolean;
|
|
3321
|
+
}, {
|
|
3322
|
+
name: string;
|
|
3323
|
+
removed: boolean;
|
|
3324
|
+
}>;
|
|
3325
|
+
export type TriggerLinkDeleted = z.infer<typeof triggerLinkDeleted>;
|
|
3171
3326
|
export declare const settingsSchema: z.ZodObject<{
|
|
3172
3327
|
groups: z.ZodArray<z.ZodObject<{
|
|
3173
3328
|
name: z.ZodString;
|
|
@@ -3184,20 +3339,20 @@ export declare const settingsSchema: z.ZodObject<{
|
|
|
3184
3339
|
nested_group: z.ZodNullable<z.ZodString>;
|
|
3185
3340
|
value: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3186
3341
|
}, "strip", z.ZodTypeAny, {
|
|
3187
|
-
|
|
3342
|
+
name: string;
|
|
3188
3343
|
description: string | null;
|
|
3344
|
+
type: string;
|
|
3189
3345
|
required: boolean;
|
|
3190
|
-
name: string;
|
|
3191
3346
|
secret: boolean;
|
|
3192
3347
|
env_var: string;
|
|
3193
3348
|
nested_group: string | null;
|
|
3194
3349
|
value?: unknown;
|
|
3195
3350
|
default?: unknown;
|
|
3196
3351
|
}, {
|
|
3197
|
-
|
|
3352
|
+
name: string;
|
|
3198
3353
|
description: string | null;
|
|
3354
|
+
type: string;
|
|
3199
3355
|
required: boolean;
|
|
3200
|
-
name: string;
|
|
3201
3356
|
secret: boolean;
|
|
3202
3357
|
env_var: string;
|
|
3203
3358
|
nested_group: string | null;
|
|
@@ -3209,10 +3364,10 @@ export declare const settingsSchema: z.ZodObject<{
|
|
|
3209
3364
|
module: string;
|
|
3210
3365
|
qualname: string;
|
|
3211
3366
|
fields: {
|
|
3212
|
-
|
|
3367
|
+
name: string;
|
|
3213
3368
|
description: string | null;
|
|
3369
|
+
type: string;
|
|
3214
3370
|
required: boolean;
|
|
3215
|
-
name: string;
|
|
3216
3371
|
secret: boolean;
|
|
3217
3372
|
env_var: string;
|
|
3218
3373
|
nested_group: string | null;
|
|
@@ -3224,10 +3379,10 @@ export declare const settingsSchema: z.ZodObject<{
|
|
|
3224
3379
|
module: string;
|
|
3225
3380
|
qualname: string;
|
|
3226
3381
|
fields: {
|
|
3227
|
-
|
|
3382
|
+
name: string;
|
|
3228
3383
|
description: string | null;
|
|
3384
|
+
type: string;
|
|
3229
3385
|
required: boolean;
|
|
3230
|
-
name: string;
|
|
3231
3386
|
secret: boolean;
|
|
3232
3387
|
env_var: string;
|
|
3233
3388
|
nested_group: string | null;
|
|
@@ -3241,10 +3396,10 @@ export declare const settingsSchema: z.ZodObject<{
|
|
|
3241
3396
|
module: string;
|
|
3242
3397
|
qualname: string;
|
|
3243
3398
|
fields: {
|
|
3244
|
-
|
|
3399
|
+
name: string;
|
|
3245
3400
|
description: string | null;
|
|
3401
|
+
type: string;
|
|
3246
3402
|
required: boolean;
|
|
3247
|
-
name: string;
|
|
3248
3403
|
secret: boolean;
|
|
3249
3404
|
env_var: string;
|
|
3250
3405
|
nested_group: string | null;
|
|
@@ -3258,10 +3413,10 @@ export declare const settingsSchema: z.ZodObject<{
|
|
|
3258
3413
|
module: string;
|
|
3259
3414
|
qualname: string;
|
|
3260
3415
|
fields: {
|
|
3261
|
-
|
|
3416
|
+
name: string;
|
|
3262
3417
|
description: string | null;
|
|
3418
|
+
type: string;
|
|
3263
3419
|
required: boolean;
|
|
3264
|
-
name: string;
|
|
3265
3420
|
secret: boolean;
|
|
3266
3421
|
env_var: string;
|
|
3267
3422
|
nested_group: string | null;
|
|
@@ -3300,39 +3455,461 @@ export declare const removeScopeResult: z.ZodObject<{
|
|
|
3300
3455
|
scope_id: string;
|
|
3301
3456
|
deleted_keys: number;
|
|
3302
3457
|
}>;
|
|
3458
|
+
/**
|
|
3459
|
+
* A route's authorization ACTION class, joined onto the catalog from the route
|
|
3460
|
+
* registry. `read`/`write` routes are GRANTABLE — a role's per-tag level opens
|
|
3461
|
+
* them; `fenced`/`secret` routes are ADMIN-ONLY and never grantable (no per-tag
|
|
3462
|
+
* level reaches them). `null` marks a path the registry carries no metadata for
|
|
3463
|
+
* (an unregistered/ungated path — no feature tags, no action).
|
|
3464
|
+
*/
|
|
3465
|
+
export declare const routeAction: z.ZodEnum<["read", "write", "fenced", "secret"]>;
|
|
3466
|
+
export type RouteAction = z.infer<typeof routeAction>;
|
|
3303
3467
|
/**
|
|
3304
3468
|
* One row of the route catalog (`GET /api/auth/routes`) — a plain HTTP route with
|
|
3305
|
-
* its current mapping. `mapped` is the
|
|
3306
|
-
* the path is unmapped (the mapper's
|
|
3307
|
-
* route's method set with `HEAD`
|
|
3469
|
+
* its current mapping, JOINED with its route-registry metadata. `mapped` is the
|
|
3470
|
+
* scope id, the public marker, or `null` when the path is unmapped (the mapper's
|
|
3471
|
+
* "unassigned" bucket source). `methods` is the route's method set with `HEAD`
|
|
3472
|
+
* removed. `tags` are the route's feature-group labels, `summary` its one-line
|
|
3473
|
+
* description, and `action` its authorization class — the join fields the Roles
|
|
3474
|
+
* grant editor reads to derive grantable feature groups and mark the admin-only
|
|
3475
|
+
* (fenced/secret) routes it must never offer a grant for. An unregistered path
|
|
3476
|
+
* carries `tags: []`, `summary: ''`, `action: null`.
|
|
3308
3477
|
*/
|
|
3309
3478
|
export declare const authRoute: z.ZodObject<{
|
|
3310
3479
|
path: z.ZodString;
|
|
3311
3480
|
methods: z.ZodArray<z.ZodString, "many">;
|
|
3312
3481
|
mapped: z.ZodNullable<z.ZodString>;
|
|
3482
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3483
|
+
summary: z.ZodString;
|
|
3484
|
+
action: z.ZodNullable<z.ZodEnum<["read", "write", "fenced", "secret"]>>;
|
|
3313
3485
|
}, "strip", z.ZodTypeAny, {
|
|
3314
3486
|
path: string;
|
|
3487
|
+
tags: string[];
|
|
3315
3488
|
methods: string[];
|
|
3316
3489
|
mapped: string | null;
|
|
3490
|
+
summary: string;
|
|
3491
|
+
action: "secret" | "read" | "write" | "fenced" | null;
|
|
3317
3492
|
}, {
|
|
3318
3493
|
path: string;
|
|
3494
|
+
tags: string[];
|
|
3319
3495
|
methods: string[];
|
|
3320
3496
|
mapped: string | null;
|
|
3497
|
+
summary: string;
|
|
3498
|
+
action: "secret" | "read" | "write" | "fenced" | null;
|
|
3321
3499
|
}>;
|
|
3322
3500
|
export type AuthRoute = z.infer<typeof authRoute>;
|
|
3323
3501
|
export declare const authRoutes: z.ZodArray<z.ZodObject<{
|
|
3324
3502
|
path: z.ZodString;
|
|
3325
3503
|
methods: z.ZodArray<z.ZodString, "many">;
|
|
3326
3504
|
mapped: z.ZodNullable<z.ZodString>;
|
|
3505
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3506
|
+
summary: z.ZodString;
|
|
3507
|
+
action: z.ZodNullable<z.ZodEnum<["read", "write", "fenced", "secret"]>>;
|
|
3327
3508
|
}, "strip", z.ZodTypeAny, {
|
|
3328
3509
|
path: string;
|
|
3510
|
+
tags: string[];
|
|
3329
3511
|
methods: string[];
|
|
3330
3512
|
mapped: string | null;
|
|
3513
|
+
summary: string;
|
|
3514
|
+
action: "secret" | "read" | "write" | "fenced" | null;
|
|
3331
3515
|
}, {
|
|
3332
3516
|
path: string;
|
|
3517
|
+
tags: string[];
|
|
3333
3518
|
methods: string[];
|
|
3334
3519
|
mapped: string | null;
|
|
3520
|
+
summary: string;
|
|
3521
|
+
action: "secret" | "read" | "write" | "fenced" | null;
|
|
3522
|
+
}>, "many">;
|
|
3523
|
+
/** A role's per-tag ACCESS LEVEL: `none` (no access), `read`, or `write`. */
|
|
3524
|
+
export declare const grantLevel: z.ZodEnum<["none", "read", "write"]>;
|
|
3525
|
+
export type GrantLevel = z.infer<typeof grantLevel>;
|
|
3526
|
+
/** A role's editable grant map: feature-group TAG name → the role's access level. */
|
|
3527
|
+
export declare const roleGrants: z.ZodRecord<z.ZodString, z.ZodEnum<["none", "read", "write"]>>;
|
|
3528
|
+
export type RoleGrants = z.infer<typeof roleGrants>;
|
|
3529
|
+
/**
|
|
3530
|
+
* A role body (`GET /api/auth/roles`, and the write routes' echo). Layer 1 is the
|
|
3531
|
+
* read-only base-tier ceiling — the seeded jq `condition` plus `base_tier`
|
|
3532
|
+
* (`editor`/`viewer`, or `null` for the reserved `allow_all` admin). Layer 2 is the
|
|
3533
|
+
* editable per-tag `grants` map. `allow_all` (admin) carries an empty `grants` map
|
|
3534
|
+
* and reaches everything, un-lockable. `condition`/`condition_id`/`condition_kwargs`
|
|
3535
|
+
* are the base-tier jq — READ-ONLY here (no raw-jq authoring surface).
|
|
3536
|
+
*/
|
|
3537
|
+
export declare const roleBody: z.ZodObject<{
|
|
3538
|
+
name: z.ZodString;
|
|
3539
|
+
description: z.ZodString;
|
|
3540
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
3541
|
+
condition: z.ZodNullable<z.ZodString>;
|
|
3542
|
+
condition_id: z.ZodNullable<z.ZodString>;
|
|
3543
|
+
condition_kwargs: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3544
|
+
base_tier: z.ZodNullable<z.ZodString>;
|
|
3545
|
+
allow_all: z.ZodBoolean;
|
|
3546
|
+
grants: z.ZodRecord<z.ZodString, z.ZodEnum<["none", "read", "write"]>>;
|
|
3547
|
+
}, "strip", z.ZodTypeAny, {
|
|
3548
|
+
name: string;
|
|
3549
|
+
description: string;
|
|
3550
|
+
scopes: string[];
|
|
3551
|
+
condition: string | null;
|
|
3552
|
+
condition_id: string | null;
|
|
3553
|
+
base_tier: string | null;
|
|
3554
|
+
allow_all: boolean;
|
|
3555
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3556
|
+
condition_kwargs?: unknown;
|
|
3557
|
+
}, {
|
|
3558
|
+
name: string;
|
|
3559
|
+
description: string;
|
|
3560
|
+
scopes: string[];
|
|
3561
|
+
condition: string | null;
|
|
3562
|
+
condition_id: string | null;
|
|
3563
|
+
base_tier: string | null;
|
|
3564
|
+
allow_all: boolean;
|
|
3565
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3566
|
+
condition_kwargs?: unknown;
|
|
3567
|
+
}>;
|
|
3568
|
+
export type RoleBody = z.infer<typeof roleBody>;
|
|
3569
|
+
export declare const roleList: z.ZodArray<z.ZodObject<{
|
|
3570
|
+
name: z.ZodString;
|
|
3571
|
+
description: z.ZodString;
|
|
3572
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
3573
|
+
condition: z.ZodNullable<z.ZodString>;
|
|
3574
|
+
condition_id: z.ZodNullable<z.ZodString>;
|
|
3575
|
+
condition_kwargs: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3576
|
+
base_tier: z.ZodNullable<z.ZodString>;
|
|
3577
|
+
allow_all: z.ZodBoolean;
|
|
3578
|
+
grants: z.ZodRecord<z.ZodString, z.ZodEnum<["none", "read", "write"]>>;
|
|
3579
|
+
}, "strip", z.ZodTypeAny, {
|
|
3580
|
+
name: string;
|
|
3581
|
+
description: string;
|
|
3582
|
+
scopes: string[];
|
|
3583
|
+
condition: string | null;
|
|
3584
|
+
condition_id: string | null;
|
|
3585
|
+
base_tier: string | null;
|
|
3586
|
+
allow_all: boolean;
|
|
3587
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3588
|
+
condition_kwargs?: unknown;
|
|
3589
|
+
}, {
|
|
3590
|
+
name: string;
|
|
3591
|
+
description: string;
|
|
3592
|
+
scopes: string[];
|
|
3593
|
+
condition: string | null;
|
|
3594
|
+
condition_id: string | null;
|
|
3595
|
+
base_tier: string | null;
|
|
3596
|
+
allow_all: boolean;
|
|
3597
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3598
|
+
condition_kwargs?: unknown;
|
|
3335
3599
|
}>, "many">;
|
|
3600
|
+
/** `DELETE /api/auth/roles/{name}` — the deleted role's name. */
|
|
3601
|
+
export declare const roleDeleted: z.ZodObject<{
|
|
3602
|
+
name: z.ZodString;
|
|
3603
|
+
deleted: z.ZodBoolean;
|
|
3604
|
+
}, "strip", z.ZodTypeAny, {
|
|
3605
|
+
name: string;
|
|
3606
|
+
deleted: boolean;
|
|
3607
|
+
}, {
|
|
3608
|
+
name: string;
|
|
3609
|
+
deleted: boolean;
|
|
3610
|
+
}>;
|
|
3611
|
+
/**
|
|
3612
|
+
* One immutable role-version row (`GET /api/auth/roles/{name}/versions` →
|
|
3613
|
+
* `versions`). `body` is the role body at that version; `is_current` flags the
|
|
3614
|
+
* active pointer. Mirrors the generic versioned-store row shape.
|
|
3615
|
+
*/
|
|
3616
|
+
export declare const roleVersion: z.ZodObject<{
|
|
3617
|
+
version: z.ZodNumber;
|
|
3618
|
+
body: z.ZodObject<{
|
|
3619
|
+
name: z.ZodString;
|
|
3620
|
+
description: z.ZodString;
|
|
3621
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
3622
|
+
condition: z.ZodNullable<z.ZodString>;
|
|
3623
|
+
condition_id: z.ZodNullable<z.ZodString>;
|
|
3624
|
+
condition_kwargs: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3625
|
+
base_tier: z.ZodNullable<z.ZodString>;
|
|
3626
|
+
allow_all: z.ZodBoolean;
|
|
3627
|
+
grants: z.ZodRecord<z.ZodString, z.ZodEnum<["none", "read", "write"]>>;
|
|
3628
|
+
}, "strip", z.ZodTypeAny, {
|
|
3629
|
+
name: string;
|
|
3630
|
+
description: string;
|
|
3631
|
+
scopes: string[];
|
|
3632
|
+
condition: string | null;
|
|
3633
|
+
condition_id: string | null;
|
|
3634
|
+
base_tier: string | null;
|
|
3635
|
+
allow_all: boolean;
|
|
3636
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3637
|
+
condition_kwargs?: unknown;
|
|
3638
|
+
}, {
|
|
3639
|
+
name: string;
|
|
3640
|
+
description: string;
|
|
3641
|
+
scopes: string[];
|
|
3642
|
+
condition: string | null;
|
|
3643
|
+
condition_id: string | null;
|
|
3644
|
+
base_tier: string | null;
|
|
3645
|
+
allow_all: boolean;
|
|
3646
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3647
|
+
condition_kwargs?: unknown;
|
|
3648
|
+
}>;
|
|
3649
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3650
|
+
created_at: z.ZodString;
|
|
3651
|
+
is_current: z.ZodBoolean;
|
|
3652
|
+
}, "strip", z.ZodTypeAny, {
|
|
3653
|
+
tags: string[];
|
|
3654
|
+
version: number;
|
|
3655
|
+
body: {
|
|
3656
|
+
name: string;
|
|
3657
|
+
description: string;
|
|
3658
|
+
scopes: string[];
|
|
3659
|
+
condition: string | null;
|
|
3660
|
+
condition_id: string | null;
|
|
3661
|
+
base_tier: string | null;
|
|
3662
|
+
allow_all: boolean;
|
|
3663
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3664
|
+
condition_kwargs?: unknown;
|
|
3665
|
+
};
|
|
3666
|
+
created_at: string;
|
|
3667
|
+
is_current: boolean;
|
|
3668
|
+
}, {
|
|
3669
|
+
tags: string[];
|
|
3670
|
+
version: number;
|
|
3671
|
+
body: {
|
|
3672
|
+
name: string;
|
|
3673
|
+
description: string;
|
|
3674
|
+
scopes: string[];
|
|
3675
|
+
condition: string | null;
|
|
3676
|
+
condition_id: string | null;
|
|
3677
|
+
base_tier: string | null;
|
|
3678
|
+
allow_all: boolean;
|
|
3679
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3680
|
+
condition_kwargs?: unknown;
|
|
3681
|
+
};
|
|
3682
|
+
created_at: string;
|
|
3683
|
+
is_current: boolean;
|
|
3684
|
+
}>;
|
|
3685
|
+
export type RoleVersion = z.infer<typeof roleVersion>;
|
|
3686
|
+
/**
|
|
3687
|
+
* One who/action/before→after audit row (`GET /api/auth/roles/{name}/versions` →
|
|
3688
|
+
* `audit`). Its `body` carries the mutation kind, the actor, and the before/after
|
|
3689
|
+
* role bodies (both `null` for a create's `before` / a delete's `after`).
|
|
3690
|
+
*/
|
|
3691
|
+
export declare const roleAuditEvent: z.ZodObject<{
|
|
3692
|
+
version: z.ZodNumber;
|
|
3693
|
+
body: z.ZodObject<{
|
|
3694
|
+
action: z.ZodString;
|
|
3695
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
3696
|
+
before: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3697
|
+
after: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3698
|
+
}, "strip", z.ZodTypeAny, {
|
|
3699
|
+
action: string;
|
|
3700
|
+
actor: string | null;
|
|
3701
|
+
before?: unknown;
|
|
3702
|
+
after?: unknown;
|
|
3703
|
+
}, {
|
|
3704
|
+
action: string;
|
|
3705
|
+
actor: string | null;
|
|
3706
|
+
before?: unknown;
|
|
3707
|
+
after?: unknown;
|
|
3708
|
+
}>;
|
|
3709
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3710
|
+
created_at: z.ZodString;
|
|
3711
|
+
is_current: z.ZodBoolean;
|
|
3712
|
+
}, "strip", z.ZodTypeAny, {
|
|
3713
|
+
tags: string[];
|
|
3714
|
+
version: number;
|
|
3715
|
+
body: {
|
|
3716
|
+
action: string;
|
|
3717
|
+
actor: string | null;
|
|
3718
|
+
before?: unknown;
|
|
3719
|
+
after?: unknown;
|
|
3720
|
+
};
|
|
3721
|
+
created_at: string;
|
|
3722
|
+
is_current: boolean;
|
|
3723
|
+
}, {
|
|
3724
|
+
tags: string[];
|
|
3725
|
+
version: number;
|
|
3726
|
+
body: {
|
|
3727
|
+
action: string;
|
|
3728
|
+
actor: string | null;
|
|
3729
|
+
before?: unknown;
|
|
3730
|
+
after?: unknown;
|
|
3731
|
+
};
|
|
3732
|
+
created_at: string;
|
|
3733
|
+
is_current: boolean;
|
|
3734
|
+
}>;
|
|
3735
|
+
export type RoleAuditEvent = z.infer<typeof roleAuditEvent>;
|
|
3736
|
+
/** `GET /api/auth/roles/{name}/versions` — the append-only history + audit trail. */
|
|
3737
|
+
export declare const roleVersions: z.ZodObject<{
|
|
3738
|
+
versions: z.ZodArray<z.ZodObject<{
|
|
3739
|
+
version: z.ZodNumber;
|
|
3740
|
+
body: z.ZodObject<{
|
|
3741
|
+
name: z.ZodString;
|
|
3742
|
+
description: z.ZodString;
|
|
3743
|
+
scopes: z.ZodArray<z.ZodString, "many">;
|
|
3744
|
+
condition: z.ZodNullable<z.ZodString>;
|
|
3745
|
+
condition_id: z.ZodNullable<z.ZodString>;
|
|
3746
|
+
condition_kwargs: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3747
|
+
base_tier: z.ZodNullable<z.ZodString>;
|
|
3748
|
+
allow_all: z.ZodBoolean;
|
|
3749
|
+
grants: z.ZodRecord<z.ZodString, z.ZodEnum<["none", "read", "write"]>>;
|
|
3750
|
+
}, "strip", z.ZodTypeAny, {
|
|
3751
|
+
name: string;
|
|
3752
|
+
description: string;
|
|
3753
|
+
scopes: string[];
|
|
3754
|
+
condition: string | null;
|
|
3755
|
+
condition_id: string | null;
|
|
3756
|
+
base_tier: string | null;
|
|
3757
|
+
allow_all: boolean;
|
|
3758
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3759
|
+
condition_kwargs?: unknown;
|
|
3760
|
+
}, {
|
|
3761
|
+
name: string;
|
|
3762
|
+
description: string;
|
|
3763
|
+
scopes: string[];
|
|
3764
|
+
condition: string | null;
|
|
3765
|
+
condition_id: string | null;
|
|
3766
|
+
base_tier: string | null;
|
|
3767
|
+
allow_all: boolean;
|
|
3768
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3769
|
+
condition_kwargs?: unknown;
|
|
3770
|
+
}>;
|
|
3771
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3772
|
+
created_at: z.ZodString;
|
|
3773
|
+
is_current: z.ZodBoolean;
|
|
3774
|
+
}, "strip", z.ZodTypeAny, {
|
|
3775
|
+
tags: string[];
|
|
3776
|
+
version: number;
|
|
3777
|
+
body: {
|
|
3778
|
+
name: string;
|
|
3779
|
+
description: string;
|
|
3780
|
+
scopes: string[];
|
|
3781
|
+
condition: string | null;
|
|
3782
|
+
condition_id: string | null;
|
|
3783
|
+
base_tier: string | null;
|
|
3784
|
+
allow_all: boolean;
|
|
3785
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3786
|
+
condition_kwargs?: unknown;
|
|
3787
|
+
};
|
|
3788
|
+
created_at: string;
|
|
3789
|
+
is_current: boolean;
|
|
3790
|
+
}, {
|
|
3791
|
+
tags: string[];
|
|
3792
|
+
version: number;
|
|
3793
|
+
body: {
|
|
3794
|
+
name: string;
|
|
3795
|
+
description: string;
|
|
3796
|
+
scopes: string[];
|
|
3797
|
+
condition: string | null;
|
|
3798
|
+
condition_id: string | null;
|
|
3799
|
+
base_tier: string | null;
|
|
3800
|
+
allow_all: boolean;
|
|
3801
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3802
|
+
condition_kwargs?: unknown;
|
|
3803
|
+
};
|
|
3804
|
+
created_at: string;
|
|
3805
|
+
is_current: boolean;
|
|
3806
|
+
}>, "many">;
|
|
3807
|
+
audit: z.ZodArray<z.ZodObject<{
|
|
3808
|
+
version: z.ZodNumber;
|
|
3809
|
+
body: z.ZodObject<{
|
|
3810
|
+
action: z.ZodString;
|
|
3811
|
+
actor: z.ZodNullable<z.ZodString>;
|
|
3812
|
+
before: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3813
|
+
after: z.ZodNullable<z.ZodType<unknown, z.ZodTypeDef, unknown>>;
|
|
3814
|
+
}, "strip", z.ZodTypeAny, {
|
|
3815
|
+
action: string;
|
|
3816
|
+
actor: string | null;
|
|
3817
|
+
before?: unknown;
|
|
3818
|
+
after?: unknown;
|
|
3819
|
+
}, {
|
|
3820
|
+
action: string;
|
|
3821
|
+
actor: string | null;
|
|
3822
|
+
before?: unknown;
|
|
3823
|
+
after?: unknown;
|
|
3824
|
+
}>;
|
|
3825
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3826
|
+
created_at: z.ZodString;
|
|
3827
|
+
is_current: z.ZodBoolean;
|
|
3828
|
+
}, "strip", z.ZodTypeAny, {
|
|
3829
|
+
tags: string[];
|
|
3830
|
+
version: number;
|
|
3831
|
+
body: {
|
|
3832
|
+
action: string;
|
|
3833
|
+
actor: string | null;
|
|
3834
|
+
before?: unknown;
|
|
3835
|
+
after?: unknown;
|
|
3836
|
+
};
|
|
3837
|
+
created_at: string;
|
|
3838
|
+
is_current: boolean;
|
|
3839
|
+
}, {
|
|
3840
|
+
tags: string[];
|
|
3841
|
+
version: number;
|
|
3842
|
+
body: {
|
|
3843
|
+
action: string;
|
|
3844
|
+
actor: string | null;
|
|
3845
|
+
before?: unknown;
|
|
3846
|
+
after?: unknown;
|
|
3847
|
+
};
|
|
3848
|
+
created_at: string;
|
|
3849
|
+
is_current: boolean;
|
|
3850
|
+
}>, "many">;
|
|
3851
|
+
}, "strip", z.ZodTypeAny, {
|
|
3852
|
+
versions: {
|
|
3853
|
+
tags: string[];
|
|
3854
|
+
version: number;
|
|
3855
|
+
body: {
|
|
3856
|
+
name: string;
|
|
3857
|
+
description: string;
|
|
3858
|
+
scopes: string[];
|
|
3859
|
+
condition: string | null;
|
|
3860
|
+
condition_id: string | null;
|
|
3861
|
+
base_tier: string | null;
|
|
3862
|
+
allow_all: boolean;
|
|
3863
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3864
|
+
condition_kwargs?: unknown;
|
|
3865
|
+
};
|
|
3866
|
+
created_at: string;
|
|
3867
|
+
is_current: boolean;
|
|
3868
|
+
}[];
|
|
3869
|
+
audit: {
|
|
3870
|
+
tags: string[];
|
|
3871
|
+
version: number;
|
|
3872
|
+
body: {
|
|
3873
|
+
action: string;
|
|
3874
|
+
actor: string | null;
|
|
3875
|
+
before?: unknown;
|
|
3876
|
+
after?: unknown;
|
|
3877
|
+
};
|
|
3878
|
+
created_at: string;
|
|
3879
|
+
is_current: boolean;
|
|
3880
|
+
}[];
|
|
3881
|
+
}, {
|
|
3882
|
+
versions: {
|
|
3883
|
+
tags: string[];
|
|
3884
|
+
version: number;
|
|
3885
|
+
body: {
|
|
3886
|
+
name: string;
|
|
3887
|
+
description: string;
|
|
3888
|
+
scopes: string[];
|
|
3889
|
+
condition: string | null;
|
|
3890
|
+
condition_id: string | null;
|
|
3891
|
+
base_tier: string | null;
|
|
3892
|
+
allow_all: boolean;
|
|
3893
|
+
grants: Record<string, "none" | "read" | "write">;
|
|
3894
|
+
condition_kwargs?: unknown;
|
|
3895
|
+
};
|
|
3896
|
+
created_at: string;
|
|
3897
|
+
is_current: boolean;
|
|
3898
|
+
}[];
|
|
3899
|
+
audit: {
|
|
3900
|
+
tags: string[];
|
|
3901
|
+
version: number;
|
|
3902
|
+
body: {
|
|
3903
|
+
action: string;
|
|
3904
|
+
actor: string | null;
|
|
3905
|
+
before?: unknown;
|
|
3906
|
+
after?: unknown;
|
|
3907
|
+
};
|
|
3908
|
+
created_at: string;
|
|
3909
|
+
is_current: boolean;
|
|
3910
|
+
}[];
|
|
3911
|
+
}>;
|
|
3912
|
+
export type RoleVersions = z.infer<typeof roleVersions>;
|
|
3336
3913
|
/** `GET /api/auth/public-routes` — the sorted urls pinned to the public marker. */
|
|
3337
3914
|
export declare const publicRoutes: z.ZodArray<z.ZodString, "many">;
|
|
3338
3915
|
/** `POST /api/auth/public-routes` — the pinned url. */
|
|
@@ -3351,6 +3928,8 @@ export declare const unpinPublicResult: z.ZodObject<{
|
|
|
3351
3928
|
}, {
|
|
3352
3929
|
url: string;
|
|
3353
3930
|
}>;
|
|
3931
|
+
/** The per-key payloads (`GET /api/auth/tokens-payload`). The stable per-mint
|
|
3932
|
+
* `key_fingerprint` is nested under `policy_data`; the picker reads it there. */
|
|
3354
3933
|
export declare const tokensPayload: z.ZodArray<z.ZodObject<{
|
|
3355
3934
|
user_id: z.ZodString;
|
|
3356
3935
|
description: z.ZodString;
|
|
@@ -3377,8 +3956,21 @@ export declare const tokensPayload: z.ZodArray<z.ZodObject<{
|
|
|
3377
3956
|
policy_data?: unknown;
|
|
3378
3957
|
}>, "many">;
|
|
3379
3958
|
export type TokensPayload = z.infer<typeof tokensPayload>;
|
|
3380
|
-
/**
|
|
3381
|
-
|
|
3959
|
+
/** Mint reply `{ api_key, key_fingerprint }` narrowed to the raw `sk-…` key,
|
|
3960
|
+
* returned once at creation and never again. */
|
|
3961
|
+
export declare const createdApiKey: z.ZodEffects<z.ZodObject<{
|
|
3962
|
+
api_key: z.ZodString;
|
|
3963
|
+
key_fingerprint: z.ZodString;
|
|
3964
|
+
}, "strip", z.ZodTypeAny, {
|
|
3965
|
+
api_key: string;
|
|
3966
|
+
key_fingerprint: string;
|
|
3967
|
+
}, {
|
|
3968
|
+
api_key: string;
|
|
3969
|
+
key_fingerprint: string;
|
|
3970
|
+
}>, string, {
|
|
3971
|
+
api_key: string;
|
|
3972
|
+
key_fingerprint: string;
|
|
3973
|
+
}>;
|
|
3382
3974
|
export declare const editApiKeyResult: z.ZodObject<{
|
|
3383
3975
|
user_id: z.ZodString;
|
|
3384
3976
|
updated: z.ZodBoolean;
|
|
@@ -3614,11 +4206,11 @@ export declare const loginResult: z.ZodObject<{
|
|
|
3614
4206
|
token: z.ZodString;
|
|
3615
4207
|
user_id: z.ZodString;
|
|
3616
4208
|
}, "strip", z.ZodTypeAny, {
|
|
3617
|
-
user_id: string;
|
|
3618
4209
|
token: string;
|
|
3619
|
-
}, {
|
|
3620
4210
|
user_id: string;
|
|
4211
|
+
}, {
|
|
3621
4212
|
token: string;
|
|
4213
|
+
user_id: string;
|
|
3622
4214
|
}>;
|
|
3623
4215
|
export type LoginFormField = z.infer<typeof loginFormField>;
|
|
3624
4216
|
export type LoginMethod = z.infer<typeof loginMethod>;
|
|
@@ -3773,12 +4365,12 @@ export declare const claimLinkCreated: z.ZodObject<{
|
|
|
3773
4365
|
expires_at: z.ZodString;
|
|
3774
4366
|
}, "strip", z.ZodTypeAny, {
|
|
3775
4367
|
token: string;
|
|
3776
|
-
claim_path: string;
|
|
3777
4368
|
expires_at: string;
|
|
4369
|
+
claim_path: string;
|
|
3778
4370
|
}, {
|
|
3779
4371
|
token: string;
|
|
3780
|
-
claim_path: string;
|
|
3781
4372
|
expires_at: string;
|
|
4373
|
+
claim_path: string;
|
|
3782
4374
|
}>;
|
|
3783
4375
|
export type ClaimLinkCreated = z.infer<typeof claimLinkCreated>;
|
|
3784
4376
|
/**
|
|
@@ -3840,11 +4432,11 @@ export declare const validateConditionResult: z.ZodObject<{
|
|
|
3840
4432
|
ok: z.ZodBoolean;
|
|
3841
4433
|
result: z.ZodNullable<z.ZodBoolean>;
|
|
3842
4434
|
}, "strip", z.ZodTypeAny, {
|
|
3843
|
-
ok: boolean;
|
|
3844
4435
|
result: boolean | null;
|
|
3845
|
-
}, {
|
|
3846
4436
|
ok: boolean;
|
|
4437
|
+
}, {
|
|
3847
4438
|
result: boolean | null;
|
|
4439
|
+
ok: boolean;
|
|
3848
4440
|
}>;
|
|
3849
4441
|
export type ValidateConditionResult = z.infer<typeof validateConditionResult>;
|
|
3850
4442
|
/**
|
|
@@ -4059,13 +4651,13 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4059
4651
|
}, "strip", z.ZodTypeAny, {
|
|
4060
4652
|
error: string | null;
|
|
4061
4653
|
origin: string;
|
|
4062
|
-
outcome: "
|
|
4654
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4063
4655
|
detail: string | null;
|
|
4064
4656
|
payload?: unknown;
|
|
4065
4657
|
}, {
|
|
4066
4658
|
error: string | null;
|
|
4067
4659
|
origin: string;
|
|
4068
|
-
outcome: "
|
|
4660
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4069
4661
|
detail: string | null;
|
|
4070
4662
|
payload?: unknown;
|
|
4071
4663
|
}>, "many">;
|
|
@@ -4080,7 +4672,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4080
4672
|
results: {
|
|
4081
4673
|
error: string | null;
|
|
4082
4674
|
origin: string;
|
|
4083
|
-
outcome: "
|
|
4675
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4084
4676
|
detail: string | null;
|
|
4085
4677
|
payload?: unknown;
|
|
4086
4678
|
}[];
|
|
@@ -4093,7 +4685,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4093
4685
|
results: {
|
|
4094
4686
|
error: string | null;
|
|
4095
4687
|
origin: string;
|
|
4096
|
-
outcome: "
|
|
4688
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4097
4689
|
detail: string | null;
|
|
4098
4690
|
payload?: unknown;
|
|
4099
4691
|
}[];
|
|
@@ -4111,13 +4703,13 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4111
4703
|
}, "strip", z.ZodTypeAny, {
|
|
4112
4704
|
error: string | null;
|
|
4113
4705
|
origin: string;
|
|
4114
|
-
outcome: "
|
|
4706
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4115
4707
|
detail: string | null;
|
|
4116
4708
|
payload?: unknown;
|
|
4117
4709
|
}, {
|
|
4118
4710
|
error: string | null;
|
|
4119
4711
|
origin: string;
|
|
4120
|
-
outcome: "
|
|
4712
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4121
4713
|
detail: string | null;
|
|
4122
4714
|
payload?: unknown;
|
|
4123
4715
|
}>, "many">;
|
|
@@ -4132,7 +4724,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4132
4724
|
results: {
|
|
4133
4725
|
error: string | null;
|
|
4134
4726
|
origin: string;
|
|
4135
|
-
outcome: "
|
|
4727
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4136
4728
|
detail: string | null;
|
|
4137
4729
|
payload?: unknown;
|
|
4138
4730
|
}[];
|
|
@@ -4145,7 +4737,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4145
4737
|
results: {
|
|
4146
4738
|
error: string | null;
|
|
4147
4739
|
origin: string;
|
|
4148
|
-
outcome: "
|
|
4740
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4149
4741
|
detail: string | null;
|
|
4150
4742
|
payload?: unknown;
|
|
4151
4743
|
}[];
|
|
@@ -4167,7 +4759,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4167
4759
|
results: {
|
|
4168
4760
|
error: string | null;
|
|
4169
4761
|
origin: string;
|
|
4170
|
-
outcome: "
|
|
4762
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4171
4763
|
detail: string | null;
|
|
4172
4764
|
payload?: unknown;
|
|
4173
4765
|
}[];
|
|
@@ -4180,7 +4772,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4180
4772
|
results: {
|
|
4181
4773
|
error: string | null;
|
|
4182
4774
|
origin: string;
|
|
4183
|
-
outcome: "
|
|
4775
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4184
4776
|
detail: string | null;
|
|
4185
4777
|
payload?: unknown;
|
|
4186
4778
|
}[];
|
|
@@ -4207,7 +4799,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4207
4799
|
results: {
|
|
4208
4800
|
error: string | null;
|
|
4209
4801
|
origin: string;
|
|
4210
|
-
outcome: "
|
|
4802
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4211
4803
|
detail: string | null;
|
|
4212
4804
|
payload?: unknown;
|
|
4213
4805
|
}[];
|
|
@@ -4220,7 +4812,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4220
4812
|
results: {
|
|
4221
4813
|
error: string | null;
|
|
4222
4814
|
origin: string;
|
|
4223
|
-
outcome: "
|
|
4815
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4224
4816
|
detail: string | null;
|
|
4225
4817
|
payload?: unknown;
|
|
4226
4818
|
}[];
|
|
@@ -4250,7 +4842,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4250
4842
|
results: {
|
|
4251
4843
|
error: string | null;
|
|
4252
4844
|
origin: string;
|
|
4253
|
-
outcome: "
|
|
4845
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4254
4846
|
detail: string | null;
|
|
4255
4847
|
payload?: unknown;
|
|
4256
4848
|
}[];
|
|
@@ -4263,7 +4855,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4263
4855
|
results: {
|
|
4264
4856
|
error: string | null;
|
|
4265
4857
|
origin: string;
|
|
4266
|
-
outcome: "
|
|
4858
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4267
4859
|
detail: string | null;
|
|
4268
4860
|
payload?: unknown;
|
|
4269
4861
|
}[];
|
|
@@ -4293,7 +4885,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4293
4885
|
results: {
|
|
4294
4886
|
error: string | null;
|
|
4295
4887
|
origin: string;
|
|
4296
|
-
outcome: "
|
|
4888
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4297
4889
|
detail: string | null;
|
|
4298
4890
|
payload?: unknown;
|
|
4299
4891
|
}[];
|
|
@@ -4306,7 +4898,7 @@ export declare const backupImportReport: z.ZodObject<{
|
|
|
4306
4898
|
results: {
|
|
4307
4899
|
error: string | null;
|
|
4308
4900
|
origin: string;
|
|
4309
|
-
outcome: "
|
|
4901
|
+
outcome: "failed" | "applied" | "missing" | "departed" | "timed_out";
|
|
4310
4902
|
detail: string | null;
|
|
4311
4903
|
payload?: unknown;
|
|
4312
4904
|
}[];
|
|
@@ -4430,16 +5022,16 @@ export declare const dashboardMetrics: z.ZodObject<{
|
|
|
4430
5022
|
totalTokens: z.ZodNumber;
|
|
4431
5023
|
avgLatencyMs: z.ZodNumber;
|
|
4432
5024
|
}, "strip", z.ZodTypeAny, {
|
|
5025
|
+
model: string;
|
|
4433
5026
|
totalTokens: number;
|
|
4434
5027
|
cost: number;
|
|
4435
5028
|
avgLatencyMs: number;
|
|
4436
|
-
model: string;
|
|
4437
5029
|
calls: number;
|
|
4438
5030
|
}, {
|
|
5031
|
+
model: string;
|
|
4439
5032
|
totalTokens: number;
|
|
4440
5033
|
cost: number;
|
|
4441
5034
|
avgLatencyMs: number;
|
|
4442
|
-
model: string;
|
|
4443
5035
|
calls: number;
|
|
4444
5036
|
}>, "many">;
|
|
4445
5037
|
granularity: z.ZodEnum<["hour", "day", "week"]>;
|
|
@@ -4461,10 +5053,10 @@ export declare const dashboardMetrics: z.ZodObject<{
|
|
|
4461
5053
|
avgLatencyMs: number;
|
|
4462
5054
|
}[];
|
|
4463
5055
|
byModel: {
|
|
5056
|
+
model: string;
|
|
4464
5057
|
totalTokens: number;
|
|
4465
5058
|
cost: number;
|
|
4466
5059
|
avgLatencyMs: number;
|
|
4467
|
-
model: string;
|
|
4468
5060
|
calls: number;
|
|
4469
5061
|
}[];
|
|
4470
5062
|
granularity: "hour" | "day" | "week";
|
|
@@ -4486,10 +5078,10 @@ export declare const dashboardMetrics: z.ZodObject<{
|
|
|
4486
5078
|
avgLatencyMs: number;
|
|
4487
5079
|
}[];
|
|
4488
5080
|
byModel: {
|
|
5081
|
+
model: string;
|
|
4489
5082
|
totalTokens: number;
|
|
4490
5083
|
cost: number;
|
|
4491
5084
|
avgLatencyMs: number;
|
|
4492
|
-
model: string;
|
|
4493
5085
|
calls: number;
|
|
4494
5086
|
}[];
|
|
4495
5087
|
granularity: "hour" | "day" | "week";
|
|
@@ -4510,11 +5102,11 @@ export declare const run: z.ZodObject<{
|
|
|
4510
5102
|
fetchError: z.ZodNullable<z.ZodString>;
|
|
4511
5103
|
}, "strip", z.ZodTypeAny, {
|
|
4512
5104
|
status: "error" | "success";
|
|
5105
|
+
model: string | null;
|
|
4513
5106
|
tags: string[];
|
|
4514
5107
|
id: string;
|
|
4515
5108
|
totalTokens: number | null;
|
|
4516
5109
|
cost: number | null;
|
|
4517
|
-
model: string | null;
|
|
4518
5110
|
traceId: string;
|
|
4519
5111
|
createdAt: string | null;
|
|
4520
5112
|
latencyMs: number | null;
|
|
@@ -4523,11 +5115,11 @@ export declare const run: z.ZodObject<{
|
|
|
4523
5115
|
outputPreview?: unknown;
|
|
4524
5116
|
}, {
|
|
4525
5117
|
status: "error" | "success";
|
|
5118
|
+
model: string | null;
|
|
4526
5119
|
tags: string[];
|
|
4527
5120
|
id: string;
|
|
4528
5121
|
totalTokens: number | null;
|
|
4529
5122
|
cost: number | null;
|
|
4530
|
-
model: string | null;
|
|
4531
5123
|
traceId: string;
|
|
4532
5124
|
createdAt: string | null;
|
|
4533
5125
|
latencyMs: number | null;
|
|
@@ -4552,11 +5144,11 @@ export declare const runsPage: z.ZodObject<{
|
|
|
4552
5144
|
fetchError: z.ZodNullable<z.ZodString>;
|
|
4553
5145
|
}, "strip", z.ZodTypeAny, {
|
|
4554
5146
|
status: "error" | "success";
|
|
5147
|
+
model: string | null;
|
|
4555
5148
|
tags: string[];
|
|
4556
5149
|
id: string;
|
|
4557
5150
|
totalTokens: number | null;
|
|
4558
5151
|
cost: number | null;
|
|
4559
|
-
model: string | null;
|
|
4560
5152
|
traceId: string;
|
|
4561
5153
|
createdAt: string | null;
|
|
4562
5154
|
latencyMs: number | null;
|
|
@@ -4565,11 +5157,11 @@ export declare const runsPage: z.ZodObject<{
|
|
|
4565
5157
|
outputPreview?: unknown;
|
|
4566
5158
|
}, {
|
|
4567
5159
|
status: "error" | "success";
|
|
5160
|
+
model: string | null;
|
|
4568
5161
|
tags: string[];
|
|
4569
5162
|
id: string;
|
|
4570
5163
|
totalTokens: number | null;
|
|
4571
5164
|
cost: number | null;
|
|
4572
|
-
model: string | null;
|
|
4573
5165
|
traceId: string;
|
|
4574
5166
|
createdAt: string | null;
|
|
4575
5167
|
latencyMs: number | null;
|
|
@@ -4582,11 +5174,11 @@ export declare const runsPage: z.ZodObject<{
|
|
|
4582
5174
|
}, "strip", z.ZodTypeAny, {
|
|
4583
5175
|
items: {
|
|
4584
5176
|
status: "error" | "success";
|
|
5177
|
+
model: string | null;
|
|
4585
5178
|
tags: string[];
|
|
4586
5179
|
id: string;
|
|
4587
5180
|
totalTokens: number | null;
|
|
4588
5181
|
cost: number | null;
|
|
4589
|
-
model: string | null;
|
|
4590
5182
|
traceId: string;
|
|
4591
5183
|
createdAt: string | null;
|
|
4592
5184
|
latencyMs: number | null;
|
|
@@ -4599,11 +5191,11 @@ export declare const runsPage: z.ZodObject<{
|
|
|
4599
5191
|
}, {
|
|
4600
5192
|
items: {
|
|
4601
5193
|
status: "error" | "success";
|
|
5194
|
+
model: string | null;
|
|
4602
5195
|
tags: string[];
|
|
4603
5196
|
id: string;
|
|
4604
5197
|
totalTokens: number | null;
|
|
4605
5198
|
cost: number | null;
|
|
4606
|
-
model: string | null;
|
|
4607
5199
|
traceId: string;
|
|
4608
5200
|
createdAt: string | null;
|
|
4609
5201
|
latencyMs: number | null;
|
|
@@ -4631,10 +5223,10 @@ export declare const runSpan: z.ZodObject<{
|
|
|
4631
5223
|
output: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
4632
5224
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
4633
5225
|
}, "strip", z.ZodTypeAny, {
|
|
4634
|
-
type: string | null;
|
|
4635
5226
|
name: string | null;
|
|
4636
|
-
|
|
5227
|
+
type: string | null;
|
|
4637
5228
|
model: string | null;
|
|
5229
|
+
id: string;
|
|
4638
5230
|
traceId: string | null;
|
|
4639
5231
|
parentId: string | null;
|
|
4640
5232
|
level: string | null;
|
|
@@ -4647,10 +5239,10 @@ export declare const runSpan: z.ZodObject<{
|
|
|
4647
5239
|
usage?: unknown;
|
|
4648
5240
|
metadata?: unknown;
|
|
4649
5241
|
}, {
|
|
4650
|
-
type: string | null;
|
|
4651
5242
|
name: string | null;
|
|
4652
|
-
|
|
5243
|
+
type: string | null;
|
|
4653
5244
|
model: string | null;
|
|
5245
|
+
id: string;
|
|
4654
5246
|
traceId: string | null;
|
|
4655
5247
|
parentId: string | null;
|
|
4656
5248
|
level: string | null;
|
|
@@ -4691,10 +5283,10 @@ export declare const runTrace: z.ZodObject<{
|
|
|
4691
5283
|
output: z.ZodType<unknown, z.ZodTypeDef, unknown>;
|
|
4692
5284
|
nodeId: z.ZodNullable<z.ZodString>;
|
|
4693
5285
|
}, "strip", z.ZodTypeAny, {
|
|
4694
|
-
type: string | null;
|
|
4695
5286
|
name: string | null;
|
|
4696
|
-
|
|
5287
|
+
type: string | null;
|
|
4697
5288
|
model: string | null;
|
|
5289
|
+
id: string;
|
|
4698
5290
|
traceId: string | null;
|
|
4699
5291
|
parentId: string | null;
|
|
4700
5292
|
level: string | null;
|
|
@@ -4707,10 +5299,10 @@ export declare const runTrace: z.ZodObject<{
|
|
|
4707
5299
|
usage?: unknown;
|
|
4708
5300
|
metadata?: unknown;
|
|
4709
5301
|
}, {
|
|
4710
|
-
type: string | null;
|
|
4711
5302
|
name: string | null;
|
|
4712
|
-
|
|
5303
|
+
type: string | null;
|
|
4713
5304
|
model: string | null;
|
|
5305
|
+
id: string;
|
|
4714
5306
|
traceId: string | null;
|
|
4715
5307
|
parentId: string | null;
|
|
4716
5308
|
level: string | null;
|
|
@@ -4731,10 +5323,10 @@ export declare const runTrace: z.ZodObject<{
|
|
|
4731
5323
|
timestamp: string | null;
|
|
4732
5324
|
availability: "partial" | "unavailable" | "full";
|
|
4733
5325
|
spans: {
|
|
4734
|
-
type: string | null;
|
|
4735
5326
|
name: string | null;
|
|
4736
|
-
|
|
5327
|
+
type: string | null;
|
|
4737
5328
|
model: string | null;
|
|
5329
|
+
id: string;
|
|
4738
5330
|
traceId: string | null;
|
|
4739
5331
|
parentId: string | null;
|
|
4740
5332
|
level: string | null;
|
|
@@ -4758,10 +5350,10 @@ export declare const runTrace: z.ZodObject<{
|
|
|
4758
5350
|
timestamp: string | null;
|
|
4759
5351
|
availability: "partial" | "unavailable" | "full";
|
|
4760
5352
|
spans: {
|
|
4761
|
-
type: string | null;
|
|
4762
5353
|
name: string | null;
|
|
4763
|
-
|
|
5354
|
+
type: string | null;
|
|
4764
5355
|
model: string | null;
|
|
5356
|
+
id: string;
|
|
4765
5357
|
traceId: string | null;
|
|
4766
5358
|
parentId: string | null;
|
|
4767
5359
|
level: string | null;
|
|
@@ -4789,13 +5381,13 @@ export declare const marketplaceItem: z.ZodObject<{
|
|
|
4789
5381
|
description: z.ZodString;
|
|
4790
5382
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
4791
5383
|
}, "strip", z.ZodTypeAny, {
|
|
4792
|
-
description: string;
|
|
4793
5384
|
name: string;
|
|
5385
|
+
description: string;
|
|
4794
5386
|
tags: string[];
|
|
4795
5387
|
kind: string;
|
|
4796
5388
|
}, {
|
|
4797
|
-
description: string;
|
|
4798
5389
|
name: string;
|
|
5390
|
+
description: string;
|
|
4799
5391
|
tags: string[];
|
|
4800
5392
|
kind: string;
|
|
4801
5393
|
}>;
|
|
@@ -4814,13 +5406,13 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
4814
5406
|
description: z.ZodString;
|
|
4815
5407
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
4816
5408
|
}, "strip", z.ZodTypeAny, {
|
|
4817
|
-
description: string;
|
|
4818
5409
|
name: string;
|
|
5410
|
+
description: string;
|
|
4819
5411
|
tags: string[];
|
|
4820
5412
|
kind: string;
|
|
4821
5413
|
}, {
|
|
4822
|
-
description: string;
|
|
4823
5414
|
name: string;
|
|
5415
|
+
description: string;
|
|
4824
5416
|
tags: string[];
|
|
4825
5417
|
kind: string;
|
|
4826
5418
|
}>;
|
|
@@ -4839,14 +5431,14 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
4839
5431
|
downloads: z.ZodNumber;
|
|
4840
5432
|
updated_at: z.ZodString;
|
|
4841
5433
|
}, "strip", z.ZodTypeAny, {
|
|
4842
|
-
description: string;
|
|
4843
5434
|
name: string;
|
|
5435
|
+
description: string;
|
|
4844
5436
|
tags: string[];
|
|
4845
5437
|
display_name: string | null;
|
|
4846
5438
|
icon_url: string | null;
|
|
4847
5439
|
item: {
|
|
4848
|
-
description: string;
|
|
4849
5440
|
name: string;
|
|
5441
|
+
description: string;
|
|
4850
5442
|
tags: string[];
|
|
4851
5443
|
kind: string;
|
|
4852
5444
|
};
|
|
@@ -4860,14 +5452,14 @@ export declare const marketplaceSearchRow: z.ZodObject<{
|
|
|
4860
5452
|
downloads: number;
|
|
4861
5453
|
updated_at: string;
|
|
4862
5454
|
}, {
|
|
4863
|
-
description: string;
|
|
4864
5455
|
name: string;
|
|
5456
|
+
description: string;
|
|
4865
5457
|
tags: string[];
|
|
4866
5458
|
display_name: string | null;
|
|
4867
5459
|
icon_url: string | null;
|
|
4868
5460
|
item: {
|
|
4869
|
-
description: string;
|
|
4870
5461
|
name: string;
|
|
5462
|
+
description: string;
|
|
4871
5463
|
tags: string[];
|
|
4872
5464
|
kind: string;
|
|
4873
5465
|
};
|
|
@@ -4894,13 +5486,13 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
4894
5486
|
description: z.ZodString;
|
|
4895
5487
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
4896
5488
|
}, "strip", z.ZodTypeAny, {
|
|
4897
|
-
description: string;
|
|
4898
5489
|
name: string;
|
|
5490
|
+
description: string;
|
|
4899
5491
|
tags: string[];
|
|
4900
5492
|
kind: string;
|
|
4901
5493
|
}, {
|
|
4902
|
-
description: string;
|
|
4903
5494
|
name: string;
|
|
5495
|
+
description: string;
|
|
4904
5496
|
tags: string[];
|
|
4905
5497
|
kind: string;
|
|
4906
5498
|
}>;
|
|
@@ -4919,14 +5511,14 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
4919
5511
|
downloads: z.ZodNumber;
|
|
4920
5512
|
updated_at: z.ZodString;
|
|
4921
5513
|
}, "strip", z.ZodTypeAny, {
|
|
4922
|
-
description: string;
|
|
4923
5514
|
name: string;
|
|
5515
|
+
description: string;
|
|
4924
5516
|
tags: string[];
|
|
4925
5517
|
display_name: string | null;
|
|
4926
5518
|
icon_url: string | null;
|
|
4927
5519
|
item: {
|
|
4928
|
-
description: string;
|
|
4929
5520
|
name: string;
|
|
5521
|
+
description: string;
|
|
4930
5522
|
tags: string[];
|
|
4931
5523
|
kind: string;
|
|
4932
5524
|
};
|
|
@@ -4940,14 +5532,14 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
4940
5532
|
downloads: number;
|
|
4941
5533
|
updated_at: string;
|
|
4942
5534
|
}, {
|
|
4943
|
-
description: string;
|
|
4944
5535
|
name: string;
|
|
5536
|
+
description: string;
|
|
4945
5537
|
tags: string[];
|
|
4946
5538
|
display_name: string | null;
|
|
4947
5539
|
icon_url: string | null;
|
|
4948
5540
|
item: {
|
|
4949
|
-
description: string;
|
|
4950
5541
|
name: string;
|
|
5542
|
+
description: string;
|
|
4951
5543
|
tags: string[];
|
|
4952
5544
|
kind: string;
|
|
4953
5545
|
};
|
|
@@ -4966,14 +5558,14 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
4966
5558
|
page_size: z.ZodNumber;
|
|
4967
5559
|
}, "strip", z.ZodTypeAny, {
|
|
4968
5560
|
items: {
|
|
4969
|
-
description: string;
|
|
4970
5561
|
name: string;
|
|
5562
|
+
description: string;
|
|
4971
5563
|
tags: string[];
|
|
4972
5564
|
display_name: string | null;
|
|
4973
5565
|
icon_url: string | null;
|
|
4974
5566
|
item: {
|
|
4975
|
-
description: string;
|
|
4976
5567
|
name: string;
|
|
5568
|
+
description: string;
|
|
4977
5569
|
tags: string[];
|
|
4978
5570
|
kind: string;
|
|
4979
5571
|
};
|
|
@@ -4992,14 +5584,14 @@ export declare const marketplaceSearchPage: z.ZodObject<{
|
|
|
4992
5584
|
page_size: number;
|
|
4993
5585
|
}, {
|
|
4994
5586
|
items: {
|
|
4995
|
-
description: string;
|
|
4996
5587
|
name: string;
|
|
5588
|
+
description: string;
|
|
4997
5589
|
tags: string[];
|
|
4998
5590
|
display_name: string | null;
|
|
4999
5591
|
icon_url: string | null;
|
|
5000
5592
|
item: {
|
|
5001
|
-
description: string;
|
|
5002
5593
|
name: string;
|
|
5594
|
+
description: string;
|
|
5003
5595
|
tags: string[];
|
|
5004
5596
|
kind: string;
|
|
5005
5597
|
};
|
|
@@ -5057,36 +5649,36 @@ export declare const marketplaceLatestVersion: z.ZodObject<{
|
|
|
5057
5649
|
description: z.ZodString;
|
|
5058
5650
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
5059
5651
|
}, "strip", z.ZodTypeAny, {
|
|
5060
|
-
description: string;
|
|
5061
5652
|
name: string;
|
|
5653
|
+
description: string;
|
|
5062
5654
|
tags: string[];
|
|
5063
5655
|
kind: string;
|
|
5064
5656
|
}, {
|
|
5065
|
-
description: string;
|
|
5066
5657
|
name: string;
|
|
5658
|
+
description: string;
|
|
5067
5659
|
tags: string[];
|
|
5068
5660
|
kind: string;
|
|
5069
5661
|
}>, "many">;
|
|
5070
5662
|
}, "strip", z.ZodTypeAny, {
|
|
5071
5663
|
status: string;
|
|
5072
|
-
version: string;
|
|
5073
5664
|
items: {
|
|
5074
|
-
description: string;
|
|
5075
5665
|
name: string;
|
|
5666
|
+
description: string;
|
|
5076
5667
|
tags: string[];
|
|
5077
5668
|
kind: string;
|
|
5078
5669
|
}[];
|
|
5670
|
+
version: string;
|
|
5079
5671
|
contract_range: string | null;
|
|
5080
5672
|
published_at: string | null;
|
|
5081
5673
|
}, {
|
|
5082
5674
|
status: string;
|
|
5083
|
-
version: string;
|
|
5084
5675
|
items: {
|
|
5085
|
-
description: string;
|
|
5086
5676
|
name: string;
|
|
5677
|
+
description: string;
|
|
5087
5678
|
tags: string[];
|
|
5088
5679
|
kind: string;
|
|
5089
5680
|
}[];
|
|
5681
|
+
version: string;
|
|
5090
5682
|
contract_range: string | null;
|
|
5091
5683
|
published_at: string | null;
|
|
5092
5684
|
}>;
|
|
@@ -5151,36 +5743,36 @@ export declare const marketplacePluginDetail: z.ZodObject<{
|
|
|
5151
5743
|
description: z.ZodString;
|
|
5152
5744
|
tags: z.ZodArray<z.ZodString, "many">;
|
|
5153
5745
|
}, "strip", z.ZodTypeAny, {
|
|
5154
|
-
description: string;
|
|
5155
5746
|
name: string;
|
|
5747
|
+
description: string;
|
|
5156
5748
|
tags: string[];
|
|
5157
5749
|
kind: string;
|
|
5158
5750
|
}, {
|
|
5159
|
-
description: string;
|
|
5160
5751
|
name: string;
|
|
5752
|
+
description: string;
|
|
5161
5753
|
tags: string[];
|
|
5162
5754
|
kind: string;
|
|
5163
5755
|
}>, "many">;
|
|
5164
5756
|
}, "strip", z.ZodTypeAny, {
|
|
5165
5757
|
status: string;
|
|
5166
|
-
version: string;
|
|
5167
5758
|
items: {
|
|
5168
|
-
description: string;
|
|
5169
5759
|
name: string;
|
|
5760
|
+
description: string;
|
|
5170
5761
|
tags: string[];
|
|
5171
5762
|
kind: string;
|
|
5172
5763
|
}[];
|
|
5764
|
+
version: string;
|
|
5173
5765
|
contract_range: string | null;
|
|
5174
5766
|
published_at: string | null;
|
|
5175
5767
|
}, {
|
|
5176
5768
|
status: string;
|
|
5177
|
-
version: string;
|
|
5178
5769
|
items: {
|
|
5179
|
-
description: string;
|
|
5180
5770
|
name: string;
|
|
5771
|
+
description: string;
|
|
5181
5772
|
tags: string[];
|
|
5182
5773
|
kind: string;
|
|
5183
5774
|
}[];
|
|
5775
|
+
version: string;
|
|
5184
5776
|
contract_range: string | null;
|
|
5185
5777
|
published_at: string | null;
|
|
5186
5778
|
}>>;
|
|
@@ -5201,11 +5793,17 @@ export declare const marketplacePluginDetail: z.ZodObject<{
|
|
|
5201
5793
|
published_at: string | null;
|
|
5202
5794
|
}>, "many">;
|
|
5203
5795
|
}, "strip", z.ZodTypeAny, {
|
|
5204
|
-
description: string;
|
|
5205
5796
|
name: string;
|
|
5797
|
+
description: string;
|
|
5206
5798
|
tags: string[];
|
|
5207
5799
|
display_name: string | null;
|
|
5208
5800
|
icon_url: string | null;
|
|
5801
|
+
versions: {
|
|
5802
|
+
status: string;
|
|
5803
|
+
version: string;
|
|
5804
|
+
contract_range: string | null;
|
|
5805
|
+
published_at: string | null;
|
|
5806
|
+
}[];
|
|
5209
5807
|
namespace: string;
|
|
5210
5808
|
package: string;
|
|
5211
5809
|
categories: string[];
|
|
@@ -5218,28 +5816,28 @@ export declare const marketplacePluginDetail: z.ZodObject<{
|
|
|
5218
5816
|
repository_url: string | null;
|
|
5219
5817
|
latest: {
|
|
5220
5818
|
status: string;
|
|
5221
|
-
version: string;
|
|
5222
5819
|
items: {
|
|
5223
|
-
description: string;
|
|
5224
5820
|
name: string;
|
|
5821
|
+
description: string;
|
|
5225
5822
|
tags: string[];
|
|
5226
5823
|
kind: string;
|
|
5227
5824
|
}[];
|
|
5825
|
+
version: string;
|
|
5228
5826
|
contract_range: string | null;
|
|
5229
5827
|
published_at: string | null;
|
|
5230
5828
|
} | null;
|
|
5829
|
+
}, {
|
|
5830
|
+
name: string;
|
|
5831
|
+
description: string;
|
|
5832
|
+
tags: string[];
|
|
5833
|
+
display_name: string | null;
|
|
5834
|
+
icon_url: string | null;
|
|
5231
5835
|
versions: {
|
|
5232
5836
|
status: string;
|
|
5233
5837
|
version: string;
|
|
5234
5838
|
contract_range: string | null;
|
|
5235
5839
|
published_at: string | null;
|
|
5236
5840
|
}[];
|
|
5237
|
-
}, {
|
|
5238
|
-
description: string;
|
|
5239
|
-
name: string;
|
|
5240
|
-
tags: string[];
|
|
5241
|
-
display_name: string | null;
|
|
5242
|
-
icon_url: string | null;
|
|
5243
5841
|
namespace: string;
|
|
5244
5842
|
package: string;
|
|
5245
5843
|
categories: string[];
|
|
@@ -5252,22 +5850,16 @@ export declare const marketplacePluginDetail: z.ZodObject<{
|
|
|
5252
5850
|
repository_url: string | null;
|
|
5253
5851
|
latest: {
|
|
5254
5852
|
status: string;
|
|
5255
|
-
version: string;
|
|
5256
5853
|
items: {
|
|
5257
|
-
description: string;
|
|
5258
5854
|
name: string;
|
|
5855
|
+
description: string;
|
|
5259
5856
|
tags: string[];
|
|
5260
5857
|
kind: string;
|
|
5261
5858
|
}[];
|
|
5262
|
-
contract_range: string | null;
|
|
5263
|
-
published_at: string | null;
|
|
5264
|
-
} | null;
|
|
5265
|
-
versions: {
|
|
5266
|
-
status: string;
|
|
5267
5859
|
version: string;
|
|
5268
5860
|
contract_range: string | null;
|
|
5269
5861
|
published_at: string | null;
|
|
5270
|
-
}
|
|
5862
|
+
} | null;
|
|
5271
5863
|
}>;
|
|
5272
5864
|
export type MarketplacePluginDetail = z.infer<typeof marketplacePluginDetail>;
|
|
5273
5865
|
/**
|