@clipwright/core 0.28.0 → 0.29.0
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/CHANGELOG.md +37 -0
- package/dist/api-failure.d.ts +24 -6
- package/dist/api-failure.js +30 -7
- package/dist/api-failure.js.map +1 -1
- package/dist/contracts/v1/workflow-brief.d.ts +5 -5
- package/dist/contracts/v1/workflow-brief.js +4 -4
- package/dist/contracts/v1/workflow-brief.js.map +1 -1
- package/dist/contracts/v1/workflow-catalog.d.ts +51 -49
- package/dist/contracts/v1/workflow-catalog.js +10 -10
- package/dist/contracts/v1/workflow-catalog.js.map +1 -1
- package/dist/contracts/v1/workflow-client.d.ts +319 -0
- package/dist/contracts/v1/workflow-client.js +37 -0
- package/dist/contracts/v1/workflow-client.js.map +1 -0
- package/dist/contracts/v1/workflow-evidence.d.ts +8 -8
- package/dist/contracts/v1/workflow-evidence.js +6 -6
- package/dist/contracts/v1/workflow-evidence.js.map +1 -1
- package/dist/contracts/v1/workflow-execution.d.ts +606 -19
- package/dist/contracts/v1/workflow-execution.js +42 -11
- package/dist/contracts/v1/workflow-execution.js.map +1 -1
- package/dist/contracts/v1/workflow-plan.d.ts +55 -34
- package/dist/contracts/v1/workflow-plan.js +10 -5
- package/dist/contracts/v1/workflow-plan.js.map +1 -1
- package/dist/contracts/v1/workflow-primitives.d.ts +4 -3
- package/dist/contracts/v1/workflow-primitives.js +7 -4
- package/dist/contracts/v1/workflow-primitives.js.map +1 -1
- package/dist/contracts/v1/workflow-run-read.d.ts +929 -0
- package/dist/contracts/v1/workflow-run-read.js +23 -0
- package/dist/contracts/v1/workflow-run-read.js.map +1 -0
- package/dist/edit-candidate.d.ts +158 -0
- package/dist/edit-candidate.js +64 -0
- package/dist/edit-candidate.js.map +1 -0
- package/dist/edit.d.ts +1 -0
- package/dist/edit.js +2 -1
- package/dist/edit.js.map +1 -1
- package/dist/endpoints.d.ts +8 -0
- package/dist/endpoints.js +21 -2
- package/dist/endpoints.js.map +1 -1
- package/dist/errors.d.ts +17 -3
- package/dist/errors.js +10 -5
- package/dist/errors.js.map +1 -1
- package/dist/faceless-customer-anchors.d.ts +7 -0
- package/dist/faceless-customer-anchors.js +31 -0
- package/dist/faceless-customer-anchors.js.map +1 -0
- package/dist/faceless-image-placement.d.ts +23 -0
- package/dist/faceless-image-placement.js +30 -0
- package/dist/faceless-image-placement.js.map +1 -0
- package/dist/faceless-public-plan.d.ts +2 -0
- package/dist/faceless-public-plan.js +6 -2
- package/dist/faceless-public-plan.js.map +1 -1
- package/dist/faceless-public.d.ts +3 -0
- package/dist/faceless-public.js +9 -0
- package/dist/faceless-public.js.map +1 -1
- package/dist/idempotency.d.ts +2 -0
- package/dist/idempotency.js +8 -0
- package/dist/idempotency.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/run-static-warnings.js +3 -0
- package/dist/run-static-warnings.js.map +1 -1
- package/dist/runs.d.ts +58 -1
- package/dist/runs.js +13 -0
- package/dist/runs.js.map +1 -1
- package/dist/skills.d.ts +1 -1
- package/dist/skills.js +1 -1
- package/dist/skills.js.map +1 -1
- package/dist/workflows/index.d.ts +2 -0
- package/dist/workflows/index.js +2 -0
- package/dist/workflows/index.js.map +1 -1
- package/dist/workflows/validate.js +35 -9
- package/dist/workflows/validate.js.map +1 -1
- package/package.json +3 -2
|
@@ -87,7 +87,7 @@ export declare const workflowQuoteBindingRead: z.ZodObject<{
|
|
|
87
87
|
version: z.ZodNumber;
|
|
88
88
|
content_digest: z.ZodString;
|
|
89
89
|
capability_digest: z.ZodString;
|
|
90
|
-
}, z.core.$
|
|
90
|
+
}, z.core.$loose>;
|
|
91
91
|
native_quote: z.ZodUnion<readonly [z.ZodObject<{
|
|
92
92
|
skill: z.ZodLiteral<"make_ugc">;
|
|
93
93
|
quote: z.ZodObject<{
|
|
@@ -106,20 +106,20 @@ export declare const workflowQuoteBindingRead: z.ZodObject<{
|
|
|
106
106
|
duration_estimate_sec: z.ZodNumber;
|
|
107
107
|
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
108
108
|
contract_version: z.ZodString;
|
|
109
|
+
tts_model: z.ZodString;
|
|
110
|
+
resolved_aspect_ratio: z.ZodString;
|
|
109
111
|
source: z.ZodNullable<z.ZodObject<{
|
|
110
112
|
width: z.ZodNumber;
|
|
111
113
|
height: z.ZodNumber;
|
|
112
114
|
aspect_ratio: z.ZodString;
|
|
113
|
-
}, z.core.$
|
|
114
|
-
tts_model: z.ZodString;
|
|
115
|
-
resolved_aspect_ratio: z.ZodString;
|
|
115
|
+
}, z.core.$loose>>;
|
|
116
116
|
actor: z.ZodNullable<z.ZodObject<{
|
|
117
117
|
actor_id: z.ZodOptional<z.ZodString>;
|
|
118
118
|
version: z.ZodOptional<z.ZodNumber>;
|
|
119
119
|
gender: z.ZodString;
|
|
120
|
-
}, z.core.$
|
|
121
|
-
}, z.core.$
|
|
122
|
-
}, z.core.$
|
|
120
|
+
}, z.core.$loose>>;
|
|
121
|
+
}, z.core.$loose>;
|
|
122
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
123
123
|
skill: z.ZodLiteral<"make_faceless">;
|
|
124
124
|
quote: z.ZodObject<{
|
|
125
125
|
outputFrames: z.ZodNumber;
|
|
@@ -131,12 +131,12 @@ export declare const workflowQuoteBindingRead: z.ZodObject<{
|
|
|
131
131
|
contract_version: z.ZodString;
|
|
132
132
|
tariffId: z.ZodString;
|
|
133
133
|
skill: z.ZodString;
|
|
134
|
-
}, z.core.$
|
|
135
|
-
}, z.core.$
|
|
134
|
+
}, z.core.$loose>;
|
|
135
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
136
136
|
skill: z.ZodString;
|
|
137
137
|
quote: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
138
|
-
}, z.core.$
|
|
139
|
-
}, z.core.$
|
|
138
|
+
}, z.core.$loose>]>;
|
|
139
|
+
}, z.core.$loose>;
|
|
140
140
|
export declare const launchWorkflow: z.ZodObject<{
|
|
141
141
|
revision: z.ZodNumber;
|
|
142
142
|
content_digest: z.ZodString;
|
|
@@ -188,9 +188,593 @@ export declare const workflowReceiptRead: z.ZodObject<{
|
|
|
188
188
|
version: z.ZodNumber;
|
|
189
189
|
content_digest: z.ZodString;
|
|
190
190
|
capability_digest: z.ZodString;
|
|
191
|
+
}, z.core.$loose>;
|
|
192
|
+
skill: z.ZodString;
|
|
193
|
+
}, z.core.$loose>;
|
|
194
|
+
export declare const workflowLaunchResponse: z.ZodObject<{
|
|
195
|
+
receipt: z.ZodObject<{
|
|
196
|
+
v: z.ZodLiteral<1>;
|
|
197
|
+
account_id: z.ZodString;
|
|
198
|
+
plan_id: z.ZodString;
|
|
199
|
+
revision: z.ZodNumber;
|
|
200
|
+
content_digest: z.ZodString;
|
|
201
|
+
method: z.ZodObject<{
|
|
202
|
+
method_id: z.ZodEnum<{
|
|
203
|
+
"faceless-explainer": "faceless-explainer";
|
|
204
|
+
"kinetic-launch": "kinetic-launch";
|
|
205
|
+
"product-image-story": "product-image-story";
|
|
206
|
+
"ugc-faq-answer": "ugc-faq-answer";
|
|
207
|
+
"ugc-product-intro": "ugc-product-intro";
|
|
208
|
+
"website-proof-demo": "website-proof-demo";
|
|
209
|
+
}>;
|
|
210
|
+
version: z.ZodNumber;
|
|
211
|
+
content_digest: z.ZodString;
|
|
212
|
+
capability_digest: z.ZodString;
|
|
213
|
+
}, z.core.$strict>;
|
|
214
|
+
semantic_input_digest: z.ZodString;
|
|
215
|
+
transport_request_digest: z.ZodString;
|
|
216
|
+
run_id: z.ZodString;
|
|
217
|
+
skill: z.ZodEnum<{
|
|
218
|
+
make_faceless: "make_faceless";
|
|
219
|
+
make_ugc: "make_ugc";
|
|
220
|
+
}>;
|
|
221
|
+
admitted_at: z.ZodString;
|
|
222
|
+
}, z.core.$strict>;
|
|
223
|
+
run: z.ZodObject<{
|
|
224
|
+
run_id: z.ZodString;
|
|
225
|
+
actor: z.ZodOptional<z.ZodObject<{
|
|
226
|
+
actor_id: z.ZodString;
|
|
227
|
+
version: z.ZodNumber;
|
|
228
|
+
aspect_ratio: z.ZodEnum<{
|
|
229
|
+
"16:9": "16:9";
|
|
230
|
+
"1:1": "1:1";
|
|
231
|
+
"9:16": "9:16";
|
|
232
|
+
}>;
|
|
233
|
+
sha256: z.ZodString;
|
|
234
|
+
}, z.core.$strip>>;
|
|
235
|
+
skill: z.ZodString;
|
|
236
|
+
state: z.ZodEnum<{
|
|
237
|
+
avatar: "avatar";
|
|
238
|
+
compositing: "compositing";
|
|
239
|
+
failed: "failed";
|
|
240
|
+
generating: "generating";
|
|
241
|
+
queued: "queued";
|
|
242
|
+
scripting: "scripting";
|
|
243
|
+
succeeded: "succeeded";
|
|
244
|
+
tts: "tts";
|
|
245
|
+
uploading: "uploading";
|
|
246
|
+
}>;
|
|
247
|
+
credits_reserved: z.ZodNumber;
|
|
248
|
+
credits_charged: z.ZodNullable<z.ZodNumber>;
|
|
249
|
+
billing_terms: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
250
|
+
mode: z.ZodLiteral<"face_seconds">;
|
|
251
|
+
tariffSnapshot: z.ZodUnion<readonly [z.ZodReadonly<z.ZodObject<{
|
|
252
|
+
version: z.ZodLiteral<1>;
|
|
253
|
+
id: z.ZodString;
|
|
254
|
+
creditsPerSecond: z.ZodNumber;
|
|
255
|
+
rounding: z.ZodLiteral<"ceil_aggregate_seconds">;
|
|
256
|
+
}, z.core.$strict>>, z.ZodReadonly<z.ZodObject<{
|
|
257
|
+
version: z.ZodLiteral<2>;
|
|
258
|
+
pricingVersion: z.ZodString;
|
|
259
|
+
rateCreditsPerFaceSecond: z.ZodNumber;
|
|
260
|
+
minimumCredits: z.ZodNumber;
|
|
261
|
+
rounding: z.ZodLiteral<"ceil_aggregate_seconds">;
|
|
262
|
+
failurePolicy: z.ZodLiteral<"verified_delivery_only">;
|
|
263
|
+
}, z.core.$strict>>]>;
|
|
264
|
+
}, z.core.$strict>>>;
|
|
265
|
+
faceless_billing: z.ZodOptional<z.ZodObject<{
|
|
266
|
+
outputFrames: z.ZodNumber;
|
|
267
|
+
baseCredits: z.ZodNumber;
|
|
268
|
+
openerCredits: z.ZodNumber;
|
|
269
|
+
totalCredits: z.ZodNumber;
|
|
270
|
+
tariffId: z.ZodLiteral<"faceless-image-i2v-v1">;
|
|
271
|
+
captions: z.ZodBoolean;
|
|
272
|
+
}, z.core.$strict>>;
|
|
273
|
+
revision: z.ZodOptional<z.ZodObject<{
|
|
274
|
+
source_run_id: z.ZodString;
|
|
275
|
+
root_run_id: z.ZodString;
|
|
276
|
+
quoted_credits: z.ZodNumber;
|
|
277
|
+
billing: z.ZodNullable<z.ZodObject<{
|
|
278
|
+
tariff_id: z.ZodString;
|
|
279
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
280
|
+
shot_id: z.ZodString;
|
|
281
|
+
unit: z.ZodEnum<{
|
|
282
|
+
clip: "clip";
|
|
283
|
+
clip_with_new_picture: "clip_with_new_picture";
|
|
284
|
+
kept_clip: "kept_clip";
|
|
285
|
+
kept_picture: "kept_picture";
|
|
286
|
+
picture: "picture";
|
|
287
|
+
}>;
|
|
288
|
+
credits: z.ZodNumber;
|
|
289
|
+
}, z.core.$strict>>;
|
|
290
|
+
render_credits: z.ZodNumber;
|
|
291
|
+
zero_unit: z.ZodNullable<z.ZodEnum<{
|
|
292
|
+
free: "free";
|
|
293
|
+
priced: "priced";
|
|
294
|
+
}>>;
|
|
295
|
+
total_credits: z.ZodNumber;
|
|
296
|
+
}, z.core.$strict>>;
|
|
297
|
+
}, z.core.$strip>>;
|
|
298
|
+
candidate: z.ZodOptional<z.ZodObject<{
|
|
299
|
+
source_run_id: z.ZodString;
|
|
300
|
+
root_run_id: z.ZodString;
|
|
301
|
+
shot_id: z.ZodString;
|
|
302
|
+
kind: z.ZodEnum<{
|
|
303
|
+
clip: "clip";
|
|
304
|
+
picture: "picture";
|
|
305
|
+
}>;
|
|
306
|
+
operation_mode: z.ZodNullable<z.ZodEnum<{
|
|
307
|
+
animate: "animate";
|
|
308
|
+
edit_picture: "edit_picture";
|
|
309
|
+
new_picture: "new_picture";
|
|
310
|
+
retake: "retake";
|
|
311
|
+
}>>;
|
|
312
|
+
take: z.ZodNullable<z.ZodNumber>;
|
|
313
|
+
preview_url: z.ZodNullable<z.ZodString>;
|
|
314
|
+
usable_until: z.ZodNullable<z.ZodString>;
|
|
315
|
+
}, z.core.$strip>>;
|
|
316
|
+
resolved_broll_policy: z.ZodOptional<z.ZodEnum<{
|
|
317
|
+
anyone: "anyone";
|
|
318
|
+
no_actor: "no_actor";
|
|
319
|
+
no_people: "no_people";
|
|
320
|
+
}>>;
|
|
321
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
322
|
+
error: z.ZodNullable<z.ZodString>;
|
|
323
|
+
created_actor: z.ZodOptional<z.ZodObject<{
|
|
324
|
+
actor_id: z.ZodString;
|
|
325
|
+
name: z.ZodString;
|
|
326
|
+
gender: z.ZodEnum<{
|
|
327
|
+
female: "female";
|
|
328
|
+
male: "male";
|
|
329
|
+
}>;
|
|
330
|
+
approximate_age: z.ZodNumber;
|
|
331
|
+
version: z.ZodNumber;
|
|
332
|
+
quality: z.ZodEnum<{
|
|
333
|
+
high: "high";
|
|
334
|
+
medium: "medium";
|
|
335
|
+
}>;
|
|
336
|
+
aspect_ratios: z.ZodArray<z.ZodEnum<{
|
|
337
|
+
"16:9": "16:9";
|
|
338
|
+
"1:1": "1:1";
|
|
339
|
+
"9:16": "9:16";
|
|
340
|
+
}>>;
|
|
341
|
+
}, z.core.$strip>>;
|
|
342
|
+
final_output: z.ZodNullable<z.ZodObject<{
|
|
343
|
+
video_url: z.ZodString;
|
|
344
|
+
video_url_unsubtitled: z.ZodOptional<z.ZodString>;
|
|
345
|
+
portrait_url: z.ZodOptional<z.ZodString>;
|
|
346
|
+
character_sheet_url: z.ZodOptional<z.ZodString>;
|
|
347
|
+
character_id: z.ZodOptional<z.ZodString>;
|
|
348
|
+
duration_seconds: z.ZodNumber;
|
|
349
|
+
long_form_billing: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
350
|
+
pricingVersion: z.ZodString;
|
|
351
|
+
rateCreditsPerFaceSecond: z.ZodNumber;
|
|
352
|
+
minimumCredits: z.ZodNumber;
|
|
353
|
+
actualDurationSec: z.ZodNumber;
|
|
354
|
+
actualBillableFaceSeconds: z.ZodNumber;
|
|
355
|
+
finalCreditsCharged: z.ZodNumber;
|
|
356
|
+
minimumApplied: z.ZodBoolean;
|
|
357
|
+
}, z.core.$strict>>>;
|
|
358
|
+
face_duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
359
|
+
full_speech_duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
360
|
+
face_credits_per_second: z.ZodOptional<z.ZodNumber>;
|
|
361
|
+
face_tariff_id: z.ZodOptional<z.ZodString>;
|
|
362
|
+
speech_timing_gaps: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
363
|
+
status: z.ZodLiteral<"available">;
|
|
364
|
+
durationSec: z.ZodNumber;
|
|
365
|
+
wordGapDurationSec: z.ZodNumber;
|
|
366
|
+
wordGapFraction: z.ZodNumber;
|
|
367
|
+
leadingGapSec: z.ZodNumber;
|
|
368
|
+
trailingGapSec: z.ZodNumber;
|
|
369
|
+
interWordGapsSec: z.ZodArray<z.ZodNumber>;
|
|
370
|
+
measuredSentenceGapCount: z.ZodNumber;
|
|
371
|
+
sentenceGapMedianSec: z.ZodNullable<z.ZodNumber>;
|
|
372
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
373
|
+
status: z.ZodLiteral<"unavailable">;
|
|
374
|
+
reason: z.ZodEnum<{
|
|
375
|
+
invalid_duration: "invalid_duration";
|
|
376
|
+
invalid_timings: "invalid_timings";
|
|
377
|
+
missing_timings: "missing_timings";
|
|
378
|
+
unsupported_mode: "unsupported_mode";
|
|
379
|
+
}>;
|
|
380
|
+
}, z.core.$strip>], "status">>;
|
|
381
|
+
ai_generated: z.ZodLiteral<true>;
|
|
382
|
+
ai_disclosure: z.ZodString;
|
|
383
|
+
requested_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
384
|
+
vendor_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
385
|
+
final_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
386
|
+
composition_policy: z.ZodOptional<z.ZodString>;
|
|
387
|
+
}, z.core.$strip>>;
|
|
388
|
+
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
389
|
+
step: z.ZodString;
|
|
390
|
+
state: z.ZodEnum<{
|
|
391
|
+
failed: "failed";
|
|
392
|
+
pending: "pending";
|
|
393
|
+
running: "running";
|
|
394
|
+
succeeded: "succeeded";
|
|
395
|
+
}>;
|
|
396
|
+
started_at: z.ZodNullable<z.ZodString>;
|
|
397
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
398
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
399
|
+
kind: z.ZodString;
|
|
400
|
+
url: z.ZodString;
|
|
401
|
+
bytes: z.ZodNumber;
|
|
402
|
+
}, z.core.$strip>>>;
|
|
403
|
+
}, z.core.$strip>>>;
|
|
404
|
+
created_at: z.ZodString;
|
|
405
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
191
406
|
}, z.core.$strip>;
|
|
407
|
+
}, z.core.$strict>;
|
|
408
|
+
/** Workflow readers accept informational enums from newer native executors; financial writers stay strict. */
|
|
409
|
+
export declare const workflowNativeRunRead: z.ZodObject<{
|
|
410
|
+
run_id: z.ZodString;
|
|
192
411
|
skill: z.ZodString;
|
|
193
|
-
|
|
412
|
+
credits_reserved: z.ZodNumber;
|
|
413
|
+
credits_charged: z.ZodNullable<z.ZodNumber>;
|
|
414
|
+
revision: z.ZodOptional<z.ZodObject<{
|
|
415
|
+
source_run_id: z.ZodString;
|
|
416
|
+
root_run_id: z.ZodString;
|
|
417
|
+
quoted_credits: z.ZodNumber;
|
|
418
|
+
billing: z.ZodNullable<z.ZodObject<{
|
|
419
|
+
tariff_id: z.ZodString;
|
|
420
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
421
|
+
shot_id: z.ZodString;
|
|
422
|
+
unit: z.ZodEnum<{
|
|
423
|
+
clip: "clip";
|
|
424
|
+
clip_with_new_picture: "clip_with_new_picture";
|
|
425
|
+
kept_clip: "kept_clip";
|
|
426
|
+
kept_picture: "kept_picture";
|
|
427
|
+
picture: "picture";
|
|
428
|
+
}>;
|
|
429
|
+
credits: z.ZodNumber;
|
|
430
|
+
}, z.core.$strict>>;
|
|
431
|
+
render_credits: z.ZodNumber;
|
|
432
|
+
zero_unit: z.ZodNullable<z.ZodEnum<{
|
|
433
|
+
free: "free";
|
|
434
|
+
priced: "priced";
|
|
435
|
+
}>>;
|
|
436
|
+
total_credits: z.ZodNumber;
|
|
437
|
+
}, z.core.$strict>>;
|
|
438
|
+
}, z.core.$strip>>;
|
|
439
|
+
candidate: z.ZodOptional<z.ZodObject<{
|
|
440
|
+
source_run_id: z.ZodString;
|
|
441
|
+
root_run_id: z.ZodString;
|
|
442
|
+
shot_id: z.ZodString;
|
|
443
|
+
kind: z.ZodEnum<{
|
|
444
|
+
clip: "clip";
|
|
445
|
+
picture: "picture";
|
|
446
|
+
}>;
|
|
447
|
+
operation_mode: z.ZodNullable<z.ZodEnum<{
|
|
448
|
+
animate: "animate";
|
|
449
|
+
edit_picture: "edit_picture";
|
|
450
|
+
new_picture: "new_picture";
|
|
451
|
+
retake: "retake";
|
|
452
|
+
}>>;
|
|
453
|
+
take: z.ZodNullable<z.ZodNumber>;
|
|
454
|
+
preview_url: z.ZodNullable<z.ZodString>;
|
|
455
|
+
usable_until: z.ZodNullable<z.ZodString>;
|
|
456
|
+
}, z.core.$strip>>;
|
|
457
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
458
|
+
error: z.ZodNullable<z.ZodString>;
|
|
459
|
+
created_actor: z.ZodOptional<z.ZodObject<{
|
|
460
|
+
actor_id: z.ZodString;
|
|
461
|
+
name: z.ZodString;
|
|
462
|
+
gender: z.ZodEnum<{
|
|
463
|
+
female: "female";
|
|
464
|
+
male: "male";
|
|
465
|
+
}>;
|
|
466
|
+
approximate_age: z.ZodNumber;
|
|
467
|
+
version: z.ZodNumber;
|
|
468
|
+
quality: z.ZodEnum<{
|
|
469
|
+
high: "high";
|
|
470
|
+
medium: "medium";
|
|
471
|
+
}>;
|
|
472
|
+
aspect_ratios: z.ZodArray<z.ZodEnum<{
|
|
473
|
+
"16:9": "16:9";
|
|
474
|
+
"1:1": "1:1";
|
|
475
|
+
"9:16": "9:16";
|
|
476
|
+
}>>;
|
|
477
|
+
}, z.core.$strip>>;
|
|
478
|
+
created_at: z.ZodString;
|
|
479
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
480
|
+
state: z.ZodString;
|
|
481
|
+
actor: z.ZodOptional<z.ZodObject<{
|
|
482
|
+
actor_id: z.ZodString;
|
|
483
|
+
version: z.ZodNumber;
|
|
484
|
+
sha256: z.ZodString;
|
|
485
|
+
aspect_ratio: z.ZodString;
|
|
486
|
+
}, z.core.$loose>>;
|
|
487
|
+
faceless_billing: z.ZodOptional<z.ZodObject<{
|
|
488
|
+
outputFrames: z.ZodNumber;
|
|
489
|
+
baseCredits: z.ZodNumber;
|
|
490
|
+
openerCredits: z.ZodNumber;
|
|
491
|
+
totalCredits: z.ZodNumber;
|
|
492
|
+
captions: z.ZodBoolean;
|
|
493
|
+
tariffId: z.ZodString;
|
|
494
|
+
}, z.core.$loose>>;
|
|
495
|
+
billing_terms: z.ZodOptional<z.ZodObject<{
|
|
496
|
+
mode: z.ZodString;
|
|
497
|
+
tariffSnapshot: z.ZodUnion<readonly [z.ZodObject<{
|
|
498
|
+
id: z.ZodString;
|
|
499
|
+
creditsPerSecond: z.ZodNumber;
|
|
500
|
+
version: z.ZodNumber;
|
|
501
|
+
rounding: z.ZodString;
|
|
502
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
503
|
+
pricingVersion: z.ZodString;
|
|
504
|
+
rateCreditsPerFaceSecond: z.ZodNumber;
|
|
505
|
+
minimumCredits: z.ZodNumber;
|
|
506
|
+
version: z.ZodNumber;
|
|
507
|
+
rounding: z.ZodString;
|
|
508
|
+
failurePolicy: z.ZodString;
|
|
509
|
+
}, z.core.$loose>]>;
|
|
510
|
+
}, z.core.$loose>>;
|
|
511
|
+
resolved_broll_policy: z.ZodOptional<z.ZodString>;
|
|
512
|
+
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
513
|
+
step: z.ZodString;
|
|
514
|
+
started_at: z.ZodNullable<z.ZodString>;
|
|
515
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
516
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
517
|
+
kind: z.ZodString;
|
|
518
|
+
url: z.ZodString;
|
|
519
|
+
bytes: z.ZodNumber;
|
|
520
|
+
}, z.core.$strip>>>;
|
|
521
|
+
state: z.ZodString;
|
|
522
|
+
}, z.core.$loose>>>;
|
|
523
|
+
final_output: z.ZodNullable<z.ZodObject<{
|
|
524
|
+
video_url: z.ZodString;
|
|
525
|
+
video_url_unsubtitled: z.ZodOptional<z.ZodString>;
|
|
526
|
+
portrait_url: z.ZodOptional<z.ZodString>;
|
|
527
|
+
character_sheet_url: z.ZodOptional<z.ZodString>;
|
|
528
|
+
character_id: z.ZodOptional<z.ZodString>;
|
|
529
|
+
duration_seconds: z.ZodNumber;
|
|
530
|
+
long_form_billing: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
531
|
+
pricingVersion: z.ZodString;
|
|
532
|
+
rateCreditsPerFaceSecond: z.ZodNumber;
|
|
533
|
+
minimumCredits: z.ZodNumber;
|
|
534
|
+
actualDurationSec: z.ZodNumber;
|
|
535
|
+
actualBillableFaceSeconds: z.ZodNumber;
|
|
536
|
+
finalCreditsCharged: z.ZodNumber;
|
|
537
|
+
minimumApplied: z.ZodBoolean;
|
|
538
|
+
}, z.core.$strict>>>;
|
|
539
|
+
face_duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
540
|
+
full_speech_duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
541
|
+
face_credits_per_second: z.ZodOptional<z.ZodNumber>;
|
|
542
|
+
face_tariff_id: z.ZodOptional<z.ZodString>;
|
|
543
|
+
ai_generated: z.ZodLiteral<true>;
|
|
544
|
+
ai_disclosure: z.ZodString;
|
|
545
|
+
requested_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
546
|
+
vendor_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
547
|
+
final_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
548
|
+
composition_policy: z.ZodOptional<z.ZodString>;
|
|
549
|
+
speech_timing_gaps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
550
|
+
status: z.ZodLiteral<"available">;
|
|
551
|
+
durationSec: z.ZodNumber;
|
|
552
|
+
wordGapDurationSec: z.ZodNumber;
|
|
553
|
+
wordGapFraction: z.ZodNumber;
|
|
554
|
+
leadingGapSec: z.ZodNumber;
|
|
555
|
+
trailingGapSec: z.ZodNumber;
|
|
556
|
+
interWordGapsSec: z.ZodArray<z.ZodNumber>;
|
|
557
|
+
measuredSentenceGapCount: z.ZodNumber;
|
|
558
|
+
sentenceGapMedianSec: z.ZodNullable<z.ZodNumber>;
|
|
559
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
560
|
+
status: z.ZodLiteral<"unavailable">;
|
|
561
|
+
reason: z.ZodString;
|
|
562
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
563
|
+
status: z.ZodString;
|
|
564
|
+
}, z.core.$loose>]>>;
|
|
565
|
+
}, z.core.$loose>>;
|
|
566
|
+
}, z.core.$loose>;
|
|
567
|
+
export declare const workflowLaunchResponseRead: z.ZodObject<{
|
|
568
|
+
receipt: z.ZodObject<{
|
|
569
|
+
account_id: z.ZodString;
|
|
570
|
+
plan_id: z.ZodString;
|
|
571
|
+
revision: z.ZodNumber;
|
|
572
|
+
content_digest: z.ZodString;
|
|
573
|
+
semantic_input_digest: z.ZodString;
|
|
574
|
+
transport_request_digest: z.ZodString;
|
|
575
|
+
run_id: z.ZodString;
|
|
576
|
+
admitted_at: z.ZodString;
|
|
577
|
+
v: z.ZodNumber;
|
|
578
|
+
method: z.ZodObject<{
|
|
579
|
+
method_id: z.ZodString;
|
|
580
|
+
version: z.ZodNumber;
|
|
581
|
+
content_digest: z.ZodString;
|
|
582
|
+
capability_digest: z.ZodString;
|
|
583
|
+
}, z.core.$loose>;
|
|
584
|
+
skill: z.ZodString;
|
|
585
|
+
}, z.core.$loose>;
|
|
586
|
+
run: z.ZodObject<{
|
|
587
|
+
run_id: z.ZodString;
|
|
588
|
+
skill: z.ZodString;
|
|
589
|
+
credits_reserved: z.ZodNumber;
|
|
590
|
+
credits_charged: z.ZodNullable<z.ZodNumber>;
|
|
591
|
+
revision: z.ZodOptional<z.ZodObject<{
|
|
592
|
+
source_run_id: z.ZodString;
|
|
593
|
+
root_run_id: z.ZodString;
|
|
594
|
+
quoted_credits: z.ZodNumber;
|
|
595
|
+
billing: z.ZodNullable<z.ZodObject<{
|
|
596
|
+
tariff_id: z.ZodString;
|
|
597
|
+
lines: z.ZodArray<z.ZodObject<{
|
|
598
|
+
shot_id: z.ZodString;
|
|
599
|
+
unit: z.ZodEnum<{
|
|
600
|
+
clip: "clip";
|
|
601
|
+
clip_with_new_picture: "clip_with_new_picture";
|
|
602
|
+
kept_clip: "kept_clip";
|
|
603
|
+
kept_picture: "kept_picture";
|
|
604
|
+
picture: "picture";
|
|
605
|
+
}>;
|
|
606
|
+
credits: z.ZodNumber;
|
|
607
|
+
}, z.core.$strict>>;
|
|
608
|
+
render_credits: z.ZodNumber;
|
|
609
|
+
zero_unit: z.ZodNullable<z.ZodEnum<{
|
|
610
|
+
free: "free";
|
|
611
|
+
priced: "priced";
|
|
612
|
+
}>>;
|
|
613
|
+
total_credits: z.ZodNumber;
|
|
614
|
+
}, z.core.$strict>>;
|
|
615
|
+
}, z.core.$strip>>;
|
|
616
|
+
candidate: z.ZodOptional<z.ZodObject<{
|
|
617
|
+
source_run_id: z.ZodString;
|
|
618
|
+
root_run_id: z.ZodString;
|
|
619
|
+
shot_id: z.ZodString;
|
|
620
|
+
kind: z.ZodEnum<{
|
|
621
|
+
clip: "clip";
|
|
622
|
+
picture: "picture";
|
|
623
|
+
}>;
|
|
624
|
+
operation_mode: z.ZodNullable<z.ZodEnum<{
|
|
625
|
+
animate: "animate";
|
|
626
|
+
edit_picture: "edit_picture";
|
|
627
|
+
new_picture: "new_picture";
|
|
628
|
+
retake: "retake";
|
|
629
|
+
}>>;
|
|
630
|
+
take: z.ZodNullable<z.ZodNumber>;
|
|
631
|
+
preview_url: z.ZodNullable<z.ZodString>;
|
|
632
|
+
usable_until: z.ZodNullable<z.ZodString>;
|
|
633
|
+
}, z.core.$strip>>;
|
|
634
|
+
warnings: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
635
|
+
error: z.ZodNullable<z.ZodString>;
|
|
636
|
+
created_actor: z.ZodOptional<z.ZodObject<{
|
|
637
|
+
actor_id: z.ZodString;
|
|
638
|
+
name: z.ZodString;
|
|
639
|
+
gender: z.ZodEnum<{
|
|
640
|
+
female: "female";
|
|
641
|
+
male: "male";
|
|
642
|
+
}>;
|
|
643
|
+
approximate_age: z.ZodNumber;
|
|
644
|
+
version: z.ZodNumber;
|
|
645
|
+
quality: z.ZodEnum<{
|
|
646
|
+
high: "high";
|
|
647
|
+
medium: "medium";
|
|
648
|
+
}>;
|
|
649
|
+
aspect_ratios: z.ZodArray<z.ZodEnum<{
|
|
650
|
+
"16:9": "16:9";
|
|
651
|
+
"1:1": "1:1";
|
|
652
|
+
"9:16": "9:16";
|
|
653
|
+
}>>;
|
|
654
|
+
}, z.core.$strip>>;
|
|
655
|
+
created_at: z.ZodString;
|
|
656
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
657
|
+
state: z.ZodString;
|
|
658
|
+
actor: z.ZodOptional<z.ZodObject<{
|
|
659
|
+
actor_id: z.ZodString;
|
|
660
|
+
version: z.ZodNumber;
|
|
661
|
+
sha256: z.ZodString;
|
|
662
|
+
aspect_ratio: z.ZodString;
|
|
663
|
+
}, z.core.$loose>>;
|
|
664
|
+
faceless_billing: z.ZodOptional<z.ZodObject<{
|
|
665
|
+
outputFrames: z.ZodNumber;
|
|
666
|
+
baseCredits: z.ZodNumber;
|
|
667
|
+
openerCredits: z.ZodNumber;
|
|
668
|
+
totalCredits: z.ZodNumber;
|
|
669
|
+
captions: z.ZodBoolean;
|
|
670
|
+
tariffId: z.ZodString;
|
|
671
|
+
}, z.core.$loose>>;
|
|
672
|
+
billing_terms: z.ZodOptional<z.ZodObject<{
|
|
673
|
+
mode: z.ZodString;
|
|
674
|
+
tariffSnapshot: z.ZodUnion<readonly [z.ZodObject<{
|
|
675
|
+
id: z.ZodString;
|
|
676
|
+
creditsPerSecond: z.ZodNumber;
|
|
677
|
+
version: z.ZodNumber;
|
|
678
|
+
rounding: z.ZodString;
|
|
679
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
680
|
+
pricingVersion: z.ZodString;
|
|
681
|
+
rateCreditsPerFaceSecond: z.ZodNumber;
|
|
682
|
+
minimumCredits: z.ZodNumber;
|
|
683
|
+
version: z.ZodNumber;
|
|
684
|
+
rounding: z.ZodString;
|
|
685
|
+
failurePolicy: z.ZodString;
|
|
686
|
+
}, z.core.$loose>]>;
|
|
687
|
+
}, z.core.$loose>>;
|
|
688
|
+
resolved_broll_policy: z.ZodOptional<z.ZodString>;
|
|
689
|
+
steps: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
690
|
+
step: z.ZodString;
|
|
691
|
+
started_at: z.ZodNullable<z.ZodString>;
|
|
692
|
+
finished_at: z.ZodNullable<z.ZodString>;
|
|
693
|
+
artifacts: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
694
|
+
kind: z.ZodString;
|
|
695
|
+
url: z.ZodString;
|
|
696
|
+
bytes: z.ZodNumber;
|
|
697
|
+
}, z.core.$strip>>>;
|
|
698
|
+
state: z.ZodString;
|
|
699
|
+
}, z.core.$loose>>>;
|
|
700
|
+
final_output: z.ZodNullable<z.ZodObject<{
|
|
701
|
+
video_url: z.ZodString;
|
|
702
|
+
video_url_unsubtitled: z.ZodOptional<z.ZodString>;
|
|
703
|
+
portrait_url: z.ZodOptional<z.ZodString>;
|
|
704
|
+
character_sheet_url: z.ZodOptional<z.ZodString>;
|
|
705
|
+
character_id: z.ZodOptional<z.ZodString>;
|
|
706
|
+
duration_seconds: z.ZodNumber;
|
|
707
|
+
long_form_billing: z.ZodOptional<z.ZodReadonly<z.ZodObject<{
|
|
708
|
+
pricingVersion: z.ZodString;
|
|
709
|
+
rateCreditsPerFaceSecond: z.ZodNumber;
|
|
710
|
+
minimumCredits: z.ZodNumber;
|
|
711
|
+
actualDurationSec: z.ZodNumber;
|
|
712
|
+
actualBillableFaceSeconds: z.ZodNumber;
|
|
713
|
+
finalCreditsCharged: z.ZodNumber;
|
|
714
|
+
minimumApplied: z.ZodBoolean;
|
|
715
|
+
}, z.core.$strict>>>;
|
|
716
|
+
face_duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
717
|
+
full_speech_duration_seconds: z.ZodOptional<z.ZodNumber>;
|
|
718
|
+
face_credits_per_second: z.ZodOptional<z.ZodNumber>;
|
|
719
|
+
face_tariff_id: z.ZodOptional<z.ZodString>;
|
|
720
|
+
ai_generated: z.ZodLiteral<true>;
|
|
721
|
+
ai_disclosure: z.ZodString;
|
|
722
|
+
requested_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
723
|
+
vendor_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
724
|
+
final_aspect_ratio: z.ZodOptional<z.ZodString>;
|
|
725
|
+
composition_policy: z.ZodOptional<z.ZodString>;
|
|
726
|
+
speech_timing_gaps: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
727
|
+
status: z.ZodLiteral<"available">;
|
|
728
|
+
durationSec: z.ZodNumber;
|
|
729
|
+
wordGapDurationSec: z.ZodNumber;
|
|
730
|
+
wordGapFraction: z.ZodNumber;
|
|
731
|
+
leadingGapSec: z.ZodNumber;
|
|
732
|
+
trailingGapSec: z.ZodNumber;
|
|
733
|
+
interWordGapsSec: z.ZodArray<z.ZodNumber>;
|
|
734
|
+
measuredSentenceGapCount: z.ZodNumber;
|
|
735
|
+
sentenceGapMedianSec: z.ZodNullable<z.ZodNumber>;
|
|
736
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
737
|
+
status: z.ZodLiteral<"unavailable">;
|
|
738
|
+
reason: z.ZodString;
|
|
739
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
740
|
+
status: z.ZodString;
|
|
741
|
+
}, z.core.$loose>]>>;
|
|
742
|
+
}, z.core.$loose>>;
|
|
743
|
+
}, z.core.$loose>;
|
|
744
|
+
}, z.core.$loose>;
|
|
745
|
+
export type WorkflowLaunchResponse = z.infer<typeof workflowLaunchResponse>;
|
|
746
|
+
export declare const workflowCommandError: z.ZodObject<{
|
|
747
|
+
error: z.ZodObject<{
|
|
748
|
+
code: z.ZodEnum<{
|
|
749
|
+
workflow_conflict: "workflow_conflict";
|
|
750
|
+
workflow_invalid: "workflow_invalid";
|
|
751
|
+
workflow_not_ready: "workflow_not_ready";
|
|
752
|
+
}>;
|
|
753
|
+
message: z.ZodString;
|
|
754
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
755
|
+
kind: z.ZodString;
|
|
756
|
+
path: z.ZodString;
|
|
757
|
+
message: z.ZodString;
|
|
758
|
+
}, z.core.$strict>>;
|
|
759
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
760
|
+
}, z.core.$strict>;
|
|
761
|
+
}, z.core.$strict>;
|
|
762
|
+
export declare const workflowCommandErrorRead: z.ZodObject<{
|
|
763
|
+
error: z.ZodObject<{
|
|
764
|
+
code: z.ZodEnum<{
|
|
765
|
+
workflow_conflict: "workflow_conflict";
|
|
766
|
+
workflow_invalid: "workflow_invalid";
|
|
767
|
+
workflow_not_ready: "workflow_not_ready";
|
|
768
|
+
}>;
|
|
769
|
+
message: z.ZodString;
|
|
770
|
+
warnings: z.ZodArray<z.ZodString>;
|
|
771
|
+
issues: z.ZodArray<z.ZodObject<{
|
|
772
|
+
kind: z.ZodString;
|
|
773
|
+
path: z.ZodString;
|
|
774
|
+
message: z.ZodString;
|
|
775
|
+
}, z.core.$loose>>;
|
|
776
|
+
}, z.core.$loose>;
|
|
777
|
+
}, z.core.$loose>;
|
|
194
778
|
export declare const workflowOutcomeRead: z.ZodObject<{
|
|
195
779
|
receipt: z.ZodObject<{
|
|
196
780
|
account_id: z.ZodString;
|
|
@@ -207,29 +791,32 @@ export declare const workflowOutcomeRead: z.ZodObject<{
|
|
|
207
791
|
version: z.ZodNumber;
|
|
208
792
|
content_digest: z.ZodString;
|
|
209
793
|
capability_digest: z.ZodString;
|
|
210
|
-
}, z.core.$
|
|
794
|
+
}, z.core.$loose>;
|
|
211
795
|
skill: z.ZodString;
|
|
212
|
-
}, z.core.$
|
|
796
|
+
}, z.core.$loose>;
|
|
213
797
|
state: z.ZodString;
|
|
214
798
|
warnings: z.ZodArray<z.ZodString>;
|
|
215
799
|
actual_output: z.ZodNullable<z.ZodObject<{
|
|
216
800
|
format: z.ZodObject<{
|
|
217
801
|
aspect_ratio: z.ZodString;
|
|
218
802
|
resolution: z.ZodString;
|
|
219
|
-
}, z.core.$
|
|
803
|
+
}, z.core.$loose>;
|
|
220
804
|
duration_seconds: z.ZodNumber;
|
|
221
805
|
artifact_id: z.ZodString;
|
|
222
806
|
content_digest: z.ZodString;
|
|
223
|
-
}, z.core.$
|
|
807
|
+
}, z.core.$loose>>;
|
|
224
808
|
beat_dispositions: z.ZodArray<z.ZodObject<{
|
|
225
809
|
beat_id: z.ZodString;
|
|
226
810
|
disposition: z.ZodString;
|
|
227
811
|
reason: z.ZodOptional<z.ZodString>;
|
|
228
|
-
}, z.core.$
|
|
812
|
+
}, z.core.$loose>>;
|
|
229
813
|
validation_issues: z.ZodArray<z.ZodObject<{
|
|
230
814
|
kind: z.ZodString;
|
|
231
815
|
path: z.ZodString;
|
|
232
816
|
message: z.ZodString;
|
|
233
|
-
}, z.core.$
|
|
817
|
+
}, z.core.$loose>>;
|
|
234
818
|
creative_acceptance: z.ZodString;
|
|
235
|
-
}, z.core.$
|
|
819
|
+
}, z.core.$loose>;
|
|
820
|
+
export type LaunchWorkflowArgs = z.input<typeof launchWorkflow>;
|
|
821
|
+
export type WorkflowQuoteRead = z.infer<typeof workflowQuoteBindingRead>;
|
|
822
|
+
export type WorkflowLaunchRead = z.infer<typeof workflowLaunchResponseRead>;
|