@wevion/cli 1.0.2868 → 1.0.2914

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 +335 -9
  2. package/package.json +1 -1
package/openapi.json CHANGED
@@ -32994,6 +32994,7 @@
32994
32994
  "cancel_at_period_end",
32995
32995
  "extra_user_slots",
32996
32996
  "is_read_only",
32997
+ "is_unlimited",
32997
32998
  "read_only_reason",
32998
32999
  "billing_currency",
32999
33000
  "scheduled_plan_id",
@@ -33073,6 +33074,9 @@
33073
33074
  "is_read_only": {
33074
33075
  "type": "boolean"
33075
33076
  },
33077
+ "is_unlimited": {
33078
+ "type": "boolean"
33079
+ },
33076
33080
  "read_only_reason": {
33077
33081
  "anyOf": [
33078
33082
  {
@@ -50056,6 +50060,16 @@
50056
50060
  "additionalProperties": false,
50057
50061
  "type": "object",
50058
50062
  "properties": {
50063
+ "acceleratedDelivery": {
50064
+ "anyOf": [
50065
+ {
50066
+ "type": "boolean"
50067
+ },
50068
+ {
50069
+ "type": "null"
50070
+ }
50071
+ ]
50072
+ },
50059
50073
  "advantagePlus": {
50060
50074
  "anyOf": [
50061
50075
  {
@@ -54754,6 +54768,16 @@
54754
54768
  "additionalProperties": false,
54755
54769
  "type": "object",
54756
54770
  "properties": {
54771
+ "acceleratedDelivery": {
54772
+ "anyOf": [
54773
+ {
54774
+ "type": "boolean"
54775
+ },
54776
+ {
54777
+ "type": "null"
54778
+ }
54779
+ ]
54780
+ },
54757
54781
  "advantagePlus": {
54758
54782
  "anyOf": [
54759
54783
  {
@@ -59353,6 +59377,16 @@
59353
59377
  "additionalProperties": false,
59354
59378
  "type": "object",
59355
59379
  "properties": {
59380
+ "acceleratedDelivery": {
59381
+ "anyOf": [
59382
+ {
59383
+ "type": "boolean"
59384
+ },
59385
+ {
59386
+ "type": "null"
59387
+ }
59388
+ ]
59389
+ },
59356
59390
  "advantagePlus": {
59357
59391
  "anyOf": [
59358
59392
  {
@@ -67637,6 +67671,16 @@
67637
67671
  "additionalProperties": false,
67638
67672
  "type": "object",
67639
67673
  "properties": {
67674
+ "acceleratedDelivery": {
67675
+ "anyOf": [
67676
+ {
67677
+ "type": "boolean"
67678
+ },
67679
+ {
67680
+ "type": "null"
67681
+ }
67682
+ ]
67683
+ },
67640
67684
  "advantagePlus": {
67641
67685
  "anyOf": [
67642
67686
  {
@@ -106995,6 +107039,7 @@
106995
107039
  "createdTime",
106996
107040
  "modifiedTime",
106997
107041
  "thumbnailUrl",
107042
+ "contentUrl",
106998
107043
  "viewUrl",
106999
107044
  "downloadUrl",
107000
107045
  "isVideo",
@@ -107067,6 +107112,16 @@
107067
107112
  }
107068
107113
  ]
107069
107114
  },
107115
+ "contentUrl": {
107116
+ "anyOf": [
107117
+ {
107118
+ "type": "string"
107119
+ },
107120
+ {
107121
+ "type": "null"
107122
+ }
107123
+ ]
107124
+ },
107070
107125
  "viewUrl": {
107071
107126
  "anyOf": [
107072
107127
  {
@@ -107429,6 +107484,7 @@
107429
107484
  "createdTime",
107430
107485
  "modifiedTime",
107431
107486
  "thumbnailUrl",
107487
+ "contentUrl",
107432
107488
  "viewUrl",
107433
107489
  "downloadUrl",
107434
107490
  "isVideo",
@@ -107501,6 +107557,16 @@
107501
107557
  }
107502
107558
  ]
107503
107559
  },
107560
+ "contentUrl": {
107561
+ "anyOf": [
107562
+ {
107563
+ "type": "string"
107564
+ },
107565
+ {
107566
+ "type": "null"
107567
+ }
107568
+ ]
107569
+ },
107504
107570
  "viewUrl": {
107505
107571
  "anyOf": [
107506
107572
  {
@@ -107713,6 +107779,7 @@
107713
107779
  "createdTime",
107714
107780
  "modifiedTime",
107715
107781
  "thumbnailUrl",
107782
+ "contentUrl",
107716
107783
  "viewUrl",
107717
107784
  "downloadUrl",
107718
107785
  "isVideo",
@@ -107785,6 +107852,16 @@
107785
107852
  }
107786
107853
  ]
107787
107854
  },
107855
+ "contentUrl": {
107856
+ "anyOf": [
107857
+ {
107858
+ "type": "string"
107859
+ },
107860
+ {
107861
+ "type": "null"
107862
+ }
107863
+ ]
107864
+ },
107788
107865
  "viewUrl": {
107789
107866
  "anyOf": [
107790
107867
  {
@@ -108172,6 +108249,7 @@
108172
108249
  "createdTime",
108173
108250
  "modifiedTime",
108174
108251
  "thumbnailUrl",
108252
+ "contentUrl",
108175
108253
  "viewUrl",
108176
108254
  "downloadUrl",
108177
108255
  "isVideo",
@@ -108244,6 +108322,16 @@
108244
108322
  }
108245
108323
  ]
108246
108324
  },
108325
+ "contentUrl": {
108326
+ "anyOf": [
108327
+ {
108328
+ "type": "string"
108329
+ },
108330
+ {
108331
+ "type": "null"
108332
+ }
108333
+ ]
108334
+ },
108247
108335
  "viewUrl": {
108248
108336
  "anyOf": [
108249
108337
  {
@@ -108923,6 +109011,116 @@
108923
109011
  }
108924
109012
  }
108925
109013
  },
109014
+ "/api/v1/creative-hub/media-capabilities": {
109015
+ "post": {
109016
+ "operationId": "postApiV1CreativeHubMediaCapabilities",
109017
+ "summary": "Mint signed media capability tokens for Drive files",
109018
+ "tags": [
109019
+ "creative-hub"
109020
+ ],
109021
+ "description": "Returns short-lived, fileId-bound capability tokens for the requested Drive files that live within the caller tenant-allowed Drive roots (own folder + visible team members). The tokens gate the unauthenticated thumbnail/content proxies so the browser can load media without a Bearer header. Files outside the allowed roots are omitted (never minted). Used to (re)mint caps at render time — e.g. for stored campaign drafts — so capability URLs are never persisted.",
109022
+ "requestBody": {
109023
+ "required": true,
109024
+ "content": {
109025
+ "application/json": {
109026
+ "schema": {
109027
+ "additionalProperties": false,
109028
+ "type": "object",
109029
+ "required": [
109030
+ "fileIds"
109031
+ ],
109032
+ "properties": {
109033
+ "fileIds": {
109034
+ "minItems": 1,
109035
+ "maxItems": 200,
109036
+ "type": "array",
109037
+ "items": {
109038
+ "minLength": 1,
109039
+ "type": "string"
109040
+ }
109041
+ }
109042
+ }
109043
+ }
109044
+ }
109045
+ }
109046
+ },
109047
+ "security": [
109048
+ {
109049
+ "bearerAuth": []
109050
+ },
109051
+ {
109052
+ "apiKeyAuth": []
109053
+ }
109054
+ ],
109055
+ "responses": {
109056
+ "200": {
109057
+ "description": "Successful response",
109058
+ "content": {
109059
+ "application/json": {
109060
+ "schema": {
109061
+ "type": "object",
109062
+ "required": [
109063
+ "capabilities"
109064
+ ],
109065
+ "properties": {
109066
+ "capabilities": {
109067
+ "type": "array",
109068
+ "items": {
109069
+ "type": "object",
109070
+ "required": [
109071
+ "fileId",
109072
+ "cap",
109073
+ "exp"
109074
+ ],
109075
+ "properties": {
109076
+ "fileId": {
109077
+ "type": "string"
109078
+ },
109079
+ "cap": {
109080
+ "type": "string"
109081
+ },
109082
+ "exp": {
109083
+ "type": "integer"
109084
+ }
109085
+ }
109086
+ }
109087
+ }
109088
+ }
109089
+ }
109090
+ }
109091
+ }
109092
+ },
109093
+ "401": {
109094
+ "description": "Unauthorized - missing or invalid bearer token",
109095
+ "content": {
109096
+ "application/json": {
109097
+ "schema": {
109098
+ "$ref": "#/components/schemas/ErrorResponse"
109099
+ }
109100
+ }
109101
+ }
109102
+ },
109103
+ "500": {
109104
+ "description": "Internal server error",
109105
+ "content": {
109106
+ "application/json": {
109107
+ "schema": {
109108
+ "type": "object",
109109
+ "required": [
109110
+ "error"
109111
+ ],
109112
+ "properties": {
109113
+ "error": {
109114
+ "type": "string"
109115
+ }
109116
+ }
109117
+ }
109118
+ }
109119
+ }
109120
+ }
109121
+ }
109122
+ }
109123
+ },
108926
109124
  "/api/v1/creative-hub/generate/video": {
108927
109125
  "post": {
108928
109126
  "operationId": "creativeHubGenerateVideo",
@@ -114761,6 +114959,7 @@
114761
114959
  "createdTime",
114762
114960
  "modifiedTime",
114763
114961
  "thumbnailUrl",
114962
+ "contentUrl",
114764
114963
  "viewUrl",
114765
114964
  "downloadUrl",
114766
114965
  "isVideo",
@@ -114832,6 +115031,16 @@
114832
115031
  }
114833
115032
  ]
114834
115033
  },
115034
+ "contentUrl": {
115035
+ "anyOf": [
115036
+ {
115037
+ "type": "string"
115038
+ },
115039
+ {
115040
+ "type": "null"
115041
+ }
115042
+ ]
115043
+ },
114835
115044
  "viewUrl": {
114836
115045
  "anyOf": [
114837
115046
  {
@@ -114937,8 +115146,17 @@
114937
115146
  "tags": [
114938
115147
  "creative-hub"
114939
115148
  ],
114940
- "description": "Serves a thumbnail for a Drive file as raw image bytes. Uses in-memory cache, then S3 cache for videos, then Drive thumbnail link for images. Response body is binary image data (image/jpeg or image/png); error responses are JSON.",
115149
+ "description": "Serves a thumbnail for a Drive file as raw image bytes, gated on a signed capability token (?cap=) bound to the fileId. Uses in-memory cache, then S3 cache for videos, then Drive thumbnail link for images. Response body is binary image data (image/jpeg or image/png); error responses are JSON.",
114941
115150
  "parameters": [
115151
+ {
115152
+ "schema": {
115153
+ "type": "string"
115154
+ },
115155
+ "in": "query",
115156
+ "name": "cap",
115157
+ "required": false,
115158
+ "description": "Required signed, expiring capability token bound to this fileId and the issuing tenant. Minted by the authenticated Creative Hub file list/library responses or the media-capabilities endpoint. Missing/invalid/expired/wrong-file tokens are rejected with 403."
115159
+ },
114942
115160
  {
114943
115161
  "schema": {
114944
115162
  "type": "string"
@@ -114966,6 +115184,34 @@
114966
115184
  }
114967
115185
  }
114968
115186
  },
115187
+ "401": {
115188
+ "description": "Unauthorized - missing or invalid bearer token",
115189
+ "content": {
115190
+ "application/json": {
115191
+ "schema": {
115192
+ "$ref": "#/components/schemas/ErrorResponse"
115193
+ }
115194
+ }
115195
+ }
115196
+ },
115197
+ "403": {
115198
+ "description": "Forbidden - caller lacks the required role/permission",
115199
+ "content": {
115200
+ "application/json": {
115201
+ "schema": {
115202
+ "type": "object",
115203
+ "required": [
115204
+ "error"
115205
+ ],
115206
+ "properties": {
115207
+ "error": {
115208
+ "type": "string"
115209
+ }
115210
+ }
115211
+ }
115212
+ }
115213
+ }
115214
+ },
114969
115215
  "404": {
114970
115216
  "description": "Resource not found",
114971
115217
  "content": {
@@ -115002,7 +115248,12 @@
115002
115248
  }
115003
115249
  }
115004
115250
  }
115005
- }
115251
+ },
115252
+ "security": [
115253
+ {
115254
+ "bearerAuth": []
115255
+ }
115256
+ ]
115006
115257
  }
115007
115258
  },
115008
115259
  "/api/v1/creative-hub/files/{fileId}/content": {
@@ -115012,8 +115263,17 @@
115012
115263
  "tags": [
115013
115264
  "creative-hub"
115014
115265
  ],
115015
- "description": "Proxies file content from Google Drive for browser preview as a streamed body. Supports HTTP Range requests for video seeking (returns 206 Partial Content with Content-Range header). Response body is the raw file stream with the file's original Content-Type; error responses are JSON.",
115266
+ "description": "Proxies file content from Google Drive for browser preview as a streamed body, gated on a signed capability token (?cap=) bound to the fileId. Supports HTTP Range requests for video seeking (returns 206 Partial Content with Content-Range header). Response body is the raw file stream with the file's original Content-Type; error responses are JSON.",
115016
115267
  "parameters": [
115268
+ {
115269
+ "schema": {
115270
+ "type": "string"
115271
+ },
115272
+ "in": "query",
115273
+ "name": "cap",
115274
+ "required": false,
115275
+ "description": "Required signed, expiring capability token bound to this fileId and the issuing tenant. Minted by the authenticated Creative Hub file list/library responses or the media-capabilities endpoint. Missing/invalid/expired/wrong-file tokens are rejected with 403."
115276
+ },
115017
115277
  {
115018
115278
  "schema": {
115019
115279
  "type": "string"
@@ -115070,6 +115330,34 @@
115070
115330
  }
115071
115331
  }
115072
115332
  },
115333
+ "401": {
115334
+ "description": "Unauthorized - missing or invalid bearer token",
115335
+ "content": {
115336
+ "application/json": {
115337
+ "schema": {
115338
+ "$ref": "#/components/schemas/ErrorResponse"
115339
+ }
115340
+ }
115341
+ }
115342
+ },
115343
+ "403": {
115344
+ "description": "Forbidden - caller lacks the required role/permission",
115345
+ "content": {
115346
+ "application/json": {
115347
+ "schema": {
115348
+ "type": "object",
115349
+ "required": [
115350
+ "error"
115351
+ ],
115352
+ "properties": {
115353
+ "error": {
115354
+ "type": "string"
115355
+ }
115356
+ }
115357
+ }
115358
+ }
115359
+ }
115360
+ },
115073
115361
  "500": {
115074
115362
  "description": "Internal server error",
115075
115363
  "content": {
@@ -115088,7 +115376,12 @@
115088
115376
  }
115089
115377
  }
115090
115378
  }
115091
- }
115379
+ },
115380
+ "security": [
115381
+ {
115382
+ "bearerAuth": []
115383
+ }
115384
+ ]
115092
115385
  }
115093
115386
  },
115094
115387
  "/api/v1/creative-hub/products": {
@@ -128516,14 +128809,17 @@
128516
128809
  "additionalProperties": false,
128517
128810
  "type": "object",
128518
128811
  "required": [
128519
- "title",
128520
- "markdownContent"
128812
+ "title"
128521
128813
  ],
128522
128814
  "properties": {
128523
128815
  "title": {
128524
128816
  "minLength": 1,
128525
128817
  "type": "string"
128526
128818
  },
128819
+ "htmlContent": {
128820
+ "minLength": 1,
128821
+ "type": "string"
128822
+ },
128527
128823
  "markdownContent": {
128528
128824
  "minLength": 1,
128529
128825
  "type": "string"
@@ -128611,6 +128907,25 @@
128611
128907
  }
128612
128908
  }
128613
128909
  },
128910
+ "400": {
128911
+ "description": "Invalid request - schema validation failed",
128912
+ "content": {
128913
+ "application/json": {
128914
+ "schema": {
128915
+ "additionalProperties": false,
128916
+ "type": "object",
128917
+ "required": [
128918
+ "error"
128919
+ ],
128920
+ "properties": {
128921
+ "error": {
128922
+ "type": "string"
128923
+ }
128924
+ }
128925
+ }
128926
+ }
128927
+ }
128928
+ },
128614
128929
  "401": {
128615
128930
  "description": "Unauthorized - missing or invalid bearer token",
128616
128931
  "content": {
@@ -130918,7 +131233,8 @@
130918
131233
  },
130919
131234
  "in": "query",
130920
131235
  "name": "member_id",
130921
- "required": false
131236
+ "required": false,
131237
+ "description": "Filter to a single team member. Admins/owners may pass any accessible member id; other roles may only pass their own user id."
130922
131238
  },
130923
131239
  {
130924
131240
  "schema": {
@@ -131845,7 +132161,8 @@
131845
132161
  },
131846
132162
  "in": "query",
131847
132163
  "name": "member_id",
131848
- "required": false
132164
+ "required": false,
132165
+ "description": "Filter to a single team member. Admins/owners may pass any accessible member id; other roles may only pass their own user id."
131849
132166
  },
131850
132167
  {
131851
132168
  "schema": {
@@ -133051,7 +133368,8 @@
133051
133368
  },
133052
133369
  "in": "query",
133053
133370
  "name": "member_id",
133054
- "required": false
133371
+ "required": false,
133372
+ "description": "Filter to a single team member. Admins/owners may pass any accessible member id; other roles may only pass their own user id."
133055
133373
  },
133056
133374
  {
133057
133375
  "schema": {
@@ -228349,6 +228667,10 @@
228349
228667
  "description": "ROAS minimum floor (for MIN_ROAS strategy)",
228350
228668
  "type": "string"
228351
228669
  },
228670
+ "accelerated_delivery": {
228671
+ "description": "Meta accelerated delivery (pacing_type [\"no_pacing\"] on ad sets). Applied only under ABO where the effective bid strategy is BID_CAP; ignored otherwise.",
228672
+ "type": "boolean"
228673
+ },
228352
228674
  "end_date": {
228353
228675
  "description": "Campaign end date",
228354
228676
  "type": "string"
@@ -229122,6 +229444,10 @@
229122
229444
  "description": "Bid strategy: LOWEST_COST, BID_CAP, COST_CAP, MIN_ROAS",
229123
229445
  "type": "string"
229124
229446
  },
229447
+ "accelerated_delivery": {
229448
+ "description": "Meta accelerated delivery (pacing_type [\"no_pacing\"] on ad sets). Applied only under ABO where the effective bid strategy is BID_CAP; ignored otherwise.",
229449
+ "type": "boolean"
229450
+ },
229125
229451
  "ad_type": {
229126
229452
  "description": "Ad type: Standard, Multilanguage, Catalog, App Install",
229127
229453
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wevion/cli",
3
- "version": "1.0.2868",
3
+ "version": "1.0.2914",
4
4
  "description": "Wevion API command-line interface — generated from the public OpenAPI spec",
5
5
  "type": "module",
6
6
  "bin": {