Skip to content

Commit 0551693

Browse files
fix: add ai-tasks property to response schemas with enum values
1 parent 8cada57 commit 0551693

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
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: 48
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-606f0e2a6ecb6c36557e166764d39b8f619a74904db6bb5ed8bb348ed451b337.yml
3-
openapi_spec_hash: 1d5f5cdb3f7992a183c368ecd009316e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/imagekit-inc%2Fimagekit-c028a7584d3508f268ce5c5b824b50af88eaa140620dd03a1b35f409f510603c.yml
3+
openapi_spec_hash: f9b780b2398a87678a13355e48cd515f
44
config_hash: aeb6eb949d73382270bbd8bbf2e4cf2a

betav2file.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,8 @@ type BetaV2FileUploadResponseExtensionStatus struct {
238238
// Any of "success", "pending", "failed".
239239
AIAutoDescription string `json:"ai-auto-description"`
240240
// Any of "success", "pending", "failed".
241+
AITasks string `json:"ai-tasks"`
242+
// Any of "success", "pending", "failed".
241243
AwsAutoTagging string `json:"aws-auto-tagging"`
242244
// Any of "success", "pending", "failed".
243245
GoogleAutoTagging string `json:"google-auto-tagging"`
@@ -246,6 +248,7 @@ type BetaV2FileUploadResponseExtensionStatus struct {
246248
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
247249
JSON struct {
248250
AIAutoDescription respjson.Field
251+
AITasks respjson.Field
249252
AwsAutoTagging respjson.Field
250253
GoogleAutoTagging respjson.Field
251254
RemoveBg respjson.Field

file.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1035,6 +1035,8 @@ type FileUpdateResponseExtensionStatus struct {
10351035
// Any of "success", "pending", "failed".
10361036
AIAutoDescription string `json:"ai-auto-description"`
10371037
// Any of "success", "pending", "failed".
1038+
AITasks string `json:"ai-tasks"`
1039+
// Any of "success", "pending", "failed".
10381040
AwsAutoTagging string `json:"aws-auto-tagging"`
10391041
// Any of "success", "pending", "failed".
10401042
GoogleAutoTagging string `json:"google-auto-tagging"`
@@ -1043,6 +1045,7 @@ type FileUpdateResponseExtensionStatus struct {
10431045
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
10441046
JSON struct {
10451047
AIAutoDescription respjson.Field
1048+
AITasks respjson.Field
10461049
AwsAutoTagging respjson.Field
10471050
GoogleAutoTagging respjson.Field
10481051
RemoveBg respjson.Field
@@ -1264,6 +1267,8 @@ type FileUploadResponseExtensionStatus struct {
12641267
// Any of "success", "pending", "failed".
12651268
AIAutoDescription string `json:"ai-auto-description"`
12661269
// Any of "success", "pending", "failed".
1270+
AITasks string `json:"ai-tasks"`
1271+
// Any of "success", "pending", "failed".
12671272
AwsAutoTagging string `json:"aws-auto-tagging"`
12681273
// Any of "success", "pending", "failed".
12691274
GoogleAutoTagging string `json:"google-auto-tagging"`
@@ -1272,6 +1277,7 @@ type FileUploadResponseExtensionStatus struct {
12721277
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
12731278
JSON struct {
12741279
AIAutoDescription respjson.Field
1280+
AITasks respjson.Field
12751281
AwsAutoTagging respjson.Field
12761282
GoogleAutoTagging respjson.Field
12771283
RemoveBg respjson.Field

webhook.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,8 @@ type UploadPreTransformSuccessEventDataExtensionStatus struct {
612612
// Any of "success", "pending", "failed".
613613
AIAutoDescription string `json:"ai-auto-description"`
614614
// Any of "success", "pending", "failed".
615+
AITasks string `json:"ai-tasks"`
616+
// Any of "success", "pending", "failed".
615617
AwsAutoTagging string `json:"aws-auto-tagging"`
616618
// Any of "success", "pending", "failed".
617619
GoogleAutoTagging string `json:"google-auto-tagging"`
@@ -620,6 +622,7 @@ type UploadPreTransformSuccessEventDataExtensionStatus struct {
620622
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
621623
JSON struct {
622624
AIAutoDescription respjson.Field
625+
AITasks respjson.Field
623626
AwsAutoTagging respjson.Field
624627
GoogleAutoTagging respjson.Field
625628
RemoveBg respjson.Field

0 commit comments

Comments
 (0)