@faststore/core 3.44.1 → 3.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +122 -57
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/config.json +3 -3
  5. package/.next/cache/webpack/client-production/0.pack +0 -0
  6. package/.next/cache/webpack/client-production/index.pack +0 -0
  7. package/.next/cache/webpack/server-production/0.pack +0 -0
  8. package/.next/cache/webpack/server-production/index.pack +0 -0
  9. package/.next/prerender-manifest.js +1 -1
  10. package/.next/prerender-manifest.json +1 -1
  11. package/.next/react-loadable-manifest.json +66 -74
  12. package/.next/routes-manifest.json +1 -1
  13. package/.next/server/chunks/129.js +1 -0
  14. package/.next/server/chunks/1506.js +1 -1
  15. package/.next/server/chunks/1999.js +1 -0
  16. package/.next/server/chunks/2091.js +1 -0
  17. package/.next/server/chunks/2230.js +1 -0
  18. package/.next/server/chunks/2773.js +1 -0
  19. package/.next/server/chunks/2880.js +1 -1
  20. package/.next/server/chunks/3006.js +1 -0
  21. package/.next/server/chunks/4289.js +2 -2
  22. package/.next/server/chunks/4559.js +16 -3
  23. package/.next/server/chunks/4746.js +1 -1
  24. package/.next/server/chunks/5636.js +2 -0
  25. package/.next/server/chunks/5772.js +1 -0
  26. package/.next/server/chunks/6594.js +1 -1
  27. package/.next/server/chunks/674.js +1 -1
  28. package/.next/server/chunks/7228.js +1 -1
  29. package/.next/server/chunks/8038.js +1 -0
  30. package/.next/server/chunks/804.js +1 -1
  31. package/.next/server/chunks/8307.js +1 -0
  32. package/.next/server/chunks/831.js +1 -1
  33. package/.next/server/chunks/8562.js +1 -1
  34. package/.next/server/chunks/8646.js +1 -1
  35. package/.next/server/chunks/9559.js +9 -0
  36. package/.next/server/chunks/9664.js +1 -0
  37. package/.next/server/chunks/UIBannerText.js +1 -1
  38. package/.next/server/functions-config-manifest.json +1 -1
  39. package/.next/server/middleware-build-manifest.js +1 -1
  40. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  41. package/.next/server/pages/404.js +1 -1
  42. package/.next/server/pages/404.js.nft.json +1 -1
  43. package/.next/server/pages/500.js +1 -1
  44. package/.next/server/pages/500.js.nft.json +1 -1
  45. package/.next/server/pages/[...slug].js +1 -1
  46. package/.next/server/pages/[...slug].js.nft.json +1 -1
  47. package/.next/server/pages/[slug]/p.js +1 -1
  48. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  49. package/.next/server/pages/_app.js.nft.json +1 -1
  50. package/.next/server/pages/_document.js.nft.json +1 -1
  51. package/.next/server/pages/_error.js.nft.json +1 -1
  52. package/.next/server/pages/account/403.js +1 -0
  53. package/.next/server/pages/account/403.js.nft.json +1 -0
  54. package/.next/server/pages/account/404.js +1 -0
  55. package/.next/server/pages/account/404.js.nft.json +1 -0
  56. package/.next/server/pages/account/[...unknown].js +1 -0
  57. package/.next/server/pages/account/[...unknown].js.nft.json +1 -0
  58. package/.next/server/pages/account/orders/[id].js +1 -0
  59. package/.next/server/pages/account/orders/[id].js.nft.json +1 -0
  60. package/.next/server/pages/account/orders.js +1 -0
  61. package/.next/server/pages/account/orders.js.nft.json +1 -0
  62. package/.next/server/pages/account/profile.js +1 -1
  63. package/.next/server/pages/account/profile.js.nft.json +1 -1
  64. package/.next/server/pages/account/security.js +1 -0
  65. package/.next/server/pages/account/security.js.nft.json +1 -0
  66. package/.next/server/pages/account/user-details.js +1 -0
  67. package/.next/server/pages/account/user-details.js.nft.json +1 -0
  68. package/.next/server/pages/account.js +1 -1
  69. package/.next/server/pages/account.js.nft.json +1 -1
  70. package/.next/server/pages/api/graphql.js +2 -2
  71. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  72. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  73. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  74. package/.next/server/pages/api/preview.js +1 -1
  75. package/.next/server/pages/api/preview.js.nft.json +1 -1
  76. package/.next/server/pages/checkout.js +1 -1
  77. package/.next/server/pages/checkout.js.nft.json +1 -1
  78. package/.next/server/pages/en-US/404.html +2 -2
  79. package/.next/server/pages/en-US/500.html +2 -2
  80. package/.next/server/pages/en-US/account/403.html +28 -0
  81. package/.next/server/pages/en-US/account/403.json +1 -0
  82. package/.next/server/pages/en-US/account/404.html +28 -0
  83. package/.next/server/pages/en-US/account/404.json +1 -0
  84. package/.next/server/pages/en-US/checkout.html +2 -2
  85. package/.next/server/pages/en-US/login.html +2 -2
  86. package/.next/server/pages/en-US/s.html +2 -2
  87. package/.next/server/pages/en-US.html +2 -2
  88. package/.next/server/pages/index.js +1 -1
  89. package/.next/server/pages/index.js.nft.json +1 -1
  90. package/.next/server/pages/login.js +1 -1
  91. package/.next/server/pages/login.js.nft.json +1 -1
  92. package/.next/server/pages/s.js +1 -1
  93. package/.next/server/pages/s.js.nft.json +1 -1
  94. package/.next/server/pages-manifest.json +1 -1
  95. package/.next/static/chunks/{1552.8751332da83cadc5.js → 1552.2705dd1ff3aee879.js} +1 -1
  96. package/.next/static/chunks/4349-e6912711a345e5b6.js +1 -0
  97. package/.next/static/chunks/4625-a77d5db94b3a2b8f.js +1 -0
  98. package/.next/static/chunks/4746.f94ab461c31311bb.js +1 -0
  99. package/.next/static/chunks/4774.0450cb0efbfe76f4.js +1 -0
  100. package/.next/static/chunks/5836.92639eae2107d7af.js +1 -0
  101. package/.next/static/chunks/630.a3bf6c7cd8c945e1.js +6 -0
  102. package/.next/static/chunks/6335-580edc7c2c0fb418.js +1 -0
  103. package/.next/static/chunks/{2004.a778e11dd3802b72.js → 6410.bd3fa399df59cc80.js} +1 -1
  104. package/.next/static/chunks/6536.be112cd4a3efe253.js +1 -0
  105. package/.next/static/chunks/6867.27c1cb57ed76dd02.js +1 -0
  106. package/.next/static/chunks/7498-9b4ed9d4a65914cc.js +1 -0
  107. package/.next/static/chunks/7959.df78bb2e81b8d29c.js +1 -0
  108. package/.next/static/chunks/{9.89f24163370f3a22.js → 9.1db9e34673fbd5c9.js} +1 -1
  109. package/.next/static/chunks/9540.19d844fec8517602.js +1 -0
  110. package/.next/static/chunks/{1418-e86227bcf9a5d486.js → 9770-6f30493e3f7ab51b.js} +3 -3
  111. package/.next/static/chunks/BannerNewsletter.3031c9944928c34a.js +1 -0
  112. package/.next/static/chunks/BannerText.ca4ae220fed6bdd6.js +1 -0
  113. package/.next/static/chunks/CartSidebar.3d23093834f2c79a.js +1 -0
  114. package/.next/static/chunks/{Dropdown.7fe839c5ffce4687.js → Dropdown.534482865327310f.js} +1 -1
  115. package/.next/static/chunks/{DropdownButton.3991a37657e1d194.js → DropdownButton.90e7cb14e5866e74.js} +1 -1
  116. package/.next/static/chunks/{DropdownItem.0b3c39f881ca0832.js → DropdownItem.e74df13f69f8c3aa.js} +1 -1
  117. package/.next/static/chunks/{DropdownMenu.943b2d11ffa50ff6.js → DropdownMenu.56cde48e9fbbefe5.js} +1 -1
  118. package/.next/static/chunks/{Footer.1f83637df0884013.js → Footer.4bb5645e731073e7.js} +1 -1
  119. package/.next/static/chunks/Newsletter.f87cd1eca34af5e1.js +1 -0
  120. package/.next/static/chunks/ProductShelf.9b64813b3d1f4c9a.js +1 -0
  121. package/.next/static/chunks/ProductTiles.ebf02b46a32f5a53.js +1 -0
  122. package/.next/static/chunks/RegionModal.cdf4facd086a88e0.js +1 -0
  123. package/.next/static/chunks/Toast.fbfeced8149ed940.js +1 -0
  124. package/.next/static/chunks/{UIBannerText.45cf608e46cde628.js → UIBannerText.ef0582cb5cb01720.js} +1 -1
  125. package/.next/static/chunks/UISKUMatrixSidebar.64a50464062c77e9.js +1 -0
  126. package/.next/static/chunks/UIToast.22fea5cca8ee2b21.js +1 -0
  127. package/.next/static/chunks/pages/{404-6300c433469b7262.js → 404-e89b928faf6b9125.js} +1 -1
  128. package/.next/static/chunks/pages/{500-2d1dd344c8a8827f.js → 500-604704ba70e1e80a.js} +1 -1
  129. package/.next/static/chunks/pages/[...slug]-f80d7d8c8c7948a4.js +1 -0
  130. package/.next/static/chunks/pages/[slug]/p-748d6a1dbe59a2c8.js +1 -0
  131. package/.next/static/chunks/pages/_app-1be58ebde3e0b964.js +1 -0
  132. package/.next/static/chunks/pages/account/403-e4e6145815eeef01.js +1 -0
  133. package/.next/static/chunks/pages/account/404-ecfebfad41d655e9.js +1 -0
  134. package/.next/static/chunks/pages/account/[...unknown]-b233f92b64bd80cb.js +1 -0
  135. package/.next/static/chunks/pages/account/orders/[id]-8ab11c6c528911e9.js +1 -0
  136. package/.next/static/chunks/pages/account/orders-41bc5ef76c592a64.js +1 -0
  137. package/.next/static/chunks/pages/account/profile-2f501aabce910508.js +1 -0
  138. package/.next/static/chunks/pages/account/security-10e9e41318110950.js +1 -0
  139. package/.next/static/chunks/pages/account/user-details-5a7f30c290c25ec9.js +1 -0
  140. package/.next/static/chunks/pages/{checkout-93b647fc45454d97.js → checkout-cf3d3c3669a5e50b.js} +1 -1
  141. package/.next/static/chunks/pages/{index-07bc320fc045538c.js → index-e79b4e1ce52a8ea0.js} +1 -1
  142. package/.next/static/chunks/pages/{login-2454f1cd309c27d2.js → login-013b1f7a2b4bb9e0.js} +1 -1
  143. package/.next/static/chunks/pages/s-deeb7a0bdb02aaa9.js +1 -0
  144. package/.next/static/chunks/webpack-72d55466bef693ae.js +1 -0
  145. package/.next/static/css/2557aa3eaecf6ef0.css +1 -0
  146. package/.next/static/css/5347dbc8b71de47d.css +1 -0
  147. package/.next/static/css/84d35f475d0dc928.css +1 -0
  148. package/.next/static/css/9d1abf05f9ffaf8f.css +1 -0
  149. package/.next/static/css/b7bba8fce075688b.css +1 -0
  150. package/.next/static/css/{b8945ac5f5327c34.css → ec42ef906960d09f.css} +1 -1
  151. package/.next/static/iXgIvAYuYuXvEl83Xy7jT/_buildManifest.js +1 -0
  152. package/.next/static/iXgIvAYuYuXvEl83Xy7jT/_ssgManifest.js +1 -0
  153. package/.next/trace +129 -112
  154. package/.turbo/turbo-build.log +40 -30
  155. package/.turbo/turbo-test.log +5 -5
  156. package/@generated/gql.ts +34 -2
  157. package/@generated/graphql.ts +1566 -2
  158. package/@generated/persisted-documents.json +4 -1
  159. package/@generated/schema.graphql +748 -0
  160. package/CHANGELOG.md +12 -0
  161. package/discovery.config.default.js +1 -1
  162. package/package.json +7 -8
  163. package/public/icons.svg +106 -0
  164. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawer.tsx +68 -0
  165. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawerBody.tsx +21 -0
  166. package/src/components/account/MyAccountDrawer/OrganizationDrawer/OrganizationDrawerHeader.tsx +39 -0
  167. package/src/components/account/MyAccountDrawer/OrganizationDrawer/index.ts +3 -0
  168. package/src/components/account/MyAccountDrawer/OrganizationDrawer/section.module.scss +121 -0
  169. package/src/components/account/MyAccountDrawer/OrganizationSignInButton/OrganizationSignInButton.tsx +50 -0
  170. package/src/components/account/MyAccountDrawer/OrganizationSignInButton/index.ts +1 -0
  171. package/src/components/account/MyAccountDrawer/ProfileSummary/ProfileSummary.tsx +67 -0
  172. package/src/components/account/MyAccountDrawer/ProfileSummary/profile-summary.scss +91 -0
  173. package/src/components/account/MyAccountLayout/MyAccountLayout.tsx +2 -2
  174. package/src/components/account/MyAccountLayout/styles.scss +8 -4
  175. package/src/components/account/MyAccountMenu/styles.scss +3 -2
  176. package/src/components/account/components/BottomSheet/BottomSheet.tsx +58 -0
  177. package/src/components/account/components/BottomSheet/styles.scss +35 -0
  178. package/src/components/account/components/MyAccountAccordion/MyAccountAccordion.tsx +13 -0
  179. package/src/components/account/components/MyAccountAccordion/MyAccountAccordionButton.tsx +35 -0
  180. package/src/components/account/components/MyAccountAccordion/MyAccountAccordionItem.tsx +21 -0
  181. package/src/components/account/components/MyAccountAccordion/MyAccountAccordionPanel.tsx +16 -0
  182. package/src/components/account/components/MyAccountAccordion/index.ts +4 -0
  183. package/src/components/account/components/MyAccountAccordion/styles.scss +88 -0
  184. package/src/components/account/components/MyAccountCard/MyAccountCard.tsx +13 -0
  185. package/src/components/account/components/MyAccountCard/index.ts +1 -0
  186. package/src/components/account/components/MyAccountCard/styles.scss +23 -0
  187. package/src/components/account/components/MyAccountStatusBadge/MyAccountStatusBadge.tsx +28 -0
  188. package/src/components/account/components/MyAccountStatusBadge/index.ts +1 -0
  189. package/src/components/account/components/MyAccountStatusBadge/styles.scss +54 -0
  190. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterFacetDateRange/MyAccountFilterFacetDateRange.tsx +113 -0
  191. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterFacetDateRange/index.ts +2 -0
  192. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterFacetDateRange/styles.scss +43 -0
  193. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/MyAccountFilterSlider.tsx +209 -0
  194. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/index.ts +1 -0
  195. package/src/components/account/orders/MyAccountListOrders/MyAccountFilterSlider/section.module.scss +24 -0
  196. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrders.tsx +296 -0
  197. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersEmptyState/MyAccountListOrdersEmptyState.tsx +20 -0
  198. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersEmptyState/index.ts +1 -0
  199. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersEmptyState/styles.scss +43 -0
  200. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/MyAccountListOrdersTable.tsx +210 -0
  201. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/index.ts +1 -0
  202. package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/styles.scss +153 -0
  203. package/src/components/account/orders/MyAccountListOrders/MyAccountSelectedTags/MyAccountSelectedTags.tsx +119 -0
  204. package/src/components/account/orders/MyAccountListOrders/MyAccountSelectedTags/index.ts +1 -0
  205. package/src/components/account/orders/MyAccountListOrders/MyAccountSelectedTags/styles.scss +69 -0
  206. package/src/components/account/orders/MyAccountListOrders/index.ts +1 -0
  207. package/src/components/account/orders/MyAccountListOrders/styles.module.scss +100 -0
  208. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryCard/MyAccountDeliveryCard.tsx +47 -0
  209. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryCard/index.ts +1 -0
  210. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryCard/styles.scss +44 -0
  211. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordion.tsx +93 -0
  212. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordionDeliveryInfo.tsx +86 -0
  213. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/MyAccountDeliveryOptionAccordionProducts.tsx +74 -0
  214. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/index.ts +6 -0
  215. package/src/components/account/orders/MyAccountOrderDetails/MyAccountDeliveryOptionAccordion/styles.scss +193 -0
  216. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/MyAccountMoreInformationCard.tsx +31 -0
  217. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/index.ts +1 -0
  218. package/src/components/account/orders/MyAccountOrderDetails/MyAccountMoreInformationCard/styles.scss +22 -0
  219. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/MyAccountOrderActionModal.tsx +121 -0
  220. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/index.ts +2 -0
  221. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/styles.module.scss +40 -0
  222. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActionModal/useOrderActionModal.ts +38 -0
  223. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/MyAccountOrderActions.tsx +154 -0
  224. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/index.ts +1 -0
  225. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/styles.scss +33 -0
  226. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +106 -0
  227. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/MyAccountOrderedByCard.tsx +54 -0
  228. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/index.ts +1 -0
  229. package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderedByCard/styles.scss +65 -0
  230. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/MyAccountPaymentCard.tsx +157 -0
  231. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/MyAccountPaymentFlagsIcon.tsx +106 -0
  232. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/index.ts +1 -0
  233. package/src/components/account/orders/MyAccountOrderDetails/MyAccountPaymentCard/styles.scss +76 -0
  234. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/MyAccountStatusCard.tsx +276 -0
  235. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/index.ts +1 -0
  236. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/styles.scss +205 -0
  237. package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/useConnectorPositioning.ts +74 -0
  238. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/MyAccountSummaryCard.tsx +92 -0
  239. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/index.ts +1 -0
  240. package/src/components/account/orders/MyAccountOrderDetails/MyAccountSummaryCard/styles.scss +45 -0
  241. package/src/components/account/orders/MyAccountOrderDetails/index.ts +1 -0
  242. package/src/components/account/orders/MyAccountOrderDetails/section.module.scss +114 -0
  243. package/src/components/account/utils/useFormatPrice.ts +18 -0
  244. package/src/components/cms/RenderSections.tsx +1 -1
  245. package/src/components/navigation/Navbar/Navbar.tsx +16 -1
  246. package/src/components/navigation/NavbarSlider/NavbarSlider.tsx +18 -3
  247. package/src/customizations/src/myAccount/extensions/orders/[id]/after.tsx +7 -0
  248. package/src/customizations/src/myAccount/extensions/orders/[id]/before.tsx +7 -0
  249. package/src/customizations/src/myAccount/extensions/orders/after.tsx +7 -0
  250. package/src/customizations/src/myAccount/extensions/orders/before.tsx +7 -0
  251. package/src/customizations/src/myAccount/extensions/profile/after.tsx +7 -0
  252. package/src/customizations/src/myAccount/extensions/profile/before.tsx +7 -0
  253. package/src/customizations/src/myAccount/extensions/security/after.tsx +7 -0
  254. package/src/customizations/src/myAccount/extensions/security/before.tsx +7 -0
  255. package/src/customizations/src/myAccount/extensions/user-details/after.tsx +7 -0
  256. package/src/customizations/src/myAccount/extensions/user-details/before.tsx +7 -0
  257. package/src/experimental/myAccountSeverSideProps.ts +12 -1
  258. package/src/pages/account/403.tsx +103 -0
  259. package/src/pages/account/404.tsx +95 -0
  260. package/src/pages/account/[...unknown].tsx +39 -0
  261. package/src/pages/account/index.tsx +8 -16
  262. package/src/pages/account/orders/[id].tsx +764 -0
  263. package/src/pages/account/orders/index.tsx +273 -0
  264. package/src/pages/account/orders/styles.module.scss +35 -0
  265. package/src/pages/account/profile.tsx +62 -17
  266. package/src/pages/account/security.tsx +94 -0
  267. package/src/pages/account/user-details.tsx +94 -0
  268. package/src/sdk/account/getMyAccountRoutes.ts +13 -12
  269. package/src/sdk/account/useApproveOrder.ts +53 -0
  270. package/src/sdk/account/useCancelOrder.ts +34 -0
  271. package/src/sdk/account/useDebounce.ts +23 -0
  272. package/src/sdk/account/useRejectOrder.ts +53 -0
  273. package/src/sdk/error/MissingContentError/MissingContentError.ts +2 -2
  274. package/src/sdk/error/MultipleContentError/MultipleContentError.ts +2 -2
  275. package/src/sdk/search/useMyAccountFilter.ts +157 -0
  276. package/src/sdk/session/index.ts +8 -0
  277. package/src/utils/myAccountRedirect.tsx +36 -0
  278. package/src/utils/userOrderStatus.ts +141 -0
  279. package/src/utils/utilities.ts +35 -3
  280. package/test/server/index.test.ts +9 -1
  281. package/.next/server/chunks/1246.js +0 -1
  282. package/.next/server/chunks/2443.js +0 -1
  283. package/.next/server/chunks/4725.js +0 -1
  284. package/.next/server/chunks/563.js +0 -1
  285. package/.next/server/chunks/6968.js +0 -10
  286. package/.next/server/chunks/7468.js +0 -1
  287. package/.next/server/chunks/8355.js +0 -1
  288. package/.next/static/chunks/1173.ca14a5bc4e1264f4.js +0 -1
  289. package/.next/static/chunks/2206.44239ce81a09bc17.js +0 -1
  290. package/.next/static/chunks/4349-87a956a73b97519c.js +0 -1
  291. package/.next/static/chunks/4625-553d20c86b0ca577.js +0 -1
  292. package/.next/static/chunks/4746.2e16ec0663a3873f.js +0 -1
  293. package/.next/static/chunks/4774.8e70c01dcd0ed4b3.js +0 -1
  294. package/.next/static/chunks/4865.4017be0f8e7c8cf0.js +0 -1
  295. package/.next/static/chunks/5259-90f7ef92cf24e49a.js +0 -1
  296. package/.next/static/chunks/5836.c5c244a8cbfa7f7d.js +0 -1
  297. package/.next/static/chunks/630.13d3dd939b789798.js +0 -6
  298. package/.next/static/chunks/6335-6eb4ff84af184b88.js +0 -1
  299. package/.next/static/chunks/6536.d5260107222db13c.js +0 -1
  300. package/.next/static/chunks/7498-72289e704e7c7056.js +0 -1
  301. package/.next/static/chunks/7959.7c721505286572c0.js +0 -1
  302. package/.next/static/chunks/BannerNewsletter.8982f42e60ed8828.js +0 -1
  303. package/.next/static/chunks/BannerText.5b250db1cf67e44f.js +0 -1
  304. package/.next/static/chunks/CartSidebar.aa9e43be37034654.js +0 -1
  305. package/.next/static/chunks/Newsletter.9db4df2d4fb33227.js +0 -1
  306. package/.next/static/chunks/ProductShelf.9cea36116836c161.js +0 -1
  307. package/.next/static/chunks/ProductTiles.059a4a6360e1d4ea.js +0 -1
  308. package/.next/static/chunks/RegionModal.4594b707a1092551.js +0 -1
  309. package/.next/static/chunks/Toast.01d4ac8bf14c1be5.js +0 -1
  310. package/.next/static/chunks/UIButton.3186f933c0ecfb31.js +0 -1
  311. package/.next/static/chunks/UISKUMatrixSidebar.9ac3980a60cfc358.js +0 -1
  312. package/.next/static/chunks/UIToast.221eb10681d2f642.js +0 -1
  313. package/.next/static/chunks/pages/[...slug]-c1a62d58f5940747.js +0 -1
  314. package/.next/static/chunks/pages/[slug]/p-555dc09a5e78260e.js +0 -1
  315. package/.next/static/chunks/pages/_app-d5641120092ee13b.js +0 -1
  316. package/.next/static/chunks/pages/account/profile-23b2e9fbbd95a30b.js +0 -1
  317. package/.next/static/chunks/pages/s-9901e6857f517b8b.js +0 -1
  318. package/.next/static/chunks/webpack-11f8d9f83a4d695c.js +0 -1
  319. package/.next/static/css/249b9deaabc0d32d.css +0 -1
  320. package/.next/static/f3BfFJ3uIpcQCIGQ6fQQ4/_buildManifest.js +0 -1
  321. package/.next/static/f3BfFJ3uIpcQCIGQ6fQQ4/_ssgManifest.js +0 -1
@@ -1,6 +1,9 @@
1
1
  {
2
2
  "4b33c5c07f440dc7489e55619dc2211a13786e72": "fragment ServerCollectionPage on Query { collection(slug: $slug) { id } } query ServerCollectionPageQuery($slug: String!) { collection(slug: $slug) { breadcrumbList { itemListElement { item name position } } meta { selectedFacets { key value } } seo { description title } } ...ServerCollectionPage }",
3
3
  "46103bee661405bde706d72126fdbf9b0a0c9e6e": "fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } fragment ProductDetailsFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } description gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } fragment ServerProduct on Query { product(locator: $locator) { id: productID } } query ServerProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { brand { name } breadcrumbList { itemListElement { item name position } } description gtin image { alternateName url } isVariantOf { productGroupID } name offers { highPrice lowPrice lowPriceWithTaxes offers { availability itemCondition price priceCurrency priceValidUntil seller { identifier } } priceCurrency } id: productID releaseDate seo { canonical description title } sku ...ProductDetailsFragment_product } ...ServerProduct }",
4
+ "ff6bfc13b2150964c1988ba7e127eda8828a08d0": "fragment UserOrderItemsFragment on UserOrderItems { detailUrl id imageUrl measurementUnit name quantity refId rewardValue sellingPrice unitMultiplier } query ServerOrderDetailsQuery($orderId: String!) { userOrder(orderId: $orderId) { affiliateId allowCancellation allowEdition authorizedDate callCenterOperatorData cancelReason cancellationData { CancellationDate Reason RequestedByPaymentNotification RequestedBySellerNotification RequestedBySystem RequestedByUser } cancellationRequests { cancellationRequestDate cancellationRequestDenyDate deniedBySeller deniedBySellerReason id reason requestedByUser } changesAttachment checkedInPickupPointId clientPreferencesData { locale optinNewsLetter } clientProfileData { corporateDocument corporateName corporatePhone customerClass customerCode document documentType email firstName id isCorporate lastName phone stateInscription tradeName userProfileId userProfileVersion } commercialConditionData creationDate customData { customApps { fields { cartEtag } id major } } customFields { fields { name refId value } id type } deliveryOptionsData { contact { email name phone } deliveryOptions { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } deliveryChannel deliveryCompany deliveryWindow { endDateUtc price startDateUtc } friendlyDeliveryOptionName friendlyShippingEstimate items { id imageUrl name price quantity tax total } pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } quantityOfDifferentItems selectedSla seller shippingEstimate shippingEstimateDate total } } followUpEmail giftRegistryData hostname invoiceData invoicedDate isCheckedIn isCompleted itemMetadata { Items { AssemblyOptions { Id Name Required } DetailUrl Ean Id ImageUrl Name ProductId RefId Seller SkuName } } items { additionalInfo { brandId brandName categories { id name } categoriesIds commercialConditionId dimension { cubicweight height length weight width } offeringInfo offeringType offeringTypeId productClusterId } assemblies attachmentOfferings { name required } attachments { content name } bundleItems { attachments { content name } ...UserOrderItemsFragment } callCenterOperator commission components { ...UserOrderItemsFragment } costPrice detailUrl ean freightCommission id imageUrl isGift itemAttachment { name } listPrice lockId manualPrice manualPriceAppliedBy measurementUnit name offerings { id name price type } params parentAssemblyBinding parentItemIndex preSaleDate price priceDefinition { calculatedSellingPrice reason sellingPrices { quantity value } total } priceTags { isPercentual name rawValue value } priceValidUntil productId quantity refId rewardValue seller sellerSku sellingPrice serialNumbers shippingPrice tax taxCode uniqueId unitMultiplier } lastChange lastMessage marketingData marketplace { baseURL isCertified name } marketplaceOrderId marketplaceServicesEndpoint merchantName openTextField orderFormId orderGroup orderId origin packageAttachment { packages { courier courierStatus { data { city description lastChange state } finished status } extraValue invoiceKey invoiceNumber invoiceUrl invoiceValue issuanceDate items { description itemIndex price quantity } restitutions { GiftCard { items { compensationValue description id isCompensation itemIndex price quantity unitMultiplier useFreight } value } Refund { items { compensationValue description id isCompensation itemIndex price quantity unitMultiplier useFreight } value } } trackingNumber trackingUrl type } } paymentData { giftCards transactions { isActive merchantName payments { accountId bankIssuedInvoiceBarCodeNumber bankIssuedInvoiceBarCodeType bankIssuedInvoiceIdentificationNumber bankIssuedInvoiceIdentificationNumberFormatted billingAddress cardHolder cardNumber connectorResponses { Message ReturnCode Tid authId } cvv2 dueDate expireMonth expireYear firstDigits giftCardAsDiscount giftCardCaption giftCardId giftCardName giftCardProvider group id installments koinUrl lastDigits parentAccountId paymentOrigin paymentSystem paymentSystemName redemptionCode referenceValue tid url value } transactionId } } ratesAndBenefitsData { id rateAndBenefitsIdentifiers { additionalInfo description featured id name } } roundingError salesChannel sellerOrderId sellers { fulfillmentEndpoint id logo name } sequence shippingData { address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } availableAddresses { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } contactInformation { document documentType email firstName id lastName phone } id logisticsInfo { addressId deliveryChannel deliveryChannels { id stockBalance } deliveryCompany deliveryIds { accountCarrierName courierId courierName dockId kitItemDetails quantity warehouseId } deliveryWindow { endDateUtc price startDateUtc } entityId itemId itemIndex listPrice lockTTL pickupPointId pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } polygonName price selectedDeliveryChannel selectedSla sellingPrice shippingEstimate shippingEstimateDate shipsTo slas { availableDeliveryWindows { endDateUtc price startDateUtc } deliveryChannel deliveryIds { accountCarrierName courierId courierName dockId kitItemDetails quantity warehouseId } deliveryWindow { endDateUtc price startDateUtc } id listPrice lockTTL name pickupDistance pickupPointId pickupStoreInfo { additionalInfo address { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } dockId friendlyName isPickupStore } polygonName price shippingEstimate shippingEstimateDate transitTime } transitTime versionId } selectedAddresses { addressId addressType city complement country entityId geoCoordinates neighborhood number postalCode receiverName reference state street versionId } trackingHints } status statusDescription storePreferencesData { countryCode currencyCode currencyFormatInfo { CurrencyDecimalDigits CurrencyDecimalSeparator CurrencyGroupSeparator CurrencyGroupSize StartsWithCurrencySymbol } currencyLocale currencySymbol timeZone } subscriptionData taxData totals { id name value } value workflowIsInError } }",
5
+ "b88154468340d7d0dac6b3df8641bf6f54a554b7": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $perPage: Int, $status: [String], $text: String) { listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail ) { facets list { ShippingEstimatedDate ShippingEstimatedDateMax ShippingEstimatedDateMin affiliateId authorizedDate callCenterOperatorName clientName creationDate currencyCode deliveryDates giftCardProviders hostname invoiceInput invoiceOutput isAllDelivered isAnyDelivered items { description ean id price productId quantity refId seller sellingPrice } lastChange lastMessageUnread listId listType marketPlaceOrderId orderFormId orderId orderIsComplete origin paymentApprovedDate paymentNames readyForHandlingDate salesChannel sequence status statusDescription totalItems totalValue workflowInErrorState workflowInRetry } paging { currentPage pages perPage total } reportRecordsLimit stats { stats { totalItems { Count Facets Max Mean Min Missing StdDev Sum SumOfSquares } totalValue { Count Facets Max Mean Min Missing StdDev Sum SumOfSquares } } } } }",
6
+ "e2b06da6840614d3c72768e56579b9d3b8e80802": "mutation CancelOrderMutation($data: IUserOrderCancel!) { cancelOrder(data: $data) { data } }",
4
7
  "c2b3f8bff73ebf6ac79d758c66cabbc21ba9fcc0": "fragment CartItem on StoreOffer { itemOffered { ...CartProductItem } listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } fragment CartMessage on StoreCartMessage { status text } fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) { validateCart(cart: $cart, session: $session) { messages { ...CartMessage } order { acceptedOffer { ...CartItem } orderNumber shouldSplitItem } } }",
5
8
  "feb7005103a859e2bc8cf2360d568806fd88deba": "mutation SubscribeToNewsletter($data: IPersonNewsletter!) { subscribeToNewsletter(data: $data) { id } }",
6
9
  "dc912e7272e3d9f5ced206837df87f544d39d0a5": "query ClientProductCountQuery($term: String) { productCount(term: $term) { total } }",
@@ -11,7 +14,7 @@
11
14
  "34ea14c0d4a57ddf9bc11e4be0cd2b5a6506d3d4": "query ClientProfileQuery($id: String!) { profile(id: $id) { addresses { city country geoCoordinate postalCode } } }",
12
15
  "b548281d477a173be7b6960434604d69769a97e7": "fragment ClientSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantsByName availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku slug unitMultiplier } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ClientSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { metadata { ...SearchEvent_metadata } products { pageInfo { totalCount } } suggestions { products { ...ProductSummary_product } terms { value } } } ...ClientSearchSuggestions }",
13
16
  "e2385b0f11726d0068f96548f57a8dd441c064e3": "fragment ClientTopSearchSuggestions on Query { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } } query ClientTopSearchSuggestionsQuery($selectedFacets: [IStoreSelectedFacet!], $term: String!) { search(first: 5, term: $term, selectedFacets: $selectedFacets) { suggestions { terms { value } } } ...ClientTopSearchSuggestions }",
14
- "6189ed611a20d9d5fe8ebebf61c87c9c29a5cef4": "mutation ValidateSession($search: String!, $session: IStoreSession!) { validateSession(session: $session, search: $search) { addressType b2b { customerId } channel city country currency { code symbol } deliveryMode { deliveryChannel deliveryMethod deliveryWindow { endDate startDate } } geoCoordinates { latitude longitude } locale marketingData { utmCampaign utmMedium utmSource utmiCampaign utmiPage utmiPart } person { email familyName givenName id } postalCode } }",
17
+ "976ded3e2194ebb88c12764b9fc77eb880a33f04": "mutation ValidateSession($search: String!, $session: IStoreSession!) { validateSession(session: $session, search: $search) { addressType b2b { corporateName customerId firstName isCorporate isRepresentative lastName unitId unitName userName } channel city country currency { code symbol } deliveryMode { deliveryChannel deliveryMethod deliveryWindow { endDate startDate } } geoCoordinates { latitude longitude } locale marketingData { utmCampaign utmMedium utmSource utmiCampaign utmiPage utmiPart } person { email familyName givenName id } postalCode } }",
15
18
  "c35bad22f67f3eb34fea52bb49efa6b1da6b728d": "fragment ClientShippingSimulation on Query { shipping(items: $items, postalCode: $postalCode, country: $country) { address { city } } } query ClientShippingSimulationQuery($country: String!, $items: [IShippingItem!]!, $postalCode: String!) { shipping(items: $items, postalCode: $postalCode, country: $country) { address { city neighborhood state } logisticsInfo { slas { availableDeliveryWindows { endDateUtc listPrice price startDateUtc } carrier deliveryChannel localizedEstimates price shippingEstimate } } } ...ClientShippingSimulation }",
16
19
  "5c2181dde311ca80b72e0cc76ac0855d8aa8b51e": "fragment ClientManyProducts on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { products { pageInfo { totalCount } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { brandName: name } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantsByName availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku slug unitMultiplier } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ServerManyProductsQuery($after: String, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $sponsoredCount: Int, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { metadata { ...SearchEvent_metadata } products { edges { node { ...ProductSummary_product } } pageInfo { totalCount } } } ...ClientManyProducts }"
17
20
  }