Skip to content

Commit 6100f86

Browse files
fix(api): add missing embeddedMetadata and video properties to FileDetails
1 parent 0059b92 commit 6100f86

2 files changed

Lines changed: 28 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 47
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-84f0d75048a9268981a84800b4190e3691997ce57dcfc0876f38a5b3fce6bacd.yml
3-
openapi_spec_hash: 35607d4e850c8a60524223ff632c83bb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-f2eb530f43b355f7ddab66187e45e4ca6da195825b66ea193bbf38acd3deb055.yml
3+
openapi_spec_hash: 2137c56fcf6ae4c09fcac2891b35f789
44
config_hash: 47cb702ee2cb52c58d803ae39ade9b44

src/resources/files/files.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,16 @@ export interface File {
199199
*/
200200
AITags?: Array<File.AITag> | null;
201201

202+
/**
203+
* The audio codec used in the video (only for video/audio).
204+
*/
205+
audioCodec?: string;
206+
207+
/**
208+
* The bit rate of the video in kbps (only for video).
209+
*/
210+
bitRate?: number;
211+
202212
/**
203213
* Date and time when the file was uploaded. The date and time is in ISO8601
204214
* format.
@@ -221,6 +231,17 @@ export interface File {
221231
*/
222232
description?: string;
223233

234+
/**
235+
* The duration of the video in seconds (only for video).
236+
*/
237+
duration?: number;
238+
239+
/**
240+
* Consolidated embedded metadata associated with the file. It includes exif, iptc,
241+
* and xmp data.
242+
*/
243+
embeddedMetadata?: { [key: string]: unknown };
244+
224245
/**
225246
* Unique identifier of the asset.
226247
*/
@@ -318,6 +339,11 @@ export interface File {
318339
*/
319340
versionInfo?: File.VersionInfo;
320341

342+
/**
343+
* The video codec used in the video (only for video).
344+
*/
345+
videoCodec?: string;
346+
321347
/**
322348
* Width of the file.
323349
*/

0 commit comments

Comments
 (0)