@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
@@ -68,6 +68,7 @@ export type Scalars = {
68
68
  * ```
69
69
  */
70
70
  FormattedVariants: { input: any; output: any }
71
+ JSONObject: { input: any; output: any }
71
72
  ObjectOrString: { input: any; output: any }
72
73
  /**
73
74
  * Example:
@@ -182,7 +183,15 @@ export type IShippingItem = {
182
183
  }
183
184
 
184
185
  export type IStoreB2B = {
186
+ corporateName: InputMaybe<Scalars['String']['input']>
185
187
  customerId: Scalars['String']['input']
188
+ firstName: InputMaybe<Scalars['String']['input']>
189
+ isCorporate: InputMaybe<Scalars['Boolean']['input']>
190
+ isRepresentative: InputMaybe<Scalars['Boolean']['input']>
191
+ lastName: InputMaybe<Scalars['String']['input']>
192
+ unitId: InputMaybe<Scalars['String']['input']>
193
+ unitName: InputMaybe<Scalars['String']['input']>
194
+ userName: InputMaybe<Scalars['String']['input']>
186
195
  }
187
196
 
188
197
  /** Shopping cart input. */
@@ -340,6 +349,16 @@ export type IStoreSession = {
340
349
  postalCode: InputMaybe<Scalars['String']['input']>
341
350
  }
342
351
 
352
+ /** Input to the cancel order API. */
353
+ export type IUserOrderCancel = {
354
+ /** Customer's email. */
355
+ customerEmail: InputMaybe<Scalars['String']['input']>
356
+ /** Person's name. */
357
+ orderId: Scalars['String']['input']
358
+ /** Reason. */
359
+ reason: InputMaybe<Scalars['String']['input']>
360
+ }
361
+
343
362
  export type LogisticsInfo = {
344
363
  /** LogisticsInfo itemIndex. */
345
364
  itemIndex: Maybe<Scalars['String']['output']>
@@ -401,6 +420,8 @@ export type MessageInfo = {
401
420
  }
402
421
 
403
422
  export type Mutation = {
423
+ /** Cancels user order */
424
+ cancelOrder: Maybe<UserOrderCancel>
404
425
  /** Subscribes a new person to the newsletter list. */
405
426
  subscribeToNewsletter: Maybe<PersonNewsletter>
406
427
  /** Checks for changes between the cart presented in the UI and the cart stored in the ecommerce platform. If changes are detected, it returns the cart stored on the platform. Otherwise, it returns `null`. */
@@ -409,6 +430,10 @@ export type Mutation = {
409
430
  validateSession: Maybe<StoreSession>
410
431
  }
411
432
 
433
+ export type MutationCancelOrderArgs = {
434
+ data: IUserOrderCancel
435
+ }
436
+
412
437
  export type MutationSubscribeToNewsletterArgs = {
413
438
  data: IPersonNewsletter
414
439
  }
@@ -517,6 +542,8 @@ export type Query = {
517
542
  allProducts: StoreProductConnection
518
543
  /** Returns the details of a collection based on the collection slug. */
519
544
  collection: StoreCollection
545
+ /** Returns information about the list of Orders that the User can view. */
546
+ listUserOrders: Maybe<UserOrderListResult>
520
547
  /** Returns the details of a product based on the specified locator. */
521
548
  product: StoreProduct
522
549
  /** Returns the total product count information based on a specific location accessible through the VTEX segment cookie. */
@@ -531,6 +558,8 @@ export type Query = {
531
558
  sellers: Maybe<SellersData>
532
559
  /** Returns information about shipping simulation. */
533
560
  shipping: Maybe<ShippingData>
561
+ /** Returns information about the Details of an User Order. */
562
+ userOrder: Maybe<UserOrder>
534
563
  }
535
564
 
536
565
  export type QueryAllCollectionsArgs = {
@@ -547,6 +576,16 @@ export type QueryCollectionArgs = {
547
576
  slug: Scalars['String']['input']
548
577
  }
549
578
 
579
+ export type QueryListUserOrdersArgs = {
580
+ clientEmail: InputMaybe<Scalars['String']['input']>
581
+ dateFinal: InputMaybe<Scalars['String']['input']>
582
+ dateInitial: InputMaybe<Scalars['String']['input']>
583
+ page: InputMaybe<Scalars['Int']['input']>
584
+ perPage: InputMaybe<Scalars['Int']['input']>
585
+ status: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>
586
+ text: InputMaybe<Scalars['String']['input']>
587
+ }
588
+
550
589
  export type QueryProductArgs = {
551
590
  locator: Array<IStoreSelectedFacet>
552
591
  }
@@ -586,6 +625,10 @@ export type QueryShippingArgs = {
586
625
  postalCode: Scalars['String']['input']
587
626
  }
588
627
 
628
+ export type QueryUserOrderArgs = {
629
+ orderId: Scalars['String']['input']
630
+ }
631
+
589
632
  /** Search result. */
590
633
  export type SearchMetadata = {
591
634
  /** Indicates how the search engine corrected the misspelled word by using fuzzy logic. */
@@ -725,7 +768,15 @@ export type StoreAuthor = {
725
768
  }
726
769
 
727
770
  export type StoreB2B = {
771
+ corporateName: Maybe<Scalars['String']['output']>
728
772
  customerId: Scalars['String']['output']
773
+ firstName: Maybe<Scalars['String']['output']>
774
+ isCorporate: Maybe<Scalars['Boolean']['output']>
775
+ isRepresentative: Maybe<Scalars['Boolean']['output']>
776
+ lastName: Maybe<Scalars['String']['output']>
777
+ unitId: Maybe<Scalars['String']['output']>
778
+ unitName: Maybe<Scalars['String']['output']>
779
+ userName: Maybe<Scalars['String']['output']>
729
780
  }
730
781
 
731
782
  /** Brand of a given product. */
@@ -1209,6 +1260,703 @@ export type StoreSuggestions = {
1209
1260
  terms: Array<StoreSuggestionTerm>
1210
1261
  }
1211
1262
 
1263
+ export type UserOrder = {
1264
+ affiliateId: Maybe<Scalars['String']['output']>
1265
+ allowCancellation: Maybe<Scalars['Boolean']['output']>
1266
+ allowEdition: Maybe<Scalars['Boolean']['output']>
1267
+ authorizedDate: Maybe<Scalars['String']['output']>
1268
+ callCenterOperatorData: Maybe<Scalars['String']['output']>
1269
+ cancelReason: Maybe<Scalars['String']['output']>
1270
+ cancellationData: Maybe<UserOrderCancellationData>
1271
+ cancellationRequests: Maybe<Array<Maybe<UserOrderCancellationRequest>>>
1272
+ changesAttachment: Maybe<Scalars['String']['output']>
1273
+ checkedInPickupPointId: Maybe<Scalars['String']['output']>
1274
+ clientPreferencesData: Maybe<UserOrderClientPreferencesData>
1275
+ clientProfileData: Maybe<UserOrderClientProfileData>
1276
+ commercialConditionData: Maybe<Scalars['String']['output']>
1277
+ creationDate: Maybe<Scalars['String']['output']>
1278
+ customData: Maybe<UserOrderCustomData>
1279
+ customFields: Maybe<Array<Maybe<UserOrderCustomFieldsGrouped>>>
1280
+ deliveryOptionsData: Maybe<UserOrderDeliveryOptionsData>
1281
+ followUpEmail: Maybe<Scalars['String']['output']>
1282
+ giftRegistryData: Maybe<Scalars['String']['output']>
1283
+ hostname: Maybe<Scalars['String']['output']>
1284
+ invoiceData: Maybe<Scalars['String']['output']>
1285
+ invoicedDate: Maybe<Scalars['String']['output']>
1286
+ isCheckedIn: Maybe<Scalars['Boolean']['output']>
1287
+ isCompleted: Maybe<Scalars['Boolean']['output']>
1288
+ itemMetadata: Maybe<UserOrderItemMetadata>
1289
+ items: Maybe<Array<Maybe<UserOrderItems>>>
1290
+ lastChange: Maybe<Scalars['String']['output']>
1291
+ lastMessage: Maybe<Scalars['String']['output']>
1292
+ marketingData: Maybe<Scalars['String']['output']>
1293
+ marketplace: Maybe<UserOrderMarketplace>
1294
+ marketplaceItems: Maybe<Array<Maybe<UserOrderItems>>>
1295
+ marketplaceOrderId: Maybe<Scalars['String']['output']>
1296
+ marketplaceServicesEndpoint: Maybe<Scalars['String']['output']>
1297
+ merchantName: Maybe<Scalars['String']['output']>
1298
+ openTextField: Maybe<Scalars['String']['output']>
1299
+ orderFormId: Maybe<Scalars['String']['output']>
1300
+ orderGroup: Maybe<Scalars['String']['output']>
1301
+ orderId: Maybe<Scalars['String']['output']>
1302
+ origin: Maybe<Scalars['String']['output']>
1303
+ packageAttachment: Maybe<UserOrderPackageAttachment>
1304
+ paymentData: Maybe<UserOrderPaymentData>
1305
+ ratesAndBenefitsData: Maybe<UserOrderRatesAndBenefitsData>
1306
+ roundingError: Maybe<Scalars['Int']['output']>
1307
+ salesChannel: Maybe<Scalars['String']['output']>
1308
+ sellerOrderId: Maybe<Scalars['String']['output']>
1309
+ sellers: Maybe<Array<Maybe<UserOrderStoreSellers>>>
1310
+ sequence: Maybe<Scalars['String']['output']>
1311
+ shippingData: Maybe<UserOrderShippingData>
1312
+ status: Maybe<Scalars['String']['output']>
1313
+ statusDescription: Maybe<Scalars['String']['output']>
1314
+ storePreferencesData: Maybe<UserOrderStorePreferencesData>
1315
+ subscriptionData: Maybe<Scalars['String']['output']>
1316
+ taxData: Maybe<Scalars['String']['output']>
1317
+ totals: Maybe<Array<Maybe<UserOrderTotals>>>
1318
+ value: Maybe<Scalars['Float']['output']>
1319
+ workflowIsInError: Maybe<Scalars['Boolean']['output']>
1320
+ }
1321
+
1322
+ export type UserOrderAdditionalInfo = {
1323
+ brandId: Maybe<Scalars['String']['output']>
1324
+ brandName: Maybe<Scalars['String']['output']>
1325
+ categories: Maybe<Array<Maybe<UserOrderCategories>>>
1326
+ categoriesIds: Maybe<Scalars['String']['output']>
1327
+ commercialConditionId: Maybe<Scalars['String']['output']>
1328
+ dimension: Maybe<UserOrderDimension>
1329
+ offeringInfo: Maybe<Scalars['String']['output']>
1330
+ offeringType: Maybe<Scalars['String']['output']>
1331
+ offeringTypeId: Maybe<Scalars['String']['output']>
1332
+ productClusterId: Maybe<Scalars['String']['output']>
1333
+ }
1334
+
1335
+ export type UserOrderAddress = {
1336
+ addressId: Maybe<Scalars['String']['output']>
1337
+ addressType: Maybe<Scalars['String']['output']>
1338
+ city: Maybe<Scalars['String']['output']>
1339
+ complement: Maybe<Scalars['String']['output']>
1340
+ country: Maybe<Scalars['String']['output']>
1341
+ entityId: Maybe<Scalars['String']['output']>
1342
+ geoCoordinates: Maybe<Array<Maybe<Scalars['Float']['output']>>>
1343
+ neighborhood: Maybe<Scalars['String']['output']>
1344
+ number: Maybe<Scalars['String']['output']>
1345
+ postalCode: Maybe<Scalars['String']['output']>
1346
+ receiverName: Maybe<Scalars['String']['output']>
1347
+ reference: Maybe<Scalars['String']['output']>
1348
+ state: Maybe<Scalars['String']['output']>
1349
+ street: Maybe<Scalars['String']['output']>
1350
+ versionId: Maybe<Scalars['String']['output']>
1351
+ }
1352
+
1353
+ export type UserOrderAssemblyOptions = {
1354
+ Id: Maybe<Scalars['String']['output']>
1355
+ Name: Maybe<Scalars['String']['output']>
1356
+ Required: Maybe<Scalars['Boolean']['output']>
1357
+ }
1358
+
1359
+ export type UserOrderAttachmentOfferings = {
1360
+ name: Maybe<Scalars['String']['output']>
1361
+ required: Maybe<Scalars['Boolean']['output']>
1362
+ }
1363
+
1364
+ export type UserOrderAttachments = {
1365
+ content: Maybe<Scalars['JSONObject']['output']>
1366
+ name: Maybe<Scalars['String']['output']>
1367
+ }
1368
+
1369
+ export type UserOrderCancel = {
1370
+ data: Maybe<Scalars['String']['output']>
1371
+ }
1372
+
1373
+ export type UserOrderCancellationData = {
1374
+ CancellationDate: Maybe<Scalars['String']['output']>
1375
+ Reason: Maybe<Scalars['String']['output']>
1376
+ RequestedByPaymentNotification: Maybe<Scalars['Boolean']['output']>
1377
+ RequestedBySellerNotification: Maybe<Scalars['Boolean']['output']>
1378
+ RequestedBySystem: Maybe<Scalars['Boolean']['output']>
1379
+ RequestedByUser: Maybe<Scalars['Boolean']['output']>
1380
+ }
1381
+
1382
+ export type UserOrderCancellationRequest = {
1383
+ cancellationRequestDate: Maybe<Scalars['String']['output']>
1384
+ cancellationRequestDenyDate: Maybe<Scalars['String']['output']>
1385
+ deniedBySeller: Maybe<Scalars['Boolean']['output']>
1386
+ deniedBySellerReason: Maybe<Scalars['String']['output']>
1387
+ id: Maybe<Scalars['String']['output']>
1388
+ reason: Maybe<Scalars['String']['output']>
1389
+ requestedByUser: Maybe<Scalars['Boolean']['output']>
1390
+ }
1391
+
1392
+ export type UserOrderCategories = {
1393
+ id: Maybe<Scalars['Int']['output']>
1394
+ name: Maybe<Scalars['String']['output']>
1395
+ }
1396
+
1397
+ export type UserOrderClientPreferencesData = {
1398
+ locale: Maybe<Scalars['String']['output']>
1399
+ optinNewsLetter: Maybe<Scalars['Boolean']['output']>
1400
+ }
1401
+
1402
+ export type UserOrderClientProfileData = {
1403
+ corporateDocument: Maybe<Scalars['String']['output']>
1404
+ corporateName: Maybe<Scalars['String']['output']>
1405
+ corporatePhone: Maybe<Scalars['String']['output']>
1406
+ customerClass: Maybe<Scalars['String']['output']>
1407
+ customerCode: Maybe<Scalars['String']['output']>
1408
+ document: Maybe<Scalars['String']['output']>
1409
+ documentType: Maybe<Scalars['String']['output']>
1410
+ email: Maybe<Scalars['String']['output']>
1411
+ firstName: Maybe<Scalars['String']['output']>
1412
+ id: Maybe<Scalars['String']['output']>
1413
+ isCorporate: Maybe<Scalars['Boolean']['output']>
1414
+ lastName: Maybe<Scalars['String']['output']>
1415
+ phone: Maybe<Scalars['String']['output']>
1416
+ stateInscription: Maybe<Scalars['String']['output']>
1417
+ tradeName: Maybe<Scalars['String']['output']>
1418
+ userProfileId: Maybe<Scalars['String']['output']>
1419
+ userProfileVersion: Maybe<Scalars['String']['output']>
1420
+ }
1421
+
1422
+ export type UserOrderContactInformation = {
1423
+ document: Maybe<Scalars['String']['output']>
1424
+ documentType: Maybe<Scalars['String']['output']>
1425
+ email: Maybe<Scalars['String']['output']>
1426
+ firstName: Maybe<Scalars['String']['output']>
1427
+ id: Scalars['ID']['output']
1428
+ lastName: Maybe<Scalars['String']['output']>
1429
+ phone: Maybe<Scalars['String']['output']>
1430
+ }
1431
+
1432
+ export type UserOrderCourierStatus = {
1433
+ data: Maybe<Array<UserOrderTrackingInformation>>
1434
+ finished: Maybe<Scalars['Boolean']['output']>
1435
+ status: Maybe<Scalars['String']['output']>
1436
+ }
1437
+
1438
+ export type UserOrderCurrencyFormatInfo = {
1439
+ CurrencyDecimalDigits: Maybe<Scalars['Int']['output']>
1440
+ CurrencyDecimalSeparator: Maybe<Scalars['String']['output']>
1441
+ CurrencyGroupSeparator: Maybe<Scalars['String']['output']>
1442
+ CurrencyGroupSize: Maybe<Scalars['Int']['output']>
1443
+ StartsWithCurrencySymbol: Maybe<Scalars['Boolean']['output']>
1444
+ }
1445
+
1446
+ export type UserOrderCustomApp = {
1447
+ fields: Maybe<UserOrderFields>
1448
+ id: Maybe<Scalars['String']['output']>
1449
+ major: Maybe<Scalars['Int']['output']>
1450
+ }
1451
+
1452
+ export type UserOrderCustomData = {
1453
+ customApps: Maybe<Array<Maybe<UserOrderCustomApp>>>
1454
+ customFields: Maybe<Array<Maybe<UserOrderCustomField>>>
1455
+ }
1456
+
1457
+ export type UserOrderCustomField = {
1458
+ fields: Array<UserOrderCustomFieldField>
1459
+ linkedEntity: UserOrderCustomFieldLinkedEntity
1460
+ }
1461
+
1462
+ export type UserOrderCustomFieldField = {
1463
+ name: Scalars['String']['output']
1464
+ refId: Maybe<Scalars['String']['output']>
1465
+ value: Scalars['String']['output']
1466
+ }
1467
+
1468
+ export type UserOrderCustomFieldLinkedEntity = {
1469
+ id: Maybe<Scalars['String']['output']>
1470
+ type: Scalars['String']['output']
1471
+ }
1472
+
1473
+ export type UserOrderCustomFieldsGrouped = {
1474
+ fields: Maybe<Array<Maybe<UserOrderCustomFieldField>>>
1475
+ id: Maybe<Scalars['String']['output']>
1476
+ type: Scalars['String']['output']
1477
+ }
1478
+
1479
+ export type UserOrderDeliveryChannels = {
1480
+ id: Maybe<Scalars['String']['output']>
1481
+ stockBalance: Maybe<Scalars['Int']['output']>
1482
+ }
1483
+
1484
+ export type UserOrderDeliveryIds = {
1485
+ accountCarrierName: Maybe<Scalars['String']['output']>
1486
+ courierId: Maybe<Scalars['String']['output']>
1487
+ courierName: Maybe<Scalars['String']['output']>
1488
+ dockId: Maybe<Scalars['String']['output']>
1489
+ kitItemDetails: Maybe<Array<Maybe<Scalars['String']['output']>>>
1490
+ quantity: Maybe<Scalars['Int']['output']>
1491
+ warehouseId: Maybe<Scalars['String']['output']>
1492
+ }
1493
+
1494
+ export type UserOrderDeliveryOption = {
1495
+ address: Maybe<UserOrderAddress>
1496
+ deliveryChannel: Maybe<Scalars['String']['output']>
1497
+ deliveryCompany: Maybe<Scalars['String']['output']>
1498
+ deliveryWindow: Maybe<UserOrderDeliveryWindow>
1499
+ friendlyDeliveryOptionName: Maybe<Scalars['String']['output']>
1500
+ friendlyShippingEstimate: Maybe<Scalars['String']['output']>
1501
+ items: Maybe<Array<Maybe<UserOrderDeliveryOptionsItems>>>
1502
+ pickupStoreInfo: Maybe<UserOrderPickupStoreInfo>
1503
+ quantityOfDifferentItems: Maybe<Scalars['Int']['output']>
1504
+ selectedSla: Maybe<Scalars['String']['output']>
1505
+ seller: Maybe<Scalars['String']['output']>
1506
+ shippingEstimate: Maybe<Scalars['String']['output']>
1507
+ shippingEstimateDate: Maybe<Scalars['String']['output']>
1508
+ total: Maybe<Scalars['Int']['output']>
1509
+ }
1510
+
1511
+ export type UserOrderDeliveryOptionsContact = {
1512
+ email: Maybe<Scalars['String']['output']>
1513
+ name: Maybe<Scalars['String']['output']>
1514
+ phone: Maybe<Scalars['String']['output']>
1515
+ }
1516
+
1517
+ export type UserOrderDeliveryOptionsData = {
1518
+ contact: Maybe<UserOrderDeliveryOptionsContact>
1519
+ deliveryOptions: Maybe<Array<Maybe<UserOrderDeliveryOption>>>
1520
+ }
1521
+
1522
+ export type UserOrderDeliveryOptionsItems = {
1523
+ id: Maybe<Scalars['String']['output']>
1524
+ imageUrl: Maybe<Scalars['String']['output']>
1525
+ name: Maybe<Scalars['String']['output']>
1526
+ price: Maybe<Scalars['Float']['output']>
1527
+ quantity: Maybe<Scalars['Int']['output']>
1528
+ tax: Maybe<Scalars['Float']['output']>
1529
+ total: Maybe<Scalars['Float']['output']>
1530
+ }
1531
+
1532
+ export type UserOrderDeliveryWindow = {
1533
+ endDateUtc: Maybe<Scalars['String']['output']>
1534
+ price: Maybe<Scalars['Float']['output']>
1535
+ startDateUtc: Maybe<Scalars['String']['output']>
1536
+ }
1537
+
1538
+ export type UserOrderDimension = {
1539
+ cubicweight: Maybe<Scalars['Float']['output']>
1540
+ height: Maybe<Scalars['Int']['output']>
1541
+ length: Maybe<Scalars['Int']['output']>
1542
+ weight: Maybe<Scalars['Int']['output']>
1543
+ width: Maybe<Scalars['Int']['output']>
1544
+ }
1545
+
1546
+ export type UserOrderFields = {
1547
+ cartEtag: Maybe<Scalars['String']['output']>
1548
+ }
1549
+
1550
+ export type UserOrderFromList = {
1551
+ ShippingEstimatedDate: Maybe<Scalars['String']['output']>
1552
+ ShippingEstimatedDateMax: Maybe<Scalars['String']['output']>
1553
+ ShippingEstimatedDateMin: Maybe<Scalars['String']['output']>
1554
+ affiliateId: Maybe<Scalars['String']['output']>
1555
+ authorizedDate: Maybe<Scalars['String']['output']>
1556
+ callCenterOperatorName: Maybe<Scalars['String']['output']>
1557
+ clientName: Maybe<Scalars['String']['output']>
1558
+ creationDate: Maybe<Scalars['String']['output']>
1559
+ currencyCode: Maybe<Scalars['String']['output']>
1560
+ deliveryDates: Maybe<Array<Maybe<Scalars['String']['output']>>>
1561
+ giftCardProviders: Maybe<Array<Maybe<Scalars['String']['output']>>>
1562
+ hostname: Maybe<Scalars['String']['output']>
1563
+ invoiceInput: Maybe<Array<Maybe<Scalars['String']['output']>>>
1564
+ invoiceOutput: Maybe<Array<Maybe<Scalars['String']['output']>>>
1565
+ isAllDelivered: Maybe<Scalars['Boolean']['output']>
1566
+ isAnyDelivered: Maybe<Scalars['Boolean']['output']>
1567
+ items: Maybe<Array<Maybe<UserOrderItemsSummarized>>>
1568
+ lastChange: Maybe<Scalars['String']['output']>
1569
+ lastMessageUnread: Maybe<Scalars['String']['output']>
1570
+ listId: Maybe<Scalars['String']['output']>
1571
+ listType: Maybe<Scalars['String']['output']>
1572
+ marketPlaceOrderId: Maybe<Scalars['String']['output']>
1573
+ orderFormId: Maybe<Scalars['String']['output']>
1574
+ orderId: Maybe<Scalars['String']['output']>
1575
+ orderIsComplete: Maybe<Scalars['Boolean']['output']>
1576
+ origin: Maybe<Scalars['String']['output']>
1577
+ paymentApprovedDate: Maybe<Scalars['String']['output']>
1578
+ paymentNames: Maybe<Scalars['String']['output']>
1579
+ readyForHandlingDate: Maybe<Scalars['String']['output']>
1580
+ salesChannel: Maybe<Scalars['String']['output']>
1581
+ sequence: Maybe<Scalars['String']['output']>
1582
+ status: Maybe<Scalars['String']['output']>
1583
+ statusDescription: Maybe<Scalars['String']['output']>
1584
+ totalItems: Maybe<Scalars['Int']['output']>
1585
+ totalValue: Maybe<Scalars['Float']['output']>
1586
+ workflowInErrorState: Maybe<Scalars['Boolean']['output']>
1587
+ workflowInRetry: Maybe<Scalars['Boolean']['output']>
1588
+ }
1589
+
1590
+ export type UserOrderInvoiceType = 'Input' | 'Output'
1591
+
1592
+ export type UserOrderItemAttachment = {
1593
+ name: Maybe<Scalars['String']['output']>
1594
+ }
1595
+
1596
+ export type UserOrderItemMetadata = {
1597
+ Items: Maybe<Array<Maybe<UserOrderItemMetadataItem>>>
1598
+ }
1599
+
1600
+ export type UserOrderItemMetadataItem = {
1601
+ AssemblyOptions: Maybe<Array<Maybe<UserOrderAssemblyOptions>>>
1602
+ DetailUrl: Maybe<Scalars['String']['output']>
1603
+ Ean: Maybe<Scalars['String']['output']>
1604
+ Id: Maybe<Scalars['String']['output']>
1605
+ ImageUrl: Maybe<Scalars['String']['output']>
1606
+ Name: Maybe<Scalars['String']['output']>
1607
+ ProductId: Maybe<Scalars['String']['output']>
1608
+ RefId: Maybe<Scalars['String']['output']>
1609
+ Seller: Maybe<Scalars['String']['output']>
1610
+ SkuName: Maybe<Scalars['String']['output']>
1611
+ }
1612
+
1613
+ export type UserOrderItems = {
1614
+ additionalInfo: Maybe<UserOrderAdditionalInfo>
1615
+ assemblies: Maybe<Array<Maybe<Scalars['String']['output']>>>
1616
+ attachmentOfferings: Maybe<Array<Maybe<UserOrderAttachmentOfferings>>>
1617
+ attachments: Maybe<Array<Maybe<UserOrderAttachments>>>
1618
+ bundleItems: Maybe<Array<Maybe<UserOrderItems>>>
1619
+ callCenterOperator: Maybe<Scalars['String']['output']>
1620
+ commission: Maybe<Scalars['Float']['output']>
1621
+ components: Maybe<Array<Maybe<UserOrderItems>>>
1622
+ costPrice: Maybe<Scalars['Float']['output']>
1623
+ detailUrl: Maybe<Scalars['String']['output']>
1624
+ ean: Maybe<Scalars['String']['output']>
1625
+ freightCommission: Maybe<Scalars['Float']['output']>
1626
+ id: Maybe<Scalars['String']['output']>
1627
+ imageUrl: Maybe<Scalars['String']['output']>
1628
+ isGift: Maybe<Scalars['Boolean']['output']>
1629
+ itemAttachment: Maybe<UserOrderItemAttachment>
1630
+ listPrice: Maybe<Scalars['Float']['output']>
1631
+ lockId: Maybe<Scalars['String']['output']>
1632
+ manualPrice: Maybe<Scalars['String']['output']>
1633
+ manualPriceAppliedBy: Maybe<Scalars['String']['output']>
1634
+ measurementUnit: Maybe<Scalars['String']['output']>
1635
+ name: Maybe<Scalars['String']['output']>
1636
+ offerings: Maybe<Array<Maybe<UserOrderOfferings>>>
1637
+ params: Maybe<Array<Maybe<Scalars['String']['output']>>>
1638
+ parentAssemblyBinding: Maybe<Scalars['String']['output']>
1639
+ parentItemIndex: Maybe<Scalars['String']['output']>
1640
+ preSaleDate: Maybe<Scalars['String']['output']>
1641
+ price: Maybe<Scalars['Float']['output']>
1642
+ priceDefinition: Maybe<UserOrderPriceDefinition>
1643
+ priceTags: Maybe<Array<Maybe<UserOrderPriceTag>>>
1644
+ priceValidUntil: Maybe<Scalars['String']['output']>
1645
+ productId: Maybe<Scalars['String']['output']>
1646
+ quantity: Maybe<Scalars['Int']['output']>
1647
+ refId: Maybe<Scalars['String']['output']>
1648
+ rewardValue: Maybe<Scalars['Float']['output']>
1649
+ seller: Maybe<Scalars['String']['output']>
1650
+ sellerSku: Maybe<Scalars['String']['output']>
1651
+ sellingPrice: Maybe<Scalars['Float']['output']>
1652
+ serialNumbers: Maybe<Scalars['String']['output']>
1653
+ shippingPrice: Maybe<Scalars['String']['output']>
1654
+ tax: Maybe<Scalars['Float']['output']>
1655
+ taxCode: Maybe<Scalars['String']['output']>
1656
+ uniqueId: Maybe<Scalars['String']['output']>
1657
+ unitMultiplier: Maybe<Scalars['Float']['output']>
1658
+ }
1659
+
1660
+ export type UserOrderItemsSummarized = {
1661
+ description: Maybe<Scalars['String']['output']>
1662
+ ean: Maybe<Scalars['String']['output']>
1663
+ id: Maybe<Scalars['String']['output']>
1664
+ price: Maybe<Scalars['Float']['output']>
1665
+ productId: Maybe<Scalars['String']['output']>
1666
+ quantity: Maybe<Scalars['Int']['output']>
1667
+ refId: Maybe<Scalars['String']['output']>
1668
+ seller: Maybe<Scalars['String']['output']>
1669
+ sellingPrice: Maybe<Scalars['Float']['output']>
1670
+ }
1671
+
1672
+ export type UserOrderListPaging = {
1673
+ currentPage: Maybe<Scalars['Int']['output']>
1674
+ pages: Maybe<Scalars['Int']['output']>
1675
+ perPage: Maybe<Scalars['Int']['output']>
1676
+ total: Maybe<Scalars['Int']['output']>
1677
+ }
1678
+
1679
+ export type UserOrderListResult = {
1680
+ facets: Maybe<Array<Maybe<Scalars['String']['output']>>>
1681
+ list: Maybe<Array<Maybe<UserOrderFromList>>>
1682
+ paging: Maybe<UserOrderListPaging>
1683
+ reportRecordsLimit: Maybe<Scalars['Int']['output']>
1684
+ stats: Maybe<UserOrderListStats>
1685
+ }
1686
+
1687
+ export type UserOrderListStats = {
1688
+ stats: Maybe<UserOrderListStatsData>
1689
+ }
1690
+
1691
+ export type UserOrderListStatsData = {
1692
+ totalItems: Maybe<UserOrderListStatsValue>
1693
+ totalValue: Maybe<UserOrderListStatsValue>
1694
+ }
1695
+
1696
+ export type UserOrderListStatsValue = {
1697
+ Count: Maybe<Scalars['Int']['output']>
1698
+ Facets: Maybe<Scalars['JSONObject']['output']>
1699
+ Max: Maybe<Scalars['Float']['output']>
1700
+ Mean: Maybe<Scalars['Float']['output']>
1701
+ Min: Maybe<Scalars['Float']['output']>
1702
+ Missing: Maybe<Scalars['Int']['output']>
1703
+ StdDev: Maybe<Scalars['Float']['output']>
1704
+ Sum: Maybe<Scalars['Float']['output']>
1705
+ SumOfSquares: Maybe<Scalars['Float']['output']>
1706
+ }
1707
+
1708
+ export type UserOrderLogisticsInfo = {
1709
+ addressId: Maybe<Scalars['String']['output']>
1710
+ deliveryChannel: Maybe<Scalars['String']['output']>
1711
+ deliveryChannels: Maybe<Array<Maybe<UserOrderDeliveryChannels>>>
1712
+ deliveryCompany: Maybe<Scalars['String']['output']>
1713
+ deliveryIds: Maybe<Array<Maybe<UserOrderDeliveryIds>>>
1714
+ deliveryWindow: Maybe<UserOrderDeliveryWindow>
1715
+ entityId: Maybe<Scalars['String']['output']>
1716
+ itemId: Maybe<Scalars['String']['output']>
1717
+ itemIndex: Maybe<Scalars['Int']['output']>
1718
+ listPrice: Maybe<Scalars['Float']['output']>
1719
+ lockTTL: Maybe<Scalars['String']['output']>
1720
+ pickupPointId: Maybe<Scalars['String']['output']>
1721
+ pickupStoreInfo: Maybe<UserOrderPickupStoreInfo>
1722
+ polygonName: Maybe<Scalars['String']['output']>
1723
+ price: Maybe<Scalars['Float']['output']>
1724
+ selectedDeliveryChannel: Maybe<Scalars['String']['output']>
1725
+ selectedSla: Maybe<Scalars['String']['output']>
1726
+ sellingPrice: Maybe<Scalars['Float']['output']>
1727
+ shippingEstimate: Maybe<Scalars['String']['output']>
1728
+ shippingEstimateDate: Maybe<Scalars['String']['output']>
1729
+ shipsTo: Maybe<Array<Maybe<Scalars['String']['output']>>>
1730
+ slas: Maybe<Array<Maybe<UserOrderSlas>>>
1731
+ transitTime: Maybe<Scalars['String']['output']>
1732
+ versionId: Maybe<Scalars['String']['output']>
1733
+ }
1734
+
1735
+ export type UserOrderMarketplace = {
1736
+ baseURL: Maybe<Scalars['String']['output']>
1737
+ isCertified: Maybe<Scalars['String']['output']>
1738
+ name: Maybe<Scalars['String']['output']>
1739
+ }
1740
+
1741
+ export type UserOrderOfferings = {
1742
+ id: Maybe<Scalars['String']['output']>
1743
+ name: Maybe<Scalars['String']['output']>
1744
+ price: Maybe<Scalars['Float']['output']>
1745
+ type: Maybe<Scalars['String']['output']>
1746
+ }
1747
+
1748
+ export type UserOrderPackage = {
1749
+ courier: Maybe<Scalars['String']['output']>
1750
+ courierStatus: Maybe<UserOrderCourierStatus>
1751
+ extraValue: Maybe<Scalars['Float']['output']>
1752
+ invoiceKey: Maybe<Scalars['String']['output']>
1753
+ invoiceNumber: Scalars['String']['output']
1754
+ invoiceUrl: Maybe<Scalars['String']['output']>
1755
+ invoiceValue: Scalars['Float']['output']
1756
+ issuanceDate: Maybe<Scalars['String']['output']>
1757
+ items: Maybe<Array<UserOrderPackageItem>>
1758
+ restitutions: Maybe<UserOrderRestitutions>
1759
+ trackingNumber: Maybe<Scalars['String']['output']>
1760
+ trackingUrl: Maybe<Scalars['String']['output']>
1761
+ type: Maybe<UserOrderInvoiceType>
1762
+ }
1763
+
1764
+ export type UserOrderPackageAttachment = {
1765
+ packages: Maybe<Array<Maybe<UserOrderPackage>>>
1766
+ }
1767
+
1768
+ export type UserOrderPackageItem = {
1769
+ description: Maybe<Scalars['String']['output']>
1770
+ itemIndex: Maybe<Scalars['Int']['output']>
1771
+ price: Maybe<Scalars['Int']['output']>
1772
+ quantity: Maybe<Scalars['Int']['output']>
1773
+ }
1774
+
1775
+ export type UserOrderPaymentConnectorResponses = {
1776
+ Message: Maybe<Scalars['String']['output']>
1777
+ ReturnCode: Maybe<Scalars['String']['output']>
1778
+ Tid: Maybe<Scalars['String']['output']>
1779
+ authId: Maybe<Scalars['String']['output']>
1780
+ }
1781
+
1782
+ export type UserOrderPaymentData = {
1783
+ giftCards: Maybe<Array<Maybe<Scalars['String']['output']>>>
1784
+ transactions: Maybe<Array<Maybe<UserOrderTransactions>>>
1785
+ }
1786
+
1787
+ export type UserOrderPayments = {
1788
+ accountId: Maybe<Scalars['String']['output']>
1789
+ bankIssuedInvoiceBarCodeNumber: Maybe<Scalars['String']['output']>
1790
+ bankIssuedInvoiceBarCodeType: Maybe<Scalars['String']['output']>
1791
+ bankIssuedInvoiceIdentificationNumber: Maybe<Scalars['String']['output']>
1792
+ bankIssuedInvoiceIdentificationNumberFormatted: Maybe<
1793
+ Scalars['String']['output']
1794
+ >
1795
+ billingAddress: Maybe<Scalars['String']['output']>
1796
+ cardHolder: Maybe<Scalars['String']['output']>
1797
+ cardNumber: Maybe<Scalars['String']['output']>
1798
+ connectorResponses: Maybe<UserOrderPaymentConnectorResponses>
1799
+ cvv2: Maybe<Scalars['String']['output']>
1800
+ dueDate: Maybe<Scalars['String']['output']>
1801
+ expireMonth: Maybe<Scalars['String']['output']>
1802
+ expireYear: Maybe<Scalars['String']['output']>
1803
+ firstDigits: Maybe<Scalars['String']['output']>
1804
+ giftCardAsDiscount: Maybe<Scalars['String']['output']>
1805
+ giftCardCaption: Maybe<Scalars['String']['output']>
1806
+ giftCardId: Maybe<Scalars['String']['output']>
1807
+ giftCardName: Maybe<Scalars['String']['output']>
1808
+ giftCardProvider: Maybe<Scalars['String']['output']>
1809
+ group: Maybe<Scalars['String']['output']>
1810
+ id: Maybe<Scalars['String']['output']>
1811
+ installments: Maybe<Scalars['Int']['output']>
1812
+ koinUrl: Maybe<Scalars['String']['output']>
1813
+ lastDigits: Maybe<Scalars['String']['output']>
1814
+ parentAccountId: Maybe<Scalars['String']['output']>
1815
+ paymentOrigin: Maybe<Scalars['String']['output']>
1816
+ paymentSystem: Maybe<Scalars['String']['output']>
1817
+ paymentSystemName: Maybe<Scalars['String']['output']>
1818
+ redemptionCode: Maybe<Scalars['String']['output']>
1819
+ referenceValue: Maybe<Scalars['Int']['output']>
1820
+ tid: Maybe<Scalars['String']['output']>
1821
+ url: Maybe<Scalars['String']['output']>
1822
+ value: Maybe<Scalars['Int']['output']>
1823
+ }
1824
+
1825
+ export type UserOrderPickupStoreInfo = {
1826
+ additionalInfo: Maybe<Scalars['String']['output']>
1827
+ address: Maybe<UserOrderAddress>
1828
+ dockId: Maybe<Scalars['String']['output']>
1829
+ friendlyName: Maybe<Scalars['String']['output']>
1830
+ isPickupStore: Maybe<Scalars['Boolean']['output']>
1831
+ }
1832
+
1833
+ export type UserOrderPriceDefinition = {
1834
+ calculatedSellingPrice: Maybe<Scalars['Float']['output']>
1835
+ reason: Maybe<Scalars['String']['output']>
1836
+ sellingPrices: Maybe<Array<Maybe<UserOrderSellingPrices>>>
1837
+ total: Maybe<Scalars['Float']['output']>
1838
+ }
1839
+
1840
+ export type UserOrderPriceTag = {
1841
+ identifier: Maybe<Scalars['String']['output']>
1842
+ isPercentual: Maybe<Scalars['Boolean']['output']>
1843
+ jurisCode: Maybe<Scalars['String']['output']>
1844
+ jurisName: Maybe<Scalars['String']['output']>
1845
+ jurisType: Maybe<Scalars['String']['output']>
1846
+ name: Scalars['String']['output']
1847
+ owner: Maybe<Scalars['String']['output']>
1848
+ rate: Maybe<Scalars['Float']['output']>
1849
+ rawValue: Scalars['Float']['output']
1850
+ value: Maybe<Scalars['Float']['output']>
1851
+ }
1852
+
1853
+ export type UserOrderRateAndBenefitsIdentifier = {
1854
+ additionalInfo: Maybe<Scalars['String']['output']>
1855
+ description: Maybe<Scalars['String']['output']>
1856
+ featured: Maybe<Scalars['Boolean']['output']>
1857
+ id: Maybe<Scalars['ID']['output']>
1858
+ name: Maybe<Scalars['String']['output']>
1859
+ }
1860
+
1861
+ export type UserOrderRatesAndBenefitsData = {
1862
+ id: Maybe<Scalars['String']['output']>
1863
+ rateAndBenefitsIdentifiers: Maybe<
1864
+ Array<Maybe<UserOrderRateAndBenefitsIdentifier>>
1865
+ >
1866
+ }
1867
+
1868
+ export type UserOrderRestitutionItem = {
1869
+ compensationValue: Maybe<Scalars['Float']['output']>
1870
+ description: Maybe<Scalars['String']['output']>
1871
+ id: Maybe<Scalars['ID']['output']>
1872
+ isCompensation: Maybe<Scalars['Boolean']['output']>
1873
+ itemIndex: Maybe<Scalars['Int']['output']>
1874
+ price: Maybe<Scalars['Float']['output']>
1875
+ quantity: Maybe<Scalars['Int']['output']>
1876
+ unitMultiplier: Maybe<Scalars['Float']['output']>
1877
+ useFreight: Maybe<Scalars['Boolean']['output']>
1878
+ }
1879
+
1880
+ export type UserOrderRestitutionOption = {
1881
+ items: Maybe<Array<UserOrderRestitutionItem>>
1882
+ value: Maybe<Scalars['Float']['output']>
1883
+ }
1884
+
1885
+ export type UserOrderRestitutions = {
1886
+ GiftCard: Maybe<UserOrderRestitutionOption>
1887
+ Refund: Maybe<UserOrderRestitutionOption>
1888
+ }
1889
+
1890
+ export type UserOrderSellingPrices = {
1891
+ quantity: Maybe<Scalars['Int']['output']>
1892
+ value: Maybe<Scalars['Float']['output']>
1893
+ }
1894
+
1895
+ export type UserOrderShippingData = {
1896
+ address: Maybe<UserOrderAddress>
1897
+ availableAddresses: Maybe<Array<Maybe<UserOrderAddress>>>
1898
+ contactInformation: Maybe<Array<Maybe<UserOrderContactInformation>>>
1899
+ id: Maybe<Scalars['String']['output']>
1900
+ logisticsInfo: Maybe<Array<Maybe<UserOrderLogisticsInfo>>>
1901
+ selectedAddresses: Maybe<Array<Maybe<UserOrderAddress>>>
1902
+ trackingHints: Maybe<Scalars['String']['output']>
1903
+ }
1904
+
1905
+ export type UserOrderSlas = {
1906
+ availableDeliveryWindows: Maybe<Array<Maybe<UserOrderDeliveryWindow>>>
1907
+ deliveryChannel: Maybe<Scalars['String']['output']>
1908
+ deliveryIds: Maybe<Array<Maybe<UserOrderDeliveryIds>>>
1909
+ deliveryWindow: Maybe<UserOrderDeliveryWindow>
1910
+ id: Maybe<Scalars['String']['output']>
1911
+ listPrice: Maybe<Scalars['Float']['output']>
1912
+ lockTTL: Maybe<Scalars['String']['output']>
1913
+ name: Maybe<Scalars['String']['output']>
1914
+ pickupDistance: Maybe<Scalars['Int']['output']>
1915
+ pickupPointId: Maybe<Scalars['String']['output']>
1916
+ pickupStoreInfo: Maybe<UserOrderPickupStoreInfo>
1917
+ polygonName: Maybe<Scalars['String']['output']>
1918
+ price: Maybe<Scalars['Float']['output']>
1919
+ shippingEstimate: Maybe<Scalars['String']['output']>
1920
+ shippingEstimateDate: Maybe<Scalars['String']['output']>
1921
+ transitTime: Maybe<Scalars['String']['output']>
1922
+ }
1923
+
1924
+ export type UserOrderStorePreferencesData = {
1925
+ countryCode: Maybe<Scalars['String']['output']>
1926
+ currencyCode: Maybe<Scalars['String']['output']>
1927
+ currencyFormatInfo: Maybe<UserOrderCurrencyFormatInfo>
1928
+ currencyLocale: Maybe<Scalars['Int']['output']>
1929
+ currencySymbol: Maybe<Scalars['String']['output']>
1930
+ timeZone: Maybe<Scalars['String']['output']>
1931
+ }
1932
+
1933
+ export type UserOrderStoreSellers = {
1934
+ fulfillmentEndpoint: Maybe<Scalars['String']['output']>
1935
+ id: Maybe<Scalars['String']['output']>
1936
+ logo: Maybe<Scalars['String']['output']>
1937
+ name: Maybe<Scalars['String']['output']>
1938
+ }
1939
+
1940
+ export type UserOrderTotals = {
1941
+ id: Maybe<Scalars['String']['output']>
1942
+ name: Maybe<Scalars['String']['output']>
1943
+ value: Maybe<Scalars['Float']['output']>
1944
+ }
1945
+
1946
+ export type UserOrderTrackingInformation = {
1947
+ city: Maybe<Scalars['String']['output']>
1948
+ description: Maybe<Scalars['String']['output']>
1949
+ lastChange: Maybe<Scalars['String']['output']>
1950
+ state: Maybe<Scalars['String']['output']>
1951
+ }
1952
+
1953
+ export type UserOrderTransactions = {
1954
+ isActive: Maybe<Scalars['Boolean']['output']>
1955
+ merchantName: Maybe<Scalars['String']['output']>
1956
+ payments: Maybe<Array<Maybe<UserOrderPayments>>>
1957
+ transactionId: Maybe<Scalars['String']['output']>
1958
+ }
1959
+
1212
1960
  export type ProductSummary_ProductFragment = {
1213
1961
  slug: string
1214
1962
  sku: string
@@ -1450,6 +2198,768 @@ export type ServerProductQueryQuery = {
1450
2198
  }
1451
2199
  }
1452
2200
 
2201
+ export type UserOrderItemsFragmentFragment = {
2202
+ id: string | null
2203
+ name: string | null
2204
+ quantity: number | null
2205
+ sellingPrice: number | null
2206
+ unitMultiplier: number | null
2207
+ measurementUnit: string | null
2208
+ imageUrl: string | null
2209
+ detailUrl: string | null
2210
+ refId: string | null
2211
+ rewardValue: number | null
2212
+ }
2213
+
2214
+ export type ServerOrderDetailsQueryQueryVariables = Exact<{
2215
+ orderId: Scalars['String']['input']
2216
+ }>
2217
+
2218
+ export type ServerOrderDetailsQueryQuery = {
2219
+ userOrder: {
2220
+ orderId: string | null
2221
+ sequence: string | null
2222
+ marketplaceOrderId: string | null
2223
+ marketplaceServicesEndpoint: string | null
2224
+ sellerOrderId: string | null
2225
+ origin: string | null
2226
+ affiliateId: string | null
2227
+ salesChannel: string | null
2228
+ merchantName: string | null
2229
+ status: string | null
2230
+ workflowIsInError: boolean | null
2231
+ statusDescription: string | null
2232
+ value: number | null
2233
+ creationDate: string | null
2234
+ lastChange: string | null
2235
+ orderGroup: string | null
2236
+ giftRegistryData: string | null
2237
+ marketingData: string | null
2238
+ callCenterOperatorData: string | null
2239
+ followUpEmail: string | null
2240
+ lastMessage: string | null
2241
+ hostname: string | null
2242
+ invoiceData: string | null
2243
+ changesAttachment: string | null
2244
+ openTextField: string | null
2245
+ roundingError: number | null
2246
+ orderFormId: string | null
2247
+ commercialConditionData: string | null
2248
+ isCompleted: boolean | null
2249
+ allowCancellation: boolean | null
2250
+ allowEdition: boolean | null
2251
+ isCheckedIn: boolean | null
2252
+ authorizedDate: string | null
2253
+ invoicedDate: string | null
2254
+ cancelReason: string | null
2255
+ subscriptionData: string | null
2256
+ taxData: string | null
2257
+ checkedInPickupPointId: string | null
2258
+ customData: {
2259
+ customApps: Array<{
2260
+ id: string | null
2261
+ major: number | null
2262
+ fields: { cartEtag: string | null } | null
2263
+ } | null> | null
2264
+ } | null
2265
+ cancellationData: {
2266
+ RequestedByUser: boolean | null
2267
+ RequestedBySystem: boolean | null
2268
+ RequestedBySellerNotification: boolean | null
2269
+ RequestedByPaymentNotification: boolean | null
2270
+ Reason: string | null
2271
+ CancellationDate: string | null
2272
+ } | null
2273
+ cancellationRequests: Array<{
2274
+ id: string | null
2275
+ reason: string | null
2276
+ cancellationRequestDate: string | null
2277
+ requestedByUser: boolean | null
2278
+ deniedBySeller: boolean | null
2279
+ deniedBySellerReason: string | null
2280
+ cancellationRequestDenyDate: string | null
2281
+ } | null> | null
2282
+ clientPreferencesData: {
2283
+ locale: string | null
2284
+ optinNewsLetter: boolean | null
2285
+ } | null
2286
+ itemMetadata: {
2287
+ Items: Array<{
2288
+ Id: string | null
2289
+ Seller: string | null
2290
+ Name: string | null
2291
+ SkuName: string | null
2292
+ ProductId: string | null
2293
+ RefId: string | null
2294
+ Ean: string | null
2295
+ ImageUrl: string | null
2296
+ DetailUrl: string | null
2297
+ AssemblyOptions: Array<{
2298
+ Id: string | null
2299
+ Name: string | null
2300
+ Required: boolean | null
2301
+ } | null> | null
2302
+ } | null> | null
2303
+ } | null
2304
+ marketplace: {
2305
+ baseURL: string | null
2306
+ isCertified: string | null
2307
+ name: string | null
2308
+ } | null
2309
+ storePreferencesData: {
2310
+ countryCode: string | null
2311
+ currencyCode: string | null
2312
+ currencyLocale: number | null
2313
+ currencySymbol: string | null
2314
+ timeZone: string | null
2315
+ currencyFormatInfo: {
2316
+ CurrencyDecimalDigits: number | null
2317
+ CurrencyDecimalSeparator: string | null
2318
+ CurrencyGroupSeparator: string | null
2319
+ CurrencyGroupSize: number | null
2320
+ StartsWithCurrencySymbol: boolean | null
2321
+ } | null
2322
+ } | null
2323
+ sellers: Array<{
2324
+ id: string | null
2325
+ name: string | null
2326
+ logo: string | null
2327
+ fulfillmentEndpoint: string | null
2328
+ } | null> | null
2329
+ packageAttachment: {
2330
+ packages: Array<{
2331
+ courier: string | null
2332
+ invoiceNumber: string
2333
+ invoiceUrl: string | null
2334
+ invoiceValue: number
2335
+ extraValue: number | null
2336
+ issuanceDate: string | null
2337
+ trackingNumber: string | null
2338
+ trackingUrl: string | null
2339
+ invoiceKey: string | null
2340
+ type: UserOrderInvoiceType | null
2341
+ courierStatus: {
2342
+ finished: boolean | null
2343
+ status: string | null
2344
+ data: Array<{
2345
+ city: string | null
2346
+ description: string | null
2347
+ lastChange: string | null
2348
+ state: string | null
2349
+ }> | null
2350
+ } | null
2351
+ items: Array<{
2352
+ description: string | null
2353
+ itemIndex: number | null
2354
+ price: number | null
2355
+ quantity: number | null
2356
+ }> | null
2357
+ restitutions: {
2358
+ Refund: {
2359
+ value: number | null
2360
+ items: Array<{
2361
+ useFreight: boolean | null
2362
+ isCompensation: boolean | null
2363
+ compensationValue: number | null
2364
+ itemIndex: number | null
2365
+ id: string | null
2366
+ quantity: number | null
2367
+ price: number | null
2368
+ description: string | null
2369
+ unitMultiplier: number | null
2370
+ }> | null
2371
+ } | null
2372
+ GiftCard: {
2373
+ value: number | null
2374
+ items: Array<{
2375
+ useFreight: boolean | null
2376
+ isCompensation: boolean | null
2377
+ compensationValue: number | null
2378
+ itemIndex: number | null
2379
+ id: string | null
2380
+ quantity: number | null
2381
+ price: number | null
2382
+ description: string | null
2383
+ unitMultiplier: number | null
2384
+ }> | null
2385
+ } | null
2386
+ } | null
2387
+ } | null> | null
2388
+ } | null
2389
+ paymentData: {
2390
+ giftCards: Array<string | null> | null
2391
+ transactions: Array<{
2392
+ isActive: boolean | null
2393
+ transactionId: string | null
2394
+ merchantName: string | null
2395
+ payments: Array<{
2396
+ id: string | null
2397
+ paymentSystem: string | null
2398
+ paymentSystemName: string | null
2399
+ value: number | null
2400
+ installments: number | null
2401
+ referenceValue: number | null
2402
+ cardHolder: string | null
2403
+ cardNumber: string | null
2404
+ firstDigits: string | null
2405
+ lastDigits: string | null
2406
+ cvv2: string | null
2407
+ expireMonth: string | null
2408
+ expireYear: string | null
2409
+ url: string | null
2410
+ giftCardId: string | null
2411
+ giftCardName: string | null
2412
+ giftCardCaption: string | null
2413
+ redemptionCode: string | null
2414
+ group: string | null
2415
+ tid: string | null
2416
+ dueDate: string | null
2417
+ giftCardProvider: string | null
2418
+ giftCardAsDiscount: string | null
2419
+ koinUrl: string | null
2420
+ accountId: string | null
2421
+ parentAccountId: string | null
2422
+ bankIssuedInvoiceIdentificationNumber: string | null
2423
+ bankIssuedInvoiceIdentificationNumberFormatted: string | null
2424
+ bankIssuedInvoiceBarCodeNumber: string | null
2425
+ bankIssuedInvoiceBarCodeType: string | null
2426
+ billingAddress: string | null
2427
+ paymentOrigin: string | null
2428
+ connectorResponses: {
2429
+ Message: string | null
2430
+ ReturnCode: string | null
2431
+ Tid: string | null
2432
+ authId: string | null
2433
+ } | null
2434
+ } | null> | null
2435
+ } | null> | null
2436
+ } | null
2437
+ shippingData: {
2438
+ id: string | null
2439
+ trackingHints: string | null
2440
+ contactInformation: Array<{
2441
+ id: string
2442
+ email: string | null
2443
+ firstName: string | null
2444
+ lastName: string | null
2445
+ document: string | null
2446
+ documentType: string | null
2447
+ phone: string | null
2448
+ } | null> | null
2449
+ availableAddresses: Array<{
2450
+ addressId: string | null
2451
+ versionId: string | null
2452
+ entityId: string | null
2453
+ addressType: string | null
2454
+ receiverName: string | null
2455
+ street: string | null
2456
+ number: string | null
2457
+ complement: string | null
2458
+ neighborhood: string | null
2459
+ postalCode: string | null
2460
+ city: string | null
2461
+ state: string | null
2462
+ country: string | null
2463
+ reference: string | null
2464
+ geoCoordinates: Array<number | null> | null
2465
+ } | null> | null
2466
+ selectedAddresses: Array<{
2467
+ addressId: string | null
2468
+ versionId: string | null
2469
+ entityId: string | null
2470
+ addressType: string | null
2471
+ receiverName: string | null
2472
+ street: string | null
2473
+ number: string | null
2474
+ complement: string | null
2475
+ neighborhood: string | null
2476
+ postalCode: string | null
2477
+ city: string | null
2478
+ state: string | null
2479
+ country: string | null
2480
+ reference: string | null
2481
+ geoCoordinates: Array<number | null> | null
2482
+ } | null> | null
2483
+ logisticsInfo: Array<{
2484
+ itemIndex: number | null
2485
+ itemId: string | null
2486
+ selectedDeliveryChannel: string | null
2487
+ selectedSla: string | null
2488
+ lockTTL: string | null
2489
+ price: number | null
2490
+ listPrice: number | null
2491
+ sellingPrice: number | null
2492
+ deliveryCompany: string | null
2493
+ shippingEstimate: string | null
2494
+ shippingEstimateDate: string | null
2495
+ deliveryChannel: string | null
2496
+ addressId: string | null
2497
+ versionId: string | null
2498
+ entityId: string | null
2499
+ polygonName: string | null
2500
+ pickupPointId: string | null
2501
+ transitTime: string | null
2502
+ shipsTo: Array<string | null> | null
2503
+ deliveryWindow: {
2504
+ startDateUtc: string | null
2505
+ endDateUtc: string | null
2506
+ price: number | null
2507
+ } | null
2508
+ pickupStoreInfo: {
2509
+ additionalInfo: string | null
2510
+ dockId: string | null
2511
+ friendlyName: string | null
2512
+ isPickupStore: boolean | null
2513
+ address: {
2514
+ addressType: string | null
2515
+ receiverName: string | null
2516
+ addressId: string | null
2517
+ versionId: string | null
2518
+ entityId: string | null
2519
+ postalCode: string | null
2520
+ city: string | null
2521
+ state: string | null
2522
+ country: string | null
2523
+ street: string | null
2524
+ number: string | null
2525
+ neighborhood: string | null
2526
+ complement: string | null
2527
+ reference: string | null
2528
+ geoCoordinates: Array<number | null> | null
2529
+ } | null
2530
+ } | null
2531
+ deliveryChannels: Array<{
2532
+ id: string | null
2533
+ stockBalance: number | null
2534
+ } | null> | null
2535
+ deliveryIds: Array<{
2536
+ courierId: string | null
2537
+ courierName: string | null
2538
+ dockId: string | null
2539
+ quantity: number | null
2540
+ warehouseId: string | null
2541
+ accountCarrierName: string | null
2542
+ kitItemDetails: Array<string | null> | null
2543
+ } | null> | null
2544
+ slas: Array<{
2545
+ id: string | null
2546
+ name: string | null
2547
+ shippingEstimate: string | null
2548
+ shippingEstimateDate: string | null
2549
+ listPrice: number | null
2550
+ price: number | null
2551
+ deliveryChannel: string | null
2552
+ polygonName: string | null
2553
+ lockTTL: string | null
2554
+ pickupPointId: string | null
2555
+ transitTime: string | null
2556
+ pickupDistance: number | null
2557
+ deliveryWindow: {
2558
+ startDateUtc: string | null
2559
+ endDateUtc: string | null
2560
+ price: number | null
2561
+ } | null
2562
+ pickupStoreInfo: {
2563
+ additionalInfo: string | null
2564
+ dockId: string | null
2565
+ friendlyName: string | null
2566
+ isPickupStore: boolean | null
2567
+ address: {
2568
+ addressType: string | null
2569
+ receiverName: string | null
2570
+ addressId: string | null
2571
+ versionId: string | null
2572
+ entityId: string | null
2573
+ postalCode: string | null
2574
+ city: string | null
2575
+ state: string | null
2576
+ country: string | null
2577
+ street: string | null
2578
+ number: string | null
2579
+ neighborhood: string | null
2580
+ complement: string | null
2581
+ reference: string | null
2582
+ geoCoordinates: Array<number | null> | null
2583
+ } | null
2584
+ } | null
2585
+ deliveryIds: Array<{
2586
+ courierId: string | null
2587
+ courierName: string | null
2588
+ dockId: string | null
2589
+ quantity: number | null
2590
+ warehouseId: string | null
2591
+ accountCarrierName: string | null
2592
+ kitItemDetails: Array<string | null> | null
2593
+ } | null> | null
2594
+ availableDeliveryWindows: Array<{
2595
+ startDateUtc: string | null
2596
+ endDateUtc: string | null
2597
+ price: number | null
2598
+ } | null> | null
2599
+ } | null> | null
2600
+ } | null> | null
2601
+ address: {
2602
+ addressType: string | null
2603
+ receiverName: string | null
2604
+ addressId: string | null
2605
+ versionId: string | null
2606
+ entityId: string | null
2607
+ postalCode: string | null
2608
+ city: string | null
2609
+ state: string | null
2610
+ country: string | null
2611
+ street: string | null
2612
+ number: string | null
2613
+ neighborhood: string | null
2614
+ complement: string | null
2615
+ reference: string | null
2616
+ geoCoordinates: Array<number | null> | null
2617
+ } | null
2618
+ } | null
2619
+ ratesAndBenefitsData: {
2620
+ id: string | null
2621
+ rateAndBenefitsIdentifiers: Array<{
2622
+ id: string | null
2623
+ additionalInfo: string | null
2624
+ description: string | null
2625
+ featured: boolean | null
2626
+ name: string | null
2627
+ } | null> | null
2628
+ } | null
2629
+ clientProfileData: {
2630
+ id: string | null
2631
+ email: string | null
2632
+ firstName: string | null
2633
+ lastName: string | null
2634
+ documentType: string | null
2635
+ document: string | null
2636
+ phone: string | null
2637
+ corporateName: string | null
2638
+ tradeName: string | null
2639
+ corporateDocument: string | null
2640
+ stateInscription: string | null
2641
+ corporatePhone: string | null
2642
+ isCorporate: boolean | null
2643
+ userProfileId: string | null
2644
+ userProfileVersion: string | null
2645
+ customerClass: string | null
2646
+ customerCode: string | null
2647
+ } | null
2648
+ items: Array<{
2649
+ uniqueId: string | null
2650
+ id: string | null
2651
+ productId: string | null
2652
+ ean: string | null
2653
+ lockId: string | null
2654
+ quantity: number | null
2655
+ seller: string | null
2656
+ name: string | null
2657
+ refId: string | null
2658
+ price: number | null
2659
+ listPrice: number | null
2660
+ manualPrice: string | null
2661
+ manualPriceAppliedBy: string | null
2662
+ imageUrl: string | null
2663
+ detailUrl: string | null
2664
+ sellerSku: string | null
2665
+ priceValidUntil: string | null
2666
+ commission: number | null
2667
+ tax: number | null
2668
+ preSaleDate: string | null
2669
+ measurementUnit: string | null
2670
+ unitMultiplier: number | null
2671
+ sellingPrice: number | null
2672
+ isGift: boolean | null
2673
+ shippingPrice: string | null
2674
+ rewardValue: number | null
2675
+ freightCommission: number | null
2676
+ taxCode: string | null
2677
+ parentItemIndex: string | null
2678
+ parentAssemblyBinding: string | null
2679
+ callCenterOperator: string | null
2680
+ serialNumbers: string | null
2681
+ costPrice: number | null
2682
+ assemblies: Array<string | null> | null
2683
+ params: Array<string | null> | null
2684
+ priceDefinition: {
2685
+ calculatedSellingPrice: number | null
2686
+ total: number | null
2687
+ reason: string | null
2688
+ sellingPrices: Array<{
2689
+ value: number | null
2690
+ quantity: number | null
2691
+ } | null> | null
2692
+ } | null
2693
+ additionalInfo: {
2694
+ brandName: string | null
2695
+ brandId: string | null
2696
+ categoriesIds: string | null
2697
+ productClusterId: string | null
2698
+ commercialConditionId: string | null
2699
+ offeringInfo: string | null
2700
+ offeringType: string | null
2701
+ offeringTypeId: string | null
2702
+ dimension: {
2703
+ cubicweight: number | null
2704
+ height: number | null
2705
+ length: number | null
2706
+ weight: number | null
2707
+ width: number | null
2708
+ } | null
2709
+ categories: Array<{
2710
+ id: number | null
2711
+ name: string | null
2712
+ } | null> | null
2713
+ } | null
2714
+ attachmentOfferings: Array<{
2715
+ name: string | null
2716
+ required: boolean | null
2717
+ } | null> | null
2718
+ offerings: Array<{
2719
+ type: string | null
2720
+ id: string | null
2721
+ name: string | null
2722
+ price: number | null
2723
+ } | null> | null
2724
+ bundleItems: Array<{
2725
+ id: string | null
2726
+ name: string | null
2727
+ quantity: number | null
2728
+ sellingPrice: number | null
2729
+ unitMultiplier: number | null
2730
+ measurementUnit: string | null
2731
+ imageUrl: string | null
2732
+ detailUrl: string | null
2733
+ refId: string | null
2734
+ rewardValue: number | null
2735
+ attachments: Array<{
2736
+ name: string | null
2737
+ content: any | null
2738
+ } | null> | null
2739
+ } | null> | null
2740
+ components: Array<{
2741
+ id: string | null
2742
+ name: string | null
2743
+ quantity: number | null
2744
+ sellingPrice: number | null
2745
+ unitMultiplier: number | null
2746
+ measurementUnit: string | null
2747
+ imageUrl: string | null
2748
+ detailUrl: string | null
2749
+ refId: string | null
2750
+ rewardValue: number | null
2751
+ } | null> | null
2752
+ priceTags: Array<{
2753
+ name: string
2754
+ value: number | null
2755
+ rawValue: number
2756
+ isPercentual: boolean | null
2757
+ } | null> | null
2758
+ attachments: Array<{
2759
+ name: string | null
2760
+ content: any | null
2761
+ } | null> | null
2762
+ itemAttachment: { name: string | null } | null
2763
+ } | null> | null
2764
+ totals: Array<{
2765
+ id: string | null
2766
+ name: string | null
2767
+ value: number | null
2768
+ } | null> | null
2769
+ deliveryOptionsData: {
2770
+ deliveryOptions: Array<{
2771
+ selectedSla: string | null
2772
+ deliveryChannel: string | null
2773
+ deliveryCompany: string | null
2774
+ shippingEstimate: string | null
2775
+ shippingEstimateDate: string | null
2776
+ friendlyShippingEstimate: string | null
2777
+ friendlyDeliveryOptionName: string | null
2778
+ seller: string | null
2779
+ quantityOfDifferentItems: number | null
2780
+ total: number | null
2781
+ deliveryWindow: {
2782
+ startDateUtc: string | null
2783
+ endDateUtc: string | null
2784
+ price: number | null
2785
+ } | null
2786
+ address: {
2787
+ addressType: string | null
2788
+ receiverName: string | null
2789
+ addressId: string | null
2790
+ versionId: string | null
2791
+ entityId: string | null
2792
+ postalCode: string | null
2793
+ city: string | null
2794
+ state: string | null
2795
+ country: string | null
2796
+ street: string | null
2797
+ number: string | null
2798
+ neighborhood: string | null
2799
+ complement: string | null
2800
+ reference: string | null
2801
+ geoCoordinates: Array<number | null> | null
2802
+ } | null
2803
+ pickupStoreInfo: {
2804
+ additionalInfo: string | null
2805
+ dockId: string | null
2806
+ friendlyName: string | null
2807
+ isPickupStore: boolean | null
2808
+ address: {
2809
+ addressType: string | null
2810
+ receiverName: string | null
2811
+ addressId: string | null
2812
+ versionId: string | null
2813
+ entityId: string | null
2814
+ postalCode: string | null
2815
+ city: string | null
2816
+ state: string | null
2817
+ country: string | null
2818
+ street: string | null
2819
+ number: string | null
2820
+ neighborhood: string | null
2821
+ complement: string | null
2822
+ reference: string | null
2823
+ geoCoordinates: Array<number | null> | null
2824
+ } | null
2825
+ } | null
2826
+ items: Array<{
2827
+ id: string | null
2828
+ name: string | null
2829
+ quantity: number | null
2830
+ price: number | null
2831
+ imageUrl: string | null
2832
+ tax: number | null
2833
+ total: number | null
2834
+ } | null> | null
2835
+ } | null> | null
2836
+ contact: {
2837
+ email: string | null
2838
+ phone: string | null
2839
+ name: string | null
2840
+ } | null
2841
+ } | null
2842
+ customFields: Array<{
2843
+ type: string
2844
+ id: string | null
2845
+ fields: Array<{
2846
+ name: string
2847
+ value: string
2848
+ refId: string | null
2849
+ } | null> | null
2850
+ } | null> | null
2851
+ } | null
2852
+ }
2853
+
2854
+ export type ServerListOrdersQueryQueryVariables = Exact<{
2855
+ page: InputMaybe<Scalars['Int']['input']>
2856
+ perPage: InputMaybe<Scalars['Int']['input']>
2857
+ status: InputMaybe<
2858
+ | Array<InputMaybe<Scalars['String']['input']>>
2859
+ | InputMaybe<Scalars['String']['input']>
2860
+ >
2861
+ dateInitial: InputMaybe<Scalars['String']['input']>
2862
+ dateFinal: InputMaybe<Scalars['String']['input']>
2863
+ text: InputMaybe<Scalars['String']['input']>
2864
+ clientEmail: InputMaybe<Scalars['String']['input']>
2865
+ }>
2866
+
2867
+ export type ServerListOrdersQueryQuery = {
2868
+ listUserOrders: {
2869
+ facets: Array<string | null> | null
2870
+ reportRecordsLimit: number | null
2871
+ list: Array<{
2872
+ orderId: string | null
2873
+ creationDate: string | null
2874
+ clientName: string | null
2875
+ totalValue: number | null
2876
+ paymentNames: string | null
2877
+ status: string | null
2878
+ statusDescription: string | null
2879
+ marketPlaceOrderId: string | null
2880
+ sequence: string | null
2881
+ salesChannel: string | null
2882
+ affiliateId: string | null
2883
+ origin: string | null
2884
+ workflowInErrorState: boolean | null
2885
+ workflowInRetry: boolean | null
2886
+ lastMessageUnread: string | null
2887
+ ShippingEstimatedDate: string | null
2888
+ ShippingEstimatedDateMax: string | null
2889
+ ShippingEstimatedDateMin: string | null
2890
+ orderIsComplete: boolean | null
2891
+ listId: string | null
2892
+ listType: string | null
2893
+ authorizedDate: string | null
2894
+ callCenterOperatorName: string | null
2895
+ totalItems: number | null
2896
+ currencyCode: string | null
2897
+ hostname: string | null
2898
+ invoiceOutput: Array<string | null> | null
2899
+ invoiceInput: Array<string | null> | null
2900
+ lastChange: string | null
2901
+ isAllDelivered: boolean | null
2902
+ isAnyDelivered: boolean | null
2903
+ giftCardProviders: Array<string | null> | null
2904
+ orderFormId: string | null
2905
+ paymentApprovedDate: string | null
2906
+ readyForHandlingDate: string | null
2907
+ deliveryDates: Array<string | null> | null
2908
+ items: Array<{
2909
+ seller: string | null
2910
+ quantity: number | null
2911
+ description: string | null
2912
+ ean: string | null
2913
+ refId: string | null
2914
+ id: string | null
2915
+ productId: string | null
2916
+ sellingPrice: number | null
2917
+ price: number | null
2918
+ } | null> | null
2919
+ } | null> | null
2920
+ paging: {
2921
+ total: number | null
2922
+ pages: number | null
2923
+ currentPage: number | null
2924
+ perPage: number | null
2925
+ } | null
2926
+ stats: {
2927
+ stats: {
2928
+ totalValue: {
2929
+ Count: number | null
2930
+ Max: number | null
2931
+ Mean: number | null
2932
+ Min: number | null
2933
+ Missing: number | null
2934
+ StdDev: number | null
2935
+ Sum: number | null
2936
+ SumOfSquares: number | null
2937
+ Facets: any | null
2938
+ } | null
2939
+ totalItems: {
2940
+ Count: number | null
2941
+ Max: number | null
2942
+ Mean: number | null
2943
+ Min: number | null
2944
+ Missing: number | null
2945
+ StdDev: number | null
2946
+ Sum: number | null
2947
+ SumOfSquares: number | null
2948
+ Facets: any | null
2949
+ } | null
2950
+ } | null
2951
+ } | null
2952
+ } | null
2953
+ }
2954
+
2955
+ export type CancelOrderMutationMutationVariables = Exact<{
2956
+ data: IUserOrderCancel
2957
+ }>
2958
+
2959
+ export type CancelOrderMutationMutation = {
2960
+ cancelOrder: { data: string | null } | null
2961
+ }
2962
+
1453
2963
  export type ValidateCartMutationMutationVariables = Exact<{
1454
2964
  cart: IStoreCart
1455
2965
  session: IStoreSession
@@ -1877,7 +3387,17 @@ export type ValidateSessionMutation = {
1877
3387
  givenName: string
1878
3388
  familyName: string
1879
3389
  } | null
1880
- b2b: { customerId: string } | null
3390
+ b2b: {
3391
+ customerId: string
3392
+ isRepresentative: boolean | null
3393
+ unitName: string | null
3394
+ unitId: string | null
3395
+ isCorporate: boolean | null
3396
+ corporateName: string | null
3397
+ firstName: string | null
3398
+ lastName: string | null
3399
+ userName: string | null
3400
+ } | null
1881
3401
  marketingData: {
1882
3402
  utmCampaign: string | null
1883
3403
  utmMedium: string | null
@@ -2366,6 +3886,23 @@ export const ServerProductFragmentDoc = new TypedDocumentString(
2366
3886
  `,
2367
3887
  { fragmentName: 'ServerProduct' }
2368
3888
  ) as unknown as TypedDocumentString<ServerProductFragment, unknown>
3889
+ export const UserOrderItemsFragmentFragmentDoc = new TypedDocumentString(
3890
+ `
3891
+ fragment UserOrderItemsFragment on UserOrderItems {
3892
+ id
3893
+ name
3894
+ quantity
3895
+ sellingPrice
3896
+ unitMultiplier
3897
+ measurementUnit
3898
+ imageUrl
3899
+ detailUrl
3900
+ refId
3901
+ rewardValue
3902
+ }
3903
+ `,
3904
+ { fragmentName: 'UserOrderItemsFragment' }
3905
+ ) as unknown as TypedDocumentString<UserOrderItemsFragmentFragment, unknown>
2369
3906
  export const CartMessageFragmentDoc = new TypedDocumentString(
2370
3907
  `
2371
3908
  fragment CartMessage on StoreCartMessage {
@@ -2448,6 +3985,33 @@ export const ServerProductQueryDocument = {
2448
3985
  ServerProductQueryQuery,
2449
3986
  ServerProductQueryQueryVariables
2450
3987
  >
3988
+ export const ServerOrderDetailsQueryDocument = {
3989
+ __meta__: {
3990
+ operationName: 'ServerOrderDetailsQuery',
3991
+ operationHash: 'ff6bfc13b2150964c1988ba7e127eda8828a08d0',
3992
+ },
3993
+ } as unknown as TypedDocumentString<
3994
+ ServerOrderDetailsQueryQuery,
3995
+ ServerOrderDetailsQueryQueryVariables
3996
+ >
3997
+ export const ServerListOrdersQueryDocument = {
3998
+ __meta__: {
3999
+ operationName: 'ServerListOrdersQuery',
4000
+ operationHash: 'b88154468340d7d0dac6b3df8641bf6f54a554b7',
4001
+ },
4002
+ } as unknown as TypedDocumentString<
4003
+ ServerListOrdersQueryQuery,
4004
+ ServerListOrdersQueryQueryVariables
4005
+ >
4006
+ export const CancelOrderMutationDocument = {
4007
+ __meta__: {
4008
+ operationName: 'CancelOrderMutation',
4009
+ operationHash: 'e2b06da6840614d3c72768e56579b9d3b8e80802',
4010
+ },
4011
+ } as unknown as TypedDocumentString<
4012
+ CancelOrderMutationMutation,
4013
+ CancelOrderMutationMutationVariables
4014
+ >
2451
4015
  export const ValidateCartMutationDocument = {
2452
4016
  __meta__: {
2453
4017
  operationName: 'ValidateCartMutation',
@@ -2541,7 +4105,7 @@ export const ClientTopSearchSuggestionsQueryDocument = {
2541
4105
  export const ValidateSessionDocument = {
2542
4106
  __meta__: {
2543
4107
  operationName: 'ValidateSession',
2544
- operationHash: '6189ed611a20d9d5fe8ebebf61c87c9c29a5cef4',
4108
+ operationHash: '976ded3e2194ebb88c12764b9fc77eb880a33f04',
2545
4109
  },
2546
4110
  } as unknown as TypedDocumentString<
2547
4111
  ValidateSessionMutation,