@sixb/server 0.1.21 → 0.1.22
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/artifacts/frame.d.ts +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +999 -80
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +118 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +701 -186
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +9 -10
- package/src/utils/http.ts +2 -0
|
@@ -84,14 +84,17 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
84
84
|
name: z.ZodString;
|
|
85
85
|
rows: z.ZodNumber;
|
|
86
86
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
87
|
+
query: z.ZodOptional<z.ZodString>;
|
|
87
88
|
}, "strip", z.ZodTypeAny, {
|
|
88
89
|
name: string;
|
|
89
90
|
rows: number;
|
|
90
91
|
columns: string[];
|
|
92
|
+
query?: string | undefined;
|
|
91
93
|
}, {
|
|
92
94
|
name: string;
|
|
93
95
|
rows: number;
|
|
94
96
|
columns: string[];
|
|
97
|
+
query?: string | undefined;
|
|
95
98
|
}>, "many">;
|
|
96
99
|
charts: z.ZodArray<z.ZodString, "many">;
|
|
97
100
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -100,6 +103,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
100
103
|
name: string;
|
|
101
104
|
rows: number;
|
|
102
105
|
columns: string[];
|
|
106
|
+
query?: string | undefined;
|
|
103
107
|
}[];
|
|
104
108
|
charts: string[];
|
|
105
109
|
}, {
|
|
@@ -108,6 +112,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
108
112
|
name: string;
|
|
109
113
|
rows: number;
|
|
110
114
|
columns: string[];
|
|
115
|
+
query?: string | undefined;
|
|
111
116
|
}[];
|
|
112
117
|
charts: string[];
|
|
113
118
|
}>, z.ZodObject<{
|
|
@@ -129,6 +134,79 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
129
134
|
slides: {
|
|
130
135
|
title?: string | undefined;
|
|
131
136
|
}[];
|
|
137
|
+
}>, z.ZodObject<{
|
|
138
|
+
kind: z.ZodLiteral<"page">;
|
|
139
|
+
title: z.ZodOptional<z.ZodString>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
kind: "page";
|
|
142
|
+
title?: string | undefined;
|
|
143
|
+
}, {
|
|
144
|
+
kind: "page";
|
|
145
|
+
title?: string | undefined;
|
|
146
|
+
}>, z.ZodObject<{
|
|
147
|
+
kind: z.ZodLiteral<"canvas">;
|
|
148
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
149
|
+
id: z.ZodString;
|
|
150
|
+
type: z.ZodLiteral<"board">;
|
|
151
|
+
title: z.ZodOptional<z.ZodString>;
|
|
152
|
+
file: z.ZodString;
|
|
153
|
+
w: z.ZodNumber;
|
|
154
|
+
h: z.ZodNumber;
|
|
155
|
+
}, "strip", z.ZodTypeAny, {
|
|
156
|
+
id: string;
|
|
157
|
+
type: "board";
|
|
158
|
+
file: string;
|
|
159
|
+
w: number;
|
|
160
|
+
h: number;
|
|
161
|
+
title?: string | undefined;
|
|
162
|
+
}, {
|
|
163
|
+
id: string;
|
|
164
|
+
type: "board";
|
|
165
|
+
file: string;
|
|
166
|
+
w: number;
|
|
167
|
+
h: number;
|
|
168
|
+
title?: string | undefined;
|
|
169
|
+
}>, z.ZodObject<{
|
|
170
|
+
id: z.ZodString;
|
|
171
|
+
type: z.ZodLiteral<"section">;
|
|
172
|
+
title: z.ZodOptional<z.ZodString>;
|
|
173
|
+
}, "strip", z.ZodTypeAny, {
|
|
174
|
+
id: string;
|
|
175
|
+
type: "section";
|
|
176
|
+
title?: string | undefined;
|
|
177
|
+
}, {
|
|
178
|
+
id: string;
|
|
179
|
+
type: "section";
|
|
180
|
+
title?: string | undefined;
|
|
181
|
+
}>]>, "many">;
|
|
182
|
+
}, "strip", z.ZodTypeAny, {
|
|
183
|
+
kind: "canvas";
|
|
184
|
+
items: ({
|
|
185
|
+
id: string;
|
|
186
|
+
type: "board";
|
|
187
|
+
file: string;
|
|
188
|
+
w: number;
|
|
189
|
+
h: number;
|
|
190
|
+
title?: string | undefined;
|
|
191
|
+
} | {
|
|
192
|
+
id: string;
|
|
193
|
+
type: "section";
|
|
194
|
+
title?: string | undefined;
|
|
195
|
+
})[];
|
|
196
|
+
}, {
|
|
197
|
+
kind: "canvas";
|
|
198
|
+
items: ({
|
|
199
|
+
id: string;
|
|
200
|
+
type: "board";
|
|
201
|
+
file: string;
|
|
202
|
+
w: number;
|
|
203
|
+
h: number;
|
|
204
|
+
title?: string | undefined;
|
|
205
|
+
} | {
|
|
206
|
+
id: string;
|
|
207
|
+
type: "section";
|
|
208
|
+
title?: string | undefined;
|
|
209
|
+
})[];
|
|
132
210
|
}>, z.ZodObject<{
|
|
133
211
|
kind: z.ZodLiteral<"file">;
|
|
134
212
|
mediaType: z.ZodString;
|
|
@@ -147,12 +225,12 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
147
225
|
}, "strip", z.ZodTypeAny, {
|
|
148
226
|
at: string;
|
|
149
227
|
address: string;
|
|
150
|
-
as: "
|
|
228
|
+
as: "link" | "embed";
|
|
151
229
|
resolvedVersion: number;
|
|
152
230
|
}, {
|
|
153
231
|
at: string;
|
|
154
232
|
address: string;
|
|
155
|
-
as: "
|
|
233
|
+
as: "link" | "embed";
|
|
156
234
|
resolvedVersion: number;
|
|
157
235
|
}>, "many">;
|
|
158
236
|
author: z.ZodObject<{
|
|
@@ -177,6 +255,9 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
177
255
|
}>>;
|
|
178
256
|
createdAt: z.ZodString;
|
|
179
257
|
}, "strip", z.ZodTypeAny, {
|
|
258
|
+
title: string;
|
|
259
|
+
version: number;
|
|
260
|
+
createdAt: string;
|
|
180
261
|
files: {
|
|
181
262
|
path: string;
|
|
182
263
|
file: {
|
|
@@ -188,9 +269,10 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
188
269
|
logicalPath?: string | undefined;
|
|
189
270
|
};
|
|
190
271
|
}[];
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
272
|
+
author: {
|
|
273
|
+
id: string;
|
|
274
|
+
type: "user" | "serviceAccount" | "system";
|
|
275
|
+
};
|
|
194
276
|
artifactId: string;
|
|
195
277
|
entry: string;
|
|
196
278
|
outline: {
|
|
@@ -206,6 +288,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
206
288
|
name: string;
|
|
207
289
|
rows: number;
|
|
208
290
|
columns: string[];
|
|
291
|
+
query?: string | undefined;
|
|
209
292
|
}[];
|
|
210
293
|
charts: string[];
|
|
211
294
|
} | {
|
|
@@ -213,6 +296,23 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
213
296
|
slides: {
|
|
214
297
|
title?: string | undefined;
|
|
215
298
|
}[];
|
|
299
|
+
} | {
|
|
300
|
+
kind: "page";
|
|
301
|
+
title?: string | undefined;
|
|
302
|
+
} | {
|
|
303
|
+
kind: "canvas";
|
|
304
|
+
items: ({
|
|
305
|
+
id: string;
|
|
306
|
+
type: "board";
|
|
307
|
+
file: string;
|
|
308
|
+
w: number;
|
|
309
|
+
h: number;
|
|
310
|
+
title?: string | undefined;
|
|
311
|
+
} | {
|
|
312
|
+
id: string;
|
|
313
|
+
type: "section";
|
|
314
|
+
title?: string | undefined;
|
|
315
|
+
})[];
|
|
216
316
|
} | {
|
|
217
317
|
kind: "file";
|
|
218
318
|
mediaType: string;
|
|
@@ -220,18 +320,17 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
220
320
|
references: {
|
|
221
321
|
at: string;
|
|
222
322
|
address: string;
|
|
223
|
-
as: "
|
|
323
|
+
as: "link" | "embed";
|
|
224
324
|
resolvedVersion: number;
|
|
225
325
|
}[];
|
|
226
|
-
author: {
|
|
227
|
-
id: string;
|
|
228
|
-
type: "user" | "serviceAccount" | "system";
|
|
229
|
-
};
|
|
230
326
|
origin?: {
|
|
231
327
|
runId: string;
|
|
232
328
|
threadId: string;
|
|
233
329
|
} | undefined;
|
|
234
330
|
}, {
|
|
331
|
+
title: string;
|
|
332
|
+
version: number;
|
|
333
|
+
createdAt: string;
|
|
235
334
|
files: {
|
|
236
335
|
path: string;
|
|
237
336
|
file: {
|
|
@@ -243,9 +342,10 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
243
342
|
logicalPath?: string | undefined;
|
|
244
343
|
};
|
|
245
344
|
}[];
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
345
|
+
author: {
|
|
346
|
+
id: string;
|
|
347
|
+
type: "user" | "serviceAccount" | "system";
|
|
348
|
+
};
|
|
249
349
|
artifactId: string;
|
|
250
350
|
entry: string;
|
|
251
351
|
outline: {
|
|
@@ -261,6 +361,7 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
261
361
|
name: string;
|
|
262
362
|
rows: number;
|
|
263
363
|
columns: string[];
|
|
364
|
+
query?: string | undefined;
|
|
264
365
|
}[];
|
|
265
366
|
charts: string[];
|
|
266
367
|
} | {
|
|
@@ -268,6 +369,23 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
268
369
|
slides: {
|
|
269
370
|
title?: string | undefined;
|
|
270
371
|
}[];
|
|
372
|
+
} | {
|
|
373
|
+
kind: "page";
|
|
374
|
+
title?: string | undefined;
|
|
375
|
+
} | {
|
|
376
|
+
kind: "canvas";
|
|
377
|
+
items: ({
|
|
378
|
+
id: string;
|
|
379
|
+
type: "board";
|
|
380
|
+
file: string;
|
|
381
|
+
w: number;
|
|
382
|
+
h: number;
|
|
383
|
+
title?: string | undefined;
|
|
384
|
+
} | {
|
|
385
|
+
id: string;
|
|
386
|
+
type: "section";
|
|
387
|
+
title?: string | undefined;
|
|
388
|
+
})[];
|
|
271
389
|
} | {
|
|
272
390
|
kind: "file";
|
|
273
391
|
mediaType: string;
|
|
@@ -275,13 +393,9 @@ export declare const ArtifactVersionSchema: z.ZodObject<{
|
|
|
275
393
|
references: {
|
|
276
394
|
at: string;
|
|
277
395
|
address: string;
|
|
278
|
-
as: "
|
|
396
|
+
as: "link" | "embed";
|
|
279
397
|
resolvedVersion: number;
|
|
280
398
|
}[];
|
|
281
|
-
author: {
|
|
282
|
-
id: string;
|
|
283
|
-
type: "user" | "serviceAccount" | "system";
|
|
284
|
-
};
|
|
285
399
|
origin?: {
|
|
286
400
|
runId: string;
|
|
287
401
|
threadId: string;
|
|
@@ -305,18 +419,33 @@ export declare const ArtifactVersionParamsSchema: z.ZodObject<{
|
|
|
305
419
|
version: string;
|
|
306
420
|
artifactId: string;
|
|
307
421
|
}>;
|
|
422
|
+
export declare const ArtifactQueryParamsSchema: z.ZodObject<{
|
|
423
|
+
artifactId: z.ZodString;
|
|
424
|
+
} & {
|
|
425
|
+
version: z.ZodString;
|
|
426
|
+
} & {
|
|
427
|
+
name: z.ZodString;
|
|
428
|
+
}, "strip", z.ZodTypeAny, {
|
|
429
|
+
name: string;
|
|
430
|
+
version: string;
|
|
431
|
+
artifactId: string;
|
|
432
|
+
}, {
|
|
433
|
+
name: string;
|
|
434
|
+
version: string;
|
|
435
|
+
artifactId: string;
|
|
436
|
+
}>;
|
|
308
437
|
export declare const ArtifactListQuerySchema: z.ZodObject<{
|
|
309
438
|
thread: z.ZodOptional<z.ZodString>;
|
|
310
|
-
kind: z.ZodOptional<z.ZodEnum<["document", "sheet", "slides", "file"]>>;
|
|
439
|
+
kind: z.ZodOptional<z.ZodEnum<["document", "sheet", "slides", "page", "canvas", "file"]>>;
|
|
311
440
|
limit: z.ZodOptional<z.ZodString>;
|
|
312
441
|
offset: z.ZodOptional<z.ZodString>;
|
|
313
442
|
}, "strict", z.ZodTypeAny, {
|
|
314
|
-
kind?: "file" | "document" | "sheet" | "slides" | undefined;
|
|
443
|
+
kind?: "file" | "page" | "document" | "sheet" | "slides" | "canvas" | undefined;
|
|
315
444
|
limit?: string | undefined;
|
|
316
445
|
offset?: string | undefined;
|
|
317
446
|
thread?: string | undefined;
|
|
318
447
|
}, {
|
|
319
|
-
kind?: "file" | "document" | "sheet" | "slides" | undefined;
|
|
448
|
+
kind?: "file" | "page" | "document" | "sheet" | "slides" | "canvas" | undefined;
|
|
320
449
|
limit?: string | undefined;
|
|
321
450
|
offset?: string | undefined;
|
|
322
451
|
thread?: string | undefined;
|
|
@@ -325,7 +454,7 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
325
454
|
artifacts: z.ZodArray<z.ZodObject<{
|
|
326
455
|
id: z.ZodString;
|
|
327
456
|
projectId: z.ZodString;
|
|
328
|
-
kind: z.ZodEnum<["document", "sheet", "slides", "file"]>;
|
|
457
|
+
kind: z.ZodEnum<["document", "sheet", "slides", "page", "canvas", "file"]>;
|
|
329
458
|
title: z.ZodString;
|
|
330
459
|
owner: z.ZodObject<{
|
|
331
460
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
@@ -343,26 +472,26 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
343
472
|
}, "strip", z.ZodTypeAny, {
|
|
344
473
|
projectId: string;
|
|
345
474
|
id: string;
|
|
346
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
475
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
347
476
|
title: string;
|
|
348
477
|
createdAt: string;
|
|
349
|
-
updatedAt: string;
|
|
350
478
|
owner: {
|
|
351
479
|
id: string;
|
|
352
480
|
type: "user" | "serviceAccount" | "system";
|
|
353
481
|
};
|
|
482
|
+
updatedAt: string;
|
|
354
483
|
latestVersion: number;
|
|
355
484
|
}, {
|
|
356
485
|
projectId: string;
|
|
357
486
|
id: string;
|
|
358
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
487
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
359
488
|
title: string;
|
|
360
489
|
createdAt: string;
|
|
361
|
-
updatedAt: string;
|
|
362
490
|
owner: {
|
|
363
491
|
id: string;
|
|
364
492
|
type: "user" | "serviceAccount" | "system";
|
|
365
493
|
};
|
|
494
|
+
updatedAt: string;
|
|
366
495
|
latestVersion: number;
|
|
367
496
|
}>, "many">;
|
|
368
497
|
hasMore: z.ZodBoolean;
|
|
@@ -371,14 +500,14 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
371
500
|
artifacts: {
|
|
372
501
|
projectId: string;
|
|
373
502
|
id: string;
|
|
374
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
503
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
375
504
|
title: string;
|
|
376
505
|
createdAt: string;
|
|
377
|
-
updatedAt: string;
|
|
378
506
|
owner: {
|
|
379
507
|
id: string;
|
|
380
508
|
type: "user" | "serviceAccount" | "system";
|
|
381
509
|
};
|
|
510
|
+
updatedAt: string;
|
|
382
511
|
latestVersion: number;
|
|
383
512
|
}[];
|
|
384
513
|
hasMore: boolean;
|
|
@@ -387,14 +516,14 @@ export declare const ArtifactListResponseSchema: z.ZodObject<{
|
|
|
387
516
|
artifacts: {
|
|
388
517
|
projectId: string;
|
|
389
518
|
id: string;
|
|
390
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
519
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
391
520
|
title: string;
|
|
392
521
|
createdAt: string;
|
|
393
|
-
updatedAt: string;
|
|
394
522
|
owner: {
|
|
395
523
|
id: string;
|
|
396
524
|
type: "user" | "serviceAccount" | "system";
|
|
397
525
|
};
|
|
526
|
+
updatedAt: string;
|
|
398
527
|
latestVersion: number;
|
|
399
528
|
}[];
|
|
400
529
|
hasMore: boolean;
|
|
@@ -404,7 +533,7 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
404
533
|
artifact: z.ZodObject<{
|
|
405
534
|
id: z.ZodString;
|
|
406
535
|
projectId: z.ZodString;
|
|
407
|
-
kind: z.ZodEnum<["document", "sheet", "slides", "file"]>;
|
|
536
|
+
kind: z.ZodEnum<["document", "sheet", "slides", "page", "canvas", "file"]>;
|
|
408
537
|
title: z.ZodString;
|
|
409
538
|
owner: z.ZodObject<{
|
|
410
539
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
@@ -422,26 +551,26 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
422
551
|
}, "strip", z.ZodTypeAny, {
|
|
423
552
|
projectId: string;
|
|
424
553
|
id: string;
|
|
425
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
554
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
426
555
|
title: string;
|
|
427
556
|
createdAt: string;
|
|
428
|
-
updatedAt: string;
|
|
429
557
|
owner: {
|
|
430
558
|
id: string;
|
|
431
559
|
type: "user" | "serviceAccount" | "system";
|
|
432
560
|
};
|
|
561
|
+
updatedAt: string;
|
|
433
562
|
latestVersion: number;
|
|
434
563
|
}, {
|
|
435
564
|
projectId: string;
|
|
436
565
|
id: string;
|
|
437
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
566
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
438
567
|
title: string;
|
|
439
568
|
createdAt: string;
|
|
440
|
-
updatedAt: string;
|
|
441
569
|
owner: {
|
|
442
570
|
id: string;
|
|
443
571
|
type: "user" | "serviceAccount" | "system";
|
|
444
572
|
};
|
|
573
|
+
updatedAt: string;
|
|
445
574
|
latestVersion: number;
|
|
446
575
|
}>;
|
|
447
576
|
versions: z.ZodArray<z.ZodObject<Pick<{
|
|
@@ -529,14 +658,17 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
529
658
|
name: z.ZodString;
|
|
530
659
|
rows: z.ZodNumber;
|
|
531
660
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
661
|
+
query: z.ZodOptional<z.ZodString>;
|
|
532
662
|
}, "strip", z.ZodTypeAny, {
|
|
533
663
|
name: string;
|
|
534
664
|
rows: number;
|
|
535
665
|
columns: string[];
|
|
666
|
+
query?: string | undefined;
|
|
536
667
|
}, {
|
|
537
668
|
name: string;
|
|
538
669
|
rows: number;
|
|
539
670
|
columns: string[];
|
|
671
|
+
query?: string | undefined;
|
|
540
672
|
}>, "many">;
|
|
541
673
|
charts: z.ZodArray<z.ZodString, "many">;
|
|
542
674
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -545,6 +677,7 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
545
677
|
name: string;
|
|
546
678
|
rows: number;
|
|
547
679
|
columns: string[];
|
|
680
|
+
query?: string | undefined;
|
|
548
681
|
}[];
|
|
549
682
|
charts: string[];
|
|
550
683
|
}, {
|
|
@@ -553,6 +686,7 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
553
686
|
name: string;
|
|
554
687
|
rows: number;
|
|
555
688
|
columns: string[];
|
|
689
|
+
query?: string | undefined;
|
|
556
690
|
}[];
|
|
557
691
|
charts: string[];
|
|
558
692
|
}>, z.ZodObject<{
|
|
@@ -574,6 +708,79 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
574
708
|
slides: {
|
|
575
709
|
title?: string | undefined;
|
|
576
710
|
}[];
|
|
711
|
+
}>, z.ZodObject<{
|
|
712
|
+
kind: z.ZodLiteral<"page">;
|
|
713
|
+
title: z.ZodOptional<z.ZodString>;
|
|
714
|
+
}, "strip", z.ZodTypeAny, {
|
|
715
|
+
kind: "page";
|
|
716
|
+
title?: string | undefined;
|
|
717
|
+
}, {
|
|
718
|
+
kind: "page";
|
|
719
|
+
title?: string | undefined;
|
|
720
|
+
}>, z.ZodObject<{
|
|
721
|
+
kind: z.ZodLiteral<"canvas">;
|
|
722
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
723
|
+
id: z.ZodString;
|
|
724
|
+
type: z.ZodLiteral<"board">;
|
|
725
|
+
title: z.ZodOptional<z.ZodString>;
|
|
726
|
+
file: z.ZodString;
|
|
727
|
+
w: z.ZodNumber;
|
|
728
|
+
h: z.ZodNumber;
|
|
729
|
+
}, "strip", z.ZodTypeAny, {
|
|
730
|
+
id: string;
|
|
731
|
+
type: "board";
|
|
732
|
+
file: string;
|
|
733
|
+
w: number;
|
|
734
|
+
h: number;
|
|
735
|
+
title?: string | undefined;
|
|
736
|
+
}, {
|
|
737
|
+
id: string;
|
|
738
|
+
type: "board";
|
|
739
|
+
file: string;
|
|
740
|
+
w: number;
|
|
741
|
+
h: number;
|
|
742
|
+
title?: string | undefined;
|
|
743
|
+
}>, z.ZodObject<{
|
|
744
|
+
id: z.ZodString;
|
|
745
|
+
type: z.ZodLiteral<"section">;
|
|
746
|
+
title: z.ZodOptional<z.ZodString>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
id: string;
|
|
749
|
+
type: "section";
|
|
750
|
+
title?: string | undefined;
|
|
751
|
+
}, {
|
|
752
|
+
id: string;
|
|
753
|
+
type: "section";
|
|
754
|
+
title?: string | undefined;
|
|
755
|
+
}>]>, "many">;
|
|
756
|
+
}, "strip", z.ZodTypeAny, {
|
|
757
|
+
kind: "canvas";
|
|
758
|
+
items: ({
|
|
759
|
+
id: string;
|
|
760
|
+
type: "board";
|
|
761
|
+
file: string;
|
|
762
|
+
w: number;
|
|
763
|
+
h: number;
|
|
764
|
+
title?: string | undefined;
|
|
765
|
+
} | {
|
|
766
|
+
id: string;
|
|
767
|
+
type: "section";
|
|
768
|
+
title?: string | undefined;
|
|
769
|
+
})[];
|
|
770
|
+
}, {
|
|
771
|
+
kind: "canvas";
|
|
772
|
+
items: ({
|
|
773
|
+
id: string;
|
|
774
|
+
type: "board";
|
|
775
|
+
file: string;
|
|
776
|
+
w: number;
|
|
777
|
+
h: number;
|
|
778
|
+
title?: string | undefined;
|
|
779
|
+
} | {
|
|
780
|
+
id: string;
|
|
781
|
+
type: "section";
|
|
782
|
+
title?: string | undefined;
|
|
783
|
+
})[];
|
|
577
784
|
}>, z.ZodObject<{
|
|
578
785
|
kind: z.ZodLiteral<"file">;
|
|
579
786
|
mediaType: z.ZodString;
|
|
@@ -592,12 +799,12 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
592
799
|
}, "strip", z.ZodTypeAny, {
|
|
593
800
|
at: string;
|
|
594
801
|
address: string;
|
|
595
|
-
as: "
|
|
802
|
+
as: "link" | "embed";
|
|
596
803
|
resolvedVersion: number;
|
|
597
804
|
}, {
|
|
598
805
|
at: string;
|
|
599
806
|
address: string;
|
|
600
|
-
as: "
|
|
807
|
+
as: "link" | "embed";
|
|
601
808
|
resolvedVersion: number;
|
|
602
809
|
}>, "many">;
|
|
603
810
|
author: z.ZodObject<{
|
|
@@ -646,18 +853,19 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
646
853
|
threadId: string;
|
|
647
854
|
} | undefined;
|
|
648
855
|
}>, "many">;
|
|
856
|
+
access: z.ZodEnum<["owner", "update", "read"]>;
|
|
649
857
|
}, "strip", z.ZodTypeAny, {
|
|
650
858
|
artifact: {
|
|
651
859
|
projectId: string;
|
|
652
860
|
id: string;
|
|
653
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
861
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
654
862
|
title: string;
|
|
655
863
|
createdAt: string;
|
|
656
|
-
updatedAt: string;
|
|
657
864
|
owner: {
|
|
658
865
|
id: string;
|
|
659
866
|
type: "user" | "serviceAccount" | "system";
|
|
660
867
|
};
|
|
868
|
+
updatedAt: string;
|
|
661
869
|
latestVersion: number;
|
|
662
870
|
};
|
|
663
871
|
versions: {
|
|
@@ -673,18 +881,19 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
673
881
|
threadId: string;
|
|
674
882
|
} | undefined;
|
|
675
883
|
}[];
|
|
884
|
+
access: "owner" | "read" | "update";
|
|
676
885
|
}, {
|
|
677
886
|
artifact: {
|
|
678
887
|
projectId: string;
|
|
679
888
|
id: string;
|
|
680
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
889
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
681
890
|
title: string;
|
|
682
891
|
createdAt: string;
|
|
683
|
-
updatedAt: string;
|
|
684
892
|
owner: {
|
|
685
893
|
id: string;
|
|
686
894
|
type: "user" | "serviceAccount" | "system";
|
|
687
895
|
};
|
|
896
|
+
updatedAt: string;
|
|
688
897
|
latestVersion: number;
|
|
689
898
|
};
|
|
690
899
|
versions: {
|
|
@@ -700,9 +909,10 @@ export declare const ArtifactResponseSchema: z.ZodObject<{
|
|
|
700
909
|
threadId: string;
|
|
701
910
|
} | undefined;
|
|
702
911
|
}[];
|
|
912
|
+
access: "owner" | "read" | "update";
|
|
703
913
|
}>;
|
|
704
914
|
export declare const PublishArtifactBodySchema: z.ZodObject<{
|
|
705
|
-
kind: z.ZodEnum<["document", "sheet", "slides", "file"]>;
|
|
915
|
+
kind: z.ZodEnum<["document", "sheet", "slides", "page", "canvas", "file"]>;
|
|
706
916
|
title: z.ZodString;
|
|
707
917
|
files: z.ZodArray<z.ZodObject<{
|
|
708
918
|
path: z.ZodString;
|
|
@@ -750,7 +960,8 @@ export declare const PublishArtifactBodySchema: z.ZodObject<{
|
|
|
750
960
|
};
|
|
751
961
|
}>, "many">;
|
|
752
962
|
}, "strict", z.ZodTypeAny, {
|
|
753
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
963
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
964
|
+
title: string;
|
|
754
965
|
files: {
|
|
755
966
|
path: string;
|
|
756
967
|
file: {
|
|
@@ -762,9 +973,9 @@ export declare const PublishArtifactBodySchema: z.ZodObject<{
|
|
|
762
973
|
logicalPath?: string | undefined;
|
|
763
974
|
};
|
|
764
975
|
}[];
|
|
765
|
-
title: string;
|
|
766
976
|
}, {
|
|
767
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
977
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
978
|
+
title: string;
|
|
768
979
|
files: {
|
|
769
980
|
path: string;
|
|
770
981
|
file: {
|
|
@@ -776,13 +987,93 @@ export declare const PublishArtifactBodySchema: z.ZodObject<{
|
|
|
776
987
|
logicalPath?: string | undefined;
|
|
777
988
|
};
|
|
778
989
|
}[];
|
|
990
|
+
}>;
|
|
991
|
+
export declare const PublishArtifactVersionBodySchema: z.ZodObject<{
|
|
992
|
+
kind: z.ZodEnum<["document", "sheet", "slides", "page", "canvas", "file"]>;
|
|
993
|
+
title: z.ZodString;
|
|
994
|
+
files: z.ZodArray<z.ZodObject<{
|
|
995
|
+
path: z.ZodString;
|
|
996
|
+
file: z.ZodObject<{
|
|
997
|
+
blobId: z.ZodString;
|
|
998
|
+
digest: z.ZodString;
|
|
999
|
+
sizeBytes: z.ZodNumber;
|
|
1000
|
+
fileName: z.ZodOptional<z.ZodString>;
|
|
1001
|
+
mediaType: z.ZodOptional<z.ZodString>;
|
|
1002
|
+
logicalPath: z.ZodOptional<z.ZodString>;
|
|
1003
|
+
}, "strip", z.ZodTypeAny, {
|
|
1004
|
+
blobId: string;
|
|
1005
|
+
digest: string;
|
|
1006
|
+
sizeBytes: number;
|
|
1007
|
+
fileName?: string | undefined;
|
|
1008
|
+
mediaType?: string | undefined;
|
|
1009
|
+
logicalPath?: string | undefined;
|
|
1010
|
+
}, {
|
|
1011
|
+
blobId: string;
|
|
1012
|
+
digest: string;
|
|
1013
|
+
sizeBytes: number;
|
|
1014
|
+
fileName?: string | undefined;
|
|
1015
|
+
mediaType?: string | undefined;
|
|
1016
|
+
logicalPath?: string | undefined;
|
|
1017
|
+
}>;
|
|
1018
|
+
}, "strip", z.ZodTypeAny, {
|
|
1019
|
+
path: string;
|
|
1020
|
+
file: {
|
|
1021
|
+
blobId: string;
|
|
1022
|
+
digest: string;
|
|
1023
|
+
sizeBytes: number;
|
|
1024
|
+
fileName?: string | undefined;
|
|
1025
|
+
mediaType?: string | undefined;
|
|
1026
|
+
logicalPath?: string | undefined;
|
|
1027
|
+
};
|
|
1028
|
+
}, {
|
|
1029
|
+
path: string;
|
|
1030
|
+
file: {
|
|
1031
|
+
blobId: string;
|
|
1032
|
+
digest: string;
|
|
1033
|
+
sizeBytes: number;
|
|
1034
|
+
fileName?: string | undefined;
|
|
1035
|
+
mediaType?: string | undefined;
|
|
1036
|
+
logicalPath?: string | undefined;
|
|
1037
|
+
};
|
|
1038
|
+
}>, "many">;
|
|
1039
|
+
} & {
|
|
1040
|
+
baseVersion: z.ZodOptional<z.ZodNumber>;
|
|
1041
|
+
}, "strict", z.ZodTypeAny, {
|
|
1042
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
1043
|
+
title: string;
|
|
1044
|
+
files: {
|
|
1045
|
+
path: string;
|
|
1046
|
+
file: {
|
|
1047
|
+
blobId: string;
|
|
1048
|
+
digest: string;
|
|
1049
|
+
sizeBytes: number;
|
|
1050
|
+
fileName?: string | undefined;
|
|
1051
|
+
mediaType?: string | undefined;
|
|
1052
|
+
logicalPath?: string | undefined;
|
|
1053
|
+
};
|
|
1054
|
+
}[];
|
|
1055
|
+
baseVersion?: number | undefined;
|
|
1056
|
+
}, {
|
|
1057
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
779
1058
|
title: string;
|
|
1059
|
+
files: {
|
|
1060
|
+
path: string;
|
|
1061
|
+
file: {
|
|
1062
|
+
blobId: string;
|
|
1063
|
+
digest: string;
|
|
1064
|
+
sizeBytes: number;
|
|
1065
|
+
fileName?: string | undefined;
|
|
1066
|
+
mediaType?: string | undefined;
|
|
1067
|
+
logicalPath?: string | undefined;
|
|
1068
|
+
};
|
|
1069
|
+
}[];
|
|
1070
|
+
baseVersion?: number | undefined;
|
|
780
1071
|
}>;
|
|
781
1072
|
export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
782
1073
|
artifact: z.ZodObject<{
|
|
783
1074
|
id: z.ZodString;
|
|
784
1075
|
projectId: z.ZodString;
|
|
785
|
-
kind: z.ZodEnum<["document", "sheet", "slides", "file"]>;
|
|
1076
|
+
kind: z.ZodEnum<["document", "sheet", "slides", "page", "canvas", "file"]>;
|
|
786
1077
|
title: z.ZodString;
|
|
787
1078
|
owner: z.ZodObject<{
|
|
788
1079
|
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
@@ -800,26 +1091,26 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
800
1091
|
}, "strip", z.ZodTypeAny, {
|
|
801
1092
|
projectId: string;
|
|
802
1093
|
id: string;
|
|
803
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
1094
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
804
1095
|
title: string;
|
|
805
1096
|
createdAt: string;
|
|
806
|
-
updatedAt: string;
|
|
807
1097
|
owner: {
|
|
808
1098
|
id: string;
|
|
809
1099
|
type: "user" | "serviceAccount" | "system";
|
|
810
1100
|
};
|
|
1101
|
+
updatedAt: string;
|
|
811
1102
|
latestVersion: number;
|
|
812
1103
|
}, {
|
|
813
1104
|
projectId: string;
|
|
814
1105
|
id: string;
|
|
815
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
1106
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
816
1107
|
title: string;
|
|
817
1108
|
createdAt: string;
|
|
818
|
-
updatedAt: string;
|
|
819
1109
|
owner: {
|
|
820
1110
|
id: string;
|
|
821
1111
|
type: "user" | "serviceAccount" | "system";
|
|
822
1112
|
};
|
|
1113
|
+
updatedAt: string;
|
|
823
1114
|
latestVersion: number;
|
|
824
1115
|
}>;
|
|
825
1116
|
version: z.ZodObject<{
|
|
@@ -907,14 +1198,17 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
907
1198
|
name: z.ZodString;
|
|
908
1199
|
rows: z.ZodNumber;
|
|
909
1200
|
columns: z.ZodArray<z.ZodString, "many">;
|
|
1201
|
+
query: z.ZodOptional<z.ZodString>;
|
|
910
1202
|
}, "strip", z.ZodTypeAny, {
|
|
911
1203
|
name: string;
|
|
912
1204
|
rows: number;
|
|
913
1205
|
columns: string[];
|
|
1206
|
+
query?: string | undefined;
|
|
914
1207
|
}, {
|
|
915
1208
|
name: string;
|
|
916
1209
|
rows: number;
|
|
917
1210
|
columns: string[];
|
|
1211
|
+
query?: string | undefined;
|
|
918
1212
|
}>, "many">;
|
|
919
1213
|
charts: z.ZodArray<z.ZodString, "many">;
|
|
920
1214
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -923,6 +1217,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
923
1217
|
name: string;
|
|
924
1218
|
rows: number;
|
|
925
1219
|
columns: string[];
|
|
1220
|
+
query?: string | undefined;
|
|
926
1221
|
}[];
|
|
927
1222
|
charts: string[];
|
|
928
1223
|
}, {
|
|
@@ -931,6 +1226,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
931
1226
|
name: string;
|
|
932
1227
|
rows: number;
|
|
933
1228
|
columns: string[];
|
|
1229
|
+
query?: string | undefined;
|
|
934
1230
|
}[];
|
|
935
1231
|
charts: string[];
|
|
936
1232
|
}>, z.ZodObject<{
|
|
@@ -952,6 +1248,79 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
952
1248
|
slides: {
|
|
953
1249
|
title?: string | undefined;
|
|
954
1250
|
}[];
|
|
1251
|
+
}>, z.ZodObject<{
|
|
1252
|
+
kind: z.ZodLiteral<"page">;
|
|
1253
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1254
|
+
}, "strip", z.ZodTypeAny, {
|
|
1255
|
+
kind: "page";
|
|
1256
|
+
title?: string | undefined;
|
|
1257
|
+
}, {
|
|
1258
|
+
kind: "page";
|
|
1259
|
+
title?: string | undefined;
|
|
1260
|
+
}>, z.ZodObject<{
|
|
1261
|
+
kind: z.ZodLiteral<"canvas">;
|
|
1262
|
+
items: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1263
|
+
id: z.ZodString;
|
|
1264
|
+
type: z.ZodLiteral<"board">;
|
|
1265
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1266
|
+
file: z.ZodString;
|
|
1267
|
+
w: z.ZodNumber;
|
|
1268
|
+
h: z.ZodNumber;
|
|
1269
|
+
}, "strip", z.ZodTypeAny, {
|
|
1270
|
+
id: string;
|
|
1271
|
+
type: "board";
|
|
1272
|
+
file: string;
|
|
1273
|
+
w: number;
|
|
1274
|
+
h: number;
|
|
1275
|
+
title?: string | undefined;
|
|
1276
|
+
}, {
|
|
1277
|
+
id: string;
|
|
1278
|
+
type: "board";
|
|
1279
|
+
file: string;
|
|
1280
|
+
w: number;
|
|
1281
|
+
h: number;
|
|
1282
|
+
title?: string | undefined;
|
|
1283
|
+
}>, z.ZodObject<{
|
|
1284
|
+
id: z.ZodString;
|
|
1285
|
+
type: z.ZodLiteral<"section">;
|
|
1286
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1287
|
+
}, "strip", z.ZodTypeAny, {
|
|
1288
|
+
id: string;
|
|
1289
|
+
type: "section";
|
|
1290
|
+
title?: string | undefined;
|
|
1291
|
+
}, {
|
|
1292
|
+
id: string;
|
|
1293
|
+
type: "section";
|
|
1294
|
+
title?: string | undefined;
|
|
1295
|
+
}>]>, "many">;
|
|
1296
|
+
}, "strip", z.ZodTypeAny, {
|
|
1297
|
+
kind: "canvas";
|
|
1298
|
+
items: ({
|
|
1299
|
+
id: string;
|
|
1300
|
+
type: "board";
|
|
1301
|
+
file: string;
|
|
1302
|
+
w: number;
|
|
1303
|
+
h: number;
|
|
1304
|
+
title?: string | undefined;
|
|
1305
|
+
} | {
|
|
1306
|
+
id: string;
|
|
1307
|
+
type: "section";
|
|
1308
|
+
title?: string | undefined;
|
|
1309
|
+
})[];
|
|
1310
|
+
}, {
|
|
1311
|
+
kind: "canvas";
|
|
1312
|
+
items: ({
|
|
1313
|
+
id: string;
|
|
1314
|
+
type: "board";
|
|
1315
|
+
file: string;
|
|
1316
|
+
w: number;
|
|
1317
|
+
h: number;
|
|
1318
|
+
title?: string | undefined;
|
|
1319
|
+
} | {
|
|
1320
|
+
id: string;
|
|
1321
|
+
type: "section";
|
|
1322
|
+
title?: string | undefined;
|
|
1323
|
+
})[];
|
|
955
1324
|
}>, z.ZodObject<{
|
|
956
1325
|
kind: z.ZodLiteral<"file">;
|
|
957
1326
|
mediaType: z.ZodString;
|
|
@@ -970,12 +1339,12 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
970
1339
|
}, "strip", z.ZodTypeAny, {
|
|
971
1340
|
at: string;
|
|
972
1341
|
address: string;
|
|
973
|
-
as: "
|
|
1342
|
+
as: "link" | "embed";
|
|
974
1343
|
resolvedVersion: number;
|
|
975
1344
|
}, {
|
|
976
1345
|
at: string;
|
|
977
1346
|
address: string;
|
|
978
|
-
as: "
|
|
1347
|
+
as: "link" | "embed";
|
|
979
1348
|
resolvedVersion: number;
|
|
980
1349
|
}>, "many">;
|
|
981
1350
|
author: z.ZodObject<{
|
|
@@ -1000,6 +1369,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1000
1369
|
}>>;
|
|
1001
1370
|
createdAt: z.ZodString;
|
|
1002
1371
|
}, "strip", z.ZodTypeAny, {
|
|
1372
|
+
title: string;
|
|
1373
|
+
version: number;
|
|
1374
|
+
createdAt: string;
|
|
1003
1375
|
files: {
|
|
1004
1376
|
path: string;
|
|
1005
1377
|
file: {
|
|
@@ -1011,9 +1383,10 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1011
1383
|
logicalPath?: string | undefined;
|
|
1012
1384
|
};
|
|
1013
1385
|
}[];
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1386
|
+
author: {
|
|
1387
|
+
id: string;
|
|
1388
|
+
type: "user" | "serviceAccount" | "system";
|
|
1389
|
+
};
|
|
1017
1390
|
artifactId: string;
|
|
1018
1391
|
entry: string;
|
|
1019
1392
|
outline: {
|
|
@@ -1029,6 +1402,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1029
1402
|
name: string;
|
|
1030
1403
|
rows: number;
|
|
1031
1404
|
columns: string[];
|
|
1405
|
+
query?: string | undefined;
|
|
1032
1406
|
}[];
|
|
1033
1407
|
charts: string[];
|
|
1034
1408
|
} | {
|
|
@@ -1036,6 +1410,23 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1036
1410
|
slides: {
|
|
1037
1411
|
title?: string | undefined;
|
|
1038
1412
|
}[];
|
|
1413
|
+
} | {
|
|
1414
|
+
kind: "page";
|
|
1415
|
+
title?: string | undefined;
|
|
1416
|
+
} | {
|
|
1417
|
+
kind: "canvas";
|
|
1418
|
+
items: ({
|
|
1419
|
+
id: string;
|
|
1420
|
+
type: "board";
|
|
1421
|
+
file: string;
|
|
1422
|
+
w: number;
|
|
1423
|
+
h: number;
|
|
1424
|
+
title?: string | undefined;
|
|
1425
|
+
} | {
|
|
1426
|
+
id: string;
|
|
1427
|
+
type: "section";
|
|
1428
|
+
title?: string | undefined;
|
|
1429
|
+
})[];
|
|
1039
1430
|
} | {
|
|
1040
1431
|
kind: "file";
|
|
1041
1432
|
mediaType: string;
|
|
@@ -1043,18 +1434,17 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1043
1434
|
references: {
|
|
1044
1435
|
at: string;
|
|
1045
1436
|
address: string;
|
|
1046
|
-
as: "
|
|
1437
|
+
as: "link" | "embed";
|
|
1047
1438
|
resolvedVersion: number;
|
|
1048
1439
|
}[];
|
|
1049
|
-
author: {
|
|
1050
|
-
id: string;
|
|
1051
|
-
type: "user" | "serviceAccount" | "system";
|
|
1052
|
-
};
|
|
1053
1440
|
origin?: {
|
|
1054
1441
|
runId: string;
|
|
1055
1442
|
threadId: string;
|
|
1056
1443
|
} | undefined;
|
|
1057
1444
|
}, {
|
|
1445
|
+
title: string;
|
|
1446
|
+
version: number;
|
|
1447
|
+
createdAt: string;
|
|
1058
1448
|
files: {
|
|
1059
1449
|
path: string;
|
|
1060
1450
|
file: {
|
|
@@ -1066,9 +1456,10 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1066
1456
|
logicalPath?: string | undefined;
|
|
1067
1457
|
};
|
|
1068
1458
|
}[];
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1459
|
+
author: {
|
|
1460
|
+
id: string;
|
|
1461
|
+
type: "user" | "serviceAccount" | "system";
|
|
1462
|
+
};
|
|
1072
1463
|
artifactId: string;
|
|
1073
1464
|
entry: string;
|
|
1074
1465
|
outline: {
|
|
@@ -1084,6 +1475,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1084
1475
|
name: string;
|
|
1085
1476
|
rows: number;
|
|
1086
1477
|
columns: string[];
|
|
1478
|
+
query?: string | undefined;
|
|
1087
1479
|
}[];
|
|
1088
1480
|
charts: string[];
|
|
1089
1481
|
} | {
|
|
@@ -1091,6 +1483,23 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1091
1483
|
slides: {
|
|
1092
1484
|
title?: string | undefined;
|
|
1093
1485
|
}[];
|
|
1486
|
+
} | {
|
|
1487
|
+
kind: "page";
|
|
1488
|
+
title?: string | undefined;
|
|
1489
|
+
} | {
|
|
1490
|
+
kind: "canvas";
|
|
1491
|
+
items: ({
|
|
1492
|
+
id: string;
|
|
1493
|
+
type: "board";
|
|
1494
|
+
file: string;
|
|
1495
|
+
w: number;
|
|
1496
|
+
h: number;
|
|
1497
|
+
title?: string | undefined;
|
|
1498
|
+
} | {
|
|
1499
|
+
id: string;
|
|
1500
|
+
type: "section";
|
|
1501
|
+
title?: string | undefined;
|
|
1502
|
+
})[];
|
|
1094
1503
|
} | {
|
|
1095
1504
|
kind: "file";
|
|
1096
1505
|
mediaType: string;
|
|
@@ -1098,13 +1507,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1098
1507
|
references: {
|
|
1099
1508
|
at: string;
|
|
1100
1509
|
address: string;
|
|
1101
|
-
as: "
|
|
1510
|
+
as: "link" | "embed";
|
|
1102
1511
|
resolvedVersion: number;
|
|
1103
1512
|
}[];
|
|
1104
|
-
author: {
|
|
1105
|
-
id: string;
|
|
1106
|
-
type: "user" | "serviceAccount" | "system";
|
|
1107
|
-
};
|
|
1108
1513
|
origin?: {
|
|
1109
1514
|
runId: string;
|
|
1110
1515
|
threadId: string;
|
|
@@ -1125,6 +1530,9 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1125
1530
|
}>, "many">;
|
|
1126
1531
|
}, "strip", z.ZodTypeAny, {
|
|
1127
1532
|
version: {
|
|
1533
|
+
title: string;
|
|
1534
|
+
version: number;
|
|
1535
|
+
createdAt: string;
|
|
1128
1536
|
files: {
|
|
1129
1537
|
path: string;
|
|
1130
1538
|
file: {
|
|
@@ -1136,9 +1544,10 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1136
1544
|
logicalPath?: string | undefined;
|
|
1137
1545
|
};
|
|
1138
1546
|
}[];
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1547
|
+
author: {
|
|
1548
|
+
id: string;
|
|
1549
|
+
type: "user" | "serviceAccount" | "system";
|
|
1550
|
+
};
|
|
1142
1551
|
artifactId: string;
|
|
1143
1552
|
entry: string;
|
|
1144
1553
|
outline: {
|
|
@@ -1154,6 +1563,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1154
1563
|
name: string;
|
|
1155
1564
|
rows: number;
|
|
1156
1565
|
columns: string[];
|
|
1566
|
+
query?: string | undefined;
|
|
1157
1567
|
}[];
|
|
1158
1568
|
charts: string[];
|
|
1159
1569
|
} | {
|
|
@@ -1161,6 +1571,23 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1161
1571
|
slides: {
|
|
1162
1572
|
title?: string | undefined;
|
|
1163
1573
|
}[];
|
|
1574
|
+
} | {
|
|
1575
|
+
kind: "page";
|
|
1576
|
+
title?: string | undefined;
|
|
1577
|
+
} | {
|
|
1578
|
+
kind: "canvas";
|
|
1579
|
+
items: ({
|
|
1580
|
+
id: string;
|
|
1581
|
+
type: "board";
|
|
1582
|
+
file: string;
|
|
1583
|
+
w: number;
|
|
1584
|
+
h: number;
|
|
1585
|
+
title?: string | undefined;
|
|
1586
|
+
} | {
|
|
1587
|
+
id: string;
|
|
1588
|
+
type: "section";
|
|
1589
|
+
title?: string | undefined;
|
|
1590
|
+
})[];
|
|
1164
1591
|
} | {
|
|
1165
1592
|
kind: "file";
|
|
1166
1593
|
mediaType: string;
|
|
@@ -1168,38 +1595,37 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1168
1595
|
references: {
|
|
1169
1596
|
at: string;
|
|
1170
1597
|
address: string;
|
|
1171
|
-
as: "
|
|
1598
|
+
as: "link" | "embed";
|
|
1172
1599
|
resolvedVersion: number;
|
|
1173
1600
|
}[];
|
|
1174
|
-
author: {
|
|
1175
|
-
id: string;
|
|
1176
|
-
type: "user" | "serviceAccount" | "system";
|
|
1177
|
-
};
|
|
1178
1601
|
origin?: {
|
|
1179
1602
|
runId: string;
|
|
1180
1603
|
threadId: string;
|
|
1181
1604
|
} | undefined;
|
|
1182
1605
|
};
|
|
1606
|
+
warnings: {
|
|
1607
|
+
code: string;
|
|
1608
|
+
message: string;
|
|
1609
|
+
part?: string | undefined;
|
|
1610
|
+
}[];
|
|
1183
1611
|
artifact: {
|
|
1184
1612
|
projectId: string;
|
|
1185
1613
|
id: string;
|
|
1186
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
1614
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
1187
1615
|
title: string;
|
|
1188
1616
|
createdAt: string;
|
|
1189
|
-
updatedAt: string;
|
|
1190
1617
|
owner: {
|
|
1191
1618
|
id: string;
|
|
1192
1619
|
type: "user" | "serviceAccount" | "system";
|
|
1193
1620
|
};
|
|
1621
|
+
updatedAt: string;
|
|
1194
1622
|
latestVersion: number;
|
|
1195
1623
|
};
|
|
1196
|
-
warnings: {
|
|
1197
|
-
code: string;
|
|
1198
|
-
message: string;
|
|
1199
|
-
part?: string | undefined;
|
|
1200
|
-
}[];
|
|
1201
1624
|
}, {
|
|
1202
1625
|
version: {
|
|
1626
|
+
title: string;
|
|
1627
|
+
version: number;
|
|
1628
|
+
createdAt: string;
|
|
1203
1629
|
files: {
|
|
1204
1630
|
path: string;
|
|
1205
1631
|
file: {
|
|
@@ -1211,9 +1637,10 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1211
1637
|
logicalPath?: string | undefined;
|
|
1212
1638
|
};
|
|
1213
1639
|
}[];
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1640
|
+
author: {
|
|
1641
|
+
id: string;
|
|
1642
|
+
type: "user" | "serviceAccount" | "system";
|
|
1643
|
+
};
|
|
1217
1644
|
artifactId: string;
|
|
1218
1645
|
entry: string;
|
|
1219
1646
|
outline: {
|
|
@@ -1229,6 +1656,7 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1229
1656
|
name: string;
|
|
1230
1657
|
rows: number;
|
|
1231
1658
|
columns: string[];
|
|
1659
|
+
query?: string | undefined;
|
|
1232
1660
|
}[];
|
|
1233
1661
|
charts: string[];
|
|
1234
1662
|
} | {
|
|
@@ -1236,6 +1664,23 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1236
1664
|
slides: {
|
|
1237
1665
|
title?: string | undefined;
|
|
1238
1666
|
}[];
|
|
1667
|
+
} | {
|
|
1668
|
+
kind: "page";
|
|
1669
|
+
title?: string | undefined;
|
|
1670
|
+
} | {
|
|
1671
|
+
kind: "canvas";
|
|
1672
|
+
items: ({
|
|
1673
|
+
id: string;
|
|
1674
|
+
type: "board";
|
|
1675
|
+
file: string;
|
|
1676
|
+
w: number;
|
|
1677
|
+
h: number;
|
|
1678
|
+
title?: string | undefined;
|
|
1679
|
+
} | {
|
|
1680
|
+
id: string;
|
|
1681
|
+
type: "section";
|
|
1682
|
+
title?: string | undefined;
|
|
1683
|
+
})[];
|
|
1239
1684
|
} | {
|
|
1240
1685
|
kind: "file";
|
|
1241
1686
|
mediaType: string;
|
|
@@ -1243,36 +1688,32 @@ export declare const PublishedArtifactResponseSchema: z.ZodObject<{
|
|
|
1243
1688
|
references: {
|
|
1244
1689
|
at: string;
|
|
1245
1690
|
address: string;
|
|
1246
|
-
as: "
|
|
1691
|
+
as: "link" | "embed";
|
|
1247
1692
|
resolvedVersion: number;
|
|
1248
1693
|
}[];
|
|
1249
|
-
author: {
|
|
1250
|
-
id: string;
|
|
1251
|
-
type: "user" | "serviceAccount" | "system";
|
|
1252
|
-
};
|
|
1253
1694
|
origin?: {
|
|
1254
1695
|
runId: string;
|
|
1255
1696
|
threadId: string;
|
|
1256
1697
|
} | undefined;
|
|
1257
1698
|
};
|
|
1699
|
+
warnings: {
|
|
1700
|
+
code: string;
|
|
1701
|
+
message: string;
|
|
1702
|
+
part?: string | undefined;
|
|
1703
|
+
}[];
|
|
1258
1704
|
artifact: {
|
|
1259
1705
|
projectId: string;
|
|
1260
1706
|
id: string;
|
|
1261
|
-
kind: "file" | "document" | "sheet" | "slides";
|
|
1707
|
+
kind: "file" | "page" | "document" | "sheet" | "slides" | "canvas";
|
|
1262
1708
|
title: string;
|
|
1263
1709
|
createdAt: string;
|
|
1264
|
-
updatedAt: string;
|
|
1265
1710
|
owner: {
|
|
1266
1711
|
id: string;
|
|
1267
1712
|
type: "user" | "serviceAccount" | "system";
|
|
1268
1713
|
};
|
|
1714
|
+
updatedAt: string;
|
|
1269
1715
|
latestVersion: number;
|
|
1270
1716
|
};
|
|
1271
|
-
warnings: {
|
|
1272
|
-
code: string;
|
|
1273
|
-
message: string;
|
|
1274
|
-
part?: string | undefined;
|
|
1275
|
-
}[];
|
|
1276
1717
|
}>;
|
|
1277
1718
|
export declare const DeleteArtifactResponseSchema: z.ZodObject<{
|
|
1278
1719
|
deleted: z.ZodLiteral<true>;
|
|
@@ -1281,6 +1722,78 @@ export declare const DeleteArtifactResponseSchema: z.ZodObject<{
|
|
|
1281
1722
|
}, {
|
|
1282
1723
|
deleted: true;
|
|
1283
1724
|
}>;
|
|
1725
|
+
export declare const ArtifactStateParamsSchema: z.ZodObject<{
|
|
1726
|
+
artifactId: z.ZodString;
|
|
1727
|
+
} & {
|
|
1728
|
+
key: z.ZodString;
|
|
1729
|
+
}, "strip", z.ZodTypeAny, {
|
|
1730
|
+
key: string;
|
|
1731
|
+
artifactId: string;
|
|
1732
|
+
}, {
|
|
1733
|
+
key: string;
|
|
1734
|
+
artifactId: string;
|
|
1735
|
+
}>;
|
|
1736
|
+
export declare const ArtifactStateResponseSchema: z.ZodObject<{
|
|
1737
|
+
entries: z.ZodArray<z.ZodObject<{
|
|
1738
|
+
key: z.ZodString;
|
|
1739
|
+
value: z.ZodUnknown;
|
|
1740
|
+
updatedAt: z.ZodString;
|
|
1741
|
+
}, "strip", z.ZodTypeAny, {
|
|
1742
|
+
key: string;
|
|
1743
|
+
updatedAt: string;
|
|
1744
|
+
value?: unknown;
|
|
1745
|
+
}, {
|
|
1746
|
+
key: string;
|
|
1747
|
+
updatedAt: string;
|
|
1748
|
+
value?: unknown;
|
|
1749
|
+
}>, "many">;
|
|
1750
|
+
}, "strip", z.ZodTypeAny, {
|
|
1751
|
+
entries: {
|
|
1752
|
+
key: string;
|
|
1753
|
+
updatedAt: string;
|
|
1754
|
+
value?: unknown;
|
|
1755
|
+
}[];
|
|
1756
|
+
}, {
|
|
1757
|
+
entries: {
|
|
1758
|
+
key: string;
|
|
1759
|
+
updatedAt: string;
|
|
1760
|
+
value?: unknown;
|
|
1761
|
+
}[];
|
|
1762
|
+
}>;
|
|
1763
|
+
export declare const SetArtifactStateBodySchema: z.ZodObject<{
|
|
1764
|
+
value: z.ZodEffects<z.ZodUnknown, {} | null, unknown>;
|
|
1765
|
+
}, "strip", z.ZodTypeAny, {
|
|
1766
|
+
value: {} | null;
|
|
1767
|
+
}, {
|
|
1768
|
+
value?: unknown;
|
|
1769
|
+
}>;
|
|
1770
|
+
export declare const SetArtifactStateResponseSchema: z.ZodObject<{
|
|
1771
|
+
key: z.ZodString;
|
|
1772
|
+
value: z.ZodUnknown;
|
|
1773
|
+
updatedAt: z.ZodString;
|
|
1774
|
+
}, "strip", z.ZodTypeAny, {
|
|
1775
|
+
key: string;
|
|
1776
|
+
updatedAt: string;
|
|
1777
|
+
value?: unknown;
|
|
1778
|
+
}, {
|
|
1779
|
+
key: string;
|
|
1780
|
+
updatedAt: string;
|
|
1781
|
+
value?: unknown;
|
|
1782
|
+
}>;
|
|
1783
|
+
export declare const DeleteArtifactStateResponseSchema: z.ZodObject<{
|
|
1784
|
+
deleted: z.ZodBoolean;
|
|
1785
|
+
}, "strip", z.ZodTypeAny, {
|
|
1786
|
+
deleted: boolean;
|
|
1787
|
+
}, {
|
|
1788
|
+
deleted: boolean;
|
|
1789
|
+
}>;
|
|
1790
|
+
export declare const ClearArtifactStateResponseSchema: z.ZodObject<{
|
|
1791
|
+
cleared: z.ZodNumber;
|
|
1792
|
+
}, "strip", z.ZodTypeAny, {
|
|
1793
|
+
cleared: number;
|
|
1794
|
+
}, {
|
|
1795
|
+
cleared: number;
|
|
1796
|
+
}>;
|
|
1284
1797
|
export declare const ArtifactFrameResponseSchema: z.ZodObject<{
|
|
1285
1798
|
path: z.ZodString;
|
|
1286
1799
|
expiresAt: z.ZodString;
|
|
@@ -1295,11 +1808,50 @@ export declare const ArtifactErrorResponseSchema: z.ZodObject<{
|
|
|
1295
1808
|
error: z.ZodString;
|
|
1296
1809
|
} & {
|
|
1297
1810
|
code: z.ZodOptional<z.ZodString>;
|
|
1811
|
+
latest: z.ZodOptional<z.ZodObject<{
|
|
1812
|
+
version: z.ZodNumber;
|
|
1813
|
+
author: z.ZodObject<{
|
|
1814
|
+
type: z.ZodEnum<["user", "serviceAccount", "system"]>;
|
|
1815
|
+
id: z.ZodString;
|
|
1816
|
+
}, "strip", z.ZodTypeAny, {
|
|
1817
|
+
id: string;
|
|
1818
|
+
type: "user" | "serviceAccount" | "system";
|
|
1819
|
+
}, {
|
|
1820
|
+
id: string;
|
|
1821
|
+
type: "user" | "serviceAccount" | "system";
|
|
1822
|
+
}>;
|
|
1823
|
+
}, "strip", z.ZodTypeAny, {
|
|
1824
|
+
version: number;
|
|
1825
|
+
author: {
|
|
1826
|
+
id: string;
|
|
1827
|
+
type: "user" | "serviceAccount" | "system";
|
|
1828
|
+
};
|
|
1829
|
+
}, {
|
|
1830
|
+
version: number;
|
|
1831
|
+
author: {
|
|
1832
|
+
id: string;
|
|
1833
|
+
type: "user" | "serviceAccount" | "system";
|
|
1834
|
+
};
|
|
1835
|
+
}>>;
|
|
1298
1836
|
}, "strip", z.ZodTypeAny, {
|
|
1299
1837
|
error: string;
|
|
1300
1838
|
code?: string | undefined;
|
|
1839
|
+
latest?: {
|
|
1840
|
+
version: number;
|
|
1841
|
+
author: {
|
|
1842
|
+
id: string;
|
|
1843
|
+
type: "user" | "serviceAccount" | "system";
|
|
1844
|
+
};
|
|
1845
|
+
} | undefined;
|
|
1301
1846
|
}, {
|
|
1302
1847
|
error: string;
|
|
1303
1848
|
code?: string | undefined;
|
|
1849
|
+
latest?: {
|
|
1850
|
+
version: number;
|
|
1851
|
+
author: {
|
|
1852
|
+
id: string;
|
|
1853
|
+
type: "user" | "serviceAccount" | "system";
|
|
1854
|
+
};
|
|
1855
|
+
} | undefined;
|
|
1304
1856
|
}>;
|
|
1305
1857
|
//# sourceMappingURL=artifacts.d.ts.map
|