Skip to content

Commit 28cf661

Browse files
feat(api): manual updates
1 parent 830c4c4 commit 28cf661

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 42
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-4bc3e70493ee36b6dd29a92334f55232a5429d1bf03139d1f072f854c3ba5a6e.yml
3-
openapi_spec_hash: 9b8384f2a421b73c3f03d1ca84c26113
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-967cd0e731df83a642ded194cacae3628050f679c600b1efd4e66cf269973531.yml
3+
openapi_spec_hash: 98642308bee81ac776b7b1843089b888
44
config_hash: 040d180c4960ee032ba08946d86c8764

src/resources/assets.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export namespace AssetListResponse {
115115
/**
116116
* Type of the asset.
117117
*/
118-
type?: string;
118+
type?: 'file' | 'file-version';
119119

120120
/**
121121
* Date and time when the file was last updated. The date and time is in ISO8601

src/resources/files/files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ export interface FileUpdateResponse {
290290
/**
291291
* Type of the asset.
292292
*/
293-
type?: string;
293+
type?: 'file' | 'file-version';
294294

295295
/**
296296
* Date and time when the file was last updated. The date and time is in ISO8601
@@ -454,7 +454,7 @@ export interface FileGetResponse {
454454
/**
455455
* Type of the asset.
456456
*/
457-
type?: string;
457+
type?: 'file' | 'file-version';
458458

459459
/**
460460
* Date and time when the file was last updated. The date and time is in ISO8601

src/resources/files/versions.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ export namespace VersionListResponse {
174174
/**
175175
* Type of the asset.
176176
*/
177-
type?: string;
177+
type?: 'file' | 'file-version';
178178

179179
/**
180180
* Date and time when the file was last updated. The date and time is in ISO8601
@@ -329,7 +329,7 @@ export interface VersionGetResponse {
329329
/**
330330
* Type of the asset.
331331
*/
332-
type?: string;
332+
type?: 'file' | 'file-version';
333333

334334
/**
335335
* Date and time when the file was last updated. The date and time is in ISO8601
@@ -481,7 +481,7 @@ export interface VersionRestoreResponse {
481481
/**
482482
* Type of the asset.
483483
*/
484-
type?: string;
484+
type?: 'file' | 'file-version';
485485

486486
/**
487487
* Date and time when the file was last updated. The date and time is in ISO8601

0 commit comments

Comments
 (0)