@dropins/storefront-order 0.1.0-alpha19 → 0.1.0-alpha20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/api/getAttributesList/getAttributesList.d.ts +5 -0
  2. package/api/getAttributesList/graphql/getAttributesList.graphql.d.ts +2 -0
  3. package/api/getAttributesList/index.d.ts +2 -0
  4. package/api/getCustomerOrdersReturn/getCustomerOrdersReturn.d.ts +1 -1
  5. package/api/getOrderDetailsById/getOrderDetailsById.d.ts +2 -1
  6. package/api/getOrderDetailsById/graphql/orderItemsFragment.graphql.d.ts +1 -1
  7. package/api/index.d.ts +2 -0
  8. package/api/requestReturn/graphql/fragments.d.ts +2 -0
  9. package/api/requestReturn/graphql/requestReturn.graphql.d.ts +2 -0
  10. package/api/requestReturn/index.d.ts +2 -0
  11. package/api/requestReturn/requestReturn.d.ts +9 -0
  12. package/api.js +32 -10
  13. package/chunks/CartSummaryItem.js +3 -0
  14. package/chunks/OrderCancel.js +1 -1
  15. package/chunks/OrderCancelForm.js +1 -1
  16. package/chunks/ReturnsListContent.js +1 -1
  17. package/chunks/convertCase.js +1 -1
  18. package/chunks/form.types.js +3 -0
  19. package/chunks/getAttributesForm.js +3 -3
  20. package/chunks/getCustomer.js +1 -1
  21. package/chunks/getCustomerOrdersReturn.js +5 -5
  22. package/chunks/getFormValues.js +3 -0
  23. package/chunks/getGuestOrder.graphql.js +6 -2
  24. package/chunks/requestReturn.js +52 -0
  25. package/chunks/returnOrdersHelper.js +1 -1
  26. package/chunks/transform-attributes-form.js +3 -0
  27. package/chunks/transform-order-details.js +4 -3
  28. package/components/ReturnOrderMessage/ReturnOrderMessage.d.ts +5 -0
  29. package/components/ReturnOrderMessage/index.d.ts +3 -0
  30. package/components/ReturnOrderProductList/ReturnOrderProductList.d.ts +5 -0
  31. package/components/ReturnOrderProductList/index.d.ts +3 -0
  32. package/components/ReturnReasonForm/ReturnReasonForm.d.ts +5 -0
  33. package/components/ReturnReasonForm/index.d.ts +3 -0
  34. package/components/index.d.ts +3 -0
  35. package/configs/mock.config.d.ts +1169 -0
  36. package/containers/CreateReturn/CreateReturn.d.ts +5 -0
  37. package/containers/CreateReturn/index.d.ts +3 -0
  38. package/containers/CreateReturn.d.ts +3 -0
  39. package/containers/CreateReturn.js +3 -0
  40. package/containers/CustomerDetails.js +1 -1
  41. package/containers/OrderCostSummary.js +1 -1
  42. package/containers/OrderProductList.js +1 -1
  43. package/containers/OrderReturns.js +1 -1
  44. package/containers/OrderSearch.js +1 -1
  45. package/containers/OrderStatus.js +2 -2
  46. package/containers/ReturnsList.js +1 -1
  47. package/containers/ShippingStatus.js +1 -1
  48. package/containers/index.d.ts +1 -0
  49. package/data/models/attributes-form.d.ts +2 -21
  50. package/data/models/order-details.d.ts +8 -2
  51. package/data/transforms/transform-attributes-form.d.ts +3 -2
  52. package/hooks/containers/useCreateReturn.d.ts +19 -0
  53. package/hooks/containers/useReturnsList.d.ts +2 -1
  54. package/hooks/index.d.ts +3 -1
  55. package/hooks/useInLineAlert.d.ts +7 -0
  56. package/i18n/en_US.json.d.ts +28 -4
  57. package/lib/returnOrdersHelper.d.ts +82 -0
  58. package/package.json +1 -1
  59. package/render.js +2 -2
  60. package/types/api/getAttributesList.types.d.ts +28 -0
  61. package/types/api/getOrderDetails.types.d.ts +8 -0
  62. package/types/api/requestReturn.types.d.ts +33 -0
  63. package/types/createReturn.types.d.ts +69 -0
  64. package/types/form.types.d.ts +1 -1
  65. package/types/index.d.ts +4 -0
  66. package/types/notification.types.d.ts +14 -0
  67. package/types/orderProductList.types.d.ts +6 -3
  68. package/types/returnsList.types.d.ts +3 -1
@@ -1724,4 +1724,1173 @@ export declare const translationsOrderCostSummaryMock: {
1724
1724
  discountSubtitle: string;
1725
1725
  total: string;
1726
1726
  };
1727
+ export declare const createReturnOrderMock: {
1728
+ grandTotal: {
1729
+ value: number;
1730
+ currency: string;
1731
+ };
1732
+ totalGiftcard: {
1733
+ currency: string;
1734
+ value: number;
1735
+ };
1736
+ subtotal: {
1737
+ currency: string;
1738
+ value: number;
1739
+ };
1740
+ taxes: {
1741
+ amount: {
1742
+ currency: string;
1743
+ value: number;
1744
+ };
1745
+ rate: number;
1746
+ title: string;
1747
+ }[];
1748
+ totalTax: {
1749
+ currency: string;
1750
+ value: number;
1751
+ };
1752
+ totalShipping: {
1753
+ currency: string;
1754
+ value: number;
1755
+ };
1756
+ discounts: {
1757
+ amount: {
1758
+ currency: string;
1759
+ value: number;
1760
+ };
1761
+ label: string;
1762
+ }[];
1763
+ email: string;
1764
+ availableActions: string[];
1765
+ status: string;
1766
+ number: string;
1767
+ id: string;
1768
+ orderDate: string;
1769
+ orderStatusChangeDate: string;
1770
+ carrier: string;
1771
+ shippingMethod: string;
1772
+ isVirtual: boolean;
1773
+ returns: {
1774
+ createdReturnAt: string;
1775
+ returnStatus: string;
1776
+ token: string;
1777
+ orderNumber: string;
1778
+ returnNumber: string;
1779
+ items: ({
1780
+ uid: string;
1781
+ quantity: number;
1782
+ status: string;
1783
+ requestQuantity: number;
1784
+ type: string;
1785
+ eligibleForReturn: boolean;
1786
+ productSku: string;
1787
+ productName: string;
1788
+ productUrlKey: string;
1789
+ quantityCanceled: number;
1790
+ quantityInvoiced: number;
1791
+ quantityOrdered: number;
1792
+ quantityRefunded: number;
1793
+ quantityReturned: number;
1794
+ quantityShipped: number;
1795
+ id: string;
1796
+ discounted: boolean;
1797
+ total: {
1798
+ value: number;
1799
+ currency: string;
1800
+ };
1801
+ totalInclTax: {
1802
+ value: number;
1803
+ currency: string;
1804
+ };
1805
+ price: {
1806
+ value: number;
1807
+ currency: string;
1808
+ };
1809
+ priceInclTax: {
1810
+ value: number;
1811
+ currency: string;
1812
+ };
1813
+ totalQuantity: number;
1814
+ regularPrice: {
1815
+ value: number;
1816
+ currency: string;
1817
+ };
1818
+ product: {
1819
+ __typename: string;
1820
+ canonicalUrl: string;
1821
+ urlKey: string;
1822
+ uid: string;
1823
+ name: string;
1824
+ sku: string;
1825
+ onlyXLeftInStock: null;
1826
+ stockStatus: string;
1827
+ thumbnail: {
1828
+ label: string;
1829
+ url: string;
1830
+ };
1831
+ priceRange: {
1832
+ maximumPrice: {
1833
+ regularPrice: {
1834
+ currency: string;
1835
+ value: number;
1836
+ };
1837
+ };
1838
+ };
1839
+ id: string;
1840
+ image: string;
1841
+ productType: string;
1842
+ };
1843
+ thumbnail: {
1844
+ label: string;
1845
+ url: string;
1846
+ };
1847
+ configurableOptions: {
1848
+ Size?: undefined;
1849
+ Color?: undefined;
1850
+ };
1851
+ bundleOptions: null;
1852
+ itemPrices: {
1853
+ priceIncludingTax: {
1854
+ value: number;
1855
+ currency: string;
1856
+ };
1857
+ originalPrice: {
1858
+ value: number;
1859
+ currency: string;
1860
+ };
1861
+ originalPriceIncludingTax: {
1862
+ value: number;
1863
+ currency: string;
1864
+ };
1865
+ price: {
1866
+ value: number;
1867
+ currency: string;
1868
+ };
1869
+ };
1870
+ downloadableLinks: null;
1871
+ } | {
1872
+ uid: string;
1873
+ quantity: number;
1874
+ status: string;
1875
+ requestQuantity: number;
1876
+ type: string;
1877
+ eligibleForReturn: boolean;
1878
+ productSku: string;
1879
+ productName: string;
1880
+ productUrlKey: string;
1881
+ quantityCanceled: number;
1882
+ quantityInvoiced: number;
1883
+ quantityOrdered: number;
1884
+ quantityRefunded: number;
1885
+ quantityReturned: number;
1886
+ quantityShipped: number;
1887
+ id: string;
1888
+ discounted: boolean;
1889
+ total: {
1890
+ value: number;
1891
+ currency: string;
1892
+ };
1893
+ totalInclTax: {
1894
+ value: number;
1895
+ currency: string;
1896
+ };
1897
+ price: {
1898
+ value: number;
1899
+ currency: string;
1900
+ };
1901
+ priceInclTax: {
1902
+ value: number;
1903
+ currency: string;
1904
+ };
1905
+ totalQuantity: number;
1906
+ regularPrice: {
1907
+ value: number;
1908
+ currency: string;
1909
+ };
1910
+ product: {
1911
+ __typename: string;
1912
+ canonicalUrl: string;
1913
+ urlKey: string;
1914
+ uid: string;
1915
+ name: string;
1916
+ sku: string;
1917
+ onlyXLeftInStock: null;
1918
+ stockStatus: string;
1919
+ thumbnail: {
1920
+ label: string;
1921
+ url: string;
1922
+ };
1923
+ priceRange: {
1924
+ maximumPrice: {
1925
+ regularPrice: {
1926
+ currency: string;
1927
+ value: number;
1928
+ };
1929
+ };
1930
+ };
1931
+ id: string;
1932
+ image: string;
1933
+ productType: string;
1934
+ };
1935
+ thumbnail: {
1936
+ label: string;
1937
+ url: string;
1938
+ };
1939
+ configurableOptions: {
1940
+ Size: string;
1941
+ Color: string;
1942
+ };
1943
+ bundleOptions: null;
1944
+ itemPrices: {
1945
+ priceIncludingTax: {
1946
+ value: number;
1947
+ currency: string;
1948
+ };
1949
+ originalPrice: {
1950
+ value: number;
1951
+ currency: string;
1952
+ };
1953
+ originalPriceIncludingTax: {
1954
+ value: number;
1955
+ currency: string;
1956
+ };
1957
+ price: {
1958
+ value: number;
1959
+ currency: string;
1960
+ };
1961
+ };
1962
+ downloadableLinks: null;
1963
+ })[];
1964
+ tracking: never[];
1965
+ }[];
1966
+ itemsEligibleForReturn: ({
1967
+ type: string;
1968
+ eligibleForReturn: boolean;
1969
+ productSku: string;
1970
+ productName: string;
1971
+ productUrlKey: string;
1972
+ quantityCanceled: number;
1973
+ quantityInvoiced: number;
1974
+ quantityOrdered: number;
1975
+ quantityRefunded: number;
1976
+ quantityReturned: number;
1977
+ quantityShipped: number;
1978
+ id: string;
1979
+ discounted: boolean;
1980
+ total: {
1981
+ value: number;
1982
+ currency: string;
1983
+ };
1984
+ totalInclTax: {
1985
+ value: number;
1986
+ currency: string;
1987
+ };
1988
+ price: {
1989
+ value: number;
1990
+ currency: string;
1991
+ };
1992
+ priceInclTax: {
1993
+ value: number;
1994
+ currency: string;
1995
+ };
1996
+ totalQuantity: number;
1997
+ regularPrice: {
1998
+ value: number;
1999
+ currency: string;
2000
+ };
2001
+ product: {
2002
+ __typename: string;
2003
+ canonicalUrl: string;
2004
+ urlKey: string;
2005
+ uid: string;
2006
+ name: string;
2007
+ sku: string;
2008
+ onlyXLeftInStock: null;
2009
+ stockStatus: string;
2010
+ thumbnail: {
2011
+ label: string;
2012
+ url: string;
2013
+ };
2014
+ priceRange: {
2015
+ maximumPrice: {
2016
+ regularPrice: {
2017
+ currency: string;
2018
+ value: number;
2019
+ };
2020
+ };
2021
+ };
2022
+ id: string;
2023
+ image: string;
2024
+ productType: string;
2025
+ };
2026
+ thumbnail: {
2027
+ label: string;
2028
+ url: string;
2029
+ };
2030
+ configurableOptions: {
2031
+ Color?: undefined;
2032
+ Size?: undefined;
2033
+ };
2034
+ bundleOptions: null;
2035
+ itemPrices: {
2036
+ priceIncludingTax: {
2037
+ value: number;
2038
+ currency: string;
2039
+ };
2040
+ originalPrice: {
2041
+ value: number;
2042
+ currency: string;
2043
+ };
2044
+ originalPriceIncludingTax: {
2045
+ value: number;
2046
+ currency: string;
2047
+ };
2048
+ price: {
2049
+ value: number;
2050
+ currency: string;
2051
+ };
2052
+ };
2053
+ downloadableLinks: null;
2054
+ } | {
2055
+ type: string;
2056
+ eligibleForReturn: boolean;
2057
+ productSku: string;
2058
+ productName: string;
2059
+ productUrlKey: string;
2060
+ quantityCanceled: number;
2061
+ quantityInvoiced: number;
2062
+ quantityOrdered: number;
2063
+ quantityRefunded: number;
2064
+ quantityReturned: number;
2065
+ quantityShipped: number;
2066
+ id: string;
2067
+ discounted: boolean;
2068
+ total: {
2069
+ value: number;
2070
+ currency: string;
2071
+ };
2072
+ totalInclTax: {
2073
+ value: number;
2074
+ currency: string;
2075
+ };
2076
+ price: {
2077
+ value: number;
2078
+ currency: string;
2079
+ };
2080
+ priceInclTax: {
2081
+ value: number;
2082
+ currency: string;
2083
+ };
2084
+ totalQuantity: number;
2085
+ regularPrice: {
2086
+ value: number;
2087
+ currency: string;
2088
+ };
2089
+ product: {
2090
+ __typename: string;
2091
+ canonicalUrl: string;
2092
+ urlKey: string;
2093
+ uid: string;
2094
+ name: string;
2095
+ sku: string;
2096
+ onlyXLeftInStock: null;
2097
+ stockStatus: string;
2098
+ thumbnail: {
2099
+ label: string;
2100
+ url: string;
2101
+ };
2102
+ priceRange: {
2103
+ maximumPrice: {
2104
+ regularPrice: {
2105
+ currency: string;
2106
+ value: number;
2107
+ };
2108
+ };
2109
+ };
2110
+ id: string;
2111
+ image: string;
2112
+ productType: string;
2113
+ };
2114
+ thumbnail: {
2115
+ label: string;
2116
+ url: string;
2117
+ };
2118
+ configurableOptions: {
2119
+ Color: string;
2120
+ Size: string;
2121
+ };
2122
+ bundleOptions: null;
2123
+ itemPrices: {
2124
+ priceIncludingTax: {
2125
+ value: number;
2126
+ currency: string;
2127
+ };
2128
+ originalPrice: {
2129
+ value: number;
2130
+ currency: string;
2131
+ };
2132
+ originalPriceIncludingTax: {
2133
+ value: number;
2134
+ currency: string;
2135
+ };
2136
+ price: {
2137
+ value: number;
2138
+ currency: string;
2139
+ };
2140
+ };
2141
+ downloadableLinks: null;
2142
+ } | {
2143
+ type: string;
2144
+ eligibleForReturn: boolean;
2145
+ productSku: string;
2146
+ productName: string;
2147
+ productUrlKey: string;
2148
+ quantityCanceled: number;
2149
+ quantityInvoiced: number;
2150
+ quantityOrdered: number;
2151
+ quantityRefunded: number;
2152
+ quantityReturned: number;
2153
+ quantityShipped: number;
2154
+ id: string;
2155
+ discounted: boolean;
2156
+ total: {
2157
+ value: number;
2158
+ currency: string;
2159
+ };
2160
+ totalInclTax: {
2161
+ value: number;
2162
+ currency: string;
2163
+ };
2164
+ price: {
2165
+ value: number;
2166
+ currency: string;
2167
+ };
2168
+ priceInclTax: {
2169
+ value: number;
2170
+ currency: string;
2171
+ };
2172
+ totalQuantity: number;
2173
+ regularPrice: {
2174
+ value: number;
2175
+ currency: string;
2176
+ };
2177
+ product: {
2178
+ __typename: string;
2179
+ canonicalUrl: string;
2180
+ urlKey: string;
2181
+ uid: string;
2182
+ name: string;
2183
+ sku: string;
2184
+ onlyXLeftInStock: null;
2185
+ stockStatus: string;
2186
+ thumbnail: {
2187
+ label: string;
2188
+ url: string;
2189
+ };
2190
+ priceRange: {
2191
+ maximumPrice: {
2192
+ regularPrice: {
2193
+ currency: string;
2194
+ value: number;
2195
+ };
2196
+ };
2197
+ };
2198
+ id: string;
2199
+ image: string;
2200
+ productType: string;
2201
+ };
2202
+ thumbnail: {
2203
+ label: string;
2204
+ url: string;
2205
+ };
2206
+ configurableOptions: {
2207
+ Color?: undefined;
2208
+ Size?: undefined;
2209
+ };
2210
+ bundleOptions: {
2211
+ 'Sprite Stasis Ball': string;
2212
+ 'Sprite Foam Yoga Brick': string;
2213
+ 'Sprite Yoga Strap': string;
2214
+ 'Sprite Foam Roller': string;
2215
+ };
2216
+ itemPrices: {
2217
+ priceIncludingTax: {
2218
+ value: number;
2219
+ currency: string;
2220
+ };
2221
+ originalPrice: {
2222
+ value: number;
2223
+ currency: string;
2224
+ };
2225
+ originalPriceIncludingTax: {
2226
+ value: number;
2227
+ currency: string;
2228
+ };
2229
+ price: {
2230
+ value: number;
2231
+ currency: string;
2232
+ };
2233
+ };
2234
+ downloadableLinks: null;
2235
+ })[];
2236
+ coupons: never[];
2237
+ shipments: {
2238
+ id: string;
2239
+ number: string;
2240
+ tracking: never[];
2241
+ comments: never[];
2242
+ items: {
2243
+ id: string;
2244
+ productSku: string;
2245
+ productName: string;
2246
+ orderItem: {
2247
+ __typename: string;
2248
+ status: string;
2249
+ productSku: string;
2250
+ eligibleForReturn: boolean;
2251
+ productName: string;
2252
+ productUrlKey: string;
2253
+ id: string;
2254
+ quantityOrdered: number;
2255
+ quantityShipped: number;
2256
+ quantityCanceled: number;
2257
+ quantityInvoiced: number;
2258
+ quantityRefunded: number;
2259
+ productSalePrice: {
2260
+ value: number;
2261
+ currency: string;
2262
+ };
2263
+ selectedOptions: {
2264
+ label: string;
2265
+ value: string;
2266
+ }[];
2267
+ product: {
2268
+ __typename: string;
2269
+ canonicalUrl: null;
2270
+ urlKey: string;
2271
+ uid: string;
2272
+ name: string;
2273
+ sku: string;
2274
+ onlyXLeftInStock: null;
2275
+ stockStatus: string;
2276
+ thumbnail: {
2277
+ label: string;
2278
+ url: string;
2279
+ };
2280
+ priceRange: {
2281
+ maximumPrice: {
2282
+ regularPrice: {
2283
+ currency: string;
2284
+ value: number;
2285
+ };
2286
+ };
2287
+ };
2288
+ };
2289
+ prices: {
2290
+ priceIncludingTax: {
2291
+ value: number;
2292
+ currency: string;
2293
+ };
2294
+ originalPrice: {
2295
+ value: number;
2296
+ currency: string;
2297
+ };
2298
+ originalPriceIncludingTax: {
2299
+ value: number;
2300
+ currency: string;
2301
+ };
2302
+ price: {
2303
+ value: number;
2304
+ currency: string;
2305
+ };
2306
+ };
2307
+ };
2308
+ }[];
2309
+ }[];
2310
+ payments: {
2311
+ code: string;
2312
+ name: string;
2313
+ }[];
2314
+ shippingAddress: {
2315
+ city: string;
2316
+ company: null;
2317
+ countryCode: string;
2318
+ fax: null;
2319
+ firstName: string;
2320
+ lastName: string;
2321
+ middleName: null;
2322
+ postCode: string;
2323
+ prefix: null;
2324
+ region: string;
2325
+ regionId: string;
2326
+ street: string[];
2327
+ suffix: null;
2328
+ telephone: string;
2329
+ vatId: string;
2330
+ };
2331
+ billingAddress: {
2332
+ city: string;
2333
+ company: null;
2334
+ countryCode: string;
2335
+ fax: null;
2336
+ firstName: string;
2337
+ lastName: string;
2338
+ middleName: null;
2339
+ postCode: string;
2340
+ prefix: null;
2341
+ region: string;
2342
+ regionId: string;
2343
+ street: string[];
2344
+ suffix: null;
2345
+ telephone: string;
2346
+ vatId: string;
2347
+ };
2348
+ items: ({
2349
+ type: string;
2350
+ eligibleForReturn: boolean;
2351
+ productSku: string;
2352
+ productName: string;
2353
+ productUrlKey: string;
2354
+ quantityCanceled: number;
2355
+ quantityInvoiced: number;
2356
+ quantityOrdered: number;
2357
+ quantityRefunded: number;
2358
+ quantityReturned: number;
2359
+ quantityShipped: number;
2360
+ id: string;
2361
+ discounted: boolean;
2362
+ total: {
2363
+ value: number;
2364
+ currency: string;
2365
+ };
2366
+ totalInclTax: {
2367
+ value: number;
2368
+ currency: string;
2369
+ };
2370
+ price: {
2371
+ value: number;
2372
+ currency: string;
2373
+ };
2374
+ priceInclTax: {
2375
+ value: number;
2376
+ currency: string;
2377
+ };
2378
+ totalQuantity: number;
2379
+ regularPrice: {
2380
+ value: number;
2381
+ currency: string;
2382
+ };
2383
+ product: {
2384
+ __typename: string;
2385
+ canonicalUrl: string;
2386
+ urlKey: string;
2387
+ uid: string;
2388
+ name: string;
2389
+ sku: string;
2390
+ onlyXLeftInStock: null;
2391
+ stockStatus: string;
2392
+ thumbnail: {
2393
+ label: string;
2394
+ url: string;
2395
+ };
2396
+ priceRange: {
2397
+ maximumPrice: {
2398
+ regularPrice: {
2399
+ currency: string;
2400
+ value: number;
2401
+ };
2402
+ };
2403
+ };
2404
+ id: string;
2405
+ image: string;
2406
+ productType: string;
2407
+ };
2408
+ thumbnail: {
2409
+ label: string;
2410
+ url: string;
2411
+ };
2412
+ configurableOptions: {
2413
+ Color?: undefined;
2414
+ Size?: undefined;
2415
+ };
2416
+ bundleOptions: null;
2417
+ itemPrices: {
2418
+ priceIncludingTax: {
2419
+ value: number;
2420
+ currency: string;
2421
+ };
2422
+ originalPrice: {
2423
+ value: number;
2424
+ currency: string;
2425
+ };
2426
+ originalPriceIncludingTax: {
2427
+ value: number;
2428
+ currency: string;
2429
+ };
2430
+ price: {
2431
+ value: number;
2432
+ currency: string;
2433
+ };
2434
+ };
2435
+ downloadableLinks: null;
2436
+ } | {
2437
+ type: string;
2438
+ eligibleForReturn: boolean;
2439
+ productSku: string;
2440
+ productName: string;
2441
+ productUrlKey: string;
2442
+ quantityCanceled: number;
2443
+ quantityInvoiced: number;
2444
+ quantityOrdered: number;
2445
+ quantityRefunded: number;
2446
+ quantityReturned: number;
2447
+ quantityShipped: number;
2448
+ id: string;
2449
+ discounted: boolean;
2450
+ total: {
2451
+ value: number;
2452
+ currency: string;
2453
+ };
2454
+ totalInclTax: {
2455
+ value: number;
2456
+ currency: string;
2457
+ };
2458
+ price: {
2459
+ value: number;
2460
+ currency: string;
2461
+ };
2462
+ priceInclTax: {
2463
+ value: number;
2464
+ currency: string;
2465
+ };
2466
+ totalQuantity: number;
2467
+ regularPrice: {
2468
+ value: number;
2469
+ currency: string;
2470
+ };
2471
+ product: {
2472
+ __typename: string;
2473
+ canonicalUrl: string;
2474
+ urlKey: string;
2475
+ uid: string;
2476
+ name: string;
2477
+ sku: string;
2478
+ onlyXLeftInStock: null;
2479
+ stockStatus: string;
2480
+ thumbnail: {
2481
+ label: string;
2482
+ url: string;
2483
+ };
2484
+ priceRange: {
2485
+ maximumPrice: {
2486
+ regularPrice: {
2487
+ currency: string;
2488
+ value: number;
2489
+ };
2490
+ };
2491
+ };
2492
+ id: string;
2493
+ image: string;
2494
+ productType: string;
2495
+ };
2496
+ thumbnail: {
2497
+ label: string;
2498
+ url: string;
2499
+ };
2500
+ configurableOptions: {
2501
+ Color: string;
2502
+ Size: string;
2503
+ };
2504
+ bundleOptions: null;
2505
+ itemPrices: {
2506
+ priceIncludingTax: {
2507
+ value: number;
2508
+ currency: string;
2509
+ };
2510
+ originalPrice: {
2511
+ value: number;
2512
+ currency: string;
2513
+ };
2514
+ originalPriceIncludingTax: {
2515
+ value: number;
2516
+ currency: string;
2517
+ };
2518
+ price: {
2519
+ value: number;
2520
+ currency: string;
2521
+ };
2522
+ };
2523
+ downloadableLinks: null;
2524
+ } | {
2525
+ type: string;
2526
+ eligibleForReturn: boolean;
2527
+ productSku: string;
2528
+ productName: string;
2529
+ productUrlKey: string;
2530
+ quantityCanceled: number;
2531
+ quantityInvoiced: number;
2532
+ quantityOrdered: number;
2533
+ quantityRefunded: number;
2534
+ quantityReturned: number;
2535
+ quantityShipped: number;
2536
+ id: string;
2537
+ discounted: boolean;
2538
+ total: {
2539
+ value: number;
2540
+ currency: string;
2541
+ };
2542
+ totalInclTax: {
2543
+ value: number;
2544
+ currency: string;
2545
+ };
2546
+ price: {
2547
+ value: number;
2548
+ currency: string;
2549
+ };
2550
+ priceInclTax: {
2551
+ value: number;
2552
+ currency: string;
2553
+ };
2554
+ totalQuantity: number;
2555
+ regularPrice: {
2556
+ value: number;
2557
+ currency: string;
2558
+ };
2559
+ product: {
2560
+ __typename: string;
2561
+ canonicalUrl: string;
2562
+ urlKey: string;
2563
+ uid: string;
2564
+ name: string;
2565
+ sku: string;
2566
+ onlyXLeftInStock: null;
2567
+ stockStatus: string;
2568
+ thumbnail: {
2569
+ label: string;
2570
+ url: string;
2571
+ };
2572
+ priceRange: {
2573
+ maximumPrice: {
2574
+ regularPrice: {
2575
+ currency: string;
2576
+ value: number;
2577
+ };
2578
+ };
2579
+ };
2580
+ id: string;
2581
+ image: string;
2582
+ productType: string;
2583
+ };
2584
+ thumbnail: {
2585
+ label: string;
2586
+ url: string;
2587
+ };
2588
+ configurableOptions: {
2589
+ Color?: undefined;
2590
+ Size?: undefined;
2591
+ };
2592
+ bundleOptions: {
2593
+ 'Sprite Stasis Ball': string;
2594
+ 'Sprite Foam Yoga Brick': string;
2595
+ 'Sprite Yoga Strap': string;
2596
+ 'Sprite Foam Roller': string;
2597
+ };
2598
+ itemPrices: {
2599
+ priceIncludingTax: {
2600
+ value: number;
2601
+ currency: string;
2602
+ };
2603
+ originalPrice: {
2604
+ value: number;
2605
+ currency: string;
2606
+ };
2607
+ originalPriceIncludingTax: {
2608
+ value: number;
2609
+ currency: string;
2610
+ };
2611
+ price: {
2612
+ value: number;
2613
+ currency: string;
2614
+ };
2615
+ };
2616
+ downloadableLinks: null;
2617
+ })[];
2618
+ itemsEligibleForReturn2: ({
2619
+ type: string;
2620
+ eligibleForReturn: boolean;
2621
+ productSku: string;
2622
+ productName: string;
2623
+ productUrlKey: string;
2624
+ quantityCanceled: number;
2625
+ quantityInvoiced: number;
2626
+ quantityOrdered: number;
2627
+ quantityRefunded: number;
2628
+ quantityReturned: number;
2629
+ quantityShipped: number;
2630
+ id: string;
2631
+ discounted: boolean;
2632
+ total: {
2633
+ value: number;
2634
+ currency: string;
2635
+ };
2636
+ totalInclTax: {
2637
+ value: number;
2638
+ currency: string;
2639
+ };
2640
+ price: {
2641
+ value: number;
2642
+ currency: string;
2643
+ };
2644
+ priceInclTax: {
2645
+ value: number;
2646
+ currency: string;
2647
+ };
2648
+ totalQuantity: number;
2649
+ regularPrice: {
2650
+ value: number;
2651
+ currency: string;
2652
+ };
2653
+ product: {
2654
+ __typename: string;
2655
+ canonicalUrl: string;
2656
+ urlKey: string;
2657
+ uid: string;
2658
+ name: string;
2659
+ sku: string;
2660
+ onlyXLeftInStock: null;
2661
+ stockStatus: string;
2662
+ thumbnail: {
2663
+ label: string;
2664
+ url: string;
2665
+ };
2666
+ priceRange: {
2667
+ maximumPrice: {
2668
+ regularPrice: {
2669
+ currency: string;
2670
+ value: number;
2671
+ };
2672
+ };
2673
+ };
2674
+ id: string;
2675
+ image: string;
2676
+ productType: string;
2677
+ };
2678
+ thumbnail: {
2679
+ label: string;
2680
+ url: string;
2681
+ };
2682
+ configurableOptions: {
2683
+ Color?: undefined;
2684
+ Size?: undefined;
2685
+ };
2686
+ bundleOptions: null;
2687
+ itemPrices: {
2688
+ priceIncludingTax: {
2689
+ value: number;
2690
+ currency: string;
2691
+ };
2692
+ originalPrice: {
2693
+ value: number;
2694
+ currency: string;
2695
+ };
2696
+ originalPriceIncludingTax: {
2697
+ value: number;
2698
+ currency: string;
2699
+ };
2700
+ price: {
2701
+ value: number;
2702
+ currency: string;
2703
+ };
2704
+ };
2705
+ downloadableLinks: null;
2706
+ } | {
2707
+ type: string;
2708
+ eligibleForReturn: boolean;
2709
+ productSku: string;
2710
+ productName: string;
2711
+ productUrlKey: string;
2712
+ quantityCanceled: number;
2713
+ quantityInvoiced: number;
2714
+ quantityOrdered: number;
2715
+ quantityRefunded: number;
2716
+ quantityReturned: number;
2717
+ quantityShipped: number;
2718
+ id: string;
2719
+ discounted: boolean;
2720
+ total: {
2721
+ value: number;
2722
+ currency: string;
2723
+ };
2724
+ totalInclTax: {
2725
+ value: number;
2726
+ currency: string;
2727
+ };
2728
+ price: {
2729
+ value: number;
2730
+ currency: string;
2731
+ };
2732
+ priceInclTax: {
2733
+ value: number;
2734
+ currency: string;
2735
+ };
2736
+ totalQuantity: number;
2737
+ regularPrice: {
2738
+ value: number;
2739
+ currency: string;
2740
+ };
2741
+ product: {
2742
+ __typename: string;
2743
+ canonicalUrl: string;
2744
+ urlKey: string;
2745
+ uid: string;
2746
+ name: string;
2747
+ sku: string;
2748
+ onlyXLeftInStock: null;
2749
+ stockStatus: string;
2750
+ thumbnail: {
2751
+ label: string;
2752
+ url: string;
2753
+ };
2754
+ priceRange: {
2755
+ maximumPrice: {
2756
+ regularPrice: {
2757
+ currency: string;
2758
+ value: number;
2759
+ };
2760
+ };
2761
+ };
2762
+ id: string;
2763
+ image: string;
2764
+ productType: string;
2765
+ };
2766
+ thumbnail: {
2767
+ label: string;
2768
+ url: string;
2769
+ };
2770
+ configurableOptions: {
2771
+ Color: string;
2772
+ Size: string;
2773
+ };
2774
+ bundleOptions: null;
2775
+ itemPrices: {
2776
+ priceIncludingTax: {
2777
+ value: number;
2778
+ currency: string;
2779
+ };
2780
+ originalPrice: {
2781
+ value: number;
2782
+ currency: string;
2783
+ };
2784
+ originalPriceIncludingTax: {
2785
+ value: number;
2786
+ currency: string;
2787
+ };
2788
+ price: {
2789
+ value: number;
2790
+ currency: string;
2791
+ };
2792
+ };
2793
+ downloadableLinks: null;
2794
+ } | {
2795
+ type: string;
2796
+ eligibleForReturn: boolean;
2797
+ productSku: string;
2798
+ productName: string;
2799
+ productUrlKey: string;
2800
+ quantityCanceled: number;
2801
+ quantityInvoiced: number;
2802
+ quantityOrdered: number;
2803
+ quantityRefunded: number;
2804
+ quantityReturned: number;
2805
+ quantityShipped: number;
2806
+ id: string;
2807
+ discounted: boolean;
2808
+ total: {
2809
+ value: number;
2810
+ currency: string;
2811
+ };
2812
+ totalInclTax: {
2813
+ value: number;
2814
+ currency: string;
2815
+ };
2816
+ price: {
2817
+ value: number;
2818
+ currency: string;
2819
+ };
2820
+ priceInclTax: {
2821
+ value: number;
2822
+ currency: string;
2823
+ };
2824
+ totalQuantity: number;
2825
+ regularPrice: {
2826
+ value: number;
2827
+ currency: string;
2828
+ };
2829
+ product: {
2830
+ __typename: string;
2831
+ canonicalUrl: string;
2832
+ urlKey: string;
2833
+ uid: string;
2834
+ name: string;
2835
+ sku: string;
2836
+ onlyXLeftInStock: null;
2837
+ stockStatus: string;
2838
+ thumbnail: {
2839
+ label: string;
2840
+ url: string;
2841
+ };
2842
+ priceRange: {
2843
+ maximumPrice: {
2844
+ regularPrice: {
2845
+ currency: string;
2846
+ value: number;
2847
+ };
2848
+ };
2849
+ };
2850
+ id: string;
2851
+ image: string;
2852
+ productType: string;
2853
+ };
2854
+ thumbnail: {
2855
+ label: string;
2856
+ url: string;
2857
+ };
2858
+ configurableOptions: {
2859
+ Color?: undefined;
2860
+ Size?: undefined;
2861
+ };
2862
+ bundleOptions: {
2863
+ 'Sprite Stasis Ball': string;
2864
+ 'Sprite Foam Yoga Brick': string;
2865
+ 'Sprite Yoga Strap': string;
2866
+ 'Sprite Foam Roller': string;
2867
+ };
2868
+ itemPrices: {
2869
+ priceIncludingTax: {
2870
+ value: number;
2871
+ currency: string;
2872
+ };
2873
+ originalPrice: {
2874
+ value: number;
2875
+ currency: string;
2876
+ };
2877
+ originalPriceIncludingTax: {
2878
+ value: number;
2879
+ currency: string;
2880
+ };
2881
+ price: {
2882
+ value: number;
2883
+ currency: string;
2884
+ };
2885
+ };
2886
+ downloadableLinks: null;
2887
+ })[];
2888
+ totalQuantity: number;
2889
+ shipping: {
2890
+ amount: number;
2891
+ currency: string;
2892
+ code: string;
2893
+ };
2894
+ returnNumber: string;
2895
+ };
1727
2896
  //# sourceMappingURL=mock.config.d.ts.map