@shopvirge/shopvirge-client 0.4.5 → 0.6.0
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/dist/index.d.ts +852 -425
- package/dist/index.js +746 -403
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ var OpenAPI = {
|
|
|
123
123
|
PASSWORD: void 0,
|
|
124
124
|
TOKEN: void 0,
|
|
125
125
|
USERNAME: void 0,
|
|
126
|
-
VERSION: "0.
|
|
126
|
+
VERSION: "0.6.0",
|
|
127
127
|
WITH_CREDENTIALS: false,
|
|
128
128
|
interceptors: {
|
|
129
129
|
request: new Interceptors(),
|
|
@@ -812,14 +812,7 @@ var $CategoryCreate = {
|
|
|
812
812
|
}
|
|
813
813
|
},
|
|
814
814
|
type: "object",
|
|
815
|
-
required: [
|
|
816
|
-
"shop_id",
|
|
817
|
-
"color",
|
|
818
|
-
"translation",
|
|
819
|
-
"main_image",
|
|
820
|
-
"alt1_image",
|
|
821
|
-
"alt2_image"
|
|
822
|
-
],
|
|
815
|
+
required: ["shop_id", "color", "translation"],
|
|
823
816
|
title: "CategoryCreate"
|
|
824
817
|
};
|
|
825
818
|
var $CategoryImageDelete = {
|
|
@@ -921,15 +914,7 @@ var $CategorySchema = {
|
|
|
921
914
|
}
|
|
922
915
|
},
|
|
923
916
|
type: "object",
|
|
924
|
-
required: [
|
|
925
|
-
"shop_id",
|
|
926
|
-
"color",
|
|
927
|
-
"translation",
|
|
928
|
-
"main_image",
|
|
929
|
-
"alt1_image",
|
|
930
|
-
"alt2_image",
|
|
931
|
-
"id"
|
|
932
|
-
],
|
|
917
|
+
required: ["shop_id", "color", "translation", "id"],
|
|
933
918
|
title: "CategorySchema"
|
|
934
919
|
};
|
|
935
920
|
var $CategoryTranslationBase = {
|
|
@@ -991,15 +976,101 @@ var $CategoryTranslationBase = {
|
|
|
991
976
|
required: ["main_name", "main_description"],
|
|
992
977
|
title: "CategoryTranslationBase"
|
|
993
978
|
};
|
|
979
|
+
var $CategoryTranslationUpdate = {
|
|
980
|
+
properties: {
|
|
981
|
+
main_name: {
|
|
982
|
+
anyOf: [
|
|
983
|
+
{
|
|
984
|
+
type: "string"
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
type: "null"
|
|
988
|
+
}
|
|
989
|
+
],
|
|
990
|
+
title: "Main Name"
|
|
991
|
+
},
|
|
992
|
+
main_description: {
|
|
993
|
+
anyOf: [
|
|
994
|
+
{
|
|
995
|
+
type: "string"
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
type: "null"
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
title: "Main Description"
|
|
1002
|
+
},
|
|
1003
|
+
alt1_name: {
|
|
1004
|
+
anyOf: [
|
|
1005
|
+
{
|
|
1006
|
+
type: "string"
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
type: "null"
|
|
1010
|
+
}
|
|
1011
|
+
],
|
|
1012
|
+
title: "Alt1 Name"
|
|
1013
|
+
},
|
|
1014
|
+
alt1_description: {
|
|
1015
|
+
anyOf: [
|
|
1016
|
+
{
|
|
1017
|
+
type: "string"
|
|
1018
|
+
},
|
|
1019
|
+
{
|
|
1020
|
+
type: "null"
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
title: "Alt1 Description"
|
|
1024
|
+
},
|
|
1025
|
+
alt2_name: {
|
|
1026
|
+
anyOf: [
|
|
1027
|
+
{
|
|
1028
|
+
type: "string"
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
type: "null"
|
|
1032
|
+
}
|
|
1033
|
+
],
|
|
1034
|
+
title: "Alt2 Name"
|
|
1035
|
+
},
|
|
1036
|
+
alt2_description: {
|
|
1037
|
+
anyOf: [
|
|
1038
|
+
{
|
|
1039
|
+
type: "string"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
type: "null"
|
|
1043
|
+
}
|
|
1044
|
+
],
|
|
1045
|
+
title: "Alt2 Description"
|
|
1046
|
+
}
|
|
1047
|
+
},
|
|
1048
|
+
type: "object",
|
|
1049
|
+
title: "CategoryTranslationUpdate"
|
|
1050
|
+
};
|
|
994
1051
|
var $CategoryUpdate = {
|
|
995
1052
|
properties: {
|
|
996
1053
|
shop_id: {
|
|
997
|
-
|
|
998
|
-
|
|
1054
|
+
anyOf: [
|
|
1055
|
+
{
|
|
1056
|
+
type: "string",
|
|
1057
|
+
format: "uuid"
|
|
1058
|
+
},
|
|
1059
|
+
{
|
|
1060
|
+
type: "null"
|
|
1061
|
+
}
|
|
1062
|
+
],
|
|
999
1063
|
title: "Shop Id"
|
|
1000
1064
|
},
|
|
1001
1065
|
color: {
|
|
1002
|
-
|
|
1066
|
+
anyOf: [
|
|
1067
|
+
{
|
|
1068
|
+
type: "string"
|
|
1069
|
+
},
|
|
1070
|
+
{
|
|
1071
|
+
type: "null"
|
|
1072
|
+
}
|
|
1073
|
+
],
|
|
1003
1074
|
title: "Color"
|
|
1004
1075
|
},
|
|
1005
1076
|
icon: {
|
|
@@ -1025,7 +1096,14 @@ var $CategoryUpdate = {
|
|
|
1025
1096
|
title: "Order Number"
|
|
1026
1097
|
},
|
|
1027
1098
|
translation: {
|
|
1028
|
-
|
|
1099
|
+
anyOf: [
|
|
1100
|
+
{
|
|
1101
|
+
$ref: "#/components/schemas/CategoryTranslationUpdate"
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
type: "null"
|
|
1105
|
+
}
|
|
1106
|
+
]
|
|
1029
1107
|
},
|
|
1030
1108
|
main_image: {
|
|
1031
1109
|
anyOf: [
|
|
@@ -1074,14 +1152,6 @@ var $CategoryUpdate = {
|
|
|
1074
1152
|
}
|
|
1075
1153
|
},
|
|
1076
1154
|
type: "object",
|
|
1077
|
-
required: [
|
|
1078
|
-
"shop_id",
|
|
1079
|
-
"color",
|
|
1080
|
-
"translation",
|
|
1081
|
-
"main_image",
|
|
1082
|
-
"alt1_image",
|
|
1083
|
-
"alt2_image"
|
|
1084
|
-
],
|
|
1085
1155
|
title: "CategoryUpdate"
|
|
1086
1156
|
};
|
|
1087
1157
|
var $ConfigurationContact = {
|
|
@@ -2156,6 +2226,63 @@ var $LinkStripeBody = {
|
|
|
2156
2226
|
required: ["stripe_customer_id"],
|
|
2157
2227
|
title: "LinkStripeBody"
|
|
2158
2228
|
};
|
|
2229
|
+
var $MailTestRequest = {
|
|
2230
|
+
properties: {
|
|
2231
|
+
to: {
|
|
2232
|
+
type: "string",
|
|
2233
|
+
format: "email",
|
|
2234
|
+
title: "To",
|
|
2235
|
+
default: "customer@example.com"
|
|
2236
|
+
},
|
|
2237
|
+
shop_name: {
|
|
2238
|
+
type: "string",
|
|
2239
|
+
title: "Shop Name",
|
|
2240
|
+
default: "ShopVirge Dev"
|
|
2241
|
+
},
|
|
2242
|
+
owner_email: {
|
|
2243
|
+
anyOf: [
|
|
2244
|
+
{
|
|
2245
|
+
type: "string",
|
|
2246
|
+
format: "email"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
type: "null"
|
|
2250
|
+
}
|
|
2251
|
+
],
|
|
2252
|
+
title: "Owner Email"
|
|
2253
|
+
}
|
|
2254
|
+
},
|
|
2255
|
+
type: "object",
|
|
2256
|
+
title: "MailTestRequest"
|
|
2257
|
+
};
|
|
2258
|
+
var $MailTestResponse = {
|
|
2259
|
+
properties: {
|
|
2260
|
+
sent_to_customer: {
|
|
2261
|
+
type: "string",
|
|
2262
|
+
format: "email",
|
|
2263
|
+
title: "Sent To Customer"
|
|
2264
|
+
},
|
|
2265
|
+
sent_to_owner: {
|
|
2266
|
+
anyOf: [
|
|
2267
|
+
{
|
|
2268
|
+
type: "string",
|
|
2269
|
+
format: "email"
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
type: "null"
|
|
2273
|
+
}
|
|
2274
|
+
],
|
|
2275
|
+
title: "Sent To Owner"
|
|
2276
|
+
},
|
|
2277
|
+
customer_order_id: {
|
|
2278
|
+
type: "integer",
|
|
2279
|
+
title: "Customer Order Id"
|
|
2280
|
+
}
|
|
2281
|
+
},
|
|
2282
|
+
type: "object",
|
|
2283
|
+
required: ["sent_to_customer", "sent_to_owner", "customer_order_id"],
|
|
2284
|
+
title: "MailTestResponse"
|
|
2285
|
+
};
|
|
2159
2286
|
var $MyShopsResponse = {
|
|
2160
2287
|
properties: {
|
|
2161
2288
|
shops: {
|
|
@@ -2178,8 +2305,20 @@ var $MyShopsResponse = {
|
|
|
2178
2305
|
required: ["shops", "is_admin", "can_write"],
|
|
2179
2306
|
title: "MyShopsResponse"
|
|
2180
2307
|
};
|
|
2181
|
-
var $
|
|
2308
|
+
var $OrderCreate = {
|
|
2182
2309
|
properties: {
|
|
2310
|
+
shop_id: {
|
|
2311
|
+
type: "string",
|
|
2312
|
+
format: "uuid",
|
|
2313
|
+
title: "Shop Id"
|
|
2314
|
+
},
|
|
2315
|
+
order_info: {
|
|
2316
|
+
items: {
|
|
2317
|
+
$ref: "#/components/schemas/OrderItemCreate"
|
|
2318
|
+
},
|
|
2319
|
+
type: "array",
|
|
2320
|
+
title: "Order Info"
|
|
2321
|
+
},
|
|
2183
2322
|
account_id: {
|
|
2184
2323
|
anyOf: [
|
|
2185
2324
|
{
|
|
@@ -2192,20 +2331,16 @@ var $OrderBase = {
|
|
|
2192
2331
|
],
|
|
2193
2332
|
title: "Account Id"
|
|
2194
2333
|
},
|
|
2195
|
-
|
|
2334
|
+
account_name: {
|
|
2196
2335
|
anyOf: [
|
|
2197
2336
|
{
|
|
2198
|
-
type: "
|
|
2199
|
-
},
|
|
2200
|
-
{
|
|
2201
|
-
type: "string",
|
|
2202
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2337
|
+
type: "string"
|
|
2203
2338
|
},
|
|
2204
2339
|
{
|
|
2205
2340
|
type: "null"
|
|
2206
2341
|
}
|
|
2207
2342
|
],
|
|
2208
|
-
title: "
|
|
2343
|
+
title: "Account Name"
|
|
2209
2344
|
},
|
|
2210
2345
|
notes: {
|
|
2211
2346
|
anyOf: [
|
|
@@ -2217,50 +2352,14 @@ var $OrderBase = {
|
|
|
2217
2352
|
}
|
|
2218
2353
|
],
|
|
2219
2354
|
title: "Notes"
|
|
2220
|
-
},
|
|
2221
|
-
customer_order_id: {
|
|
2222
|
-
anyOf: [
|
|
2223
|
-
{
|
|
2224
|
-
type: "integer"
|
|
2225
|
-
},
|
|
2226
|
-
{
|
|
2227
|
-
type: "null"
|
|
2228
|
-
}
|
|
2229
|
-
],
|
|
2230
|
-
title: "Customer Order Id"
|
|
2231
|
-
},
|
|
2232
|
-
status: {
|
|
2233
|
-
anyOf: [
|
|
2234
|
-
{
|
|
2235
|
-
type: "string"
|
|
2236
|
-
},
|
|
2237
|
-
{
|
|
2238
|
-
type: "null"
|
|
2239
|
-
}
|
|
2240
|
-
],
|
|
2241
|
-
title: "Status"
|
|
2242
|
-
},
|
|
2243
|
-
shipping_fee_inc_btw: {
|
|
2244
|
-
anyOf: [
|
|
2245
|
-
{
|
|
2246
|
-
type: "number"
|
|
2247
|
-
},
|
|
2248
|
-
{
|
|
2249
|
-
type: "string",
|
|
2250
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2251
|
-
},
|
|
2252
|
-
{
|
|
2253
|
-
type: "null"
|
|
2254
|
-
}
|
|
2255
|
-
],
|
|
2256
|
-
title: "Shipping Fee Inc Btw"
|
|
2257
2355
|
}
|
|
2258
2356
|
},
|
|
2357
|
+
additionalProperties: false,
|
|
2259
2358
|
type: "object",
|
|
2260
|
-
required: ["
|
|
2261
|
-
title: "
|
|
2359
|
+
required: ["shop_id", "order_info"],
|
|
2360
|
+
title: "OrderCreate"
|
|
2262
2361
|
};
|
|
2263
|
-
var $
|
|
2362
|
+
var $OrderCreated = {
|
|
2264
2363
|
properties: {
|
|
2265
2364
|
account_id: {
|
|
2266
2365
|
anyOf: [
|
|
@@ -2279,10 +2378,6 @@ var $OrderCreate = {
|
|
|
2279
2378
|
{
|
|
2280
2379
|
type: "number"
|
|
2281
2380
|
},
|
|
2282
|
-
{
|
|
2283
|
-
type: "string",
|
|
2284
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2285
|
-
},
|
|
2286
2381
|
{
|
|
2287
2382
|
type: "null"
|
|
2288
2383
|
}
|
|
@@ -2327,27 +2422,21 @@ var $OrderCreate = {
|
|
|
2327
2422
|
{
|
|
2328
2423
|
type: "number"
|
|
2329
2424
|
},
|
|
2330
|
-
{
|
|
2331
|
-
type: "string",
|
|
2332
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2333
|
-
},
|
|
2334
2425
|
{
|
|
2335
2426
|
type: "null"
|
|
2336
2427
|
}
|
|
2337
2428
|
],
|
|
2338
2429
|
title: "Shipping Fee Inc Btw"
|
|
2339
2430
|
},
|
|
2340
|
-
|
|
2431
|
+
id: {
|
|
2341
2432
|
type: "string",
|
|
2342
2433
|
format: "uuid",
|
|
2343
|
-
title: "
|
|
2434
|
+
title: "Id"
|
|
2344
2435
|
},
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
type: "array",
|
|
2350
|
-
title: "Order Info"
|
|
2436
|
+
created_at: {
|
|
2437
|
+
type: "string",
|
|
2438
|
+
format: "date-time",
|
|
2439
|
+
title: "Created At"
|
|
2351
2440
|
},
|
|
2352
2441
|
completed_at: {
|
|
2353
2442
|
anyOf: [
|
|
@@ -2379,59 +2468,70 @@ var $OrderCreate = {
|
|
|
2379
2468
|
"notes",
|
|
2380
2469
|
"customer_order_id",
|
|
2381
2470
|
"status",
|
|
2382
|
-
"
|
|
2383
|
-
"
|
|
2471
|
+
"id",
|
|
2472
|
+
"created_at",
|
|
2473
|
+
"account_name"
|
|
2384
2474
|
],
|
|
2385
|
-
title: "
|
|
2475
|
+
title: "OrderCreated"
|
|
2386
2476
|
};
|
|
2387
|
-
var $
|
|
2477
|
+
var $OrderItem_Input = {
|
|
2388
2478
|
properties: {
|
|
2389
|
-
|
|
2479
|
+
description: {
|
|
2390
2480
|
anyOf: [
|
|
2391
2481
|
{
|
|
2392
|
-
type: "string"
|
|
2393
|
-
format: "uuid"
|
|
2482
|
+
type: "string"
|
|
2394
2483
|
},
|
|
2395
2484
|
{
|
|
2396
2485
|
type: "null"
|
|
2397
2486
|
}
|
|
2398
2487
|
],
|
|
2399
|
-
title: "
|
|
2488
|
+
title: "Description"
|
|
2400
2489
|
},
|
|
2401
|
-
|
|
2490
|
+
price: {
|
|
2402
2491
|
anyOf: [
|
|
2403
2492
|
{
|
|
2404
2493
|
type: "number"
|
|
2405
2494
|
},
|
|
2406
2495
|
{
|
|
2407
|
-
type: "
|
|
2408
|
-
|
|
2409
|
-
],
|
|
2410
|
-
title: "Total"
|
|
2411
|
-
},
|
|
2412
|
-
notes: {
|
|
2413
|
-
anyOf: [
|
|
2414
|
-
{
|
|
2415
|
-
type: "string"
|
|
2416
|
-
},
|
|
2417
|
-
{
|
|
2418
|
-
type: "null"
|
|
2496
|
+
type: "string",
|
|
2497
|
+
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2419
2498
|
}
|
|
2420
2499
|
],
|
|
2421
|
-
title: "
|
|
2500
|
+
title: "Price"
|
|
2422
2501
|
},
|
|
2423
|
-
|
|
2502
|
+
product_id: {
|
|
2503
|
+
type: "string",
|
|
2504
|
+
format: "uuid",
|
|
2505
|
+
title: "Product Id"
|
|
2506
|
+
},
|
|
2507
|
+
product_name: {
|
|
2508
|
+
type: "string",
|
|
2509
|
+
title: "Product Name"
|
|
2510
|
+
},
|
|
2511
|
+
quantity: {
|
|
2512
|
+
type: "integer",
|
|
2513
|
+
title: "Quantity"
|
|
2514
|
+
},
|
|
2515
|
+
plan: {
|
|
2424
2516
|
anyOf: [
|
|
2425
2517
|
{
|
|
2426
|
-
type: "
|
|
2518
|
+
type: "string",
|
|
2519
|
+
enum: ["onetime", "monthly", "yearly"]
|
|
2427
2520
|
},
|
|
2428
2521
|
{
|
|
2429
2522
|
type: "null"
|
|
2430
2523
|
}
|
|
2431
2524
|
],
|
|
2432
|
-
title: "
|
|
2433
|
-
}
|
|
2434
|
-
|
|
2525
|
+
title: "Plan"
|
|
2526
|
+
}
|
|
2527
|
+
},
|
|
2528
|
+
type: "object",
|
|
2529
|
+
required: ["price", "product_id", "product_name", "quantity"],
|
|
2530
|
+
title: "OrderItem"
|
|
2531
|
+
};
|
|
2532
|
+
var $OrderItem_Output = {
|
|
2533
|
+
properties: {
|
|
2534
|
+
description: {
|
|
2435
2535
|
anyOf: [
|
|
2436
2536
|
{
|
|
2437
2537
|
type: "string"
|
|
@@ -2440,66 +2540,43 @@ var $OrderCreated = {
|
|
|
2440
2540
|
type: "null"
|
|
2441
2541
|
}
|
|
2442
2542
|
],
|
|
2443
|
-
title: "
|
|
2543
|
+
title: "Description"
|
|
2444
2544
|
},
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
type: "number"
|
|
2449
|
-
},
|
|
2450
|
-
{
|
|
2451
|
-
type: "null"
|
|
2452
|
-
}
|
|
2453
|
-
],
|
|
2454
|
-
title: "Shipping Fee Inc Btw"
|
|
2545
|
+
price: {
|
|
2546
|
+
type: "number",
|
|
2547
|
+
title: "Price"
|
|
2455
2548
|
},
|
|
2456
|
-
|
|
2549
|
+
product_id: {
|
|
2457
2550
|
type: "string",
|
|
2458
2551
|
format: "uuid",
|
|
2459
|
-
title: "Id"
|
|
2552
|
+
title: "Product Id"
|
|
2460
2553
|
},
|
|
2461
|
-
|
|
2554
|
+
product_name: {
|
|
2462
2555
|
type: "string",
|
|
2463
|
-
|
|
2464
|
-
title: "Created At"
|
|
2556
|
+
title: "Product Name"
|
|
2465
2557
|
},
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
type: "string",
|
|
2470
|
-
format: "date-time"
|
|
2471
|
-
},
|
|
2472
|
-
{
|
|
2473
|
-
type: "null"
|
|
2474
|
-
}
|
|
2475
|
-
],
|
|
2476
|
-
title: "Completed At"
|
|
2558
|
+
quantity: {
|
|
2559
|
+
type: "integer",
|
|
2560
|
+
title: "Quantity"
|
|
2477
2561
|
},
|
|
2478
|
-
|
|
2562
|
+
plan: {
|
|
2479
2563
|
anyOf: [
|
|
2480
2564
|
{
|
|
2481
|
-
type: "string"
|
|
2565
|
+
type: "string",
|
|
2566
|
+
enum: ["onetime", "monthly", "yearly"]
|
|
2482
2567
|
},
|
|
2483
2568
|
{
|
|
2484
2569
|
type: "null"
|
|
2485
2570
|
}
|
|
2486
2571
|
],
|
|
2487
|
-
title: "
|
|
2572
|
+
title: "Plan"
|
|
2488
2573
|
}
|
|
2489
2574
|
},
|
|
2490
2575
|
type: "object",
|
|
2491
|
-
required: [
|
|
2492
|
-
|
|
2493
|
-
"notes",
|
|
2494
|
-
"customer_order_id",
|
|
2495
|
-
"status",
|
|
2496
|
-
"id",
|
|
2497
|
-
"created_at",
|
|
2498
|
-
"account_name"
|
|
2499
|
-
],
|
|
2500
|
-
title: "OrderCreated"
|
|
2576
|
+
required: ["price", "product_id", "product_name", "quantity"],
|
|
2577
|
+
title: "OrderItem"
|
|
2501
2578
|
};
|
|
2502
|
-
var $
|
|
2579
|
+
var $OrderItemCreate = {
|
|
2503
2580
|
properties: {
|
|
2504
2581
|
description: {
|
|
2505
2582
|
anyOf: [
|
|
@@ -2512,18 +2589,6 @@ var $OrderItem_Input = {
|
|
|
2512
2589
|
],
|
|
2513
2590
|
title: "Description"
|
|
2514
2591
|
},
|
|
2515
|
-
price: {
|
|
2516
|
-
anyOf: [
|
|
2517
|
-
{
|
|
2518
|
-
type: "number"
|
|
2519
|
-
},
|
|
2520
|
-
{
|
|
2521
|
-
type: "string",
|
|
2522
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2523
|
-
}
|
|
2524
|
-
],
|
|
2525
|
-
title: "Price"
|
|
2526
|
-
},
|
|
2527
2592
|
product_id: {
|
|
2528
2593
|
type: "string",
|
|
2529
2594
|
format: "uuid",
|
|
@@ -2536,58 +2601,87 @@ var $OrderItem_Input = {
|
|
|
2536
2601
|
quantity: {
|
|
2537
2602
|
type: "integer",
|
|
2538
2603
|
title: "Quantity"
|
|
2604
|
+
},
|
|
2605
|
+
plan: {
|
|
2606
|
+
type: "string",
|
|
2607
|
+
enum: ["onetime", "monthly", "yearly"],
|
|
2608
|
+
title: "Plan",
|
|
2609
|
+
default: "onetime"
|
|
2539
2610
|
}
|
|
2540
2611
|
},
|
|
2612
|
+
additionalProperties: false,
|
|
2541
2613
|
type: "object",
|
|
2542
|
-
required: [
|
|
2543
|
-
|
|
2544
|
-
"price",
|
|
2545
|
-
"product_id",
|
|
2546
|
-
"product_name",
|
|
2547
|
-
"quantity"
|
|
2548
|
-
],
|
|
2549
|
-
title: "OrderItem"
|
|
2614
|
+
required: ["product_id", "product_name", "quantity"],
|
|
2615
|
+
title: "OrderItemCreate"
|
|
2550
2616
|
};
|
|
2551
|
-
var $
|
|
2617
|
+
var $OrderQuote = {
|
|
2552
2618
|
properties: {
|
|
2553
|
-
|
|
2619
|
+
order_info: {
|
|
2620
|
+
items: {
|
|
2621
|
+
$ref: "#/components/schemas/OrderItem-Output"
|
|
2622
|
+
},
|
|
2623
|
+
type: "array",
|
|
2624
|
+
title: "Order Info"
|
|
2625
|
+
},
|
|
2626
|
+
subtotal: {
|
|
2627
|
+
type: "number",
|
|
2628
|
+
title: "Subtotal"
|
|
2629
|
+
},
|
|
2630
|
+
shipping_fee_inc_btw: {
|
|
2554
2631
|
anyOf: [
|
|
2555
2632
|
{
|
|
2556
|
-
type: "
|
|
2633
|
+
type: "number"
|
|
2557
2634
|
},
|
|
2558
2635
|
{
|
|
2559
2636
|
type: "null"
|
|
2560
2637
|
}
|
|
2561
2638
|
],
|
|
2562
|
-
title: "
|
|
2639
|
+
title: "Shipping Fee Inc Btw"
|
|
2563
2640
|
},
|
|
2564
|
-
|
|
2565
|
-
type: "
|
|
2566
|
-
title: "
|
|
2641
|
+
free_shipping_applied: {
|
|
2642
|
+
type: "boolean",
|
|
2643
|
+
title: "Free Shipping Applied",
|
|
2644
|
+
default: false
|
|
2567
2645
|
},
|
|
2568
|
-
|
|
2569
|
-
|
|
2570
|
-
|
|
2571
|
-
|
|
2646
|
+
free_shipping_threshold: {
|
|
2647
|
+
anyOf: [
|
|
2648
|
+
{
|
|
2649
|
+
type: "number"
|
|
2650
|
+
},
|
|
2651
|
+
{
|
|
2652
|
+
type: "null"
|
|
2653
|
+
}
|
|
2654
|
+
],
|
|
2655
|
+
title: "Free Shipping Threshold"
|
|
2572
2656
|
},
|
|
2573
|
-
|
|
2657
|
+
total: {
|
|
2658
|
+
type: "number",
|
|
2659
|
+
title: "Total"
|
|
2660
|
+
}
|
|
2661
|
+
},
|
|
2662
|
+
type: "object",
|
|
2663
|
+
required: ["order_info", "subtotal", "total"],
|
|
2664
|
+
title: "OrderQuote"
|
|
2665
|
+
};
|
|
2666
|
+
var $OrderQuoteRequest = {
|
|
2667
|
+
properties: {
|
|
2668
|
+
shop_id: {
|
|
2574
2669
|
type: "string",
|
|
2575
|
-
|
|
2670
|
+
format: "uuid",
|
|
2671
|
+
title: "Shop Id"
|
|
2576
2672
|
},
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2673
|
+
order_info: {
|
|
2674
|
+
items: {
|
|
2675
|
+
$ref: "#/components/schemas/OrderItemCreate"
|
|
2676
|
+
},
|
|
2677
|
+
type: "array",
|
|
2678
|
+
title: "Order Info"
|
|
2580
2679
|
}
|
|
2581
2680
|
},
|
|
2681
|
+
additionalProperties: false,
|
|
2582
2682
|
type: "object",
|
|
2583
|
-
required: [
|
|
2584
|
-
|
|
2585
|
-
"price",
|
|
2586
|
-
"product_id",
|
|
2587
|
-
"product_name",
|
|
2588
|
-
"quantity"
|
|
2589
|
-
],
|
|
2590
|
-
title: "OrderItem"
|
|
2683
|
+
required: ["shop_id", "order_info"],
|
|
2684
|
+
title: "OrderQuoteRequest"
|
|
2591
2685
|
};
|
|
2592
2686
|
var $OrderSchema = {
|
|
2593
2687
|
properties: {
|
|
@@ -2730,57 +2824,8 @@ var $OrderSchema = {
|
|
|
2730
2824
|
],
|
|
2731
2825
|
title: "OrderSchema"
|
|
2732
2826
|
};
|
|
2733
|
-
var $
|
|
2827
|
+
var $OrderStatusUpdate = {
|
|
2734
2828
|
properties: {
|
|
2735
|
-
account_id: {
|
|
2736
|
-
anyOf: [
|
|
2737
|
-
{
|
|
2738
|
-
type: "string",
|
|
2739
|
-
format: "uuid"
|
|
2740
|
-
},
|
|
2741
|
-
{
|
|
2742
|
-
type: "null"
|
|
2743
|
-
}
|
|
2744
|
-
],
|
|
2745
|
-
title: "Account Id"
|
|
2746
|
-
},
|
|
2747
|
-
total: {
|
|
2748
|
-
anyOf: [
|
|
2749
|
-
{
|
|
2750
|
-
type: "number"
|
|
2751
|
-
},
|
|
2752
|
-
{
|
|
2753
|
-
type: "string",
|
|
2754
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2755
|
-
},
|
|
2756
|
-
{
|
|
2757
|
-
type: "null"
|
|
2758
|
-
}
|
|
2759
|
-
],
|
|
2760
|
-
title: "Total"
|
|
2761
|
-
},
|
|
2762
|
-
notes: {
|
|
2763
|
-
anyOf: [
|
|
2764
|
-
{
|
|
2765
|
-
type: "string"
|
|
2766
|
-
},
|
|
2767
|
-
{
|
|
2768
|
-
type: "null"
|
|
2769
|
-
}
|
|
2770
|
-
],
|
|
2771
|
-
title: "Notes"
|
|
2772
|
-
},
|
|
2773
|
-
customer_order_id: {
|
|
2774
|
-
anyOf: [
|
|
2775
|
-
{
|
|
2776
|
-
type: "integer"
|
|
2777
|
-
},
|
|
2778
|
-
{
|
|
2779
|
-
type: "null"
|
|
2780
|
-
}
|
|
2781
|
-
],
|
|
2782
|
-
title: "Customer Order Id"
|
|
2783
|
-
},
|
|
2784
2829
|
status: {
|
|
2785
2830
|
anyOf: [
|
|
2786
2831
|
{
|
|
@@ -2792,44 +2837,21 @@ var $OrderUpdate = {
|
|
|
2792
2837
|
],
|
|
2793
2838
|
title: "Status"
|
|
2794
2839
|
},
|
|
2795
|
-
|
|
2840
|
+
notes: {
|
|
2796
2841
|
anyOf: [
|
|
2797
2842
|
{
|
|
2798
|
-
type: "
|
|
2799
|
-
},
|
|
2800
|
-
{
|
|
2801
|
-
type: "string",
|
|
2802
|
-
pattern: "^(?!^[-+.]*$)[+-]?0*\\d*\\.?\\d*$"
|
|
2843
|
+
type: "string"
|
|
2803
2844
|
},
|
|
2804
2845
|
{
|
|
2805
2846
|
type: "null"
|
|
2806
2847
|
}
|
|
2807
2848
|
],
|
|
2808
|
-
title: "
|
|
2809
|
-
},
|
|
2810
|
-
shop_id: {
|
|
2811
|
-
type: "string",
|
|
2812
|
-
format: "uuid",
|
|
2813
|
-
title: "Shop Id"
|
|
2814
|
-
},
|
|
2815
|
-
order_info: {
|
|
2816
|
-
items: {
|
|
2817
|
-
$ref: "#/components/schemas/OrderItem-Input"
|
|
2818
|
-
},
|
|
2819
|
-
type: "array",
|
|
2820
|
-
title: "Order Info"
|
|
2849
|
+
title: "Notes"
|
|
2821
2850
|
}
|
|
2822
2851
|
},
|
|
2852
|
+
additionalProperties: false,
|
|
2823
2853
|
type: "object",
|
|
2824
|
-
|
|
2825
|
-
"total",
|
|
2826
|
-
"notes",
|
|
2827
|
-
"customer_order_id",
|
|
2828
|
-
"status",
|
|
2829
|
-
"shop_id",
|
|
2830
|
-
"order_info"
|
|
2831
|
-
],
|
|
2832
|
-
title: "OrderUpdate"
|
|
2854
|
+
title: "OrderStatusUpdate"
|
|
2833
2855
|
};
|
|
2834
2856
|
var $OrderUpdated = {
|
|
2835
2857
|
properties: {
|
|
@@ -3111,7 +3133,8 @@ var $ProductCreate = {
|
|
|
3111
3133
|
type: "null"
|
|
3112
3134
|
}
|
|
3113
3135
|
],
|
|
3114
|
-
title: "Price"
|
|
3136
|
+
title: "Price",
|
|
3137
|
+
description: "Unit price excluding VAT. Gross = price * (1 + tax_category rate)."
|
|
3115
3138
|
},
|
|
3116
3139
|
recurring_price_monthly: {
|
|
3117
3140
|
anyOf: [
|
|
@@ -3338,7 +3361,7 @@ var $ProductCreate = {
|
|
|
3338
3361
|
title: "Image 6"
|
|
3339
3362
|
},
|
|
3340
3363
|
translation: {
|
|
3341
|
-
$ref: "#/components/schemas/
|
|
3364
|
+
$ref: "#/components/schemas/ProductTranslationCreate"
|
|
3342
3365
|
}
|
|
3343
3366
|
},
|
|
3344
3367
|
type: "object",
|
|
@@ -3349,12 +3372,6 @@ var $ProductCreate = {
|
|
|
3349
3372
|
"featured",
|
|
3350
3373
|
"new_product",
|
|
3351
3374
|
"tax_category",
|
|
3352
|
-
"image_1",
|
|
3353
|
-
"image_2",
|
|
3354
|
-
"image_3",
|
|
3355
|
-
"image_4",
|
|
3356
|
-
"image_5",
|
|
3357
|
-
"image_6",
|
|
3358
3375
|
"translation"
|
|
3359
3376
|
],
|
|
3360
3377
|
title: "ProductCreate"
|
|
@@ -3715,11 +3732,202 @@ var $ProductTranslationBase = {
|
|
|
3715
3732
|
title: "Main Name"
|
|
3716
3733
|
},
|
|
3717
3734
|
main_description: {
|
|
3718
|
-
type: "string",
|
|
3735
|
+
type: "string",
|
|
3736
|
+
title: "Main Description"
|
|
3737
|
+
},
|
|
3738
|
+
main_description_short: {
|
|
3739
|
+
type: "string",
|
|
3740
|
+
title: "Main Description Short"
|
|
3741
|
+
},
|
|
3742
|
+
alt1_name: {
|
|
3743
|
+
anyOf: [
|
|
3744
|
+
{
|
|
3745
|
+
type: "string"
|
|
3746
|
+
},
|
|
3747
|
+
{
|
|
3748
|
+
type: "null"
|
|
3749
|
+
}
|
|
3750
|
+
],
|
|
3751
|
+
title: "Alt1 Name"
|
|
3752
|
+
},
|
|
3753
|
+
alt1_description: {
|
|
3754
|
+
anyOf: [
|
|
3755
|
+
{
|
|
3756
|
+
type: "string"
|
|
3757
|
+
},
|
|
3758
|
+
{
|
|
3759
|
+
type: "null"
|
|
3760
|
+
}
|
|
3761
|
+
],
|
|
3762
|
+
title: "Alt1 Description"
|
|
3763
|
+
},
|
|
3764
|
+
alt1_description_short: {
|
|
3765
|
+
anyOf: [
|
|
3766
|
+
{
|
|
3767
|
+
type: "string"
|
|
3768
|
+
},
|
|
3769
|
+
{
|
|
3770
|
+
type: "null"
|
|
3771
|
+
}
|
|
3772
|
+
],
|
|
3773
|
+
title: "Alt1 Description Short"
|
|
3774
|
+
},
|
|
3775
|
+
alt2_name: {
|
|
3776
|
+
anyOf: [
|
|
3777
|
+
{
|
|
3778
|
+
type: "string"
|
|
3779
|
+
},
|
|
3780
|
+
{
|
|
3781
|
+
type: "null"
|
|
3782
|
+
}
|
|
3783
|
+
],
|
|
3784
|
+
title: "Alt2 Name"
|
|
3785
|
+
},
|
|
3786
|
+
alt2_description: {
|
|
3787
|
+
anyOf: [
|
|
3788
|
+
{
|
|
3789
|
+
type: "string"
|
|
3790
|
+
},
|
|
3791
|
+
{
|
|
3792
|
+
type: "null"
|
|
3793
|
+
}
|
|
3794
|
+
],
|
|
3795
|
+
title: "Alt2 Description"
|
|
3796
|
+
},
|
|
3797
|
+
alt2_description_short: {
|
|
3798
|
+
anyOf: [
|
|
3799
|
+
{
|
|
3800
|
+
type: "string"
|
|
3801
|
+
},
|
|
3802
|
+
{
|
|
3803
|
+
type: "null"
|
|
3804
|
+
}
|
|
3805
|
+
],
|
|
3806
|
+
title: "Alt2 Description Short"
|
|
3807
|
+
}
|
|
3808
|
+
},
|
|
3809
|
+
type: "object",
|
|
3810
|
+
required: ["main_name", "main_description", "main_description_short"],
|
|
3811
|
+
title: "ProductTranslationBase"
|
|
3812
|
+
};
|
|
3813
|
+
var $ProductTranslationCreate = {
|
|
3814
|
+
properties: {
|
|
3815
|
+
main_name: {
|
|
3816
|
+
type: "string",
|
|
3817
|
+
title: "Main Name"
|
|
3818
|
+
},
|
|
3819
|
+
main_description: {
|
|
3820
|
+
type: "string",
|
|
3821
|
+
title: "Main Description"
|
|
3822
|
+
},
|
|
3823
|
+
main_description_short: {
|
|
3824
|
+
type: "string",
|
|
3825
|
+
title: "Main Description Short"
|
|
3826
|
+
},
|
|
3827
|
+
alt1_name: {
|
|
3828
|
+
anyOf: [
|
|
3829
|
+
{
|
|
3830
|
+
type: "string"
|
|
3831
|
+
},
|
|
3832
|
+
{
|
|
3833
|
+
type: "null"
|
|
3834
|
+
}
|
|
3835
|
+
],
|
|
3836
|
+
title: "Alt1 Name"
|
|
3837
|
+
},
|
|
3838
|
+
alt1_description: {
|
|
3839
|
+
anyOf: [
|
|
3840
|
+
{
|
|
3841
|
+
type: "string"
|
|
3842
|
+
},
|
|
3843
|
+
{
|
|
3844
|
+
type: "null"
|
|
3845
|
+
}
|
|
3846
|
+
],
|
|
3847
|
+
title: "Alt1 Description"
|
|
3848
|
+
},
|
|
3849
|
+
alt1_description_short: {
|
|
3850
|
+
anyOf: [
|
|
3851
|
+
{
|
|
3852
|
+
type: "string"
|
|
3853
|
+
},
|
|
3854
|
+
{
|
|
3855
|
+
type: "null"
|
|
3856
|
+
}
|
|
3857
|
+
],
|
|
3858
|
+
title: "Alt1 Description Short"
|
|
3859
|
+
},
|
|
3860
|
+
alt2_name: {
|
|
3861
|
+
anyOf: [
|
|
3862
|
+
{
|
|
3863
|
+
type: "string"
|
|
3864
|
+
},
|
|
3865
|
+
{
|
|
3866
|
+
type: "null"
|
|
3867
|
+
}
|
|
3868
|
+
],
|
|
3869
|
+
title: "Alt2 Name"
|
|
3870
|
+
},
|
|
3871
|
+
alt2_description: {
|
|
3872
|
+
anyOf: [
|
|
3873
|
+
{
|
|
3874
|
+
type: "string"
|
|
3875
|
+
},
|
|
3876
|
+
{
|
|
3877
|
+
type: "null"
|
|
3878
|
+
}
|
|
3879
|
+
],
|
|
3880
|
+
title: "Alt2 Description"
|
|
3881
|
+
},
|
|
3882
|
+
alt2_description_short: {
|
|
3883
|
+
anyOf: [
|
|
3884
|
+
{
|
|
3885
|
+
type: "string"
|
|
3886
|
+
},
|
|
3887
|
+
{
|
|
3888
|
+
type: "null"
|
|
3889
|
+
}
|
|
3890
|
+
],
|
|
3891
|
+
title: "Alt2 Description Short"
|
|
3892
|
+
}
|
|
3893
|
+
},
|
|
3894
|
+
type: "object",
|
|
3895
|
+
required: ["main_name", "main_description", "main_description_short"],
|
|
3896
|
+
title: "ProductTranslationCreate"
|
|
3897
|
+
};
|
|
3898
|
+
var $ProductTranslationUpdate = {
|
|
3899
|
+
properties: {
|
|
3900
|
+
main_name: {
|
|
3901
|
+
anyOf: [
|
|
3902
|
+
{
|
|
3903
|
+
type: "string"
|
|
3904
|
+
},
|
|
3905
|
+
{
|
|
3906
|
+
type: "null"
|
|
3907
|
+
}
|
|
3908
|
+
],
|
|
3909
|
+
title: "Main Name"
|
|
3910
|
+
},
|
|
3911
|
+
main_description: {
|
|
3912
|
+
anyOf: [
|
|
3913
|
+
{
|
|
3914
|
+
type: "string"
|
|
3915
|
+
},
|
|
3916
|
+
{
|
|
3917
|
+
type: "null"
|
|
3918
|
+
}
|
|
3919
|
+
],
|
|
3719
3920
|
title: "Main Description"
|
|
3720
3921
|
},
|
|
3721
3922
|
main_description_short: {
|
|
3722
|
-
|
|
3923
|
+
anyOf: [
|
|
3924
|
+
{
|
|
3925
|
+
type: "string"
|
|
3926
|
+
},
|
|
3927
|
+
{
|
|
3928
|
+
type: "null"
|
|
3929
|
+
}
|
|
3930
|
+
],
|
|
3723
3931
|
title: "Main Description Short"
|
|
3724
3932
|
},
|
|
3725
3933
|
alt1_name: {
|
|
@@ -3790,14 +3998,20 @@ var $ProductTranslationBase = {
|
|
|
3790
3998
|
}
|
|
3791
3999
|
},
|
|
3792
4000
|
type: "object",
|
|
3793
|
-
|
|
3794
|
-
title: "ProductTranslationBase"
|
|
4001
|
+
title: "ProductTranslationUpdate"
|
|
3795
4002
|
};
|
|
3796
4003
|
var $ProductUpdate = {
|
|
3797
4004
|
properties: {
|
|
3798
4005
|
shop_id: {
|
|
3799
|
-
|
|
3800
|
-
|
|
4006
|
+
anyOf: [
|
|
4007
|
+
{
|
|
4008
|
+
type: "string",
|
|
4009
|
+
format: "uuid"
|
|
4010
|
+
},
|
|
4011
|
+
{
|
|
4012
|
+
type: "null"
|
|
4013
|
+
}
|
|
4014
|
+
],
|
|
3801
4015
|
title: "Shop Id"
|
|
3802
4016
|
},
|
|
3803
4017
|
category_id: {
|
|
@@ -3825,7 +4039,8 @@ var $ProductUpdate = {
|
|
|
3825
4039
|
type: "null"
|
|
3826
4040
|
}
|
|
3827
4041
|
],
|
|
3828
|
-
title: "Price"
|
|
4042
|
+
title: "Price",
|
|
4043
|
+
description: "Unit price excluding VAT. Gross = price * (1 + tax_category rate)."
|
|
3829
4044
|
},
|
|
3830
4045
|
recurring_price_monthly: {
|
|
3831
4046
|
anyOf: [
|
|
@@ -3858,11 +4073,25 @@ var $ProductUpdate = {
|
|
|
3858
4073
|
title: "Recurring Price Yearly"
|
|
3859
4074
|
},
|
|
3860
4075
|
max_one: {
|
|
3861
|
-
|
|
4076
|
+
anyOf: [
|
|
4077
|
+
{
|
|
4078
|
+
type: "boolean"
|
|
4079
|
+
},
|
|
4080
|
+
{
|
|
4081
|
+
type: "null"
|
|
4082
|
+
}
|
|
4083
|
+
],
|
|
3862
4084
|
title: "Max One"
|
|
3863
4085
|
},
|
|
3864
4086
|
shippable: {
|
|
3865
|
-
|
|
4087
|
+
anyOf: [
|
|
4088
|
+
{
|
|
4089
|
+
type: "boolean"
|
|
4090
|
+
},
|
|
4091
|
+
{
|
|
4092
|
+
type: "null"
|
|
4093
|
+
}
|
|
4094
|
+
],
|
|
3866
4095
|
title: "Shippable"
|
|
3867
4096
|
},
|
|
3868
4097
|
digital: {
|
|
@@ -3877,15 +4106,36 @@ var $ProductUpdate = {
|
|
|
3877
4106
|
title: "Digital"
|
|
3878
4107
|
},
|
|
3879
4108
|
featured: {
|
|
3880
|
-
|
|
4109
|
+
anyOf: [
|
|
4110
|
+
{
|
|
4111
|
+
type: "boolean"
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
type: "null"
|
|
4115
|
+
}
|
|
4116
|
+
],
|
|
3881
4117
|
title: "Featured"
|
|
3882
4118
|
},
|
|
3883
4119
|
new_product: {
|
|
3884
|
-
|
|
4120
|
+
anyOf: [
|
|
4121
|
+
{
|
|
4122
|
+
type: "boolean"
|
|
4123
|
+
},
|
|
4124
|
+
{
|
|
4125
|
+
type: "null"
|
|
4126
|
+
}
|
|
4127
|
+
],
|
|
3885
4128
|
title: "New Product"
|
|
3886
4129
|
},
|
|
3887
4130
|
tax_category: {
|
|
3888
|
-
|
|
4131
|
+
anyOf: [
|
|
4132
|
+
{
|
|
4133
|
+
type: "string"
|
|
4134
|
+
},
|
|
4135
|
+
{
|
|
4136
|
+
type: "null"
|
|
4137
|
+
}
|
|
4138
|
+
],
|
|
3889
4139
|
title: "Tax Category"
|
|
3890
4140
|
},
|
|
3891
4141
|
discounted_price: {
|
|
@@ -4052,7 +4302,14 @@ var $ProductUpdate = {
|
|
|
4052
4302
|
title: "Image 6"
|
|
4053
4303
|
},
|
|
4054
4304
|
translation: {
|
|
4055
|
-
|
|
4305
|
+
anyOf: [
|
|
4306
|
+
{
|
|
4307
|
+
$ref: "#/components/schemas/ProductTranslationUpdate"
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
type: "null"
|
|
4311
|
+
}
|
|
4312
|
+
]
|
|
4056
4313
|
},
|
|
4057
4314
|
modified_at: {
|
|
4058
4315
|
anyOf: [
|
|
@@ -4068,21 +4325,6 @@ var $ProductUpdate = {
|
|
|
4068
4325
|
}
|
|
4069
4326
|
},
|
|
4070
4327
|
type: "object",
|
|
4071
|
-
required: [
|
|
4072
|
-
"shop_id",
|
|
4073
|
-
"max_one",
|
|
4074
|
-
"shippable",
|
|
4075
|
-
"featured",
|
|
4076
|
-
"new_product",
|
|
4077
|
-
"tax_category",
|
|
4078
|
-
"image_1",
|
|
4079
|
-
"image_2",
|
|
4080
|
-
"image_3",
|
|
4081
|
-
"image_4",
|
|
4082
|
-
"image_5",
|
|
4083
|
-
"image_6",
|
|
4084
|
-
"translation"
|
|
4085
|
-
],
|
|
4086
4328
|
title: "ProductUpdate"
|
|
4087
4329
|
};
|
|
4088
4330
|
var $ProductWithAttributes = {
|
|
@@ -4132,7 +4374,8 @@ var $ProductWithDefaultPrice = {
|
|
|
4132
4374
|
type: "null"
|
|
4133
4375
|
}
|
|
4134
4376
|
],
|
|
4135
|
-
title: "Price"
|
|
4377
|
+
title: "Price",
|
|
4378
|
+
description: "Unit price excluding VAT. Gross = price * (1 + tax_category rate)."
|
|
4136
4379
|
},
|
|
4137
4380
|
recurring_price_monthly: {
|
|
4138
4381
|
anyOf: [
|
|
@@ -4414,12 +4657,6 @@ var $ProductWithDefaultPrice = {
|
|
|
4414
4657
|
"featured",
|
|
4415
4658
|
"new_product",
|
|
4416
4659
|
"tax_category",
|
|
4417
|
-
"image_1",
|
|
4418
|
-
"image_2",
|
|
4419
|
-
"image_3",
|
|
4420
|
-
"image_4",
|
|
4421
|
-
"image_5",
|
|
4422
|
-
"image_6",
|
|
4423
4660
|
"translation",
|
|
4424
4661
|
"id"
|
|
4425
4662
|
],
|
|
@@ -4453,7 +4690,8 @@ var $ProductWithDetailsAndPrices = {
|
|
|
4453
4690
|
type: "null"
|
|
4454
4691
|
}
|
|
4455
4692
|
],
|
|
4456
|
-
title: "Price"
|
|
4693
|
+
title: "Price",
|
|
4694
|
+
description: "Unit price excluding VAT. Gross = price * (1 + tax_category rate)."
|
|
4457
4695
|
},
|
|
4458
4696
|
recurring_price_monthly: {
|
|
4459
4697
|
anyOf: [
|
|
@@ -4733,12 +4971,6 @@ var $ProductWithDetailsAndPrices = {
|
|
|
4733
4971
|
"featured",
|
|
4734
4972
|
"new_product",
|
|
4735
4973
|
"tax_category",
|
|
4736
|
-
"image_1",
|
|
4737
|
-
"image_2",
|
|
4738
|
-
"image_3",
|
|
4739
|
-
"image_4",
|
|
4740
|
-
"image_5",
|
|
4741
|
-
"image_6",
|
|
4742
4974
|
"translation",
|
|
4743
4975
|
"id"
|
|
4744
4976
|
],
|
|
@@ -6614,53 +6846,53 @@ var getByIdShopsIdGet = (data) => {
|
|
|
6614
6846
|
}
|
|
6615
6847
|
});
|
|
6616
6848
|
};
|
|
6617
|
-
var
|
|
6849
|
+
var getConfigShopsConfigIdGet = (data) => {
|
|
6618
6850
|
return request(OpenAPI, {
|
|
6619
|
-
method: "
|
|
6620
|
-
url: "/shops/{
|
|
6851
|
+
method: "GET",
|
|
6852
|
+
url: "/shops/config/{id}",
|
|
6621
6853
|
path: {
|
|
6622
|
-
|
|
6854
|
+
id: data.id
|
|
6623
6855
|
},
|
|
6624
|
-
body: data.requestBody,
|
|
6625
|
-
mediaType: "application/json",
|
|
6626
6856
|
errors: {
|
|
6627
6857
|
422: "Validation Error"
|
|
6628
6858
|
}
|
|
6629
6859
|
});
|
|
6630
6860
|
};
|
|
6631
|
-
var
|
|
6861
|
+
var updateConfigShopsConfigIdPut = (data) => {
|
|
6632
6862
|
return request(OpenAPI, {
|
|
6633
|
-
method: "
|
|
6634
|
-
url: "/shops/{
|
|
6863
|
+
method: "PUT",
|
|
6864
|
+
url: "/shops/config/{id}",
|
|
6635
6865
|
path: {
|
|
6636
|
-
|
|
6866
|
+
id: data.id
|
|
6637
6867
|
},
|
|
6868
|
+
body: data.requestBody,
|
|
6869
|
+
mediaType: "application/json",
|
|
6638
6870
|
errors: {
|
|
6639
6871
|
422: "Validation Error"
|
|
6640
6872
|
}
|
|
6641
6873
|
});
|
|
6642
6874
|
};
|
|
6643
|
-
var
|
|
6875
|
+
var updateShopsShopIdPut = (data) => {
|
|
6644
6876
|
return request(OpenAPI, {
|
|
6645
|
-
method: "
|
|
6646
|
-
url: "/shops/
|
|
6877
|
+
method: "PUT",
|
|
6878
|
+
url: "/shops/{shop_id}",
|
|
6647
6879
|
path: {
|
|
6648
|
-
|
|
6880
|
+
shop_id: data.shopId
|
|
6649
6881
|
},
|
|
6882
|
+
body: data.requestBody,
|
|
6883
|
+
mediaType: "application/json",
|
|
6650
6884
|
errors: {
|
|
6651
6885
|
422: "Validation Error"
|
|
6652
6886
|
}
|
|
6653
6887
|
});
|
|
6654
6888
|
};
|
|
6655
|
-
var
|
|
6889
|
+
var deleteShopsShopIdDelete = (data) => {
|
|
6656
6890
|
return request(OpenAPI, {
|
|
6657
|
-
method: "
|
|
6658
|
-
url: "/shops/
|
|
6891
|
+
method: "DELETE",
|
|
6892
|
+
url: "/shops/{shop_id}",
|
|
6659
6893
|
path: {
|
|
6660
|
-
|
|
6894
|
+
shop_id: data.shopId
|
|
6661
6895
|
},
|
|
6662
|
-
body: data.requestBody,
|
|
6663
|
-
mediaType: "application/json",
|
|
6664
6896
|
errors: {
|
|
6665
6897
|
422: "Validation Error"
|
|
6666
6898
|
}
|
|
@@ -6764,13 +6996,16 @@ var createOrdersPost = (data) => {
|
|
|
6764
6996
|
}
|
|
6765
6997
|
});
|
|
6766
6998
|
};
|
|
6767
|
-
var
|
|
6999
|
+
var listPendingOrders = (data) => {
|
|
6768
7000
|
return request(OpenAPI, {
|
|
6769
7001
|
method: "GET",
|
|
6770
7002
|
url: "/orders/shop/{shop_id}/pending",
|
|
6771
7003
|
path: {
|
|
6772
7004
|
shop_id: data.shopId
|
|
6773
7005
|
},
|
|
7006
|
+
headers: {
|
|
7007
|
+
"X-API-Key": data.xApiKey
|
|
7008
|
+
},
|
|
6774
7009
|
query: {
|
|
6775
7010
|
skip: data.skip,
|
|
6776
7011
|
limit: data.limit,
|
|
@@ -6782,13 +7017,16 @@ var showAllPendingOrdersPerShopOrdersShopShopIdPendingGet = (data) => {
|
|
|
6782
7017
|
}
|
|
6783
7018
|
});
|
|
6784
7019
|
};
|
|
6785
|
-
var
|
|
7020
|
+
var listCompleteOrders = (data) => {
|
|
6786
7021
|
return request(OpenAPI, {
|
|
6787
7022
|
method: "GET",
|
|
6788
7023
|
url: "/orders/shop/{shop_id}/complete",
|
|
6789
7024
|
path: {
|
|
6790
7025
|
shop_id: data.shopId
|
|
6791
7026
|
},
|
|
7027
|
+
headers: {
|
|
7028
|
+
"X-API-Key": data.xApiKey
|
|
7029
|
+
},
|
|
6792
7030
|
query: {
|
|
6793
7031
|
skip: data.skip,
|
|
6794
7032
|
limit: data.limit,
|
|
@@ -6824,6 +7062,17 @@ var checkOrdersCheckIdsGet = (data) => {
|
|
|
6824
7062
|
}
|
|
6825
7063
|
});
|
|
6826
7064
|
};
|
|
7065
|
+
var quoteOrdersQuotePost = (data) => {
|
|
7066
|
+
return request(OpenAPI, {
|
|
7067
|
+
method: "POST",
|
|
7068
|
+
url: "/orders/quote",
|
|
7069
|
+
body: data.requestBody,
|
|
7070
|
+
mediaType: "application/json",
|
|
7071
|
+
errors: {
|
|
7072
|
+
422: "Validation Error"
|
|
7073
|
+
}
|
|
7074
|
+
});
|
|
7075
|
+
};
|
|
6827
7076
|
var patchOrdersOrderIdPatch = (data) => {
|
|
6828
7077
|
return request(OpenAPI, {
|
|
6829
7078
|
method: "PATCH",
|
|
@@ -7053,10 +7302,13 @@ var getCategoryProductsShopsShopIdCategoriesCategoryIdProductsGet = (data) => {
|
|
|
7053
7302
|
}
|
|
7054
7303
|
});
|
|
7055
7304
|
};
|
|
7056
|
-
var getMultiShopsShopIdCategoriesImagesGet = (data
|
|
7305
|
+
var getMultiShopsShopIdCategoriesImagesGet = (data) => {
|
|
7057
7306
|
return request(OpenAPI, {
|
|
7058
7307
|
method: "GET",
|
|
7059
7308
|
url: "/shops/{shop_id}/categories-images/",
|
|
7309
|
+
path: {
|
|
7310
|
+
shop_id: data.shopId
|
|
7311
|
+
},
|
|
7060
7312
|
query: {
|
|
7061
7313
|
skip: data.skip,
|
|
7062
7314
|
limit: data.limit,
|
|
@@ -7073,7 +7325,8 @@ var getByIdShopsShopIdCategoriesImagesIdGet = (data) => {
|
|
|
7073
7325
|
method: "GET",
|
|
7074
7326
|
url: "/shops/{shop_id}/categories-images/{id}",
|
|
7075
7327
|
path: {
|
|
7076
|
-
id: data.id
|
|
7328
|
+
id: data.id,
|
|
7329
|
+
shop_id: data.shopId
|
|
7077
7330
|
},
|
|
7078
7331
|
errors: {
|
|
7079
7332
|
422: "Validation Error"
|
|
@@ -7085,7 +7338,8 @@ var putShopsShopIdCategoriesImagesIdPut = (data) => {
|
|
|
7085
7338
|
method: "PUT",
|
|
7086
7339
|
url: "/shops/{shop_id}/categories-images/{id}",
|
|
7087
7340
|
path: {
|
|
7088
|
-
id: data.id
|
|
7341
|
+
id: data.id,
|
|
7342
|
+
shop_id: data.shopId
|
|
7089
7343
|
},
|
|
7090
7344
|
body: data.requestBody,
|
|
7091
7345
|
mediaType: "application/json",
|
|
@@ -7099,7 +7353,8 @@ var deleteImageShopsShopIdCategoriesImagesDeleteIdPut = (data) => {
|
|
|
7099
7353
|
method: "PUT",
|
|
7100
7354
|
url: "/shops/{shop_id}/categories-images/delete/{id}",
|
|
7101
7355
|
path: {
|
|
7102
|
-
id: data.id
|
|
7356
|
+
id: data.id,
|
|
7357
|
+
shop_id: data.shopId
|
|
7103
7358
|
},
|
|
7104
7359
|
body: data.requestBody,
|
|
7105
7360
|
mediaType: "application/json",
|
|
@@ -7255,7 +7510,7 @@ var swapShopsShopIdProductsProductIdSwapPut = (data) => {
|
|
|
7255
7510
|
}
|
|
7256
7511
|
});
|
|
7257
7512
|
};
|
|
7258
|
-
var
|
|
7513
|
+
var getProductAttributes = (data) => {
|
|
7259
7514
|
return request(OpenAPI, {
|
|
7260
7515
|
method: "GET",
|
|
7261
7516
|
url: "/shops/{shop_id}/products/{product_id}/with_attributes",
|
|
@@ -7268,10 +7523,16 @@ var getByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGet = (data)
|
|
|
7268
7523
|
}
|
|
7269
7524
|
});
|
|
7270
7525
|
};
|
|
7271
|
-
var
|
|
7526
|
+
var listProductToTags = (data) => {
|
|
7272
7527
|
return request(OpenAPI, {
|
|
7273
7528
|
method: "GET",
|
|
7274
7529
|
url: "/shops/{shop_id}/products-to-tags/",
|
|
7530
|
+
path: {
|
|
7531
|
+
shop_id: data.shopId
|
|
7532
|
+
},
|
|
7533
|
+
headers: {
|
|
7534
|
+
"X-API-Key": data.xApiKey
|
|
7535
|
+
},
|
|
7275
7536
|
query: {
|
|
7276
7537
|
skip: data.skip,
|
|
7277
7538
|
limit: data.limit,
|
|
@@ -7283,10 +7544,16 @@ var getMultiShopsShopIdProductsToTagsGet = (data = {}) => {
|
|
|
7283
7544
|
}
|
|
7284
7545
|
});
|
|
7285
7546
|
};
|
|
7286
|
-
var
|
|
7547
|
+
var createProductToTag = (data) => {
|
|
7287
7548
|
return request(OpenAPI, {
|
|
7288
7549
|
method: "POST",
|
|
7289
7550
|
url: "/shops/{shop_id}/products-to-tags/",
|
|
7551
|
+
path: {
|
|
7552
|
+
shop_id: data.shopId
|
|
7553
|
+
},
|
|
7554
|
+
headers: {
|
|
7555
|
+
"X-API-Key": data.xApiKey
|
|
7556
|
+
},
|
|
7290
7557
|
body: data.requestBody,
|
|
7291
7558
|
mediaType: "application/json",
|
|
7292
7559
|
errors: {
|
|
@@ -7294,10 +7561,16 @@ var createShopsShopIdProductsToTagsPost = (data) => {
|
|
|
7294
7561
|
}
|
|
7295
7562
|
});
|
|
7296
7563
|
};
|
|
7297
|
-
var
|
|
7564
|
+
var getProductToTagRelationId = (data) => {
|
|
7298
7565
|
return request(OpenAPI, {
|
|
7299
7566
|
method: "GET",
|
|
7300
7567
|
url: "/shops/{shop_id}/products-to-tags/get_relation_id",
|
|
7568
|
+
path: {
|
|
7569
|
+
shop_id: data.shopId
|
|
7570
|
+
},
|
|
7571
|
+
headers: {
|
|
7572
|
+
"X-API-Key": data.xApiKey
|
|
7573
|
+
},
|
|
7301
7574
|
query: {
|
|
7302
7575
|
tag_id: data.tagId,
|
|
7303
7576
|
product_id: data.productId
|
|
@@ -7307,24 +7580,32 @@ var getRelationIdShopsShopIdProductsToTagsGetRelationIdGet = (data) => {
|
|
|
7307
7580
|
}
|
|
7308
7581
|
});
|
|
7309
7582
|
};
|
|
7310
|
-
var
|
|
7583
|
+
var getProductToTag = (data) => {
|
|
7311
7584
|
return request(OpenAPI, {
|
|
7312
7585
|
method: "GET",
|
|
7313
7586
|
url: "/shops/{shop_id}/products-to-tags/{id}",
|
|
7314
7587
|
path: {
|
|
7315
|
-
id: data.id
|
|
7588
|
+
id: data.id,
|
|
7589
|
+
shop_id: data.shopId
|
|
7590
|
+
},
|
|
7591
|
+
headers: {
|
|
7592
|
+
"X-API-Key": data.xApiKey
|
|
7316
7593
|
},
|
|
7317
7594
|
errors: {
|
|
7318
7595
|
422: "Validation Error"
|
|
7319
7596
|
}
|
|
7320
7597
|
});
|
|
7321
7598
|
};
|
|
7322
|
-
var
|
|
7599
|
+
var updateProductToTag = (data) => {
|
|
7323
7600
|
return request(OpenAPI, {
|
|
7324
7601
|
method: "PUT",
|
|
7325
7602
|
url: "/shops/{shop_id}/products-to-tags/{product_to_tag_id}",
|
|
7326
7603
|
path: {
|
|
7327
|
-
product_to_tag_id: data.productToTagId
|
|
7604
|
+
product_to_tag_id: data.productToTagId,
|
|
7605
|
+
shop_id: data.shopId
|
|
7606
|
+
},
|
|
7607
|
+
headers: {
|
|
7608
|
+
"X-API-Key": data.xApiKey
|
|
7328
7609
|
},
|
|
7329
7610
|
body: data.requestBody,
|
|
7330
7611
|
mediaType: "application/json",
|
|
@@ -7333,12 +7614,16 @@ var updateShopsShopIdProductsToTagsProductToTagIdPut = (data) => {
|
|
|
7333
7614
|
}
|
|
7334
7615
|
});
|
|
7335
7616
|
};
|
|
7336
|
-
var
|
|
7617
|
+
var deleteProductToTag = (data) => {
|
|
7337
7618
|
return request(OpenAPI, {
|
|
7338
7619
|
method: "DELETE",
|
|
7339
7620
|
url: "/shops/{shop_id}/products-to-tags/{product_to_tag_id}",
|
|
7340
7621
|
path: {
|
|
7341
|
-
product_to_tag_id: data.productToTagId
|
|
7622
|
+
product_to_tag_id: data.productToTagId,
|
|
7623
|
+
shop_id: data.shopId
|
|
7624
|
+
},
|
|
7625
|
+
headers: {
|
|
7626
|
+
"X-API-Key": data.xApiKey
|
|
7342
7627
|
},
|
|
7343
7628
|
errors: {
|
|
7344
7629
|
422: "Validation Error"
|
|
@@ -7902,13 +8187,16 @@ var revokeShopsShopIdApiKeysKeyIdDelete = (data) => {
|
|
|
7902
8187
|
}
|
|
7903
8188
|
});
|
|
7904
8189
|
};
|
|
7905
|
-
var
|
|
8190
|
+
var listAttributeOptions = (data) => {
|
|
7906
8191
|
return request(OpenAPI, {
|
|
7907
8192
|
method: "GET",
|
|
7908
8193
|
url: "/shops/{shop_id}/attribute-options/",
|
|
7909
8194
|
path: {
|
|
7910
8195
|
shop_id: data.shopId
|
|
7911
8196
|
},
|
|
8197
|
+
headers: {
|
|
8198
|
+
"X-API-Key": data.xApiKey
|
|
8199
|
+
},
|
|
7912
8200
|
query: {
|
|
7913
8201
|
skip: data.skip,
|
|
7914
8202
|
limit: data.limit,
|
|
@@ -7920,13 +8208,16 @@ var listOptionsForShopShopsShopIdAttributeOptionsGet = (data) => {
|
|
|
7920
8208
|
}
|
|
7921
8209
|
});
|
|
7922
8210
|
};
|
|
7923
|
-
var
|
|
8211
|
+
var createAttributeOption = (data) => {
|
|
7924
8212
|
return request(OpenAPI, {
|
|
7925
8213
|
method: "POST",
|
|
7926
8214
|
url: "/shops/{shop_id}/attribute-options/",
|
|
7927
8215
|
path: {
|
|
7928
8216
|
shop_id: data.shopId
|
|
7929
8217
|
},
|
|
8218
|
+
headers: {
|
|
8219
|
+
"X-API-Key": data.xApiKey
|
|
8220
|
+
},
|
|
7930
8221
|
body: data.requestBody,
|
|
7931
8222
|
mediaType: "application/json",
|
|
7932
8223
|
errors: {
|
|
@@ -7934,7 +8225,7 @@ var createOptionV2ShopsShopIdAttributeOptionsPost = (data) => {
|
|
|
7934
8225
|
}
|
|
7935
8226
|
});
|
|
7936
8227
|
};
|
|
7937
|
-
var
|
|
8228
|
+
var getAttributeOption = (data) => {
|
|
7938
8229
|
return request(OpenAPI, {
|
|
7939
8230
|
method: "GET",
|
|
7940
8231
|
url: "/shops/{shop_id}/attribute-options/{option_id}",
|
|
@@ -7942,12 +8233,15 @@ var getOptionV2ShopsShopIdAttributeOptionsOptionIdGet = (data) => {
|
|
|
7942
8233
|
shop_id: data.shopId,
|
|
7943
8234
|
option_id: data.optionId
|
|
7944
8235
|
},
|
|
8236
|
+
headers: {
|
|
8237
|
+
"X-API-Key": data.xApiKey
|
|
8238
|
+
},
|
|
7945
8239
|
errors: {
|
|
7946
8240
|
422: "Validation Error"
|
|
7947
8241
|
}
|
|
7948
8242
|
});
|
|
7949
8243
|
};
|
|
7950
|
-
var
|
|
8244
|
+
var updateAttributeOption = (data) => {
|
|
7951
8245
|
return request(OpenAPI, {
|
|
7952
8246
|
method: "PUT",
|
|
7953
8247
|
url: "/shops/{shop_id}/attribute-options/{option_id}",
|
|
@@ -7955,6 +8249,9 @@ var updateOptionV2ShopsShopIdAttributeOptionsOptionIdPut = (data) => {
|
|
|
7955
8249
|
shop_id: data.shopId,
|
|
7956
8250
|
option_id: data.optionId
|
|
7957
8251
|
},
|
|
8252
|
+
headers: {
|
|
8253
|
+
"X-API-Key": data.xApiKey
|
|
8254
|
+
},
|
|
7958
8255
|
body: data.requestBody,
|
|
7959
8256
|
mediaType: "application/json",
|
|
7960
8257
|
errors: {
|
|
@@ -7962,7 +8259,7 @@ var updateOptionV2ShopsShopIdAttributeOptionsOptionIdPut = (data) => {
|
|
|
7962
8259
|
}
|
|
7963
8260
|
});
|
|
7964
8261
|
};
|
|
7965
|
-
var
|
|
8262
|
+
var deleteAttributeOption = (data) => {
|
|
7966
8263
|
return request(OpenAPI, {
|
|
7967
8264
|
method: "DELETE",
|
|
7968
8265
|
url: "/shops/{shop_id}/attribute-options/{option_id}",
|
|
@@ -7970,6 +8267,9 @@ var deleteOptionV2ShopsShopIdAttributeOptionsOptionIdDelete = (data) => {
|
|
|
7970
8267
|
shop_id: data.shopId,
|
|
7971
8268
|
option_id: data.optionId
|
|
7972
8269
|
},
|
|
8270
|
+
headers: {
|
|
8271
|
+
"X-API-Key": data.xApiKey
|
|
8272
|
+
},
|
|
7973
8273
|
query: {
|
|
7974
8274
|
force: data.force
|
|
7975
8275
|
},
|
|
@@ -8050,6 +8350,9 @@ var productAttributeValuesList = (data) => {
|
|
|
8050
8350
|
path: {
|
|
8051
8351
|
shop_id: data.shopId
|
|
8052
8352
|
},
|
|
8353
|
+
headers: {
|
|
8354
|
+
"X-API-Key": data.xApiKey
|
|
8355
|
+
},
|
|
8053
8356
|
query: {
|
|
8054
8357
|
skip: data.skip,
|
|
8055
8358
|
limit: data.limit,
|
|
@@ -8068,6 +8371,9 @@ var productAttributeValuesCreateDeprecated = (data) => {
|
|
|
8068
8371
|
path: {
|
|
8069
8372
|
shop_id: data.shopId
|
|
8070
8373
|
},
|
|
8374
|
+
headers: {
|
|
8375
|
+
"X-API-Key": data.xApiKey
|
|
8376
|
+
},
|
|
8071
8377
|
body: data.requestBody,
|
|
8072
8378
|
mediaType: "application/json",
|
|
8073
8379
|
errors: {
|
|
@@ -8083,6 +8389,9 @@ var productAttributeValuesGet = (data) => {
|
|
|
8083
8389
|
shop_id: data.shopId,
|
|
8084
8390
|
id: data.id
|
|
8085
8391
|
},
|
|
8392
|
+
headers: {
|
|
8393
|
+
"X-API-Key": data.xApiKey
|
|
8394
|
+
},
|
|
8086
8395
|
errors: {
|
|
8087
8396
|
422: "Validation Error"
|
|
8088
8397
|
}
|
|
@@ -8096,12 +8405,15 @@ var productAttributeValuesDelete = (data) => {
|
|
|
8096
8405
|
shop_id: data.shopId,
|
|
8097
8406
|
id: data.id
|
|
8098
8407
|
},
|
|
8408
|
+
headers: {
|
|
8409
|
+
"X-API-Key": data.xApiKey
|
|
8410
|
+
},
|
|
8099
8411
|
errors: {
|
|
8100
8412
|
422: "Validation Error"
|
|
8101
8413
|
}
|
|
8102
8414
|
});
|
|
8103
8415
|
};
|
|
8104
|
-
var
|
|
8416
|
+
var addProductAttributeOptions = (data) => {
|
|
8105
8417
|
return request(OpenAPI, {
|
|
8106
8418
|
method: "POST",
|
|
8107
8419
|
url: "/shops/{shop_id}/product-attribute-values/{product_id}",
|
|
@@ -8109,6 +8421,9 @@ var productAttributeValuesCreateForProduct = (data) => {
|
|
|
8109
8421
|
shop_id: data.shopId,
|
|
8110
8422
|
product_id: data.productId
|
|
8111
8423
|
},
|
|
8424
|
+
headers: {
|
|
8425
|
+
"X-API-Key": data.xApiKey
|
|
8426
|
+
},
|
|
8112
8427
|
body: data.requestBody,
|
|
8113
8428
|
mediaType: "application/json",
|
|
8114
8429
|
errors: {
|
|
@@ -8124,6 +8439,9 @@ var productAttributeValuesReplaceForProduct = (data) => {
|
|
|
8124
8439
|
shop_id: data.shopId,
|
|
8125
8440
|
product_id: data.productId
|
|
8126
8441
|
},
|
|
8442
|
+
headers: {
|
|
8443
|
+
"X-API-Key": data.xApiKey
|
|
8444
|
+
},
|
|
8127
8445
|
body: data.requestBody,
|
|
8128
8446
|
mediaType: "application/json",
|
|
8129
8447
|
errors: {
|
|
@@ -8131,10 +8449,13 @@ var productAttributeValuesReplaceForProduct = (data) => {
|
|
|
8131
8449
|
}
|
|
8132
8450
|
});
|
|
8133
8451
|
};
|
|
8134
|
-
var getMultiShopsShopIdAccountsGet = (data
|
|
8452
|
+
var getMultiShopsShopIdAccountsGet = (data) => {
|
|
8135
8453
|
return request(OpenAPI, {
|
|
8136
8454
|
method: "GET",
|
|
8137
8455
|
url: "/shops/{shop_id}/accounts/",
|
|
8456
|
+
path: {
|
|
8457
|
+
shop_id: data.shopId
|
|
8458
|
+
},
|
|
8138
8459
|
query: {
|
|
8139
8460
|
skip: data.skip,
|
|
8140
8461
|
limit: data.limit,
|
|
@@ -8150,6 +8471,9 @@ var createShopsShopIdAccountsPost = (data) => {
|
|
|
8150
8471
|
return request(OpenAPI, {
|
|
8151
8472
|
method: "POST",
|
|
8152
8473
|
url: "/shops/{shop_id}/accounts/",
|
|
8474
|
+
path: {
|
|
8475
|
+
shop_id: data.shopId
|
|
8476
|
+
},
|
|
8153
8477
|
body: data.requestBody,
|
|
8154
8478
|
mediaType: "application/json",
|
|
8155
8479
|
errors: {
|
|
@@ -8162,7 +8486,8 @@ var getByIdShopsShopIdAccountsIdGet = (data) => {
|
|
|
8162
8486
|
method: "GET",
|
|
8163
8487
|
url: "/shops/{shop_id}/accounts/{id}",
|
|
8164
8488
|
path: {
|
|
8165
|
-
id: data.id
|
|
8489
|
+
id: data.id,
|
|
8490
|
+
shop_id: data.shopId
|
|
8166
8491
|
},
|
|
8167
8492
|
errors: {
|
|
8168
8493
|
422: "Validation Error"
|
|
@@ -8174,7 +8499,8 @@ var updateShopsShopIdAccountsAccountIdPut = (data) => {
|
|
|
8174
8499
|
method: "PUT",
|
|
8175
8500
|
url: "/shops/{shop_id}/accounts/{account_id}",
|
|
8176
8501
|
path: {
|
|
8177
|
-
account_id: data.accountId
|
|
8502
|
+
account_id: data.accountId,
|
|
8503
|
+
shop_id: data.shopId
|
|
8178
8504
|
},
|
|
8179
8505
|
body: data.requestBody,
|
|
8180
8506
|
mediaType: "application/json",
|
|
@@ -8188,7 +8514,8 @@ var deleteShopsShopIdAccountsAccountIdDelete = (data) => {
|
|
|
8188
8514
|
method: "DELETE",
|
|
8189
8515
|
url: "/shops/{shop_id}/accounts/{account_id}",
|
|
8190
8516
|
path: {
|
|
8191
|
-
account_id: data.accountId
|
|
8517
|
+
account_id: data.accountId,
|
|
8518
|
+
shop_id: data.shopId
|
|
8192
8519
|
},
|
|
8193
8520
|
errors: {
|
|
8194
8521
|
422: "Validation Error"
|
|
@@ -8203,8 +8530,7 @@ var createPaymentIntentShopsShopIdStripePost = (data) => {
|
|
|
8203
8530
|
shop_id: data.shopId
|
|
8204
8531
|
},
|
|
8205
8532
|
query: {
|
|
8206
|
-
|
|
8207
|
-
account_id: data.accountId
|
|
8533
|
+
order_id: data.orderId
|
|
8208
8534
|
},
|
|
8209
8535
|
errors: {
|
|
8210
8536
|
422: "Validation Error"
|
|
@@ -8219,11 +8545,8 @@ var createSubscriptionIntentShopsShopIdStripeSubscriptionPost = (data) => {
|
|
|
8219
8545
|
shop_id: data.shopId
|
|
8220
8546
|
},
|
|
8221
8547
|
query: {
|
|
8222
|
-
|
|
8223
|
-
yearly: data.yearly
|
|
8548
|
+
order_id: data.orderId
|
|
8224
8549
|
},
|
|
8225
|
-
body: data.requestBody,
|
|
8226
|
-
mediaType: "application/json",
|
|
8227
8550
|
errors: {
|
|
8228
8551
|
422: "Validation Error"
|
|
8229
8552
|
}
|
|
@@ -8355,6 +8678,17 @@ var deleteFaqFaqIdDelete = (data) => {
|
|
|
8355
8678
|
}
|
|
8356
8679
|
});
|
|
8357
8680
|
};
|
|
8681
|
+
var sendTestOrderConfirmationMailTestSendOrderConfirmationPost = (data = {}) => {
|
|
8682
|
+
return request(OpenAPI, {
|
|
8683
|
+
method: "POST",
|
|
8684
|
+
url: "/mail-test/send-order-confirmation",
|
|
8685
|
+
body: data.requestBody,
|
|
8686
|
+
mediaType: "application/json",
|
|
8687
|
+
errors: {
|
|
8688
|
+
422: "Validation Error"
|
|
8689
|
+
}
|
|
8690
|
+
});
|
|
8691
|
+
};
|
|
8358
8692
|
export {
|
|
8359
8693
|
$AccountCreate,
|
|
8360
8694
|
$AccountSchema,
|
|
@@ -8378,6 +8712,7 @@ export {
|
|
|
8378
8712
|
$CategoryImageDelete,
|
|
8379
8713
|
$CategorySchema,
|
|
8380
8714
|
$CategoryTranslationBase,
|
|
8715
|
+
$CategoryTranslationUpdate,
|
|
8381
8716
|
$CategoryUpdate,
|
|
8382
8717
|
$ConfigurationContact,
|
|
8383
8718
|
$ConfigurationLanguageFieldMenuItems,
|
|
@@ -8403,14 +8738,18 @@ export {
|
|
|
8403
8738
|
$LicenseSchema,
|
|
8404
8739
|
$LicenseUpdate,
|
|
8405
8740
|
$LinkStripeBody,
|
|
8741
|
+
$MailTestRequest,
|
|
8742
|
+
$MailTestResponse,
|
|
8406
8743
|
$MyShopsResponse,
|
|
8407
|
-
$OrderBase,
|
|
8408
8744
|
$OrderCreate,
|
|
8409
8745
|
$OrderCreated,
|
|
8746
|
+
$OrderItemCreate,
|
|
8410
8747
|
$OrderItem_Input,
|
|
8411
8748
|
$OrderItem_Output,
|
|
8749
|
+
$OrderQuote,
|
|
8750
|
+
$OrderQuoteRequest,
|
|
8412
8751
|
$OrderSchema,
|
|
8413
|
-
$
|
|
8752
|
+
$OrderStatusUpdate,
|
|
8414
8753
|
$OrderUpdated,
|
|
8415
8754
|
$ProductAttributeItem,
|
|
8416
8755
|
$ProductAttributeOptionSelectionAdd,
|
|
@@ -8423,6 +8762,8 @@ export {
|
|
|
8423
8762
|
$ProductToTagSchema,
|
|
8424
8763
|
$ProductToTagUpdate,
|
|
8425
8764
|
$ProductTranslationBase,
|
|
8765
|
+
$ProductTranslationCreate,
|
|
8766
|
+
$ProductTranslationUpdate,
|
|
8426
8767
|
$ProductUpdate,
|
|
8427
8768
|
$ProductWithAttributes,
|
|
8428
8769
|
$ProductWithDefaultPrice,
|
|
@@ -8461,36 +8802,37 @@ export {
|
|
|
8461
8802
|
CancelablePromise,
|
|
8462
8803
|
OpenAPI,
|
|
8463
8804
|
addNewIpShopsAllowedIpsIdPost,
|
|
8805
|
+
addProductAttributeOptions,
|
|
8464
8806
|
calculateShippingCalculatePost,
|
|
8465
8807
|
cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete,
|
|
8466
8808
|
checkOrdersCheckIdsGet,
|
|
8467
8809
|
createAttribute,
|
|
8810
|
+
createAttributeOption,
|
|
8468
8811
|
createCategory,
|
|
8469
8812
|
createEarlyAccessPost,
|
|
8470
8813
|
createFaqPost,
|
|
8471
8814
|
createLicensesPost,
|
|
8472
8815
|
createOptionShopsShopIdAttributesAttributeIdOptionsPost,
|
|
8473
|
-
createOptionV2ShopsShopIdAttributeOptionsPost,
|
|
8474
8816
|
createOrdersPost,
|
|
8475
8817
|
createPaymentIntentShopsShopIdStripePost,
|
|
8476
8818
|
createProduct,
|
|
8819
|
+
createProductToTag,
|
|
8477
8820
|
createShopsPost,
|
|
8478
8821
|
createShopsShopIdAccountsPost,
|
|
8479
|
-
createShopsShopIdProductsToTagsPost,
|
|
8480
8822
|
createSubscriptionIntentShopsShopIdStripeSubscriptionPost,
|
|
8481
8823
|
createTag,
|
|
8482
8824
|
deleteAttribute,
|
|
8825
|
+
deleteAttributeOption,
|
|
8483
8826
|
deleteCategory,
|
|
8484
8827
|
deleteFaqFaqIdDelete,
|
|
8485
8828
|
deleteImageShopsShopIdCategoriesImagesDeleteIdPut,
|
|
8486
8829
|
deleteLicensesIdDelete,
|
|
8487
8830
|
deleteOptionShopsShopIdAttributesAttributeIdOptionsOptionIdDelete,
|
|
8488
|
-
deleteOptionV2ShopsShopIdAttributeOptionsOptionIdDelete,
|
|
8489
8831
|
deleteOrdersOrderIdDelete,
|
|
8490
8832
|
deleteProduct,
|
|
8833
|
+
deleteProductToTag,
|
|
8491
8834
|
deleteShopsShopIdAccountsAccountIdDelete,
|
|
8492
8835
|
deleteShopsShopIdDelete,
|
|
8493
|
-
deleteShopsShopIdProductsToTagsProductToTagIdDelete,
|
|
8494
8836
|
deleteTag,
|
|
8495
8837
|
deleteTemporaryImagesImagesDeleteTempPost,
|
|
8496
8838
|
editLicensesIdPut,
|
|
@@ -8499,6 +8841,7 @@ export {
|
|
|
8499
8841
|
getAccountAdminAccountsIdGet,
|
|
8500
8842
|
getAllowedIpsShopsAllowedIpsIdGet,
|
|
8501
8843
|
getAttribute,
|
|
8844
|
+
getAttributeOption,
|
|
8502
8845
|
getAvailableAttributesShopsShopIdCategoriesCategoryIdAvailableAttributesGet,
|
|
8503
8846
|
getByIdFaqIdGet,
|
|
8504
8847
|
getByIdLicensesIdGet,
|
|
@@ -8506,8 +8849,6 @@ export {
|
|
|
8506
8849
|
getByIdShopsIdGet,
|
|
8507
8850
|
getByIdShopsShopIdAccountsIdGet,
|
|
8508
8851
|
getByIdShopsShopIdCategoriesImagesIdGet,
|
|
8509
|
-
getByIdShopsShopIdProductsToTagsIdGet,
|
|
8510
|
-
getByIdWithAttributesShopsShopIdProductsProductIdWithAttributesGet,
|
|
8511
8852
|
getByIdWithOptionsDirectShopsShopIdAttributesAttributeIdWithOptionsGet,
|
|
8512
8853
|
getByIdWithOptionsShopsShopIdAttributesIdAttributeIdWithOptionsGet,
|
|
8513
8854
|
getByImproviserUserIdLicensesImproviserImproviserUserIdGet,
|
|
@@ -8529,15 +8870,15 @@ export {
|
|
|
8529
8870
|
getMultiShopsGet,
|
|
8530
8871
|
getMultiShopsShopIdAccountsGet,
|
|
8531
8872
|
getMultiShopsShopIdCategoriesImagesGet,
|
|
8532
|
-
getMultiShopsShopIdProductsToTagsGet,
|
|
8533
8873
|
getMultiWithAttributesShopsShopIdProductsWithAttributesGet,
|
|
8534
8874
|
getOptionShopsShopIdAttributesAttributeIdOptionsOptionIdGet,
|
|
8535
|
-
getOptionV2ShopsShopIdAttributeOptionsOptionIdGet,
|
|
8536
8875
|
getOrderProductsInStockOrdersStockOrderIdGet,
|
|
8537
8876
|
getProduct,
|
|
8877
|
+
getProductAttributes,
|
|
8538
8878
|
getProductRevision,
|
|
8879
|
+
getProductToTag,
|
|
8880
|
+
getProductToTagRelationId,
|
|
8539
8881
|
getProductsShopsShopIdPricesGet,
|
|
8540
|
-
getRelationIdShopsShopIdProductsToTagsGetRelationIdGet,
|
|
8541
8882
|
getRevision,
|
|
8542
8883
|
getSignedDownloadLinkDownloadsFileNameGet,
|
|
8543
8884
|
getSignedUploadUrlShopsShopIdImagesSignedUrlImageNameGet,
|
|
@@ -8547,14 +8888,17 @@ export {
|
|
|
8547
8888
|
getWithOptionsShopsShopIdAttributesWithOptionsGet,
|
|
8548
8889
|
linkStripeAdminAccountsIdLinkStripePost,
|
|
8549
8890
|
listAccountsAdminAccountsGet,
|
|
8891
|
+
listAttributeOptions,
|
|
8550
8892
|
listAttributes,
|
|
8551
8893
|
listCategories,
|
|
8552
8894
|
listCategoryRevisionsShopsShopIdCategoriesCategoryIdRevisionsGet,
|
|
8895
|
+
listCompleteOrders,
|
|
8553
8896
|
listKeysShopsShopIdApiKeysGet,
|
|
8554
8897
|
listMyShops,
|
|
8555
|
-
listOptionsForShopShopsShopIdAttributeOptionsGet,
|
|
8556
8898
|
listOptionsShopsShopIdAttributesAttributeIdOptionsGet,
|
|
8899
|
+
listPendingOrders,
|
|
8557
8900
|
listProductRevisions,
|
|
8901
|
+
listProductToTags,
|
|
8558
8902
|
listProducts,
|
|
8559
8903
|
listShopRevisions,
|
|
8560
8904
|
listTags,
|
|
@@ -8564,12 +8908,12 @@ export {
|
|
|
8564
8908
|
newFormFormsFormKeyPost,
|
|
8565
8909
|
patchOrdersOrderIdPatch,
|
|
8566
8910
|
productAttributeValuesCreateDeprecated,
|
|
8567
|
-
productAttributeValuesCreateForProduct,
|
|
8568
8911
|
productAttributeValuesDelete,
|
|
8569
8912
|
productAttributeValuesGet,
|
|
8570
8913
|
productAttributeValuesList,
|
|
8571
8914
|
productAttributeValuesReplaceForProduct,
|
|
8572
8915
|
putShopsShopIdCategoriesImagesIdPut,
|
|
8916
|
+
quoteOrdersQuotePost,
|
|
8573
8917
|
removeIpShopsAllowedIpsIdRemovePost,
|
|
8574
8918
|
restoreAttribute,
|
|
8575
8919
|
restoreAttributeRevision,
|
|
@@ -8581,21 +8925,20 @@ export {
|
|
|
8581
8925
|
restoreTagRevision,
|
|
8582
8926
|
revokeShopsShopIdApiKeysKeyIdDelete,
|
|
8583
8927
|
sendDownloadLinkViaEmailDownloadsSendPost,
|
|
8584
|
-
|
|
8585
|
-
showAllPendingOrdersPerShopOrdersShopShopIdPendingGet,
|
|
8928
|
+
sendTestOrderConfirmationMailTestSendOrderConfirmationPost,
|
|
8586
8929
|
swapShopsShopIdCategoriesCategoryIdSwapPut,
|
|
8587
8930
|
swapShopsShopIdProductsProductIdSwapPut,
|
|
8588
8931
|
syncStripeAdminAccountsIdSyncStripePost,
|
|
8589
8932
|
triggerErrorSentryGet,
|
|
8590
8933
|
updateAttribute,
|
|
8934
|
+
updateAttributeOption,
|
|
8591
8935
|
updateCategory,
|
|
8592
8936
|
updateConfigShopsConfigIdPut,
|
|
8593
8937
|
updateFaqFaqIdPut,
|
|
8594
|
-
updateOptionV2ShopsShopIdAttributeOptionsOptionIdPut,
|
|
8595
8938
|
updateOrdersOrderIdPut,
|
|
8596
8939
|
updateProduct,
|
|
8940
|
+
updateProductToTag,
|
|
8597
8941
|
updateShopsShopIdAccountsAccountIdPut,
|
|
8598
|
-
updateShopsShopIdProductsToTagsProductToTagIdPut,
|
|
8599
8942
|
updateShopsShopIdPut,
|
|
8600
8943
|
updateTag
|
|
8601
8944
|
};
|