@nativestudio/cli 0.3.0-rc.14 → 0.3.0-rc.16
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/COMPATIBILITY.json +11 -11
- package/components/runtime.json +7 -7
- package/components/runtime.tgz +0 -0
- package/dist/_chunks/{chunk-C62JAWRQ.js → chunk-35XQP7RY.js} +1 -1
- package/dist/_chunks/{chunk-RDIMORUT.js → chunk-5LSB6HDP.js} +1 -1
- package/dist/_chunks/{chunk-W6C63ZN7.js → chunk-B7BQERMR.js} +1 -1
- package/dist/_chunks/{chunk-S74X4KIC.js → chunk-BGH3Y5UX.js} +1 -1
- package/dist/_chunks/chunk-CW67UB2I.js +1 -0
- package/dist/_chunks/chunk-EML7OS3I.js +1 -0
- package/dist/_chunks/{chunk-3AVC742O.js → chunk-FX5UVDTH.js} +1 -1
- package/dist/_chunks/{chunk-6UYY5KHI.js → chunk-HAOCQVMU.js} +1 -1
- package/dist/_chunks/{chunk-VD3OQ743.js → chunk-JLQCUXCT.js} +1 -1
- package/dist/_chunks/chunk-KOCUZ3AE.js +1 -0
- package/dist/_chunks/chunk-LOYAGAAN.js +1 -0
- package/dist/_chunks/chunk-MT5XZ67U.js +1 -0
- package/dist/_chunks/{chunk-VDNNFVTZ.js → chunk-OW6R4MAQ.js} +1 -1
- package/dist/_chunks/{chunk-6LY4JYSG.js → chunk-PYUYK3FV.js} +1 -1
- package/dist/_chunks/chunk-RT77PT3A.js +1 -0
- package/dist/_chunks/chunk-RUPH3HZ2.js +1 -0
- package/dist/_chunks/chunk-SKAVQ4UW.js +1 -0
- package/dist/_chunks/{chunk-ROBBF33U.js → chunk-SRB5ZFKO.js} +1 -1
- package/dist/_chunks/chunk-TQIJBUSP.js +1 -0
- package/dist/_chunks/chunk-TWC3NXFA.js +1 -0
- package/dist/_chunks/chunk-U5FT4VBR.js +1 -0
- package/dist/_chunks/chunk-U6ZG2G7W.js +1 -0
- package/dist/_chunks/chunk-UMCOLDHH.js +1 -0
- package/dist/_chunks/chunk-VLEWCWYF.js +1 -0
- package/dist/_chunks/chunk-WAADGZEV.js +1 -0
- package/dist/_chunks/{chunk-VKLS4QK5.js → chunk-XVQWVJWD.js} +1 -1
- package/dist/_chunks/{connect-6UH7ZFAC.js → connect-OY623MMA.js} +1 -1
- package/dist/_chunks/{device-management-H3NIDIPY.js → device-management-ELAPFWM2.js} +1 -1
- package/dist/_chunks/device-preflight-27RDJVBU.js +1 -0
- package/dist/_chunks/{devices-inventory-I2E3Q4DA.js → devices-inventory-2XEJPPO5.js} +1 -1
- package/dist/_chunks/{devices-main-VV2VYU4T.js → devices-main-UMF3ZBHA.js} +1 -1
- package/dist/_chunks/{files-TTIQ7LYJ.js → files-72BEXD7E.js} +1 -1
- package/dist/_chunks/{host-main-3JFGVU5P.js → host-main-WYTVTQ4Z.js} +1 -1
- package/dist/_chunks/http-profile-D65WSTZU.js +1 -0
- package/dist/_chunks/{library-main-CTBW7DAI.js → library-main-L7SY7V7L.js} +1 -1
- package/dist/_chunks/local-main-7FONRY6F.js +1 -0
- package/dist/_chunks/{local-mcp-XB6E3V2W.js → local-mcp-ELFJBJG6.js} +1 -1
- package/dist/_chunks/main-XWUYQQ32.js +2 -0
- package/dist/_chunks/mcp-ACNG635V.js +1 -0
- package/dist/_chunks/oauth-QBJ62PIA.js +1 -0
- package/dist/_chunks/observe-entry-3CHBX74Y.js +1 -0
- package/dist/_chunks/remote-client-WIZVKP3O.js +1 -0
- package/dist/_chunks/{render-main-VTM6WGFP.js → render-main-ZXYQ7EV5.js} +1 -1
- package/dist/_chunks/{source-import-KKV2UWJO.js → source-import-ZWR26CMU.js} +1 -1
- package/dist/_chunks/src-TR4JNPGI.js +1 -0
- package/dist/_chunks/{stdio-main-Y7N4NVKU.js → stdio-main-QQLYSRD4.js} +1 -1
- package/dist/_chunks/workspace-main-NYDAQGB4.js +1 -0
- package/dist/_types/cli/local/desktop-contract.d.ts +14 -14
- package/dist/_types/cli/local/desktop-device-contract.d.ts +5 -5
- package/dist/_types/cli/local/desktop-device-owner.d.ts +2 -2
- package/dist/_types/cli/local/desktop-device-state.d.ts +2 -2
- package/dist/_types/cli/local/desktop-library.d.ts +1 -1
- package/dist/_types/cli/local/desktop-owner.d.ts +4 -4
- package/dist/_types/cli/local/manager.d.ts +2 -2
- package/dist/_types/cli/local/mcp-tools.d.ts +2 -2
- package/dist/_types/cli/local-management.d.ts +1 -1
- package/dist/_types/contracts/agent-execution-lifecycle.d.ts +55 -43
- package/dist/_types/contracts/agent-execution-oauth.d.ts +2 -2
- package/dist/_types/contracts/agent-execution-registration.d.ts +59 -15
- package/dist/_types/contracts/agent-execution-selection.d.ts +7 -7
- package/dist/_types/contracts/agent-host-contract.d.ts +189 -0
- package/dist/_types/contracts/agent-host-execution.d.ts +92 -61
- package/dist/_types/contracts/agent-host-generic-transport.d.ts +4 -4
- package/dist/_types/contracts/agent-host-legacy-release.d.ts +31 -0
- package/dist/_types/contracts/agent-host-protocol.d.ts +71 -0
- package/dist/_types/contracts/agent-host-wire.d.ts +263 -0
- package/dist/_types/contracts/agent-host.d.ts +126 -65
- package/dist/_types/contracts/artifact-discovery.d.ts +16 -16
- package/dist/_types/contracts/composition-observation.d.ts +1 -1
- package/dist/_types/contracts/delivery-operations.d.ts +1 -1
- package/dist/_types/contracts/delivery-summary.d.ts +1 -1
- package/dist/_types/contracts/device-onboarding.d.ts +29 -0
- package/dist/_types/contracts/device-render.d.ts +26 -0
- package/dist/_types/contracts/exploration-recommendation.d.ts +2 -2
- package/dist/_types/contracts/federation-result.d.ts +239 -0
- package/dist/_types/contracts/final-ready.d.ts +2 -2
- package/dist/_types/contracts/final-render.d.ts +2 -2
- package/dist/_types/contracts/index.d.ts +6 -0
- package/dist/_types/contracts/interface/execution-output.d.ts +9 -6
- package/dist/_types/contracts/interface/production-snapshot.d.ts +5 -5
- package/dist/_types/contracts/keyframe-generation.d.ts +2 -2
- package/dist/_types/contracts/keyframe-review.d.ts +1 -1
- package/dist/_types/contracts/lifecycle-event-projections.d.ts +17 -2
- package/dist/_types/contracts/lifecycle-events.d.ts +54 -2
- package/dist/_types/contracts/local-execution/device-inventory.d.ts +28 -2
- package/dist/_types/contracts/local-execution/index.d.ts +1 -0
- package/dist/_types/contracts/local-execution/ipc.d.ts +6 -6
- package/dist/_types/contracts/local-execution/library.d.ts +2 -2
- package/dist/_types/contracts/local-execution/processor.d.ts +7 -7
- package/dist/_types/contracts/local-execution/workspace.d.ts +1 -1
- package/dist/_types/contracts/media-observation.d.ts +3 -3
- package/dist/_types/contracts/native-tool-authority.d.ts +25 -21
- package/dist/_types/contracts/native-tool-execution.d.ts +60 -39
- package/dist/_types/contracts/navigation-context.d.ts +4 -4
- package/dist/_types/contracts/navigation-groups.d.ts +1 -1
- package/dist/_types/contracts/navigation.d.ts +5 -5
- package/dist/_types/contracts/production-feedback.d.ts +452 -0
- package/dist/_types/contracts/repair-strategy.d.ts +1 -1
- package/dist/_types/contracts/review-intelligence-final-output.d.ts +1 -1
- package/dist/_types/contracts/rough-cut.d.ts +1 -1
- package/dist/_types/contracts/shares.d.ts +135 -0
- package/dist/_types/contracts/speech.d.ts +5 -5
- package/dist/_types/contracts/temporal-evidence-operation.d.ts +1 -1
- package/dist/_types/contracts/video-generation.d.ts +2 -2
- package/dist/_types/contracts/video-review.d.ts +1 -1
- package/dist/_types/contracts/visual-exploration.d.ts +2 -2
- package/dist/_types/contracts/voice-profile/contracts.d.ts +4 -4
- package/dist/_types/contracts/workspace.d.ts +21 -0
- package/dist/_types/sdk/local-runtime/workspace.d.ts +4 -4
- package/dist/_types/sdk/local-runtime-client.d.ts +3 -3
- package/dist/entry.js +1 -1
- package/dist/local-management.js +1 -1
- package/dist/local-navigation.js +1 -1
- package/dist/native/helper.exe +0 -0
- package/dist/native/helper.json +1 -0
- package/package.json +1 -1
- package/dist/_chunks/chunk-2AI3WF2O.js +0 -1
- package/dist/_chunks/chunk-5DY7LSZZ.js +0 -1
- package/dist/_chunks/chunk-6LU6GJKW.js +0 -1
- package/dist/_chunks/chunk-77IAHNM2.js +0 -1
- package/dist/_chunks/chunk-FU3524Z6.js +0 -1
- package/dist/_chunks/chunk-HY7NXJYX.js +0 -1
- package/dist/_chunks/chunk-KB2GVAN7.js +0 -1
- package/dist/_chunks/chunk-PDQYFIQQ.js +0 -1
- package/dist/_chunks/chunk-PUNG4ND7.js +0 -1
- package/dist/_chunks/chunk-RK2P3UVF.js +0 -1
- package/dist/_chunks/chunk-SV3NF7GO.js +0 -1
- package/dist/_chunks/chunk-TLPI6P7L.js +0 -1
- package/dist/_chunks/chunk-U7ECMITP.js +0 -1
- package/dist/_chunks/chunk-ZRSYOFMX.js +0 -1
- package/dist/_chunks/device-preflight-LHFLPVAB.js +0 -1
- package/dist/_chunks/http-profile-NIQDCFPU.js +0 -1
- package/dist/_chunks/local-main-227MNGEC.js +0 -1
- package/dist/_chunks/main-W6NNZFLK.js +0 -2
- package/dist/_chunks/mcp-EXQ5UAHB.js +0 -1
- package/dist/_chunks/oauth-HC6TI7HB.js +0 -1
- package/dist/_chunks/src-OIY5TBQT.js +0 -1
- package/dist/_chunks/workspace-main-Y7ZVBRJJ.js +0 -1
- package/dist/native/Bootstrap.ps1 +0 -90
- package/dist/native/JobNative.cs +0 -137
- package/dist/native/JobRunner.cs +0 -381
- package/dist/native/NativeMain.cs +0 -161
- package/dist/native/PipeBridge.cs +0 -260
- package/dist/native/PrivateAccess.cs +0 -152
|
@@ -0,0 +1,452 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** 游标形状统一在合同层校验;持久化适配器不额外依赖未声明的 Zod。 */
|
|
3
|
+
export declare const ProductionEventCursorSchema: z.ZodObject<{
|
|
4
|
+
v: z.ZodLiteral<1>;
|
|
5
|
+
t: z.ZodUUID;
|
|
6
|
+
p: z.ZodUUID;
|
|
7
|
+
e: z.ZodUUID;
|
|
8
|
+
n: z.ZodString;
|
|
9
|
+
}, z.core.$strict>;
|
|
10
|
+
/** 制作反馈只投影原状态;查询水位和展示摘要不成为新的制作状态机。 */
|
|
11
|
+
export declare const ProductionFeedbackInputSchema: z.ZodObject<{
|
|
12
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
13
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
14
|
+
operationId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "OperationId", "out">>;
|
|
15
|
+
ifNoneMatch: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strict>;
|
|
17
|
+
export declare const ProductionFeedbackSchema: z.ZodObject<{
|
|
18
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
19
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
20
|
+
projectId: z.ZodUUID;
|
|
21
|
+
operationId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "OperationId", "out">>;
|
|
22
|
+
productionRevision: z.ZodInt;
|
|
23
|
+
state: z.ZodObject<{
|
|
24
|
+
lifecycle: z.ZodEnum<{
|
|
25
|
+
ACTIVE: "ACTIVE";
|
|
26
|
+
COMPLETED: "COMPLETED";
|
|
27
|
+
FAILED: "FAILED";
|
|
28
|
+
CANCELLED: "CANCELLED";
|
|
29
|
+
}>;
|
|
30
|
+
phase: z.ZodEnum<{
|
|
31
|
+
INTAKE: "INTAKE";
|
|
32
|
+
PLANNING: "PLANNING";
|
|
33
|
+
PREPARING_GENERATION: "PREPARING_GENERATION";
|
|
34
|
+
GENERATING: "GENERATING";
|
|
35
|
+
SHOT_REVIEW: "SHOT_REVIEW";
|
|
36
|
+
ASSEMBLING: "ASSEMBLING";
|
|
37
|
+
ROUGH_CUT_REVIEW: "ROUGH_CUT_REVIEW";
|
|
38
|
+
FINAL_READY: "FINAL_READY";
|
|
39
|
+
FINAL_RENDERING: "FINAL_RENDERING";
|
|
40
|
+
DELIVERY_VALIDATION: "DELIVERY_VALIDATION";
|
|
41
|
+
}>;
|
|
42
|
+
condition: z.ZodEnum<{
|
|
43
|
+
BLOCKED: "BLOCKED";
|
|
44
|
+
RUNNABLE: "RUNNABLE";
|
|
45
|
+
RUNNING: "RUNNING";
|
|
46
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
47
|
+
WAITING_HUMAN: "WAITING_HUMAN";
|
|
48
|
+
RETRYING: "RETRYING";
|
|
49
|
+
}>;
|
|
50
|
+
revision: z.ZodInt;
|
|
51
|
+
blockingReason: z.ZodNullable<z.ZodString>;
|
|
52
|
+
waitingReason: z.ZodNullable<z.ZodString>;
|
|
53
|
+
}, z.core.$strip>;
|
|
54
|
+
semanticStatus: z.ZodEnum<{
|
|
55
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
56
|
+
NOT_FOUND: "NOT_FOUND";
|
|
57
|
+
BLOCKED: "BLOCKED";
|
|
58
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
59
|
+
CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
|
|
60
|
+
INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
|
|
61
|
+
CANCELLED: "CANCELLED";
|
|
62
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
63
|
+
RETRYING: "RETRYING";
|
|
64
|
+
SUCCESS: "SUCCESS";
|
|
65
|
+
ACCEPTED: "ACCEPTED";
|
|
66
|
+
NO_CHANGE: "NO_CHANGE";
|
|
67
|
+
STALE_BASIS: "STALE_BASIS";
|
|
68
|
+
WAITING_INPUT: "WAITING_INPUT";
|
|
69
|
+
PROVIDER_UNAVAILABLE: "PROVIDER_UNAVAILABLE";
|
|
70
|
+
BUDGET_BLOCKED: "BUDGET_BLOCKED";
|
|
71
|
+
SUPERSEDED: "SUPERSEDED";
|
|
72
|
+
}>;
|
|
73
|
+
work: z.ZodObject<{
|
|
74
|
+
total: z.ZodInt;
|
|
75
|
+
pending: z.ZodInt;
|
|
76
|
+
ready: z.ZodInt;
|
|
77
|
+
running: z.ZodInt;
|
|
78
|
+
waiting: z.ZodInt;
|
|
79
|
+
succeeded: z.ZodInt;
|
|
80
|
+
failed: z.ZodInt;
|
|
81
|
+
cancelled: z.ZodInt;
|
|
82
|
+
superseded: z.ZodInt;
|
|
83
|
+
attempts: z.ZodInt;
|
|
84
|
+
}, z.core.$strip>;
|
|
85
|
+
blockers: z.ZodArray<z.ZodString>;
|
|
86
|
+
nextActions: z.ZodArray<z.ZodObject<{
|
|
87
|
+
capability: z.ZodString;
|
|
88
|
+
targetType: z.ZodString;
|
|
89
|
+
targetId: z.ZodString;
|
|
90
|
+
availability: z.ZodEnum<{
|
|
91
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
92
|
+
AVAILABLE: "AVAILABLE";
|
|
93
|
+
}>;
|
|
94
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
95
|
+
}, z.core.$strip>>;
|
|
96
|
+
media: z.ZodObject<{
|
|
97
|
+
previewReady: z.ZodBoolean;
|
|
98
|
+
finalRenderReady: z.ZodBoolean;
|
|
99
|
+
deliveryComplete: z.ZodBoolean;
|
|
100
|
+
}, z.core.$strict>;
|
|
101
|
+
humanLinks: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
102
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
103
|
+
items: z.ZodArray<z.ZodObject<{
|
|
104
|
+
rel: z.ZodEnum<{
|
|
105
|
+
delivery: "delivery";
|
|
106
|
+
workspace: "workspace";
|
|
107
|
+
project: "project";
|
|
108
|
+
production: "production";
|
|
109
|
+
artifact: "artifact";
|
|
110
|
+
voice_profile: "voice_profile";
|
|
111
|
+
}>;
|
|
112
|
+
href: z.ZodURL;
|
|
113
|
+
}, z.core.$strict>>;
|
|
114
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
115
|
+
status: z.ZodEnum<{
|
|
116
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
117
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
118
|
+
}>;
|
|
119
|
+
items: z.ZodArray<z.ZodObject<{
|
|
120
|
+
rel: z.ZodEnum<{
|
|
121
|
+
delivery: "delivery";
|
|
122
|
+
workspace: "workspace";
|
|
123
|
+
project: "project";
|
|
124
|
+
production: "production";
|
|
125
|
+
artifact: "artifact";
|
|
126
|
+
voice_profile: "voice_profile";
|
|
127
|
+
}>;
|
|
128
|
+
href: z.ZodURL;
|
|
129
|
+
}, z.core.$strict>>;
|
|
130
|
+
}, z.core.$strict>], "status">;
|
|
131
|
+
}, z.core.$strict>;
|
|
132
|
+
export declare const ProductionFeedbackResultSchema: z.ZodObject<{
|
|
133
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
134
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
135
|
+
condition: z.ZodEnum<{
|
|
136
|
+
CURRENT: "CURRENT";
|
|
137
|
+
NOT_MODIFIED: "NOT_MODIFIED";
|
|
138
|
+
}>;
|
|
139
|
+
etag: z.ZodString;
|
|
140
|
+
cursor: z.ZodString;
|
|
141
|
+
retryAfterMs: z.ZodInt;
|
|
142
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
143
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
144
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
145
|
+
projectId: z.ZodUUID;
|
|
146
|
+
operationId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "OperationId", "out">>;
|
|
147
|
+
productionRevision: z.ZodInt;
|
|
148
|
+
state: z.ZodObject<{
|
|
149
|
+
lifecycle: z.ZodEnum<{
|
|
150
|
+
ACTIVE: "ACTIVE";
|
|
151
|
+
COMPLETED: "COMPLETED";
|
|
152
|
+
FAILED: "FAILED";
|
|
153
|
+
CANCELLED: "CANCELLED";
|
|
154
|
+
}>;
|
|
155
|
+
phase: z.ZodEnum<{
|
|
156
|
+
INTAKE: "INTAKE";
|
|
157
|
+
PLANNING: "PLANNING";
|
|
158
|
+
PREPARING_GENERATION: "PREPARING_GENERATION";
|
|
159
|
+
GENERATING: "GENERATING";
|
|
160
|
+
SHOT_REVIEW: "SHOT_REVIEW";
|
|
161
|
+
ASSEMBLING: "ASSEMBLING";
|
|
162
|
+
ROUGH_CUT_REVIEW: "ROUGH_CUT_REVIEW";
|
|
163
|
+
FINAL_READY: "FINAL_READY";
|
|
164
|
+
FINAL_RENDERING: "FINAL_RENDERING";
|
|
165
|
+
DELIVERY_VALIDATION: "DELIVERY_VALIDATION";
|
|
166
|
+
}>;
|
|
167
|
+
condition: z.ZodEnum<{
|
|
168
|
+
BLOCKED: "BLOCKED";
|
|
169
|
+
RUNNABLE: "RUNNABLE";
|
|
170
|
+
RUNNING: "RUNNING";
|
|
171
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
172
|
+
WAITING_HUMAN: "WAITING_HUMAN";
|
|
173
|
+
RETRYING: "RETRYING";
|
|
174
|
+
}>;
|
|
175
|
+
revision: z.ZodInt;
|
|
176
|
+
blockingReason: z.ZodNullable<z.ZodString>;
|
|
177
|
+
waitingReason: z.ZodNullable<z.ZodString>;
|
|
178
|
+
}, z.core.$strip>;
|
|
179
|
+
semanticStatus: z.ZodEnum<{
|
|
180
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
181
|
+
NOT_FOUND: "NOT_FOUND";
|
|
182
|
+
BLOCKED: "BLOCKED";
|
|
183
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
184
|
+
CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
|
|
185
|
+
INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
|
|
186
|
+
CANCELLED: "CANCELLED";
|
|
187
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
188
|
+
RETRYING: "RETRYING";
|
|
189
|
+
SUCCESS: "SUCCESS";
|
|
190
|
+
ACCEPTED: "ACCEPTED";
|
|
191
|
+
NO_CHANGE: "NO_CHANGE";
|
|
192
|
+
STALE_BASIS: "STALE_BASIS";
|
|
193
|
+
WAITING_INPUT: "WAITING_INPUT";
|
|
194
|
+
PROVIDER_UNAVAILABLE: "PROVIDER_UNAVAILABLE";
|
|
195
|
+
BUDGET_BLOCKED: "BUDGET_BLOCKED";
|
|
196
|
+
SUPERSEDED: "SUPERSEDED";
|
|
197
|
+
}>;
|
|
198
|
+
work: z.ZodObject<{
|
|
199
|
+
total: z.ZodInt;
|
|
200
|
+
pending: z.ZodInt;
|
|
201
|
+
ready: z.ZodInt;
|
|
202
|
+
running: z.ZodInt;
|
|
203
|
+
waiting: z.ZodInt;
|
|
204
|
+
succeeded: z.ZodInt;
|
|
205
|
+
failed: z.ZodInt;
|
|
206
|
+
cancelled: z.ZodInt;
|
|
207
|
+
superseded: z.ZodInt;
|
|
208
|
+
attempts: z.ZodInt;
|
|
209
|
+
}, z.core.$strip>;
|
|
210
|
+
blockers: z.ZodArray<z.ZodString>;
|
|
211
|
+
nextActions: z.ZodArray<z.ZodObject<{
|
|
212
|
+
capability: z.ZodString;
|
|
213
|
+
targetType: z.ZodString;
|
|
214
|
+
targetId: z.ZodString;
|
|
215
|
+
availability: z.ZodEnum<{
|
|
216
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
217
|
+
AVAILABLE: "AVAILABLE";
|
|
218
|
+
}>;
|
|
219
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
220
|
+
}, z.core.$strip>>;
|
|
221
|
+
media: z.ZodObject<{
|
|
222
|
+
previewReady: z.ZodBoolean;
|
|
223
|
+
finalRenderReady: z.ZodBoolean;
|
|
224
|
+
deliveryComplete: z.ZodBoolean;
|
|
225
|
+
}, z.core.$strict>;
|
|
226
|
+
humanLinks: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
227
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
228
|
+
items: z.ZodArray<z.ZodObject<{
|
|
229
|
+
rel: z.ZodEnum<{
|
|
230
|
+
delivery: "delivery";
|
|
231
|
+
workspace: "workspace";
|
|
232
|
+
project: "project";
|
|
233
|
+
production: "production";
|
|
234
|
+
artifact: "artifact";
|
|
235
|
+
voice_profile: "voice_profile";
|
|
236
|
+
}>;
|
|
237
|
+
href: z.ZodURL;
|
|
238
|
+
}, z.core.$strict>>;
|
|
239
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
240
|
+
status: z.ZodEnum<{
|
|
241
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
242
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
243
|
+
}>;
|
|
244
|
+
items: z.ZodArray<z.ZodObject<{
|
|
245
|
+
rel: z.ZodEnum<{
|
|
246
|
+
delivery: "delivery";
|
|
247
|
+
workspace: "workspace";
|
|
248
|
+
project: "project";
|
|
249
|
+
production: "production";
|
|
250
|
+
artifact: "artifact";
|
|
251
|
+
voice_profile: "voice_profile";
|
|
252
|
+
}>;
|
|
253
|
+
href: z.ZodURL;
|
|
254
|
+
}, z.core.$strict>>;
|
|
255
|
+
}, z.core.$strict>], "status">;
|
|
256
|
+
}, z.core.$strict>>;
|
|
257
|
+
}, z.core.$strict>;
|
|
258
|
+
/** 游标由服务端生成并绑定原工作空间及作品;不能使用 UUID 作为连续提交位置。 */
|
|
259
|
+
export declare const ReadProductionEventsSchema: z.ZodObject<{
|
|
260
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
261
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
262
|
+
operationId: z.ZodOptional<z.core.$ZodBranded<z.ZodString, "OperationId", "out">>;
|
|
263
|
+
ifNoneMatch: z.ZodOptional<z.ZodString>;
|
|
264
|
+
after: z.ZodOptional<z.ZodString>;
|
|
265
|
+
start: z.ZodDefault<z.ZodEnum<{
|
|
266
|
+
CURRENT: "CURRENT";
|
|
267
|
+
BEGINNING: "BEGINNING";
|
|
268
|
+
}>>;
|
|
269
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
270
|
+
}, z.core.$strict>;
|
|
271
|
+
export declare const ProductionEventReadSchema: z.ZodObject<{
|
|
272
|
+
items: z.ZodArray<z.ZodObject<{
|
|
273
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
274
|
+
eventId: z.ZodUUID;
|
|
275
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
276
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
277
|
+
projectId: z.ZodUUID;
|
|
278
|
+
type: z.ZodEnum<{
|
|
279
|
+
"production.work_changed": "production.work_changed";
|
|
280
|
+
"production.started": "production.started";
|
|
281
|
+
"production.failed": "production.failed";
|
|
282
|
+
"production.cancelled": "production.cancelled";
|
|
283
|
+
"finding.opened": "finding.opened";
|
|
284
|
+
"artifact.created": "artifact.created";
|
|
285
|
+
"shot.candidate_ready": "shot.candidate_ready";
|
|
286
|
+
"shot.accepted": "shot.accepted";
|
|
287
|
+
"review.completed": "review.completed";
|
|
288
|
+
"rough_cut.ready": "rough_cut.ready";
|
|
289
|
+
"final_render.ready": "final_render.ready";
|
|
290
|
+
"approval.required": "approval.required";
|
|
291
|
+
"production.completed": "production.completed";
|
|
292
|
+
"delivery.validation_failed": "delivery.validation_failed";
|
|
293
|
+
}>;
|
|
294
|
+
target: z.ZodObject<{
|
|
295
|
+
type: z.ZodString;
|
|
296
|
+
id: z.ZodUUID;
|
|
297
|
+
}, z.core.$strict>;
|
|
298
|
+
occurredAt: z.ZodISODateTime;
|
|
299
|
+
basis: z.ZodObject<{
|
|
300
|
+
productionRevision: z.ZodNumber;
|
|
301
|
+
}, z.core.$strict>;
|
|
302
|
+
payload: z.ZodObject<{
|
|
303
|
+
sourceEventType: z.ZodString;
|
|
304
|
+
artifactId: z.ZodOptional<z.ZodUUID>;
|
|
305
|
+
candidateId: z.ZodOptional<z.ZodUUID>;
|
|
306
|
+
reviewId: z.ZodOptional<z.ZodUUID>;
|
|
307
|
+
findingId: z.ZodOptional<z.ZodUUID>;
|
|
308
|
+
shotId: z.ZodOptional<z.ZodUUID>;
|
|
309
|
+
manifestId: z.ZodOptional<z.ZodUUID>;
|
|
310
|
+
validationId: z.ZodOptional<z.ZodUUID>;
|
|
311
|
+
action: z.ZodOptional<z.ZodString>;
|
|
312
|
+
result: z.ZodOptional<z.ZodString>;
|
|
313
|
+
executionClass: z.ZodOptional<z.ZodEnum<{
|
|
314
|
+
LIVE: "LIVE";
|
|
315
|
+
TEST_ONLY: "TEST_ONLY";
|
|
316
|
+
}>>;
|
|
317
|
+
}, z.core.$strict>;
|
|
318
|
+
}, z.core.$strict>>;
|
|
319
|
+
nextCursor: z.ZodString;
|
|
320
|
+
watermark: z.ZodString;
|
|
321
|
+
hasMore: z.ZodBoolean;
|
|
322
|
+
current: z.ZodObject<{
|
|
323
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
324
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
325
|
+
condition: z.ZodEnum<{
|
|
326
|
+
CURRENT: "CURRENT";
|
|
327
|
+
NOT_MODIFIED: "NOT_MODIFIED";
|
|
328
|
+
}>;
|
|
329
|
+
etag: z.ZodString;
|
|
330
|
+
cursor: z.ZodString;
|
|
331
|
+
retryAfterMs: z.ZodInt;
|
|
332
|
+
feedback: z.ZodNullable<z.ZodObject<{
|
|
333
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
334
|
+
productionId: z.core.$ZodBranded<z.ZodUUID, "ProductionId", "out">;
|
|
335
|
+
projectId: z.ZodUUID;
|
|
336
|
+
operationId: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "OperationId", "out">>;
|
|
337
|
+
productionRevision: z.ZodInt;
|
|
338
|
+
state: z.ZodObject<{
|
|
339
|
+
lifecycle: z.ZodEnum<{
|
|
340
|
+
ACTIVE: "ACTIVE";
|
|
341
|
+
COMPLETED: "COMPLETED";
|
|
342
|
+
FAILED: "FAILED";
|
|
343
|
+
CANCELLED: "CANCELLED";
|
|
344
|
+
}>;
|
|
345
|
+
phase: z.ZodEnum<{
|
|
346
|
+
INTAKE: "INTAKE";
|
|
347
|
+
PLANNING: "PLANNING";
|
|
348
|
+
PREPARING_GENERATION: "PREPARING_GENERATION";
|
|
349
|
+
GENERATING: "GENERATING";
|
|
350
|
+
SHOT_REVIEW: "SHOT_REVIEW";
|
|
351
|
+
ASSEMBLING: "ASSEMBLING";
|
|
352
|
+
ROUGH_CUT_REVIEW: "ROUGH_CUT_REVIEW";
|
|
353
|
+
FINAL_READY: "FINAL_READY";
|
|
354
|
+
FINAL_RENDERING: "FINAL_RENDERING";
|
|
355
|
+
DELIVERY_VALIDATION: "DELIVERY_VALIDATION";
|
|
356
|
+
}>;
|
|
357
|
+
condition: z.ZodEnum<{
|
|
358
|
+
BLOCKED: "BLOCKED";
|
|
359
|
+
RUNNABLE: "RUNNABLE";
|
|
360
|
+
RUNNING: "RUNNING";
|
|
361
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
362
|
+
WAITING_HUMAN: "WAITING_HUMAN";
|
|
363
|
+
RETRYING: "RETRYING";
|
|
364
|
+
}>;
|
|
365
|
+
revision: z.ZodInt;
|
|
366
|
+
blockingReason: z.ZodNullable<z.ZodString>;
|
|
367
|
+
waitingReason: z.ZodNullable<z.ZodString>;
|
|
368
|
+
}, z.core.$strip>;
|
|
369
|
+
semanticStatus: z.ZodEnum<{
|
|
370
|
+
INVALID_INPUT: "INVALID_INPUT";
|
|
371
|
+
NOT_FOUND: "NOT_FOUND";
|
|
372
|
+
BLOCKED: "BLOCKED";
|
|
373
|
+
REVISION_CONFLICT: "REVISION_CONFLICT";
|
|
374
|
+
CAPABILITY_UNAVAILABLE: "CAPABILITY_UNAVAILABLE";
|
|
375
|
+
INTERNAL_OPERATIONAL_FAILURE: "INTERNAL_OPERATIONAL_FAILURE";
|
|
376
|
+
CANCELLED: "CANCELLED";
|
|
377
|
+
WAITING_PROVIDER: "WAITING_PROVIDER";
|
|
378
|
+
RETRYING: "RETRYING";
|
|
379
|
+
SUCCESS: "SUCCESS";
|
|
380
|
+
ACCEPTED: "ACCEPTED";
|
|
381
|
+
NO_CHANGE: "NO_CHANGE";
|
|
382
|
+
STALE_BASIS: "STALE_BASIS";
|
|
383
|
+
WAITING_INPUT: "WAITING_INPUT";
|
|
384
|
+
PROVIDER_UNAVAILABLE: "PROVIDER_UNAVAILABLE";
|
|
385
|
+
BUDGET_BLOCKED: "BUDGET_BLOCKED";
|
|
386
|
+
SUPERSEDED: "SUPERSEDED";
|
|
387
|
+
}>;
|
|
388
|
+
work: z.ZodObject<{
|
|
389
|
+
total: z.ZodInt;
|
|
390
|
+
pending: z.ZodInt;
|
|
391
|
+
ready: z.ZodInt;
|
|
392
|
+
running: z.ZodInt;
|
|
393
|
+
waiting: z.ZodInt;
|
|
394
|
+
succeeded: z.ZodInt;
|
|
395
|
+
failed: z.ZodInt;
|
|
396
|
+
cancelled: z.ZodInt;
|
|
397
|
+
superseded: z.ZodInt;
|
|
398
|
+
attempts: z.ZodInt;
|
|
399
|
+
}, z.core.$strip>;
|
|
400
|
+
blockers: z.ZodArray<z.ZodString>;
|
|
401
|
+
nextActions: z.ZodArray<z.ZodObject<{
|
|
402
|
+
capability: z.ZodString;
|
|
403
|
+
targetType: z.ZodString;
|
|
404
|
+
targetId: z.ZodString;
|
|
405
|
+
availability: z.ZodEnum<{
|
|
406
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
407
|
+
AVAILABLE: "AVAILABLE";
|
|
408
|
+
}>;
|
|
409
|
+
reason: z.ZodNullable<z.ZodString>;
|
|
410
|
+
}, z.core.$strip>>;
|
|
411
|
+
media: z.ZodObject<{
|
|
412
|
+
previewReady: z.ZodBoolean;
|
|
413
|
+
finalRenderReady: z.ZodBoolean;
|
|
414
|
+
deliveryComplete: z.ZodBoolean;
|
|
415
|
+
}, z.core.$strict>;
|
|
416
|
+
humanLinks: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
417
|
+
status: z.ZodLiteral<"AVAILABLE">;
|
|
418
|
+
items: z.ZodArray<z.ZodObject<{
|
|
419
|
+
rel: z.ZodEnum<{
|
|
420
|
+
delivery: "delivery";
|
|
421
|
+
workspace: "workspace";
|
|
422
|
+
project: "project";
|
|
423
|
+
production: "production";
|
|
424
|
+
artifact: "artifact";
|
|
425
|
+
voice_profile: "voice_profile";
|
|
426
|
+
}>;
|
|
427
|
+
href: z.ZodURL;
|
|
428
|
+
}, z.core.$strict>>;
|
|
429
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
430
|
+
status: z.ZodEnum<{
|
|
431
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
432
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
433
|
+
}>;
|
|
434
|
+
items: z.ZodArray<z.ZodObject<{
|
|
435
|
+
rel: z.ZodEnum<{
|
|
436
|
+
delivery: "delivery";
|
|
437
|
+
workspace: "workspace";
|
|
438
|
+
project: "project";
|
|
439
|
+
production: "production";
|
|
440
|
+
artifact: "artifact";
|
|
441
|
+
voice_profile: "voice_profile";
|
|
442
|
+
}>;
|
|
443
|
+
href: z.ZodURL;
|
|
444
|
+
}, z.core.$strict>>;
|
|
445
|
+
}, z.core.$strict>], "status">;
|
|
446
|
+
}, z.core.$strict>>;
|
|
447
|
+
}, z.core.$strict>;
|
|
448
|
+
}, z.core.$strict>;
|
|
449
|
+
export type ProductionFeedbackInput = z.infer<typeof ProductionFeedbackInputSchema>;
|
|
450
|
+
export type ProductionFeedback = z.infer<typeof ProductionFeedbackSchema>;
|
|
451
|
+
export type ProductionFeedbackResult = z.infer<typeof ProductionFeedbackResultSchema>;
|
|
452
|
+
export type ReadProductionEvents = z.infer<typeof ReadProductionEventsSchema>;
|
|
@@ -716,8 +716,8 @@ export declare const RepairStrategyContextResultSchema: z.ZodObject<{
|
|
|
716
716
|
productionId: typeof import("./ids.js").ProductionIdSchema;
|
|
717
717
|
version: z.ZodInt;
|
|
718
718
|
status: z.ZodEnum<{
|
|
719
|
-
NONE: "NONE";
|
|
720
719
|
CURRENT: "CURRENT";
|
|
720
|
+
NONE: "NONE";
|
|
721
721
|
STALE: "STALE";
|
|
722
722
|
}>;
|
|
723
723
|
selection: z.ZodNullable<z.ZodObject<{
|
|
@@ -616,8 +616,8 @@ export declare const FinalOutputReviewContextResultSchema: z.ZodObject<{
|
|
|
616
616
|
CANCELLED: "CANCELLED";
|
|
617
617
|
RUNNING: "RUNNING";
|
|
618
618
|
SUPERSEDED: "SUPERSEDED";
|
|
619
|
-
READY: "READY";
|
|
620
619
|
PENDING: "PENDING";
|
|
620
|
+
READY: "READY";
|
|
621
621
|
WAITING: "WAITING";
|
|
622
622
|
SUCCEEDED: "SUCCEEDED";
|
|
623
623
|
}>;
|
|
@@ -1258,8 +1258,8 @@ export declare const RoughCutViewSchema: z.ZodObject<{
|
|
|
1258
1258
|
CANCELLED: "CANCELLED";
|
|
1259
1259
|
RUNNING: "RUNNING";
|
|
1260
1260
|
SUPERSEDED: "SUPERSEDED";
|
|
1261
|
-
READY: "READY";
|
|
1262
1261
|
PENDING: "PENDING";
|
|
1262
|
+
READY: "READY";
|
|
1263
1263
|
WAITING: "WAITING";
|
|
1264
1264
|
SUCCEEDED: "SUCCEEDED";
|
|
1265
1265
|
}>;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const ShareCreateSchema: z.ZodObject<{
|
|
3
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
4
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
5
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
6
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
7
|
+
shareId: z.ZodUUID;
|
|
8
|
+
idempotencyKey: z.ZodString;
|
|
9
|
+
title: z.ZodDefault<z.ZodString>;
|
|
10
|
+
expiresAt: z.ZodOptional<z.ZodISODateTime>;
|
|
11
|
+
}, z.core.$strict>;
|
|
12
|
+
export declare const ShareGetSchema: z.ZodObject<{
|
|
13
|
+
tenantId: z.ZodUUID;
|
|
14
|
+
shareId: z.ZodUUID;
|
|
15
|
+
}, z.core.$strict>;
|
|
16
|
+
export declare const ShareRevokeSchema: z.ZodObject<{
|
|
17
|
+
tenantId: z.ZodUUID;
|
|
18
|
+
shareId: z.ZodUUID;
|
|
19
|
+
expectedRevision: z.ZodInt;
|
|
20
|
+
idempotencyKey: z.ZodString;
|
|
21
|
+
}, z.core.$strict>;
|
|
22
|
+
export declare const ShareListSchema: z.ZodObject<{
|
|
23
|
+
tenantId: z.ZodUUID;
|
|
24
|
+
projectId: z.ZodOptional<z.ZodUUID>;
|
|
25
|
+
artifactId: z.ZodOptional<z.ZodUUID>;
|
|
26
|
+
after: z.ZodOptional<z.ZodUUID>;
|
|
27
|
+
limit: z.ZodDefault<z.ZodInt>;
|
|
28
|
+
}, z.core.$strict>;
|
|
29
|
+
export declare const ShareViewSchema: z.ZodObject<{
|
|
30
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
31
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
32
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
33
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
34
|
+
shareId: z.ZodUUID;
|
|
35
|
+
productionId: z.ZodNullable<z.ZodUUID>;
|
|
36
|
+
createdByPrincipalId: z.ZodUUID;
|
|
37
|
+
title: z.ZodString;
|
|
38
|
+
purpose: z.ZodEnum<{
|
|
39
|
+
ROUGH_CUT: "ROUGH_CUT";
|
|
40
|
+
PREVIEW: "PREVIEW";
|
|
41
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
42
|
+
}>;
|
|
43
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
44
|
+
checksumSha256: z.ZodString;
|
|
45
|
+
byteSize: z.ZodInt;
|
|
46
|
+
revision: z.ZodInt;
|
|
47
|
+
state: z.ZodEnum<{
|
|
48
|
+
REVOKED: "REVOKED";
|
|
49
|
+
ACTIVE: "ACTIVE";
|
|
50
|
+
EXPIRED: "EXPIRED";
|
|
51
|
+
PREPARING: "PREPARING";
|
|
52
|
+
AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
|
|
53
|
+
}>;
|
|
54
|
+
createdAt: z.ZodISODateTime;
|
|
55
|
+
expiresAt: z.ZodISODateTime;
|
|
56
|
+
}, z.core.$strict>;
|
|
57
|
+
/** 分享URL有意交给收件人,不能复用拒绝fragment的私有humanLinks合同。 */
|
|
58
|
+
export declare const ShareUrlSchema: z.ZodURL;
|
|
59
|
+
export declare const ShareLinkResultSchema: z.ZodObject<{
|
|
60
|
+
share: z.ZodObject<{
|
|
61
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
62
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
63
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
64
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
65
|
+
shareId: z.ZodUUID;
|
|
66
|
+
productionId: z.ZodNullable<z.ZodUUID>;
|
|
67
|
+
createdByPrincipalId: z.ZodUUID;
|
|
68
|
+
title: z.ZodString;
|
|
69
|
+
purpose: z.ZodEnum<{
|
|
70
|
+
ROUGH_CUT: "ROUGH_CUT";
|
|
71
|
+
PREVIEW: "PREVIEW";
|
|
72
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
73
|
+
}>;
|
|
74
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
75
|
+
checksumSha256: z.ZodString;
|
|
76
|
+
byteSize: z.ZodInt;
|
|
77
|
+
revision: z.ZodInt;
|
|
78
|
+
state: z.ZodEnum<{
|
|
79
|
+
REVOKED: "REVOKED";
|
|
80
|
+
ACTIVE: "ACTIVE";
|
|
81
|
+
EXPIRED: "EXPIRED";
|
|
82
|
+
PREPARING: "PREPARING";
|
|
83
|
+
AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
|
|
84
|
+
}>;
|
|
85
|
+
createdAt: z.ZodISODateTime;
|
|
86
|
+
expiresAt: z.ZodISODateTime;
|
|
87
|
+
}, z.core.$strict>;
|
|
88
|
+
url: z.ZodNullable<z.ZodURL>;
|
|
89
|
+
linkState: z.ZodEnum<{
|
|
90
|
+
UNAVAILABLE: "UNAVAILABLE";
|
|
91
|
+
AVAILABLE: "AVAILABLE";
|
|
92
|
+
UNCONFIGURED: "UNCONFIGURED";
|
|
93
|
+
NOT_ACTIVE: "NOT_ACTIVE";
|
|
94
|
+
}>;
|
|
95
|
+
}, z.core.$strict>;
|
|
96
|
+
export declare const SharePageSchema: z.ZodObject<{
|
|
97
|
+
items: z.ZodArray<z.ZodObject<{
|
|
98
|
+
tenantId: z.core.$ZodBranded<z.ZodUUID, "TenantId", "out">;
|
|
99
|
+
projectId: z.core.$ZodBranded<z.ZodUUID, "ProjectId", "out">;
|
|
100
|
+
artifactId: z.core.$ZodBranded<z.ZodUUID, "ArtifactId", "out">;
|
|
101
|
+
representationId: z.core.$ZodBranded<z.ZodUUID, "ArtifactRepresentationId", "out">;
|
|
102
|
+
shareId: z.ZodUUID;
|
|
103
|
+
productionId: z.ZodNullable<z.ZodUUID>;
|
|
104
|
+
createdByPrincipalId: z.ZodUUID;
|
|
105
|
+
title: z.ZodString;
|
|
106
|
+
purpose: z.ZodEnum<{
|
|
107
|
+
ROUGH_CUT: "ROUGH_CUT";
|
|
108
|
+
PREVIEW: "PREVIEW";
|
|
109
|
+
FINAL_RENDER: "FINAL_RENDER";
|
|
110
|
+
}>;
|
|
111
|
+
contentType: z.ZodLiteral<"video/mp4">;
|
|
112
|
+
checksumSha256: z.ZodString;
|
|
113
|
+
byteSize: z.ZodInt;
|
|
114
|
+
revision: z.ZodInt;
|
|
115
|
+
state: z.ZodEnum<{
|
|
116
|
+
REVOKED: "REVOKED";
|
|
117
|
+
ACTIVE: "ACTIVE";
|
|
118
|
+
EXPIRED: "EXPIRED";
|
|
119
|
+
PREPARING: "PREPARING";
|
|
120
|
+
AUTHORITY_REVOKED: "AUTHORITY_REVOKED";
|
|
121
|
+
}>;
|
|
122
|
+
createdAt: z.ZodISODateTime;
|
|
123
|
+
expiresAt: z.ZodISODateTime;
|
|
124
|
+
}, z.core.$strict>>;
|
|
125
|
+
next: z.ZodNullable<z.ZodUUID>;
|
|
126
|
+
}, z.core.$strict>;
|
|
127
|
+
export declare const SharePublicInputSchema: z.ZodObject<{
|
|
128
|
+
shareId: z.ZodUUID;
|
|
129
|
+
secret: z.ZodString;
|
|
130
|
+
}, z.core.$strict>;
|
|
131
|
+
export type ShareCreate = z.infer<typeof ShareCreateSchema>;
|
|
132
|
+
export type ShareView = z.infer<typeof ShareViewSchema>;
|
|
133
|
+
export type ShareGet = z.infer<typeof ShareGetSchema>;
|
|
134
|
+
export type ShareRevoke = z.infer<typeof ShareRevokeSchema>;
|
|
135
|
+
export type ShareList = z.infer<typeof ShareListSchema>;
|
|
@@ -345,8 +345,8 @@ export declare const SpeechGenerationViewSchema: z.ZodObject<{
|
|
|
345
345
|
CANCELLED: "CANCELLED";
|
|
346
346
|
RUNNING: "RUNNING";
|
|
347
347
|
SUPERSEDED: "SUPERSEDED";
|
|
348
|
-
READY: "READY";
|
|
349
348
|
PENDING: "PENDING";
|
|
349
|
+
READY: "READY";
|
|
350
350
|
WAITING: "WAITING";
|
|
351
351
|
SUCCEEDED: "SUCCEEDED";
|
|
352
352
|
}>;
|
|
@@ -746,9 +746,6 @@ export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
|
746
746
|
}, z.core.$strict>>;
|
|
747
747
|
}, z.core.$strict>], "status">>;
|
|
748
748
|
productionRevision: z.ZodInt;
|
|
749
|
-
runtimeJobId: z.ZodUUID;
|
|
750
|
-
text: z.ZodString;
|
|
751
|
-
cancellationRequested: z.ZodBoolean;
|
|
752
749
|
result: z.ZodNullable<z.ZodObject<{
|
|
753
750
|
semanticStatus: z.ZodLiteral<"SUCCESS">;
|
|
754
751
|
version: z.ZodObject<{
|
|
@@ -818,13 +815,16 @@ export declare const LocalSpeechGenerationViewSchema: z.ZodObject<{
|
|
|
818
815
|
}, z.core.$strict>;
|
|
819
816
|
productionRevision: z.ZodInt;
|
|
820
817
|
}, z.core.$strict>>;
|
|
818
|
+
runtimeJobId: z.ZodUUID;
|
|
819
|
+
text: z.ZodString;
|
|
820
|
+
cancellationRequested: z.ZodBoolean;
|
|
821
821
|
runtimeStatus: z.ZodEnum<{
|
|
822
822
|
FAILED: "FAILED";
|
|
823
823
|
CANCELLED: "CANCELLED";
|
|
824
824
|
RUNNING: "RUNNING";
|
|
825
825
|
SUPERSEDED: "SUPERSEDED";
|
|
826
|
-
READY: "READY";
|
|
827
826
|
PENDING: "PENDING";
|
|
827
|
+
READY: "READY";
|
|
828
828
|
WAITING: "WAITING";
|
|
829
829
|
SUCCEEDED: "SUCCEEDED";
|
|
830
830
|
}>;
|
|
@@ -228,8 +228,8 @@ export declare const TemporalEvidenceViewSchema: z.ZodObject<{
|
|
|
228
228
|
CANCELLED: "CANCELLED";
|
|
229
229
|
RUNNING: "RUNNING";
|
|
230
230
|
SUPERSEDED: "SUPERSEDED";
|
|
231
|
-
READY: "READY";
|
|
232
231
|
PENDING: "PENDING";
|
|
232
|
+
READY: "READY";
|
|
233
233
|
WAITING: "WAITING";
|
|
234
234
|
SUCCEEDED: "SUCCEEDED";
|
|
235
235
|
}>;
|