@wevion/cli 1.0.3933 → 1.0.3944

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/openapi.json +842 -36
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -119543,6 +119543,10 @@
119543
119543
  "name"
119544
119544
  ],
119545
119545
  "properties": {
119546
+ "character": {
119547
+ "maxLength": 4000,
119548
+ "type": "string"
119549
+ },
119546
119550
  "mode": {
119547
119551
  "anyOf": [
119548
119552
  {
@@ -120401,24 +120405,39 @@
120401
120405
  }
120402
120406
  },
120403
120407
  "429": {
120404
- "description": "Too many requests - rate limit exceeded",
120408
+ "description": "Rate limit exceeded for this route: retry after the seconds in the `retry-after` response header.",
120405
120409
  "content": {
120406
120410
  "application/json": {
120407
120411
  "schema": {
120408
120412
  "additionalProperties": false,
120413
+ "description": "Rate limit exceeded for this route: retry after the seconds in the `retry-after` response header.",
120409
120414
  "type": "object",
120410
120415
  "required": [
120411
- "error"
120416
+ "statusCode",
120417
+ "error",
120418
+ "message"
120412
120419
  ],
120413
120420
  "properties": {
120414
- "code": {
120415
- "type": "string"
120421
+ "statusCode": {
120422
+ "type": "integer"
120416
120423
  },
120417
120424
  "error": {
120418
120425
  "type": "string"
120419
120426
  },
120420
120427
  "message": {
120421
120428
  "type": "string"
120429
+ },
120430
+ "code": {
120431
+ "description": "`API_KEY_RATE_LIMITED` when the exhausted quota is the API key own limit.",
120432
+ "type": "string"
120433
+ },
120434
+ "retry_after_seconds": {
120435
+ "description": "Seconds to wait before retrying, mirroring the `retry-after` header.",
120436
+ "type": "integer"
120437
+ },
120438
+ "request_id": {
120439
+ "description": "Request identifier, for support.",
120440
+ "type": "string"
120422
120441
  }
120423
120442
  }
120424
120443
  }
@@ -121153,14 +121172,193 @@
121153
121172
  }
121154
121173
  }
121155
121174
  },
121156
- "/api/v1/creative-hub/avatars/{id}/confirm": {
121175
+ "/api/v1/creative-hub/avatars/refine-prompt": {
121157
121176
  "post": {
121158
- "operationId": "postApiV1CreativeHubAvatarsByIdConfirm",
121159
- "summary": "Confirm a generated Creative Hub avatar",
121177
+ "operationId": "refineCreativeHubAvatarPrompt",
121178
+ "summary": "Rewrite a free-text avatar prompt into the structured character description",
121160
121179
  "tags": [
121161
121180
  "creative-hub"
121162
121181
  ],
121163
- "description": "Promotes a generated preview to a saved avatar. Only a preview owned by the authenticated user can be confirmed.",
121182
+ "description": "Turns an informal description into the character description the avatar image prompt expects, covering age, complexion, hair, eyes, build, clothing and register. Generates nothing and charges no credits: the caller shows the result to the user, who edits it and decides whether to generate. Rate-limited per user because it reaches a paid model without charging.",
121183
+ "requestBody": {
121184
+ "required": true,
121185
+ "content": {
121186
+ "application/json": {
121187
+ "schema": {
121188
+ "additionalProperties": false,
121189
+ "type": "object",
121190
+ "required": [
121191
+ "prompt"
121192
+ ],
121193
+ "properties": {
121194
+ "prompt": {
121195
+ "minLength": 1,
121196
+ "maxLength": 2000,
121197
+ "type": "string"
121198
+ }
121199
+ }
121200
+ }
121201
+ }
121202
+ }
121203
+ },
121204
+ "security": [
121205
+ {
121206
+ "bearerAuth": []
121207
+ },
121208
+ {
121209
+ "apiKeyAuth": []
121210
+ }
121211
+ ],
121212
+ "responses": {
121213
+ "200": {
121214
+ "description": "Successful response",
121215
+ "content": {
121216
+ "application/json": {
121217
+ "schema": {
121218
+ "additionalProperties": false,
121219
+ "type": "object",
121220
+ "required": [
121221
+ "refined_prompt"
121222
+ ],
121223
+ "properties": {
121224
+ "refined_prompt": {
121225
+ "type": "string"
121226
+ }
121227
+ }
121228
+ }
121229
+ }
121230
+ }
121231
+ },
121232
+ "401": {
121233
+ "description": "Unauthorized - missing or invalid bearer token",
121234
+ "content": {
121235
+ "application/json": {
121236
+ "schema": {
121237
+ "additionalProperties": false,
121238
+ "type": "object",
121239
+ "required": [
121240
+ "error"
121241
+ ],
121242
+ "properties": {
121243
+ "code": {
121244
+ "type": "string"
121245
+ },
121246
+ "error": {
121247
+ "type": "string"
121248
+ },
121249
+ "message": {
121250
+ "type": "string"
121251
+ },
121252
+ "request_id": {
121253
+ "type": "string",
121254
+ "description": "Fastify request id, propagated for support correlation."
121255
+ }
121256
+ }
121257
+ }
121258
+ }
121259
+ }
121260
+ },
121261
+ "403": {
121262
+ "description": "Forbidden - caller lacks the required role/permission",
121263
+ "content": {
121264
+ "application/json": {
121265
+ "schema": {
121266
+ "additionalProperties": false,
121267
+ "type": "object",
121268
+ "required": [
121269
+ "error"
121270
+ ],
121271
+ "properties": {
121272
+ "code": {
121273
+ "type": "string"
121274
+ },
121275
+ "error": {
121276
+ "type": "string"
121277
+ },
121278
+ "message": {
121279
+ "type": "string"
121280
+ }
121281
+ }
121282
+ }
121283
+ }
121284
+ }
121285
+ },
121286
+ "429": {
121287
+ "description": "Rate limit exceeded for this route: retry after the seconds in the `retry-after` response header.",
121288
+ "content": {
121289
+ "application/json": {
121290
+ "schema": {
121291
+ "additionalProperties": false,
121292
+ "description": "Rate limit exceeded for this route: retry after the seconds in the `retry-after` response header.",
121293
+ "type": "object",
121294
+ "required": [
121295
+ "statusCode",
121296
+ "error",
121297
+ "message"
121298
+ ],
121299
+ "properties": {
121300
+ "statusCode": {
121301
+ "type": "integer"
121302
+ },
121303
+ "error": {
121304
+ "type": "string"
121305
+ },
121306
+ "message": {
121307
+ "type": "string"
121308
+ },
121309
+ "code": {
121310
+ "description": "`API_KEY_RATE_LIMITED` when the exhausted quota is the API key own limit.",
121311
+ "type": "string"
121312
+ },
121313
+ "retry_after_seconds": {
121314
+ "description": "Seconds to wait before retrying, mirroring the `retry-after` header.",
121315
+ "type": "integer"
121316
+ },
121317
+ "request_id": {
121318
+ "description": "Request identifier, for support.",
121319
+ "type": "string"
121320
+ }
121321
+ }
121322
+ }
121323
+ }
121324
+ }
121325
+ },
121326
+ "503": {
121327
+ "description": "Service unavailable",
121328
+ "content": {
121329
+ "application/json": {
121330
+ "schema": {
121331
+ "additionalProperties": false,
121332
+ "type": "object",
121333
+ "required": [
121334
+ "error"
121335
+ ],
121336
+ "properties": {
121337
+ "code": {
121338
+ "type": "string"
121339
+ },
121340
+ "error": {
121341
+ "type": "string"
121342
+ },
121343
+ "message": {
121344
+ "type": "string"
121345
+ }
121346
+ }
121347
+ }
121348
+ }
121349
+ }
121350
+ }
121351
+ }
121352
+ }
121353
+ },
121354
+ "/api/v1/creative-hub/avatars/{id}/cancel-edit": {
121355
+ "post": {
121356
+ "operationId": "postApiV1CreativeHubAvatarsByIdCancelEdit",
121357
+ "summary": "Cancel an in-progress edit of a saved Creative Hub avatar",
121358
+ "tags": [
121359
+ "creative-hub"
121360
+ ],
121361
+ "description": "Restores a saved avatar to the shots it had before the edit was started, and puts it back in the library. Only an avatar with a pending restore point can be cancelled; a freshly generated preview has nothing to go back to and is discarded with DELETE instead.",
121164
121362
  "parameters": [
121165
121363
  {
121166
121364
  "schema": {
@@ -121449,6 +121647,31 @@
121449
121647
  }
121450
121648
  }
121451
121649
  },
121650
+ "409": {
121651
+ "description": "Conflict - resource state prevents the operation",
121652
+ "content": {
121653
+ "application/json": {
121654
+ "schema": {
121655
+ "additionalProperties": false,
121656
+ "type": "object",
121657
+ "required": [
121658
+ "error"
121659
+ ],
121660
+ "properties": {
121661
+ "code": {
121662
+ "type": "string"
121663
+ },
121664
+ "error": {
121665
+ "type": "string"
121666
+ },
121667
+ "message": {
121668
+ "type": "string"
121669
+ }
121670
+ }
121671
+ }
121672
+ }
121673
+ }
121674
+ },
121452
121675
  "429": {
121453
121676
  "description": "Too many requests - rate limit exceeded. Reachable on every API-key operation: the per-key cap sold with the plan answers `code: API_KEY_RATE_LIMITED` with `retry_after_seconds` and the `Retry-After` header. The global per-IP limiter can answer here too, with the same status and only `statusCode`, `error` and `message`.",
121454
121677
  "content": {
@@ -121480,31 +121703,14 @@
121480
121703
  }
121481
121704
  }
121482
121705
  },
121483
- "/api/v1/creative-hub/avatars/{id}/regenerate": {
121706
+ "/api/v1/creative-hub/avatars/{id}/confirm": {
121484
121707
  "post": {
121485
- "operationId": "postApiV1CreativeHubAvatarsByIdRegenerate",
121486
- "summary": "Regenerate a Creative Hub avatar preview",
121708
+ "operationId": "postApiV1CreativeHubAvatarsByIdConfirm",
121709
+ "summary": "Confirm a generated Creative Hub avatar",
121487
121710
  "tags": [
121488
121711
  "creative-hub"
121489
121712
  ],
121490
- "description": "Runs the generation again on the traits already stored for the preview. An optional feedback note is appended to the previous free text instead of replacing it. Charges the generation again.",
121491
- "requestBody": {
121492
- "required": true,
121493
- "content": {
121494
- "application/json": {
121495
- "schema": {
121496
- "additionalProperties": false,
121497
- "type": "object",
121498
- "properties": {
121499
- "feedback": {
121500
- "maxLength": 2000,
121501
- "type": "string"
121502
- }
121503
- }
121504
- }
121505
- }
121506
- }
121507
- },
121713
+ "description": "Promotes a generated preview to a saved avatar. Only a preview owned by the authenticated user can be confirmed.",
121508
121714
  "parameters": [
121509
121715
  {
121510
121716
  "schema": {
@@ -121525,8 +121731,352 @@
121525
121731
  }
121526
121732
  ],
121527
121733
  "responses": {
121528
- "202": {
121529
- "description": "Accepted - processing asynchronously",
121734
+ "200": {
121735
+ "description": "Successful response",
121736
+ "content": {
121737
+ "application/json": {
121738
+ "schema": {
121739
+ "additionalProperties": false,
121740
+ "type": "object",
121741
+ "required": [
121742
+ "id",
121743
+ "team_id",
121744
+ "created_by",
121745
+ "name",
121746
+ "gender",
121747
+ "age_bracket",
121748
+ "scenario",
121749
+ "image_url",
121750
+ "thumbnail_url",
121751
+ "preview_video_url",
121752
+ "prompt",
121753
+ "voice_id",
121754
+ "provider",
121755
+ "provider_avatar_ref",
121756
+ "is_library",
121757
+ "status",
121758
+ "tags",
121759
+ "metadata",
121760
+ "created_at",
121761
+ "updated_at",
121762
+ "deleted_at"
121763
+ ],
121764
+ "properties": {
121765
+ "id": {
121766
+ "format": "uuid",
121767
+ "type": "string"
121768
+ },
121769
+ "team_id": {
121770
+ "anyOf": [
121771
+ {
121772
+ "format": "uuid",
121773
+ "type": "string"
121774
+ },
121775
+ {
121776
+ "type": "null"
121777
+ }
121778
+ ]
121779
+ },
121780
+ "created_by": {
121781
+ "anyOf": [
121782
+ {
121783
+ "format": "uuid",
121784
+ "type": "string"
121785
+ },
121786
+ {
121787
+ "type": "null"
121788
+ }
121789
+ ]
121790
+ },
121791
+ "name": {
121792
+ "type": "string"
121793
+ },
121794
+ "gender": {
121795
+ "anyOf": [
121796
+ {
121797
+ "type": "string"
121798
+ },
121799
+ {
121800
+ "type": "null"
121801
+ }
121802
+ ]
121803
+ },
121804
+ "age_bracket": {
121805
+ "anyOf": [
121806
+ {
121807
+ "type": "string"
121808
+ },
121809
+ {
121810
+ "type": "null"
121811
+ }
121812
+ ]
121813
+ },
121814
+ "scenario": {
121815
+ "anyOf": [
121816
+ {
121817
+ "type": "string"
121818
+ },
121819
+ {
121820
+ "type": "null"
121821
+ }
121822
+ ]
121823
+ },
121824
+ "image_url": {
121825
+ "type": "string"
121826
+ },
121827
+ "thumbnail_url": {
121828
+ "anyOf": [
121829
+ {
121830
+ "type": "string"
121831
+ },
121832
+ {
121833
+ "type": "null"
121834
+ }
121835
+ ]
121836
+ },
121837
+ "preview_video_url": {
121838
+ "anyOf": [
121839
+ {
121840
+ "type": "string"
121841
+ },
121842
+ {
121843
+ "type": "null"
121844
+ }
121845
+ ]
121846
+ },
121847
+ "prompt": {
121848
+ "anyOf": [
121849
+ {
121850
+ "type": "string"
121851
+ },
121852
+ {
121853
+ "type": "null"
121854
+ }
121855
+ ]
121856
+ },
121857
+ "voice_id": {
121858
+ "anyOf": [
121859
+ {
121860
+ "format": "uuid",
121861
+ "type": "string"
121862
+ },
121863
+ {
121864
+ "type": "null"
121865
+ }
121866
+ ]
121867
+ },
121868
+ "provider": {
121869
+ "type": "string"
121870
+ },
121871
+ "provider_avatar_ref": {
121872
+ "anyOf": [
121873
+ {
121874
+ "type": "string"
121875
+ },
121876
+ {
121877
+ "type": "null"
121878
+ }
121879
+ ]
121880
+ },
121881
+ "is_library": {
121882
+ "type": "boolean"
121883
+ },
121884
+ "status": {
121885
+ "type": "string"
121886
+ },
121887
+ "tags": {
121888
+ "type": "array",
121889
+ "items": {
121890
+ "type": "string"
121891
+ }
121892
+ },
121893
+ "metadata": {
121894
+ "type": "object",
121895
+ "additionalProperties": {
121896
+ "$comment": "json-value"
121897
+ }
121898
+ },
121899
+ "created_at": {
121900
+ "format": "date-time",
121901
+ "type": "string"
121902
+ },
121903
+ "updated_at": {
121904
+ "format": "date-time",
121905
+ "type": "string"
121906
+ },
121907
+ "deleted_at": {
121908
+ "anyOf": [
121909
+ {
121910
+ "format": "date-time",
121911
+ "type": "string"
121912
+ },
121913
+ {
121914
+ "type": "null"
121915
+ }
121916
+ ]
121917
+ }
121918
+ }
121919
+ }
121920
+ }
121921
+ }
121922
+ },
121923
+ "401": {
121924
+ "description": "Unauthorized - missing or invalid bearer token",
121925
+ "content": {
121926
+ "application/json": {
121927
+ "schema": {
121928
+ "additionalProperties": false,
121929
+ "type": "object",
121930
+ "required": [
121931
+ "error"
121932
+ ],
121933
+ "properties": {
121934
+ "code": {
121935
+ "type": "string"
121936
+ },
121937
+ "error": {
121938
+ "type": "string"
121939
+ },
121940
+ "message": {
121941
+ "type": "string"
121942
+ },
121943
+ "request_id": {
121944
+ "type": "string",
121945
+ "description": "Fastify request id, propagated for support correlation."
121946
+ }
121947
+ }
121948
+ }
121949
+ }
121950
+ }
121951
+ },
121952
+ "403": {
121953
+ "description": "Forbidden - caller lacks the required role/permission",
121954
+ "content": {
121955
+ "application/json": {
121956
+ "schema": {
121957
+ "additionalProperties": false,
121958
+ "type": "object",
121959
+ "required": [
121960
+ "error"
121961
+ ],
121962
+ "properties": {
121963
+ "code": {
121964
+ "type": "string"
121965
+ },
121966
+ "error": {
121967
+ "type": "string"
121968
+ },
121969
+ "message": {
121970
+ "type": "string"
121971
+ }
121972
+ }
121973
+ }
121974
+ }
121975
+ }
121976
+ },
121977
+ "404": {
121978
+ "description": "Resource not found",
121979
+ "content": {
121980
+ "application/json": {
121981
+ "schema": {
121982
+ "additionalProperties": false,
121983
+ "type": "object",
121984
+ "required": [
121985
+ "error"
121986
+ ],
121987
+ "properties": {
121988
+ "code": {
121989
+ "type": "string"
121990
+ },
121991
+ "error": {
121992
+ "type": "string"
121993
+ },
121994
+ "message": {
121995
+ "type": "string"
121996
+ }
121997
+ }
121998
+ }
121999
+ }
122000
+ }
122001
+ },
122002
+ "429": {
122003
+ "description": "Too many requests - rate limit exceeded. Reachable on every API-key operation: the per-key cap sold with the plan answers `code: API_KEY_RATE_LIMITED` with `retry_after_seconds` and the `Retry-After` header. The global per-IP limiter can answer here too, with the same status and only `statusCode`, `error` and `message`.",
122004
+ "content": {
122005
+ "application/json": {
122006
+ "schema": {
122007
+ "$ref": "#/components/schemas/RateLimitedResponse"
122008
+ }
122009
+ }
122010
+ }
122011
+ },
122012
+ "503": {
122013
+ "description": "Session revocation check unavailable (Redis): retry after the Retry-After header.",
122014
+ "headers": {
122015
+ "Retry-After": {
122016
+ "description": "Seconds to wait before retrying the identical request.",
122017
+ "schema": {
122018
+ "type": "integer"
122019
+ }
122020
+ }
122021
+ },
122022
+ "content": {
122023
+ "application/json": {
122024
+ "schema": {
122025
+ "$ref": "#/components/schemas/ErrorResponse"
122026
+ }
122027
+ }
122028
+ }
122029
+ }
122030
+ }
122031
+ }
122032
+ },
122033
+ "/api/v1/creative-hub/avatars/{id}/regenerate": {
122034
+ "post": {
122035
+ "operationId": "postApiV1CreativeHubAvatarsByIdRegenerate",
122036
+ "summary": "Regenerate a Creative Hub avatar preview",
122037
+ "tags": [
122038
+ "creative-hub"
122039
+ ],
122040
+ "description": "Runs the generation again on the traits already stored for the avatar. Accepts both a not-yet-saved preview and an avatar already in the library: on a saved one this is the post-hoc edit, and the previous shots are kept as a restore point until the result is confirmed or cancelled. An optional feedback note is appended to the previous free text instead of replacing it. Charges the generation again.",
122041
+ "requestBody": {
122042
+ "required": true,
122043
+ "content": {
122044
+ "application/json": {
122045
+ "schema": {
122046
+ "additionalProperties": false,
122047
+ "type": "object",
122048
+ "properties": {
122049
+ "feedback": {
122050
+ "maxLength": 2000,
122051
+ "type": "string"
122052
+ }
122053
+ }
122054
+ }
122055
+ }
122056
+ }
122057
+ },
122058
+ "parameters": [
122059
+ {
122060
+ "schema": {
122061
+ "format": "uuid",
122062
+ "type": "string"
122063
+ },
122064
+ "in": "path",
122065
+ "name": "id",
122066
+ "required": true
122067
+ }
122068
+ ],
122069
+ "security": [
122070
+ {
122071
+ "bearerAuth": []
122072
+ },
122073
+ {
122074
+ "apiKeyAuth": []
122075
+ }
122076
+ ],
122077
+ "responses": {
122078
+ "202": {
122079
+ "description": "Accepted - processing asynchronously",
121530
122080
  "content": {
121531
122081
  "application/json": {
121532
122082
  "schema": {
@@ -121669,24 +122219,39 @@
121669
122219
  }
121670
122220
  },
121671
122221
  "429": {
121672
- "description": "Too many requests - rate limit exceeded",
122222
+ "description": "Rate limit exceeded for this route: retry after the seconds in the `retry-after` response header.",
121673
122223
  "content": {
121674
122224
  "application/json": {
121675
122225
  "schema": {
121676
122226
  "additionalProperties": false,
122227
+ "description": "Rate limit exceeded for this route: retry after the seconds in the `retry-after` response header.",
121677
122228
  "type": "object",
121678
122229
  "required": [
121679
- "error"
122230
+ "statusCode",
122231
+ "error",
122232
+ "message"
121680
122233
  ],
121681
122234
  "properties": {
121682
- "code": {
121683
- "type": "string"
122235
+ "statusCode": {
122236
+ "type": "integer"
121684
122237
  },
121685
122238
  "error": {
121686
122239
  "type": "string"
121687
122240
  },
121688
122241
  "message": {
121689
122242
  "type": "string"
122243
+ },
122244
+ "code": {
122245
+ "description": "`API_KEY_RATE_LIMITED` when the exhausted quota is the API key own limit.",
122246
+ "type": "string"
122247
+ },
122248
+ "retry_after_seconds": {
122249
+ "description": "Seconds to wait before retrying, mirroring the `retry-after` header.",
122250
+ "type": "integer"
122251
+ },
122252
+ "request_id": {
122253
+ "description": "Request identifier, for support.",
122254
+ "type": "string"
121690
122255
  }
121691
122256
  }
121692
122257
  }
@@ -131772,7 +132337,7 @@
131772
132337
  "creative-hub",
131773
132338
  "creative-library"
131774
132339
  ],
131775
- "description": "Lists Creative Hub assets for the active team with optional kind, folder and search filters. Results are cursor-paginated.",
132340
+ "description": "Lists Creative Hub assets for the active team with optional kind, folder, search and producer filters. Results are cursor-paginated.",
131776
132341
  "parameters": [
131777
132342
  {
131778
132343
  "schema": {
@@ -131799,6 +132364,18 @@
131799
132364
  "name": "search",
131800
132365
  "required": false
131801
132366
  },
132367
+ {
132368
+ "schema": {
132369
+ "type": "string",
132370
+ "enum": [
132371
+ "subtitles"
132372
+ ]
132373
+ },
132374
+ "in": "query",
132375
+ "name": "produced_by",
132376
+ "required": false,
132377
+ "description": "Only assets produced by this Creative Hub pipeline."
132378
+ },
131802
132379
  {
131803
132380
  "schema": {
131804
132381
  "type": "string"
@@ -132644,6 +133221,235 @@
132644
133221
  }
132645
133222
  },
132646
133223
  "/api/v1/creative-hub/library/assets/{id}": {
133224
+ "get": {
133225
+ "operationId": "creativeHubGetAsset",
133226
+ "summary": "Get one Creative Hub library asset",
133227
+ "tags": [
133228
+ "creative-hub",
133229
+ "creative-library"
133230
+ ],
133231
+ "description": "Returns one Creative Hub library asset in the active team. Answers 404 when the asset does not exist or is outside the caller scope, so a guessed id cannot tell the two apart.",
133232
+ "parameters": [
133233
+ {
133234
+ "schema": {
133235
+ "type": "string"
133236
+ },
133237
+ "in": "path",
133238
+ "name": "id",
133239
+ "required": true
133240
+ }
133241
+ ],
133242
+ "security": [
133243
+ {
133244
+ "bearerAuth": []
133245
+ },
133246
+ {
133247
+ "apiKeyAuth": []
133248
+ }
133249
+ ],
133250
+ "responses": {
133251
+ "200": {
133252
+ "description": "Successful response",
133253
+ "content": {
133254
+ "application/json": {
133255
+ "schema": {
133256
+ "additionalProperties": false,
133257
+ "type": "object",
133258
+ "required": [
133259
+ "id",
133260
+ "name",
133261
+ "kind",
133262
+ "url",
133263
+ "thumbnail_url",
133264
+ "format",
133265
+ "width",
133266
+ "height",
133267
+ "duration",
133268
+ "size_bytes",
133269
+ "folder_id",
133270
+ "source",
133271
+ "provider",
133272
+ "metadata",
133273
+ "created_at"
133274
+ ],
133275
+ "properties": {
133276
+ "id": {
133277
+ "type": "string"
133278
+ },
133279
+ "name": {
133280
+ "anyOf": [
133281
+ {
133282
+ "type": "string"
133283
+ },
133284
+ {
133285
+ "type": "null"
133286
+ }
133287
+ ]
133288
+ },
133289
+ "kind": {
133290
+ "type": "string"
133291
+ },
133292
+ "url": {
133293
+ "type": "string"
133294
+ },
133295
+ "thumbnail_url": {
133296
+ "anyOf": [
133297
+ {
133298
+ "type": "string"
133299
+ },
133300
+ {
133301
+ "type": "null"
133302
+ }
133303
+ ]
133304
+ },
133305
+ "format": {
133306
+ "anyOf": [
133307
+ {
133308
+ "type": "string"
133309
+ },
133310
+ {
133311
+ "type": "null"
133312
+ }
133313
+ ]
133314
+ },
133315
+ "width": {
133316
+ "anyOf": [
133317
+ {
133318
+ "type": "integer"
133319
+ },
133320
+ {
133321
+ "type": "null"
133322
+ }
133323
+ ]
133324
+ },
133325
+ "height": {
133326
+ "anyOf": [
133327
+ {
133328
+ "type": "integer"
133329
+ },
133330
+ {
133331
+ "type": "null"
133332
+ }
133333
+ ]
133334
+ },
133335
+ "duration": {
133336
+ "anyOf": [
133337
+ {
133338
+ "type": "number"
133339
+ },
133340
+ {
133341
+ "type": "null"
133342
+ }
133343
+ ]
133344
+ },
133345
+ "size_bytes": {
133346
+ "anyOf": [
133347
+ {
133348
+ "type": "integer"
133349
+ },
133350
+ {
133351
+ "type": "null"
133352
+ }
133353
+ ]
133354
+ },
133355
+ "folder_id": {
133356
+ "anyOf": [
133357
+ {
133358
+ "type": "string"
133359
+ },
133360
+ {
133361
+ "type": "null"
133362
+ }
133363
+ ]
133364
+ },
133365
+ "source": {
133366
+ "type": "string"
133367
+ },
133368
+ "provider": {
133369
+ "anyOf": [
133370
+ {
133371
+ "type": "string"
133372
+ },
133373
+ {
133374
+ "type": "null"
133375
+ }
133376
+ ]
133377
+ },
133378
+ "metadata": {
133379
+ "description": "JSON object with nested arrays and objects.",
133380
+ "type": "object",
133381
+ "additionalProperties": {
133382
+ "$comment": "json-value",
133383
+ "description": "Arbitrary JSON value with nested arrays and objects."
133384
+ }
133385
+ },
133386
+ "created_at": {
133387
+ "format": "date-time",
133388
+ "type": "string"
133389
+ }
133390
+ }
133391
+ }
133392
+ }
133393
+ }
133394
+ },
133395
+ "401": {
133396
+ "description": "Unauthorized - missing or invalid bearer token",
133397
+ "content": {
133398
+ "application/json": {
133399
+ "schema": {
133400
+ "$ref": "#/components/schemas/ErrorResponse"
133401
+ }
133402
+ }
133403
+ }
133404
+ },
133405
+ "404": {
133406
+ "description": "Resource not found",
133407
+ "content": {
133408
+ "application/json": {
133409
+ "schema": {
133410
+ "type": "object",
133411
+ "required": [
133412
+ "error"
133413
+ ],
133414
+ "properties": {
133415
+ "error": {
133416
+ "type": "string"
133417
+ }
133418
+ }
133419
+ }
133420
+ }
133421
+ }
133422
+ },
133423
+ "429": {
133424
+ "description": "Too many requests - rate limit exceeded. Reachable on every API-key operation: the per-key cap sold with the plan answers `code: API_KEY_RATE_LIMITED` with `retry_after_seconds` and the `Retry-After` header. The global per-IP limiter can answer here too, with the same status and only `statusCode`, `error` and `message`.",
133425
+ "content": {
133426
+ "application/json": {
133427
+ "schema": {
133428
+ "$ref": "#/components/schemas/RateLimitedResponse"
133429
+ }
133430
+ }
133431
+ }
133432
+ },
133433
+ "503": {
133434
+ "description": "Session revocation check unavailable (Redis): retry after the Retry-After header.",
133435
+ "headers": {
133436
+ "Retry-After": {
133437
+ "description": "Seconds to wait before retrying the identical request.",
133438
+ "schema": {
133439
+ "type": "integer"
133440
+ }
133441
+ }
133442
+ },
133443
+ "content": {
133444
+ "application/json": {
133445
+ "schema": {
133446
+ "$ref": "#/components/schemas/ErrorResponse"
133447
+ }
133448
+ }
133449
+ }
133450
+ }
133451
+ }
133452
+ },
132647
133453
  "patch": {
132648
133454
  "operationId": "creativeHubRenameAsset",
132649
133455
  "summary": "Rename a Creative Hub library asset",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.3933",
3
+ "version": "1.0.3944",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {