@faststore/core 3.88.7 → 3.89.1
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.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +55 -55
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/prerender-manifest.js +1 -1
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +27 -27
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/1607.js +1 -0
- package/.next/server/chunks/2570.js +1 -1
- package/.next/server/chunks/6886.js +1 -1
- package/.next/server/chunks/9563.js +2 -2
- package/.next/server/chunks/9630.js +1 -1
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +1 -1
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js.nft.json +1 -1
- package/.next/server/pages/api/health/ready.js.nft.json +1 -1
- package/.next/server/pages/api/preview.js.nft.json +1 -1
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +1 -1
- package/.next/server/pages/en-US/500.html +1 -1
- package/.next/server/pages/en-US/checkout.html +1 -1
- package/.next/server/pages/en-US/login.html +1 -1
- package/.next/server/pages/en-US/s.html +1 -1
- package/.next/server/pages/en-US.html +1 -1
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/403.js +1 -1
- package/.next/server/pages/pvt/account/403.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/404.js +1 -1
- package/.next/server/pages/pvt/account/404.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/[...unknown].js.nft.json +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js +1 -1
- package/.next/server/pages/pvt/account/orders/[id].js.nft.json +1 -1
- package/.next/server/pages/pvt/account/orders.js +1 -1
- package/.next/server/pages/pvt/account/orders.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/profile.js +1 -1
- package/.next/server/pages/pvt/account/profile.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/security.js +1 -1
- package/.next/server/pages/pvt/account/security.js.nft.json +1 -1
- package/.next/server/pages/pvt/account/user-details.js +1 -1
- package/.next/server/pages/pvt/account/user-details.js.nft.json +1 -1
- package/.next/server/pages/pvt/account.js.nft.json +1 -1
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +1 -1
- package/.next/static/43JSGz9XxT2_nidd-70dX/_buildManifest.js +1 -0
- package/.next/static/chunks/pages/pvt/account/403-f2858569fde3873b.js +1 -0
- package/.next/static/chunks/pages/pvt/account/404-c68124bed7cb7c48.js +1 -0
- package/.next/static/chunks/pages/pvt/account/orders/[id]-459f6b9a86780410.js +1 -0
- package/.next/static/chunks/pages/pvt/account/orders-f376bbaf561ae429.js +1 -0
- package/.next/static/chunks/pages/pvt/account/profile-b6cdbf02d4682544.js +1 -0
- package/.next/static/chunks/pages/pvt/account/security-e6289a40e745d3c4.js +1 -0
- package/.next/static/chunks/pages/pvt/account/user-details-fba1822e52e7de26.js +1 -0
- package/.next/static/chunks/{webpack-747ebf1e0c896030.js → webpack-f16e329d9f50b79b.js} +1 -1
- package/.next/static/css/{5273202f7c5e5ec1.css → 02eaf202d3d11fd1.css} +1 -1
- package/.next/static/css/0f8f72ecdeb79402.css +1 -0
- package/.next/static/css/2c0f8724c01f2ab8.css +1 -0
- package/.next/static/css/32a4ddbf3999c2a5.css +1 -0
- package/.next/static/css/331f08e9d306e70b.css +1 -0
- package/.next/static/css/{865e30903caadb79.css → 4f0597b0bf0ef2e1.css} +1 -1
- package/.next/static/css/5177628438c28f74.css +1 -0
- package/.next/static/css/6bb0abee27fe0019.css +1 -0
- package/.next/static/css/84ebcfe7a63d709d.css +1 -0
- package/.next/static/css/8df9f9a136312210.css +1 -0
- package/.next/static/css/a8bcd71b15adb1ec.css +1 -0
- package/.next/static/css/a9328b56f3942b82.css +1 -0
- package/.next/static/css/{b7bba8fce075688b.css → b65e005fb943434c.css} +1 -1
- package/.next/static/css/{831a1f72fe4b2d80.css → bd121d85d6ceed46.css} +1 -1
- package/.next/static/css/{dbbb10bf2f162a58.css → be59e989720e6e50.css} +1 -1
- package/.next/static/css/{b1806cbafd0c1f81.css → c29fee5b9f9d48d9.css} +1 -1
- package/.next/static/css/{936c65069d608087.css → c34f6ea9953e2f63.css} +1 -1
- package/.next/static/css/{e46393a76c5d93a9.css → c53b17b6fa994508.css} +1 -1
- package/.next/static/css/{5347dbc8b71de47d.css → ceb410a7062740d1.css} +1 -1
- package/.next/static/css/da0f1f3329c5657a.css +1 -0
- package/.next/static/css/da5bfb1f39c54578.css +1 -0
- package/.next/static/css/f60366555f563deb.css +1 -0
- package/.next/static/css/f81198b7fe9f5f6f.css +1 -0
- package/.next/trace +138 -137
- package/.turbo/turbo-build.log +26 -26
- package/.turbo/turbo-test.log +6 -5
- package/@generated/gql.ts +12 -12
- package/@generated/graphql.ts +13 -14
- package/@generated/persisted-documents.json +6 -6
- package/@generated/schema.graphql +0 -2
- package/CHANGELOG.md +12 -0
- package/package.json +4 -4
- package/src/components/account/MyAccountLayout/MyAccountLayout.tsx +3 -3
- package/src/components/account/MyAccountLayout/styles.scss +10 -0
- package/src/components/account/MyAccountMenu/styles.scss +2 -1
- package/src/components/account/MyAccountUserDetails/MyAccountUserDetails.tsx +18 -39
- package/src/components/account/MyAccountUserDetails/styles.module.scss +1 -93
- package/src/components/account/components/MyAccountHeader/MyAccountHeader.tsx +13 -0
- package/src/components/account/components/MyAccountHeader/index.ts +1 -0
- package/src/components/account/components/MyAccountHeader/styles.scss +13 -0
- package/src/components/account/components/MyAccountStatusBadge/styles.scss +4 -4
- package/src/components/account/components/MyAccountTable/MyAccountTable.tsx +23 -0
- package/src/components/account/components/MyAccountTable/index.ts +1 -0
- package/src/components/account/components/MyAccountTable/styles.scss +67 -0
- package/src/components/account/orders/MyAccountListOrders/MyAccountListOrders.tsx +131 -134
- package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/MyAccountListOrdersTable.tsx +9 -24
- package/src/components/account/orders/MyAccountListOrders/MyAccountListOrdersTable/styles.scss +37 -42
- package/src/components/account/orders/MyAccountListOrders/styles.module.scss +4 -25
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderActions/MyAccountOrderActions.tsx +1 -6
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx +1 -1
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/MyAccountStatusCard.tsx +9 -11
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/styles.scss +27 -11
- package/src/components/account/orders/MyAccountOrderDetails/MyAccountStatusCard/useConnectorPositioning.ts +0 -8
- package/src/components/account/orders/MyAccountOrderDetails/section.module.scss +2 -3
- package/src/components/account/profile/profile.module.scss +1 -85
- package/src/components/account/profile/profile.tsx +24 -31
- package/src/components/account/security/SecurityDrawer.tsx +86 -88
- package/src/components/account/security/SecuritySection.tsx +23 -20
- package/src/components/account/security/styles.module.scss +26 -150
- package/src/experimental/myAccountSeverSideProps.ts +6 -4
- package/src/pages/pvt/account/403.tsx +5 -3
- package/src/pages/pvt/account/404.tsx +5 -3
- package/src/pages/pvt/account/orders/[id].tsx +4 -2
- package/src/pages/pvt/account/orders/index.tsx +4 -2
- package/src/pages/pvt/account/profile.tsx +2 -6
- package/src/pages/pvt/account/security.tsx +4 -5
- package/src/pages/pvt/account/user-details.tsx +4 -2
- package/src/utils/userOrderStatus.ts +5 -5
- package/test/server/index.test.ts +0 -1
- package/.next/static/chunks/pages/pvt/account/403-e4315ace8609a7ff.js +0 -1
- package/.next/static/chunks/pages/pvt/account/404-1e450ae9476bbcaa.js +0 -1
- package/.next/static/chunks/pages/pvt/account/orders/[id]-a3e46af1be9816a4.js +0 -1
- package/.next/static/chunks/pages/pvt/account/orders-db7a364869130660.js +0 -1
- package/.next/static/chunks/pages/pvt/account/profile-e8a7ad7a7d7c60fb.js +0 -1
- package/.next/static/chunks/pages/pvt/account/security-cad4e4260be8b0cd.js +0 -1
- package/.next/static/chunks/pages/pvt/account/user-details-401f6f6e4ce4b9ce.js +0 -1
- package/.next/static/css/04fb2d4b8924b0c6.css +0 -1
- package/.next/static/css/083dc2a5b0de2439.css +0 -1
- package/.next/static/css/175fa823349dc534.css +0 -1
- package/.next/static/css/297be4be3be36ff0.css +0 -1
- package/.next/static/css/2a4b7072e47636f1.css +0 -1
- package/.next/static/css/45fac71f6411cceb.css +0 -1
- package/.next/static/css/6cd282d958f613bc.css +0 -1
- package/.next/static/css/b52f8f6500d3439e.css +0 -1
- package/.next/static/css/b7fc24e8f1eb011f.css +0 -1
- package/.next/static/css/d26cb0a54378b3d9.css +0 -1
- package/.next/static/css/ec7fdad03808422d.css +0 -1
- package/.next/static/css/f93cf36b16950027.css +0 -1
- package/.next/static/css/fd0a7a134ddc3d90.css +0 -1
- package/.next/static/css/fe0bcc13a2b68605.css +0 -1
- package/.next/static/pe6z3Z3bQ07PowbWL75Ts/_buildManifest.js +0 -1
- /package/.next/static/{pe6z3Z3bQ07PowbWL75Ts → 43JSGz9XxT2_nidd-70dX}/_ssgManifest.js +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.89.0 prebuild /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> na run partytown && na run generate
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@3.
|
|
6
|
+
> @faststore/core@3.89.0 partytown /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> partytown copylib ./public/~partytown
|
|
8
8
|
|
|
9
9
|
Partytown lib copied to: /home/runner/work/faststore/faststore/packages/core/public/~partytown
|
|
10
10
|
|
|
11
|
-
> @faststore/core@3.
|
|
11
|
+
> @faststore/core@3.89.0 generate /home/runner/work/faststore/faststore/packages/core
|
|
12
12
|
> na run generate:schema && na run generate:codegen && na run format:generated
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
> @faststore/core@3.
|
|
15
|
+
> @faststore/core@3.89.0 generate:schema /home/runner/work/faststore/faststore/packages/core
|
|
16
16
|
> tsx src/server/generator/generateGraphQLSchemaFile.ts
|
|
17
17
|
|
|
18
18
|
Schema GraphQL file generated successfully
|
|
19
19
|
|
|
20
|
-
> @faststore/core@3.
|
|
20
|
+
> @faststore/core@3.89.0 generate:codegen /home/runner/work/faststore/faststore/packages/core
|
|
21
21
|
> graphql-codegen
|
|
22
22
|
|
|
23
23
|
[STARTED] Parse Configuration
|
|
@@ -37,11 +37,11 @@ Running lifecycle hook "afterStart" scripts...
|
|
|
37
37
|
[CLI] Loading Documents
|
|
38
38
|
[CLI] Generating output
|
|
39
39
|
|
|
40
|
-
> @faststore/core@3.
|
|
40
|
+
> @faststore/core@3.89.0 format:generated /home/runner/work/faststore/faststore/packages/core
|
|
41
41
|
> prettier --write "@generated/**/*.{ts,js,tsx,jsx,json}" --loglevel error
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
> @faststore/core@3.
|
|
44
|
+
> @faststore/core@3.89.0 build /home/runner/work/faststore/faststore/packages/core
|
|
45
45
|
> next build
|
|
46
46
|
|
|
47
47
|
⚠ No build cache found. Please configure build caching for faster rebuilds. Read more: https://nextjs.org/docs/messages/no-cache
|
|
@@ -58,7 +58,7 @@ Browserslist: caniuse-lite is outdated. Please run:
|
|
|
58
58
|
Creating an optimized production build ...
|
|
59
59
|
Disabled SWC as replacement for Babel because of custom Babel configuration ".babelrc.js" https://nextjs.org/docs/messages/swc-disabled
|
|
60
60
|
Using external babel configuration from /home/runner/work/faststore/faststore/packages/core/.babelrc.js
|
|
61
|
-
Browserslist: browsers data (caniuse-lite) is
|
|
61
|
+
Browserslist: browsers data (caniuse-lite) is 9 months old. Please run:
|
|
62
62
|
npx update-browserslist-db@latest
|
|
63
63
|
Why you should do it regularly: https://github.com/browserslist/update-db#readme
|
|
64
64
|
✓ Compiled successfully
|
|
@@ -74,12 +74,12 @@ Warning: Dynamic Content not found for the page: home. Refer to the Dynamic Cont
|
|
|
74
74
|
|
|
75
75
|
Route (pages) Size First Load JS
|
|
76
76
|
┌ ● / 3.69 kB 142 kB
|
|
77
|
-
├ └ css/
|
|
77
|
+
├ └ css/c29fee5b9f9d48d9.css 3.07 kB
|
|
78
78
|
├ /_app 0 B 107 kB
|
|
79
79
|
├ ● /[...slug] 2.49 kB 156 kB
|
|
80
80
|
├ ● /[slug]/p 97.4 kB 236 kB
|
|
81
|
-
├ ├ css/
|
|
82
|
-
├ └ css/
|
|
81
|
+
├ ├ css/331f08e9d306e70b.css 5.92 kB
|
|
82
|
+
├ └ css/a9328b56f3942b82.css 22 kB
|
|
83
83
|
├ ○ /404 1.57 kB 140 kB
|
|
84
84
|
├ ● /500 1.57 kB 140 kB
|
|
85
85
|
├ λ /api/graphql 0 B 107 kB
|
|
@@ -90,26 +90,26 @@ Route (pages) Size First Load JS
|
|
|
90
90
|
├ ● /login 1.7 kB 140 kB
|
|
91
91
|
├ λ /pvt/account 247 B 108 kB
|
|
92
92
|
├ ● /pvt/account/[...unknown] 287 B 108 kB
|
|
93
|
-
├ λ /pvt/account/403 2.
|
|
94
|
-
├ └ css/
|
|
95
|
-
├ λ /pvt/account/404 2.
|
|
96
|
-
├ └ css/
|
|
97
|
-
├ λ /pvt/account/orders 10.
|
|
98
|
-
├ └ css/
|
|
99
|
-
├ λ /pvt/account/orders/[id] 12.
|
|
100
|
-
├ └ css/
|
|
101
|
-
├ λ /pvt/account/profile 1.
|
|
102
|
-
├ └ css/
|
|
103
|
-
├ λ /pvt/account/security 3.
|
|
104
|
-
├ └ css/
|
|
105
|
-
├ λ /pvt/account/user-details 1.
|
|
106
|
-
├ └ css/
|
|
93
|
+
├ λ /pvt/account/403 2.49 kB 141 kB
|
|
94
|
+
├ └ css/c53b17b6fa994508.css 4.66 kB
|
|
95
|
+
├ λ /pvt/account/404 2.18 kB 140 kB
|
|
96
|
+
├ └ css/ceb410a7062740d1.css 4.72 kB
|
|
97
|
+
├ λ /pvt/account/orders 10.6 kB 149 kB
|
|
98
|
+
├ └ css/f81198b7fe9f5f6f.css 13.9 kB
|
|
99
|
+
├ λ /pvt/account/orders/[id] 12.1 kB 150 kB
|
|
100
|
+
├ └ css/da5bfb1f39c54578.css 13.3 kB
|
|
101
|
+
├ λ /pvt/account/profile 1.98 kB 140 kB
|
|
102
|
+
├ └ css/b65e005fb943434c.css 4.4 kB
|
|
103
|
+
├ λ /pvt/account/security 3.96 kB 142 kB
|
|
104
|
+
├ └ css/6bb0abee27fe0019.css 5.65 kB
|
|
105
|
+
├ λ /pvt/account/user-details 1.91 kB 140 kB
|
|
106
|
+
├ └ css/bd121d85d6ceed46.css 4.52 kB
|
|
107
107
|
└ ● /s 3.28 kB 157 kB
|
|
108
108
|
+ First Load JS shared by all 111 kB
|
|
109
109
|
├ chunks/framework-d514426edf885c68.js 45.4 kB
|
|
110
110
|
├ chunks/main-595f5e3b626b9fff.js 33.2 kB
|
|
111
111
|
├ chunks/pages/_app-78bc68991096280c.js 25 kB
|
|
112
|
-
├ chunks/webpack-
|
|
112
|
+
├ chunks/webpack-f16e329d9f50b79b.js 3.86 kB
|
|
113
113
|
└ css/24a5e8f6808266fe.css 3.53 kB
|
|
114
114
|
|
|
115
115
|
λ (Server) server-side renders at runtime (uses getInitialProps or getServerSideProps)
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@3.
|
|
2
|
+
> @faststore/core@3.89.0 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS test/utils/multipleTemplates.test.ts (28.
|
|
6
|
-
PASS test/server/cms/global.test.ts (28.
|
|
5
|
+
PASS test/utils/multipleTemplates.test.ts (28.435 s)
|
|
6
|
+
PASS test/server/cms/global.test.ts (28.789 s)
|
|
7
7
|
PASS test/server/cms/index.test.ts
|
|
8
|
-
PASS test/server/index.test.ts (31.
|
|
8
|
+
PASS test/server/index.test.ts (31.275 s)
|
|
9
|
+
A worker process has failed to exit gracefully and has been force exited. This is likely caused by tests leaking due to improper teardown. Try running with --detectOpenHandles to find leaks. Active timers can also cause this, ensure that .unref() was called on them.
|
|
9
10
|
|
|
10
11
|
Test Suites: 4 passed, 4 total
|
|
11
12
|
Tests: 22 passed, 22 total
|
|
12
13
|
Snapshots: 0 total
|
|
13
|
-
Time: 32.
|
|
14
|
+
Time: 32.767 s
|
|
14
15
|
Ran all test suites.
|
package/@generated/gql.ts
CHANGED
|
@@ -38,7 +38,7 @@ const documents = {
|
|
|
38
38
|
types.ServerCollectionPageFragmentDoc,
|
|
39
39
|
'\n fragment ServerProduct on Query {\n product(locator: $locator) {\n id: productID\n }\n }\n':
|
|
40
40
|
types.ServerProductFragmentDoc,
|
|
41
|
-
'\n query ServerAccountPageQuery {\n
|
|
41
|
+
'\n query ServerAccountPageQuery {\n accountProfile {\n name\n }\n }\n':
|
|
42
42
|
types.ServerAccountPageQueryDocument,
|
|
43
43
|
'\n query ServerCollectionPageQuery($slug: String!) {\n ...ServerCollectionPage\n collection(slug: $slug) {\n seo {\n title\n description\n }\n breadcrumbList {\n itemListElement {\n item\n name\n position\n }\n }\n meta {\n selectedFacets {\n key\n value\n }\n }\n }\n }\n':
|
|
44
44
|
types.ServerCollectionPageQueryDocument,
|
|
@@ -46,15 +46,15 @@ const documents = {
|
|
|
46
46
|
types.ServerProductQueryDocument,
|
|
47
47
|
'\n fragment UserOrderItemsFragment on UserOrderItems {\n id\n name\n quantity\n sellingPrice\n unitMultiplier\n measurementUnit\n imageUrl\n detailUrl\n refId\n rewardValue\n }\n':
|
|
48
48
|
types.UserOrderItemsFragmentFragmentDoc,
|
|
49
|
-
'\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n
|
|
49
|
+
'\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
50
50
|
types.ServerOrderDetailsQueryDocument,
|
|
51
|
-
'\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n
|
|
51
|
+
'\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountProfile {\n name\n }\n }\n':
|
|
52
52
|
types.ServerListOrdersQueryDocument,
|
|
53
|
-
'\n query ServerProfileQuery {\n
|
|
53
|
+
'\n query ServerProfileQuery {\n accountProfile {\n name\n email\n id\n }\n }\n':
|
|
54
54
|
types.ServerProfileQueryDocument,
|
|
55
|
-
'\n query ServerSecurity {\n
|
|
55
|
+
'\n query ServerSecurity {\n accountProfile {\n name\n }\n userDetails {\n email\n }\n }\n':
|
|
56
56
|
types.ServerSecurityDocument,
|
|
57
|
-
'\n query ServerUserDetailsQuery {\n
|
|
57
|
+
'\n query ServerUserDetailsQuery {\n accountProfile {\n name\n }\n userDetails {\n name\n email\n role\n orgUnit\n }\n }\n':
|
|
58
58
|
types.ServerUserDetailsQueryDocument,
|
|
59
59
|
'\n mutation CancelOrderMutation($data: IUserOrderCancel!) {\n cancelOrder(data: $data) {\n data\n }\n }\n':
|
|
60
60
|
types.CancelOrderMutationDocument,
|
|
@@ -176,7 +176,7 @@ export function gql(
|
|
|
176
176
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
177
177
|
*/
|
|
178
178
|
export function gql(
|
|
179
|
-
source: '\n query ServerAccountPageQuery {\n
|
|
179
|
+
source: '\n query ServerAccountPageQuery {\n accountProfile {\n name\n }\n }\n'
|
|
180
180
|
): typeof import('./graphql').ServerAccountPageQueryDocument
|
|
181
181
|
/**
|
|
182
182
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
@@ -200,31 +200,31 @@ export function gql(
|
|
|
200
200
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
201
201
|
*/
|
|
202
202
|
export function gql(
|
|
203
|
-
source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n
|
|
203
|
+
source: '\n query ServerOrderDetailsQuery($orderId: String!) {\n userOrder(orderId: $orderId) {\n orderId\n creationDate\n status\n canProcessOrderAuthorization\n statusDescription\n allowCancellation\n ruleForAuthorization {\n orderAuthorizationId\n dimensionId\n rule {\n id\n name\n status\n doId\n authorizedEmails\n priority\n trigger {\n condition {\n conditionType\n description\n lessThan\n greatherThan\n expression\n }\n effect {\n description\n effectType\n funcPath\n }\n }\n timeout\n notification\n scoreInterval {\n accept\n deny\n }\n authorizationData {\n requireAllApprovals\n authorizers {\n id\n email\n type\n authorizationDate\n }\n }\n isUserAuthorized\n isUserNextAuthorizer\n }\n }\n storePreferencesData {\n currencyCode\n }\n clientProfileData {\n firstName\n lastName\n email\n phone\n corporateName\n isCorporate\n }\n customFields {\n type\n id\n fields {\n name\n value\n refId\n }\n }\n deliveryOptionsData {\n deliveryOptions {\n selectedSla\n deliveryChannel\n deliveryCompany\n deliveryWindow {\n startDateUtc\n endDateUtc\n price\n }\n shippingEstimate\n shippingEstimateDate\n friendlyShippingEstimate\n friendlyDeliveryOptionName\n seller\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n pickupStoreInfo {\n additionalInfo\n address {\n addressType\n receiverName\n addressId\n versionId\n entityId\n postalCode\n city\n state\n country\n street\n number\n neighborhood\n complement\n reference\n geoCoordinates\n }\n dockId\n friendlyName\n isPickupStore\n }\n quantityOfDifferentItems\n total\n items {\n id\n uniqueId\n name\n quantity\n price\n imageUrl\n tax\n total\n }\n }\n contact {\n email\n phone\n name\n }\n }\n paymentData {\n transactions {\n isActive\n payments {\n id\n paymentSystemName\n value\n installments\n referenceValue\n lastDigits\n url\n group\n tid\n connectorResponses {\n authId\n }\n bankIssuedInvoiceIdentificationNumber\n redemptionCode\n paymentOrigin\n }\n }\n }\n totals {\n id\n name\n value\n }\n shopper {\n firstName\n lastName\n email\n phone\n }\n }\n accountProfile {\n name\n }\n }\n'
|
|
204
204
|
): typeof import('./graphql').ServerOrderDetailsQueryDocument
|
|
205
205
|
/**
|
|
206
206
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
207
207
|
*/
|
|
208
208
|
export function gql(
|
|
209
|
-
source: '\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n
|
|
209
|
+
source: '\n query ServerListOrdersQuery ($page: Int,$perPage: Int, $status: [String], $dateInitial: String, $dateFinal: String, $text: String, $clientEmail: String) {\n listUserOrders (page: $page, perPage: $perPage, status: $status, dateInitial: $dateInitial, dateFinal: $dateFinal, text: $text, clientEmail: $clientEmail) {\n list {\n orderId\n creationDate\n clientName\n items {\n seller\n quantity\n description\n ean\n refId\n id\n productId\n sellingPrice\n price\n }\n totalValue\n status\n statusDescription\n ShippingEstimatedDate\n currencyCode\n customFields {\n type\n value\n }\n }\n paging {\n total\n pages\n currentPage\n perPage\n }\n }\n accountProfile {\n name\n }\n }\n'
|
|
210
210
|
): typeof import('./graphql').ServerListOrdersQueryDocument
|
|
211
211
|
/**
|
|
212
212
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
213
213
|
*/
|
|
214
214
|
export function gql(
|
|
215
|
-
source: '\n query ServerProfileQuery {\n
|
|
215
|
+
source: '\n query ServerProfileQuery {\n accountProfile {\n name\n email\n id\n }\n }\n'
|
|
216
216
|
): typeof import('./graphql').ServerProfileQueryDocument
|
|
217
217
|
/**
|
|
218
218
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
219
219
|
*/
|
|
220
220
|
export function gql(
|
|
221
|
-
source: '\n query ServerSecurity {\n
|
|
221
|
+
source: '\n query ServerSecurity {\n accountProfile {\n name\n }\n userDetails {\n email\n }\n }\n'
|
|
222
222
|
): typeof import('./graphql').ServerSecurityDocument
|
|
223
223
|
/**
|
|
224
224
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
225
225
|
*/
|
|
226
226
|
export function gql(
|
|
227
|
-
source: '\n query ServerUserDetailsQuery {\n
|
|
227
|
+
source: '\n query ServerUserDetailsQuery {\n accountProfile {\n name\n }\n userDetails {\n name\n email\n role\n orgUnit\n }\n }\n'
|
|
228
228
|
): typeof import('./graphql').ServerUserDetailsQueryDocument
|
|
229
229
|
/**
|
|
230
230
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
package/@generated/graphql.ts
CHANGED
|
@@ -829,8 +829,6 @@ export type ProfileAddress = {
|
|
|
829
829
|
}
|
|
830
830
|
|
|
831
831
|
export type Query = {
|
|
832
|
-
/** Returns the account name of the current user or the B2B contract name if applicable. */
|
|
833
|
-
accountName: Maybe<Scalars['String']['output']>
|
|
834
832
|
/** Returns the account profile information for the current authenticated user (b2b or b2c user). */
|
|
835
833
|
accountProfile: StoreAccountProfile
|
|
836
834
|
/** Returns information about all collections. */
|
|
@@ -2649,7 +2647,9 @@ export type ServerAccountPageQueryQueryVariables = Exact<{
|
|
|
2649
2647
|
[key: string]: never
|
|
2650
2648
|
}>
|
|
2651
2649
|
|
|
2652
|
-
export type ServerAccountPageQueryQuery = {
|
|
2650
|
+
export type ServerAccountPageQueryQuery = {
|
|
2651
|
+
accountProfile: { name: string | null }
|
|
2652
|
+
}
|
|
2653
2653
|
|
|
2654
2654
|
export type ServerCollectionPageQueryQueryVariables = Exact<{
|
|
2655
2655
|
slug: Scalars['String']['input']
|
|
@@ -2739,7 +2739,6 @@ export type ServerOrderDetailsQueryQueryVariables = Exact<{
|
|
|
2739
2739
|
}>
|
|
2740
2740
|
|
|
2741
2741
|
export type ServerOrderDetailsQueryQuery = {
|
|
2742
|
-
accountName: string | null
|
|
2743
2742
|
userOrder: {
|
|
2744
2743
|
orderId: string | null
|
|
2745
2744
|
creationDate: string | null
|
|
@@ -2911,6 +2910,7 @@ export type ServerOrderDetailsQueryQuery = {
|
|
|
2911
2910
|
phone: string | null
|
|
2912
2911
|
} | null
|
|
2913
2912
|
} | null
|
|
2913
|
+
accountProfile: { name: string | null }
|
|
2914
2914
|
}
|
|
2915
2915
|
|
|
2916
2916
|
export type ServerListOrdersQueryQueryVariables = Exact<{
|
|
@@ -2927,7 +2927,6 @@ export type ServerListOrdersQueryQueryVariables = Exact<{
|
|
|
2927
2927
|
}>
|
|
2928
2928
|
|
|
2929
2929
|
export type ServerListOrdersQueryQuery = {
|
|
2930
|
-
accountName: string | null
|
|
2931
2930
|
listUserOrders: {
|
|
2932
2931
|
list: Array<{
|
|
2933
2932
|
orderId: string | null
|
|
@@ -2961,12 +2960,12 @@ export type ServerListOrdersQueryQuery = {
|
|
|
2961
2960
|
perPage: number | null
|
|
2962
2961
|
} | null
|
|
2963
2962
|
} | null
|
|
2963
|
+
accountProfile: { name: string | null }
|
|
2964
2964
|
}
|
|
2965
2965
|
|
|
2966
2966
|
export type ServerProfileQueryQueryVariables = Exact<{ [key: string]: never }>
|
|
2967
2967
|
|
|
2968
2968
|
export type ServerProfileQueryQuery = {
|
|
2969
|
-
accountName: string | null
|
|
2970
2969
|
accountProfile: {
|
|
2971
2970
|
name: string | null
|
|
2972
2971
|
email: string | null
|
|
@@ -2977,7 +2976,7 @@ export type ServerProfileQueryQuery = {
|
|
|
2977
2976
|
export type ServerSecurityQueryVariables = Exact<{ [key: string]: never }>
|
|
2978
2977
|
|
|
2979
2978
|
export type ServerSecurityQuery = {
|
|
2980
|
-
|
|
2979
|
+
accountProfile: { name: string | null }
|
|
2981
2980
|
userDetails: { email: string | null }
|
|
2982
2981
|
}
|
|
2983
2982
|
|
|
@@ -2986,7 +2985,7 @@ export type ServerUserDetailsQueryQueryVariables = Exact<{
|
|
|
2986
2985
|
}>
|
|
2987
2986
|
|
|
2988
2987
|
export type ServerUserDetailsQueryQuery = {
|
|
2989
|
-
|
|
2988
|
+
accountProfile: { name: string | null }
|
|
2990
2989
|
userDetails: {
|
|
2991
2990
|
name: string | null
|
|
2992
2991
|
email: string | null
|
|
@@ -4288,7 +4287,7 @@ export const SearchEvent_MetadataFragmentDoc = new TypedDocumentString(
|
|
|
4288
4287
|
export const ServerAccountPageQueryDocument = {
|
|
4289
4288
|
__meta__: {
|
|
4290
4289
|
operationName: 'ServerAccountPageQuery',
|
|
4291
|
-
operationHash: '
|
|
4290
|
+
operationHash: '9baae331b75848a310fecb457e8c971ae27897ff',
|
|
4292
4291
|
},
|
|
4293
4292
|
} as unknown as TypedDocumentString<
|
|
4294
4293
|
ServerAccountPageQueryQuery,
|
|
@@ -4315,7 +4314,7 @@ export const ServerProductQueryDocument = {
|
|
|
4315
4314
|
export const ServerOrderDetailsQueryDocument = {
|
|
4316
4315
|
__meta__: {
|
|
4317
4316
|
operationName: 'ServerOrderDetailsQuery',
|
|
4318
|
-
operationHash: '
|
|
4317
|
+
operationHash: '7937ec2d330f0f6f68f3aab589f10bc96c6ddeea',
|
|
4319
4318
|
},
|
|
4320
4319
|
} as unknown as TypedDocumentString<
|
|
4321
4320
|
ServerOrderDetailsQueryQuery,
|
|
@@ -4324,7 +4323,7 @@ export const ServerOrderDetailsQueryDocument = {
|
|
|
4324
4323
|
export const ServerListOrdersQueryDocument = {
|
|
4325
4324
|
__meta__: {
|
|
4326
4325
|
operationName: 'ServerListOrdersQuery',
|
|
4327
|
-
operationHash: '
|
|
4326
|
+
operationHash: 'b0a6b9da966cf2365f9806fd810bac248b44dba8',
|
|
4328
4327
|
},
|
|
4329
4328
|
} as unknown as TypedDocumentString<
|
|
4330
4329
|
ServerListOrdersQueryQuery,
|
|
@@ -4333,7 +4332,7 @@ export const ServerListOrdersQueryDocument = {
|
|
|
4333
4332
|
export const ServerProfileQueryDocument = {
|
|
4334
4333
|
__meta__: {
|
|
4335
4334
|
operationName: 'ServerProfileQuery',
|
|
4336
|
-
operationHash: '
|
|
4335
|
+
operationHash: '672fe0f00b7b710b63fc6573c0a6b2ec54812b8f',
|
|
4337
4336
|
},
|
|
4338
4337
|
} as unknown as TypedDocumentString<
|
|
4339
4338
|
ServerProfileQueryQuery,
|
|
@@ -4342,7 +4341,7 @@ export const ServerProfileQueryDocument = {
|
|
|
4342
4341
|
export const ServerSecurityDocument = {
|
|
4343
4342
|
__meta__: {
|
|
4344
4343
|
operationName: 'ServerSecurity',
|
|
4345
|
-
operationHash: '
|
|
4344
|
+
operationHash: '0890ba3456c40a426893b80b698df7a84cfdd6a1',
|
|
4346
4345
|
},
|
|
4347
4346
|
} as unknown as TypedDocumentString<
|
|
4348
4347
|
ServerSecurityQuery,
|
|
@@ -4351,7 +4350,7 @@ export const ServerSecurityDocument = {
|
|
|
4351
4350
|
export const ServerUserDetailsQueryDocument = {
|
|
4352
4351
|
__meta__: {
|
|
4353
4352
|
operationName: 'ServerUserDetailsQuery',
|
|
4354
|
-
operationHash: '
|
|
4353
|
+
operationHash: 'e5eb7e46c685d0c7a2ec62c865bfb0a66f81d557',
|
|
4355
4354
|
},
|
|
4356
4355
|
} as unknown as TypedDocumentString<
|
|
4357
4356
|
ServerUserDetailsQueryQuery,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
2
|
+
"9baae331b75848a310fecb457e8c971ae27897ff": "query ServerAccountPageQuery { accountProfile { name } }",
|
|
3
3
|
"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 }",
|
|
4
4
|
"e855903879c6504e90269e6e010549bc6de933eb": "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 allVariantProducts { name productID } 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 }",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
5
|
+
"7937ec2d330f0f6f68f3aab589f10bc96c6ddeea": "query ServerOrderDetailsQuery($orderId: String!) { accountProfile { name } userOrder(orderId: $orderId) { allowCancellation canProcessOrderAuthorization clientProfileData { corporateName email firstName isCorporate lastName phone } creationDate 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 uniqueId } 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 } } orderId paymentData { transactions { isActive payments { bankIssuedInvoiceIdentificationNumber connectorResponses { authId } group id installments lastDigits paymentOrigin paymentSystemName redemptionCode referenceValue tid url value } } } ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } shopper { email firstName lastName phone } status statusDescription storePreferencesData { currencyCode } totals { id name value } } }",
|
|
6
|
+
"b0a6b9da966cf2365f9806fd810bac248b44dba8": "query ServerListOrdersQuery($clientEmail: String, $dateFinal: String, $dateInitial: String, $page: Int, $perPage: Int, $status: [String], $text: String) { accountProfile { name } listUserOrders( page: $page perPage: $perPage status: $status dateInitial: $dateInitial dateFinal: $dateFinal text: $text clientEmail: $clientEmail ) { list { ShippingEstimatedDate clientName creationDate currencyCode customFields { type value } items { description ean id price productId quantity refId seller sellingPrice } orderId status statusDescription totalValue } paging { currentPage pages perPage total } } }",
|
|
7
|
+
"672fe0f00b7b710b63fc6573c0a6b2ec54812b8f": "query ServerProfileQuery { accountProfile { email id name } }",
|
|
8
|
+
"0890ba3456c40a426893b80b698df7a84cfdd6a1": "query ServerSecurity { accountProfile { name } userDetails { email } }",
|
|
9
|
+
"e5eb7e46c685d0c7a2ec62c865bfb0a66f81d557": "query ServerUserDetailsQuery { accountProfile { name } userDetails { email name orgUnit role } }",
|
|
10
10
|
"e2b06da6840614d3c72768e56579b9d3b8e80802": "mutation CancelOrderMutation($data: IUserOrderCancel!) { cancelOrder(data: $data) { data } }",
|
|
11
11
|
"8c25d37c8d6e7c20ab21bb8a4f4e6a2fe320ea8d": "mutation ProcessOrderAuthorizationMutation($data: IProcessOrderAuthorization!) { processOrderAuthorization(data: $data) { isPendingForOtherAuthorizer ruleForAuthorization { dimensionId orderAuthorizationId rule { authorizationData { authorizers { authorizationDate email id type } requireAllApprovals } authorizedEmails doId id isUserAuthorized isUserNextAuthorizer name notification priority scoreInterval { accept deny } status timeout trigger { condition { conditionType description expression greatherThan lessThan } effect { description effectType funcPath } } } } } }",
|
|
12
12
|
"32f99c73c3de958b64d6bece1afe800469f54548": "query ValidateUser { validateUser { isValid } }",
|
|
@@ -1048,8 +1048,6 @@ type Query {
|
|
|
1048
1048
|
userDetails: StoreUserDetails! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1049
1049
|
"""Returns the account profile information for the current authenticated user (b2b or b2c user)."""
|
|
1050
1050
|
accountProfile: StoreAccountProfile! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1051
|
-
"""Returns the account name of the current user or the B2B contract name if applicable."""
|
|
1052
|
-
accountName: String @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1053
1051
|
"""Returns information about the user validation."""
|
|
1054
1052
|
validateUser: ValidateUserData @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
|
|
1055
1053
|
"""Returns a list of pickup points near to the given geo coordinates."""
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.89.1](https://github.com/vtex/faststore/compare/v3.89.0...v3.89.1) (2025-10-02)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- updates contract name SFS-2863 ([#3051](https://github.com/vtex/faststore/issues/3051)) ([3b884e4](https://github.com/vtex/faststore/commit/3b884e49eabbbd4d5832f342c759d1301c98dc0e))
|
|
11
|
+
|
|
12
|
+
# [3.89.0](https://github.com/vtex/faststore/compare/v3.88.7...v3.89.0) (2025-10-02)
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
- My Account QA SFS-2859 ([#3040](https://github.com/vtex/faststore/issues/3040)) ([5e36a5f](https://github.com/vtex/faststore/commit/5e36a5f31acb1523024ad6e7063ca51aabe2f303)), closes [/github.com/vtex/faststore/blob/af6d2acbbc2fb72778c7223897ec7846736b4c87/packages/core/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx#L1](https://github.com//github.com/vtex/faststore/blob/af6d2acbbc2fb72778c7223897ec7846736b4c87/packages/core/src/components/account/orders/MyAccountOrderDetails/MyAccountOrderDetails.tsx/issues/L1)
|
|
17
|
+
|
|
6
18
|
## [3.88.7](https://github.com/vtex/faststore/compare/v3.88.6...v3.88.7) (2025-09-25)
|
|
7
19
|
|
|
8
20
|
### Bug Fixes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.89.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "vtex/faststore",
|
|
6
6
|
"browserslist": "supports es6-module and not dead",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@envelop/graphql-jit": "^8.0.3",
|
|
45
45
|
"@envelop/parser-cache": "^6.0.2",
|
|
46
46
|
"@envelop/validation-cache": "^6.0.2",
|
|
47
|
-
"@faststore/api": "^3.
|
|
47
|
+
"@faststore/api": "^3.89.1",
|
|
48
48
|
"@faststore/graphql-utils": "^3.81.0",
|
|
49
49
|
"@faststore/lighthouse": "^3.81.0",
|
|
50
50
|
"@faststore/sdk": "^3.88.6",
|
|
51
|
-
"@faststore/ui": "^3.
|
|
51
|
+
"@faststore/ui": "^3.89.0",
|
|
52
52
|
"@graphql-codegen/cli": "5.0.2",
|
|
53
53
|
"@graphql-codegen/client-preset": "4.2.6",
|
|
54
54
|
"@graphql-codegen/typescript": "4.0.7",
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"ts-jest": "29.1.1",
|
|
117
117
|
"typescript": "5.3.2"
|
|
118
118
|
},
|
|
119
|
-
"gitHead": "
|
|
119
|
+
"gitHead": "4466db1071e13b162b9a124e997587c570bcdd8b"
|
|
120
120
|
}
|
|
@@ -23,10 +23,10 @@ const MyAccountLayout = ({
|
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
return (
|
|
26
|
-
<
|
|
26
|
+
<section className={styles.layout}>
|
|
27
27
|
<MyAccountMenu accountName={accountName} items={routes} />
|
|
28
|
-
<
|
|
29
|
-
</
|
|
28
|
+
<div data-fs-account-layout-content>{children}</div>
|
|
29
|
+
</section>
|
|
30
30
|
)
|
|
31
31
|
}
|
|
32
32
|
export default MyAccountLayout
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
.layout {
|
|
2
2
|
@import "@faststore/ui/src/components/atoms/Badge/styles.scss";
|
|
3
3
|
@import "@faststore/ui/src/components/atoms/Button/styles.scss";
|
|
4
|
+
@import "@faststore/ui/src/components/atoms/Link/styles.scss";
|
|
4
5
|
@import "@faststore/ui/src/components/atoms/Icon/styles.scss";
|
|
5
6
|
@import "@faststore/ui/src/components/atoms/Input/styles.scss";
|
|
6
7
|
@import "@faststore/ui/src/components/molecules/LinkButton/styles.scss";
|
|
7
8
|
@import "@faststore/ui/src/components/molecules/SearchInputField/styles.scss";
|
|
8
9
|
@import "../MyAccountMenu/styles.scss";
|
|
10
|
+
@import "../components/MyAccountHeader/styles.scss";
|
|
9
11
|
|
|
10
12
|
display: grid;
|
|
11
13
|
grid-template-rows: auto 1fr;
|
|
@@ -18,4 +20,12 @@
|
|
|
18
20
|
max-width: var(--fs-grid-breakpoint-desktop);
|
|
19
21
|
margin: 0 auto;
|
|
20
22
|
}
|
|
23
|
+
|
|
24
|
+
[data-fs-account-layout-content] {
|
|
25
|
+
padding: 0 var(--fs-spacing-4);
|
|
26
|
+
|
|
27
|
+
@include media(">=notebook") {
|
|
28
|
+
padding: 0 var(--fs-spacing-8);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
21
31
|
}
|
|
@@ -46,6 +46,7 @@
|
|
|
46
46
|
height: var(--fs-spacing-6);
|
|
47
47
|
font-size: var(--fs-text-size-1);
|
|
48
48
|
font-weight: var(--fs-text-weight-medium);
|
|
49
|
+
white-space: nowrap;
|
|
49
50
|
background-color: var(--fs-color-tertiary-bkg);
|
|
50
51
|
border-radius: var(--fs-border-radius-pill);
|
|
51
52
|
|
|
@@ -101,7 +102,7 @@
|
|
|
101
102
|
|
|
102
103
|
.nav {
|
|
103
104
|
flex-direction: column;
|
|
104
|
-
gap: 0;
|
|
105
|
+
gap: var(--fs-spacing-0);
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
.navItem {
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import Tag from '../components/MyAccountTag'
|
|
2
|
+
import AccountTable from '../components/MyAccountTable'
|
|
3
|
+
import AccountHeader from '../components/MyAccountHeader'
|
|
2
4
|
import styles from './styles.module.scss'
|
|
3
5
|
|
|
4
6
|
type MyAccountUserDetailsProps = {
|
|
@@ -15,46 +17,23 @@ export default function MyAccountUserDetails({
|
|
|
15
17
|
}: MyAccountUserDetailsProps) {
|
|
16
18
|
return (
|
|
17
19
|
<section className={styles.section}>
|
|
18
|
-
<
|
|
20
|
+
<AccountHeader pageTitle="User details" />
|
|
19
21
|
<div data-fs-user-details-container>
|
|
20
|
-
<
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<td data-fs-user-details-divider></td>
|
|
36
|
-
<td data-fs-user-details-divider></td>
|
|
37
|
-
</tr>
|
|
38
|
-
<tr data-fs-user-details-row>
|
|
39
|
-
<th data-fs-user-details-row-label>Role</th>
|
|
40
|
-
<td data-fs-user-details-row-tags>
|
|
41
|
-
{role.map((r) => (
|
|
42
|
-
<span key={r} data-fs-user-details-row-value>
|
|
43
|
-
<Tag>{r}</Tag>
|
|
44
|
-
</span>
|
|
45
|
-
))}
|
|
46
|
-
</td>
|
|
47
|
-
</tr>
|
|
48
|
-
<tr data-fs-user-details-divider-row>
|
|
49
|
-
<td data-fs-user-details-divider></td>
|
|
50
|
-
<td data-fs-user-details-divider></td>
|
|
51
|
-
</tr>
|
|
52
|
-
<tr data-fs-user-details-row>
|
|
53
|
-
<th data-fs-user-details-row-label>Organizational unit</th>
|
|
54
|
-
<td data-fs-user-details-row-value>{orgUnit}</td>
|
|
55
|
-
</tr>
|
|
56
|
-
</tbody>
|
|
57
|
-
</table>
|
|
22
|
+
<AccountTable
|
|
23
|
+
rows={[
|
|
24
|
+
{ heading: 'Name', data: name ? name : '–' },
|
|
25
|
+
{ heading: 'Email', data: email },
|
|
26
|
+
{
|
|
27
|
+
heading: 'Role',
|
|
28
|
+
data: role.map((r) => (
|
|
29
|
+
<span key={r} data-fs-user-details-row-value>
|
|
30
|
+
<Tag>{r}</Tag>
|
|
31
|
+
</span>
|
|
32
|
+
)),
|
|
33
|
+
},
|
|
34
|
+
{ heading: 'Organizational unit', data: orgUnit },
|
|
35
|
+
]}
|
|
36
|
+
/>
|
|
58
37
|
</div>
|
|
59
38
|
</section>
|
|
60
39
|
)
|