@playcraft/common 0.1.63 → 0.1.64
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/agent-tools/replica-validation.d.ts +8 -8
- package/dist/agent-tools/video-model-proxy.d.ts +1 -1
- package/dist/cloud-workspace/runtime/animation-editor.d.ts +9 -9
- package/dist/cloud-workspace/runtime/artifacts.d.ts +9 -9
- package/dist/cloud-workspace/runtime/asset-generation-bundle.d.ts +1 -1
- package/dist/cloud-workspace/runtime/asset-generation-tools.d.ts +9 -9
- package/dist/cloud-workspace/runtime/asset-generation.d.ts +33 -33
- package/dist/cloud-workspace/runtime/asset-library-save.d.ts +10 -10
- package/dist/cloud-workspace/runtime/batch-runs.d.ts +7 -7
- package/dist/cloud-workspace/runtime/capabilities.d.ts +2 -2
- package/dist/cloud-workspace/runtime/delivery.d.ts +5 -5
- package/dist/cloud-workspace/runtime/execution-admission.d.ts +2 -2
- package/dist/cloud-workspace/runtime/handshake.d.ts +1 -1
- package/dist/cloud-workspace/runtime/index.d.ts +5 -0
- package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/index.js +5 -0
- package/dist/cloud-workspace/runtime/index.js.map +1 -1
- package/dist/cloud-workspace/runtime/model-adaptation-core.d.ts +82 -0
- package/dist/cloud-workspace/runtime/model-adaptation-core.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/model-adaptation-core.js +335 -0
- package/dist/cloud-workspace/runtime/model-adaptation-core.js.map +1 -0
- package/dist/cloud-workspace/runtime/model-adaptation.d.ts +111 -0
- package/dist/cloud-workspace/runtime/model-adaptation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/model-adaptation.js +60 -0
- package/dist/cloud-workspace/runtime/model-adaptation.js.map +1 -0
- package/dist/cloud-workspace/runtime/model-build-inputs.d.ts +1 -1
- package/dist/cloud-workspace/runtime/model-quality.d.ts +2088 -0
- package/dist/cloud-workspace/runtime/model-quality.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/model-quality.js +150 -0
- package/dist/cloud-workspace/runtime/model-quality.js.map +1 -0
- package/dist/cloud-workspace/runtime/model-source-packing.d.ts +63 -0
- package/dist/cloud-workspace/runtime/model-source-packing.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/model-source-packing.js +237 -0
- package/dist/cloud-workspace/runtime/model-source-packing.js.map +1 -0
- package/dist/cloud-workspace/runtime/model-validation.d.ts +907 -0
- package/dist/cloud-workspace/runtime/model-validation.d.ts.map +1 -0
- package/dist/cloud-workspace/runtime/model-validation.js +124 -0
- package/dist/cloud-workspace/runtime/model-validation.js.map +1 -0
- package/dist/cloud-workspace/runtime/operations.d.ts +879 -1
- package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/operations.js +6 -1
- package/dist/cloud-workspace/runtime/operations.js.map +1 -1
- package/dist/cloud-workspace/runtime/previews.d.ts +4 -4
- package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts +1 -1
- package/dist/cloud-workspace/runtime/skills.d.ts +5 -0
- package/dist/cloud-workspace/runtime/skills.d.ts.map +1 -1
- package/dist/cloud-workspace/runtime/skills.js +1 -0
- package/dist/cloud-workspace/runtime/skills.js.map +1 -1
- package/dist/cloud-workspace/runtime/workspace-ui.d.ts +6 -6
- package/dist/model-proxy/diagnostics.d.ts +2 -0
- package/dist/model-proxy/diagnostics.d.ts.map +1 -1
- package/dist/model-proxy/display-restoration.d.ts +18 -0
- package/dist/model-proxy/display-restoration.d.ts.map +1 -0
- package/dist/model-proxy/display-restoration.js +57 -0
- package/dist/model-proxy/display-restoration.js.map +1 -0
- package/dist/model-proxy/governance-workbench.d.ts +66 -0
- package/dist/model-proxy/governance-workbench.d.ts.map +1 -0
- package/dist/model-proxy/governance-workbench.js +2 -0
- package/dist/model-proxy/governance-workbench.js.map +1 -0
- package/dist/model-proxy/index.d.ts +3 -0
- package/dist/model-proxy/index.d.ts.map +1 -1
- package/dist/model-proxy/index.js +3 -0
- package/dist/model-proxy/index.js.map +1 -1
- package/dist/model-proxy/media-request-diagnostics.d.ts +59 -0
- package/dist/model-proxy/media-request-diagnostics.d.ts.map +1 -0
- package/dist/model-proxy/media-request-diagnostics.js +26 -0
- package/dist/model-proxy/media-request-diagnostics.js.map +1 -0
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@ import { z } from 'zod';
|
|
|
2
2
|
import { type VideoUnderstandingAnalysis } from './video-replication.js';
|
|
3
3
|
import { type ReplicaRecordingMetadata } from './replica-recording.js';
|
|
4
4
|
export declare const replicaDimensionSchema: z.ZodEnum<{
|
|
5
|
+
appearance: "appearance";
|
|
5
6
|
timing: "timing";
|
|
6
7
|
runtime: "runtime";
|
|
7
8
|
layout: "layout";
|
|
8
|
-
appearance: "appearance";
|
|
9
9
|
mechanics: "mechanics";
|
|
10
10
|
interaction: "interaction";
|
|
11
11
|
}>;
|
|
@@ -109,10 +109,10 @@ export declare const replicaComparisonContentSchema: z.ZodObject<{
|
|
|
109
109
|
id: z.ZodString;
|
|
110
110
|
eventId: z.ZodOptional<z.ZodString>;
|
|
111
111
|
dimension: z.ZodEnum<{
|
|
112
|
+
appearance: "appearance";
|
|
112
113
|
timing: "timing";
|
|
113
114
|
runtime: "runtime";
|
|
114
115
|
layout: "layout";
|
|
115
|
-
appearance: "appearance";
|
|
116
116
|
mechanics: "mechanics";
|
|
117
117
|
interaction: "interaction";
|
|
118
118
|
}>;
|
|
@@ -148,10 +148,10 @@ export declare const replicaComparisonContentSchema: z.ZodObject<{
|
|
|
148
148
|
missingEvidence: z.ZodArray<z.ZodObject<{
|
|
149
149
|
eventId: z.ZodOptional<z.ZodString>;
|
|
150
150
|
dimension: z.ZodOptional<z.ZodEnum<{
|
|
151
|
+
appearance: "appearance";
|
|
151
152
|
timing: "timing";
|
|
152
153
|
runtime: "runtime";
|
|
153
154
|
layout: "layout";
|
|
154
|
-
appearance: "appearance";
|
|
155
155
|
mechanics: "mechanics";
|
|
156
156
|
interaction: "interaction";
|
|
157
157
|
}>>;
|
|
@@ -559,10 +559,10 @@ export declare const replicaValidationResultSchema: z.ZodObject<{
|
|
|
559
559
|
id: z.ZodString;
|
|
560
560
|
eventId: z.ZodOptional<z.ZodString>;
|
|
561
561
|
dimension: z.ZodEnum<{
|
|
562
|
+
appearance: "appearance";
|
|
562
563
|
timing: "timing";
|
|
563
564
|
runtime: "runtime";
|
|
564
565
|
layout: "layout";
|
|
565
|
-
appearance: "appearance";
|
|
566
566
|
mechanics: "mechanics";
|
|
567
567
|
interaction: "interaction";
|
|
568
568
|
}>;
|
|
@@ -598,10 +598,10 @@ export declare const replicaValidationResultSchema: z.ZodObject<{
|
|
|
598
598
|
missingEvidence: z.ZodArray<z.ZodObject<{
|
|
599
599
|
eventId: z.ZodOptional<z.ZodString>;
|
|
600
600
|
dimension: z.ZodOptional<z.ZodEnum<{
|
|
601
|
+
appearance: "appearance";
|
|
601
602
|
timing: "timing";
|
|
602
603
|
runtime: "runtime";
|
|
603
604
|
layout: "layout";
|
|
604
|
-
appearance: "appearance";
|
|
605
605
|
mechanics: "mechanics";
|
|
606
606
|
interaction: "interaction";
|
|
607
607
|
}>>;
|
|
@@ -796,10 +796,10 @@ export declare const videoComparisonRunSchema: z.ZodObject<{
|
|
|
796
796
|
id: z.ZodString;
|
|
797
797
|
eventId: z.ZodOptional<z.ZodString>;
|
|
798
798
|
dimension: z.ZodEnum<{
|
|
799
|
+
appearance: "appearance";
|
|
799
800
|
timing: "timing";
|
|
800
801
|
runtime: "runtime";
|
|
801
802
|
layout: "layout";
|
|
802
|
-
appearance: "appearance";
|
|
803
803
|
mechanics: "mechanics";
|
|
804
804
|
interaction: "interaction";
|
|
805
805
|
}>;
|
|
@@ -835,10 +835,10 @@ export declare const videoComparisonRunSchema: z.ZodObject<{
|
|
|
835
835
|
missingEvidence: z.ZodArray<z.ZodObject<{
|
|
836
836
|
eventId: z.ZodOptional<z.ZodString>;
|
|
837
837
|
dimension: z.ZodOptional<z.ZodEnum<{
|
|
838
|
+
appearance: "appearance";
|
|
838
839
|
timing: "timing";
|
|
839
840
|
runtime: "runtime";
|
|
840
841
|
layout: "layout";
|
|
841
|
-
appearance: "appearance";
|
|
842
842
|
mechanics: "mechanics";
|
|
843
843
|
interaction: "interaction";
|
|
844
844
|
}>>;
|
|
@@ -958,7 +958,7 @@ export declare function evaluateReplicaComparison(content: ReplicaComparisonCont
|
|
|
958
958
|
missingEvidence: {
|
|
959
959
|
reason: string;
|
|
960
960
|
eventId?: string | undefined;
|
|
961
|
-
dimension?: "
|
|
961
|
+
dimension?: "appearance" | "timing" | "runtime" | "layout" | "mechanics" | "interaction" | undefined;
|
|
962
962
|
}[];
|
|
963
963
|
timingChecks: {
|
|
964
964
|
status: "fail" | "pass" | "inconclusive";
|
|
@@ -63,9 +63,9 @@ export declare const videoProxyInteractionSchema: z.ZodObject<{
|
|
|
63
63
|
status: z.ZodEnum<{
|
|
64
64
|
failed: "failed";
|
|
65
65
|
completed: "completed";
|
|
66
|
+
cancelled: "cancelled";
|
|
66
67
|
queued: "queued";
|
|
67
68
|
incomplete: "incomplete";
|
|
68
|
-
cancelled: "cancelled";
|
|
69
69
|
in_progress: "in_progress";
|
|
70
70
|
requires_action: "requires_action";
|
|
71
71
|
}>;
|
|
@@ -63,8 +63,8 @@ export declare const animationEditorVersionSchema: z.ZodObject<{
|
|
|
63
63
|
path: z.ZodString;
|
|
64
64
|
mimeType: z.ZodEnum<{
|
|
65
65
|
"image/png": "image/png";
|
|
66
|
-
"image/webp": "image/webp";
|
|
67
66
|
"application/json": "application/json";
|
|
67
|
+
"image/webp": "image/webp";
|
|
68
68
|
}>;
|
|
69
69
|
size: z.ZodNumber;
|
|
70
70
|
contentHash: z.ZodString;
|
|
@@ -151,8 +151,8 @@ export declare const animationEditorStateSchema: z.ZodObject<{
|
|
|
151
151
|
path: z.ZodString;
|
|
152
152
|
mimeType: z.ZodEnum<{
|
|
153
153
|
"image/png": "image/png";
|
|
154
|
-
"image/webp": "image/webp";
|
|
155
154
|
"application/json": "application/json";
|
|
155
|
+
"image/webp": "image/webp";
|
|
156
156
|
}>;
|
|
157
157
|
size: z.ZodNumber;
|
|
158
158
|
contentHash: z.ZodString;
|
|
@@ -228,8 +228,8 @@ export declare const animationEditorStateSchema: z.ZodObject<{
|
|
|
228
228
|
path: z.ZodString;
|
|
229
229
|
mimeType: z.ZodEnum<{
|
|
230
230
|
"image/png": "image/png";
|
|
231
|
-
"image/webp": "image/webp";
|
|
232
231
|
"application/json": "application/json";
|
|
232
|
+
"image/webp": "image/webp";
|
|
233
233
|
}>;
|
|
234
234
|
size: z.ZodNumber;
|
|
235
235
|
contentHash: z.ZodString;
|
|
@@ -314,8 +314,8 @@ export declare const animationEditorFrameUploadSchema: z.ZodObject<{
|
|
|
314
314
|
clientRequestId: z.ZodString;
|
|
315
315
|
mimeType: z.ZodEnum<{
|
|
316
316
|
"image/png": "image/png";
|
|
317
|
-
"image/webp": "image/webp";
|
|
318
317
|
"image/jpeg": "image/jpeg";
|
|
318
|
+
"image/webp": "image/webp";
|
|
319
319
|
}>;
|
|
320
320
|
contentBase64: z.ZodString;
|
|
321
321
|
}, z.core.$strict>;
|
|
@@ -347,8 +347,8 @@ export declare const animationEditorFrameUploadResultSchema: z.ZodObject<{
|
|
|
347
347
|
path: z.ZodString;
|
|
348
348
|
mimeType: z.ZodEnum<{
|
|
349
349
|
"image/png": "image/png";
|
|
350
|
-
"image/webp": "image/webp";
|
|
351
350
|
"application/json": "application/json";
|
|
351
|
+
"image/webp": "image/webp";
|
|
352
352
|
}>;
|
|
353
353
|
size: z.ZodNumber;
|
|
354
354
|
contentHash: z.ZodString;
|
|
@@ -424,8 +424,8 @@ export declare const animationEditorFrameUploadResultSchema: z.ZodObject<{
|
|
|
424
424
|
path: z.ZodString;
|
|
425
425
|
mimeType: z.ZodEnum<{
|
|
426
426
|
"image/png": "image/png";
|
|
427
|
-
"image/webp": "image/webp";
|
|
428
427
|
"application/json": "application/json";
|
|
428
|
+
"image/webp": "image/webp";
|
|
429
429
|
}>;
|
|
430
430
|
size: z.ZodNumber;
|
|
431
431
|
contentHash: z.ZodString;
|
|
@@ -521,8 +521,8 @@ export declare const animationEditorVersionResultSchema: z.ZodObject<{
|
|
|
521
521
|
path: z.ZodString;
|
|
522
522
|
mimeType: z.ZodEnum<{
|
|
523
523
|
"image/png": "image/png";
|
|
524
|
-
"image/webp": "image/webp";
|
|
525
524
|
"application/json": "application/json";
|
|
525
|
+
"image/webp": "image/webp";
|
|
526
526
|
}>;
|
|
527
527
|
size: z.ZodNumber;
|
|
528
528
|
contentHash: z.ZodString;
|
|
@@ -598,8 +598,8 @@ export declare const animationEditorVersionResultSchema: z.ZodObject<{
|
|
|
598
598
|
path: z.ZodString;
|
|
599
599
|
mimeType: z.ZodEnum<{
|
|
600
600
|
"image/png": "image/png";
|
|
601
|
-
"image/webp": "image/webp";
|
|
602
601
|
"application/json": "application/json";
|
|
602
|
+
"image/webp": "image/webp";
|
|
603
603
|
}>;
|
|
604
604
|
size: z.ZodNumber;
|
|
605
605
|
contentHash: z.ZodString;
|
|
@@ -689,8 +689,8 @@ export declare const animationEditorVersionResultSchema: z.ZodObject<{
|
|
|
689
689
|
path: z.ZodString;
|
|
690
690
|
mimeType: z.ZodEnum<{
|
|
691
691
|
"image/png": "image/png";
|
|
692
|
-
"image/webp": "image/webp";
|
|
693
692
|
"application/json": "application/json";
|
|
693
|
+
"image/webp": "image/webp";
|
|
694
694
|
}>;
|
|
695
695
|
size: z.ZodNumber;
|
|
696
696
|
contentHash: z.ZodString;
|
|
@@ -111,19 +111,19 @@ export declare const workspaceArtifactVersionSchema: z.ZodObject<{
|
|
|
111
111
|
}, z.core.$strict>>;
|
|
112
112
|
modelBuildState: z.ZodOptional<z.ZodEnum<{
|
|
113
113
|
stale: "stale";
|
|
114
|
-
unavailable: "unavailable";
|
|
115
114
|
current: "current";
|
|
115
|
+
unavailable: "unavailable";
|
|
116
116
|
}>>;
|
|
117
117
|
}, z.core.$strict>;
|
|
118
118
|
export declare const workspaceArtifactSchema: z.ZodObject<{
|
|
119
119
|
id: z.ZodString;
|
|
120
120
|
kind: z.ZodEnum<{
|
|
121
121
|
file: "file";
|
|
122
|
-
|
|
123
|
-
model: "model";
|
|
122
|
+
playable: "playable";
|
|
124
123
|
image: "image";
|
|
125
124
|
video: "video";
|
|
126
|
-
|
|
125
|
+
model: "model";
|
|
126
|
+
audio: "audio";
|
|
127
127
|
document: "document";
|
|
128
128
|
}>;
|
|
129
129
|
name: z.ZodString;
|
|
@@ -212,8 +212,8 @@ export declare const workspaceArtifactSchema: z.ZodObject<{
|
|
|
212
212
|
}, z.core.$strict>>;
|
|
213
213
|
modelBuildState: z.ZodOptional<z.ZodEnum<{
|
|
214
214
|
stale: "stale";
|
|
215
|
-
unavailable: "unavailable";
|
|
216
215
|
current: "current";
|
|
216
|
+
unavailable: "unavailable";
|
|
217
217
|
}>>;
|
|
218
218
|
}, z.core.$strict>>;
|
|
219
219
|
}, z.core.$strict>;
|
|
@@ -222,11 +222,11 @@ export declare const workspaceArtifactListSchema: z.ZodObject<{
|
|
|
222
222
|
id: z.ZodString;
|
|
223
223
|
kind: z.ZodEnum<{
|
|
224
224
|
file: "file";
|
|
225
|
-
|
|
226
|
-
model: "model";
|
|
225
|
+
playable: "playable";
|
|
227
226
|
image: "image";
|
|
228
227
|
video: "video";
|
|
229
|
-
|
|
228
|
+
model: "model";
|
|
229
|
+
audio: "audio";
|
|
230
230
|
document: "document";
|
|
231
231
|
}>;
|
|
232
232
|
name: z.ZodString;
|
|
@@ -315,8 +315,8 @@ export declare const workspaceArtifactListSchema: z.ZodObject<{
|
|
|
315
315
|
}, z.core.$strict>>;
|
|
316
316
|
modelBuildState: z.ZodOptional<z.ZodEnum<{
|
|
317
317
|
stale: "stale";
|
|
318
|
-
unavailable: "unavailable";
|
|
319
318
|
current: "current";
|
|
319
|
+
unavailable: "unavailable";
|
|
320
320
|
}>>;
|
|
321
321
|
}, z.core.$strict>>;
|
|
322
322
|
}, z.core.$strict>>;
|
|
@@ -11,8 +11,8 @@ export declare const assetGenerationBundleSchema: z.ZodObject<{
|
|
|
11
11
|
path: z.ZodString;
|
|
12
12
|
mimeType: z.ZodEnum<{
|
|
13
13
|
"image/png": "image/png";
|
|
14
|
-
"image/webp": "image/webp";
|
|
15
14
|
"application/json": "application/json";
|
|
15
|
+
"image/webp": "image/webp";
|
|
16
16
|
}>;
|
|
17
17
|
size: z.ZodNumber;
|
|
18
18
|
contentHash: z.ZodString;
|
|
@@ -158,8 +158,8 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
158
158
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
159
159
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
160
160
|
"image/png": "image/png";
|
|
161
|
-
"image/webp": "image/webp";
|
|
162
161
|
"image/jpeg": "image/jpeg";
|
|
162
|
+
"image/webp": "image/webp";
|
|
163
163
|
}>>;
|
|
164
164
|
mode: z.ZodEnum<{
|
|
165
165
|
text: "text";
|
|
@@ -183,8 +183,8 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
183
183
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
184
184
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
185
185
|
"image/png": "image/png";
|
|
186
|
-
"image/webp": "image/webp";
|
|
187
186
|
"image/jpeg": "image/jpeg";
|
|
187
|
+
"image/webp": "image/webp";
|
|
188
188
|
}>>;
|
|
189
189
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
190
190
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -199,8 +199,8 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
199
199
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
200
200
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
201
201
|
"image/png": "image/png";
|
|
202
|
-
"image/webp": "image/webp";
|
|
203
202
|
"image/jpeg": "image/jpeg";
|
|
203
|
+
"image/webp": "image/webp";
|
|
204
204
|
}>>;
|
|
205
205
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
206
206
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -215,15 +215,15 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
215
215
|
base64: z.ZodString;
|
|
216
216
|
mimeType: z.ZodEnum<{
|
|
217
217
|
"image/png": "image/png";
|
|
218
|
-
"image/webp": "image/webp";
|
|
219
218
|
"image/jpeg": "image/jpeg";
|
|
219
|
+
"image/webp": "image/webp";
|
|
220
220
|
}>;
|
|
221
221
|
}, z.core.$strict>>>;
|
|
222
222
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
223
223
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
224
224
|
"image/png": "image/png";
|
|
225
|
-
"image/webp": "image/webp";
|
|
226
225
|
"image/jpeg": "image/jpeg";
|
|
226
|
+
"image/webp": "image/webp";
|
|
227
227
|
}>>;
|
|
228
228
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
229
229
|
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -279,14 +279,14 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
279
279
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
280
280
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
281
281
|
"image/png": "image/png";
|
|
282
|
-
"image/webp": "image/webp";
|
|
283
282
|
"image/jpeg": "image/jpeg";
|
|
283
|
+
"image/webp": "image/webp";
|
|
284
284
|
}>>;
|
|
285
285
|
multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
286
286
|
view: z.ZodEnum<{
|
|
287
|
-
left: "left";
|
|
288
287
|
right: "right";
|
|
289
288
|
back: "back";
|
|
289
|
+
left: "left";
|
|
290
290
|
top: "top";
|
|
291
291
|
bottom: "bottom";
|
|
292
292
|
left_front: "left_front";
|
|
@@ -295,8 +295,8 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
295
295
|
imageBase64: z.ZodString;
|
|
296
296
|
mimeType: z.ZodOptional<z.ZodEnum<{
|
|
297
297
|
"image/png": "image/png";
|
|
298
|
-
"image/webp": "image/webp";
|
|
299
298
|
"image/jpeg": "image/jpeg";
|
|
299
|
+
"image/webp": "image/webp";
|
|
300
300
|
}>>;
|
|
301
301
|
}, z.core.$strict>>>;
|
|
302
302
|
modelRef: z.ZodOptional<z.ZodString>;
|
|
@@ -408,8 +408,8 @@ export declare const workspaceAssetToolWriteSchema: z.ZodUnion<readonly [z.ZodOb
|
|
|
408
408
|
clientRequestId: z.ZodString;
|
|
409
409
|
mimeType: z.ZodEnum<{
|
|
410
410
|
"image/png": "image/png";
|
|
411
|
-
"image/webp": "image/webp";
|
|
412
411
|
"image/jpeg": "image/jpeg";
|
|
412
|
+
"image/webp": "image/webp";
|
|
413
413
|
}>;
|
|
414
414
|
contentBase64: z.ZodString;
|
|
415
415
|
}, z.core.$strict>;
|
|
@@ -9,8 +9,8 @@ export declare const assetGenerationRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
9
9
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
10
10
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
11
11
|
"image/png": "image/png";
|
|
12
|
-
"image/webp": "image/webp";
|
|
13
12
|
"image/jpeg": "image/jpeg";
|
|
13
|
+
"image/webp": "image/webp";
|
|
14
14
|
}>>;
|
|
15
15
|
mode: z.ZodEnum<{
|
|
16
16
|
text: "text";
|
|
@@ -34,8 +34,8 @@ export declare const assetGenerationRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
34
34
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
35
35
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
36
36
|
"image/png": "image/png";
|
|
37
|
-
"image/webp": "image/webp";
|
|
38
37
|
"image/jpeg": "image/jpeg";
|
|
38
|
+
"image/webp": "image/webp";
|
|
39
39
|
}>>;
|
|
40
40
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
41
41
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -50,8 +50,8 @@ export declare const assetGenerationRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
50
50
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
51
51
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
52
52
|
"image/png": "image/png";
|
|
53
|
-
"image/webp": "image/webp";
|
|
54
53
|
"image/jpeg": "image/jpeg";
|
|
54
|
+
"image/webp": "image/webp";
|
|
55
55
|
}>>;
|
|
56
56
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
57
57
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -66,15 +66,15 @@ export declare const assetGenerationRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
66
66
|
base64: z.ZodString;
|
|
67
67
|
mimeType: z.ZodEnum<{
|
|
68
68
|
"image/png": "image/png";
|
|
69
|
-
"image/webp": "image/webp";
|
|
70
69
|
"image/jpeg": "image/jpeg";
|
|
70
|
+
"image/webp": "image/webp";
|
|
71
71
|
}>;
|
|
72
72
|
}, z.core.$strict>>>;
|
|
73
73
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
74
74
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
75
75
|
"image/png": "image/png";
|
|
76
|
-
"image/webp": "image/webp";
|
|
77
76
|
"image/jpeg": "image/jpeg";
|
|
77
|
+
"image/webp": "image/webp";
|
|
78
78
|
}>>;
|
|
79
79
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
80
80
|
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -130,14 +130,14 @@ export declare const assetGenerationRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
130
130
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
131
131
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
132
132
|
"image/png": "image/png";
|
|
133
|
-
"image/webp": "image/webp";
|
|
134
133
|
"image/jpeg": "image/jpeg";
|
|
134
|
+
"image/webp": "image/webp";
|
|
135
135
|
}>>;
|
|
136
136
|
multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
137
137
|
view: z.ZodEnum<{
|
|
138
|
-
left: "left";
|
|
139
138
|
right: "right";
|
|
140
139
|
back: "back";
|
|
140
|
+
left: "left";
|
|
141
141
|
top: "top";
|
|
142
142
|
bottom: "bottom";
|
|
143
143
|
left_front: "left_front";
|
|
@@ -146,8 +146,8 @@ export declare const assetGenerationRequestSchema: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
146
146
|
imageBase64: z.ZodString;
|
|
147
147
|
mimeType: z.ZodOptional<z.ZodEnum<{
|
|
148
148
|
"image/png": "image/png";
|
|
149
|
-
"image/webp": "image/webp";
|
|
150
149
|
"image/jpeg": "image/jpeg";
|
|
150
|
+
"image/webp": "image/webp";
|
|
151
151
|
}>>;
|
|
152
152
|
}, z.core.$strict>>>;
|
|
153
153
|
modelRef: z.ZodOptional<z.ZodString>;
|
|
@@ -331,9 +331,9 @@ export declare const assetGenerationUsageAttemptSchema: z.ZodObject<{
|
|
|
331
331
|
export declare const assetGenerationUsageSchema: z.ZodObject<{
|
|
332
332
|
status: z.ZodEnum<{
|
|
333
333
|
pending: "pending";
|
|
334
|
+
unavailable: "unavailable";
|
|
334
335
|
recorded: "recorded";
|
|
335
336
|
partial: "partial";
|
|
336
|
-
unavailable: "unavailable";
|
|
337
337
|
}>;
|
|
338
338
|
currency: z.ZodLiteral<"USD">;
|
|
339
339
|
costMicros: z.ZodNullable<z.ZodNumber>;
|
|
@@ -416,23 +416,23 @@ export declare const assetGenerationTaskSchema: z.ZodObject<{
|
|
|
416
416
|
legacyResultAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
417
417
|
resultPreviewUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
418
418
|
kind: z.ZodEnum<{
|
|
419
|
-
animation: "animation";
|
|
420
|
-
audio: "audio";
|
|
421
|
-
model: "model";
|
|
422
419
|
image: "image";
|
|
423
|
-
sprite: "sprite";
|
|
424
420
|
video: "video";
|
|
421
|
+
model: "model";
|
|
422
|
+
audio: "audio";
|
|
423
|
+
animation: "animation";
|
|
424
|
+
sprite: "sprite";
|
|
425
425
|
}>;
|
|
426
426
|
prompt: z.ZodString;
|
|
427
427
|
status: z.ZodEnum<{
|
|
428
428
|
failed: "failed";
|
|
429
429
|
running: "running";
|
|
430
430
|
interrupted: "interrupted";
|
|
431
|
+
cancelled: "cancelled";
|
|
431
432
|
queued: "queued";
|
|
432
433
|
cancel_requested: "cancel_requested";
|
|
433
434
|
awaiting_adoption: "awaiting_adoption";
|
|
434
435
|
saved: "saved";
|
|
435
|
-
cancelled: "cancelled";
|
|
436
436
|
}>;
|
|
437
437
|
createdAt: z.ZodString;
|
|
438
438
|
updatedAt: z.ZodString;
|
|
@@ -464,9 +464,9 @@ export declare const assetGenerationTaskSchema: z.ZodObject<{
|
|
|
464
464
|
usage: z.ZodObject<{
|
|
465
465
|
status: z.ZodEnum<{
|
|
466
466
|
pending: "pending";
|
|
467
|
+
unavailable: "unavailable";
|
|
467
468
|
recorded: "recorded";
|
|
468
469
|
partial: "partial";
|
|
469
|
-
unavailable: "unavailable";
|
|
470
470
|
}>;
|
|
471
471
|
currency: z.ZodLiteral<"USD">;
|
|
472
472
|
costMicros: z.ZodNullable<z.ZodNumber>;
|
|
@@ -531,8 +531,8 @@ export declare const assetGenerationTaskSchema: z.ZodObject<{
|
|
|
531
531
|
path: z.ZodString;
|
|
532
532
|
mimeType: z.ZodEnum<{
|
|
533
533
|
"image/png": "image/png";
|
|
534
|
-
"image/webp": "image/webp";
|
|
535
534
|
"application/json": "application/json";
|
|
535
|
+
"image/webp": "image/webp";
|
|
536
536
|
}>;
|
|
537
537
|
size: z.ZodNumber;
|
|
538
538
|
contentHash: z.ZodString;
|
|
@@ -673,23 +673,23 @@ export declare const assetGenerationTaskListSchema: z.ZodObject<{
|
|
|
673
673
|
legacyResultAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
674
674
|
resultPreviewUnavailable: z.ZodOptional<z.ZodBoolean>;
|
|
675
675
|
kind: z.ZodEnum<{
|
|
676
|
-
animation: "animation";
|
|
677
|
-
audio: "audio";
|
|
678
|
-
model: "model";
|
|
679
676
|
image: "image";
|
|
680
|
-
sprite: "sprite";
|
|
681
677
|
video: "video";
|
|
678
|
+
model: "model";
|
|
679
|
+
audio: "audio";
|
|
680
|
+
animation: "animation";
|
|
681
|
+
sprite: "sprite";
|
|
682
682
|
}>;
|
|
683
683
|
prompt: z.ZodString;
|
|
684
684
|
status: z.ZodEnum<{
|
|
685
685
|
failed: "failed";
|
|
686
686
|
running: "running";
|
|
687
687
|
interrupted: "interrupted";
|
|
688
|
+
cancelled: "cancelled";
|
|
688
689
|
queued: "queued";
|
|
689
690
|
cancel_requested: "cancel_requested";
|
|
690
691
|
awaiting_adoption: "awaiting_adoption";
|
|
691
692
|
saved: "saved";
|
|
692
|
-
cancelled: "cancelled";
|
|
693
693
|
}>;
|
|
694
694
|
createdAt: z.ZodString;
|
|
695
695
|
updatedAt: z.ZodString;
|
|
@@ -721,9 +721,9 @@ export declare const assetGenerationTaskListSchema: z.ZodObject<{
|
|
|
721
721
|
usage: z.ZodObject<{
|
|
722
722
|
status: z.ZodEnum<{
|
|
723
723
|
pending: "pending";
|
|
724
|
+
unavailable: "unavailable";
|
|
724
725
|
recorded: "recorded";
|
|
725
726
|
partial: "partial";
|
|
726
|
-
unavailable: "unavailable";
|
|
727
727
|
}>;
|
|
728
728
|
currency: z.ZodLiteral<"USD">;
|
|
729
729
|
costMicros: z.ZodNullable<z.ZodNumber>;
|
|
@@ -788,8 +788,8 @@ export declare const assetGenerationTaskListSchema: z.ZodObject<{
|
|
|
788
788
|
path: z.ZodString;
|
|
789
789
|
mimeType: z.ZodEnum<{
|
|
790
790
|
"image/png": "image/png";
|
|
791
|
-
"image/webp": "image/webp";
|
|
792
791
|
"application/json": "application/json";
|
|
792
|
+
"image/webp": "image/webp";
|
|
793
793
|
}>;
|
|
794
794
|
size: z.ZodNumber;
|
|
795
795
|
contentHash: z.ZodString;
|
|
@@ -888,8 +888,8 @@ export declare const assetGenerationTaskCreateSchema: z.ZodObject<{
|
|
|
888
888
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
889
889
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
890
890
|
"image/png": "image/png";
|
|
891
|
-
"image/webp": "image/webp";
|
|
892
891
|
"image/jpeg": "image/jpeg";
|
|
892
|
+
"image/webp": "image/webp";
|
|
893
893
|
}>>;
|
|
894
894
|
mode: z.ZodEnum<{
|
|
895
895
|
text: "text";
|
|
@@ -913,8 +913,8 @@ export declare const assetGenerationTaskCreateSchema: z.ZodObject<{
|
|
|
913
913
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
914
914
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
915
915
|
"image/png": "image/png";
|
|
916
|
-
"image/webp": "image/webp";
|
|
917
916
|
"image/jpeg": "image/jpeg";
|
|
917
|
+
"image/webp": "image/webp";
|
|
918
918
|
}>>;
|
|
919
919
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
920
920
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -929,8 +929,8 @@ export declare const assetGenerationTaskCreateSchema: z.ZodObject<{
|
|
|
929
929
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
930
930
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
931
931
|
"image/png": "image/png";
|
|
932
|
-
"image/webp": "image/webp";
|
|
933
932
|
"image/jpeg": "image/jpeg";
|
|
933
|
+
"image/webp": "image/webp";
|
|
934
934
|
}>>;
|
|
935
935
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
936
936
|
frameCount: z.ZodUnion<readonly [z.ZodLiteral<6>, z.ZodLiteral<8>, z.ZodLiteral<12>, z.ZodLiteral<16>]>;
|
|
@@ -945,15 +945,15 @@ export declare const assetGenerationTaskCreateSchema: z.ZodObject<{
|
|
|
945
945
|
base64: z.ZodString;
|
|
946
946
|
mimeType: z.ZodEnum<{
|
|
947
947
|
"image/png": "image/png";
|
|
948
|
-
"image/webp": "image/webp";
|
|
949
948
|
"image/jpeg": "image/jpeg";
|
|
949
|
+
"image/webp": "image/webp";
|
|
950
950
|
}>;
|
|
951
951
|
}, z.core.$strict>>>;
|
|
952
952
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
953
953
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
954
954
|
"image/png": "image/png";
|
|
955
|
-
"image/webp": "image/webp";
|
|
956
955
|
"image/jpeg": "image/jpeg";
|
|
956
|
+
"image/webp": "image/webp";
|
|
957
957
|
}>>;
|
|
958
958
|
imageModelRef: z.ZodOptional<z.ZodString>;
|
|
959
959
|
aspectRatio: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1009,14 +1009,14 @@ export declare const assetGenerationTaskCreateSchema: z.ZodObject<{
|
|
|
1009
1009
|
referenceImageBase64: z.ZodOptional<z.ZodString>;
|
|
1010
1010
|
referenceImageMimeType: z.ZodOptional<z.ZodEnum<{
|
|
1011
1011
|
"image/png": "image/png";
|
|
1012
|
-
"image/webp": "image/webp";
|
|
1013
1012
|
"image/jpeg": "image/jpeg";
|
|
1013
|
+
"image/webp": "image/webp";
|
|
1014
1014
|
}>>;
|
|
1015
1015
|
multiViewImages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1016
1016
|
view: z.ZodEnum<{
|
|
1017
|
-
left: "left";
|
|
1018
1017
|
right: "right";
|
|
1019
1018
|
back: "back";
|
|
1019
|
+
left: "left";
|
|
1020
1020
|
top: "top";
|
|
1021
1021
|
bottom: "bottom";
|
|
1022
1022
|
left_front: "left_front";
|
|
@@ -1025,8 +1025,8 @@ export declare const assetGenerationTaskCreateSchema: z.ZodObject<{
|
|
|
1025
1025
|
imageBase64: z.ZodString;
|
|
1026
1026
|
mimeType: z.ZodOptional<z.ZodEnum<{
|
|
1027
1027
|
"image/png": "image/png";
|
|
1028
|
-
"image/webp": "image/webp";
|
|
1029
1028
|
"image/jpeg": "image/jpeg";
|
|
1029
|
+
"image/webp": "image/webp";
|
|
1030
1030
|
}>>;
|
|
1031
1031
|
}, z.core.$strict>>>;
|
|
1032
1032
|
modelRef: z.ZodOptional<z.ZodString>;
|
|
@@ -1099,9 +1099,9 @@ export declare const assetGenerationModelQuerySchema: z.ZodObject<{
|
|
|
1099
1099
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1100
1100
|
status: z.ZodEnum<{
|
|
1101
1101
|
pending: "pending";
|
|
1102
|
+
unavailable: "unavailable";
|
|
1102
1103
|
recorded: "recorded";
|
|
1103
1104
|
partial: "partial";
|
|
1104
|
-
unavailable: "unavailable";
|
|
1105
1105
|
}>;
|
|
1106
1106
|
currency: z.ZodLiteral<"USD">;
|
|
1107
1107
|
costMicros: z.ZodNullable<z.ZodNumber>;
|
|
@@ -1196,9 +1196,9 @@ export declare const assetGenerationVideoQuerySchema: z.ZodObject<{
|
|
|
1196
1196
|
usage: z.ZodOptional<z.ZodObject<{
|
|
1197
1197
|
status: z.ZodEnum<{
|
|
1198
1198
|
pending: "pending";
|
|
1199
|
+
unavailable: "unavailable";
|
|
1199
1200
|
recorded: "recorded";
|
|
1200
1201
|
partial: "partial";
|
|
1201
|
-
unavailable: "unavailable";
|
|
1202
1202
|
}>;
|
|
1203
1203
|
currency: z.ZodLiteral<"USD">;
|
|
1204
1204
|
costMicros: z.ZodNullable<z.ZodNumber>;
|