@shopvirge/shopvirge-client 0.2.7 → 0.2.9
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 +475 -51
- package/dist/index.js +493 -24
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ var OpenAPI = {
|
|
|
126
126
|
PASSWORD: void 0,
|
|
127
127
|
TOKEN: void 0,
|
|
128
128
|
USERNAME: void 0,
|
|
129
|
-
VERSION: "0.2.
|
|
129
|
+
VERSION: "0.2.9",
|
|
130
130
|
WITH_CREDENTIALS: false,
|
|
131
131
|
interceptors: {
|
|
132
132
|
request: new Interceptors(),
|
|
@@ -1350,6 +1350,92 @@ var $ConfigurationLegal = {
|
|
|
1350
1350
|
type: "object",
|
|
1351
1351
|
title: "ConfigurationLegal"
|
|
1352
1352
|
};
|
|
1353
|
+
var $ConfigurationShipping_Input = {
|
|
1354
|
+
properties: {
|
|
1355
|
+
enabled: {
|
|
1356
|
+
type: "boolean",
|
|
1357
|
+
title: "Enabled",
|
|
1358
|
+
default: false
|
|
1359
|
+
},
|
|
1360
|
+
method: {
|
|
1361
|
+
type: "string",
|
|
1362
|
+
title: "Method",
|
|
1363
|
+
default: "fixed"
|
|
1364
|
+
},
|
|
1365
|
+
fixed_fee: {
|
|
1366
|
+
anyOf: [
|
|
1367
|
+
{
|
|
1368
|
+
type: "number"
|
|
1369
|
+
},
|
|
1370
|
+
{
|
|
1371
|
+
type: "string"
|
|
1372
|
+
}
|
|
1373
|
+
],
|
|
1374
|
+
title: "Fixed Fee",
|
|
1375
|
+
default: "0"
|
|
1376
|
+
},
|
|
1377
|
+
vat_calculation_enabled: {
|
|
1378
|
+
type: "boolean",
|
|
1379
|
+
title: "Vat Calculation Enabled",
|
|
1380
|
+
default: true
|
|
1381
|
+
},
|
|
1382
|
+
free_shipping_above_enabled: {
|
|
1383
|
+
type: "boolean",
|
|
1384
|
+
title: "Free Shipping Above Enabled",
|
|
1385
|
+
default: false
|
|
1386
|
+
},
|
|
1387
|
+
free_shipping_above_amount: {
|
|
1388
|
+
anyOf: [
|
|
1389
|
+
{
|
|
1390
|
+
type: "number"
|
|
1391
|
+
},
|
|
1392
|
+
{
|
|
1393
|
+
type: "string"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
title: "Free Shipping Above Amount",
|
|
1397
|
+
default: "0"
|
|
1398
|
+
}
|
|
1399
|
+
},
|
|
1400
|
+
type: "object",
|
|
1401
|
+
title: "ConfigurationShipping"
|
|
1402
|
+
};
|
|
1403
|
+
var $ConfigurationShipping_Output = {
|
|
1404
|
+
properties: {
|
|
1405
|
+
enabled: {
|
|
1406
|
+
type: "boolean",
|
|
1407
|
+
title: "Enabled",
|
|
1408
|
+
default: false
|
|
1409
|
+
},
|
|
1410
|
+
method: {
|
|
1411
|
+
type: "string",
|
|
1412
|
+
title: "Method",
|
|
1413
|
+
default: "fixed"
|
|
1414
|
+
},
|
|
1415
|
+
fixed_fee: {
|
|
1416
|
+
type: "number",
|
|
1417
|
+
title: "Fixed Fee",
|
|
1418
|
+
default: "0"
|
|
1419
|
+
},
|
|
1420
|
+
vat_calculation_enabled: {
|
|
1421
|
+
type: "boolean",
|
|
1422
|
+
title: "Vat Calculation Enabled",
|
|
1423
|
+
default: true
|
|
1424
|
+
},
|
|
1425
|
+
free_shipping_above_enabled: {
|
|
1426
|
+
type: "boolean",
|
|
1427
|
+
title: "Free Shipping Above Enabled",
|
|
1428
|
+
default: false
|
|
1429
|
+
},
|
|
1430
|
+
free_shipping_above_amount: {
|
|
1431
|
+
type: "number",
|
|
1432
|
+
title: "Free Shipping Above Amount",
|
|
1433
|
+
default: "0"
|
|
1434
|
+
}
|
|
1435
|
+
},
|
|
1436
|
+
type: "object",
|
|
1437
|
+
title: "ConfigurationShipping"
|
|
1438
|
+
};
|
|
1353
1439
|
var $ConfigurationV1_Input = {
|
|
1354
1440
|
properties: {
|
|
1355
1441
|
short_shop_name: {
|
|
@@ -1420,6 +1506,16 @@ var $ConfigurationV1_Input = {
|
|
|
1420
1506
|
type: "null"
|
|
1421
1507
|
}
|
|
1422
1508
|
]
|
|
1509
|
+
},
|
|
1510
|
+
shipping: {
|
|
1511
|
+
anyOf: [
|
|
1512
|
+
{
|
|
1513
|
+
$ref: "#/components/schemas/ConfigurationShipping-Input"
|
|
1514
|
+
},
|
|
1515
|
+
{
|
|
1516
|
+
type: "null"
|
|
1517
|
+
}
|
|
1518
|
+
]
|
|
1423
1519
|
}
|
|
1424
1520
|
},
|
|
1425
1521
|
type: "object",
|
|
@@ -1503,6 +1599,16 @@ var $ConfigurationV1_Output = {
|
|
|
1503
1599
|
type: "null"
|
|
1504
1600
|
}
|
|
1505
1601
|
]
|
|
1602
|
+
},
|
|
1603
|
+
shipping: {
|
|
1604
|
+
anyOf: [
|
|
1605
|
+
{
|
|
1606
|
+
$ref: "#/components/schemas/ConfigurationShipping-Output"
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
type: "null"
|
|
1610
|
+
}
|
|
1611
|
+
]
|
|
1506
1612
|
}
|
|
1507
1613
|
},
|
|
1508
1614
|
type: "object",
|
|
@@ -2012,6 +2118,9 @@ var $OrderBase = {
|
|
|
2012
2118
|
{
|
|
2013
2119
|
type: "number"
|
|
2014
2120
|
},
|
|
2121
|
+
{
|
|
2122
|
+
type: "string"
|
|
2123
|
+
},
|
|
2015
2124
|
{
|
|
2016
2125
|
type: "null"
|
|
2017
2126
|
}
|
|
@@ -2050,6 +2159,20 @@ var $OrderBase = {
|
|
|
2050
2159
|
}
|
|
2051
2160
|
],
|
|
2052
2161
|
title: "Status"
|
|
2162
|
+
},
|
|
2163
|
+
shipping_fee_inc_btw: {
|
|
2164
|
+
anyOf: [
|
|
2165
|
+
{
|
|
2166
|
+
type: "number"
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
type: "string"
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
type: "null"
|
|
2173
|
+
}
|
|
2174
|
+
],
|
|
2175
|
+
title: "Shipping Fee Inc Btw"
|
|
2053
2176
|
}
|
|
2054
2177
|
},
|
|
2055
2178
|
type: "object",
|
|
@@ -2075,6 +2198,9 @@ var $OrderCreate = {
|
|
|
2075
2198
|
{
|
|
2076
2199
|
type: "number"
|
|
2077
2200
|
},
|
|
2201
|
+
{
|
|
2202
|
+
type: "string"
|
|
2203
|
+
},
|
|
2078
2204
|
{
|
|
2079
2205
|
type: "null"
|
|
2080
2206
|
}
|
|
@@ -2114,6 +2240,20 @@ var $OrderCreate = {
|
|
|
2114
2240
|
],
|
|
2115
2241
|
title: "Status"
|
|
2116
2242
|
},
|
|
2243
|
+
shipping_fee_inc_btw: {
|
|
2244
|
+
anyOf: [
|
|
2245
|
+
{
|
|
2246
|
+
type: "number"
|
|
2247
|
+
},
|
|
2248
|
+
{
|
|
2249
|
+
type: "string"
|
|
2250
|
+
},
|
|
2251
|
+
{
|
|
2252
|
+
type: "null"
|
|
2253
|
+
}
|
|
2254
|
+
],
|
|
2255
|
+
title: "Shipping Fee Inc Btw"
|
|
2256
|
+
},
|
|
2117
2257
|
shop_id: {
|
|
2118
2258
|
type: "string",
|
|
2119
2259
|
format: "uuid",
|
|
@@ -2121,7 +2261,7 @@ var $OrderCreate = {
|
|
|
2121
2261
|
},
|
|
2122
2262
|
order_info: {
|
|
2123
2263
|
items: {
|
|
2124
|
-
$ref: "#/components/schemas/OrderItem"
|
|
2264
|
+
$ref: "#/components/schemas/OrderItem-Input"
|
|
2125
2265
|
},
|
|
2126
2266
|
type: "array",
|
|
2127
2267
|
title: "Order Info"
|
|
@@ -2219,6 +2359,17 @@ var $OrderCreated = {
|
|
|
2219
2359
|
],
|
|
2220
2360
|
title: "Status"
|
|
2221
2361
|
},
|
|
2362
|
+
shipping_fee_inc_btw: {
|
|
2363
|
+
anyOf: [
|
|
2364
|
+
{
|
|
2365
|
+
type: "number"
|
|
2366
|
+
},
|
|
2367
|
+
{
|
|
2368
|
+
type: "null"
|
|
2369
|
+
}
|
|
2370
|
+
],
|
|
2371
|
+
title: "Shipping Fee Inc Btw"
|
|
2372
|
+
},
|
|
2222
2373
|
id: {
|
|
2223
2374
|
type: "string",
|
|
2224
2375
|
format: "uuid",
|
|
@@ -2265,7 +2416,55 @@ var $OrderCreated = {
|
|
|
2265
2416
|
],
|
|
2266
2417
|
title: "OrderCreated"
|
|
2267
2418
|
};
|
|
2268
|
-
var $
|
|
2419
|
+
var $OrderItem_Input = {
|
|
2420
|
+
properties: {
|
|
2421
|
+
description: {
|
|
2422
|
+
anyOf: [
|
|
2423
|
+
{
|
|
2424
|
+
type: "string"
|
|
2425
|
+
},
|
|
2426
|
+
{
|
|
2427
|
+
type: "null"
|
|
2428
|
+
}
|
|
2429
|
+
],
|
|
2430
|
+
title: "Description"
|
|
2431
|
+
},
|
|
2432
|
+
price: {
|
|
2433
|
+
anyOf: [
|
|
2434
|
+
{
|
|
2435
|
+
type: "number"
|
|
2436
|
+
},
|
|
2437
|
+
{
|
|
2438
|
+
type: "string"
|
|
2439
|
+
}
|
|
2440
|
+
],
|
|
2441
|
+
title: "Price"
|
|
2442
|
+
},
|
|
2443
|
+
product_id: {
|
|
2444
|
+
type: "string",
|
|
2445
|
+
format: "uuid",
|
|
2446
|
+
title: "Product Id"
|
|
2447
|
+
},
|
|
2448
|
+
product_name: {
|
|
2449
|
+
type: "string",
|
|
2450
|
+
title: "Product Name"
|
|
2451
|
+
},
|
|
2452
|
+
quantity: {
|
|
2453
|
+
type: "integer",
|
|
2454
|
+
title: "Quantity"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
type: "object",
|
|
2458
|
+
required: [
|
|
2459
|
+
"description",
|
|
2460
|
+
"price",
|
|
2461
|
+
"product_id",
|
|
2462
|
+
"product_name",
|
|
2463
|
+
"quantity"
|
|
2464
|
+
],
|
|
2465
|
+
title: "OrderItem"
|
|
2466
|
+
};
|
|
2467
|
+
var $OrderItem_Output = {
|
|
2269
2468
|
properties: {
|
|
2270
2469
|
description: {
|
|
2271
2470
|
anyOf: [
|
|
@@ -2364,6 +2563,17 @@ var $OrderSchema = {
|
|
|
2364
2563
|
],
|
|
2365
2564
|
title: "Status"
|
|
2366
2565
|
},
|
|
2566
|
+
shipping_fee_inc_btw: {
|
|
2567
|
+
anyOf: [
|
|
2568
|
+
{
|
|
2569
|
+
type: "number"
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
type: "null"
|
|
2573
|
+
}
|
|
2574
|
+
],
|
|
2575
|
+
title: "Shipping Fee Inc Btw"
|
|
2576
|
+
},
|
|
2367
2577
|
id: {
|
|
2368
2578
|
type: "string",
|
|
2369
2579
|
format: "uuid",
|
|
@@ -2376,7 +2586,7 @@ var $OrderSchema = {
|
|
|
2376
2586
|
},
|
|
2377
2587
|
order_info: {
|
|
2378
2588
|
items: {
|
|
2379
|
-
$ref: "#/components/schemas/OrderItem"
|
|
2589
|
+
$ref: "#/components/schemas/OrderItem-Output"
|
|
2380
2590
|
},
|
|
2381
2591
|
type: "array",
|
|
2382
2592
|
title: "Order Info"
|
|
@@ -2479,6 +2689,9 @@ var $OrderUpdate = {
|
|
|
2479
2689
|
{
|
|
2480
2690
|
type: "number"
|
|
2481
2691
|
},
|
|
2692
|
+
{
|
|
2693
|
+
type: "string"
|
|
2694
|
+
},
|
|
2482
2695
|
{
|
|
2483
2696
|
type: "null"
|
|
2484
2697
|
}
|
|
@@ -2518,6 +2731,20 @@ var $OrderUpdate = {
|
|
|
2518
2731
|
],
|
|
2519
2732
|
title: "Status"
|
|
2520
2733
|
},
|
|
2734
|
+
shipping_fee_inc_btw: {
|
|
2735
|
+
anyOf: [
|
|
2736
|
+
{
|
|
2737
|
+
type: "number"
|
|
2738
|
+
},
|
|
2739
|
+
{
|
|
2740
|
+
type: "string"
|
|
2741
|
+
},
|
|
2742
|
+
{
|
|
2743
|
+
type: "null"
|
|
2744
|
+
}
|
|
2745
|
+
],
|
|
2746
|
+
title: "Shipping Fee Inc Btw"
|
|
2747
|
+
},
|
|
2521
2748
|
shop_id: {
|
|
2522
2749
|
type: "string",
|
|
2523
2750
|
format: "uuid",
|
|
@@ -2525,7 +2752,7 @@ var $OrderUpdate = {
|
|
|
2525
2752
|
},
|
|
2526
2753
|
order_info: {
|
|
2527
2754
|
items: {
|
|
2528
|
-
$ref: "#/components/schemas/OrderItem"
|
|
2755
|
+
$ref: "#/components/schemas/OrderItem-Input"
|
|
2529
2756
|
},
|
|
2530
2757
|
type: "array",
|
|
2531
2758
|
title: "Order Info"
|
|
@@ -2600,6 +2827,17 @@ var $OrderUpdated = {
|
|
|
2600
2827
|
],
|
|
2601
2828
|
title: "Status"
|
|
2602
2829
|
},
|
|
2830
|
+
shipping_fee_inc_btw: {
|
|
2831
|
+
anyOf: [
|
|
2832
|
+
{
|
|
2833
|
+
type: "number"
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
type: "null"
|
|
2837
|
+
}
|
|
2838
|
+
],
|
|
2839
|
+
title: "Shipping Fee Inc Btw"
|
|
2840
|
+
},
|
|
2603
2841
|
shop_id: {
|
|
2604
2842
|
type: "string",
|
|
2605
2843
|
format: "uuid",
|
|
@@ -2607,7 +2845,7 @@ var $OrderUpdated = {
|
|
|
2607
2845
|
},
|
|
2608
2846
|
order_info: {
|
|
2609
2847
|
items: {
|
|
2610
|
-
$ref: "#/components/schemas/OrderItem"
|
|
2848
|
+
$ref: "#/components/schemas/OrderItem-Output"
|
|
2611
2849
|
},
|
|
2612
2850
|
type: "array",
|
|
2613
2851
|
title: "Order Info"
|
|
@@ -2796,6 +3034,9 @@ var $ProductCreate = {
|
|
|
2796
3034
|
{
|
|
2797
3035
|
type: "number"
|
|
2798
3036
|
},
|
|
3037
|
+
{
|
|
3038
|
+
type: "string"
|
|
3039
|
+
},
|
|
2799
3040
|
{
|
|
2800
3041
|
type: "null"
|
|
2801
3042
|
}
|
|
@@ -2807,6 +3048,9 @@ var $ProductCreate = {
|
|
|
2807
3048
|
{
|
|
2808
3049
|
type: "number"
|
|
2809
3050
|
},
|
|
3051
|
+
{
|
|
3052
|
+
type: "string"
|
|
3053
|
+
},
|
|
2810
3054
|
{
|
|
2811
3055
|
type: "null"
|
|
2812
3056
|
}
|
|
@@ -2818,6 +3062,9 @@ var $ProductCreate = {
|
|
|
2818
3062
|
{
|
|
2819
3063
|
type: "number"
|
|
2820
3064
|
},
|
|
3065
|
+
{
|
|
3066
|
+
type: "string"
|
|
3067
|
+
},
|
|
2821
3068
|
{
|
|
2822
3069
|
type: "null"
|
|
2823
3070
|
}
|
|
@@ -2860,6 +3107,9 @@ var $ProductCreate = {
|
|
|
2860
3107
|
{
|
|
2861
3108
|
type: "number"
|
|
2862
3109
|
},
|
|
3110
|
+
{
|
|
3111
|
+
type: "string"
|
|
3112
|
+
},
|
|
2863
3113
|
{
|
|
2864
3114
|
type: "null"
|
|
2865
3115
|
}
|
|
@@ -3449,6 +3699,9 @@ var $ProductUpdate = {
|
|
|
3449
3699
|
{
|
|
3450
3700
|
type: "number"
|
|
3451
3701
|
},
|
|
3702
|
+
{
|
|
3703
|
+
type: "string"
|
|
3704
|
+
},
|
|
3452
3705
|
{
|
|
3453
3706
|
type: "null"
|
|
3454
3707
|
}
|
|
@@ -3460,6 +3713,9 @@ var $ProductUpdate = {
|
|
|
3460
3713
|
{
|
|
3461
3714
|
type: "number"
|
|
3462
3715
|
},
|
|
3716
|
+
{
|
|
3717
|
+
type: "string"
|
|
3718
|
+
},
|
|
3463
3719
|
{
|
|
3464
3720
|
type: "null"
|
|
3465
3721
|
}
|
|
@@ -3471,6 +3727,9 @@ var $ProductUpdate = {
|
|
|
3471
3727
|
{
|
|
3472
3728
|
type: "number"
|
|
3473
3729
|
},
|
|
3730
|
+
{
|
|
3731
|
+
type: "string"
|
|
3732
|
+
},
|
|
3474
3733
|
{
|
|
3475
3734
|
type: "null"
|
|
3476
3735
|
}
|
|
@@ -3513,6 +3772,9 @@ var $ProductUpdate = {
|
|
|
3513
3772
|
{
|
|
3514
3773
|
type: "number"
|
|
3515
3774
|
},
|
|
3775
|
+
{
|
|
3776
|
+
type: "string"
|
|
3777
|
+
},
|
|
3516
3778
|
{
|
|
3517
3779
|
type: "null"
|
|
3518
3780
|
}
|
|
@@ -4275,6 +4537,111 @@ var $ProductWithDetailsAndPrices = {
|
|
|
4275
4537
|
],
|
|
4276
4538
|
title: "ProductWithDetailsAndPrices"
|
|
4277
4539
|
};
|
|
4540
|
+
var $ShippingCalculateRequest = {
|
|
4541
|
+
properties: {
|
|
4542
|
+
shop_id: {
|
|
4543
|
+
type: "string",
|
|
4544
|
+
format: "uuid",
|
|
4545
|
+
title: "Shop Id"
|
|
4546
|
+
},
|
|
4547
|
+
order_info: {
|
|
4548
|
+
items: {
|
|
4549
|
+
$ref: "#/components/schemas/OrderItem-Input"
|
|
4550
|
+
},
|
|
4551
|
+
type: "array",
|
|
4552
|
+
title: "Order Info"
|
|
4553
|
+
}
|
|
4554
|
+
},
|
|
4555
|
+
type: "object",
|
|
4556
|
+
required: ["shop_id", "order_info"],
|
|
4557
|
+
title: "ShippingCalculateRequest"
|
|
4558
|
+
};
|
|
4559
|
+
var $ShippingCalculation = {
|
|
4560
|
+
properties: {
|
|
4561
|
+
enabled: {
|
|
4562
|
+
type: "boolean",
|
|
4563
|
+
title: "Enabled"
|
|
4564
|
+
},
|
|
4565
|
+
method: {
|
|
4566
|
+
anyOf: [
|
|
4567
|
+
{
|
|
4568
|
+
type: "string"
|
|
4569
|
+
},
|
|
4570
|
+
{
|
|
4571
|
+
type: "null"
|
|
4572
|
+
}
|
|
4573
|
+
],
|
|
4574
|
+
title: "Method"
|
|
4575
|
+
},
|
|
4576
|
+
fee_inc_btw: {
|
|
4577
|
+
type: "number",
|
|
4578
|
+
title: "Fee Inc Btw"
|
|
4579
|
+
},
|
|
4580
|
+
fee_ex_btw: {
|
|
4581
|
+
type: "number",
|
|
4582
|
+
title: "Fee Ex Btw"
|
|
4583
|
+
},
|
|
4584
|
+
fee_btw: {
|
|
4585
|
+
type: "number",
|
|
4586
|
+
title: "Fee Btw"
|
|
4587
|
+
},
|
|
4588
|
+
free_shipping_applied: {
|
|
4589
|
+
type: "boolean",
|
|
4590
|
+
title: "Free Shipping Applied"
|
|
4591
|
+
},
|
|
4592
|
+
free_shipping_threshold: {
|
|
4593
|
+
anyOf: [
|
|
4594
|
+
{
|
|
4595
|
+
type: "number"
|
|
4596
|
+
},
|
|
4597
|
+
{
|
|
4598
|
+
type: "null"
|
|
4599
|
+
}
|
|
4600
|
+
],
|
|
4601
|
+
title: "Free Shipping Threshold"
|
|
4602
|
+
},
|
|
4603
|
+
lines: {
|
|
4604
|
+
items: {
|
|
4605
|
+
$ref: "#/components/schemas/ShippingLine"
|
|
4606
|
+
},
|
|
4607
|
+
type: "array",
|
|
4608
|
+
title: "Lines"
|
|
4609
|
+
}
|
|
4610
|
+
},
|
|
4611
|
+
type: "object",
|
|
4612
|
+
required: [
|
|
4613
|
+
"enabled",
|
|
4614
|
+
"fee_inc_btw",
|
|
4615
|
+
"fee_ex_btw",
|
|
4616
|
+
"fee_btw",
|
|
4617
|
+
"free_shipping_applied",
|
|
4618
|
+
"lines"
|
|
4619
|
+
],
|
|
4620
|
+
title: "ShippingCalculation"
|
|
4621
|
+
};
|
|
4622
|
+
var $ShippingLine = {
|
|
4623
|
+
properties: {
|
|
4624
|
+
btw_rate: {
|
|
4625
|
+
type: "number",
|
|
4626
|
+
title: "Btw Rate"
|
|
4627
|
+
},
|
|
4628
|
+
amount_ex_btw: {
|
|
4629
|
+
type: "number",
|
|
4630
|
+
title: "Amount Ex Btw"
|
|
4631
|
+
},
|
|
4632
|
+
amount_inc_btw: {
|
|
4633
|
+
type: "number",
|
|
4634
|
+
title: "Amount Inc Btw"
|
|
4635
|
+
},
|
|
4636
|
+
amount_btw: {
|
|
4637
|
+
type: "number",
|
|
4638
|
+
title: "Amount Btw"
|
|
4639
|
+
}
|
|
4640
|
+
},
|
|
4641
|
+
type: "object",
|
|
4642
|
+
required: ["btw_rate", "amount_ex_btw", "amount_inc_btw", "amount_btw"],
|
|
4643
|
+
title: "ShippingLine"
|
|
4644
|
+
};
|
|
4278
4645
|
var $ShopCacheStatus = {
|
|
4279
4646
|
properties: {
|
|
4280
4647
|
modified_at: {
|
|
@@ -4383,27 +4750,69 @@ var $ShopCreate = {
|
|
|
4383
4750
|
title: "External Url"
|
|
4384
4751
|
},
|
|
4385
4752
|
vat_standard: {
|
|
4386
|
-
|
|
4753
|
+
anyOf: [
|
|
4754
|
+
{
|
|
4755
|
+
type: "number"
|
|
4756
|
+
},
|
|
4757
|
+
{
|
|
4758
|
+
type: "string"
|
|
4759
|
+
}
|
|
4760
|
+
],
|
|
4387
4761
|
title: "Vat Standard"
|
|
4388
4762
|
},
|
|
4389
4763
|
vat_lower_1: {
|
|
4390
|
-
|
|
4764
|
+
anyOf: [
|
|
4765
|
+
{
|
|
4766
|
+
type: "number"
|
|
4767
|
+
},
|
|
4768
|
+
{
|
|
4769
|
+
type: "string"
|
|
4770
|
+
}
|
|
4771
|
+
],
|
|
4391
4772
|
title: "Vat Lower 1"
|
|
4392
4773
|
},
|
|
4393
4774
|
vat_lower_2: {
|
|
4394
|
-
|
|
4775
|
+
anyOf: [
|
|
4776
|
+
{
|
|
4777
|
+
type: "number"
|
|
4778
|
+
},
|
|
4779
|
+
{
|
|
4780
|
+
type: "string"
|
|
4781
|
+
}
|
|
4782
|
+
],
|
|
4395
4783
|
title: "Vat Lower 2"
|
|
4396
4784
|
},
|
|
4397
4785
|
vat_lower_3: {
|
|
4398
|
-
|
|
4786
|
+
anyOf: [
|
|
4787
|
+
{
|
|
4788
|
+
type: "number"
|
|
4789
|
+
},
|
|
4790
|
+
{
|
|
4791
|
+
type: "string"
|
|
4792
|
+
}
|
|
4793
|
+
],
|
|
4399
4794
|
title: "Vat Lower 3"
|
|
4400
4795
|
},
|
|
4401
4796
|
vat_special: {
|
|
4402
|
-
|
|
4797
|
+
anyOf: [
|
|
4798
|
+
{
|
|
4799
|
+
type: "number"
|
|
4800
|
+
},
|
|
4801
|
+
{
|
|
4802
|
+
type: "string"
|
|
4803
|
+
}
|
|
4804
|
+
],
|
|
4403
4805
|
title: "Vat Special"
|
|
4404
4806
|
},
|
|
4405
4807
|
vat_zero: {
|
|
4406
|
-
|
|
4808
|
+
anyOf: [
|
|
4809
|
+
{
|
|
4810
|
+
type: "number"
|
|
4811
|
+
},
|
|
4812
|
+
{
|
|
4813
|
+
type: "string"
|
|
4814
|
+
}
|
|
4815
|
+
],
|
|
4407
4816
|
title: "Vat Zero"
|
|
4408
4817
|
}
|
|
4409
4818
|
},
|
|
@@ -4625,27 +5034,69 @@ var $ShopUpdate = {
|
|
|
4625
5034
|
title: "External Url"
|
|
4626
5035
|
},
|
|
4627
5036
|
vat_standard: {
|
|
4628
|
-
|
|
5037
|
+
anyOf: [
|
|
5038
|
+
{
|
|
5039
|
+
type: "number"
|
|
5040
|
+
},
|
|
5041
|
+
{
|
|
5042
|
+
type: "string"
|
|
5043
|
+
}
|
|
5044
|
+
],
|
|
4629
5045
|
title: "Vat Standard"
|
|
4630
5046
|
},
|
|
4631
5047
|
vat_lower_1: {
|
|
4632
|
-
|
|
5048
|
+
anyOf: [
|
|
5049
|
+
{
|
|
5050
|
+
type: "number"
|
|
5051
|
+
},
|
|
5052
|
+
{
|
|
5053
|
+
type: "string"
|
|
5054
|
+
}
|
|
5055
|
+
],
|
|
4633
5056
|
title: "Vat Lower 1"
|
|
4634
5057
|
},
|
|
4635
5058
|
vat_lower_2: {
|
|
4636
|
-
|
|
5059
|
+
anyOf: [
|
|
5060
|
+
{
|
|
5061
|
+
type: "number"
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
type: "string"
|
|
5065
|
+
}
|
|
5066
|
+
],
|
|
4637
5067
|
title: "Vat Lower 2"
|
|
4638
5068
|
},
|
|
4639
5069
|
vat_lower_3: {
|
|
4640
|
-
|
|
5070
|
+
anyOf: [
|
|
5071
|
+
{
|
|
5072
|
+
type: "number"
|
|
5073
|
+
},
|
|
5074
|
+
{
|
|
5075
|
+
type: "string"
|
|
5076
|
+
}
|
|
5077
|
+
],
|
|
4641
5078
|
title: "Vat Lower 3"
|
|
4642
5079
|
},
|
|
4643
5080
|
vat_special: {
|
|
4644
|
-
|
|
5081
|
+
anyOf: [
|
|
5082
|
+
{
|
|
5083
|
+
type: "number"
|
|
5084
|
+
},
|
|
5085
|
+
{
|
|
5086
|
+
type: "string"
|
|
5087
|
+
}
|
|
5088
|
+
],
|
|
4645
5089
|
title: "Vat Special"
|
|
4646
5090
|
},
|
|
4647
5091
|
vat_zero: {
|
|
4648
|
-
|
|
5092
|
+
anyOf: [
|
|
5093
|
+
{
|
|
5094
|
+
type: "number"
|
|
5095
|
+
},
|
|
5096
|
+
{
|
|
5097
|
+
type: "string"
|
|
5098
|
+
}
|
|
5099
|
+
],
|
|
4649
5100
|
title: "Vat Zero"
|
|
4650
5101
|
},
|
|
4651
5102
|
modified_at: {
|
|
@@ -5681,7 +6132,7 @@ var listAccountsAdminAccountsGet = (data = {}) => {
|
|
|
5681
6132
|
sort: data.sort
|
|
5682
6133
|
},
|
|
5683
6134
|
errors: {
|
|
5684
|
-
403: "Not a
|
|
6135
|
+
403: "Not a member of the Admins group",
|
|
5685
6136
|
422: "Validation Error"
|
|
5686
6137
|
}
|
|
5687
6138
|
});
|
|
@@ -5694,7 +6145,7 @@ var getAccountAdminAccountsIdGet = (data) => {
|
|
|
5694
6145
|
id: data.id
|
|
5695
6146
|
},
|
|
5696
6147
|
errors: {
|
|
5697
|
-
403: "Not a
|
|
6148
|
+
403: "Not a member of the Admins group",
|
|
5698
6149
|
404: "Account not found",
|
|
5699
6150
|
422: "Validation Error"
|
|
5700
6151
|
}
|
|
@@ -5709,7 +6160,7 @@ var getStripeCustomerAdminAccountsIdStripeCustomerGet = (data) => {
|
|
|
5709
6160
|
},
|
|
5710
6161
|
errors: {
|
|
5711
6162
|
400: "Account or shop not configured for Stripe",
|
|
5712
|
-
403: "Not a
|
|
6163
|
+
403: "Not a member of the Admins group",
|
|
5713
6164
|
404: "Account not found",
|
|
5714
6165
|
422: "Validation Error",
|
|
5715
6166
|
502: "Stripe API error"
|
|
@@ -5725,7 +6176,7 @@ var syncStripeAdminAccountsIdSyncStripePost = (data) => {
|
|
|
5725
6176
|
},
|
|
5726
6177
|
errors: {
|
|
5727
6178
|
400: "Account or shop not configured for Stripe",
|
|
5728
|
-
403: "Not a
|
|
6179
|
+
403: "Not a member of the Admins group",
|
|
5729
6180
|
404: "Account not found",
|
|
5730
6181
|
422: "Validation Error",
|
|
5731
6182
|
502: "Stripe API error"
|
|
@@ -5742,7 +6193,7 @@ var linkStripeAdminAccountsIdLinkStripePost = (data) => {
|
|
|
5742
6193
|
body: data.requestBody,
|
|
5743
6194
|
mediaType: "application/json",
|
|
5744
6195
|
errors: {
|
|
5745
|
-
403: "Not a
|
|
6196
|
+
403: "Not a member of the Admins group",
|
|
5746
6197
|
404: "Account not found",
|
|
5747
6198
|
422: "Validation Error"
|
|
5748
6199
|
}
|
|
@@ -6110,6 +6561,17 @@ var getOrderProductsInStockOrdersStockOrderIdGet = (data) => {
|
|
|
6110
6561
|
}
|
|
6111
6562
|
});
|
|
6112
6563
|
};
|
|
6564
|
+
var calculateShippingCalculatePost = (data) => {
|
|
6565
|
+
return request(OpenAPI, {
|
|
6566
|
+
method: "POST",
|
|
6567
|
+
url: "/shipping/calculate",
|
|
6568
|
+
body: data.requestBody,
|
|
6569
|
+
mediaType: "application/json",
|
|
6570
|
+
errors: {
|
|
6571
|
+
422: "Validation Error"
|
|
6572
|
+
}
|
|
6573
|
+
});
|
|
6574
|
+
};
|
|
6113
6575
|
var getMultiShopsShopIdCategoriesGet = (data) => {
|
|
6114
6576
|
return request(OpenAPI, {
|
|
6115
6577
|
method: "GET",
|
|
@@ -7211,6 +7673,8 @@ export {
|
|
|
7211
7673
|
$ConfigurationLanguages_Input,
|
|
7212
7674
|
$ConfigurationLanguages_Output,
|
|
7213
7675
|
$ConfigurationLegal,
|
|
7676
|
+
$ConfigurationShipping_Input,
|
|
7677
|
+
$ConfigurationShipping_Output,
|
|
7214
7678
|
$ConfigurationV1_Input,
|
|
7215
7679
|
$ConfigurationV1_Output,
|
|
7216
7680
|
$DefaultPrice,
|
|
@@ -7230,7 +7694,8 @@ export {
|
|
|
7230
7694
|
$OrderBase,
|
|
7231
7695
|
$OrderCreate,
|
|
7232
7696
|
$OrderCreated,
|
|
7233
|
-
$
|
|
7697
|
+
$OrderItem_Input,
|
|
7698
|
+
$OrderItem_Output,
|
|
7234
7699
|
$OrderSchema,
|
|
7235
7700
|
$OrderUpdate,
|
|
7236
7701
|
$OrderUpdated,
|
|
@@ -7249,6 +7714,9 @@ export {
|
|
|
7249
7714
|
$ProductWithAttributes,
|
|
7250
7715
|
$ProductWithDefaultPrice,
|
|
7251
7716
|
$ProductWithDetailsAndPrices,
|
|
7717
|
+
$ShippingCalculateRequest,
|
|
7718
|
+
$ShippingCalculation,
|
|
7719
|
+
$ShippingLine,
|
|
7252
7720
|
$ShopCacheStatus,
|
|
7253
7721
|
$ShopConfig,
|
|
7254
7722
|
$ShopConfigUpdate_Input,
|
|
@@ -7277,6 +7745,7 @@ export {
|
|
|
7277
7745
|
CancelablePromise,
|
|
7278
7746
|
OpenAPI,
|
|
7279
7747
|
addNewIpShopsAllowedIpsIdPost,
|
|
7748
|
+
calculateShippingCalculatePost,
|
|
7280
7749
|
cancelSubscriptionShopsShopIdStripeSubscriptionSubscriptionIdDelete,
|
|
7281
7750
|
checkOrdersCheckIdsGet,
|
|
7282
7751
|
createEarlyAccessPost,
|