@dropins/storefront-order 1.0.1-beta2 → 1.0.1-beta3

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.
@@ -13,6 +13,110 @@
13
13
  * is strictly forbidden unless prior written permission is obtained
14
14
  * from Adobe.
15
15
  *******************************************************************/
16
+ export declare const taxCalculations: {
17
+ includeAndExcludeTax: {
18
+ originalPrice: {
19
+ value: number;
20
+ currency: string;
21
+ };
22
+ baseOriginalPrice: {
23
+ value: number;
24
+ currency: string;
25
+ };
26
+ baseDiscountedPrice: {
27
+ value: number;
28
+ currency: string;
29
+ };
30
+ baseExcludingTax: {
31
+ value: number;
32
+ currency: string;
33
+ };
34
+ };
35
+ excludeTax: {
36
+ originalPrice: {
37
+ value: number;
38
+ currency: string;
39
+ };
40
+ baseOriginalPrice: {
41
+ value: number;
42
+ currency: string;
43
+ };
44
+ baseDiscountedPrice: {
45
+ value: number;
46
+ currency: string;
47
+ };
48
+ baseExcludingTax: {
49
+ value: number;
50
+ currency: string;
51
+ };
52
+ };
53
+ includeTax: {
54
+ singleItemPrice: {
55
+ value: number;
56
+ currency: string;
57
+ };
58
+ baseOriginalPrice: {
59
+ value: number;
60
+ currency: string;
61
+ };
62
+ baseDiscountedPrice: {
63
+ value: number;
64
+ currency: string;
65
+ };
66
+ };
67
+ };
68
+ export declare const taxCalculationsEmpty: {
69
+ includeAndExcludeTax: {
70
+ originalPrice: {
71
+ value: number;
72
+ currency: string;
73
+ };
74
+ baseOriginalPrice: {
75
+ value: number;
76
+ currency: string;
77
+ };
78
+ baseDiscountedPrice: {
79
+ value: number;
80
+ currency: string;
81
+ };
82
+ baseExcludingTax: {
83
+ value: number;
84
+ currency: string;
85
+ };
86
+ };
87
+ excludeTax: {
88
+ originalPrice: {
89
+ value: number;
90
+ currency: string;
91
+ };
92
+ baseOriginalPrice: {
93
+ value: number;
94
+ currency: string;
95
+ };
96
+ baseDiscountedPrice: {
97
+ value: number;
98
+ currency: string;
99
+ };
100
+ baseExcludingTax: {
101
+ value: number;
102
+ currency: string;
103
+ };
104
+ };
105
+ includeTax: {
106
+ singleItemPrice: {
107
+ value: number;
108
+ currency: string;
109
+ };
110
+ baseOriginalPrice: {
111
+ value: number;
112
+ currency: string;
113
+ };
114
+ baseDiscountedPrice: {
115
+ value: number;
116
+ currency: string;
117
+ };
118
+ };
119
+ };
16
120
  export declare const mockOrder: {
17
121
  data: {
18
122
  guestOrder: {
@@ -428,7 +532,107 @@ export declare const transformMockOrderOutput: {
428
532
  carrier: string;
429
533
  shippingMethod: null;
430
534
  coupons: never[];
431
- shipments: {
535
+ shipments: ({
536
+ id: string;
537
+ tracking: {
538
+ title: string;
539
+ number: string;
540
+ }[];
541
+ comments: never[];
542
+ items: {
543
+ taxCalculations: {
544
+ includeAndExcludeTax: {
545
+ originalPrice: {
546
+ value: number;
547
+ currency: string;
548
+ };
549
+ baseOriginalPrice: {
550
+ value: number;
551
+ currency: string;
552
+ };
553
+ baseDiscountedPrice: {
554
+ value: number;
555
+ currency: string;
556
+ };
557
+ baseExcludingTax: {
558
+ value: number;
559
+ currency: string;
560
+ };
561
+ };
562
+ excludeTax: {
563
+ originalPrice: {
564
+ value: number;
565
+ currency: string;
566
+ };
567
+ baseOriginalPrice: {
568
+ value: number;
569
+ currency: string;
570
+ };
571
+ baseDiscountedPrice: {
572
+ value: number;
573
+ currency: string;
574
+ };
575
+ baseExcludingTax: {
576
+ value: number;
577
+ currency: string;
578
+ };
579
+ };
580
+ includeTax: {
581
+ singleItemPrice: {
582
+ value: number;
583
+ currency: string;
584
+ };
585
+ baseOriginalPrice: {
586
+ value: number;
587
+ currency: string;
588
+ };
589
+ baseDiscountedPrice: {
590
+ value: number;
591
+ currency: string;
592
+ };
593
+ };
594
+ };
595
+ id: string;
596
+ productSku: string;
597
+ productName: string;
598
+ orderItem: {
599
+ __typename: string;
600
+ status: string;
601
+ productName: string;
602
+ id: string;
603
+ quantityOrdered: number;
604
+ quantityShipped: number;
605
+ quantityCanceled: number;
606
+ quantityInvoiced: number;
607
+ quantityRefunded: number;
608
+ quantityReturned: number;
609
+ productSalePrice: {
610
+ value: number;
611
+ currency: string;
612
+ };
613
+ selectedOptions: never[];
614
+ product: {
615
+ __typename: string;
616
+ canonicalUrl: null;
617
+ uid: string;
618
+ name: string;
619
+ sku: string;
620
+ thumbnail: {
621
+ label: string;
622
+ url: string;
623
+ };
624
+ priceRange: {
625
+ maximumPrice: {
626
+ regularPrice: {
627
+ currency: string;
628
+ value: number;
629
+ };
630
+ };
631
+ };
632
+ };
633
+ };
634
+ }[];
635
+ } | {
432
636
  id: string;
433
637
  tracking: {
434
638
  title: string;
@@ -479,7 +683,7 @@ export declare const transformMockOrderOutput: {
479
683
  };
480
684
  };
481
685
  }[];
482
- }[];
686
+ })[];
483
687
  shippingAddress: {
484
688
  city: string;
485
689
  company: null;
@@ -1823,13 +2027,65 @@ export declare const createReturnOrderMock: {
1823
2027
  carrier: string;
1824
2028
  shippingMethod: string;
1825
2029
  isVirtual: boolean;
1826
- returns: {
2030
+ returns: ({
1827
2031
  createdReturnAt: string;
1828
2032
  returnStatus: string;
1829
2033
  token: string;
1830
2034
  orderNumber: string;
1831
2035
  returnNumber: string;
1832
2036
  items: ({
2037
+ taxCalculations: {
2038
+ includeAndExcludeTax: {
2039
+ originalPrice: {
2040
+ value: number;
2041
+ currency: string;
2042
+ };
2043
+ baseOriginalPrice: {
2044
+ value: number;
2045
+ currency: string;
2046
+ };
2047
+ baseDiscountedPrice: {
2048
+ value: number;
2049
+ currency: string;
2050
+ };
2051
+ baseExcludingTax: {
2052
+ value: number;
2053
+ currency: string;
2054
+ };
2055
+ };
2056
+ excludeTax: {
2057
+ originalPrice: {
2058
+ value: number;
2059
+ currency: string;
2060
+ };
2061
+ baseOriginalPrice: {
2062
+ value: number;
2063
+ currency: string;
2064
+ };
2065
+ baseDiscountedPrice: {
2066
+ value: number;
2067
+ currency: string;
2068
+ };
2069
+ baseExcludingTax: {
2070
+ value: number;
2071
+ currency: string;
2072
+ };
2073
+ };
2074
+ includeTax: {
2075
+ singleItemPrice: {
2076
+ value: number;
2077
+ currency: string;
2078
+ };
2079
+ baseOriginalPrice: {
2080
+ value: number;
2081
+ currency: string;
2082
+ };
2083
+ baseDiscountedPrice: {
2084
+ value: number;
2085
+ currency: string;
2086
+ };
2087
+ };
2088
+ };
1833
2089
  uid: string;
1834
2090
  quantity: number;
1835
2091
  status: string;
@@ -1898,8 +2154,8 @@ export declare const createReturnOrderMock: {
1898
2154
  url: string;
1899
2155
  };
1900
2156
  configurableOptions: {
1901
- Size?: undefined;
1902
- Color?: undefined;
2157
+ Size: string;
2158
+ Color: string;
1903
2159
  };
1904
2160
  bundleOptions: null;
1905
2161
  itemPrices: {
@@ -2013,216 +2269,431 @@ export declare const createReturnOrderMock: {
2013
2269
  };
2014
2270
  };
2015
2271
  downloadableLinks: null;
2272
+ taxCalculations?: undefined;
2016
2273
  })[];
2017
2274
  tracking: never[];
2018
- }[];
2019
- itemsEligibleForReturn: ({
2020
- type: string;
2021
- eligibleForReturn: boolean;
2022
- productSku: string;
2023
- productName: string;
2024
- productUrlKey: string;
2025
- quantityCanceled: number;
2026
- quantityInvoiced: number;
2027
- quantityOrdered: number;
2028
- quantityRefunded: number;
2029
- quantityReturned: number;
2030
- quantityShipped: number;
2031
- id: string;
2032
- discounted: boolean;
2033
- total: {
2034
- value: number;
2035
- currency: string;
2036
- };
2037
- totalInclTax: {
2038
- value: number;
2039
- currency: string;
2040
- };
2041
- price: {
2042
- value: number;
2043
- currency: string;
2044
- };
2045
- priceInclTax: {
2046
- value: number;
2047
- currency: string;
2048
- };
2049
- totalQuantity: number;
2050
- regularPrice: {
2051
- value: number;
2052
- currency: string;
2053
- };
2054
- product: {
2055
- __typename: string;
2056
- canonicalUrl: string;
2057
- urlKey: string;
2058
- uid: string;
2059
- name: string;
2060
- sku: string;
2061
- onlyXLeftInStock: null;
2062
- stockStatus: string;
2063
- thumbnail: {
2064
- label: string;
2065
- url: string;
2066
- };
2067
- priceRange: {
2068
- maximumPrice: {
2069
- regularPrice: {
2275
+ } | {
2276
+ createdReturnAt: string;
2277
+ returnStatus: string;
2278
+ token: string;
2279
+ orderNumber: string;
2280
+ returnNumber: string;
2281
+ items: ({
2282
+ taxCalculations: {
2283
+ includeAndExcludeTax: {
2284
+ originalPrice: {
2285
+ value: number;
2286
+ currency: string;
2287
+ };
2288
+ baseOriginalPrice: {
2289
+ value: number;
2290
+ currency: string;
2291
+ };
2292
+ baseDiscountedPrice: {
2293
+ value: number;
2294
+ currency: string;
2295
+ };
2296
+ baseExcludingTax: {
2297
+ value: number;
2298
+ currency: string;
2299
+ };
2300
+ };
2301
+ excludeTax: {
2302
+ originalPrice: {
2303
+ value: number;
2304
+ currency: string;
2305
+ };
2306
+ baseOriginalPrice: {
2307
+ value: number;
2308
+ currency: string;
2309
+ };
2310
+ baseDiscountedPrice: {
2311
+ value: number;
2070
2312
  currency: string;
2313
+ };
2314
+ baseExcludingTax: {
2315
+ value: number;
2316
+ currency: string;
2317
+ };
2318
+ };
2319
+ includeTax: {
2320
+ singleItemPrice: {
2321
+ value: number;
2322
+ currency: string;
2323
+ };
2324
+ baseOriginalPrice: {
2071
2325
  value: number;
2326
+ currency: string;
2327
+ };
2328
+ baseDiscountedPrice: {
2329
+ value: number;
2330
+ currency: string;
2072
2331
  };
2073
2332
  };
2074
2333
  };
2334
+ uid: string;
2335
+ quantity: number;
2336
+ status: string;
2337
+ requestQuantity: number;
2338
+ type: string;
2339
+ eligibleForReturn: boolean;
2340
+ productSku: string;
2341
+ productName: string;
2342
+ productUrlKey: string;
2343
+ quantityCanceled: number;
2344
+ quantityInvoiced: number;
2345
+ quantityOrdered: number;
2346
+ quantityRefunded: number;
2347
+ quantityReturned: number;
2348
+ quantityShipped: number;
2075
2349
  id: string;
2076
- image: string;
2077
- productType: string;
2078
- };
2079
- thumbnail: {
2080
- label: string;
2081
- url: string;
2082
- };
2083
- configurableOptions: {
2084
- Color?: undefined;
2085
- Size?: undefined;
2086
- };
2087
- bundleOptions: null;
2088
- itemPrices: {
2089
- priceIncludingTax: {
2350
+ discounted: boolean;
2351
+ total: {
2090
2352
  value: number;
2091
2353
  currency: string;
2092
2354
  };
2093
- originalPrice: {
2355
+ totalInclTax: {
2094
2356
  value: number;
2095
2357
  currency: string;
2096
2358
  };
2097
- originalPriceIncludingTax: {
2359
+ price: {
2098
2360
  value: number;
2099
2361
  currency: string;
2100
2362
  };
2101
- price: {
2363
+ priceInclTax: {
2102
2364
  value: number;
2103
2365
  currency: string;
2104
2366
  };
2105
- };
2106
- downloadableLinks: null;
2107
- } | {
2108
- type: string;
2109
- eligibleForReturn: boolean;
2110
- productSku: string;
2111
- productName: string;
2112
- productUrlKey: string;
2113
- quantityCanceled: number;
2114
- quantityInvoiced: number;
2115
- quantityOrdered: number;
2116
- quantityRefunded: number;
2117
- quantityReturned: number;
2118
- quantityShipped: number;
2119
- id: string;
2120
- discounted: boolean;
2121
- total: {
2122
- value: number;
2123
- currency: string;
2124
- };
2125
- totalInclTax: {
2126
- value: number;
2127
- currency: string;
2128
- };
2129
- price: {
2130
- value: number;
2131
- currency: string;
2132
- };
2133
- priceInclTax: {
2134
- value: number;
2135
- currency: string;
2136
- };
2137
- totalQuantity: number;
2138
- regularPrice: {
2139
- value: number;
2140
- currency: string;
2141
- };
2142
- product: {
2143
- __typename: string;
2144
- canonicalUrl: string;
2145
- urlKey: string;
2146
- uid: string;
2147
- name: string;
2148
- sku: string;
2149
- onlyXLeftInStock: null;
2150
- stockStatus: string;
2367
+ totalQuantity: number;
2368
+ regularPrice: {
2369
+ value: number;
2370
+ currency: string;
2371
+ };
2372
+ product: {
2373
+ __typename: string;
2374
+ canonicalUrl: string;
2375
+ urlKey: string;
2376
+ uid: string;
2377
+ name: string;
2378
+ sku: string;
2379
+ onlyXLeftInStock: null;
2380
+ stockStatus: string;
2381
+ thumbnail: {
2382
+ label: string;
2383
+ url: string;
2384
+ };
2385
+ priceRange: {
2386
+ maximumPrice: {
2387
+ regularPrice: {
2388
+ currency: string;
2389
+ value: number;
2390
+ };
2391
+ };
2392
+ };
2393
+ id: string;
2394
+ image: string;
2395
+ productType: string;
2396
+ };
2151
2397
  thumbnail: {
2152
2398
  label: string;
2153
2399
  url: string;
2154
2400
  };
2155
- priceRange: {
2156
- maximumPrice: {
2157
- regularPrice: {
2158
- currency: string;
2159
- value: number;
2160
- };
2401
+ configurableOptions: {
2402
+ Color?: undefined;
2403
+ Size?: undefined;
2404
+ };
2405
+ bundleOptions: null;
2406
+ itemPrices: {
2407
+ priceIncludingTax: {
2408
+ value: number;
2409
+ currency: string;
2410
+ };
2411
+ originalPrice: {
2412
+ value: number;
2413
+ currency: string;
2414
+ };
2415
+ originalPriceIncludingTax: {
2416
+ value: number;
2417
+ currency: string;
2418
+ };
2419
+ price: {
2420
+ value: number;
2421
+ currency: string;
2161
2422
  };
2162
2423
  };
2424
+ downloadableLinks: null;
2425
+ } | {
2426
+ uid: string;
2427
+ quantity: number;
2428
+ status: string;
2429
+ requestQuantity: number;
2430
+ type: string;
2431
+ eligibleForReturn: boolean;
2432
+ productSku: string;
2433
+ productName: string;
2434
+ productUrlKey: string;
2435
+ quantityCanceled: number;
2436
+ quantityInvoiced: number;
2437
+ quantityOrdered: number;
2438
+ quantityRefunded: number;
2439
+ quantityReturned: number;
2440
+ quantityShipped: number;
2163
2441
  id: string;
2164
- image: string;
2165
- productType: string;
2166
- };
2167
- thumbnail: {
2168
- label: string;
2169
- url: string;
2170
- };
2171
- configurableOptions: {
2172
- Color: string;
2173
- Size: string;
2174
- };
2175
- bundleOptions: null;
2176
- itemPrices: {
2177
- priceIncludingTax: {
2442
+ discounted: boolean;
2443
+ total: {
2178
2444
  value: number;
2179
2445
  currency: string;
2180
2446
  };
2181
- originalPrice: {
2447
+ totalInclTax: {
2182
2448
  value: number;
2183
2449
  currency: string;
2184
2450
  };
2185
- originalPriceIncludingTax: {
2451
+ price: {
2186
2452
  value: number;
2187
2453
  currency: string;
2188
2454
  };
2189
- price: {
2455
+ priceInclTax: {
2190
2456
  value: number;
2191
2457
  currency: string;
2192
2458
  };
2193
- };
2194
- downloadableLinks: null;
2195
- } | {
2196
- type: string;
2197
- eligibleForReturn: boolean;
2198
- productSku: string;
2199
- productName: string;
2200
- productUrlKey: string;
2201
- quantityCanceled: number;
2202
- quantityInvoiced: number;
2203
- quantityOrdered: number;
2204
- quantityRefunded: number;
2205
- quantityReturned: number;
2206
- quantityShipped: number;
2207
- id: string;
2208
- discounted: boolean;
2209
- total: {
2210
- value: number;
2211
- currency: string;
2212
- };
2213
- totalInclTax: {
2214
- value: number;
2215
- currency: string;
2216
- };
2217
- price: {
2218
- value: number;
2219
- currency: string;
2220
- };
2221
- priceInclTax: {
2222
- value: number;
2223
- currency: string;
2224
- };
2225
- totalQuantity: number;
2459
+ totalQuantity: number;
2460
+ regularPrice: {
2461
+ value: number;
2462
+ currency: string;
2463
+ };
2464
+ product: {
2465
+ __typename: string;
2466
+ canonicalUrl: string;
2467
+ urlKey: string;
2468
+ uid: string;
2469
+ name: string;
2470
+ sku: string;
2471
+ onlyXLeftInStock: null;
2472
+ stockStatus: string;
2473
+ thumbnail: {
2474
+ label: string;
2475
+ url: string;
2476
+ };
2477
+ priceRange: {
2478
+ maximumPrice: {
2479
+ regularPrice: {
2480
+ currency: string;
2481
+ value: number;
2482
+ };
2483
+ };
2484
+ };
2485
+ id: string;
2486
+ image: string;
2487
+ productType: string;
2488
+ };
2489
+ thumbnail: {
2490
+ label: string;
2491
+ url: string;
2492
+ };
2493
+ configurableOptions: {
2494
+ Color: string;
2495
+ Size: string;
2496
+ };
2497
+ bundleOptions: null;
2498
+ itemPrices: {
2499
+ priceIncludingTax: {
2500
+ value: number;
2501
+ currency: string;
2502
+ };
2503
+ originalPrice: {
2504
+ value: number;
2505
+ currency: string;
2506
+ };
2507
+ originalPriceIncludingTax: {
2508
+ value: number;
2509
+ currency: string;
2510
+ };
2511
+ price: {
2512
+ value: number;
2513
+ currency: string;
2514
+ };
2515
+ };
2516
+ downloadableLinks: null;
2517
+ taxCalculations?: undefined;
2518
+ } | {
2519
+ uid: string;
2520
+ quantity: number;
2521
+ status: string;
2522
+ requestQuantity: number;
2523
+ type: string;
2524
+ eligibleForReturn: boolean;
2525
+ productSku: string;
2526
+ productName: string;
2527
+ productUrlKey: string;
2528
+ quantityCanceled: number;
2529
+ quantityInvoiced: number;
2530
+ quantityOrdered: number;
2531
+ quantityRefunded: number;
2532
+ quantityReturned: number;
2533
+ quantityShipped: number;
2534
+ id: string;
2535
+ discounted: boolean;
2536
+ total: {
2537
+ value: number;
2538
+ currency: string;
2539
+ };
2540
+ totalInclTax: {
2541
+ value: number;
2542
+ currency: string;
2543
+ };
2544
+ price: {
2545
+ value: number;
2546
+ currency: string;
2547
+ };
2548
+ priceInclTax: {
2549
+ value: number;
2550
+ currency: string;
2551
+ };
2552
+ totalQuantity: number;
2553
+ regularPrice: {
2554
+ value: number;
2555
+ currency: string;
2556
+ };
2557
+ product: {
2558
+ __typename: string;
2559
+ canonicalUrl: string;
2560
+ urlKey: string;
2561
+ uid: string;
2562
+ name: string;
2563
+ sku: string;
2564
+ onlyXLeftInStock: null;
2565
+ stockStatus: string;
2566
+ thumbnail: {
2567
+ label: string;
2568
+ url: string;
2569
+ };
2570
+ priceRange: {
2571
+ maximumPrice: {
2572
+ regularPrice: {
2573
+ currency: string;
2574
+ value: number;
2575
+ };
2576
+ };
2577
+ };
2578
+ id: string;
2579
+ image: string;
2580
+ productType: string;
2581
+ };
2582
+ thumbnail: {
2583
+ label: string;
2584
+ url: string;
2585
+ };
2586
+ configurableOptions: {
2587
+ Color?: undefined;
2588
+ Size?: undefined;
2589
+ };
2590
+ bundleOptions: null;
2591
+ itemPrices: {
2592
+ priceIncludingTax: {
2593
+ value: number;
2594
+ currency: string;
2595
+ };
2596
+ originalPrice: {
2597
+ value: number;
2598
+ currency: string;
2599
+ };
2600
+ originalPriceIncludingTax: {
2601
+ value: number;
2602
+ currency: string;
2603
+ };
2604
+ price: {
2605
+ value: number;
2606
+ currency: string;
2607
+ };
2608
+ };
2609
+ downloadableLinks: null;
2610
+ taxCalculations?: undefined;
2611
+ })[];
2612
+ tracking: never[];
2613
+ })[];
2614
+ itemsEligibleForReturn: ({
2615
+ taxCalculations: {
2616
+ includeAndExcludeTax: {
2617
+ originalPrice: {
2618
+ value: number;
2619
+ currency: string;
2620
+ };
2621
+ baseOriginalPrice: {
2622
+ value: number;
2623
+ currency: string;
2624
+ };
2625
+ baseDiscountedPrice: {
2626
+ value: number;
2627
+ currency: string;
2628
+ };
2629
+ baseExcludingTax: {
2630
+ value: number;
2631
+ currency: string;
2632
+ };
2633
+ };
2634
+ excludeTax: {
2635
+ originalPrice: {
2636
+ value: number;
2637
+ currency: string;
2638
+ };
2639
+ baseOriginalPrice: {
2640
+ value: number;
2641
+ currency: string;
2642
+ };
2643
+ baseDiscountedPrice: {
2644
+ value: number;
2645
+ currency: string;
2646
+ };
2647
+ baseExcludingTax: {
2648
+ value: number;
2649
+ currency: string;
2650
+ };
2651
+ };
2652
+ includeTax: {
2653
+ singleItemPrice: {
2654
+ value: number;
2655
+ currency: string;
2656
+ };
2657
+ baseOriginalPrice: {
2658
+ value: number;
2659
+ currency: string;
2660
+ };
2661
+ baseDiscountedPrice: {
2662
+ value: number;
2663
+ currency: string;
2664
+ };
2665
+ };
2666
+ };
2667
+ type: string;
2668
+ eligibleForReturn: boolean;
2669
+ productSku: string;
2670
+ productName: string;
2671
+ productUrlKey: string;
2672
+ quantityCanceled: number;
2673
+ quantityInvoiced: number;
2674
+ quantityOrdered: number;
2675
+ quantityRefunded: number;
2676
+ quantityReturned: number;
2677
+ quantityShipped: number;
2678
+ id: string;
2679
+ discounted: boolean;
2680
+ total: {
2681
+ value: number;
2682
+ currency: string;
2683
+ };
2684
+ totalInclTax: {
2685
+ value: number;
2686
+ currency: string;
2687
+ };
2688
+ price: {
2689
+ value: number;
2690
+ currency: string;
2691
+ };
2692
+ priceInclTax: {
2693
+ value: number;
2694
+ currency: string;
2695
+ };
2696
+ totalQuantity: number;
2226
2697
  regularPrice: {
2227
2698
  value: number;
2228
2699
  currency: string;
@@ -2260,12 +2731,7 @@ export declare const createReturnOrderMock: {
2260
2731
  Color?: undefined;
2261
2732
  Size?: undefined;
2262
2733
  };
2263
- bundleOptions: {
2264
- 'Sprite Stasis Ball': string;
2265
- 'Sprite Foam Yoga Brick': string;
2266
- 'Sprite Yoga Strap': string;
2267
- 'Sprite Foam Roller': string;
2268
- };
2734
+ bundleOptions: null;
2269
2735
  itemPrices: {
2270
2736
  priceIncludingTax: {
2271
2737
  value: number;
@@ -2285,208 +2751,59 @@ export declare const createReturnOrderMock: {
2285
2751
  };
2286
2752
  };
2287
2753
  downloadableLinks: null;
2288
- })[];
2289
- coupons: never[];
2290
- shipments: {
2291
- id: string;
2292
- number: string;
2293
- tracking: never[];
2294
- comments: never[];
2295
- items: {
2296
- id: string;
2297
- productSku: string;
2298
- productName: string;
2299
- orderItem: {
2300
- __typename: string;
2301
- status: string;
2302
- productSku: string;
2303
- eligibleForReturn: boolean;
2304
- productName: string;
2305
- productUrlKey: string;
2306
- id: string;
2307
- quantityOrdered: number;
2308
- quantityShipped: number;
2309
- quantityCanceled: number;
2310
- quantityInvoiced: number;
2311
- quantityRefunded: number;
2312
- productSalePrice: {
2313
- value: number;
2754
+ } | {
2755
+ taxCalculations: {
2756
+ includeAndExcludeTax: {
2757
+ originalPrice: {
2758
+ value: number;
2314
2759
  currency: string;
2315
2760
  };
2316
- selectedOptions: {
2317
- label: string;
2318
- value: string;
2319
- }[];
2320
- product: {
2321
- __typename: string;
2322
- canonicalUrl: null;
2323
- urlKey: string;
2324
- uid: string;
2325
- name: string;
2326
- sku: string;
2327
- onlyXLeftInStock: null;
2328
- stockStatus: string;
2329
- thumbnail: {
2330
- label: string;
2331
- url: string;
2332
- };
2333
- priceRange: {
2334
- maximumPrice: {
2335
- regularPrice: {
2336
- currency: string;
2337
- value: number;
2338
- };
2339
- };
2340
- };
2761
+ baseOriginalPrice: {
2762
+ value: number;
2763
+ currency: string;
2341
2764
  };
2342
- prices: {
2343
- priceIncludingTax: {
2344
- value: number;
2345
- currency: string;
2346
- };
2347
- originalPrice: {
2348
- value: number;
2349
- currency: string;
2350
- };
2351
- originalPriceIncludingTax: {
2352
- value: number;
2353
- currency: string;
2354
- };
2355
- price: {
2356
- value: number;
2357
- currency: string;
2358
- };
2765
+ baseDiscountedPrice: {
2766
+ value: number;
2767
+ currency: string;
2359
2768
  };
2360
- };
2361
- }[];
2362
- }[];
2363
- payments: {
2364
- code: string;
2365
- name: string;
2366
- }[];
2367
- shippingAddress: {
2368
- city: string;
2369
- company: null;
2370
- countryCode: string;
2371
- fax: null;
2372
- firstName: string;
2373
- lastName: string;
2374
- middleName: null;
2375
- postCode: string;
2376
- prefix: null;
2377
- region: string;
2378
- regionId: string;
2379
- street: string[];
2380
- suffix: null;
2381
- telephone: string;
2382
- vatId: string;
2383
- };
2384
- billingAddress: {
2385
- city: string;
2386
- company: null;
2387
- countryCode: string;
2388
- fax: null;
2389
- firstName: string;
2390
- lastName: string;
2391
- middleName: null;
2392
- postCode: string;
2393
- prefix: null;
2394
- region: string;
2395
- regionId: string;
2396
- street: string[];
2397
- suffix: null;
2398
- telephone: string;
2399
- vatId: string;
2400
- };
2401
- items: ({
2402
- type: string;
2403
- eligibleForReturn: boolean;
2404
- productSku: string;
2405
- productName: string;
2406
- productUrlKey: string;
2407
- quantityCanceled: number;
2408
- quantityInvoiced: number;
2409
- quantityOrdered: number;
2410
- quantityRefunded: number;
2411
- quantityReturned: number;
2412
- quantityShipped: number;
2413
- id: string;
2414
- discounted: boolean;
2415
- total: {
2416
- value: number;
2417
- currency: string;
2418
- };
2419
- totalInclTax: {
2420
- value: number;
2421
- currency: string;
2422
- };
2423
- price: {
2424
- value: number;
2425
- currency: string;
2426
- };
2427
- priceInclTax: {
2428
- value: number;
2429
- currency: string;
2430
- };
2431
- totalQuantity: number;
2432
- regularPrice: {
2433
- value: number;
2434
- currency: string;
2435
- };
2436
- product: {
2437
- __typename: string;
2438
- canonicalUrl: string;
2439
- urlKey: string;
2440
- uid: string;
2441
- name: string;
2442
- sku: string;
2443
- onlyXLeftInStock: null;
2444
- stockStatus: string;
2445
- thumbnail: {
2446
- label: string;
2447
- url: string;
2448
- };
2449
- priceRange: {
2450
- maximumPrice: {
2451
- regularPrice: {
2452
- currency: string;
2453
- value: number;
2454
- };
2769
+ baseExcludingTax: {
2770
+ value: number;
2771
+ currency: string;
2455
2772
  };
2456
2773
  };
2457
- id: string;
2458
- image: string;
2459
- productType: string;
2460
- };
2461
- thumbnail: {
2462
- label: string;
2463
- url: string;
2464
- };
2465
- configurableOptions: {
2466
- Color?: undefined;
2467
- Size?: undefined;
2468
- };
2469
- bundleOptions: null;
2470
- itemPrices: {
2471
- priceIncludingTax: {
2472
- value: number;
2473
- currency: string;
2474
- };
2475
- originalPrice: {
2476
- value: number;
2477
- currency: string;
2478
- };
2479
- originalPriceIncludingTax: {
2480
- value: number;
2481
- currency: string;
2774
+ excludeTax: {
2775
+ originalPrice: {
2776
+ value: number;
2777
+ currency: string;
2778
+ };
2779
+ baseOriginalPrice: {
2780
+ value: number;
2781
+ currency: string;
2782
+ };
2783
+ baseDiscountedPrice: {
2784
+ value: number;
2785
+ currency: string;
2786
+ };
2787
+ baseExcludingTax: {
2788
+ value: number;
2789
+ currency: string;
2790
+ };
2482
2791
  };
2483
- price: {
2484
- value: number;
2485
- currency: string;
2792
+ includeTax: {
2793
+ singleItemPrice: {
2794
+ value: number;
2795
+ currency: string;
2796
+ };
2797
+ baseOriginalPrice: {
2798
+ value: number;
2799
+ currency: string;
2800
+ };
2801
+ baseDiscountedPrice: {
2802
+ value: number;
2803
+ currency: string;
2804
+ };
2486
2805
  };
2487
2806
  };
2488
- downloadableLinks: null;
2489
- } | {
2490
2807
  type: string;
2491
2808
  eligibleForReturn: boolean;
2492
2809
  productSku: string;
@@ -2575,6 +2892,58 @@ export declare const createReturnOrderMock: {
2575
2892
  };
2576
2893
  downloadableLinks: null;
2577
2894
  } | {
2895
+ taxCalculations: {
2896
+ includeAndExcludeTax: {
2897
+ originalPrice: {
2898
+ value: number;
2899
+ currency: string;
2900
+ };
2901
+ baseOriginalPrice: {
2902
+ value: number;
2903
+ currency: string;
2904
+ };
2905
+ baseDiscountedPrice: {
2906
+ value: number;
2907
+ currency: string;
2908
+ };
2909
+ baseExcludingTax: {
2910
+ value: number;
2911
+ currency: string;
2912
+ };
2913
+ };
2914
+ excludeTax: {
2915
+ originalPrice: {
2916
+ value: number;
2917
+ currency: string;
2918
+ };
2919
+ baseOriginalPrice: {
2920
+ value: number;
2921
+ currency: string;
2922
+ };
2923
+ baseDiscountedPrice: {
2924
+ value: number;
2925
+ currency: string;
2926
+ };
2927
+ baseExcludingTax: {
2928
+ value: number;
2929
+ currency: string;
2930
+ };
2931
+ };
2932
+ includeTax: {
2933
+ singleItemPrice: {
2934
+ value: number;
2935
+ currency: string;
2936
+ };
2937
+ baseOriginalPrice: {
2938
+ value: number;
2939
+ currency: string;
2940
+ };
2941
+ baseDiscountedPrice: {
2942
+ value: number;
2943
+ currency: string;
2944
+ };
2945
+ };
2946
+ };
2578
2947
  type: string;
2579
2948
  eligibleForReturn: boolean;
2580
2949
  productSku: string;
@@ -2668,24 +3037,188 @@ export declare const createReturnOrderMock: {
2668
3037
  };
2669
3038
  downloadableLinks: null;
2670
3039
  })[];
2671
- itemsEligibleForReturn2: ({
2672
- type: string;
2673
- eligibleForReturn: boolean;
2674
- productSku: string;
2675
- productName: string;
2676
- productUrlKey: string;
2677
- quantityCanceled: number;
2678
- quantityInvoiced: number;
2679
- quantityOrdered: number;
2680
- quantityRefunded: number;
2681
- quantityReturned: number;
2682
- quantityShipped: number;
3040
+ coupons: never[];
3041
+ shipments: {
2683
3042
  id: string;
2684
- discounted: boolean;
2685
- total: {
2686
- value: number;
2687
- currency: string;
2688
- };
3043
+ number: string;
3044
+ tracking: never[];
3045
+ comments: never[];
3046
+ items: {
3047
+ id: string;
3048
+ productSku: string;
3049
+ productName: string;
3050
+ orderItem: {
3051
+ taxCalculations: {
3052
+ includeAndExcludeTax: {
3053
+ originalPrice: {
3054
+ value: number;
3055
+ currency: string;
3056
+ };
3057
+ baseOriginalPrice: {
3058
+ value: number;
3059
+ currency: string;
3060
+ };
3061
+ baseDiscountedPrice: {
3062
+ value: number;
3063
+ currency: string;
3064
+ };
3065
+ baseExcludingTax: {
3066
+ value: number;
3067
+ currency: string;
3068
+ };
3069
+ };
3070
+ excludeTax: {
3071
+ originalPrice: {
3072
+ value: number;
3073
+ currency: string;
3074
+ };
3075
+ baseOriginalPrice: {
3076
+ value: number;
3077
+ currency: string;
3078
+ };
3079
+ baseDiscountedPrice: {
3080
+ value: number;
3081
+ currency: string;
3082
+ };
3083
+ baseExcludingTax: {
3084
+ value: number;
3085
+ currency: string;
3086
+ };
3087
+ };
3088
+ includeTax: {
3089
+ singleItemPrice: {
3090
+ value: number;
3091
+ currency: string;
3092
+ };
3093
+ baseOriginalPrice: {
3094
+ value: number;
3095
+ currency: string;
3096
+ };
3097
+ baseDiscountedPrice: {
3098
+ value: number;
3099
+ currency: string;
3100
+ };
3101
+ };
3102
+ };
3103
+ __typename: string;
3104
+ status: string;
3105
+ productSku: string;
3106
+ eligibleForReturn: boolean;
3107
+ productName: string;
3108
+ productUrlKey: string;
3109
+ id: string;
3110
+ quantityOrdered: number;
3111
+ quantityShipped: number;
3112
+ quantityCanceled: number;
3113
+ quantityInvoiced: number;
3114
+ quantityRefunded: number;
3115
+ productSalePrice: {
3116
+ value: number;
3117
+ currency: string;
3118
+ };
3119
+ selectedOptions: {
3120
+ label: string;
3121
+ value: string;
3122
+ }[];
3123
+ product: {
3124
+ __typename: string;
3125
+ canonicalUrl: null;
3126
+ urlKey: string;
3127
+ uid: string;
3128
+ name: string;
3129
+ sku: string;
3130
+ onlyXLeftInStock: null;
3131
+ stockStatus: string;
3132
+ thumbnail: {
3133
+ label: string;
3134
+ url: string;
3135
+ };
3136
+ priceRange: {
3137
+ maximumPrice: {
3138
+ regularPrice: {
3139
+ currency: string;
3140
+ value: number;
3141
+ };
3142
+ };
3143
+ };
3144
+ };
3145
+ prices: {
3146
+ priceIncludingTax: {
3147
+ value: number;
3148
+ currency: string;
3149
+ };
3150
+ originalPrice: {
3151
+ value: number;
3152
+ currency: string;
3153
+ };
3154
+ originalPriceIncludingTax: {
3155
+ value: number;
3156
+ currency: string;
3157
+ };
3158
+ price: {
3159
+ value: number;
3160
+ currency: string;
3161
+ };
3162
+ };
3163
+ };
3164
+ }[];
3165
+ }[];
3166
+ payments: {
3167
+ code: string;
3168
+ name: string;
3169
+ }[];
3170
+ shippingAddress: {
3171
+ city: string;
3172
+ company: null;
3173
+ countryCode: string;
3174
+ fax: null;
3175
+ firstName: string;
3176
+ lastName: string;
3177
+ middleName: null;
3178
+ postCode: string;
3179
+ prefix: null;
3180
+ region: string;
3181
+ regionId: string;
3182
+ street: string[];
3183
+ suffix: null;
3184
+ telephone: string;
3185
+ vatId: string;
3186
+ };
3187
+ billingAddress: {
3188
+ city: string;
3189
+ company: null;
3190
+ countryCode: string;
3191
+ fax: null;
3192
+ firstName: string;
3193
+ lastName: string;
3194
+ middleName: null;
3195
+ postCode: string;
3196
+ prefix: null;
3197
+ region: string;
3198
+ regionId: string;
3199
+ street: string[];
3200
+ suffix: null;
3201
+ telephone: string;
3202
+ vatId: string;
3203
+ };
3204
+ items: ({
3205
+ type: string;
3206
+ eligibleForReturn: boolean;
3207
+ productSku: string;
3208
+ productName: string;
3209
+ productUrlKey: string;
3210
+ quantityCanceled: number;
3211
+ quantityInvoiced: number;
3212
+ quantityOrdered: number;
3213
+ quantityRefunded: number;
3214
+ quantityReturned: number;
3215
+ quantityShipped: number;
3216
+ id: string;
3217
+ discounted: boolean;
3218
+ total: {
3219
+ value: number;
3220
+ currency: string;
3221
+ };
2689
3222
  totalInclTax: {
2690
3223
  value: number;
2691
3224
  currency: string;
@@ -2938,43 +3471,313 @@ export declare const createReturnOrderMock: {
2938
3471
  };
2939
3472
  downloadableLinks: null;
2940
3473
  })[];
2941
- totalQuantity: number;
2942
- shipping: {
2943
- amount: number;
2944
- currency: string;
2945
- code: string;
2946
- };
2947
- returnNumber: string;
2948
- };
2949
- export declare const shippingStatusCardDataMock: {
2950
- email: string;
2951
- availableActions: string[];
2952
- status: string;
2953
- number: string;
2954
- id: string;
2955
- returns: never[];
2956
- itemsEligibleForReturn: never[];
2957
- coupons: never[];
2958
- shipments: {
3474
+ itemsEligibleForReturn2: ({
3475
+ type: string;
3476
+ eligibleForReturn: boolean;
3477
+ productSku: string;
3478
+ productName: string;
3479
+ productUrlKey: string;
3480
+ quantityCanceled: number;
3481
+ quantityInvoiced: number;
3482
+ quantityOrdered: number;
3483
+ quantityRefunded: number;
3484
+ quantityReturned: number;
3485
+ quantityShipped: number;
2959
3486
  id: string;
2960
- tracking: {
2961
- number: number;
2962
- carrier: string;
2963
- title: string;
2964
- }[];
2965
- comments: never[];
2966
- items: {
3487
+ discounted: boolean;
3488
+ total: {
3489
+ value: number;
3490
+ currency: string;
3491
+ };
3492
+ totalInclTax: {
3493
+ value: number;
3494
+ currency: string;
3495
+ };
3496
+ price: {
3497
+ value: number;
3498
+ currency: string;
3499
+ };
3500
+ priceInclTax: {
3501
+ value: number;
3502
+ currency: string;
3503
+ };
3504
+ totalQuantity: number;
3505
+ regularPrice: {
3506
+ value: number;
3507
+ currency: string;
3508
+ };
3509
+ product: {
3510
+ __typename: string;
3511
+ canonicalUrl: string;
3512
+ urlKey: string;
3513
+ uid: string;
3514
+ name: string;
3515
+ sku: string;
3516
+ onlyXLeftInStock: null;
3517
+ stockStatus: string;
3518
+ thumbnail: {
3519
+ label: string;
3520
+ url: string;
3521
+ };
3522
+ priceRange: {
3523
+ maximumPrice: {
3524
+ regularPrice: {
3525
+ currency: string;
3526
+ value: number;
3527
+ };
3528
+ };
3529
+ };
2967
3530
  id: string;
2968
- productSku: string;
2969
- productName: string;
2970
- orderItem: {
2971
- __typename: string;
2972
- status: string;
2973
- productSku: string;
2974
- eligibleForReturn: boolean;
2975
- productName: string;
2976
- productUrlKey: string;
2977
- id: string;
3531
+ image: string;
3532
+ productType: string;
3533
+ };
3534
+ thumbnail: {
3535
+ label: string;
3536
+ url: string;
3537
+ };
3538
+ configurableOptions: {
3539
+ Color?: undefined;
3540
+ Size?: undefined;
3541
+ };
3542
+ bundleOptions: null;
3543
+ itemPrices: {
3544
+ priceIncludingTax: {
3545
+ value: number;
3546
+ currency: string;
3547
+ };
3548
+ originalPrice: {
3549
+ value: number;
3550
+ currency: string;
3551
+ };
3552
+ originalPriceIncludingTax: {
3553
+ value: number;
3554
+ currency: string;
3555
+ };
3556
+ price: {
3557
+ value: number;
3558
+ currency: string;
3559
+ };
3560
+ };
3561
+ downloadableLinks: null;
3562
+ } | {
3563
+ type: string;
3564
+ eligibleForReturn: boolean;
3565
+ productSku: string;
3566
+ productName: string;
3567
+ productUrlKey: string;
3568
+ quantityCanceled: number;
3569
+ quantityInvoiced: number;
3570
+ quantityOrdered: number;
3571
+ quantityRefunded: number;
3572
+ quantityReturned: number;
3573
+ quantityShipped: number;
3574
+ id: string;
3575
+ discounted: boolean;
3576
+ total: {
3577
+ value: number;
3578
+ currency: string;
3579
+ };
3580
+ totalInclTax: {
3581
+ value: number;
3582
+ currency: string;
3583
+ };
3584
+ price: {
3585
+ value: number;
3586
+ currency: string;
3587
+ };
3588
+ priceInclTax: {
3589
+ value: number;
3590
+ currency: string;
3591
+ };
3592
+ totalQuantity: number;
3593
+ regularPrice: {
3594
+ value: number;
3595
+ currency: string;
3596
+ };
3597
+ product: {
3598
+ __typename: string;
3599
+ canonicalUrl: string;
3600
+ urlKey: string;
3601
+ uid: string;
3602
+ name: string;
3603
+ sku: string;
3604
+ onlyXLeftInStock: null;
3605
+ stockStatus: string;
3606
+ thumbnail: {
3607
+ label: string;
3608
+ url: string;
3609
+ };
3610
+ priceRange: {
3611
+ maximumPrice: {
3612
+ regularPrice: {
3613
+ currency: string;
3614
+ value: number;
3615
+ };
3616
+ };
3617
+ };
3618
+ id: string;
3619
+ image: string;
3620
+ productType: string;
3621
+ };
3622
+ thumbnail: {
3623
+ label: string;
3624
+ url: string;
3625
+ };
3626
+ configurableOptions: {
3627
+ Color: string;
3628
+ Size: string;
3629
+ };
3630
+ bundleOptions: null;
3631
+ itemPrices: {
3632
+ priceIncludingTax: {
3633
+ value: number;
3634
+ currency: string;
3635
+ };
3636
+ originalPrice: {
3637
+ value: number;
3638
+ currency: string;
3639
+ };
3640
+ originalPriceIncludingTax: {
3641
+ value: number;
3642
+ currency: string;
3643
+ };
3644
+ price: {
3645
+ value: number;
3646
+ currency: string;
3647
+ };
3648
+ };
3649
+ downloadableLinks: null;
3650
+ } | {
3651
+ type: string;
3652
+ eligibleForReturn: boolean;
3653
+ productSku: string;
3654
+ productName: string;
3655
+ productUrlKey: string;
3656
+ quantityCanceled: number;
3657
+ quantityInvoiced: number;
3658
+ quantityOrdered: number;
3659
+ quantityRefunded: number;
3660
+ quantityReturned: number;
3661
+ quantityShipped: number;
3662
+ id: string;
3663
+ discounted: boolean;
3664
+ total: {
3665
+ value: number;
3666
+ currency: string;
3667
+ };
3668
+ totalInclTax: {
3669
+ value: number;
3670
+ currency: string;
3671
+ };
3672
+ price: {
3673
+ value: number;
3674
+ currency: string;
3675
+ };
3676
+ priceInclTax: {
3677
+ value: number;
3678
+ currency: string;
3679
+ };
3680
+ totalQuantity: number;
3681
+ regularPrice: {
3682
+ value: number;
3683
+ currency: string;
3684
+ };
3685
+ product: {
3686
+ __typename: string;
3687
+ canonicalUrl: string;
3688
+ urlKey: string;
3689
+ uid: string;
3690
+ name: string;
3691
+ sku: string;
3692
+ onlyXLeftInStock: null;
3693
+ stockStatus: string;
3694
+ thumbnail: {
3695
+ label: string;
3696
+ url: string;
3697
+ };
3698
+ priceRange: {
3699
+ maximumPrice: {
3700
+ regularPrice: {
3701
+ currency: string;
3702
+ value: number;
3703
+ };
3704
+ };
3705
+ };
3706
+ id: string;
3707
+ image: string;
3708
+ productType: string;
3709
+ };
3710
+ thumbnail: {
3711
+ label: string;
3712
+ url: string;
3713
+ };
3714
+ configurableOptions: {
3715
+ Color?: undefined;
3716
+ Size?: undefined;
3717
+ };
3718
+ bundleOptions: {
3719
+ 'Sprite Stasis Ball': string;
3720
+ 'Sprite Foam Yoga Brick': string;
3721
+ 'Sprite Yoga Strap': string;
3722
+ 'Sprite Foam Roller': string;
3723
+ };
3724
+ itemPrices: {
3725
+ priceIncludingTax: {
3726
+ value: number;
3727
+ currency: string;
3728
+ };
3729
+ originalPrice: {
3730
+ value: number;
3731
+ currency: string;
3732
+ };
3733
+ originalPriceIncludingTax: {
3734
+ value: number;
3735
+ currency: string;
3736
+ };
3737
+ price: {
3738
+ value: number;
3739
+ currency: string;
3740
+ };
3741
+ };
3742
+ downloadableLinks: null;
3743
+ })[];
3744
+ totalQuantity: number;
3745
+ shipping: {
3746
+ amount: number;
3747
+ currency: string;
3748
+ code: string;
3749
+ };
3750
+ returnNumber: string;
3751
+ };
3752
+ export declare const shippingStatusCardDataMock: {
3753
+ email: string;
3754
+ availableActions: string[];
3755
+ status: string;
3756
+ number: string;
3757
+ id: string;
3758
+ returns: never[];
3759
+ itemsEligibleForReturn: never[];
3760
+ coupons: never[];
3761
+ shipments: {
3762
+ id: string;
3763
+ tracking: {
3764
+ number: number;
3765
+ carrier: string;
3766
+ title: string;
3767
+ }[];
3768
+ comments: never[];
3769
+ items: {
3770
+ id: string;
3771
+ productSku: string;
3772
+ productName: string;
3773
+ orderItem: {
3774
+ __typename: string;
3775
+ status: string;
3776
+ productSku: string;
3777
+ eligibleForReturn: boolean;
3778
+ productName: string;
3779
+ productUrlKey: string;
3780
+ id: string;
2978
3781
  quantityOrdered: number;
2979
3782
  quantityShipped: null;
2980
3783
  quantityCanceled: number;
@@ -3735,11 +4538,641 @@ export declare const storeConfigMock: {
3735
4538
  orderCancellationReasons: {
3736
4539
  description: string;
3737
4540
  }[];
3738
- shoppingCartDisplayPrice: number;
4541
+ shoppingOrderDisplayPrice: number;
3739
4542
  shoppingOrdersDisplaySubtotal: number;
3740
4543
  shoppingOrdersDisplayShipping: number;
3741
4544
  shoppingOrdersDisplayGrandTotal: boolean;
3742
4545
  shoppingOrdersDisplayFullSummary: boolean;
3743
4546
  shoppingOrdersDisplayZeroTax: boolean;
3744
4547
  };
4548
+ export declare const placeOrderMockData: {
4549
+ availableActions: string[];
4550
+ billingAddress: {
4551
+ city: string;
4552
+ company: string;
4553
+ countryCode: string;
4554
+ fax: string;
4555
+ firstName: string;
4556
+ lastName: string;
4557
+ middleName: string;
4558
+ postCode: string;
4559
+ prefix: string;
4560
+ region: string;
4561
+ regionId: string;
4562
+ street: string[];
4563
+ suffix: string;
4564
+ telephone: string;
4565
+ vatId: string;
4566
+ country: string;
4567
+ customAttributes: never[];
4568
+ };
4569
+ carrier: string;
4570
+ coupons: never[];
4571
+ discounts: {
4572
+ amount: {
4573
+ currency: string;
4574
+ value: number;
4575
+ };
4576
+ label: string;
4577
+ }[];
4578
+ email: string;
4579
+ grandTotal: {
4580
+ currency: string;
4581
+ value: number;
4582
+ };
4583
+ id: string;
4584
+ isVirtual: boolean;
4585
+ items: {
4586
+ taxCalculations: {
4587
+ includeAndExcludeTax: {
4588
+ originalPrice: {
4589
+ value: number;
4590
+ currency: string;
4591
+ };
4592
+ baseOriginalPrice: {
4593
+ value: number;
4594
+ currency: string;
4595
+ };
4596
+ baseDiscountedPrice: {
4597
+ value: number;
4598
+ currency: string;
4599
+ };
4600
+ baseExcludingTax: {
4601
+ value: number;
4602
+ currency: string;
4603
+ };
4604
+ };
4605
+ excludeTax: {
4606
+ originalPrice: {
4607
+ value: number;
4608
+ currency: string;
4609
+ };
4610
+ baseOriginalPrice: {
4611
+ value: number;
4612
+ currency: string;
4613
+ };
4614
+ baseDiscountedPrice: {
4615
+ value: number;
4616
+ currency: string;
4617
+ };
4618
+ baseExcludingTax: {
4619
+ value: number;
4620
+ currency: string;
4621
+ };
4622
+ };
4623
+ includeTax: {
4624
+ singleItemPrice: {
4625
+ value: number;
4626
+ currency: string;
4627
+ };
4628
+ baseOriginalPrice: {
4629
+ value: number;
4630
+ currency: string;
4631
+ };
4632
+ baseDiscountedPrice: {
4633
+ value: number;
4634
+ currency: string;
4635
+ };
4636
+ };
4637
+ };
4638
+ bundleOptions: null;
4639
+ configurableOptions: undefined;
4640
+ discounted: boolean;
4641
+ downloadableLinks: null;
4642
+ eligibleForReturn: boolean;
4643
+ giftCard: {
4644
+ message: string;
4645
+ recipientEmail: string;
4646
+ recipientName: string;
4647
+ senderEmail: string;
4648
+ senderName: string;
4649
+ };
4650
+ id: undefined;
4651
+ price: {
4652
+ currency: undefined;
4653
+ value: number;
4654
+ };
4655
+ priceInclTax: {
4656
+ currency: undefined;
4657
+ value: number;
4658
+ };
4659
+ prices: {
4660
+ discounts: never[];
4661
+ originalPrice: {
4662
+ currency: string;
4663
+ value: number;
4664
+ };
4665
+ originalPriceIncludingTax: {
4666
+ currency: string;
4667
+ value: number;
4668
+ };
4669
+ price: {
4670
+ currency: string;
4671
+ value: number;
4672
+ };
4673
+ priceIncludingTax: {
4674
+ currency: string;
4675
+ value: number;
4676
+ };
4677
+ };
4678
+ itemPrices: {
4679
+ discounts: never[];
4680
+ originalPrice: {
4681
+ currency: string;
4682
+ value: number;
4683
+ };
4684
+ originalPriceIncludingTax: {
4685
+ currency: string;
4686
+ value: number;
4687
+ };
4688
+ price: {
4689
+ currency: string;
4690
+ value: number;
4691
+ };
4692
+ priceIncludingTax: {
4693
+ currency: string;
4694
+ value: number;
4695
+ };
4696
+ };
4697
+ product: {
4698
+ __typename: string;
4699
+ uid: string;
4700
+ canonicalUrl: string;
4701
+ id: string;
4702
+ image: string;
4703
+ name: string;
4704
+ onlyXLeftInStock: number;
4705
+ priceRange: {
4706
+ maximumPrice: {
4707
+ regularPrice: {
4708
+ currency: string;
4709
+ value: number;
4710
+ };
4711
+ };
4712
+ };
4713
+ productType: string;
4714
+ sku: string;
4715
+ stockStatus: string;
4716
+ thumbnail: {
4717
+ label: string;
4718
+ url: string;
4719
+ };
4720
+ urlKey: string;
4721
+ };
4722
+ productName: string;
4723
+ productSalePrice: undefined;
4724
+ productSku: string;
4725
+ productUrlKey: string;
4726
+ quantityCanceled: number;
4727
+ quantityInvoiced: number;
4728
+ quantityOrdered: number;
4729
+ quantityRefunded: number;
4730
+ quantityReturnRequested: number;
4731
+ quantityReturned: number;
4732
+ quantityShipped: number;
4733
+ regularPrice: {
4734
+ currency: undefined;
4735
+ value: undefined;
4736
+ };
4737
+ selectedOptions: never[];
4738
+ status: string;
4739
+ thumbnail: {
4740
+ label: string;
4741
+ url: string;
4742
+ };
4743
+ total: {
4744
+ currency: string;
4745
+ value: number;
4746
+ };
4747
+ totalInclTax: {
4748
+ currency: undefined;
4749
+ value: number;
4750
+ };
4751
+ totalQuantity: number;
4752
+ type: string;
4753
+ }[];
4754
+ itemsEligibleForReturn: undefined;
4755
+ number: string;
4756
+ orderDate: string;
4757
+ orderStatusChangeDate: string;
4758
+ payments: {
4759
+ code: string;
4760
+ name: string;
4761
+ }[];
4762
+ returns: never[];
4763
+ shipments: ({
4764
+ comments: never[];
4765
+ id: string;
4766
+ items: {
4767
+ id: string;
4768
+ orderItem: {
4769
+ taxCalculations: {
4770
+ includeAndExcludeTax: {
4771
+ originalPrice: {
4772
+ value: number;
4773
+ currency: string;
4774
+ };
4775
+ baseOriginalPrice: {
4776
+ value: number;
4777
+ currency: string;
4778
+ };
4779
+ baseDiscountedPrice: {
4780
+ value: number;
4781
+ currency: string;
4782
+ };
4783
+ baseExcludingTax: {
4784
+ value: number;
4785
+ currency: string;
4786
+ };
4787
+ };
4788
+ excludeTax: {
4789
+ originalPrice: {
4790
+ value: number;
4791
+ currency: string;
4792
+ };
4793
+ baseOriginalPrice: {
4794
+ value: number;
4795
+ currency: string;
4796
+ };
4797
+ baseDiscountedPrice: {
4798
+ value: number;
4799
+ currency: string;
4800
+ };
4801
+ baseExcludingTax: {
4802
+ value: number;
4803
+ currency: string;
4804
+ };
4805
+ };
4806
+ includeTax: {
4807
+ singleItemPrice: {
4808
+ value: number;
4809
+ currency: string;
4810
+ };
4811
+ baseOriginalPrice: {
4812
+ value: number;
4813
+ currency: string;
4814
+ };
4815
+ baseDiscountedPrice: {
4816
+ value: number;
4817
+ currency: string;
4818
+ };
4819
+ };
4820
+ };
4821
+ bundleOptions: null;
4822
+ configurableOptions: {};
4823
+ discounted: boolean;
4824
+ downloadableLinks: null;
4825
+ eligibleForReturn: boolean;
4826
+ giftCard: undefined;
4827
+ id: string;
4828
+ price: {
4829
+ currency: string;
4830
+ value: number;
4831
+ };
4832
+ priceInclTax: {
4833
+ currency: string;
4834
+ value: number;
4835
+ };
4836
+ prices: {
4837
+ discounts: never[];
4838
+ originalPrice: {
4839
+ currency: string;
4840
+ value: number;
4841
+ };
4842
+ originalPriceIncludingTax: {
4843
+ currency: string;
4844
+ value: number;
4845
+ };
4846
+ price: {
4847
+ currency: string;
4848
+ value: number;
4849
+ };
4850
+ priceIncludingTax: {
4851
+ currency: string;
4852
+ value: number;
4853
+ };
4854
+ };
4855
+ itemPrices: {
4856
+ discounts: never[];
4857
+ originalPrice: {
4858
+ currency: string;
4859
+ value: number;
4860
+ };
4861
+ originalPriceIncludingTax: {
4862
+ currency: string;
4863
+ value: number;
4864
+ };
4865
+ price: {
4866
+ currency: string;
4867
+ value: number;
4868
+ };
4869
+ priceIncludingTax: {
4870
+ currency: string;
4871
+ value: number;
4872
+ };
4873
+ };
4874
+ product: {
4875
+ __typename: string;
4876
+ canonicalUrl: string;
4877
+ id: string;
4878
+ image: string;
4879
+ name: string;
4880
+ onlyXLeftInStock: number;
4881
+ priceRange: {
4882
+ maximumPrice: {
4883
+ regularPrice: {
4884
+ currency: string;
4885
+ value: number;
4886
+ };
4887
+ };
4888
+ };
4889
+ productType: string;
4890
+ sku: string;
4891
+ stockStatus: string;
4892
+ thumbnail: {
4893
+ label: string;
4894
+ url: string;
4895
+ };
4896
+ uid: string;
4897
+ urlKey: string;
4898
+ };
4899
+ productName: string;
4900
+ productSalePrice: {
4901
+ currency: string;
4902
+ value: number;
4903
+ };
4904
+ productSku: string;
4905
+ productUrlKey: string;
4906
+ quantityCanceled: number;
4907
+ quantityInvoiced: number;
4908
+ quantityOrdered: number;
4909
+ quantityRefunded: number;
4910
+ quantityReturnRequested: number;
4911
+ quantityReturned: number;
4912
+ quantityShipped: number;
4913
+ regularPrice: {
4914
+ currency: string;
4915
+ value: number;
4916
+ };
4917
+ selectedOptions: never[];
4918
+ status: string;
4919
+ thumbnail: {
4920
+ label: string;
4921
+ url: string;
4922
+ };
4923
+ total: {
4924
+ currency: string;
4925
+ value: number;
4926
+ };
4927
+ totalInclTax: {
4928
+ currency: string;
4929
+ value: number;
4930
+ };
4931
+ totalQuantity: number;
4932
+ type: string;
4933
+ };
4934
+ productName: string;
4935
+ productSku: string;
4936
+ quantityShipped: undefined;
4937
+ }[];
4938
+ tracking: {
4939
+ number: string;
4940
+ title: string;
4941
+ }[];
4942
+ } | {
4943
+ comments: never[];
4944
+ id: string;
4945
+ items: {
4946
+ id: string;
4947
+ orderItem: {
4948
+ taxCalculations: {
4949
+ includeAndExcludeTax: {
4950
+ originalPrice: {
4951
+ value: number;
4952
+ currency: string;
4953
+ };
4954
+ baseOriginalPrice: {
4955
+ value: number;
4956
+ currency: string;
4957
+ };
4958
+ baseDiscountedPrice: {
4959
+ value: number;
4960
+ currency: string;
4961
+ };
4962
+ baseExcludingTax: {
4963
+ value: number;
4964
+ currency: string;
4965
+ };
4966
+ };
4967
+ excludeTax: {
4968
+ originalPrice: {
4969
+ value: number;
4970
+ currency: string;
4971
+ };
4972
+ baseOriginalPrice: {
4973
+ value: number;
4974
+ currency: string;
4975
+ };
4976
+ baseDiscountedPrice: {
4977
+ value: number;
4978
+ currency: string;
4979
+ };
4980
+ baseExcludingTax: {
4981
+ value: number;
4982
+ currency: string;
4983
+ };
4984
+ };
4985
+ includeTax: {
4986
+ singleItemPrice: {
4987
+ value: number;
4988
+ currency: string;
4989
+ };
4990
+ baseOriginalPrice: {
4991
+ value: number;
4992
+ currency: string;
4993
+ };
4994
+ baseDiscountedPrice: {
4995
+ value: number;
4996
+ currency: string;
4997
+ };
4998
+ };
4999
+ };
5000
+ bundleOptions: null;
5001
+ configurableOptions: {
5002
+ Color: string;
5003
+ Size: string;
5004
+ };
5005
+ discounted: boolean;
5006
+ downloadableLinks: null;
5007
+ eligibleForReturn: boolean;
5008
+ giftCard: undefined;
5009
+ id: string;
5010
+ price: {
5011
+ currency: string;
5012
+ value: number;
5013
+ };
5014
+ priceInclTax: {
5015
+ currency: string;
5016
+ value: number;
5017
+ };
5018
+ prices: {
5019
+ discounts: never[];
5020
+ originalPrice: {
5021
+ currency: string;
5022
+ value: number;
5023
+ };
5024
+ originalPriceIncludingTax: {
5025
+ currency: string;
5026
+ value: number;
5027
+ };
5028
+ price: {
5029
+ currency: string;
5030
+ value: number;
5031
+ };
5032
+ priceIncludingTax: {
5033
+ currency: string;
5034
+ value: number;
5035
+ };
5036
+ };
5037
+ itemPrices: {
5038
+ discounts: never[];
5039
+ originalPrice: {
5040
+ currency: string;
5041
+ value: number;
5042
+ };
5043
+ originalPriceIncludingTax: {
5044
+ currency: string;
5045
+ value: number;
5046
+ };
5047
+ price: {
5048
+ currency: string;
5049
+ value: number;
5050
+ };
5051
+ priceIncludingTax: {
5052
+ currency: string;
5053
+ value: number;
5054
+ };
5055
+ };
5056
+ product: {
5057
+ __typename: string;
5058
+ canonicalUrl: string;
5059
+ id: string;
5060
+ image: string;
5061
+ name: string;
5062
+ onlyXLeftInStock: number;
5063
+ priceRange: {
5064
+ maximumPrice: {
5065
+ regularPrice: {
5066
+ currency: string;
5067
+ value: number;
5068
+ };
5069
+ };
5070
+ };
5071
+ productType: string;
5072
+ sku: string;
5073
+ stockStatus: string;
5074
+ thumbnail: {
5075
+ label: string;
5076
+ url: string;
5077
+ };
5078
+ uid: string;
5079
+ urlKey: string;
5080
+ };
5081
+ productName: string;
5082
+ productSalePrice: {
5083
+ currency: string;
5084
+ value: number;
5085
+ };
5086
+ productSku: string;
5087
+ productUrlKey: string;
5088
+ quantityCanceled: number;
5089
+ quantityInvoiced: number;
5090
+ quantityOrdered: number;
5091
+ quantityRefunded: number;
5092
+ quantityReturnRequested: number;
5093
+ quantityReturned: number;
5094
+ quantityShipped: number;
5095
+ regularPrice: {
5096
+ currency: string;
5097
+ value: number;
5098
+ };
5099
+ selectedOptions: {
5100
+ label: string;
5101
+ value: string;
5102
+ }[];
5103
+ status: string;
5104
+ thumbnail: {
5105
+ label: string;
5106
+ url: string;
5107
+ };
5108
+ total: {
5109
+ currency: string;
5110
+ value: number;
5111
+ };
5112
+ totalInclTax: {
5113
+ currency: string;
5114
+ value: number;
5115
+ };
5116
+ totalQuantity: number;
5117
+ type: string;
5118
+ };
5119
+ productName: string;
5120
+ productSku: string;
5121
+ quantityShipped: undefined;
5122
+ }[];
5123
+ tracking: {
5124
+ number: string;
5125
+ title: string;
5126
+ }[];
5127
+ })[];
5128
+ shipping: {
5129
+ amount: number;
5130
+ code: string;
5131
+ currency: string;
5132
+ };
5133
+ shippingAddress: {
5134
+ city: string;
5135
+ company: string;
5136
+ countryCode: string;
5137
+ fax: string;
5138
+ firstName: string;
5139
+ lastName: string;
5140
+ middleName: string;
5141
+ postCode: string;
5142
+ prefix: string;
5143
+ region: string;
5144
+ regionId: string;
5145
+ street: string[];
5146
+ suffix: string;
5147
+ telephone: string;
5148
+ vatId: string;
5149
+ country: string;
5150
+ customAttributes: never[];
5151
+ };
5152
+ shippingMethod: null;
5153
+ status: string;
5154
+ subtotalExclTax: {
5155
+ currency: string;
5156
+ value: number;
5157
+ };
5158
+ subtotalInclTax: {
5159
+ currency: string;
5160
+ value: number;
5161
+ };
5162
+ taxes: never[];
5163
+ token: string;
5164
+ totalGiftcard: {
5165
+ currency: string;
5166
+ value: number;
5167
+ };
5168
+ totalQuantity: number;
5169
+ totalShipping: {
5170
+ currency: string;
5171
+ value: number;
5172
+ };
5173
+ totalTax: {
5174
+ currency: string;
5175
+ value: number;
5176
+ };
5177
+ };
3745
5178
  //# sourceMappingURL=mock.config.d.ts.map