Skip to content

Commit a9c2183

Browse files
committed
feat: update API types
1 parent 7eb968b commit a9c2183

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

lib/TasksResource.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,10 +234,15 @@ interface TaskThumbnail {
234234
export interface TaskThumbnailData {
235235
input: string | string[];
236236
input_format?: string;
237-
output_format: 'png' | 'jpg';
237+
output_format: 'png' | 'webp' | 'jpg';
238+
width?: number;
239+
height?: number;
240+
fit?: 'max' | 'crop' | 'scale';
241+
count?: number;
242+
timestamp?: string;
243+
filename?: string;
238244
engine?: string;
239245
engine_version?: string;
240-
filename?: string;
241246
timeout?: number;
242247

243248
[option: string]: any;
@@ -372,6 +377,7 @@ export interface ExportS3Data {
372377
cache_control?: string;
373378
metadata?: Record<string, unknown>;
374379
server_side_encryption?: string;
380+
tagging?: Record<string, string>;
375381
}
376382

377383
interface ExportAzureBlob {

0 commit comments

Comments
 (0)