@sixb/server 0.0.1 → 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/dist/auth/scope.d.ts +18 -8
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/files/content.d.ts +11 -0
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +2115 -2081
- package/dist/index.js.map +15 -15
- package/dist/routes/action-runs.d.ts.map +1 -1
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +21 -21
- package/dist/routes/auth.d.ts +6 -6
- package/dist/routes/datasets.d.ts +7 -5
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +6 -0
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/objects.d.ts +3 -0
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +24 -24
- package/dist/routes/pipelines.d.ts +4 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +7 -5
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +3 -0
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +61 -62
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/agents.d.ts +84 -84
- package/dist/schemas/auth.d.ts +26 -26
- package/dist/schemas/datasets.d.ts +27 -21
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/events.d.ts +12 -12
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/ontology.d.ts +88 -88
- package/dist/schemas/pipelines.d.ts +36 -0
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +23 -16
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/workflows.d.ts +299 -246
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +8 -5
- package/src/auth/scope.ts +16 -2
- package/src/files/content.ts +11 -0
- package/src/routes/action-runs.ts +10 -3
- package/src/routes/agent-api-gateway.ts +46 -4
- package/src/routes/files.ts +2 -1
- package/src/routes/links.ts +1 -0
- package/src/routes/workflows.ts +39 -16
- package/src/schemas/datasets.ts +3 -2
- package/src/schemas/pipelines.ts +1 -25
- package/src/schemas/syncs.ts +3 -2
- package/src/schemas/workflows.ts +27 -20
- package/src/server.ts +1 -1
package/dist/schemas/agents.d.ts
CHANGED
|
@@ -35,10 +35,10 @@ export declare const AgentPrincipalSchema: z.ZodObject<{
|
|
|
35
35
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
36
36
|
id: z.ZodString;
|
|
37
37
|
}, "strip", z.ZodTypeAny, {
|
|
38
|
-
type: "
|
|
38
|
+
type: "user" | "serviceAccount" | "system";
|
|
39
39
|
id: string;
|
|
40
40
|
}, {
|
|
41
|
-
type: "
|
|
41
|
+
type: "user" | "serviceAccount" | "system";
|
|
42
42
|
id: string;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const AgentObjectContextSchema: z.ZodObject<{
|
|
@@ -393,10 +393,10 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
393
393
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
394
394
|
id: z.ZodString;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
type: "
|
|
396
|
+
type: "user" | "serviceAccount" | "system";
|
|
397
397
|
id: string;
|
|
398
398
|
}, {
|
|
399
|
-
type: "
|
|
399
|
+
type: "user" | "serviceAccount" | "system";
|
|
400
400
|
id: string;
|
|
401
401
|
}>;
|
|
402
402
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -410,7 +410,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
410
410
|
status: "active" | "archived";
|
|
411
411
|
projectId: string;
|
|
412
412
|
ownerPrincipal: {
|
|
413
|
-
type: "
|
|
413
|
+
type: "user" | "serviceAccount" | "system";
|
|
414
414
|
id: string;
|
|
415
415
|
};
|
|
416
416
|
agentId: string;
|
|
@@ -425,7 +425,7 @@ export declare const AgentThreadSchema: z.ZodObject<{
|
|
|
425
425
|
status: "active" | "archived";
|
|
426
426
|
projectId: string;
|
|
427
427
|
ownerPrincipal: {
|
|
428
|
-
type: "
|
|
428
|
+
type: "user" | "serviceAccount" | "system";
|
|
429
429
|
id: string;
|
|
430
430
|
};
|
|
431
431
|
agentId: string;
|
|
@@ -446,10 +446,10 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
446
446
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
447
447
|
id: z.ZodString;
|
|
448
448
|
}, "strip", z.ZodTypeAny, {
|
|
449
|
-
type: "
|
|
449
|
+
type: "user" | "serviceAccount" | "system";
|
|
450
450
|
id: string;
|
|
451
451
|
}, {
|
|
452
|
-
type: "
|
|
452
|
+
type: "user" | "serviceAccount" | "system";
|
|
453
453
|
id: string;
|
|
454
454
|
}>;
|
|
455
455
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -463,7 +463,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
463
463
|
status: "active" | "archived";
|
|
464
464
|
projectId: string;
|
|
465
465
|
ownerPrincipal: {
|
|
466
|
-
type: "
|
|
466
|
+
type: "user" | "serviceAccount" | "system";
|
|
467
467
|
id: string;
|
|
468
468
|
};
|
|
469
469
|
agentId: string;
|
|
@@ -478,7 +478,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
478
478
|
status: "active" | "archived";
|
|
479
479
|
projectId: string;
|
|
480
480
|
ownerPrincipal: {
|
|
481
|
-
type: "
|
|
481
|
+
type: "user" | "serviceAccount" | "system";
|
|
482
482
|
id: string;
|
|
483
483
|
};
|
|
484
484
|
agentId: string;
|
|
@@ -499,7 +499,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
499
499
|
status: "active" | "archived";
|
|
500
500
|
projectId: string;
|
|
501
501
|
ownerPrincipal: {
|
|
502
|
-
type: "
|
|
502
|
+
type: "user" | "serviceAccount" | "system";
|
|
503
503
|
id: string;
|
|
504
504
|
};
|
|
505
505
|
agentId: string;
|
|
@@ -518,7 +518,7 @@ export declare const AgentThreadListResponseSchema: z.ZodObject<{
|
|
|
518
518
|
status: "active" | "archived";
|
|
519
519
|
projectId: string;
|
|
520
520
|
ownerPrincipal: {
|
|
521
|
-
type: "
|
|
521
|
+
type: "user" | "serviceAccount" | "system";
|
|
522
522
|
id: string;
|
|
523
523
|
};
|
|
524
524
|
agentId: string;
|
|
@@ -540,10 +540,10 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
540
540
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
541
541
|
id: z.ZodString;
|
|
542
542
|
}, "strip", z.ZodTypeAny, {
|
|
543
|
-
type: "
|
|
543
|
+
type: "user" | "serviceAccount" | "system";
|
|
544
544
|
id: string;
|
|
545
545
|
}, {
|
|
546
|
-
type: "
|
|
546
|
+
type: "user" | "serviceAccount" | "system";
|
|
547
547
|
id: string;
|
|
548
548
|
}>;
|
|
549
549
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -557,7 +557,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
557
557
|
status: "active" | "archived";
|
|
558
558
|
projectId: string;
|
|
559
559
|
ownerPrincipal: {
|
|
560
|
-
type: "
|
|
560
|
+
type: "user" | "serviceAccount" | "system";
|
|
561
561
|
id: string;
|
|
562
562
|
};
|
|
563
563
|
agentId: string;
|
|
@@ -572,7 +572,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
572
572
|
status: "active" | "archived";
|
|
573
573
|
projectId: string;
|
|
574
574
|
ownerPrincipal: {
|
|
575
|
-
type: "
|
|
575
|
+
type: "user" | "serviceAccount" | "system";
|
|
576
576
|
id: string;
|
|
577
577
|
};
|
|
578
578
|
agentId: string;
|
|
@@ -589,7 +589,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
589
589
|
status: "active" | "archived";
|
|
590
590
|
projectId: string;
|
|
591
591
|
ownerPrincipal: {
|
|
592
|
-
type: "
|
|
592
|
+
type: "user" | "serviceAccount" | "system";
|
|
593
593
|
id: string;
|
|
594
594
|
};
|
|
595
595
|
agentId: string;
|
|
@@ -606,7 +606,7 @@ export declare const CreateAgentThreadResponseSchema: z.ZodObject<{
|
|
|
606
606
|
status: "active" | "archived";
|
|
607
607
|
projectId: string;
|
|
608
608
|
ownerPrincipal: {
|
|
609
|
-
type: "
|
|
609
|
+
type: "user" | "serviceAccount" | "system";
|
|
610
610
|
id: string;
|
|
611
611
|
};
|
|
612
612
|
agentId: string;
|
|
@@ -868,10 +868,10 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
868
868
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
869
869
|
id: z.ZodString;
|
|
870
870
|
}, "strip", z.ZodTypeAny, {
|
|
871
|
-
type: "
|
|
871
|
+
type: "user" | "serviceAccount" | "system";
|
|
872
872
|
id: string;
|
|
873
873
|
}, {
|
|
874
|
-
type: "
|
|
874
|
+
type: "user" | "serviceAccount" | "system";
|
|
875
875
|
id: string;
|
|
876
876
|
}>>;
|
|
877
877
|
seq: z.ZodNumber;
|
|
@@ -1194,7 +1194,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
1194
1194
|
contentVersion: number;
|
|
1195
1195
|
completedAt?: string | undefined;
|
|
1196
1196
|
authorPrincipal?: {
|
|
1197
|
-
type: "
|
|
1197
|
+
type: "user" | "serviceAccount" | "system";
|
|
1198
1198
|
id: string;
|
|
1199
1199
|
} | undefined;
|
|
1200
1200
|
metadata?: import("./common").JsonValue | undefined;
|
|
@@ -1274,7 +1274,7 @@ export declare const AgentMessageSchema: z.ZodObject<{
|
|
|
1274
1274
|
contentVersion: number;
|
|
1275
1275
|
completedAt?: string | undefined;
|
|
1276
1276
|
authorPrincipal?: {
|
|
1277
|
-
type: "
|
|
1277
|
+
type: "user" | "serviceAccount" | "system";
|
|
1278
1278
|
id: string;
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
metadata?: import("./common").JsonValue | undefined;
|
|
@@ -1306,10 +1306,10 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
1306
1306
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1307
1307
|
id: z.ZodString;
|
|
1308
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1309
|
-
type: "
|
|
1309
|
+
type: "user" | "serviceAccount" | "system";
|
|
1310
1310
|
id: string;
|
|
1311
1311
|
}, {
|
|
1312
|
-
type: "
|
|
1312
|
+
type: "user" | "serviceAccount" | "system";
|
|
1313
1313
|
id: string;
|
|
1314
1314
|
}>>;
|
|
1315
1315
|
seq: z.ZodNumber;
|
|
@@ -1632,7 +1632,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
1632
1632
|
contentVersion: number;
|
|
1633
1633
|
completedAt?: string | undefined;
|
|
1634
1634
|
authorPrincipal?: {
|
|
1635
|
-
type: "
|
|
1635
|
+
type: "user" | "serviceAccount" | "system";
|
|
1636
1636
|
id: string;
|
|
1637
1637
|
} | undefined;
|
|
1638
1638
|
metadata?: import("./common").JsonValue | undefined;
|
|
@@ -1712,7 +1712,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
1712
1712
|
contentVersion: number;
|
|
1713
1713
|
completedAt?: string | undefined;
|
|
1714
1714
|
authorPrincipal?: {
|
|
1715
|
-
type: "
|
|
1715
|
+
type: "user" | "serviceAccount" | "system";
|
|
1716
1716
|
id: string;
|
|
1717
1717
|
} | undefined;
|
|
1718
1718
|
metadata?: import("./common").JsonValue | undefined;
|
|
@@ -1798,7 +1798,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
1798
1798
|
contentVersion: number;
|
|
1799
1799
|
completedAt?: string | undefined;
|
|
1800
1800
|
authorPrincipal?: {
|
|
1801
|
-
type: "
|
|
1801
|
+
type: "user" | "serviceAccount" | "system";
|
|
1802
1802
|
id: string;
|
|
1803
1803
|
} | undefined;
|
|
1804
1804
|
metadata?: import("./common").JsonValue | undefined;
|
|
@@ -1882,7 +1882,7 @@ export declare const AgentMessageListResponseSchema: z.ZodObject<{
|
|
|
1882
1882
|
contentVersion: number;
|
|
1883
1883
|
completedAt?: string | undefined;
|
|
1884
1884
|
authorPrincipal?: {
|
|
1885
|
-
type: "
|
|
1885
|
+
type: "user" | "serviceAccount" | "system";
|
|
1886
1886
|
id: string;
|
|
1887
1887
|
} | undefined;
|
|
1888
1888
|
metadata?: import("./common").JsonValue | undefined;
|
|
@@ -2082,20 +2082,20 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
2082
2082
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2083
2083
|
id: z.ZodString;
|
|
2084
2084
|
}, "strip", z.ZodTypeAny, {
|
|
2085
|
-
type: "
|
|
2085
|
+
type: "user" | "serviceAccount" | "system";
|
|
2086
2086
|
id: string;
|
|
2087
2087
|
}, {
|
|
2088
|
-
type: "
|
|
2088
|
+
type: "user" | "serviceAccount" | "system";
|
|
2089
2089
|
id: string;
|
|
2090
2090
|
}>;
|
|
2091
2091
|
executionPrincipal: z.ZodOptional<z.ZodObject<{
|
|
2092
2092
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2093
2093
|
id: z.ZodString;
|
|
2094
2094
|
}, "strip", z.ZodTypeAny, {
|
|
2095
|
-
type: "
|
|
2095
|
+
type: "user" | "serviceAccount" | "system";
|
|
2096
2096
|
id: string;
|
|
2097
2097
|
}, {
|
|
2098
|
-
type: "
|
|
2098
|
+
type: "user" | "serviceAccount" | "system";
|
|
2099
2099
|
id: string;
|
|
2100
2100
|
}>>;
|
|
2101
2101
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -2154,7 +2154,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
2154
2154
|
createdAt: string;
|
|
2155
2155
|
triggerMessageId: string;
|
|
2156
2156
|
requestedByPrincipal: {
|
|
2157
|
-
type: "
|
|
2157
|
+
type: "user" | "serviceAccount" | "system";
|
|
2158
2158
|
id: string;
|
|
2159
2159
|
};
|
|
2160
2160
|
attempt: number;
|
|
@@ -2163,7 +2163,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
2163
2163
|
startedAt?: string | undefined;
|
|
2164
2164
|
completedAt?: string | undefined;
|
|
2165
2165
|
executionPrincipal?: {
|
|
2166
|
-
type: "
|
|
2166
|
+
type: "user" | "serviceAccount" | "system";
|
|
2167
2167
|
id: string;
|
|
2168
2168
|
} | undefined;
|
|
2169
2169
|
modelId?: string | undefined;
|
|
@@ -2191,7 +2191,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
2191
2191
|
createdAt: string;
|
|
2192
2192
|
triggerMessageId: string;
|
|
2193
2193
|
requestedByPrincipal: {
|
|
2194
|
-
type: "
|
|
2194
|
+
type: "user" | "serviceAccount" | "system";
|
|
2195
2195
|
id: string;
|
|
2196
2196
|
};
|
|
2197
2197
|
attempt: number;
|
|
@@ -2200,7 +2200,7 @@ export declare const AgentRunSchema: z.ZodObject<{
|
|
|
2200
2200
|
startedAt?: string | undefined;
|
|
2201
2201
|
completedAt?: string | undefined;
|
|
2202
2202
|
executionPrincipal?: {
|
|
2203
|
-
type: "
|
|
2203
|
+
type: "user" | "serviceAccount" | "system";
|
|
2204
2204
|
id: string;
|
|
2205
2205
|
} | undefined;
|
|
2206
2206
|
modelId?: string | undefined;
|
|
@@ -2231,20 +2231,20 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2231
2231
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2232
2232
|
id: z.ZodString;
|
|
2233
2233
|
}, "strip", z.ZodTypeAny, {
|
|
2234
|
-
type: "
|
|
2234
|
+
type: "user" | "serviceAccount" | "system";
|
|
2235
2235
|
id: string;
|
|
2236
2236
|
}, {
|
|
2237
|
-
type: "
|
|
2237
|
+
type: "user" | "serviceAccount" | "system";
|
|
2238
2238
|
id: string;
|
|
2239
2239
|
}>;
|
|
2240
2240
|
executionPrincipal: z.ZodOptional<z.ZodObject<{
|
|
2241
2241
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2242
2242
|
id: z.ZodString;
|
|
2243
2243
|
}, "strip", z.ZodTypeAny, {
|
|
2244
|
-
type: "
|
|
2244
|
+
type: "user" | "serviceAccount" | "system";
|
|
2245
2245
|
id: string;
|
|
2246
2246
|
}, {
|
|
2247
|
-
type: "
|
|
2247
|
+
type: "user" | "serviceAccount" | "system";
|
|
2248
2248
|
id: string;
|
|
2249
2249
|
}>>;
|
|
2250
2250
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -2303,7 +2303,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2303
2303
|
createdAt: string;
|
|
2304
2304
|
triggerMessageId: string;
|
|
2305
2305
|
requestedByPrincipal: {
|
|
2306
|
-
type: "
|
|
2306
|
+
type: "user" | "serviceAccount" | "system";
|
|
2307
2307
|
id: string;
|
|
2308
2308
|
};
|
|
2309
2309
|
attempt: number;
|
|
@@ -2312,7 +2312,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2312
2312
|
startedAt?: string | undefined;
|
|
2313
2313
|
completedAt?: string | undefined;
|
|
2314
2314
|
executionPrincipal?: {
|
|
2315
|
-
type: "
|
|
2315
|
+
type: "user" | "serviceAccount" | "system";
|
|
2316
2316
|
id: string;
|
|
2317
2317
|
} | undefined;
|
|
2318
2318
|
modelId?: string | undefined;
|
|
@@ -2340,7 +2340,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2340
2340
|
createdAt: string;
|
|
2341
2341
|
triggerMessageId: string;
|
|
2342
2342
|
requestedByPrincipal: {
|
|
2343
|
-
type: "
|
|
2343
|
+
type: "user" | "serviceAccount" | "system";
|
|
2344
2344
|
id: string;
|
|
2345
2345
|
};
|
|
2346
2346
|
attempt: number;
|
|
@@ -2349,7 +2349,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2349
2349
|
startedAt?: string | undefined;
|
|
2350
2350
|
completedAt?: string | undefined;
|
|
2351
2351
|
executionPrincipal?: {
|
|
2352
|
-
type: "
|
|
2352
|
+
type: "user" | "serviceAccount" | "system";
|
|
2353
2353
|
id: string;
|
|
2354
2354
|
} | undefined;
|
|
2355
2355
|
modelId?: string | undefined;
|
|
@@ -2379,7 +2379,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2379
2379
|
createdAt: string;
|
|
2380
2380
|
triggerMessageId: string;
|
|
2381
2381
|
requestedByPrincipal: {
|
|
2382
|
-
type: "
|
|
2382
|
+
type: "user" | "serviceAccount" | "system";
|
|
2383
2383
|
id: string;
|
|
2384
2384
|
};
|
|
2385
2385
|
attempt: number;
|
|
@@ -2388,7 +2388,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2388
2388
|
startedAt?: string | undefined;
|
|
2389
2389
|
completedAt?: string | undefined;
|
|
2390
2390
|
executionPrincipal?: {
|
|
2391
|
-
type: "
|
|
2391
|
+
type: "user" | "serviceAccount" | "system";
|
|
2392
2392
|
id: string;
|
|
2393
2393
|
} | undefined;
|
|
2394
2394
|
modelId?: string | undefined;
|
|
@@ -2418,7 +2418,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2418
2418
|
createdAt: string;
|
|
2419
2419
|
triggerMessageId: string;
|
|
2420
2420
|
requestedByPrincipal: {
|
|
2421
|
-
type: "
|
|
2421
|
+
type: "user" | "serviceAccount" | "system";
|
|
2422
2422
|
id: string;
|
|
2423
2423
|
};
|
|
2424
2424
|
attempt: number;
|
|
@@ -2427,7 +2427,7 @@ export declare const PostAgentMessageResponseSchema: z.ZodObject<{
|
|
|
2427
2427
|
startedAt?: string | undefined;
|
|
2428
2428
|
completedAt?: string | undefined;
|
|
2429
2429
|
executionPrincipal?: {
|
|
2430
|
-
type: "
|
|
2430
|
+
type: "user" | "serviceAccount" | "system";
|
|
2431
2431
|
id: string;
|
|
2432
2432
|
} | undefined;
|
|
2433
2433
|
modelId?: string | undefined;
|
|
@@ -2459,20 +2459,20 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2459
2459
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2460
2460
|
id: z.ZodString;
|
|
2461
2461
|
}, "strip", z.ZodTypeAny, {
|
|
2462
|
-
type: "
|
|
2462
|
+
type: "user" | "serviceAccount" | "system";
|
|
2463
2463
|
id: string;
|
|
2464
2464
|
}, {
|
|
2465
|
-
type: "
|
|
2465
|
+
type: "user" | "serviceAccount" | "system";
|
|
2466
2466
|
id: string;
|
|
2467
2467
|
}>;
|
|
2468
2468
|
executionPrincipal: z.ZodOptional<z.ZodObject<{
|
|
2469
2469
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2470
2470
|
id: z.ZodString;
|
|
2471
2471
|
}, "strip", z.ZodTypeAny, {
|
|
2472
|
-
type: "
|
|
2472
|
+
type: "user" | "serviceAccount" | "system";
|
|
2473
2473
|
id: string;
|
|
2474
2474
|
}, {
|
|
2475
|
-
type: "
|
|
2475
|
+
type: "user" | "serviceAccount" | "system";
|
|
2476
2476
|
id: string;
|
|
2477
2477
|
}>>;
|
|
2478
2478
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -2531,7 +2531,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2531
2531
|
createdAt: string;
|
|
2532
2532
|
triggerMessageId: string;
|
|
2533
2533
|
requestedByPrincipal: {
|
|
2534
|
-
type: "
|
|
2534
|
+
type: "user" | "serviceAccount" | "system";
|
|
2535
2535
|
id: string;
|
|
2536
2536
|
};
|
|
2537
2537
|
attempt: number;
|
|
@@ -2540,7 +2540,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2540
2540
|
startedAt?: string | undefined;
|
|
2541
2541
|
completedAt?: string | undefined;
|
|
2542
2542
|
executionPrincipal?: {
|
|
2543
|
-
type: "
|
|
2543
|
+
type: "user" | "serviceAccount" | "system";
|
|
2544
2544
|
id: string;
|
|
2545
2545
|
} | undefined;
|
|
2546
2546
|
modelId?: string | undefined;
|
|
@@ -2568,7 +2568,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2568
2568
|
createdAt: string;
|
|
2569
2569
|
triggerMessageId: string;
|
|
2570
2570
|
requestedByPrincipal: {
|
|
2571
|
-
type: "
|
|
2571
|
+
type: "user" | "serviceAccount" | "system";
|
|
2572
2572
|
id: string;
|
|
2573
2573
|
};
|
|
2574
2574
|
attempt: number;
|
|
@@ -2577,7 +2577,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2577
2577
|
startedAt?: string | undefined;
|
|
2578
2578
|
completedAt?: string | undefined;
|
|
2579
2579
|
executionPrincipal?: {
|
|
2580
|
-
type: "
|
|
2580
|
+
type: "user" | "serviceAccount" | "system";
|
|
2581
2581
|
id: string;
|
|
2582
2582
|
} | undefined;
|
|
2583
2583
|
modelId?: string | undefined;
|
|
@@ -2607,7 +2607,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2607
2607
|
createdAt: string;
|
|
2608
2608
|
triggerMessageId: string;
|
|
2609
2609
|
requestedByPrincipal: {
|
|
2610
|
-
type: "
|
|
2610
|
+
type: "user" | "serviceAccount" | "system";
|
|
2611
2611
|
id: string;
|
|
2612
2612
|
};
|
|
2613
2613
|
attempt: number;
|
|
@@ -2616,7 +2616,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2616
2616
|
startedAt?: string | undefined;
|
|
2617
2617
|
completedAt?: string | undefined;
|
|
2618
2618
|
executionPrincipal?: {
|
|
2619
|
-
type: "
|
|
2619
|
+
type: "user" | "serviceAccount" | "system";
|
|
2620
2620
|
id: string;
|
|
2621
2621
|
} | undefined;
|
|
2622
2622
|
modelId?: string | undefined;
|
|
@@ -2646,7 +2646,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2646
2646
|
createdAt: string;
|
|
2647
2647
|
triggerMessageId: string;
|
|
2648
2648
|
requestedByPrincipal: {
|
|
2649
|
-
type: "
|
|
2649
|
+
type: "user" | "serviceAccount" | "system";
|
|
2650
2650
|
id: string;
|
|
2651
2651
|
};
|
|
2652
2652
|
attempt: number;
|
|
@@ -2655,7 +2655,7 @@ export declare const CancelAgentRunResponseSchema: z.ZodObject<{
|
|
|
2655
2655
|
startedAt?: string | undefined;
|
|
2656
2656
|
completedAt?: string | undefined;
|
|
2657
2657
|
executionPrincipal?: {
|
|
2658
|
-
type: "
|
|
2658
|
+
type: "user" | "serviceAccount" | "system";
|
|
2659
2659
|
id: string;
|
|
2660
2660
|
} | undefined;
|
|
2661
2661
|
modelId?: string | undefined;
|
|
@@ -2687,20 +2687,20 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2687
2687
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2688
2688
|
id: z.ZodString;
|
|
2689
2689
|
}, "strip", z.ZodTypeAny, {
|
|
2690
|
-
type: "
|
|
2690
|
+
type: "user" | "serviceAccount" | "system";
|
|
2691
2691
|
id: string;
|
|
2692
2692
|
}, {
|
|
2693
|
-
type: "
|
|
2693
|
+
type: "user" | "serviceAccount" | "system";
|
|
2694
2694
|
id: string;
|
|
2695
2695
|
}>;
|
|
2696
2696
|
executionPrincipal: z.ZodOptional<z.ZodObject<{
|
|
2697
2697
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2698
2698
|
id: z.ZodString;
|
|
2699
2699
|
}, "strip", z.ZodTypeAny, {
|
|
2700
|
-
type: "
|
|
2700
|
+
type: "user" | "serviceAccount" | "system";
|
|
2701
2701
|
id: string;
|
|
2702
2702
|
}, {
|
|
2703
|
-
type: "
|
|
2703
|
+
type: "user" | "serviceAccount" | "system";
|
|
2704
2704
|
id: string;
|
|
2705
2705
|
}>>;
|
|
2706
2706
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -2759,7 +2759,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2759
2759
|
createdAt: string;
|
|
2760
2760
|
triggerMessageId: string;
|
|
2761
2761
|
requestedByPrincipal: {
|
|
2762
|
-
type: "
|
|
2762
|
+
type: "user" | "serviceAccount" | "system";
|
|
2763
2763
|
id: string;
|
|
2764
2764
|
};
|
|
2765
2765
|
attempt: number;
|
|
@@ -2768,7 +2768,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2768
2768
|
startedAt?: string | undefined;
|
|
2769
2769
|
completedAt?: string | undefined;
|
|
2770
2770
|
executionPrincipal?: {
|
|
2771
|
-
type: "
|
|
2771
|
+
type: "user" | "serviceAccount" | "system";
|
|
2772
2772
|
id: string;
|
|
2773
2773
|
} | undefined;
|
|
2774
2774
|
modelId?: string | undefined;
|
|
@@ -2796,7 +2796,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2796
2796
|
createdAt: string;
|
|
2797
2797
|
triggerMessageId: string;
|
|
2798
2798
|
requestedByPrincipal: {
|
|
2799
|
-
type: "
|
|
2799
|
+
type: "user" | "serviceAccount" | "system";
|
|
2800
2800
|
id: string;
|
|
2801
2801
|
};
|
|
2802
2802
|
attempt: number;
|
|
@@ -2805,7 +2805,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2805
2805
|
startedAt?: string | undefined;
|
|
2806
2806
|
completedAt?: string | undefined;
|
|
2807
2807
|
executionPrincipal?: {
|
|
2808
|
-
type: "
|
|
2808
|
+
type: "user" | "serviceAccount" | "system";
|
|
2809
2809
|
id: string;
|
|
2810
2810
|
} | undefined;
|
|
2811
2811
|
modelId?: string | undefined;
|
|
@@ -2835,7 +2835,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2835
2835
|
createdAt: string;
|
|
2836
2836
|
triggerMessageId: string;
|
|
2837
2837
|
requestedByPrincipal: {
|
|
2838
|
-
type: "
|
|
2838
|
+
type: "user" | "serviceAccount" | "system";
|
|
2839
2839
|
id: string;
|
|
2840
2840
|
};
|
|
2841
2841
|
attempt: number;
|
|
@@ -2844,7 +2844,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2844
2844
|
startedAt?: string | undefined;
|
|
2845
2845
|
completedAt?: string | undefined;
|
|
2846
2846
|
executionPrincipal?: {
|
|
2847
|
-
type: "
|
|
2847
|
+
type: "user" | "serviceAccount" | "system";
|
|
2848
2848
|
id: string;
|
|
2849
2849
|
} | undefined;
|
|
2850
2850
|
modelId?: string | undefined;
|
|
@@ -2874,7 +2874,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2874
2874
|
createdAt: string;
|
|
2875
2875
|
triggerMessageId: string;
|
|
2876
2876
|
requestedByPrincipal: {
|
|
2877
|
-
type: "
|
|
2877
|
+
type: "user" | "serviceAccount" | "system";
|
|
2878
2878
|
id: string;
|
|
2879
2879
|
};
|
|
2880
2880
|
attempt: number;
|
|
@@ -2883,7 +2883,7 @@ export declare const RetryAgentRunResponseSchema: z.ZodObject<{
|
|
|
2883
2883
|
startedAt?: string | undefined;
|
|
2884
2884
|
completedAt?: string | undefined;
|
|
2885
2885
|
executionPrincipal?: {
|
|
2886
|
-
type: "
|
|
2886
|
+
type: "user" | "serviceAccount" | "system";
|
|
2887
2887
|
id: string;
|
|
2888
2888
|
} | undefined;
|
|
2889
2889
|
modelId?: string | undefined;
|
|
@@ -2931,20 +2931,20 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
2931
2931
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2932
2932
|
id: z.ZodString;
|
|
2933
2933
|
}, "strip", z.ZodTypeAny, {
|
|
2934
|
-
type: "
|
|
2934
|
+
type: "user" | "serviceAccount" | "system";
|
|
2935
2935
|
id: string;
|
|
2936
2936
|
}, {
|
|
2937
|
-
type: "
|
|
2937
|
+
type: "user" | "serviceAccount" | "system";
|
|
2938
2938
|
id: string;
|
|
2939
2939
|
}>;
|
|
2940
2940
|
executionPrincipal: z.ZodOptional<z.ZodObject<{
|
|
2941
2941
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
2942
2942
|
id: z.ZodString;
|
|
2943
2943
|
}, "strip", z.ZodTypeAny, {
|
|
2944
|
-
type: "
|
|
2944
|
+
type: "user" | "serviceAccount" | "system";
|
|
2945
2945
|
id: string;
|
|
2946
2946
|
}, {
|
|
2947
|
-
type: "
|
|
2947
|
+
type: "user" | "serviceAccount" | "system";
|
|
2948
2948
|
id: string;
|
|
2949
2949
|
}>>;
|
|
2950
2950
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
@@ -3003,7 +3003,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3003
3003
|
createdAt: string;
|
|
3004
3004
|
triggerMessageId: string;
|
|
3005
3005
|
requestedByPrincipal: {
|
|
3006
|
-
type: "
|
|
3006
|
+
type: "user" | "serviceAccount" | "system";
|
|
3007
3007
|
id: string;
|
|
3008
3008
|
};
|
|
3009
3009
|
attempt: number;
|
|
@@ -3012,7 +3012,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3012
3012
|
startedAt?: string | undefined;
|
|
3013
3013
|
completedAt?: string | undefined;
|
|
3014
3014
|
executionPrincipal?: {
|
|
3015
|
-
type: "
|
|
3015
|
+
type: "user" | "serviceAccount" | "system";
|
|
3016
3016
|
id: string;
|
|
3017
3017
|
} | undefined;
|
|
3018
3018
|
modelId?: string | undefined;
|
|
@@ -3040,7 +3040,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3040
3040
|
createdAt: string;
|
|
3041
3041
|
triggerMessageId: string;
|
|
3042
3042
|
requestedByPrincipal: {
|
|
3043
|
-
type: "
|
|
3043
|
+
type: "user" | "serviceAccount" | "system";
|
|
3044
3044
|
id: string;
|
|
3045
3045
|
};
|
|
3046
3046
|
attempt: number;
|
|
@@ -3049,7 +3049,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3049
3049
|
startedAt?: string | undefined;
|
|
3050
3050
|
completedAt?: string | undefined;
|
|
3051
3051
|
executionPrincipal?: {
|
|
3052
|
-
type: "
|
|
3052
|
+
type: "user" | "serviceAccount" | "system";
|
|
3053
3053
|
id: string;
|
|
3054
3054
|
} | undefined;
|
|
3055
3055
|
modelId?: string | undefined;
|
|
@@ -3081,7 +3081,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3081
3081
|
createdAt: string;
|
|
3082
3082
|
triggerMessageId: string;
|
|
3083
3083
|
requestedByPrincipal: {
|
|
3084
|
-
type: "
|
|
3084
|
+
type: "user" | "serviceAccount" | "system";
|
|
3085
3085
|
id: string;
|
|
3086
3086
|
};
|
|
3087
3087
|
attempt: number;
|
|
@@ -3090,7 +3090,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3090
3090
|
startedAt?: string | undefined;
|
|
3091
3091
|
completedAt?: string | undefined;
|
|
3092
3092
|
executionPrincipal?: {
|
|
3093
|
-
type: "
|
|
3093
|
+
type: "user" | "serviceAccount" | "system";
|
|
3094
3094
|
id: string;
|
|
3095
3095
|
} | undefined;
|
|
3096
3096
|
modelId?: string | undefined;
|
|
@@ -3122,7 +3122,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3122
3122
|
createdAt: string;
|
|
3123
3123
|
triggerMessageId: string;
|
|
3124
3124
|
requestedByPrincipal: {
|
|
3125
|
-
type: "
|
|
3125
|
+
type: "user" | "serviceAccount" | "system";
|
|
3126
3126
|
id: string;
|
|
3127
3127
|
};
|
|
3128
3128
|
attempt: number;
|
|
@@ -3131,7 +3131,7 @@ export declare const AgentRunListResponseSchema: z.ZodObject<{
|
|
|
3131
3131
|
startedAt?: string | undefined;
|
|
3132
3132
|
completedAt?: string | undefined;
|
|
3133
3133
|
executionPrincipal?: {
|
|
3134
|
-
type: "
|
|
3134
|
+
type: "user" | "serviceAccount" | "system";
|
|
3135
3135
|
id: string;
|
|
3136
3136
|
} | undefined;
|
|
3137
3137
|
modelId?: string | undefined;
|