Skip to content

Commit d3e94af

Browse files
fix(client): elide client methods in docs
1 parent 049e837 commit d3e94af

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

src/Transformation.php

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ final class Transformation implements BaseModel
113113
* Supported inside overlay.
114114
* See [AI Background Removal](https://imagekit.io/docs/ai-transformations#imagekit-background-removal-e-bgremove).
115115
*/
116-
#[Api(enum: STAINLESS_FIXME_AIRemoveBackground::class, optional: true)]
116+
#[Api(optional: true)]
117117
public ?bool $aiRemoveBackground;
118118

119119
/**
@@ -122,32 +122,29 @@ final class Transformation implements BaseModel
122122
* Supported inside overlay.
123123
* See [External Background Removal](https://imagekit.io/docs/ai-transformations#background-removal-e-removedotbg).
124124
*/
125-
#[Api(
126-
enum: STAINLESS_FIXME_AIRemoveBackgroundExternal::class,
127-
optional: true
128-
)]
125+
#[Api(optional: true)]
129126
public ?bool $aiRemoveBackgroundExternal;
130127

131128
/**
132129
* Performs AI-based retouching to improve faces or product shots. Not supported inside overlay.
133130
* See [AI Retouch](https://imagekit.io/docs/ai-transformations#retouch-e-retouch).
134131
*/
135-
#[Api(enum: STAINLESS_FIXME_AIRetouch::class, optional: true)]
132+
#[Api(optional: true)]
136133
public ?bool $aiRetouch;
137134

138135
/**
139136
* Upscales images beyond their original dimensions using AI. Not supported inside overlay.
140137
* See [AI Upscale](https://imagekit.io/docs/ai-transformations#upscale-e-upscale).
141138
*/
142-
#[Api(enum: STAINLESS_FIXME_AIUpscale::class, optional: true)]
139+
#[Api(optional: true)]
143140
public ?bool $aiUpscale;
144141

145142
/**
146143
* Generates a variation of an image using AI. This produces a new image with slight variations from the original,
147144
* such as changes in color, texture, and other visual elements, while preserving the structure and essence of the original image. Not supported inside overlay.
148145
* See [AI Generate Variations](https://imagekit.io/docs/ai-transformations#generate-variations-of-an-image-e-genvar).
149146
*/
150-
#[Api(enum: STAINLESS_FIXME_AIVariation::class, optional: true)]
147+
#[Api(optional: true)]
151148
public ?bool $aiVariation;
152149

153150
/**
@@ -202,7 +199,7 @@ enum: STAINLESS_FIXME_AIRemoveBackgroundExternal::class,
202199
* Automatically enhances the contrast of an image (contrast stretch).
203200
* See [Contrast Stretch](https://imagekit.io/docs/effects-and-enhancements#contrast-stretch---e-contrast).
204201
*/
205-
#[Api(enum: STAINLESS_FIXME_ContrastStretch::class, optional: true)]
202+
#[Api(optional: true)]
206203
public ?bool $contrastStretch;
207204

208205
/**
@@ -293,7 +290,7 @@ enum: STAINLESS_FIXME_AIRemoveBackgroundExternal::class,
293290
/**
294291
* Enables a grayscale effect for images. See [Grayscale](https://imagekit.io/docs/effects-and-enhancements#grayscale---e-grayscale).
295292
*/
296-
#[Api(enum: STAINLESS_FIXME_Grayscale::class, optional: true)]
293+
#[Api(optional: true)]
297294
public ?bool $grayscale;
298295

299296
/**

0 commit comments

Comments
 (0)