@wevion/cli 1.0.2503 → 1.0.2505
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.
- package/openapi.json +463 -8
- package/package.json +1 -1
package/openapi.json
CHANGED
|
@@ -68901,6 +68901,402 @@
|
|
|
68901
68901
|
}
|
|
68902
68902
|
}
|
|
68903
68903
|
},
|
|
68904
|
+
"/api/v1/catalogs/{catalogId}/products/media/image": {
|
|
68905
|
+
"post": {
|
|
68906
|
+
"operationId": "postApiV1CatalogsByCatalogIdProductsMediaImage",
|
|
68907
|
+
"summary": "Upload a product image and get back its public URL",
|
|
68908
|
+
"tags": [
|
|
68909
|
+
"catalog-products"
|
|
68910
|
+
],
|
|
68911
|
+
"description": "Stores a JPG/PNG/WebP file (max 10MB) in durable storage and returns its public URL. Does not modify the product — save the URL via PUT /catalogs/:catalogId/products/:productId (image_url) afterwards.",
|
|
68912
|
+
"parameters": [
|
|
68913
|
+
{
|
|
68914
|
+
"schema": {
|
|
68915
|
+
"type": "string"
|
|
68916
|
+
},
|
|
68917
|
+
"in": "path",
|
|
68918
|
+
"name": "catalogId",
|
|
68919
|
+
"required": true
|
|
68920
|
+
}
|
|
68921
|
+
],
|
|
68922
|
+
"security": [
|
|
68923
|
+
{
|
|
68924
|
+
"bearerAuth": []
|
|
68925
|
+
},
|
|
68926
|
+
{
|
|
68927
|
+
"apiKeyAuth": []
|
|
68928
|
+
}
|
|
68929
|
+
],
|
|
68930
|
+
"responses": {
|
|
68931
|
+
"200": {
|
|
68932
|
+
"description": "Successful response",
|
|
68933
|
+
"content": {
|
|
68934
|
+
"application/json": {
|
|
68935
|
+
"schema": {
|
|
68936
|
+
"type": "object",
|
|
68937
|
+
"required": [
|
|
68938
|
+
"url"
|
|
68939
|
+
],
|
|
68940
|
+
"properties": {
|
|
68941
|
+
"url": {
|
|
68942
|
+
"type": "string"
|
|
68943
|
+
}
|
|
68944
|
+
}
|
|
68945
|
+
}
|
|
68946
|
+
}
|
|
68947
|
+
}
|
|
68948
|
+
},
|
|
68949
|
+
"400": {
|
|
68950
|
+
"description": "Invalid request - schema validation failed",
|
|
68951
|
+
"content": {
|
|
68952
|
+
"application/json": {
|
|
68953
|
+
"schema": {
|
|
68954
|
+
"type": "object",
|
|
68955
|
+
"required": [
|
|
68956
|
+
"statusCode",
|
|
68957
|
+
"error",
|
|
68958
|
+
"message"
|
|
68959
|
+
],
|
|
68960
|
+
"properties": {
|
|
68961
|
+
"statusCode": {
|
|
68962
|
+
"type": "number"
|
|
68963
|
+
},
|
|
68964
|
+
"error": {
|
|
68965
|
+
"type": "string"
|
|
68966
|
+
},
|
|
68967
|
+
"message": {
|
|
68968
|
+
"type": "string"
|
|
68969
|
+
}
|
|
68970
|
+
}
|
|
68971
|
+
}
|
|
68972
|
+
}
|
|
68973
|
+
}
|
|
68974
|
+
},
|
|
68975
|
+
"401": {
|
|
68976
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
68977
|
+
"content": {
|
|
68978
|
+
"application/json": {
|
|
68979
|
+
"schema": {
|
|
68980
|
+
"type": "object",
|
|
68981
|
+
"required": [
|
|
68982
|
+
"statusCode",
|
|
68983
|
+
"error",
|
|
68984
|
+
"message"
|
|
68985
|
+
],
|
|
68986
|
+
"properties": {
|
|
68987
|
+
"statusCode": {
|
|
68988
|
+
"type": "number"
|
|
68989
|
+
},
|
|
68990
|
+
"error": {
|
|
68991
|
+
"type": "string"
|
|
68992
|
+
},
|
|
68993
|
+
"message": {
|
|
68994
|
+
"type": "string"
|
|
68995
|
+
}
|
|
68996
|
+
}
|
|
68997
|
+
}
|
|
68998
|
+
}
|
|
68999
|
+
}
|
|
69000
|
+
},
|
|
69001
|
+
"404": {
|
|
69002
|
+
"description": "Resource not found",
|
|
69003
|
+
"content": {
|
|
69004
|
+
"application/json": {
|
|
69005
|
+
"schema": {
|
|
69006
|
+
"type": "object",
|
|
69007
|
+
"required": [
|
|
69008
|
+
"statusCode",
|
|
69009
|
+
"error",
|
|
69010
|
+
"message"
|
|
69011
|
+
],
|
|
69012
|
+
"properties": {
|
|
69013
|
+
"statusCode": {
|
|
69014
|
+
"type": "number"
|
|
69015
|
+
},
|
|
69016
|
+
"error": {
|
|
69017
|
+
"type": "string"
|
|
69018
|
+
},
|
|
69019
|
+
"message": {
|
|
69020
|
+
"type": "string"
|
|
69021
|
+
}
|
|
69022
|
+
}
|
|
69023
|
+
}
|
|
69024
|
+
}
|
|
69025
|
+
}
|
|
69026
|
+
},
|
|
69027
|
+
"413": {
|
|
69028
|
+
"description": "Payload too large",
|
|
69029
|
+
"content": {
|
|
69030
|
+
"application/json": {
|
|
69031
|
+
"schema": {
|
|
69032
|
+
"type": "object",
|
|
69033
|
+
"required": [
|
|
69034
|
+
"statusCode",
|
|
69035
|
+
"error",
|
|
69036
|
+
"message"
|
|
69037
|
+
],
|
|
69038
|
+
"properties": {
|
|
69039
|
+
"statusCode": {
|
|
69040
|
+
"type": "number"
|
|
69041
|
+
},
|
|
69042
|
+
"error": {
|
|
69043
|
+
"type": "string"
|
|
69044
|
+
},
|
|
69045
|
+
"message": {
|
|
69046
|
+
"type": "string"
|
|
69047
|
+
}
|
|
69048
|
+
}
|
|
69049
|
+
}
|
|
69050
|
+
}
|
|
69051
|
+
}
|
|
69052
|
+
},
|
|
69053
|
+
"500": {
|
|
69054
|
+
"description": "Internal server error",
|
|
69055
|
+
"content": {
|
|
69056
|
+
"application/json": {
|
|
69057
|
+
"schema": {
|
|
69058
|
+
"type": "object",
|
|
69059
|
+
"required": [
|
|
69060
|
+
"statusCode",
|
|
69061
|
+
"error",
|
|
69062
|
+
"message"
|
|
69063
|
+
],
|
|
69064
|
+
"properties": {
|
|
69065
|
+
"statusCode": {
|
|
69066
|
+
"type": "number"
|
|
69067
|
+
},
|
|
69068
|
+
"error": {
|
|
69069
|
+
"type": "string"
|
|
69070
|
+
},
|
|
69071
|
+
"message": {
|
|
69072
|
+
"type": "string"
|
|
69073
|
+
}
|
|
69074
|
+
}
|
|
69075
|
+
}
|
|
69076
|
+
}
|
|
69077
|
+
}
|
|
69078
|
+
}
|
|
69079
|
+
},
|
|
69080
|
+
"requestBody": {
|
|
69081
|
+
"content": {
|
|
69082
|
+
"multipart/form-data": {
|
|
69083
|
+
"schema": {
|
|
69084
|
+
"type": "object",
|
|
69085
|
+
"required": [
|
|
69086
|
+
"file"
|
|
69087
|
+
],
|
|
69088
|
+
"properties": {
|
|
69089
|
+
"file": {
|
|
69090
|
+
"type": "string",
|
|
69091
|
+
"format": "binary",
|
|
69092
|
+
"description": "JPEG, PNG, or WebP product image (max 10MB)."
|
|
69093
|
+
}
|
|
69094
|
+
},
|
|
69095
|
+
"additionalProperties": false
|
|
69096
|
+
}
|
|
69097
|
+
}
|
|
69098
|
+
}
|
|
69099
|
+
}
|
|
69100
|
+
}
|
|
69101
|
+
},
|
|
69102
|
+
"/api/v1/catalogs/{catalogId}/products/media/video": {
|
|
69103
|
+
"post": {
|
|
69104
|
+
"operationId": "postApiV1CatalogsByCatalogIdProductsMediaVideo",
|
|
69105
|
+
"summary": "Upload a product video and get back its public URL",
|
|
69106
|
+
"tags": [
|
|
69107
|
+
"catalog-products"
|
|
69108
|
+
],
|
|
69109
|
+
"description": "Stores an MP4/MOV file (max 100MB) in durable storage and returns its public URL. Does not modify the product — save the URL via PATCH /catalogs/:catalogId/products/:productId/videos afterwards.",
|
|
69110
|
+
"parameters": [
|
|
69111
|
+
{
|
|
69112
|
+
"schema": {
|
|
69113
|
+
"type": "string"
|
|
69114
|
+
},
|
|
69115
|
+
"in": "path",
|
|
69116
|
+
"name": "catalogId",
|
|
69117
|
+
"required": true
|
|
69118
|
+
}
|
|
69119
|
+
],
|
|
69120
|
+
"security": [
|
|
69121
|
+
{
|
|
69122
|
+
"bearerAuth": []
|
|
69123
|
+
},
|
|
69124
|
+
{
|
|
69125
|
+
"apiKeyAuth": []
|
|
69126
|
+
}
|
|
69127
|
+
],
|
|
69128
|
+
"responses": {
|
|
69129
|
+
"200": {
|
|
69130
|
+
"description": "Successful response",
|
|
69131
|
+
"content": {
|
|
69132
|
+
"application/json": {
|
|
69133
|
+
"schema": {
|
|
69134
|
+
"type": "object",
|
|
69135
|
+
"required": [
|
|
69136
|
+
"url"
|
|
69137
|
+
],
|
|
69138
|
+
"properties": {
|
|
69139
|
+
"url": {
|
|
69140
|
+
"type": "string"
|
|
69141
|
+
}
|
|
69142
|
+
}
|
|
69143
|
+
}
|
|
69144
|
+
}
|
|
69145
|
+
}
|
|
69146
|
+
},
|
|
69147
|
+
"400": {
|
|
69148
|
+
"description": "Invalid request - schema validation failed",
|
|
69149
|
+
"content": {
|
|
69150
|
+
"application/json": {
|
|
69151
|
+
"schema": {
|
|
69152
|
+
"type": "object",
|
|
69153
|
+
"required": [
|
|
69154
|
+
"statusCode",
|
|
69155
|
+
"error",
|
|
69156
|
+
"message"
|
|
69157
|
+
],
|
|
69158
|
+
"properties": {
|
|
69159
|
+
"statusCode": {
|
|
69160
|
+
"type": "number"
|
|
69161
|
+
},
|
|
69162
|
+
"error": {
|
|
69163
|
+
"type": "string"
|
|
69164
|
+
},
|
|
69165
|
+
"message": {
|
|
69166
|
+
"type": "string"
|
|
69167
|
+
}
|
|
69168
|
+
}
|
|
69169
|
+
}
|
|
69170
|
+
}
|
|
69171
|
+
}
|
|
69172
|
+
},
|
|
69173
|
+
"401": {
|
|
69174
|
+
"description": "Unauthorized - missing or invalid bearer token",
|
|
69175
|
+
"content": {
|
|
69176
|
+
"application/json": {
|
|
69177
|
+
"schema": {
|
|
69178
|
+
"type": "object",
|
|
69179
|
+
"required": [
|
|
69180
|
+
"statusCode",
|
|
69181
|
+
"error",
|
|
69182
|
+
"message"
|
|
69183
|
+
],
|
|
69184
|
+
"properties": {
|
|
69185
|
+
"statusCode": {
|
|
69186
|
+
"type": "number"
|
|
69187
|
+
},
|
|
69188
|
+
"error": {
|
|
69189
|
+
"type": "string"
|
|
69190
|
+
},
|
|
69191
|
+
"message": {
|
|
69192
|
+
"type": "string"
|
|
69193
|
+
}
|
|
69194
|
+
}
|
|
69195
|
+
}
|
|
69196
|
+
}
|
|
69197
|
+
}
|
|
69198
|
+
},
|
|
69199
|
+
"404": {
|
|
69200
|
+
"description": "Resource not found",
|
|
69201
|
+
"content": {
|
|
69202
|
+
"application/json": {
|
|
69203
|
+
"schema": {
|
|
69204
|
+
"type": "object",
|
|
69205
|
+
"required": [
|
|
69206
|
+
"statusCode",
|
|
69207
|
+
"error",
|
|
69208
|
+
"message"
|
|
69209
|
+
],
|
|
69210
|
+
"properties": {
|
|
69211
|
+
"statusCode": {
|
|
69212
|
+
"type": "number"
|
|
69213
|
+
},
|
|
69214
|
+
"error": {
|
|
69215
|
+
"type": "string"
|
|
69216
|
+
},
|
|
69217
|
+
"message": {
|
|
69218
|
+
"type": "string"
|
|
69219
|
+
}
|
|
69220
|
+
}
|
|
69221
|
+
}
|
|
69222
|
+
}
|
|
69223
|
+
}
|
|
69224
|
+
},
|
|
69225
|
+
"413": {
|
|
69226
|
+
"description": "Payload too large",
|
|
69227
|
+
"content": {
|
|
69228
|
+
"application/json": {
|
|
69229
|
+
"schema": {
|
|
69230
|
+
"type": "object",
|
|
69231
|
+
"required": [
|
|
69232
|
+
"statusCode",
|
|
69233
|
+
"error",
|
|
69234
|
+
"message"
|
|
69235
|
+
],
|
|
69236
|
+
"properties": {
|
|
69237
|
+
"statusCode": {
|
|
69238
|
+
"type": "number"
|
|
69239
|
+
},
|
|
69240
|
+
"error": {
|
|
69241
|
+
"type": "string"
|
|
69242
|
+
},
|
|
69243
|
+
"message": {
|
|
69244
|
+
"type": "string"
|
|
69245
|
+
}
|
|
69246
|
+
}
|
|
69247
|
+
}
|
|
69248
|
+
}
|
|
69249
|
+
}
|
|
69250
|
+
},
|
|
69251
|
+
"500": {
|
|
69252
|
+
"description": "Internal server error",
|
|
69253
|
+
"content": {
|
|
69254
|
+
"application/json": {
|
|
69255
|
+
"schema": {
|
|
69256
|
+
"type": "object",
|
|
69257
|
+
"required": [
|
|
69258
|
+
"statusCode",
|
|
69259
|
+
"error",
|
|
69260
|
+
"message"
|
|
69261
|
+
],
|
|
69262
|
+
"properties": {
|
|
69263
|
+
"statusCode": {
|
|
69264
|
+
"type": "number"
|
|
69265
|
+
},
|
|
69266
|
+
"error": {
|
|
69267
|
+
"type": "string"
|
|
69268
|
+
},
|
|
69269
|
+
"message": {
|
|
69270
|
+
"type": "string"
|
|
69271
|
+
}
|
|
69272
|
+
}
|
|
69273
|
+
}
|
|
69274
|
+
}
|
|
69275
|
+
}
|
|
69276
|
+
}
|
|
69277
|
+
},
|
|
69278
|
+
"requestBody": {
|
|
69279
|
+
"content": {
|
|
69280
|
+
"multipart/form-data": {
|
|
69281
|
+
"schema": {
|
|
69282
|
+
"type": "object",
|
|
69283
|
+
"required": [
|
|
69284
|
+
"file"
|
|
69285
|
+
],
|
|
69286
|
+
"properties": {
|
|
69287
|
+
"file": {
|
|
69288
|
+
"type": "string",
|
|
69289
|
+
"format": "binary",
|
|
69290
|
+
"description": "MP4 or MOV product video (max 100MB)."
|
|
69291
|
+
}
|
|
69292
|
+
},
|
|
69293
|
+
"additionalProperties": false
|
|
69294
|
+
}
|
|
69295
|
+
}
|
|
69296
|
+
}
|
|
69297
|
+
}
|
|
69298
|
+
}
|
|
69299
|
+
},
|
|
68904
69300
|
"/api/v1/catalogs/{catalogId}/product-groups/{groupId}/variants": {
|
|
68905
69301
|
"get": {
|
|
68906
69302
|
"operationId": "getApiV1CatalogsByCatalogIdProductGroupsByGroupIdVariants",
|
|
@@ -78619,6 +79015,9 @@
|
|
|
78619
79015
|
"type": "null"
|
|
78620
79016
|
}
|
|
78621
79017
|
]
|
|
79018
|
+
},
|
|
79019
|
+
"in_active_campaign": {
|
|
79020
|
+
"type": "boolean"
|
|
78622
79021
|
}
|
|
78623
79022
|
}
|
|
78624
79023
|
}
|
|
@@ -91850,7 +92249,14 @@
|
|
|
91850
92249
|
]
|
|
91851
92250
|
},
|
|
91852
92251
|
"profit": {
|
|
91853
|
-
"
|
|
92252
|
+
"anyOf": [
|
|
92253
|
+
{
|
|
92254
|
+
"type": "number"
|
|
92255
|
+
},
|
|
92256
|
+
{
|
|
92257
|
+
"type": "null"
|
|
92258
|
+
}
|
|
92259
|
+
]
|
|
91854
92260
|
},
|
|
91855
92261
|
"margin_pct": {
|
|
91856
92262
|
"anyOf": [
|
|
@@ -91919,7 +92325,14 @@
|
|
|
91919
92325
|
"type": "number"
|
|
91920
92326
|
},
|
|
91921
92327
|
"profit": {
|
|
91922
|
-
"
|
|
92328
|
+
"anyOf": [
|
|
92329
|
+
{
|
|
92330
|
+
"type": "number"
|
|
92331
|
+
},
|
|
92332
|
+
{
|
|
92333
|
+
"type": "null"
|
|
92334
|
+
}
|
|
92335
|
+
]
|
|
91923
92336
|
}
|
|
91924
92337
|
}
|
|
91925
92338
|
},
|
|
@@ -92347,7 +92760,14 @@
|
|
|
92347
92760
|
"type": "number"
|
|
92348
92761
|
},
|
|
92349
92762
|
"profit": {
|
|
92350
|
-
"
|
|
92763
|
+
"anyOf": [
|
|
92764
|
+
{
|
|
92765
|
+
"type": "number"
|
|
92766
|
+
},
|
|
92767
|
+
{
|
|
92768
|
+
"type": "null"
|
|
92769
|
+
}
|
|
92770
|
+
]
|
|
92351
92771
|
},
|
|
92352
92772
|
"margin_pct": {
|
|
92353
92773
|
"anyOf": [
|
|
@@ -181055,7 +181475,14 @@
|
|
|
181055
181475
|
"type": "number"
|
|
181056
181476
|
},
|
|
181057
181477
|
"total_profit": {
|
|
181058
|
-
"
|
|
181478
|
+
"anyOf": [
|
|
181479
|
+
{
|
|
181480
|
+
"type": "number"
|
|
181481
|
+
},
|
|
181482
|
+
{
|
|
181483
|
+
"type": "null"
|
|
181484
|
+
}
|
|
181485
|
+
]
|
|
181059
181486
|
},
|
|
181060
181487
|
"total_cogs": {
|
|
181061
181488
|
"type": "number"
|
|
@@ -181300,7 +181727,14 @@
|
|
|
181300
181727
|
]
|
|
181301
181728
|
},
|
|
181302
181729
|
"profit": {
|
|
181303
|
-
"
|
|
181730
|
+
"anyOf": [
|
|
181731
|
+
{
|
|
181732
|
+
"type": "number"
|
|
181733
|
+
},
|
|
181734
|
+
{
|
|
181735
|
+
"type": "null"
|
|
181736
|
+
}
|
|
181737
|
+
]
|
|
181304
181738
|
},
|
|
181305
181739
|
"margin_pct": {
|
|
181306
181740
|
"anyOf": [
|
|
@@ -181359,7 +181793,14 @@
|
|
|
181359
181793
|
"type": "number"
|
|
181360
181794
|
},
|
|
181361
181795
|
"profit": {
|
|
181362
|
-
"
|
|
181796
|
+
"anyOf": [
|
|
181797
|
+
{
|
|
181798
|
+
"type": "number"
|
|
181799
|
+
},
|
|
181800
|
+
{
|
|
181801
|
+
"type": "null"
|
|
181802
|
+
}
|
|
181803
|
+
]
|
|
181363
181804
|
}
|
|
181364
181805
|
}
|
|
181365
181806
|
},
|
|
@@ -181487,7 +181928,14 @@
|
|
|
181487
181928
|
"type": "number"
|
|
181488
181929
|
},
|
|
181489
181930
|
"profit": {
|
|
181490
|
-
"
|
|
181931
|
+
"anyOf": [
|
|
181932
|
+
{
|
|
181933
|
+
"type": "number"
|
|
181934
|
+
},
|
|
181935
|
+
{
|
|
181936
|
+
"type": "null"
|
|
181937
|
+
}
|
|
181938
|
+
]
|
|
181491
181939
|
},
|
|
181492
181940
|
"cogs": {
|
|
181493
181941
|
"type": "number"
|
|
@@ -181720,7 +182168,14 @@
|
|
|
181720
182168
|
"type": "number"
|
|
181721
182169
|
},
|
|
181722
182170
|
"profit": {
|
|
181723
|
-
"
|
|
182171
|
+
"anyOf": [
|
|
182172
|
+
{
|
|
182173
|
+
"type": "number"
|
|
182174
|
+
},
|
|
182175
|
+
{
|
|
182176
|
+
"type": "null"
|
|
182177
|
+
}
|
|
182178
|
+
]
|
|
181724
182179
|
},
|
|
181725
182180
|
"margin_pct": {
|
|
181726
182181
|
"anyOf": [
|