Skip to content

Commit fd1e51a

Browse files
authored
Merge pull request #101 from KnorpelSenf/update-types
feat: update API types
2 parents 0c631c1 + a9c2183 commit fd1e51a

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
@@ -302,10 +302,15 @@ interface TaskThumbnail {
302302
export interface TaskThumbnailData {
303303
input: string | string[];
304304
input_format?: string;
305-
output_format: 'png' | 'jpg';
305+
output_format: 'png' | 'webp' | 'jpg';
306+
width?: number;
307+
height?: number;
308+
fit?: 'max' | 'crop' | 'scale';
309+
count?: number;
310+
timestamp?: string;
311+
filename?: string;
306312
engine?: string;
307313
engine_version?: string;
308-
filename?: string;
309314
timeout?: number;
310315

311316
[option: string]: any;
@@ -440,6 +445,7 @@ export interface ExportS3Data {
440445
cache_control?: string;
441446
metadata?: Record<string, unknown>;
442447
server_side_encryption?: string;
448+
tagging?: Record<string, string>;
443449
}
444450

445451
interface ExportAzureBlob {

0 commit comments

Comments
 (0)