@jetshop/core 5.13.11-0 → 5.14.0-alpha.abd04298

Sign up to get free protection for your applications and to get access to all the features.
Files changed (557) hide show
  1. package/ChannelHandler/CategoryPathnameRedirectQuery.gql +9 -9
  2. package/ChannelHandler/ChannelHandler.d.ts +52 -50
  3. package/ChannelHandler/ChannelHandler.js +114 -108
  4. package/ChannelHandler/ChannelHandler.js.map +1 -1
  5. package/ChannelHandler/PagePathnameRedirectQuery.gql +9 -9
  6. package/ChannelHandler/PreserveRedirectRouteQuery.gql +19 -19
  7. package/ChannelHandler/ProductPathnameRedirectQuery.gql +9 -9
  8. package/ChannelHandler/StartPagePathnameRedirectQuery.gql +9 -9
  9. package/ChannelHandler/channelUtils.d.ts +72 -68
  10. package/ChannelHandler/channelUtils.js +311 -266
  11. package/ChannelHandler/channelUtils.js.map +1 -1
  12. package/ChannelHandler/redirectUtils.d.ts +4 -4
  13. package/ChannelHandler/redirectUtils.js +49 -49
  14. package/ChannelHandler/redirectUtils.test.js +514 -538
  15. package/ChannelHandler/redirectUtilsGroupedChannels.test.js +784 -0
  16. package/analytics/Analytics.d.ts +18 -18
  17. package/analytics/Analytics.js +56 -56
  18. package/analytics/AnalyticsProvider.d.ts +42 -42
  19. package/analytics/AnalyticsProvider.js +177 -177
  20. package/analytics/AnalyticsProvider.js.map +1 -1
  21. package/analytics/deprecatedTracking.d.ts +17 -17
  22. package/analytics/deprecatedTracking.js +32 -32
  23. package/analytics/integrations/ga4.d.ts +23 -23
  24. package/analytics/integrations/ga4.js +144 -145
  25. package/analytics/integrations/ga4.js.map +1 -1
  26. package/analytics/integrations/gtag/gtag.d.ts +8 -8
  27. package/analytics/integrations/gtag/gtag.js +180 -180
  28. package/analytics/integrations/gtag/index.d.ts +1 -1
  29. package/analytics/integrations/gtag/index.js +1 -1
  30. package/analytics/integrations/gtm/index.d.ts +12 -12
  31. package/analytics/integrations/gtm/index.js +200 -200
  32. package/analytics/integrations/gtm/referrerModifier.d.ts +1 -1
  33. package/analytics/integrations/gtm/referrerModifier.js +61 -61
  34. package/analytics/integrations/releware/index.d.ts +3 -3
  35. package/analytics/integrations/releware/index.js +38 -38
  36. package/analytics/integrations/unslugify.d.ts +1 -1
  37. package/analytics/integrations/unslugify.js +15 -17
  38. package/analytics/integrations/unslugify.js.map +1 -1
  39. package/analytics/trackerRegistry.d.ts +101 -101
  40. package/analytics/trackerRegistry.js +219 -219
  41. package/analytics/trackerRegistry.test.js +160 -160
  42. package/analytics/tracking.d.ts +14 -14
  43. package/analytics/tracking.js +71 -71
  44. package/analytics/utils/breadcrumbsWithoutProduct.d.ts +1 -1
  45. package/analytics/utils/breadcrumbsWithoutProduct.js +8 -8
  46. package/analytics/utils/script.d.ts +8 -8
  47. package/analytics/utils/script.js +39 -39
  48. package/analytics/webVitals.d.ts +5 -5
  49. package/analytics/webVitals.js +38 -38
  50. package/boot/AuthHandler.d.ts +14 -14
  51. package/boot/AuthHandler.js +38 -38
  52. package/boot/ChannelsQuery.gql +7 -7
  53. package/boot/PreviewHandler.d.ts +7 -7
  54. package/boot/PreviewHandler.js +13 -13
  55. package/boot/SharedTree.d.ts +25 -25
  56. package/boot/SharedTree.js +28 -28
  57. package/boot/addMissingConfig.d.ts +5 -5
  58. package/boot/addMissingConfig.js +33 -33
  59. package/boot/apollo.d.ts +21 -21
  60. package/boot/apollo.js +197 -197
  61. package/boot/client/entrypoint.d.ts +1 -1
  62. package/boot/client/entrypoint.js +4 -4
  63. package/boot/client/index.d.ts +1 -1
  64. package/boot/client/index.js +1 -1
  65. package/boot/client/startClient.d.ts +4 -4
  66. package/boot/client/startClient.js +142 -142
  67. package/boot/client-schema.gql +59 -59
  68. package/boot/server/IntervalQuery.d.ts +32 -32
  69. package/boot/server/IntervalQuery.js +94 -94
  70. package/boot/server/IntervalQuery.test.js +280 -280
  71. package/boot/server/PersistedApolloClient.d.ts +20 -20
  72. package/boot/server/PersistedApolloClient.js +39 -39
  73. package/boot/server/PersistedApolloClient.test.js +233 -233
  74. package/boot/server/asyncErrorHandler.d.ts +3 -3
  75. package/boot/server/asyncErrorHandler.js +4 -4
  76. package/boot/server/breakpointMiddleware.d.ts +3 -3
  77. package/boot/server/breakpointMiddleware.js +9 -9
  78. package/boot/server/createApolloServer.d.ts +28 -28
  79. package/boot/server/createApolloServer.js +143 -143
  80. package/boot/server/createApolloServer.test.js +114 -114
  81. package/boot/server/createDevServer.d.ts +14 -14
  82. package/boot/server/createDevServer.js +29 -29
  83. package/boot/server/createRenderer.d.ts +28 -28
  84. package/boot/server/createRenderer.js +235 -235
  85. package/boot/server/createServer.d.ts +14 -14
  86. package/boot/server/createServer.js +41 -41
  87. package/boot/server/entrypoint.d.ts +1 -1
  88. package/boot/server/entrypoint.js +35 -35
  89. package/boot/server/getPrefetchFiles.d.ts +10 -10
  90. package/boot/server/getPrefetchFiles.js +19 -19
  91. package/boot/server/getPreloadAssets.d.ts +10 -10
  92. package/boot/server/getPreloadAssets.js +17 -17
  93. package/boot/server/getPreloadAssets.test.js +133 -133
  94. package/boot/server/index.d.ts +9 -9
  95. package/boot/server/index.js +122 -122
  96. package/boot/server/listen.d.ts +13 -13
  97. package/boot/server/listen.js +16 -16
  98. package/boot/server/overwriteServerIntl.js +1 -1
  99. package/boot/server/persistedQueries/PersistedClient.d.ts +22 -22
  100. package/boot/server/persistedQueries/PersistedClient.js +57 -57
  101. package/boot/server/persistedQueries/__tests__/getPersistedQueriesForRequest.test.js +201 -201
  102. package/boot/server/persistedQueries/__tests__/mockQuery.gql +6 -6
  103. package/boot/server/persistedQueries/getPersistedQueriesForRequest.d.ts +3 -3
  104. package/boot/server/persistedQueries/getPersistedQueriesForRequest.js +26 -26
  105. package/boot/server/saleSource.test.js +39 -39
  106. package/boot/server/salesSource.d.ts +8 -8
  107. package/boot/server/salesSource.js +15 -15
  108. package/boot/utils/__tests__/uid.js +47 -47
  109. package/boot/utils/createIntOptions.d.ts +6 -6
  110. package/boot/utils/createIntOptions.js +18 -18
  111. package/boot/utils/queryLoggingMiddleware.d.ts +2 -2
  112. package/boot/utils/queryLoggingMiddleware.js +14 -14
  113. package/boot/utils/uid.d.ts +3 -3
  114. package/boot/utils/uid.js +19 -19
  115. package/cart/AddToCartFormik.d.ts +42 -42
  116. package/cart/AddToCartFormik.js +76 -76
  117. package/cart/useAddToCart.d.ts +88 -88
  118. package/cart/useAddToCart.js +117 -117
  119. package/ci/.gitlab-ci.yml +3 -3
  120. package/components/Auth/CustomerUpdateForm.d.ts +32 -32
  121. package/components/Auth/CustomerUpdateForm.js +121 -121
  122. package/components/Auth/ForgotPasswordProvider.d.ts +71 -71
  123. package/components/Auth/ForgotPasswordProvider.js +56 -56
  124. package/components/Auth/ResetPasswordProvider.d.ts +88 -88
  125. package/components/Auth/ResetPasswordProvider.js +77 -77
  126. package/components/Auth/SSN.d.ts +12 -12
  127. package/components/Auth/SSN.js +34 -34
  128. package/components/Auth/SSNLookupContainer.d.ts +15 -15
  129. package/components/Auth/SSNLookupContainer.js +19 -19
  130. package/components/Auth/SignupFormContainer.d.ts +19 -19
  131. package/components/Auth/SignupFormContainer.js +81 -81
  132. package/components/Auth/UpdatePasswordForm.d.ts +44 -44
  133. package/components/Auth/UpdatePasswordForm.js +97 -97
  134. package/components/Auth/formFieldsFromSettings.d.ts +65 -65
  135. package/components/Auth/formFieldsFromSettings.js +76 -76
  136. package/components/Auth/formatSignupInput.d.ts +8 -8
  137. package/components/Auth/formatSignupInput.js +42 -42
  138. package/components/Auth/signup-context.d.ts +36 -36
  139. package/components/Auth/signup-context.js +71 -71
  140. package/components/Auth/signup-field-translations.d.ts +3 -3
  141. package/components/Auth/signup-field-translations.js +43 -43
  142. package/components/Auth/signupSubmit.d.ts +6 -6
  143. package/components/Auth/signupSubmit.js +56 -56
  144. package/components/Auth/useAddressFields.d.ts +22 -22
  145. package/components/Auth/useAddressFields.js +32 -32
  146. package/components/Auth/useAddressFields.test.js +294 -294
  147. package/components/Auth/useCustomer.d.ts +70 -70
  148. package/components/Auth/useCustomer.js +167 -167
  149. package/components/Auth/useLoginFields.d.ts +20 -20
  150. package/components/Auth/useLoginFields.js +20 -20
  151. package/components/Auth/useSignupForm.d.ts +7 -7
  152. package/components/Auth/useSignupForm.js +14 -14
  153. package/components/AuthContext/AuthContext.d.ts +8 -8
  154. package/components/AuthContext/AuthContext.js +8 -8
  155. package/components/AuthContext/AuthProvider.d.ts +6 -6
  156. package/components/AuthContext/AuthProvider.js +84 -84
  157. package/components/AuthContext/AuthProvider.js.map +1 -1
  158. package/components/AuthContext/AuthProvider.test.js +66 -66
  159. package/components/AuthContext/LogOut.d.ts +5 -5
  160. package/components/AuthContext/LogOut.js +14 -14
  161. package/components/AuthContext/googleUserIdQuery.gql +6 -6
  162. package/components/AuthContext/useAuth.d.ts +6 -6
  163. package/components/AuthContext/useAuth.js +20 -20
  164. package/components/BreakpointProvider.d.ts +21 -21
  165. package/components/BreakpointProvider.js +23 -23
  166. package/components/Cart/CartIdContext.d.ts +11 -11
  167. package/components/Cart/CartIdContext.js +60 -60
  168. package/components/Cart/CartIdContext.test.js +87 -87
  169. package/components/ChannelContext/ChannelContext.d.ts +21 -20
  170. package/components/ChannelContext/ChannelContext.js +3 -3
  171. package/components/ChannelContext/ChannelContext.js.map +1 -1
  172. package/components/ChannelContext/ChannelProvider.d.ts +10 -10
  173. package/components/ChannelContext/ChannelProvider.js +44 -42
  174. package/components/ChannelContext/ChannelProvider.js.map +1 -1
  175. package/components/ChannelContext/ChannelProvider.test.js +112 -112
  176. package/components/ChannelContext/CountrySettingsQuery.gql +34 -34
  177. package/components/ChannelContext/index.d.ts +2 -2
  178. package/components/ChannelContext/index.js +2 -2
  179. package/components/ChannelContext/useCountrySettings.d.ts +8 -8
  180. package/components/ChannelContext/useCountrySettings.js +23 -23
  181. package/components/ChannelContext/useCountrySettings.js.map +1 -1
  182. package/components/ConfigProvider.d.ts +107 -108
  183. package/components/ConfigProvider.js +19 -19
  184. package/components/ConfigProvider.js.map +1 -1
  185. package/components/DynamicRoute/ActiveFiltersQuery.gql +21 -21
  186. package/components/DynamicRoute/CategoryRoute.d.ts +13 -13
  187. package/components/DynamicRoute/CategoryRoute.js +55 -55
  188. package/components/DynamicRoute/ContentRoute.d.ts +14 -14
  189. package/components/DynamicRoute/ContentRoute.js +27 -27
  190. package/components/DynamicRoute/PreviewRoute.d.ts +17 -17
  191. package/components/DynamicRoute/PreviewRoute.js +57 -57
  192. package/components/DynamicRoute/ProductByArticlenumber.d.ts +5 -5
  193. package/components/DynamicRoute/ProductByArticlenumber.gql +16 -16
  194. package/components/DynamicRoute/ProductByArticlenumber.js +21 -21
  195. package/components/DynamicRoute/ProductRoute.d.ts +15 -15
  196. package/components/DynamicRoute/ProductRoute.js +57 -57
  197. package/components/DynamicRoute/RouteResolver.d.ts +22 -22
  198. package/components/DynamicRoute/RouteResolver.js +64 -64
  199. package/components/DynamicRoute/Status.d.ts +14 -14
  200. package/components/DynamicRoute/Status.js +19 -19
  201. package/components/DynamicRoute/index.d.ts +17 -17
  202. package/components/DynamicRoute/index.js +95 -95
  203. package/components/Filters/index.d.ts +1 -1
  204. package/components/Filters/index.js +1 -1
  205. package/components/Filters/toggleActiveListItem.gql +15 -15
  206. package/components/Filters/utils/replaceInSearch.d.ts +14 -14
  207. package/components/Filters/utils/replaceInSearch.js +22 -22
  208. package/components/Filters/utils/replaceInSearch.test.js +184 -184
  209. package/components/Filters/utils/updateHistory.d.ts +25 -25
  210. package/components/Filters/utils/updateHistory.js +29 -29
  211. package/components/Filters/utils/updateHistory.test.js +102 -102
  212. package/components/Fonts/CustomFont.d.ts +14 -14
  213. package/components/Fonts/CustomFont.js +16 -16
  214. package/components/Fonts/GoogleFont.d.ts +10 -10
  215. package/components/Fonts/GoogleFont.js +34 -34
  216. package/components/Fonts/TypekitFont.d.ts +16 -16
  217. package/components/Fonts/TypekitFont.js +24 -24
  218. package/components/Fonts/injectFont.d.ts +11 -11
  219. package/components/Fonts/injectFont.js +29 -29
  220. package/components/Head.d.ts +11 -11
  221. package/components/Head.js +79 -74
  222. package/components/Head.js.map +1 -1
  223. package/components/Mutation/AddToCart/addToCartUtils.d.ts +18 -18
  224. package/components/Mutation/AddToCart/addToCartUtils.js +51 -51
  225. package/components/Mutation/AddToCartFormik.d.ts +53 -53
  226. package/components/Mutation/AddToCartFormik.js +171 -171
  227. package/components/Mutation/DecrementQuantity.d.ts +4 -4
  228. package/components/Mutation/DecrementQuantity.js +34 -34
  229. package/components/Mutation/IncrementQuantity.d.ts +4 -4
  230. package/components/Mutation/IncrementQuantity.js +34 -34
  231. package/components/Mutation/RemoveFromCart.d.ts +5 -5
  232. package/components/Mutation/RemoveFromCart.js +51 -51
  233. package/components/Mutation/SetQuantity.d.ts +4 -4
  234. package/components/Mutation/SetQuantity.js +36 -36
  235. package/components/Mutation/SubscribeToNewsletter.d.ts +4 -4
  236. package/components/Mutation/SubscribeToNewsletter.js +29 -29
  237. package/components/Mutation/SubscribeToStockNotifications.d.ts +4 -4
  238. package/components/Mutation/SubscribeToStockNotifications.js +30 -30
  239. package/components/Mutation/cartMutationUtils.d.ts +28 -28
  240. package/components/Mutation/cartMutationUtils.js +108 -108
  241. package/components/Mutation/cartMutationUtils.spec.js +142 -142
  242. package/components/Mutation/useDecrementQuantity.d.ts +11 -11
  243. package/components/Mutation/useDecrementQuantity.js +53 -53
  244. package/components/Mutation/useIncrementQuantity.d.ts +11 -11
  245. package/components/Mutation/useIncrementQuantity.js +53 -53
  246. package/components/Mutation/useRemoveFromCart.d.ts +13 -13
  247. package/components/Mutation/useRemoveFromCart.js +49 -49
  248. package/components/Mutation/useSetQuantity.d.ts +12 -12
  249. package/components/Mutation/useSetQuantity.js +37 -37
  250. package/components/Notifications/Notifications.d.ts +15 -15
  251. package/components/Notifications/Notifications.js +26 -26
  252. package/components/Notifications/index.d.ts +2 -2
  253. package/components/Notifications/index.js +2 -2
  254. package/components/Notifications/notificationMachine.d.ts +30 -30
  255. package/components/Notifications/notificationMachine.js +73 -73
  256. package/components/Notifications/notificationsMachine.d.ts +37 -37
  257. package/components/Notifications/notificationsMachine.js +65 -65
  258. package/components/Notifications/useNotification.d.ts +9 -9
  259. package/components/Notifications/useNotification.js +26 -26
  260. package/components/OpenGraph/OpenGraph.test.js +180 -180
  261. package/components/OpenGraph/OpenGraphGeneralPageData.d.ts +25 -25
  262. package/components/OpenGraph/OpenGraphGeneralPageData.js +36 -36
  263. package/components/OpenGraph/OpenGraphGeneralPageData.js.map +1 -1
  264. package/components/OpenGraph/OpenGraphProductData.d.ts +25 -25
  265. package/components/OpenGraph/OpenGraphProductData.js +48 -48
  266. package/components/OpenGraph/OpenGraphProductData.js.map +1 -1
  267. package/components/OpenGraph/index.d.ts +2 -2
  268. package/components/OpenGraph/index.js +2 -2
  269. package/components/Pagination/PaginationContainer.d.ts +2 -2
  270. package/components/Pagination/PaginationContainer.js +4 -4
  271. package/components/Pagination/PaginationContext.d.ts +14 -14
  272. package/components/Pagination/PaginationContext.js +3 -3
  273. package/components/Pagination/PaginationProvider.d.ts +19 -19
  274. package/components/Pagination/PaginationProvider.js +94 -94
  275. package/components/Pagination/PaginationProvider.test.js +282 -282
  276. package/components/PreviewContext.d.ts +10 -10
  277. package/components/PreviewContext.js +26 -26
  278. package/components/ProductConfigurationProvider/ConfigPrice.gql +22 -22
  279. package/components/ProductConfigurationProvider/ProductConfigurationContext.d.ts +13 -13
  280. package/components/ProductConfigurationProvider/ProductConfigurationContext.js +4 -4
  281. package/components/ProductConfigurationProvider/ProductConfigurationProvider.d.ts +6 -6
  282. package/components/ProductConfigurationProvider/ProductConfigurationProvider.js +49 -49
  283. package/components/Query/CartProvider.d.ts +22 -22
  284. package/components/Query/CartProvider.js +67 -67
  285. package/components/SortOrder/SortOrderContainer.d.ts +40 -40
  286. package/components/SortOrder/SortOrderContainer.js +101 -101
  287. package/components/SortOrder/SortOrderContext.d.ts +9 -9
  288. package/components/SortOrder/SortOrderContext.js +8 -8
  289. package/components/StructuredData/SiteLinksSearchStructuredData.d.ts +3 -3
  290. package/components/StructuredData/SiteLinksSearchStructuredData.js +24 -24
  291. package/components/StructuredData/StructuredBreadcrumbData.d.ts +12 -12
  292. package/components/StructuredData/StructuredBreadcrumbData.js +54 -54
  293. package/components/StructuredData/StructuredCategoryData.d.ts +16 -16
  294. package/components/StructuredData/StructuredCategoryData.js +17 -17
  295. package/components/StructuredData/StructuredData.d.ts +9 -9
  296. package/components/StructuredData/StructuredData.js +6 -6
  297. package/components/StructuredData/StructuredPageData.d.ts +16 -16
  298. package/components/StructuredData/StructuredPageData.js +16 -16
  299. package/components/StructuredData/StructuredProductData.d.ts +18 -18
  300. package/components/StructuredData/StructuredProductData.js +42 -42
  301. package/components/StructuredData/StructuredProductData.test.js +130 -130
  302. package/components/StructuredData/index.d.ts +5 -5
  303. package/components/StructuredData/index.js +5 -5
  304. package/data/cache.d.ts +3 -3
  305. package/data/cache.js +20 -20
  306. package/data/fragmentTypes.d.ts +8 -8
  307. package/data/fragmentTypes.js +83 -83
  308. package/data/fragments/BadgeFragment.gql +7 -7
  309. package/data/fragments/CartCoreFragment.gql +89 -89
  310. package/data/fragments/ChannelsFragment.gql +59 -58
  311. package/data/fragments/CommentsFragment.gql +6 -6
  312. package/data/fragments/HeadFragment.gql +9 -9
  313. package/data/fragments/PriceFragment.gql +5 -5
  314. package/data/fragments/ProductCampaignFragment.gql +10 -10
  315. package/data/fragments/ProductConfigurationsFragment.gql +24 -24
  316. package/data/fragments/ProductListsFragments.gql +94 -94
  317. package/data/fragments/ProductMetadataFragment.gql +20 -20
  318. package/data/fragments/ProductPriceFragment.gql +10 -10
  319. package/data/fragments/ProductVariantPriceFragment.gql +10 -10
  320. package/data/fragments/RouteCrumbFragment.gql +20 -20
  321. package/data/fragments/RouteMetaFragment.gql +18 -18
  322. package/data/fragments/StockStatusFragment.gql +7 -7
  323. package/data/fragments/index.d.ts +1 -1
  324. package/data/fragments/index.js +1 -1
  325. package/data/mutations/accountMutations.gql +28 -28
  326. package/data/mutations/cartMutations.gql +41 -41
  327. package/data/mutations/productListMutations.gql +18 -18
  328. package/data/mutations/signup.gql +7 -7
  329. package/data/mutations/subscribeToNewsletter.gql +3 -3
  330. package/data/mutations/subscribeToStockNotifications.gql +6 -6
  331. package/data/mutations/updateCustomer.gql +5 -5
  332. package/data/mutations/updatePassword.gql +5 -5
  333. package/data/queries/CartMutationQuery.gql +36 -36
  334. package/data/queries/CartQuery.gql +7 -7
  335. package/data/queries/GetCustomerCountryCode.gql +9 -9
  336. package/data/queries/PersonLookupQuery.gql +28 -28
  337. package/data/queries/ProductLists.gql +8 -8
  338. package/dependencies.d.ts +104 -104
  339. package/errorReporting.browser.d.ts +3 -3
  340. package/errorReporting.browser.js +11 -11
  341. package/errorReporting.d.ts +3 -3
  342. package/errorReporting.js +19 -19
  343. package/errorReporting.server.d.ts +3 -3
  344. package/errorReporting.server.js +11 -11
  345. package/errorReporting.shared.d.ts +5 -5
  346. package/errorReporting.shared.js +16 -16
  347. package/experiments/ExperimentsProvider.d.ts +4 -4
  348. package/experiments/ExperimentsProvider.js +28 -28
  349. package/experiments/ExperimentsProvider.test.js +105 -105
  350. package/experiments/integration.test.js +76 -76
  351. package/experiments/selectExperimentVariant.d.ts +3 -3
  352. package/experiments/selectExperimentVariant.js +34 -34
  353. package/experiments/selectExperimentVariant.test.js +64 -64
  354. package/experiments/useExperiment.d.ts +2 -2
  355. package/experiments/useExperiment.js +10 -10
  356. package/experiments/useExperiment.test.js +100 -100
  357. package/global.d.ts +1 -1
  358. package/helpers/decodeUrlQuery.d.ts +9 -9
  359. package/helpers/decodeUrlQuery.js +26 -26
  360. package/helpers/decodeUrlQuery.test.js +54 -54
  361. package/helpers/distance.d.ts +7 -7
  362. package/helpers/distance.js +12 -12
  363. package/helpers/encodeVariant.d.ts +3 -3
  364. package/helpers/encodeVariant.js +24 -24
  365. package/helpers/getBreakpointsFromValues.d.ts +6 -6
  366. package/helpers/getBreakpointsFromValues.js +14 -14
  367. package/helpers/getBreakpointsFromValues.test.js +47 -47
  368. package/helpers/getCartItemVariant.d.ts +7 -7
  369. package/helpers/getCartItemVariant.js +8 -8
  370. package/helpers/getErrorDetail.d.ts +7 -7
  371. package/helpers/getErrorDetail.js +11 -11
  372. package/helpers/getErrorDetail.test.js +44 -44
  373. package/helpers/getHeaders.d.ts +6 -6
  374. package/helpers/getHeaders.js +3 -3
  375. package/helpers/isRelativeUrl.d.ts +1 -1
  376. package/helpers/isRelativeUrl.js +3 -3
  377. package/helpers/logError.d.ts +1 -1
  378. package/helpers/logError.js +16 -16
  379. package/helpers/logWarningInDev.d.ts +1 -1
  380. package/helpers/logWarningInDev.js +6 -6
  381. package/helpers/throwErrorInDev.d.ts +6 -6
  382. package/helpers/throwErrorInDev.js +14 -14
  383. package/helpers/uniqueId.d.ts +5 -5
  384. package/helpers/uniqueId.js +9 -9
  385. package/hooks/CartCheckoutQuery.gql +5 -5
  386. package/hooks/Channels/useChannelSettings.d.ts +7 -7
  387. package/hooks/Channels/useChannelSettings.js +11 -11
  388. package/hooks/Channels/useChannelSettings.js.map +1 -1
  389. package/hooks/Channels/useChannelSettings.test.js +51 -51
  390. package/hooks/Filters/useBooleanFilter.d.ts +8 -8
  391. package/hooks/Filters/useBooleanFilter.js +20 -20
  392. package/hooks/Filters/useFilters.d.ts +3 -3
  393. package/hooks/Filters/useFilters.js +15 -15
  394. package/hooks/Filters/useListFilter.d.ts +10 -10
  395. package/hooks/Filters/useListFilter.js +37 -37
  396. package/hooks/Filters/useMultiFilter.d.ts +13 -13
  397. package/hooks/Filters/useMultiFilter.js +49 -49
  398. package/hooks/Filters/useRangeFilter.d.ts +10 -10
  399. package/hooks/Filters/useRangeFilter.js +35 -35
  400. package/hooks/Filters/useSortOrder.d.ts +11 -11
  401. package/hooks/Filters/useSortOrder.js +21 -21
  402. package/hooks/FreeShippingQuery.gql +16 -16
  403. package/hooks/PackageProducts/index.d.ts +2 -2
  404. package/hooks/PackageProducts/index.js +2 -2
  405. package/hooks/PackageProducts/packagePriceQuery.gql +29 -29
  406. package/hooks/PackageProducts/usePackageProductItem.d.ts +17 -17
  407. package/hooks/PackageProducts/usePackageProductItem.js +26 -26
  408. package/hooks/PackageProducts/usePackageProducts.d.ts +19 -19
  409. package/hooks/PackageProducts/usePackageProducts.js +345 -345
  410. package/hooks/PackageProducts/usePackageProducts.test.js +383 -383
  411. package/hooks/Product/index.d.ts +1 -1
  412. package/hooks/Product/index.js +1 -1
  413. package/hooks/Product/useStockStatus.d.ts +9 -9
  414. package/hooks/Product/useStockStatus.js +25 -25
  415. package/hooks/Product/useSwitchToVariantImage.d.ts +9 -9
  416. package/hooks/Product/useSwitchToVariantImage.js +20 -20
  417. package/hooks/ProductList/ProductListContext.d.ts +7 -7
  418. package/hooks/ProductList/ProductListContext.js +110 -110
  419. package/hooks/ProductList/action-creators.d.ts +46 -46
  420. package/hooks/ProductList/action-creators.js +296 -296
  421. package/hooks/ProductList/index.d.ts +118 -118
  422. package/hooks/ProductList/index.js +21 -21
  423. package/hooks/ProductList/list-transforms.d.ts +73 -73
  424. package/hooks/ProductList/list-transforms.js +106 -106
  425. package/hooks/ProductList/list-transforms.test.js +489 -489
  426. package/hooks/ProductList/product-list-reducer.d.ts +76 -76
  427. package/hooks/ProductList/product-list-reducer.js +197 -197
  428. package/hooks/ProductList/product-list-reducer.test.js +464 -464
  429. package/hooks/ProductList/useProductList.d.ts +13 -13
  430. package/hooks/ProductList/useProductList.js +93 -93
  431. package/hooks/ProductList/useProductListItems.d.ts +10 -10
  432. package/hooks/ProductList/useProductListItems.js +48 -48
  433. package/hooks/ProductList/validate-product.d.ts +6 -6
  434. package/hooks/ProductList/validate-product.js +40 -40
  435. package/hooks/Subscriptions/useNewsletterSubscription.d.ts +38 -38
  436. package/hooks/Subscriptions/useNewsletterSubscription.js +41 -41
  437. package/hooks/Subscriptions/useStockNotifications.d.ts +36 -36
  438. package/hooks/Subscriptions/useStockNotifications.js +37 -37
  439. package/hooks/Subscriptions/useStoreSubscriptions.d.ts +48 -48
  440. package/hooks/Subscriptions/useStoreSubscriptions.js +150 -150
  441. package/hooks/Subscriptions/useStoresubscriptions.test.js +179 -179
  442. package/hooks/useAddMultipleToCart.d.ts +27 -27
  443. package/hooks/useAddMultipleToCart.js +113 -113
  444. package/hooks/useAddMultipleToCart.test.js +181 -181
  445. package/hooks/useChannelBanner.js +22 -22
  446. package/hooks/useChannelBanner.test.js +77 -77
  447. package/hooks/useCustomerOrders.test.js +176 -176
  448. package/hooks/useCustomerOrdersQuery.d.ts +21 -21
  449. package/hooks/useCustomerOrdersQuery.js +20 -20
  450. package/hooks/useDeleteAccountMutation.d.ts +15 -15
  451. package/hooks/useDeleteAccountMutation.js +38 -38
  452. package/hooks/useDynamicPrice.d.ts +3 -3
  453. package/hooks/useDynamicPrice.js +24 -24
  454. package/hooks/useFreeShippingCheck.d.ts +15 -15
  455. package/hooks/useFreeShippingCheck.js +30 -30
  456. package/hooks/useGeolocation.d.ts +11 -11
  457. package/hooks/useGeolocation.js +33 -33
  458. package/hooks/useInfinitePagination.d.ts +37 -37
  459. package/hooks/useInfinitePagination.js +138 -138
  460. package/hooks/useLogError.d.ts +1 -1
  461. package/hooks/useLogError.js +7 -7
  462. package/hooks/useLoginMutation.d.ts +12 -12
  463. package/hooks/useLoginMutation.js +14 -14
  464. package/hooks/useLoginRedirect.d.ts +4 -4
  465. package/hooks/useLoginRedirect.js +36 -36
  466. package/hooks/useOrderDetailQuery.d.ts +20 -20
  467. package/hooks/useOrderDetailQuery.js +28 -28
  468. package/hooks/usePreconnectLinks.d.ts +10 -10
  469. package/hooks/usePreconnectLinks.js +29 -29
  470. package/hooks/usePreconnectLinks.test.js +95 -95
  471. package/hooks/usePrice.d.ts +39 -39
  472. package/hooks/usePrice.js +71 -71
  473. package/hooks/usePrice.test.js +171 -171
  474. package/hooks/useProductVariants/index.d.ts +1 -1
  475. package/hooks/useProductVariants/index.js +1 -1
  476. package/hooks/useProductVariants/useProductVariants.d.ts +19 -19
  477. package/hooks/useProductVariants/useProductVariants.js +202 -202
  478. package/hooks/useProductVariants/useProductVariants.test.js +415 -415
  479. package/hooks/useProductVariants/useVariantFromUrl.d.ts +5 -5
  480. package/hooks/useProductVariants/useVariantFromUrl.js +15 -15
  481. package/hooks/useProductVariants/useVariantFromUrl.test.js +79 -79
  482. package/hooks/useRoutePreload.d.ts +24 -24
  483. package/hooks/useRoutePreload.js +39 -39
  484. package/hooks/useShopConfig.d.ts +1 -1
  485. package/hooks/useShopConfig.js +10 -10
  486. package/hooks/useShopConfig.js.map +1 -1
  487. package/hooks/useThrowErrorInDev.d.ts +1 -1
  488. package/hooks/useThrowErrorInDev.js +7 -7
  489. package/hooks/useThunkReducer.d.ts +7 -7
  490. package/hooks/useThunkReducer.js +23 -23
  491. package/hooks/useWarningInDev.d.ts +1 -1
  492. package/hooks/useWarningInDev.js +9 -9
  493. package/inServer.d.ts +1 -1
  494. package/inServer.js +2 -2
  495. package/index.d.ts +1 -1
  496. package/index.js +1 -1
  497. package/integrations/addwishSchemaExtension.d.ts +35 -35
  498. package/integrations/addwishSchemaExtension.js +140 -140
  499. package/integrations/nostoSchemaExtension.d.ts +5 -5
  500. package/integrations/nostoSchemaExtension.js +76 -76
  501. package/integrations/sluggishSchemaExtension.d.ts +2 -2
  502. package/integrations/sluggishSchemaExtension.js +26 -26
  503. package/package.json +2 -2
  504. package/polyfills.d.ts +1 -1
  505. package/polyfills.js +37 -37
  506. package/registerServiceWorker.js +110 -110
  507. package/resolvers/filters/boolFilter.d.ts +3 -3
  508. package/resolvers/filters/boolFilter.js +84 -84
  509. package/resolvers/filters/defaultActiveFilters.d.ts +3 -3
  510. package/resolvers/filters/defaultActiveFilters.js +8 -8
  511. package/resolvers/filters/filterParams.d.ts +3 -3
  512. package/resolvers/filters/filterParams.js +84 -84
  513. package/resolvers/filters/filters.d.ts +5 -5
  514. package/resolvers/filters/filters.js +78 -78
  515. package/resolvers/filters/index.d.ts +27 -27
  516. package/resolvers/filters/index.js +7 -7
  517. package/resolvers/filters/listFilter.d.ts +7 -7
  518. package/resolvers/filters/listFilter.js +73 -73
  519. package/resolvers/filters/listFilterItem.d.ts +3 -3
  520. package/resolvers/filters/listFilterItem.js +122 -122
  521. package/resolvers/filters/multiListFilter.d.ts +5 -5
  522. package/resolvers/filters/multiListFilter.js +195 -195
  523. package/resolvers/filters/multiListFilterList.d.ts +3 -3
  524. package/resolvers/filters/multiListFilterList.js +55 -55
  525. package/resolvers/filters/rangeFilter.d.ts +5 -5
  526. package/resolvers/filters/rangeFilter.js +137 -137
  527. package/resolvers/filters/updateQueryString.d.ts +12 -12
  528. package/resolvers/filters/updateQueryString.js +116 -116
  529. package/resolvers/index.d.ts +37 -37
  530. package/resolvers/index.js +37 -37
  531. package/scripts/dev-apolloServer.js +31 -31
  532. package/sentry/client.d.ts +1 -1
  533. package/sentry/client.js +29 -29
  534. package/sentry/common.d.ts +1 -1
  535. package/sentry/common.js +4 -4
  536. package/sentry/server.d.ts +1 -1
  537. package/sentry/server.js +19 -19
  538. package/sentry/utils.d.ts +1 -1
  539. package/sentry/utils.js +1 -1
  540. package/server/graphql.d.ts +20 -20
  541. package/server/graphql.js +118 -118
  542. package/server/graphql.test.js +123 -123
  543. package/server/index.d.ts +2 -2
  544. package/server/index.js +2 -2
  545. package/server/tracking/facebook.d.ts +5 -5
  546. package/server/tracking/facebook.js +132 -132
  547. package/server/tracking/middleware.d.ts +8 -8
  548. package/server/tracking/middleware.js +14 -14
  549. package/server/tracking/types.d.ts +33 -33
  550. package/setupTests.js +2 -2
  551. package/test-utils/ProviderPyramid.js +45 -45
  552. package/test-utils/mockShopConfig.js +26 -26
  553. package/test-utils/mockedProduct.js +253 -253
  554. package/test-utils/renderWithRouter.js +20 -20
  555. package/test-utils/variables.js +2476 -1231
  556. package/time.d.ts +1 -1
  557. package/time.js +5 -5
@@ -1,1231 +1,2476 @@
1
- import { createSelectedChannel } from '../ChannelHandler/channelUtils';
2
-
3
- export const channels = [
4
- {
5
- id: 1,
6
- name: 'INT',
7
- isDefault: true,
8
- displayName: 'International',
9
- url: 'https://flight.jetshop.se',
10
- countries: [
11
- {
12
- name: 'Iceland',
13
- code: 'IS',
14
- isDefault: false
15
- },
16
- {
17
- name: 'United Arab Emirates',
18
- code: 'AE',
19
- isDefault: false
20
- },
21
- {
22
- name: 'Argentina',
23
- code: 'AR',
24
- isDefault: false
25
- },
26
- {
27
- name: 'Brunei',
28
- code: 'BN',
29
- isDefault: false
30
- },
31
- {
32
- name: 'Brazil',
33
- code: 'BR',
34
- isDefault: false
35
- },
36
- {
37
- name: 'Canada',
38
- code: 'CA',
39
- isDefault: false
40
- },
41
- {
42
- name: 'China',
43
- code: 'CN',
44
- isDefault: false
45
- },
46
- {
47
- name: 'Faeroe Islands',
48
- code: 'FO',
49
- isDefault: false
50
- },
51
- {
52
- name: 'Martinique',
53
- code: 'MQ',
54
- isDefault: false
55
- },
56
- {
57
- name: 'Mexico',
58
- code: 'MX',
59
- isDefault: false
60
- },
61
- {
62
- name: 'Malaysia',
63
- code: 'MY',
64
- isDefault: false
65
- },
66
- {
67
- name: 'French Polynesia',
68
- code: 'PF',
69
- isDefault: false
70
- },
71
- {
72
- name: 'Russia',
73
- code: 'RU',
74
- isDefault: false
75
- },
76
- {
77
- name: 'Singapore',
78
- code: 'SG',
79
- isDefault: false
80
- },
81
- {
82
- name: 'El Salvador',
83
- code: 'SV',
84
- isDefault: false
85
- },
86
- {
87
- name: 'Thailand',
88
- code: 'TH',
89
- isDefault: false
90
- },
91
- {
92
- name: 'Turkey',
93
- code: 'TR',
94
- isDefault: false
95
- },
96
- {
97
- name: 'Taiwan',
98
- code: 'TW',
99
- isDefault: false
100
- },
101
- {
102
- name: 'Ukraina',
103
- code: 'UA',
104
- isDefault: false
105
- },
106
- {
107
- name: 'United States',
108
- code: 'US',
109
- isDefault: true
110
- },
111
- {
112
- name: 'South Africa',
113
- code: 'ZA',
114
- isDefault: false
115
- },
116
- {
117
- name: 'Hong Kong',
118
- code: 'HK',
119
- isDefault: false
120
- },
121
- {
122
- name: 'India',
123
- code: 'IN',
124
- isDefault: false
125
- },
126
- {
127
- name: 'Indonesia',
128
- code: 'ID',
129
- isDefault: false
130
- },
131
- {
132
- name: 'Israel',
133
- code: 'IL',
134
- isDefault: false
135
- },
136
- {
137
- name: 'Japan',
138
- code: 'JP',
139
- isDefault: false
140
- },
141
- {
142
- name: 'Kenya',
143
- code: 'KE',
144
- isDefault: false
145
- },
146
- {
147
- name: 'South Korea',
148
- code: 'KR',
149
- isDefault: false
150
- },
151
- {
152
- name: 'Saint Barthélemy',
153
- code: 'BL',
154
- isDefault: false
155
- }
156
- ],
157
- languages: [
158
- {
159
- culture: 'en-GB',
160
- name: 'Engelska',
161
- isDefault: true
162
- }
163
- ],
164
- currencies: [
165
- {
166
- name: 'USD',
167
- format: {
168
- decimals: 2
169
- }
170
- }
171
- ],
172
- defaultCurrency: {
173
- name: 'USD',
174
- format: {
175
- decimals: 2
176
- }
177
- },
178
- defaultLanguage: {
179
- culture: 'en-GB',
180
- name: 'Engelska',
181
- isDefault: true
182
- },
183
- settings: {
184
- tracking: {
185
- ga: {
186
- trackingId: ''
187
- },
188
- gtm: {
189
- containerId: ''
190
- }
191
- },
192
- countrySettings: [
193
- {
194
- countryCode: 'IS',
195
- paymentTypes: [],
196
- shipping: {
197
- freeShippingLimit: {
198
- exVat: 320,
199
- incVat: 400
200
- }
201
- }
202
- },
203
- {
204
- countryCode: 'AE',
205
- paymentTypes: [],
206
- shipping: {
207
- freeShippingLimit: {
208
- exVat: 160,
209
- incVat: 200
210
- }
211
- }
212
- },
213
- {
214
- countryCode: 'AR',
215
- paymentTypes: [],
216
- shipping: {
217
- freeShippingLimit: {
218
- exVat: 160,
219
- incVat: 200
220
- }
221
- }
222
- },
223
- {
224
- countryCode: 'BN',
225
- paymentTypes: [],
226
- shipping: {
227
- freeShippingLimit: {
228
- exVat: 160,
229
- incVat: 200
230
- }
231
- }
232
- },
233
- {
234
- countryCode: 'BR',
235
- paymentTypes: [],
236
- shipping: {
237
- freeShippingLimit: {
238
- exVat: 160,
239
- incVat: 200
240
- }
241
- }
242
- },
243
- {
244
- countryCode: 'CA',
245
- paymentTypes: [],
246
- shipping: {
247
- freeShippingLimit: {
248
- exVat: 200,
249
- incVat: 200
250
- }
251
- }
252
- },
253
- {
254
- countryCode: 'CN',
255
- paymentTypes: [],
256
- shipping: {
257
- freeShippingLimit: null
258
- }
259
- },
260
- {
261
- countryCode: 'FO',
262
- paymentTypes: [],
263
- shipping: {
264
- freeShippingLimit: {
265
- exVat: 160,
266
- incVat: 200
267
- }
268
- }
269
- },
270
- {
271
- countryCode: 'MQ',
272
- paymentTypes: [],
273
- shipping: {
274
- freeShippingLimit: {
275
- exVat: 160,
276
- incVat: 200
277
- }
278
- }
279
- },
280
- {
281
- countryCode: 'MX',
282
- paymentTypes: [],
283
- shipping: {
284
- freeShippingLimit: {
285
- exVat: 160,
286
- incVat: 200
287
- }
288
- }
289
- },
290
- {
291
- countryCode: 'MY',
292
- paymentTypes: [],
293
- shipping: {
294
- freeShippingLimit: {
295
- exVat: 160,
296
- incVat: 200
297
- }
298
- }
299
- },
300
- {
301
- countryCode: 'PF',
302
- paymentTypes: [],
303
- shipping: {
304
- freeShippingLimit: {
305
- exVat: 160,
306
- incVat: 200
307
- }
308
- }
309
- },
310
- {
311
- countryCode: 'RU',
312
- paymentTypes: [],
313
- shipping: {
314
- freeShippingLimit: {
315
- exVat: 160,
316
- incVat: 200
317
- }
318
- }
319
- },
320
- {
321
- countryCode: 'SG',
322
- paymentTypes: [],
323
- shipping: {
324
- freeShippingLimit: {
325
- exVat: 160,
326
- incVat: 200
327
- }
328
- }
329
- },
330
- {
331
- countryCode: 'SV',
332
- paymentTypes: [],
333
- shipping: {
334
- freeShippingLimit: {
335
- exVat: 160,
336
- incVat: 200
337
- }
338
- }
339
- },
340
- {
341
- countryCode: 'TH',
342
- paymentTypes: [],
343
- shipping: {
344
- freeShippingLimit: {
345
- exVat: 160,
346
- incVat: 200
347
- }
348
- }
349
- },
350
- {
351
- countryCode: 'TR',
352
- paymentTypes: [],
353
- shipping: {
354
- freeShippingLimit: {
355
- exVat: 160,
356
- incVat: 200
357
- }
358
- }
359
- },
360
- {
361
- countryCode: 'TW',
362
- paymentTypes: [],
363
- shipping: {
364
- freeShippingLimit: {
365
- exVat: 160,
366
- incVat: 200
367
- }
368
- }
369
- },
370
- {
371
- countryCode: 'UA',
372
- paymentTypes: [],
373
- shipping: {
374
- freeShippingLimit: {
375
- exVat: 160,
376
- incVat: 200
377
- }
378
- }
379
- },
380
- {
381
- countryCode: 'US',
382
- paymentTypes: [],
383
- shipping: {
384
- freeShippingLimit: {
385
- exVat: 200,
386
- incVat: 200
387
- }
388
- }
389
- },
390
- {
391
- countryCode: 'ZA',
392
- paymentTypes: [],
393
- shipping: {
394
- freeShippingLimit: {
395
- exVat: 160,
396
- incVat: 200
397
- }
398
- }
399
- },
400
- {
401
- countryCode: 'HK',
402
- paymentTypes: [],
403
- shipping: {
404
- freeShippingLimit: {
405
- exVat: 160,
406
- incVat: 200
407
- }
408
- }
409
- },
410
- {
411
- countryCode: 'IN',
412
- paymentTypes: [],
413
- shipping: {
414
- freeShippingLimit: {
415
- exVat: 320,
416
- incVat: 400
417
- }
418
- }
419
- },
420
- {
421
- countryCode: 'ID',
422
- paymentTypes: [],
423
- shipping: {
424
- freeShippingLimit: {
425
- exVat: 160,
426
- incVat: 200
427
- }
428
- }
429
- },
430
- {
431
- countryCode: 'IL',
432
- paymentTypes: [],
433
- shipping: {
434
- freeShippingLimit: {
435
- exVat: 160,
436
- incVat: 200
437
- }
438
- }
439
- },
440
- {
441
- countryCode: 'JP',
442
- paymentTypes: [],
443
- shipping: {
444
- freeShippingLimit: {
445
- exVat: 160,
446
- incVat: 200
447
- }
448
- }
449
- },
450
- {
451
- countryCode: 'KE',
452
- paymentTypes: [],
453
- shipping: {
454
- freeShippingLimit: {
455
- exVat: 160,
456
- incVat: 200
457
- }
458
- }
459
- },
460
- {
461
- countryCode: 'KR',
462
- paymentTypes: [],
463
- shipping: {
464
- freeShippingLimit: {
465
- exVat: 160,
466
- incVat: 200
467
- }
468
- }
469
- },
470
- {
471
- countryCode: 'BL',
472
- paymentTypes: [],
473
- shipping: {
474
- freeShippingLimit: {
475
- exVat: 160,
476
- incVat: 200
477
- }
478
- }
479
- }
480
- ],
481
- pricesIncVat: true
482
- }
483
- },
484
- {
485
- id: 4,
486
- name: 'SE',
487
- isDefault: false,
488
- displayName: null,
489
- url: 'https://flight-m2.jetshop.se',
490
- countries: [
491
- {
492
- name: 'Sweden',
493
- code: 'SE',
494
- isDefault: true
495
- }
496
- ],
497
- languages: [
498
- {
499
- culture: 'sv-SE',
500
- name: 'Svenska',
501
- isDefault: true
502
- },
503
- {
504
- culture: 'en-GB',
505
- name: 'English',
506
- isDefault: false
507
- }
508
- ],
509
- currencies: [
510
- {
511
- name: 'SEK',
512
- format: {
513
- decimals: 2
514
- }
515
- }
516
- ],
517
- defaultCurrency: {
518
- name: 'SEK',
519
- format: {
520
- decimals: 2
521
- }
522
- },
523
- defaultLanguage: {
524
- culture: 'sv-SE',
525
- name: 'Svenska',
526
- isDefault: true
527
- },
528
- settings: {
529
- tracking: {
530
- ga: {
531
- trackingId: ''
532
- },
533
- gtm: {
534
- containerId: ''
535
- }
536
- },
537
- countrySettings: [
538
- {
539
- countryCode: 'SE',
540
- paymentTypes: [],
541
- shipping: {
542
- freeShippingLimit: {
543
- exVat: 600,
544
- incVat: 600
545
- }
546
- }
547
- }
548
- ],
549
- pricesIncVat: true
550
- }
551
- },
552
- {
553
- id: 5,
554
- name: 'UK',
555
- isDefault: false,
556
- displayName: null,
557
- url: 'https://flight-m2.jetshop.uk',
558
- countries: [
559
- {
560
- name: 'Sweden',
561
- code: 'SE',
562
- isDefault: true
563
- }
564
- ],
565
- languages: [
566
- {
567
- culture: 'sv-SE',
568
- name: 'Svenska',
569
- isDefault: true
570
- }
571
- ],
572
- currencies: [
573
- {
574
- name: 'SEK',
575
- format: {
576
- decimals: 2
577
- }
578
- }
579
- ],
580
- defaultCurrency: {
581
- name: 'SEK',
582
- format: {
583
- decimals: 2
584
- }
585
- },
586
- defaultLanguage: {
587
- culture: 'sv-SE',
588
- name: 'Svenska',
589
- isDefault: true
590
- },
591
- settings: {
592
- tracking: {
593
- ga: {
594
- trackingId: ''
595
- },
596
- gtm: {
597
- containerId: ''
598
- }
599
- },
600
- countrySettings: [
601
- {
602
- countryCode: 'SE',
603
- paymentTypes: [],
604
- shipping: {
605
- freeShippingLimit: {
606
- exVat: 600,
607
- incVat: 600
608
- }
609
- }
610
- }
611
- ],
612
- pricesIncVat: true
613
- }
614
- }
615
- ];
616
-
617
- export const singleDomainChannels = [
618
- {
619
- id: 1,
620
- name: 'INT',
621
- isDefault: true,
622
- displayName: 'International',
623
- url: 'https://flight.jetshop.se/int',
624
- countries: [
625
- {
626
- name: 'Iceland',
627
- code: 'IS',
628
- isDefault: false
629
- },
630
- {
631
- name: 'United Arab Emirates',
632
- code: 'AE',
633
- isDefault: false
634
- },
635
- {
636
- name: 'Argentina',
637
- code: 'AR',
638
- isDefault: false
639
- },
640
- {
641
- name: 'Brunei',
642
- code: 'BN',
643
- isDefault: false
644
- },
645
- {
646
- name: 'Brazil',
647
- code: 'BR',
648
- isDefault: false
649
- },
650
- {
651
- name: 'Canada',
652
- code: 'CA',
653
- isDefault: false
654
- },
655
- {
656
- name: 'China',
657
- code: 'CN',
658
- isDefault: false
659
- },
660
- {
661
- name: 'Faeroe Islands',
662
- code: 'FO',
663
- isDefault: false
664
- },
665
- {
666
- name: 'Martinique',
667
- code: 'MQ',
668
- isDefault: false
669
- },
670
- {
671
- name: 'Mexico',
672
- code: 'MX',
673
- isDefault: false
674
- },
675
- {
676
- name: 'Malaysia',
677
- code: 'MY',
678
- isDefault: false
679
- },
680
- {
681
- name: 'French Polynesia',
682
- code: 'PF',
683
- isDefault: false
684
- },
685
- {
686
- name: 'Russia',
687
- code: 'RU',
688
- isDefault: false
689
- },
690
- {
691
- name: 'Singapore',
692
- code: 'SG',
693
- isDefault: false
694
- },
695
- {
696
- name: 'El Salvador',
697
- code: 'SV',
698
- isDefault: false
699
- },
700
- {
701
- name: 'Thailand',
702
- code: 'TH',
703
- isDefault: false
704
- },
705
- {
706
- name: 'Turkey',
707
- code: 'TR',
708
- isDefault: false
709
- },
710
- {
711
- name: 'Taiwan',
712
- code: 'TW',
713
- isDefault: false
714
- },
715
- {
716
- name: 'Ukraina',
717
- code: 'UA',
718
- isDefault: false
719
- },
720
- {
721
- name: 'United States',
722
- code: 'US',
723
- isDefault: true
724
- },
725
- {
726
- name: 'South Africa',
727
- code: 'ZA',
728
- isDefault: false
729
- },
730
- {
731
- name: 'Hong Kong',
732
- code: 'HK',
733
- isDefault: false
734
- },
735
- {
736
- name: 'India',
737
- code: 'IN',
738
- isDefault: false
739
- },
740
- {
741
- name: 'Indonesia',
742
- code: 'ID',
743
- isDefault: false
744
- },
745
- {
746
- name: 'Israel',
747
- code: 'IL',
748
- isDefault: false
749
- },
750
- {
751
- name: 'Japan',
752
- code: 'JP',
753
- isDefault: false
754
- },
755
- {
756
- name: 'Kenya',
757
- code: 'KE',
758
- isDefault: false
759
- },
760
- {
761
- name: 'South Korea',
762
- code: 'KR',
763
- isDefault: false
764
- },
765
- {
766
- name: 'Saint Barthélemy',
767
- code: 'BL',
768
- isDefault: false
769
- }
770
- ],
771
- languages: [
772
- {
773
- culture: 'en-GB',
774
- name: 'Engelska',
775
- isDefault: true
776
- }
777
- ],
778
- currencies: [
779
- {
780
- name: 'USD',
781
- format: {
782
- decimals: 2
783
- }
784
- }
785
- ],
786
- defaultCurrency: {
787
- name: 'USD',
788
- format: {
789
- decimals: 2
790
- }
791
- },
792
- defaultLanguage: {
793
- culture: 'en-GB',
794
- name: 'Engelska',
795
- isDefault: true
796
- },
797
- settings: {
798
- tracking: {
799
- ga: {
800
- trackingId: ''
801
- },
802
- gtm: {
803
- containerId: ''
804
- }
805
- },
806
- countrySettings: [
807
- {
808
- countryCode: 'IS',
809
- paymentTypes: [],
810
- shipping: {
811
- freeShippingLimit: {
812
- exVat: 320,
813
- incVat: 400
814
- }
815
- }
816
- },
817
- {
818
- countryCode: 'AE',
819
- paymentTypes: [],
820
- shipping: {
821
- freeShippingLimit: {
822
- exVat: 160,
823
- incVat: 200
824
- }
825
- }
826
- },
827
- {
828
- countryCode: 'AR',
829
- paymentTypes: [],
830
- shipping: {
831
- freeShippingLimit: {
832
- exVat: 160,
833
- incVat: 200
834
- }
835
- }
836
- },
837
- {
838
- countryCode: 'BN',
839
- paymentTypes: [],
840
- shipping: {
841
- freeShippingLimit: {
842
- exVat: 160,
843
- incVat: 200
844
- }
845
- }
846
- },
847
- {
848
- countryCode: 'BR',
849
- paymentTypes: [],
850
- shipping: {
851
- freeShippingLimit: {
852
- exVat: 160,
853
- incVat: 200
854
- }
855
- }
856
- },
857
- {
858
- countryCode: 'CA',
859
- paymentTypes: [],
860
- shipping: {
861
- freeShippingLimit: {
862
- exVat: 200,
863
- incVat: 200
864
- }
865
- }
866
- },
867
- {
868
- countryCode: 'CN',
869
- paymentTypes: [],
870
- shipping: {
871
- freeShippingLimit: null
872
- }
873
- },
874
- {
875
- countryCode: 'FO',
876
- paymentTypes: [],
877
- shipping: {
878
- freeShippingLimit: {
879
- exVat: 160,
880
- incVat: 200
881
- }
882
- }
883
- },
884
- {
885
- countryCode: 'MQ',
886
- paymentTypes: [],
887
- shipping: {
888
- freeShippingLimit: {
889
- exVat: 160,
890
- incVat: 200
891
- }
892
- }
893
- },
894
- {
895
- countryCode: 'MX',
896
- paymentTypes: [],
897
- shipping: {
898
- freeShippingLimit: {
899
- exVat: 160,
900
- incVat: 200
901
- }
902
- }
903
- },
904
- {
905
- countryCode: 'MY',
906
- paymentTypes: [],
907
- shipping: {
908
- freeShippingLimit: {
909
- exVat: 160,
910
- incVat: 200
911
- }
912
- }
913
- },
914
- {
915
- countryCode: 'PF',
916
- paymentTypes: [],
917
- shipping: {
918
- freeShippingLimit: {
919
- exVat: 160,
920
- incVat: 200
921
- }
922
- }
923
- },
924
- {
925
- countryCode: 'RU',
926
- paymentTypes: [],
927
- shipping: {
928
- freeShippingLimit: {
929
- exVat: 160,
930
- incVat: 200
931
- }
932
- }
933
- },
934
- {
935
- countryCode: 'SG',
936
- paymentTypes: [],
937
- shipping: {
938
- freeShippingLimit: {
939
- exVat: 160,
940
- incVat: 200
941
- }
942
- }
943
- },
944
- {
945
- countryCode: 'SV',
946
- paymentTypes: [],
947
- shipping: {
948
- freeShippingLimit: {
949
- exVat: 160,
950
- incVat: 200
951
- }
952
- }
953
- },
954
- {
955
- countryCode: 'TH',
956
- paymentTypes: [],
957
- shipping: {
958
- freeShippingLimit: {
959
- exVat: 160,
960
- incVat: 200
961
- }
962
- }
963
- },
964
- {
965
- countryCode: 'TR',
966
- paymentTypes: [],
967
- shipping: {
968
- freeShippingLimit: {
969
- exVat: 160,
970
- incVat: 200
971
- }
972
- }
973
- },
974
- {
975
- countryCode: 'TW',
976
- paymentTypes: [],
977
- shipping: {
978
- freeShippingLimit: {
979
- exVat: 160,
980
- incVat: 200
981
- }
982
- }
983
- },
984
- {
985
- countryCode: 'UA',
986
- paymentTypes: [],
987
- shipping: {
988
- freeShippingLimit: {
989
- exVat: 160,
990
- incVat: 200
991
- }
992
- }
993
- },
994
- {
995
- countryCode: 'US',
996
- paymentTypes: [],
997
- shipping: {
998
- freeShippingLimit: {
999
- exVat: 200,
1000
- incVat: 200
1001
- }
1002
- }
1003
- },
1004
- {
1005
- countryCode: 'ZA',
1006
- paymentTypes: [],
1007
- shipping: {
1008
- freeShippingLimit: {
1009
- exVat: 160,
1010
- incVat: 200
1011
- }
1012
- }
1013
- },
1014
- {
1015
- countryCode: 'HK',
1016
- paymentTypes: [],
1017
- shipping: {
1018
- freeShippingLimit: {
1019
- exVat: 160,
1020
- incVat: 200
1021
- }
1022
- }
1023
- },
1024
- {
1025
- countryCode: 'IN',
1026
- paymentTypes: [],
1027
- shipping: {
1028
- freeShippingLimit: {
1029
- exVat: 320,
1030
- incVat: 400
1031
- }
1032
- }
1033
- },
1034
- {
1035
- countryCode: 'ID',
1036
- paymentTypes: [],
1037
- shipping: {
1038
- freeShippingLimit: {
1039
- exVat: 160,
1040
- incVat: 200
1041
- }
1042
- }
1043
- },
1044
- {
1045
- countryCode: 'IL',
1046
- paymentTypes: [],
1047
- shipping: {
1048
- freeShippingLimit: {
1049
- exVat: 160,
1050
- incVat: 200
1051
- }
1052
- }
1053
- },
1054
- {
1055
- countryCode: 'JP',
1056
- paymentTypes: [],
1057
- shipping: {
1058
- freeShippingLimit: {
1059
- exVat: 160,
1060
- incVat: 200
1061
- }
1062
- }
1063
- },
1064
- {
1065
- countryCode: 'KE',
1066
- paymentTypes: [],
1067
- shipping: {
1068
- freeShippingLimit: {
1069
- exVat: 160,
1070
- incVat: 200
1071
- }
1072
- }
1073
- },
1074
- {
1075
- countryCode: 'KR',
1076
- paymentTypes: [],
1077
- shipping: {
1078
- freeShippingLimit: {
1079
- exVat: 160,
1080
- incVat: 200
1081
- }
1082
- }
1083
- },
1084
- {
1085
- countryCode: 'BL',
1086
- paymentTypes: [],
1087
- shipping: {
1088
- freeShippingLimit: {
1089
- exVat: 160,
1090
- incVat: 200
1091
- }
1092
- }
1093
- }
1094
- ],
1095
- pricesIncVat: true
1096
- }
1097
- },
1098
- {
1099
- id: 4,
1100
- name: 'SE',
1101
- isDefault: false,
1102
- displayName: null,
1103
- url: 'https://flight-m2.jetshop.se/se',
1104
- countries: [
1105
- {
1106
- name: 'Sweden',
1107
- code: 'SE',
1108
- isDefault: true
1109
- }
1110
- ],
1111
- languages: [
1112
- {
1113
- culture: 'sv-SE',
1114
- name: 'Svenska',
1115
- isDefault: true
1116
- },
1117
- {
1118
- culture: 'en-GB',
1119
- name: 'English',
1120
- isDefault: false
1121
- }
1122
- ],
1123
- currencies: [
1124
- {
1125
- name: 'SEK',
1126
- format: {
1127
- decimals: 2
1128
- }
1129
- }
1130
- ],
1131
- defaultCurrency: {
1132
- name: 'SEK',
1133
- format: {
1134
- decimals: 2
1135
- }
1136
- },
1137
- defaultLanguage: {
1138
- culture: 'sv-SE',
1139
- name: 'Svenska',
1140
- isDefault: true
1141
- },
1142
- settings: {
1143
- tracking: {
1144
- ga: {
1145
- trackingId: ''
1146
- },
1147
- gtm: {
1148
- containerId: ''
1149
- }
1150
- },
1151
- countrySettings: [
1152
- {
1153
- countryCode: 'SE',
1154
- paymentTypes: [],
1155
- shipping: {
1156
- freeShippingLimit: {
1157
- exVat: 600,
1158
- incVat: 600
1159
- }
1160
- }
1161
- }
1162
- ],
1163
- pricesIncVat: true
1164
- }
1165
- },
1166
- {
1167
- id: 5,
1168
- name: 'UK',
1169
- isDefault: false,
1170
- displayName: null,
1171
- url: 'https://flight-m2.jetshop.se/uk',
1172
- countries: [
1173
- {
1174
- name: 'United Kingdom',
1175
- code: 'UK',
1176
- isDefault: true
1177
- }
1178
- ],
1179
- languages: [
1180
- {
1181
- culture: 'sv-SE',
1182
- name: 'Svenska',
1183
- isDefault: true
1184
- }
1185
- ],
1186
- currencies: [
1187
- {
1188
- name: 'SEK',
1189
- format: {
1190
- decimals: 2
1191
- }
1192
- }
1193
- ],
1194
- defaultCurrency: {
1195
- name: 'SEK',
1196
- format: {
1197
- decimals: 2
1198
- }
1199
- },
1200
- defaultLanguage: {
1201
- culture: 'sv-SE',
1202
- name: 'Svenska',
1203
- isDefault: true
1204
- },
1205
- settings: {
1206
- tracking: {
1207
- ga: {
1208
- trackingId: ''
1209
- },
1210
- gtm: {
1211
- containerId: ''
1212
- }
1213
- },
1214
- countrySettings: [
1215
- {
1216
- countryCode: 'SE',
1217
- paymentTypes: [],
1218
- shipping: {
1219
- freeShippingLimit: {
1220
- exVat: 600,
1221
- incVat: 600
1222
- }
1223
- }
1224
- }
1225
- ],
1226
- pricesIncVat: true
1227
- }
1228
- }
1229
- ];
1230
-
1231
- export const selectedChannel = createSelectedChannel(channels[0]);
1
+ import { createSelectedChannel } from '../ChannelHandler/channelUtils';
2
+
3
+ export const channels = [
4
+ {
5
+ id: 1,
6
+ name: 'INT',
7
+ isDefault: true,
8
+ displayName: 'International',
9
+ groupName: null,
10
+ url: 'https://flight.jetshop.se',
11
+ countries: [
12
+ {
13
+ name: 'Iceland',
14
+ code: 'IS',
15
+ isDefault: false
16
+ },
17
+ {
18
+ name: 'United Arab Emirates',
19
+ code: 'AE',
20
+ isDefault: false
21
+ },
22
+ {
23
+ name: 'Argentina',
24
+ code: 'AR',
25
+ isDefault: false
26
+ },
27
+ {
28
+ name: 'Brunei',
29
+ code: 'BN',
30
+ isDefault: false
31
+ },
32
+ {
33
+ name: 'Brazil',
34
+ code: 'BR',
35
+ isDefault: false
36
+ },
37
+ {
38
+ name: 'Canada',
39
+ code: 'CA',
40
+ isDefault: false
41
+ },
42
+ {
43
+ name: 'China',
44
+ code: 'CN',
45
+ isDefault: false
46
+ },
47
+ {
48
+ name: 'Faeroe Islands',
49
+ code: 'FO',
50
+ isDefault: false
51
+ },
52
+ {
53
+ name: 'Martinique',
54
+ code: 'MQ',
55
+ isDefault: false
56
+ },
57
+ {
58
+ name: 'Mexico',
59
+ code: 'MX',
60
+ isDefault: false
61
+ },
62
+ {
63
+ name: 'Malaysia',
64
+ code: 'MY',
65
+ isDefault: false
66
+ },
67
+ {
68
+ name: 'French Polynesia',
69
+ code: 'PF',
70
+ isDefault: false
71
+ },
72
+ {
73
+ name: 'Russia',
74
+ code: 'RU',
75
+ isDefault: false
76
+ },
77
+ {
78
+ name: 'Singapore',
79
+ code: 'SG',
80
+ isDefault: false
81
+ },
82
+ {
83
+ name: 'El Salvador',
84
+ code: 'SV',
85
+ isDefault: false
86
+ },
87
+ {
88
+ name: 'Thailand',
89
+ code: 'TH',
90
+ isDefault: false
91
+ },
92
+ {
93
+ name: 'Turkey',
94
+ code: 'TR',
95
+ isDefault: false
96
+ },
97
+ {
98
+ name: 'Taiwan',
99
+ code: 'TW',
100
+ isDefault: false
101
+ },
102
+ {
103
+ name: 'Ukraina',
104
+ code: 'UA',
105
+ isDefault: false
106
+ },
107
+ {
108
+ name: 'United States',
109
+ code: 'US',
110
+ isDefault: true
111
+ },
112
+ {
113
+ name: 'South Africa',
114
+ code: 'ZA',
115
+ isDefault: false
116
+ },
117
+ {
118
+ name: 'Hong Kong',
119
+ code: 'HK',
120
+ isDefault: false
121
+ },
122
+ {
123
+ name: 'India',
124
+ code: 'IN',
125
+ isDefault: false
126
+ },
127
+ {
128
+ name: 'Indonesia',
129
+ code: 'ID',
130
+ isDefault: false
131
+ },
132
+ {
133
+ name: 'Israel',
134
+ code: 'IL',
135
+ isDefault: false
136
+ },
137
+ {
138
+ name: 'Japan',
139
+ code: 'JP',
140
+ isDefault: false
141
+ },
142
+ {
143
+ name: 'Kenya',
144
+ code: 'KE',
145
+ isDefault: false
146
+ },
147
+ {
148
+ name: 'South Korea',
149
+ code: 'KR',
150
+ isDefault: false
151
+ },
152
+ {
153
+ name: 'Saint Barthélemy',
154
+ code: 'BL',
155
+ isDefault: false
156
+ }
157
+ ],
158
+ languages: [
159
+ {
160
+ culture: 'en-GB',
161
+ name: 'Engelska',
162
+ isDefault: true
163
+ }
164
+ ],
165
+ currencies: [
166
+ {
167
+ name: 'USD',
168
+ format: {
169
+ decimals: 2
170
+ }
171
+ }
172
+ ],
173
+ defaultCurrency: {
174
+ name: 'USD',
175
+ format: {
176
+ decimals: 2
177
+ }
178
+ },
179
+ defaultLanguage: {
180
+ culture: 'en-GB',
181
+ name: 'Engelska',
182
+ isDefault: true
183
+ },
184
+ settings: {
185
+ tracking: {
186
+ ga: {
187
+ trackingId: ''
188
+ },
189
+ gtm: {
190
+ containerId: ''
191
+ }
192
+ },
193
+ countrySettings: [
194
+ {
195
+ countryCode: 'IS',
196
+ paymentTypes: [],
197
+ shipping: {
198
+ freeShippingLimit: {
199
+ exVat: 320,
200
+ incVat: 400
201
+ }
202
+ }
203
+ },
204
+ {
205
+ countryCode: 'AE',
206
+ paymentTypes: [],
207
+ shipping: {
208
+ freeShippingLimit: {
209
+ exVat: 160,
210
+ incVat: 200
211
+ }
212
+ }
213
+ },
214
+ {
215
+ countryCode: 'AR',
216
+ paymentTypes: [],
217
+ shipping: {
218
+ freeShippingLimit: {
219
+ exVat: 160,
220
+ incVat: 200
221
+ }
222
+ }
223
+ },
224
+ {
225
+ countryCode: 'BN',
226
+ paymentTypes: [],
227
+ shipping: {
228
+ freeShippingLimit: {
229
+ exVat: 160,
230
+ incVat: 200
231
+ }
232
+ }
233
+ },
234
+ {
235
+ countryCode: 'BR',
236
+ paymentTypes: [],
237
+ shipping: {
238
+ freeShippingLimit: {
239
+ exVat: 160,
240
+ incVat: 200
241
+ }
242
+ }
243
+ },
244
+ {
245
+ countryCode: 'CA',
246
+ paymentTypes: [],
247
+ shipping: {
248
+ freeShippingLimit: {
249
+ exVat: 200,
250
+ incVat: 200
251
+ }
252
+ }
253
+ },
254
+ {
255
+ countryCode: 'CN',
256
+ paymentTypes: [],
257
+ shipping: {
258
+ freeShippingLimit: null
259
+ }
260
+ },
261
+ {
262
+ countryCode: 'FO',
263
+ paymentTypes: [],
264
+ shipping: {
265
+ freeShippingLimit: {
266
+ exVat: 160,
267
+ incVat: 200
268
+ }
269
+ }
270
+ },
271
+ {
272
+ countryCode: 'MQ',
273
+ paymentTypes: [],
274
+ shipping: {
275
+ freeShippingLimit: {
276
+ exVat: 160,
277
+ incVat: 200
278
+ }
279
+ }
280
+ },
281
+ {
282
+ countryCode: 'MX',
283
+ paymentTypes: [],
284
+ shipping: {
285
+ freeShippingLimit: {
286
+ exVat: 160,
287
+ incVat: 200
288
+ }
289
+ }
290
+ },
291
+ {
292
+ countryCode: 'MY',
293
+ paymentTypes: [],
294
+ shipping: {
295
+ freeShippingLimit: {
296
+ exVat: 160,
297
+ incVat: 200
298
+ }
299
+ }
300
+ },
301
+ {
302
+ countryCode: 'PF',
303
+ paymentTypes: [],
304
+ shipping: {
305
+ freeShippingLimit: {
306
+ exVat: 160,
307
+ incVat: 200
308
+ }
309
+ }
310
+ },
311
+ {
312
+ countryCode: 'RU',
313
+ paymentTypes: [],
314
+ shipping: {
315
+ freeShippingLimit: {
316
+ exVat: 160,
317
+ incVat: 200
318
+ }
319
+ }
320
+ },
321
+ {
322
+ countryCode: 'SG',
323
+ paymentTypes: [],
324
+ shipping: {
325
+ freeShippingLimit: {
326
+ exVat: 160,
327
+ incVat: 200
328
+ }
329
+ }
330
+ },
331
+ {
332
+ countryCode: 'SV',
333
+ paymentTypes: [],
334
+ shipping: {
335
+ freeShippingLimit: {
336
+ exVat: 160,
337
+ incVat: 200
338
+ }
339
+ }
340
+ },
341
+ {
342
+ countryCode: 'TH',
343
+ paymentTypes: [],
344
+ shipping: {
345
+ freeShippingLimit: {
346
+ exVat: 160,
347
+ incVat: 200
348
+ }
349
+ }
350
+ },
351
+ {
352
+ countryCode: 'TR',
353
+ paymentTypes: [],
354
+ shipping: {
355
+ freeShippingLimit: {
356
+ exVat: 160,
357
+ incVat: 200
358
+ }
359
+ }
360
+ },
361
+ {
362
+ countryCode: 'TW',
363
+ paymentTypes: [],
364
+ shipping: {
365
+ freeShippingLimit: {
366
+ exVat: 160,
367
+ incVat: 200
368
+ }
369
+ }
370
+ },
371
+ {
372
+ countryCode: 'UA',
373
+ paymentTypes: [],
374
+ shipping: {
375
+ freeShippingLimit: {
376
+ exVat: 160,
377
+ incVat: 200
378
+ }
379
+ }
380
+ },
381
+ {
382
+ countryCode: 'US',
383
+ paymentTypes: [],
384
+ shipping: {
385
+ freeShippingLimit: {
386
+ exVat: 200,
387
+ incVat: 200
388
+ }
389
+ }
390
+ },
391
+ {
392
+ countryCode: 'ZA',
393
+ paymentTypes: [],
394
+ shipping: {
395
+ freeShippingLimit: {
396
+ exVat: 160,
397
+ incVat: 200
398
+ }
399
+ }
400
+ },
401
+ {
402
+ countryCode: 'HK',
403
+ paymentTypes: [],
404
+ shipping: {
405
+ freeShippingLimit: {
406
+ exVat: 160,
407
+ incVat: 200
408
+ }
409
+ }
410
+ },
411
+ {
412
+ countryCode: 'IN',
413
+ paymentTypes: [],
414
+ shipping: {
415
+ freeShippingLimit: {
416
+ exVat: 320,
417
+ incVat: 400
418
+ }
419
+ }
420
+ },
421
+ {
422
+ countryCode: 'ID',
423
+ paymentTypes: [],
424
+ shipping: {
425
+ freeShippingLimit: {
426
+ exVat: 160,
427
+ incVat: 200
428
+ }
429
+ }
430
+ },
431
+ {
432
+ countryCode: 'IL',
433
+ paymentTypes: [],
434
+ shipping: {
435
+ freeShippingLimit: {
436
+ exVat: 160,
437
+ incVat: 200
438
+ }
439
+ }
440
+ },
441
+ {
442
+ countryCode: 'JP',
443
+ paymentTypes: [],
444
+ shipping: {
445
+ freeShippingLimit: {
446
+ exVat: 160,
447
+ incVat: 200
448
+ }
449
+ }
450
+ },
451
+ {
452
+ countryCode: 'KE',
453
+ paymentTypes: [],
454
+ shipping: {
455
+ freeShippingLimit: {
456
+ exVat: 160,
457
+ incVat: 200
458
+ }
459
+ }
460
+ },
461
+ {
462
+ countryCode: 'KR',
463
+ paymentTypes: [],
464
+ shipping: {
465
+ freeShippingLimit: {
466
+ exVat: 160,
467
+ incVat: 200
468
+ }
469
+ }
470
+ },
471
+ {
472
+ countryCode: 'BL',
473
+ paymentTypes: [],
474
+ shipping: {
475
+ freeShippingLimit: {
476
+ exVat: 160,
477
+ incVat: 200
478
+ }
479
+ }
480
+ }
481
+ ],
482
+ pricesIncVat: true
483
+ }
484
+ },
485
+ {
486
+ id: 4,
487
+ name: 'SE',
488
+ isDefault: false,
489
+ displayName: null,
490
+ groupName: null,
491
+ url: 'https://flight-m2.jetshop.se',
492
+ countries: [
493
+ {
494
+ name: 'Sweden',
495
+ code: 'SE',
496
+ isDefault: true
497
+ }
498
+ ],
499
+ languages: [
500
+ {
501
+ culture: 'sv-SE',
502
+ name: 'Svenska',
503
+ isDefault: true
504
+ },
505
+ {
506
+ culture: 'en-GB',
507
+ name: 'English',
508
+ isDefault: false
509
+ }
510
+ ],
511
+ currencies: [
512
+ {
513
+ name: 'SEK',
514
+ format: {
515
+ decimals: 2
516
+ }
517
+ }
518
+ ],
519
+ defaultCurrency: {
520
+ name: 'SEK',
521
+ format: {
522
+ decimals: 2
523
+ }
524
+ },
525
+ defaultLanguage: {
526
+ culture: 'sv-SE',
527
+ name: 'Svenska',
528
+ isDefault: true
529
+ },
530
+ settings: {
531
+ tracking: {
532
+ ga: {
533
+ trackingId: ''
534
+ },
535
+ gtm: {
536
+ containerId: ''
537
+ }
538
+ },
539
+ countrySettings: [
540
+ {
541
+ countryCode: 'SE',
542
+ paymentTypes: [],
543
+ shipping: {
544
+ freeShippingLimit: {
545
+ exVat: 600,
546
+ incVat: 600
547
+ }
548
+ }
549
+ }
550
+ ],
551
+ pricesIncVat: true
552
+ }
553
+ },
554
+ {
555
+ id: 5,
556
+ name: 'UK',
557
+ isDefault: false,
558
+ displayName: null,
559
+ groupName: null,
560
+ url: 'https://flight-m2.jetshop.uk',
561
+ countries: [
562
+ {
563
+ name: 'Sweden',
564
+ code: 'SE',
565
+ isDefault: true
566
+ }
567
+ ],
568
+ languages: [
569
+ {
570
+ culture: 'sv-SE',
571
+ name: 'Svenska',
572
+ isDefault: true
573
+ }
574
+ ],
575
+ currencies: [
576
+ {
577
+ name: 'SEK',
578
+ format: {
579
+ decimals: 2
580
+ }
581
+ }
582
+ ],
583
+ defaultCurrency: {
584
+ name: 'SEK',
585
+ format: {
586
+ decimals: 2
587
+ }
588
+ },
589
+ defaultLanguage: {
590
+ culture: 'sv-SE',
591
+ name: 'Svenska',
592
+ isDefault: true
593
+ },
594
+ settings: {
595
+ tracking: {
596
+ ga: {
597
+ trackingId: ''
598
+ },
599
+ gtm: {
600
+ containerId: ''
601
+ }
602
+ },
603
+ countrySettings: [
604
+ {
605
+ countryCode: 'SE',
606
+ paymentTypes: [],
607
+ shipping: {
608
+ freeShippingLimit: {
609
+ exVat: 600,
610
+ incVat: 600
611
+ }
612
+ }
613
+ }
614
+ ],
615
+ pricesIncVat: true
616
+ }
617
+ }
618
+ ];
619
+
620
+ export const singleDomainChannels = [
621
+ {
622
+ id: 1,
623
+ name: 'INT',
624
+ isDefault: true,
625
+ displayName: 'International',
626
+ groupName: null,
627
+ url: 'https://flight.jetshop.se/int',
628
+ countries: [
629
+ {
630
+ name: 'Iceland',
631
+ code: 'IS',
632
+ isDefault: false
633
+ },
634
+ {
635
+ name: 'United Arab Emirates',
636
+ code: 'AE',
637
+ isDefault: false
638
+ },
639
+ {
640
+ name: 'Argentina',
641
+ code: 'AR',
642
+ isDefault: false
643
+ },
644
+ {
645
+ name: 'Brunei',
646
+ code: 'BN',
647
+ isDefault: false
648
+ },
649
+ {
650
+ name: 'Brazil',
651
+ code: 'BR',
652
+ isDefault: false
653
+ },
654
+ {
655
+ name: 'Canada',
656
+ code: 'CA',
657
+ isDefault: false
658
+ },
659
+ {
660
+ name: 'China',
661
+ code: 'CN',
662
+ isDefault: false
663
+ },
664
+ {
665
+ name: 'Faeroe Islands',
666
+ code: 'FO',
667
+ isDefault: false
668
+ },
669
+ {
670
+ name: 'Martinique',
671
+ code: 'MQ',
672
+ isDefault: false
673
+ },
674
+ {
675
+ name: 'Mexico',
676
+ code: 'MX',
677
+ isDefault: false
678
+ },
679
+ {
680
+ name: 'Malaysia',
681
+ code: 'MY',
682
+ isDefault: false
683
+ },
684
+ {
685
+ name: 'French Polynesia',
686
+ code: 'PF',
687
+ isDefault: false
688
+ },
689
+ {
690
+ name: 'Russia',
691
+ code: 'RU',
692
+ isDefault: false
693
+ },
694
+ {
695
+ name: 'Singapore',
696
+ code: 'SG',
697
+ isDefault: false
698
+ },
699
+ {
700
+ name: 'El Salvador',
701
+ code: 'SV',
702
+ isDefault: false
703
+ },
704
+ {
705
+ name: 'Thailand',
706
+ code: 'TH',
707
+ isDefault: false
708
+ },
709
+ {
710
+ name: 'Turkey',
711
+ code: 'TR',
712
+ isDefault: false
713
+ },
714
+ {
715
+ name: 'Taiwan',
716
+ code: 'TW',
717
+ isDefault: false
718
+ },
719
+ {
720
+ name: 'Ukraina',
721
+ code: 'UA',
722
+ isDefault: false
723
+ },
724
+ {
725
+ name: 'United States',
726
+ code: 'US',
727
+ isDefault: true
728
+ },
729
+ {
730
+ name: 'South Africa',
731
+ code: 'ZA',
732
+ isDefault: false
733
+ },
734
+ {
735
+ name: 'Hong Kong',
736
+ code: 'HK',
737
+ isDefault: false
738
+ },
739
+ {
740
+ name: 'India',
741
+ code: 'IN',
742
+ isDefault: false
743
+ },
744
+ {
745
+ name: 'Indonesia',
746
+ code: 'ID',
747
+ isDefault: false
748
+ },
749
+ {
750
+ name: 'Israel',
751
+ code: 'IL',
752
+ isDefault: false
753
+ },
754
+ {
755
+ name: 'Japan',
756
+ code: 'JP',
757
+ isDefault: false
758
+ },
759
+ {
760
+ name: 'Kenya',
761
+ code: 'KE',
762
+ isDefault: false
763
+ },
764
+ {
765
+ name: 'South Korea',
766
+ code: 'KR',
767
+ isDefault: false
768
+ },
769
+ {
770
+ name: 'Saint Barthélemy',
771
+ code: 'BL',
772
+ isDefault: false
773
+ }
774
+ ],
775
+ languages: [
776
+ {
777
+ culture: 'en-GB',
778
+ name: 'Engelska',
779
+ isDefault: true
780
+ }
781
+ ],
782
+ currencies: [
783
+ {
784
+ name: 'USD',
785
+ format: {
786
+ decimals: 2
787
+ }
788
+ }
789
+ ],
790
+ defaultCurrency: {
791
+ name: 'USD',
792
+ format: {
793
+ decimals: 2
794
+ }
795
+ },
796
+ defaultLanguage: {
797
+ culture: 'en-GB',
798
+ name: 'Engelska',
799
+ isDefault: true
800
+ },
801
+ settings: {
802
+ tracking: {
803
+ ga: {
804
+ trackingId: ''
805
+ },
806
+ gtm: {
807
+ containerId: ''
808
+ }
809
+ },
810
+ countrySettings: [
811
+ {
812
+ countryCode: 'IS',
813
+ paymentTypes: [],
814
+ shipping: {
815
+ freeShippingLimit: {
816
+ exVat: 320,
817
+ incVat: 400
818
+ }
819
+ }
820
+ },
821
+ {
822
+ countryCode: 'AE',
823
+ paymentTypes: [],
824
+ shipping: {
825
+ freeShippingLimit: {
826
+ exVat: 160,
827
+ incVat: 200
828
+ }
829
+ }
830
+ },
831
+ {
832
+ countryCode: 'AR',
833
+ paymentTypes: [],
834
+ shipping: {
835
+ freeShippingLimit: {
836
+ exVat: 160,
837
+ incVat: 200
838
+ }
839
+ }
840
+ },
841
+ {
842
+ countryCode: 'BN',
843
+ paymentTypes: [],
844
+ shipping: {
845
+ freeShippingLimit: {
846
+ exVat: 160,
847
+ incVat: 200
848
+ }
849
+ }
850
+ },
851
+ {
852
+ countryCode: 'BR',
853
+ paymentTypes: [],
854
+ shipping: {
855
+ freeShippingLimit: {
856
+ exVat: 160,
857
+ incVat: 200
858
+ }
859
+ }
860
+ },
861
+ {
862
+ countryCode: 'CA',
863
+ paymentTypes: [],
864
+ shipping: {
865
+ freeShippingLimit: {
866
+ exVat: 200,
867
+ incVat: 200
868
+ }
869
+ }
870
+ },
871
+ {
872
+ countryCode: 'CN',
873
+ paymentTypes: [],
874
+ shipping: {
875
+ freeShippingLimit: null
876
+ }
877
+ },
878
+ {
879
+ countryCode: 'FO',
880
+ paymentTypes: [],
881
+ shipping: {
882
+ freeShippingLimit: {
883
+ exVat: 160,
884
+ incVat: 200
885
+ }
886
+ }
887
+ },
888
+ {
889
+ countryCode: 'MQ',
890
+ paymentTypes: [],
891
+ shipping: {
892
+ freeShippingLimit: {
893
+ exVat: 160,
894
+ incVat: 200
895
+ }
896
+ }
897
+ },
898
+ {
899
+ countryCode: 'MX',
900
+ paymentTypes: [],
901
+ shipping: {
902
+ freeShippingLimit: {
903
+ exVat: 160,
904
+ incVat: 200
905
+ }
906
+ }
907
+ },
908
+ {
909
+ countryCode: 'MY',
910
+ paymentTypes: [],
911
+ shipping: {
912
+ freeShippingLimit: {
913
+ exVat: 160,
914
+ incVat: 200
915
+ }
916
+ }
917
+ },
918
+ {
919
+ countryCode: 'PF',
920
+ paymentTypes: [],
921
+ shipping: {
922
+ freeShippingLimit: {
923
+ exVat: 160,
924
+ incVat: 200
925
+ }
926
+ }
927
+ },
928
+ {
929
+ countryCode: 'RU',
930
+ paymentTypes: [],
931
+ shipping: {
932
+ freeShippingLimit: {
933
+ exVat: 160,
934
+ incVat: 200
935
+ }
936
+ }
937
+ },
938
+ {
939
+ countryCode: 'SG',
940
+ paymentTypes: [],
941
+ shipping: {
942
+ freeShippingLimit: {
943
+ exVat: 160,
944
+ incVat: 200
945
+ }
946
+ }
947
+ },
948
+ {
949
+ countryCode: 'SV',
950
+ paymentTypes: [],
951
+ shipping: {
952
+ freeShippingLimit: {
953
+ exVat: 160,
954
+ incVat: 200
955
+ }
956
+ }
957
+ },
958
+ {
959
+ countryCode: 'TH',
960
+ paymentTypes: [],
961
+ shipping: {
962
+ freeShippingLimit: {
963
+ exVat: 160,
964
+ incVat: 200
965
+ }
966
+ }
967
+ },
968
+ {
969
+ countryCode: 'TR',
970
+ paymentTypes: [],
971
+ shipping: {
972
+ freeShippingLimit: {
973
+ exVat: 160,
974
+ incVat: 200
975
+ }
976
+ }
977
+ },
978
+ {
979
+ countryCode: 'TW',
980
+ paymentTypes: [],
981
+ shipping: {
982
+ freeShippingLimit: {
983
+ exVat: 160,
984
+ incVat: 200
985
+ }
986
+ }
987
+ },
988
+ {
989
+ countryCode: 'UA',
990
+ paymentTypes: [],
991
+ shipping: {
992
+ freeShippingLimit: {
993
+ exVat: 160,
994
+ incVat: 200
995
+ }
996
+ }
997
+ },
998
+ {
999
+ countryCode: 'US',
1000
+ paymentTypes: [],
1001
+ shipping: {
1002
+ freeShippingLimit: {
1003
+ exVat: 200,
1004
+ incVat: 200
1005
+ }
1006
+ }
1007
+ },
1008
+ {
1009
+ countryCode: 'ZA',
1010
+ paymentTypes: [],
1011
+ shipping: {
1012
+ freeShippingLimit: {
1013
+ exVat: 160,
1014
+ incVat: 200
1015
+ }
1016
+ }
1017
+ },
1018
+ {
1019
+ countryCode: 'HK',
1020
+ paymentTypes: [],
1021
+ shipping: {
1022
+ freeShippingLimit: {
1023
+ exVat: 160,
1024
+ incVat: 200
1025
+ }
1026
+ }
1027
+ },
1028
+ {
1029
+ countryCode: 'IN',
1030
+ paymentTypes: [],
1031
+ shipping: {
1032
+ freeShippingLimit: {
1033
+ exVat: 320,
1034
+ incVat: 400
1035
+ }
1036
+ }
1037
+ },
1038
+ {
1039
+ countryCode: 'ID',
1040
+ paymentTypes: [],
1041
+ shipping: {
1042
+ freeShippingLimit: {
1043
+ exVat: 160,
1044
+ incVat: 200
1045
+ }
1046
+ }
1047
+ },
1048
+ {
1049
+ countryCode: 'IL',
1050
+ paymentTypes: [],
1051
+ shipping: {
1052
+ freeShippingLimit: {
1053
+ exVat: 160,
1054
+ incVat: 200
1055
+ }
1056
+ }
1057
+ },
1058
+ {
1059
+ countryCode: 'JP',
1060
+ paymentTypes: [],
1061
+ shipping: {
1062
+ freeShippingLimit: {
1063
+ exVat: 160,
1064
+ incVat: 200
1065
+ }
1066
+ }
1067
+ },
1068
+ {
1069
+ countryCode: 'KE',
1070
+ paymentTypes: [],
1071
+ shipping: {
1072
+ freeShippingLimit: {
1073
+ exVat: 160,
1074
+ incVat: 200
1075
+ }
1076
+ }
1077
+ },
1078
+ {
1079
+ countryCode: 'KR',
1080
+ paymentTypes: [],
1081
+ shipping: {
1082
+ freeShippingLimit: {
1083
+ exVat: 160,
1084
+ incVat: 200
1085
+ }
1086
+ }
1087
+ },
1088
+ {
1089
+ countryCode: 'BL',
1090
+ paymentTypes: [],
1091
+ shipping: {
1092
+ freeShippingLimit: {
1093
+ exVat: 160,
1094
+ incVat: 200
1095
+ }
1096
+ }
1097
+ }
1098
+ ],
1099
+ pricesIncVat: true
1100
+ }
1101
+ },
1102
+ {
1103
+ id: 4,
1104
+ name: 'SE',
1105
+ isDefault: false,
1106
+ displayName: null,
1107
+ groupName: null,
1108
+ url: 'https://flight-m2.jetshop.se/se',
1109
+ countries: [
1110
+ {
1111
+ name: 'Sweden',
1112
+ code: 'SE',
1113
+ isDefault: true
1114
+ }
1115
+ ],
1116
+ languages: [
1117
+ {
1118
+ culture: 'sv-SE',
1119
+ name: 'Svenska',
1120
+ isDefault: true
1121
+ },
1122
+ {
1123
+ culture: 'en-GB',
1124
+ name: 'English',
1125
+ isDefault: false
1126
+ }
1127
+ ],
1128
+ currencies: [
1129
+ {
1130
+ name: 'SEK',
1131
+ format: {
1132
+ decimals: 2
1133
+ }
1134
+ }
1135
+ ],
1136
+ defaultCurrency: {
1137
+ name: 'SEK',
1138
+ format: {
1139
+ decimals: 2
1140
+ }
1141
+ },
1142
+ defaultLanguage: {
1143
+ culture: 'sv-SE',
1144
+ name: 'Svenska',
1145
+ isDefault: true
1146
+ },
1147
+ settings: {
1148
+ tracking: {
1149
+ ga: {
1150
+ trackingId: ''
1151
+ },
1152
+ gtm: {
1153
+ containerId: ''
1154
+ }
1155
+ },
1156
+ countrySettings: [
1157
+ {
1158
+ countryCode: 'SE',
1159
+ paymentTypes: [],
1160
+ shipping: {
1161
+ freeShippingLimit: {
1162
+ exVat: 600,
1163
+ incVat: 600
1164
+ }
1165
+ }
1166
+ }
1167
+ ],
1168
+ pricesIncVat: true
1169
+ }
1170
+ },
1171
+ {
1172
+ id: 5,
1173
+ name: 'UK',
1174
+ isDefault: false,
1175
+ displayName: null,
1176
+ groupName: null,
1177
+ url: 'https://flight-m2.jetshop.se/uk',
1178
+ countries: [
1179
+ {
1180
+ name: 'United Kingdom',
1181
+ code: 'UK',
1182
+ isDefault: true
1183
+ }
1184
+ ],
1185
+ languages: [
1186
+ {
1187
+ culture: 'sv-SE',
1188
+ name: 'Svenska',
1189
+ isDefault: true
1190
+ }
1191
+ ],
1192
+ currencies: [
1193
+ {
1194
+ name: 'SEK',
1195
+ format: {
1196
+ decimals: 2
1197
+ }
1198
+ }
1199
+ ],
1200
+ defaultCurrency: {
1201
+ name: 'SEK',
1202
+ format: {
1203
+ decimals: 2
1204
+ }
1205
+ },
1206
+ defaultLanguage: {
1207
+ culture: 'sv-SE',
1208
+ name: 'Svenska',
1209
+ isDefault: true
1210
+ },
1211
+ settings: {
1212
+ tracking: {
1213
+ ga: {
1214
+ trackingId: ''
1215
+ },
1216
+ gtm: {
1217
+ containerId: ''
1218
+ }
1219
+ },
1220
+ countrySettings: [
1221
+ {
1222
+ countryCode: 'SE',
1223
+ paymentTypes: [],
1224
+ shipping: {
1225
+ freeShippingLimit: {
1226
+ exVat: 600,
1227
+ incVat: 600
1228
+ }
1229
+ }
1230
+ }
1231
+ ],
1232
+ pricesIncVat: true
1233
+ }
1234
+ }
1235
+ ];
1236
+
1237
+ export const groupedChannels = [
1238
+ {
1239
+ id: 1,
1240
+ name: 'INT',
1241
+ isDefault: true,
1242
+ displayName: 'International',
1243
+ groupName: 'Brand-1',
1244
+ url: 'https://flight.jetshop.se',
1245
+ countries: [
1246
+ {
1247
+ name: 'Iceland',
1248
+ code: 'IS',
1249
+ isDefault: false
1250
+ },
1251
+ {
1252
+ name: 'United Arab Emirates',
1253
+ code: 'AE',
1254
+ isDefault: false
1255
+ },
1256
+ {
1257
+ name: 'Argentina',
1258
+ code: 'AR',
1259
+ isDefault: false
1260
+ },
1261
+ {
1262
+ name: 'Brunei',
1263
+ code: 'BN',
1264
+ isDefault: false
1265
+ },
1266
+ {
1267
+ name: 'Brazil',
1268
+ code: 'BR',
1269
+ isDefault: false
1270
+ },
1271
+ {
1272
+ name: 'Canada',
1273
+ code: 'CA',
1274
+ isDefault: false
1275
+ },
1276
+ {
1277
+ name: 'China',
1278
+ code: 'CN',
1279
+ isDefault: false
1280
+ },
1281
+ {
1282
+ name: 'Faeroe Islands',
1283
+ code: 'FO',
1284
+ isDefault: false
1285
+ },
1286
+ {
1287
+ name: 'Martinique',
1288
+ code: 'MQ',
1289
+ isDefault: false
1290
+ },
1291
+ {
1292
+ name: 'Mexico',
1293
+ code: 'MX',
1294
+ isDefault: false
1295
+ },
1296
+ {
1297
+ name: 'Malaysia',
1298
+ code: 'MY',
1299
+ isDefault: false
1300
+ },
1301
+ {
1302
+ name: 'French Polynesia',
1303
+ code: 'PF',
1304
+ isDefault: false
1305
+ },
1306
+ {
1307
+ name: 'Russia',
1308
+ code: 'RU',
1309
+ isDefault: false
1310
+ },
1311
+ {
1312
+ name: 'Singapore',
1313
+ code: 'SG',
1314
+ isDefault: false
1315
+ },
1316
+ {
1317
+ name: 'El Salvador',
1318
+ code: 'SV',
1319
+ isDefault: false
1320
+ },
1321
+ {
1322
+ name: 'Thailand',
1323
+ code: 'TH',
1324
+ isDefault: false
1325
+ },
1326
+ {
1327
+ name: 'Turkey',
1328
+ code: 'TR',
1329
+ isDefault: false
1330
+ },
1331
+ {
1332
+ name: 'Taiwan',
1333
+ code: 'TW',
1334
+ isDefault: false
1335
+ },
1336
+ {
1337
+ name: 'Ukraina',
1338
+ code: 'UA',
1339
+ isDefault: false
1340
+ },
1341
+ {
1342
+ name: 'United States',
1343
+ code: 'US',
1344
+ isDefault: true
1345
+ },
1346
+ {
1347
+ name: 'South Africa',
1348
+ code: 'ZA',
1349
+ isDefault: false
1350
+ },
1351
+ {
1352
+ name: 'Hong Kong',
1353
+ code: 'HK',
1354
+ isDefault: false
1355
+ },
1356
+ {
1357
+ name: 'India',
1358
+ code: 'IN',
1359
+ isDefault: false
1360
+ },
1361
+ {
1362
+ name: 'Indonesia',
1363
+ code: 'ID',
1364
+ isDefault: false
1365
+ },
1366
+ {
1367
+ name: 'Israel',
1368
+ code: 'IL',
1369
+ isDefault: false
1370
+ },
1371
+ {
1372
+ name: 'Japan',
1373
+ code: 'JP',
1374
+ isDefault: false
1375
+ },
1376
+ {
1377
+ name: 'Kenya',
1378
+ code: 'KE',
1379
+ isDefault: false
1380
+ },
1381
+ {
1382
+ name: 'South Korea',
1383
+ code: 'KR',
1384
+ isDefault: false
1385
+ },
1386
+ {
1387
+ name: 'Saint Barthélemy',
1388
+ code: 'BL',
1389
+ isDefault: false
1390
+ }
1391
+ ],
1392
+ languages: [
1393
+ {
1394
+ culture: 'en-GB',
1395
+ name: 'Engelska',
1396
+ isDefault: true
1397
+ }
1398
+ ],
1399
+ currencies: [
1400
+ {
1401
+ name: 'USD',
1402
+ format: {
1403
+ decimals: 2
1404
+ }
1405
+ }
1406
+ ],
1407
+ defaultCurrency: {
1408
+ name: 'USD',
1409
+ format: {
1410
+ decimals: 2
1411
+ }
1412
+ },
1413
+ defaultLanguage: {
1414
+ culture: 'en-GB',
1415
+ name: 'Engelska',
1416
+ isDefault: true
1417
+ },
1418
+ settings: {
1419
+ tracking: {
1420
+ ga: {
1421
+ trackingId: ''
1422
+ },
1423
+ gtm: {
1424
+ containerId: ''
1425
+ }
1426
+ },
1427
+ countrySettings: [
1428
+ {
1429
+ countryCode: 'IS',
1430
+ paymentTypes: [],
1431
+ shipping: {
1432
+ freeShippingLimit: {
1433
+ exVat: 320,
1434
+ incVat: 400
1435
+ }
1436
+ }
1437
+ },
1438
+ {
1439
+ countryCode: 'AE',
1440
+ paymentTypes: [],
1441
+ shipping: {
1442
+ freeShippingLimit: {
1443
+ exVat: 160,
1444
+ incVat: 200
1445
+ }
1446
+ }
1447
+ },
1448
+ {
1449
+ countryCode: 'AR',
1450
+ paymentTypes: [],
1451
+ shipping: {
1452
+ freeShippingLimit: {
1453
+ exVat: 160,
1454
+ incVat: 200
1455
+ }
1456
+ }
1457
+ },
1458
+ {
1459
+ countryCode: 'BN',
1460
+ paymentTypes: [],
1461
+ shipping: {
1462
+ freeShippingLimit: {
1463
+ exVat: 160,
1464
+ incVat: 200
1465
+ }
1466
+ }
1467
+ },
1468
+ {
1469
+ countryCode: 'BR',
1470
+ paymentTypes: [],
1471
+ shipping: {
1472
+ freeShippingLimit: {
1473
+ exVat: 160,
1474
+ incVat: 200
1475
+ }
1476
+ }
1477
+ },
1478
+ {
1479
+ countryCode: 'CA',
1480
+ paymentTypes: [],
1481
+ shipping: {
1482
+ freeShippingLimit: {
1483
+ exVat: 200,
1484
+ incVat: 200
1485
+ }
1486
+ }
1487
+ },
1488
+ {
1489
+ countryCode: 'CN',
1490
+ paymentTypes: [],
1491
+ shipping: {
1492
+ freeShippingLimit: null
1493
+ }
1494
+ },
1495
+ {
1496
+ countryCode: 'FO',
1497
+ paymentTypes: [],
1498
+ shipping: {
1499
+ freeShippingLimit: {
1500
+ exVat: 160,
1501
+ incVat: 200
1502
+ }
1503
+ }
1504
+ },
1505
+ {
1506
+ countryCode: 'MQ',
1507
+ paymentTypes: [],
1508
+ shipping: {
1509
+ freeShippingLimit: {
1510
+ exVat: 160,
1511
+ incVat: 200
1512
+ }
1513
+ }
1514
+ },
1515
+ {
1516
+ countryCode: 'MX',
1517
+ paymentTypes: [],
1518
+ shipping: {
1519
+ freeShippingLimit: {
1520
+ exVat: 160,
1521
+ incVat: 200
1522
+ }
1523
+ }
1524
+ },
1525
+ {
1526
+ countryCode: 'MY',
1527
+ paymentTypes: [],
1528
+ shipping: {
1529
+ freeShippingLimit: {
1530
+ exVat: 160,
1531
+ incVat: 200
1532
+ }
1533
+ }
1534
+ },
1535
+ {
1536
+ countryCode: 'PF',
1537
+ paymentTypes: [],
1538
+ shipping: {
1539
+ freeShippingLimit: {
1540
+ exVat: 160,
1541
+ incVat: 200
1542
+ }
1543
+ }
1544
+ },
1545
+ {
1546
+ countryCode: 'RU',
1547
+ paymentTypes: [],
1548
+ shipping: {
1549
+ freeShippingLimit: {
1550
+ exVat: 160,
1551
+ incVat: 200
1552
+ }
1553
+ }
1554
+ },
1555
+ {
1556
+ countryCode: 'SG',
1557
+ paymentTypes: [],
1558
+ shipping: {
1559
+ freeShippingLimit: {
1560
+ exVat: 160,
1561
+ incVat: 200
1562
+ }
1563
+ }
1564
+ },
1565
+ {
1566
+ countryCode: 'SV',
1567
+ paymentTypes: [],
1568
+ shipping: {
1569
+ freeShippingLimit: {
1570
+ exVat: 160,
1571
+ incVat: 200
1572
+ }
1573
+ }
1574
+ },
1575
+ {
1576
+ countryCode: 'TH',
1577
+ paymentTypes: [],
1578
+ shipping: {
1579
+ freeShippingLimit: {
1580
+ exVat: 160,
1581
+ incVat: 200
1582
+ }
1583
+ }
1584
+ },
1585
+ {
1586
+ countryCode: 'TR',
1587
+ paymentTypes: [],
1588
+ shipping: {
1589
+ freeShippingLimit: {
1590
+ exVat: 160,
1591
+ incVat: 200
1592
+ }
1593
+ }
1594
+ },
1595
+ {
1596
+ countryCode: 'TW',
1597
+ paymentTypes: [],
1598
+ shipping: {
1599
+ freeShippingLimit: {
1600
+ exVat: 160,
1601
+ incVat: 200
1602
+ }
1603
+ }
1604
+ },
1605
+ {
1606
+ countryCode: 'UA',
1607
+ paymentTypes: [],
1608
+ shipping: {
1609
+ freeShippingLimit: {
1610
+ exVat: 160,
1611
+ incVat: 200
1612
+ }
1613
+ }
1614
+ },
1615
+ {
1616
+ countryCode: 'US',
1617
+ paymentTypes: [],
1618
+ shipping: {
1619
+ freeShippingLimit: {
1620
+ exVat: 200,
1621
+ incVat: 200
1622
+ }
1623
+ }
1624
+ },
1625
+ {
1626
+ countryCode: 'ZA',
1627
+ paymentTypes: [],
1628
+ shipping: {
1629
+ freeShippingLimit: {
1630
+ exVat: 160,
1631
+ incVat: 200
1632
+ }
1633
+ }
1634
+ },
1635
+ {
1636
+ countryCode: 'HK',
1637
+ paymentTypes: [],
1638
+ shipping: {
1639
+ freeShippingLimit: {
1640
+ exVat: 160,
1641
+ incVat: 200
1642
+ }
1643
+ }
1644
+ },
1645
+ {
1646
+ countryCode: 'IN',
1647
+ paymentTypes: [],
1648
+ shipping: {
1649
+ freeShippingLimit: {
1650
+ exVat: 320,
1651
+ incVat: 400
1652
+ }
1653
+ }
1654
+ },
1655
+ {
1656
+ countryCode: 'ID',
1657
+ paymentTypes: [],
1658
+ shipping: {
1659
+ freeShippingLimit: {
1660
+ exVat: 160,
1661
+ incVat: 200
1662
+ }
1663
+ }
1664
+ },
1665
+ {
1666
+ countryCode: 'IL',
1667
+ paymentTypes: [],
1668
+ shipping: {
1669
+ freeShippingLimit: {
1670
+ exVat: 160,
1671
+ incVat: 200
1672
+ }
1673
+ }
1674
+ },
1675
+ {
1676
+ countryCode: 'JP',
1677
+ paymentTypes: [],
1678
+ shipping: {
1679
+ freeShippingLimit: {
1680
+ exVat: 160,
1681
+ incVat: 200
1682
+ }
1683
+ }
1684
+ },
1685
+ {
1686
+ countryCode: 'KE',
1687
+ paymentTypes: [],
1688
+ shipping: {
1689
+ freeShippingLimit: {
1690
+ exVat: 160,
1691
+ incVat: 200
1692
+ }
1693
+ }
1694
+ },
1695
+ {
1696
+ countryCode: 'KR',
1697
+ paymentTypes: [],
1698
+ shipping: {
1699
+ freeShippingLimit: {
1700
+ exVat: 160,
1701
+ incVat: 200
1702
+ }
1703
+ }
1704
+ },
1705
+ {
1706
+ countryCode: 'BL',
1707
+ paymentTypes: [],
1708
+ shipping: {
1709
+ freeShippingLimit: {
1710
+ exVat: 160,
1711
+ incVat: 200
1712
+ }
1713
+ }
1714
+ }
1715
+ ],
1716
+ pricesIncVat: true
1717
+ }
1718
+ },
1719
+ {
1720
+ id: 4,
1721
+ name: 'SE',
1722
+ isDefault: false,
1723
+ displayName: null,
1724
+ groupName: 'Brand-1',
1725
+ url: 'https://flight-m2.jetshop.se',
1726
+ countries: [
1727
+ {
1728
+ name: 'Sweden',
1729
+ code: 'SE',
1730
+ isDefault: true
1731
+ }
1732
+ ],
1733
+ languages: [
1734
+ {
1735
+ culture: 'sv-SE',
1736
+ name: 'Svenska',
1737
+ isDefault: true
1738
+ },
1739
+ {
1740
+ culture: 'en-GB',
1741
+ name: 'English',
1742
+ isDefault: false
1743
+ }
1744
+ ],
1745
+ currencies: [
1746
+ {
1747
+ name: 'SEK',
1748
+ format: {
1749
+ decimals: 2
1750
+ }
1751
+ }
1752
+ ],
1753
+ defaultCurrency: {
1754
+ name: 'SEK',
1755
+ format: {
1756
+ decimals: 2
1757
+ }
1758
+ },
1759
+ defaultLanguage: {
1760
+ culture: 'sv-SE',
1761
+ name: 'Svenska',
1762
+ isDefault: true
1763
+ },
1764
+ settings: {
1765
+ tracking: {
1766
+ ga: {
1767
+ trackingId: ''
1768
+ },
1769
+ gtm: {
1770
+ containerId: ''
1771
+ }
1772
+ },
1773
+ countrySettings: [
1774
+ {
1775
+ countryCode: 'SE',
1776
+ paymentTypes: [],
1777
+ shipping: {
1778
+ freeShippingLimit: {
1779
+ exVat: 600,
1780
+ incVat: 600
1781
+ }
1782
+ }
1783
+ }
1784
+ ],
1785
+ pricesIncVat: true
1786
+ }
1787
+ },
1788
+ {
1789
+ id: 5,
1790
+ name: 'UK',
1791
+ isDefault: false,
1792
+ displayName: null,
1793
+ groupName: 'Brand-2',
1794
+ url: 'https://flight-m2.jetshop.uk',
1795
+ countries: [
1796
+ {
1797
+ name: 'Sweden',
1798
+ code: 'SE',
1799
+ isDefault: true
1800
+ }
1801
+ ],
1802
+ languages: [
1803
+ {
1804
+ culture: 'sv-SE',
1805
+ name: 'Svenska',
1806
+ isDefault: true
1807
+ }
1808
+ ],
1809
+ currencies: [
1810
+ {
1811
+ name: 'SEK',
1812
+ format: {
1813
+ decimals: 2
1814
+ }
1815
+ }
1816
+ ],
1817
+ defaultCurrency: {
1818
+ name: 'SEK',
1819
+ format: {
1820
+ decimals: 2
1821
+ }
1822
+ },
1823
+ defaultLanguage: {
1824
+ culture: 'sv-SE',
1825
+ name: 'Svenska',
1826
+ isDefault: true
1827
+ },
1828
+ settings: {
1829
+ tracking: {
1830
+ ga: {
1831
+ trackingId: ''
1832
+ },
1833
+ gtm: {
1834
+ containerId: ''
1835
+ }
1836
+ },
1837
+ countrySettings: [
1838
+ {
1839
+ countryCode: 'SE',
1840
+ paymentTypes: [],
1841
+ shipping: {
1842
+ freeShippingLimit: {
1843
+ exVat: 600,
1844
+ incVat: 600
1845
+ }
1846
+ }
1847
+ }
1848
+ ],
1849
+ pricesIncVat: true
1850
+ }
1851
+ }
1852
+ ];
1853
+
1854
+ export const groupedSingleDomainChannels = [
1855
+ {
1856
+ id: 1,
1857
+ name: 'INT',
1858
+ isDefault: true,
1859
+ displayName: 'International',
1860
+ groupName: 'Brand-1',
1861
+ url: 'https://flight-m2.jetshop.se/int',
1862
+ countries: [
1863
+ {
1864
+ name: 'Iceland',
1865
+ code: 'IS',
1866
+ isDefault: false
1867
+ },
1868
+ {
1869
+ name: 'United Arab Emirates',
1870
+ code: 'AE',
1871
+ isDefault: false
1872
+ },
1873
+ {
1874
+ name: 'Argentina',
1875
+ code: 'AR',
1876
+ isDefault: false
1877
+ },
1878
+ {
1879
+ name: 'Brunei',
1880
+ code: 'BN',
1881
+ isDefault: false
1882
+ },
1883
+ {
1884
+ name: 'Brazil',
1885
+ code: 'BR',
1886
+ isDefault: false
1887
+ },
1888
+ {
1889
+ name: 'Canada',
1890
+ code: 'CA',
1891
+ isDefault: false
1892
+ },
1893
+ {
1894
+ name: 'China',
1895
+ code: 'CN',
1896
+ isDefault: false
1897
+ },
1898
+ {
1899
+ name: 'Faeroe Islands',
1900
+ code: 'FO',
1901
+ isDefault: false
1902
+ },
1903
+ {
1904
+ name: 'Martinique',
1905
+ code: 'MQ',
1906
+ isDefault: false
1907
+ },
1908
+ {
1909
+ name: 'Mexico',
1910
+ code: 'MX',
1911
+ isDefault: false
1912
+ },
1913
+ {
1914
+ name: 'Malaysia',
1915
+ code: 'MY',
1916
+ isDefault: false
1917
+ },
1918
+ {
1919
+ name: 'French Polynesia',
1920
+ code: 'PF',
1921
+ isDefault: false
1922
+ },
1923
+ {
1924
+ name: 'Russia',
1925
+ code: 'RU',
1926
+ isDefault: false
1927
+ },
1928
+ {
1929
+ name: 'Singapore',
1930
+ code: 'SG',
1931
+ isDefault: false
1932
+ },
1933
+ {
1934
+ name: 'El Salvador',
1935
+ code: 'SV',
1936
+ isDefault: false
1937
+ },
1938
+ {
1939
+ name: 'Thailand',
1940
+ code: 'TH',
1941
+ isDefault: false
1942
+ },
1943
+ {
1944
+ name: 'Turkey',
1945
+ code: 'TR',
1946
+ isDefault: false
1947
+ },
1948
+ {
1949
+ name: 'Taiwan',
1950
+ code: 'TW',
1951
+ isDefault: false
1952
+ },
1953
+ {
1954
+ name: 'Ukraina',
1955
+ code: 'UA',
1956
+ isDefault: false
1957
+ },
1958
+ {
1959
+ name: 'United States',
1960
+ code: 'US',
1961
+ isDefault: true
1962
+ },
1963
+ {
1964
+ name: 'South Africa',
1965
+ code: 'ZA',
1966
+ isDefault: false
1967
+ },
1968
+ {
1969
+ name: 'Hong Kong',
1970
+ code: 'HK',
1971
+ isDefault: false
1972
+ },
1973
+ {
1974
+ name: 'India',
1975
+ code: 'IN',
1976
+ isDefault: false
1977
+ },
1978
+ {
1979
+ name: 'Indonesia',
1980
+ code: 'ID',
1981
+ isDefault: false
1982
+ },
1983
+ {
1984
+ name: 'Israel',
1985
+ code: 'IL',
1986
+ isDefault: false
1987
+ },
1988
+ {
1989
+ name: 'Japan',
1990
+ code: 'JP',
1991
+ isDefault: false
1992
+ },
1993
+ {
1994
+ name: 'Kenya',
1995
+ code: 'KE',
1996
+ isDefault: false
1997
+ },
1998
+ {
1999
+ name: 'South Korea',
2000
+ code: 'KR',
2001
+ isDefault: false
2002
+ },
2003
+ {
2004
+ name: 'Saint Barthélemy',
2005
+ code: 'BL',
2006
+ isDefault: false
2007
+ }
2008
+ ],
2009
+ languages: [
2010
+ {
2011
+ culture: 'en-GB',
2012
+ name: 'Engelska',
2013
+ isDefault: true
2014
+ }
2015
+ ],
2016
+ currencies: [
2017
+ {
2018
+ name: 'USD',
2019
+ format: {
2020
+ decimals: 2
2021
+ }
2022
+ }
2023
+ ],
2024
+ defaultCurrency: {
2025
+ name: 'USD',
2026
+ format: {
2027
+ decimals: 2
2028
+ }
2029
+ },
2030
+ defaultLanguage: {
2031
+ culture: 'en-GB',
2032
+ name: 'Engelska',
2033
+ isDefault: true
2034
+ },
2035
+ settings: {
2036
+ tracking: {
2037
+ ga: {
2038
+ trackingId: ''
2039
+ },
2040
+ gtm: {
2041
+ containerId: ''
2042
+ }
2043
+ },
2044
+ countrySettings: [
2045
+ {
2046
+ countryCode: 'IS',
2047
+ paymentTypes: [],
2048
+ shipping: {
2049
+ freeShippingLimit: {
2050
+ exVat: 320,
2051
+ incVat: 400
2052
+ }
2053
+ }
2054
+ },
2055
+ {
2056
+ countryCode: 'AE',
2057
+ paymentTypes: [],
2058
+ shipping: {
2059
+ freeShippingLimit: {
2060
+ exVat: 160,
2061
+ incVat: 200
2062
+ }
2063
+ }
2064
+ },
2065
+ {
2066
+ countryCode: 'AR',
2067
+ paymentTypes: [],
2068
+ shipping: {
2069
+ freeShippingLimit: {
2070
+ exVat: 160,
2071
+ incVat: 200
2072
+ }
2073
+ }
2074
+ },
2075
+ {
2076
+ countryCode: 'BN',
2077
+ paymentTypes: [],
2078
+ shipping: {
2079
+ freeShippingLimit: {
2080
+ exVat: 160,
2081
+ incVat: 200
2082
+ }
2083
+ }
2084
+ },
2085
+ {
2086
+ countryCode: 'BR',
2087
+ paymentTypes: [],
2088
+ shipping: {
2089
+ freeShippingLimit: {
2090
+ exVat: 160,
2091
+ incVat: 200
2092
+ }
2093
+ }
2094
+ },
2095
+ {
2096
+ countryCode: 'CA',
2097
+ paymentTypes: [],
2098
+ shipping: {
2099
+ freeShippingLimit: {
2100
+ exVat: 200,
2101
+ incVat: 200
2102
+ }
2103
+ }
2104
+ },
2105
+ {
2106
+ countryCode: 'CN',
2107
+ paymentTypes: [],
2108
+ shipping: {
2109
+ freeShippingLimit: null
2110
+ }
2111
+ },
2112
+ {
2113
+ countryCode: 'FO',
2114
+ paymentTypes: [],
2115
+ shipping: {
2116
+ freeShippingLimit: {
2117
+ exVat: 160,
2118
+ incVat: 200
2119
+ }
2120
+ }
2121
+ },
2122
+ {
2123
+ countryCode: 'MQ',
2124
+ paymentTypes: [],
2125
+ shipping: {
2126
+ freeShippingLimit: {
2127
+ exVat: 160,
2128
+ incVat: 200
2129
+ }
2130
+ }
2131
+ },
2132
+ {
2133
+ countryCode: 'MX',
2134
+ paymentTypes: [],
2135
+ shipping: {
2136
+ freeShippingLimit: {
2137
+ exVat: 160,
2138
+ incVat: 200
2139
+ }
2140
+ }
2141
+ },
2142
+ {
2143
+ countryCode: 'MY',
2144
+ paymentTypes: [],
2145
+ shipping: {
2146
+ freeShippingLimit: {
2147
+ exVat: 160,
2148
+ incVat: 200
2149
+ }
2150
+ }
2151
+ },
2152
+ {
2153
+ countryCode: 'PF',
2154
+ paymentTypes: [],
2155
+ shipping: {
2156
+ freeShippingLimit: {
2157
+ exVat: 160,
2158
+ incVat: 200
2159
+ }
2160
+ }
2161
+ },
2162
+ {
2163
+ countryCode: 'RU',
2164
+ paymentTypes: [],
2165
+ shipping: {
2166
+ freeShippingLimit: {
2167
+ exVat: 160,
2168
+ incVat: 200
2169
+ }
2170
+ }
2171
+ },
2172
+ {
2173
+ countryCode: 'SG',
2174
+ paymentTypes: [],
2175
+ shipping: {
2176
+ freeShippingLimit: {
2177
+ exVat: 160,
2178
+ incVat: 200
2179
+ }
2180
+ }
2181
+ },
2182
+ {
2183
+ countryCode: 'SV',
2184
+ paymentTypes: [],
2185
+ shipping: {
2186
+ freeShippingLimit: {
2187
+ exVat: 160,
2188
+ incVat: 200
2189
+ }
2190
+ }
2191
+ },
2192
+ {
2193
+ countryCode: 'TH',
2194
+ paymentTypes: [],
2195
+ shipping: {
2196
+ freeShippingLimit: {
2197
+ exVat: 160,
2198
+ incVat: 200
2199
+ }
2200
+ }
2201
+ },
2202
+ {
2203
+ countryCode: 'TR',
2204
+ paymentTypes: [],
2205
+ shipping: {
2206
+ freeShippingLimit: {
2207
+ exVat: 160,
2208
+ incVat: 200
2209
+ }
2210
+ }
2211
+ },
2212
+ {
2213
+ countryCode: 'TW',
2214
+ paymentTypes: [],
2215
+ shipping: {
2216
+ freeShippingLimit: {
2217
+ exVat: 160,
2218
+ incVat: 200
2219
+ }
2220
+ }
2221
+ },
2222
+ {
2223
+ countryCode: 'UA',
2224
+ paymentTypes: [],
2225
+ shipping: {
2226
+ freeShippingLimit: {
2227
+ exVat: 160,
2228
+ incVat: 200
2229
+ }
2230
+ }
2231
+ },
2232
+ {
2233
+ countryCode: 'US',
2234
+ paymentTypes: [],
2235
+ shipping: {
2236
+ freeShippingLimit: {
2237
+ exVat: 200,
2238
+ incVat: 200
2239
+ }
2240
+ }
2241
+ },
2242
+ {
2243
+ countryCode: 'ZA',
2244
+ paymentTypes: [],
2245
+ shipping: {
2246
+ freeShippingLimit: {
2247
+ exVat: 160,
2248
+ incVat: 200
2249
+ }
2250
+ }
2251
+ },
2252
+ {
2253
+ countryCode: 'HK',
2254
+ paymentTypes: [],
2255
+ shipping: {
2256
+ freeShippingLimit: {
2257
+ exVat: 160,
2258
+ incVat: 200
2259
+ }
2260
+ }
2261
+ },
2262
+ {
2263
+ countryCode: 'IN',
2264
+ paymentTypes: [],
2265
+ shipping: {
2266
+ freeShippingLimit: {
2267
+ exVat: 320,
2268
+ incVat: 400
2269
+ }
2270
+ }
2271
+ },
2272
+ {
2273
+ countryCode: 'ID',
2274
+ paymentTypes: [],
2275
+ shipping: {
2276
+ freeShippingLimit: {
2277
+ exVat: 160,
2278
+ incVat: 200
2279
+ }
2280
+ }
2281
+ },
2282
+ {
2283
+ countryCode: 'IL',
2284
+ paymentTypes: [],
2285
+ shipping: {
2286
+ freeShippingLimit: {
2287
+ exVat: 160,
2288
+ incVat: 200
2289
+ }
2290
+ }
2291
+ },
2292
+ {
2293
+ countryCode: 'JP',
2294
+ paymentTypes: [],
2295
+ shipping: {
2296
+ freeShippingLimit: {
2297
+ exVat: 160,
2298
+ incVat: 200
2299
+ }
2300
+ }
2301
+ },
2302
+ {
2303
+ countryCode: 'KE',
2304
+ paymentTypes: [],
2305
+ shipping: {
2306
+ freeShippingLimit: {
2307
+ exVat: 160,
2308
+ incVat: 200
2309
+ }
2310
+ }
2311
+ },
2312
+ {
2313
+ countryCode: 'KR',
2314
+ paymentTypes: [],
2315
+ shipping: {
2316
+ freeShippingLimit: {
2317
+ exVat: 160,
2318
+ incVat: 200
2319
+ }
2320
+ }
2321
+ },
2322
+ {
2323
+ countryCode: 'BL',
2324
+ paymentTypes: [],
2325
+ shipping: {
2326
+ freeShippingLimit: {
2327
+ exVat: 160,
2328
+ incVat: 200
2329
+ }
2330
+ }
2331
+ }
2332
+ ],
2333
+ pricesIncVat: true
2334
+ }
2335
+ },
2336
+ {
2337
+ id: 4,
2338
+ name: 'SE',
2339
+ isDefault: false,
2340
+ displayName: null,
2341
+ groupName: 'Brand-1',
2342
+ url: 'https://flight-m2.jetshop.se/se',
2343
+ countries: [
2344
+ {
2345
+ name: 'Sweden',
2346
+ code: 'SE',
2347
+ isDefault: true
2348
+ }
2349
+ ],
2350
+ languages: [
2351
+ {
2352
+ culture: 'sv-SE',
2353
+ name: 'Svenska',
2354
+ isDefault: true
2355
+ },
2356
+ {
2357
+ culture: 'en-GB',
2358
+ name: 'English',
2359
+ isDefault: false
2360
+ }
2361
+ ],
2362
+ currencies: [
2363
+ {
2364
+ name: 'SEK',
2365
+ format: {
2366
+ decimals: 2
2367
+ }
2368
+ }
2369
+ ],
2370
+ defaultCurrency: {
2371
+ name: 'SEK',
2372
+ format: {
2373
+ decimals: 2
2374
+ }
2375
+ },
2376
+ defaultLanguage: {
2377
+ culture: 'sv-SE',
2378
+ name: 'Svenska',
2379
+ isDefault: true
2380
+ },
2381
+ settings: {
2382
+ tracking: {
2383
+ ga: {
2384
+ trackingId: ''
2385
+ },
2386
+ gtm: {
2387
+ containerId: ''
2388
+ }
2389
+ },
2390
+ countrySettings: [
2391
+ {
2392
+ countryCode: 'SE',
2393
+ paymentTypes: [],
2394
+ shipping: {
2395
+ freeShippingLimit: {
2396
+ exVat: 600,
2397
+ incVat: 600
2398
+ }
2399
+ }
2400
+ }
2401
+ ],
2402
+ pricesIncVat: true
2403
+ }
2404
+ },
2405
+ {
2406
+ id: 5,
2407
+ name: 'UK',
2408
+ isDefault: false,
2409
+ displayName: null,
2410
+ groupName: 'Brand-2',
2411
+ url: 'https://flight-m2.jetshop.se/uk',
2412
+ countries: [
2413
+ {
2414
+ name: 'United Kingdom',
2415
+ code: 'UK',
2416
+ isDefault: true
2417
+ },
2418
+ {
2419
+ name: 'Sweden',
2420
+ code: 'SE',
2421
+ isDefault: false
2422
+ }
2423
+ ],
2424
+ languages: [
2425
+ {
2426
+ culture: 'sv-SE',
2427
+ name: 'Svenska',
2428
+ isDefault: true
2429
+ }
2430
+ ],
2431
+ currencies: [
2432
+ {
2433
+ name: 'SEK',
2434
+ format: {
2435
+ decimals: 2
2436
+ }
2437
+ }
2438
+ ],
2439
+ defaultCurrency: {
2440
+ name: 'SEK',
2441
+ format: {
2442
+ decimals: 2
2443
+ }
2444
+ },
2445
+ defaultLanguage: {
2446
+ culture: 'sv-SE',
2447
+ name: 'Svenska',
2448
+ isDefault: true
2449
+ },
2450
+ settings: {
2451
+ tracking: {
2452
+ ga: {
2453
+ trackingId: ''
2454
+ },
2455
+ gtm: {
2456
+ containerId: ''
2457
+ }
2458
+ },
2459
+ countrySettings: [
2460
+ {
2461
+ countryCode: 'SE',
2462
+ paymentTypes: [],
2463
+ shipping: {
2464
+ freeShippingLimit: {
2465
+ exVat: 600,
2466
+ incVat: 600
2467
+ }
2468
+ }
2469
+ }
2470
+ ],
2471
+ pricesIncVat: true
2472
+ }
2473
+ }
2474
+ ];
2475
+
2476
+ export const selectedChannel = createSelectedChannel(channels[0]);