Skip to content

Commit 3539d72

Browse files
codegen: resync cloud client from EF 65ee22fc
1 parent dc9fb67 commit 3539d72

1 file changed

Lines changed: 34 additions & 9 deletions

File tree

‎packages/cli/src/cloud/_gen/types.ts‎

Lines changed: 34 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,9 @@ export interface CreateAssetUploadResponse {
140140
*/
141141
expires_in_seconds: number;
142142
/**
143-
* Maximum allowed upload size in bytes.
143+
* Maximum allowed upload size in bytes for this content type: 1.5 GB
144+
* (1,500,000,000 bytes) per audio file and 200 MiB (209,715,200 bytes) for
145+
* other supported files.
144146
*/
145147
max_bytes: number;
146148
/**
@@ -228,11 +230,8 @@ export interface DeleteHyperframesRenderResponse {
228230
}
229231

230232
/**
231-
* Output aspect ratio. Only the three ratios already supported end-to-end by
232-
* the render pipeline are exposed today: ``16:9`` (landscape), ``9:16``
233-
* (portrait), ``1:1`` (square). ``auto`` and other social-media ratios (4:5,
234-
* 5:4) are reserved for a follow-up PR that wires composition-dim inference at
235-
* the controller boundary.
233+
* Output aspect ratio. Supported ratios are ``16:9`` (landscape), ``9:16``
234+
* (portrait), and ``1:1`` (square).
236235
*/
237236
export type HyperframesAspectRatio = "16:9" | "9:16" | "1:1";
238237

@@ -314,9 +313,7 @@ export interface HyperframesRenderDetail {
314313
export type HyperframesRenderStatus = "queued" | "rendering" | "completed" | "failed";
315314

316315
/**
317-
* Output resolution tier. Pricing diverges only at 4K (1.5x multiplier). The
318-
* render-pipeline value set is intentionally narrow at launch; 720p and other
319-
* tiers will follow once the producer/CLI surface catches up.
316+
* Output resolution tier. 4K output uses a 1.5x pricing multiplier.
320317
*/
321318
export type HyperframesResolution = "1080p" | "4k";
322319

@@ -337,6 +334,34 @@ export interface StandardAPIError {
337334
* Link to error documentation
338335
*/
339336
doc_url?: string | null;
337+
/**
338+
* Per-item error details for batch/multi-node failures (e.g. graph compilation
339+
* errors by node).
340+
*/
341+
errors?: Array<StandardAPIErrorDetail>;
342+
}
343+
344+
export interface StandardAPIErrorDetail {
345+
/**
346+
* Machine-readable error code
347+
*/
348+
code: string;
349+
/**
350+
* Human-readable error message
351+
*/
352+
message: string;
353+
/**
354+
* Graph node id this error pertains to, if applicable
355+
*/
356+
node_id?: string;
357+
/**
358+
* Port name on the node this error pertains to, if applicable
359+
*/
360+
port?: string;
361+
/**
362+
* Field path within the item this error pertains to, if applicable
363+
*/
364+
path?: string;
340365
}
341366

342367
/**

0 commit comments

Comments
 (0)