Skip to content

Commit 2361086

Browse files
feat(api): manual updates
1 parent de13f68 commit 2361086

File tree

7 files changed

+10
-10
lines changed

7 files changed

+10
-10
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-667f7f4988b44bc587d6eb9960ff5c8326e9f7e9b072f3f724f9f54166eff8b1.yml
3-
openapi_spec_hash: f2081864a4abee0480e5ff991b4c936a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-0470196862abd722b09f1af798d6f2bcbdeba0f82d1162f57c287b1a43233531.yml
3+
openapi_spec_hash: 043dd7c67d741d0034b86f2fc0bce072
44
config_hash: 70f9408b8d1dfbcf262a20d6eed50e1c

src/Beta/V2/Files/FileUploadParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ final class FileUploadParams implements BaseModel
134134
public ?string $description;
135135

136136
/**
137-
* Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
137+
* Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
138138
*
139139
* @var list<RemoveBg|AutoTaggingExtension|AIAutoDescription>|null $extensions
140140
*/
@@ -411,7 +411,7 @@ public function withDescription(string $description): self
411411
}
412412

413413
/**
414-
* Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
414+
* Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
415415
*
416416
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions
417417
*/

src/Core/ServiceContracts/Beta/V2/FilesContract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ interface FilesContract
3838
* @param array<string,
3939
* mixed,> $customMetadata JSON key-value pairs to associate with the asset. Create the custom metadata fields before setting these values.
4040
* @param string $description optional text to describe the contents of the file
41-
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
41+
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
4242
* @param string $folder The folder path in which the image has to be uploaded. If the folder(s) didn't exist before, a new folder(s) is created. Using multiple `/` creates a nested folder.
4343
* @param bool $isPrivateFile Whether to mark the file as private or not.
4444
*

src/Core/ServiceContracts/FilesContract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function rename(
132132
* mixed,> $customMetadata JSON key-value pairs to associate with the asset. Create the custom metadata fields before setting these values.
133133
* @param string $description optional text to describe the contents of the file
134134
* @param int $expire The time until your signature is valid. It must be a [Unix time](https://en.wikipedia.org/wiki/Unix_time) in less than 1 hour into the future. It should be in seconds. This field is only required for authentication when uploading a file from the client side.
135-
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
135+
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
136136
* @param string $folder The folder path in which the image has to be uploaded. If the folder(s) didn't exist before, a new folder(s) is created.
137137
*
138138
* The folder name can contain:

src/Core/Services/Beta/V2/FilesService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct(private Client $client) {}
6161
* @param array<string,
6262
* mixed,> $customMetadata JSON key-value pairs to associate with the asset. Create the custom metadata fields before setting these values.
6363
* @param string $description optional text to describe the contents of the file
64-
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
64+
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
6565
* @param string $folder The folder path in which the image has to be uploaded. If the folder(s) didn't exist before, a new folder(s) is created. Using multiple `/` creates a nested folder.
6666
* @param bool $isPrivateFile Whether to mark the file as private or not.
6767
*

src/Core/Services/FilesService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ public function rename(
285285
* mixed,> $customMetadata JSON key-value pairs to associate with the asset. Create the custom metadata fields before setting these values.
286286
* @param string $description optional text to describe the contents of the file
287287
* @param int $expire The time until your signature is valid. It must be a [Unix time](https://en.wikipedia.org/wiki/Unix_time) in less than 1 hour into the future. It should be in seconds. This field is only required for authentication when uploading a file from the client side.
288-
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
288+
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
289289
* @param string $folder The folder path in which the image has to be uploaded. If the folder(s) didn't exist before, a new folder(s) is created.
290290
*
291291
* The folder name can contain:

src/Files/FileUploadParams.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ final class FileUploadParams implements BaseModel
146146
public ?int $expire;
147147

148148
/**
149-
* Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
149+
* Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
150150
*
151151
* @var list<RemoveBg|AutoTaggingExtension|AIAutoDescription>|null $extensions
152152
*/
@@ -464,7 +464,7 @@ public function withExpire(int $expire): self
464464
}
465465

466466
/**
467-
* Array of extensions to be applied to the image. Each extension can be configured with specific parameters based on the extension type.
467+
* Array of extensions to be applied to the asset. Each extension can be configured with specific parameters based on the extension type.
468468
*
469469
* @param list<RemoveBg|AutoTaggingExtension|AIAutoDescription> $extensions
470470
*/

0 commit comments

Comments
 (0)