@faststore/core 4.3.0-dev.1 → 4.3.0-dev.2
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/.turbo/turbo-generate.log +4 -4
- package/.turbo/turbo-test.log +100 -30
- package/@generated/cached-operations.json +3 -1
- package/@generated/gql.ts +29 -5
- package/@generated/graphql.ts +129 -8
- package/@generated/persisted-documents.json +5 -1
- package/@generated/schema.graphql +69 -0
- package/CHANGELOG.md +6 -0
- package/cms/faststore/sections.json +5 -0
- package/package.json +6 -6
- package/src/components/auth/ProfileChallenge/ProfileChallenge.tsx +2 -2
- package/src/components/search/SearchInput/SearchInput.tsx +139 -332
- package/src/components/sections/Navbar/Navbar.tsx +1 -0
- package/src/components/sections/Navbar/section.module.scss +3 -0
- package/src/sdk/auth/index.ts +2 -2
- package/src/sdk/orderEntry/useOrderEntry.ts +58 -0
- package/src/sdk/orderEntry/useOrderEntryOperation.ts +132 -0
- package/src/sdk/orderEntry/useOrderEntryUpload.ts +96 -0
- package/src/sdk/orderEntry/useOrderFormItems.ts +57 -0
- package/src/styles/global/index.scss +16 -0
- package/test/components/auth/ProfileChallenge.test.tsx +51 -0
- package/test/components/search/SearchInput.test.ts +72 -0
- package/test/components/search/SearchInputComponent.test.tsx +276 -0
- package/test/sdk/auth/useAuth.test.ts +94 -0
- package/test/sdk/orderEntry/useOrderEntry.test.ts +139 -0
- package/test/sdk/orderEntry/useOrderEntryOperation.test.ts +205 -0
- package/test/sdk/orderEntry/useOrderEntryUpload.test.ts +142 -0
- package/test/sdk/orderEntry/useOrderFormItems.test.ts +132 -0
- package/test/server/index.test.ts +4 -0
- package/src/sdk/product/useBulkProductsQuery.ts +0 -128
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@4.3.0-dev.
|
|
2
|
+
> @faststore/core@4.3.0-dev.1 generate /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> pnpm run gen-types && pnpm run cache-graphql
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
> @faststore/core@4.3.0-dev.
|
|
6
|
+
> @faststore/core@4.3.0-dev.1 gen-types /home/runner/work/faststore/faststore/packages/core
|
|
7
7
|
> node ../cli/bin/run generate-types .
|
|
8
8
|
|
|
9
9
|
[33m[STARTED][39m Parse Configuration
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
[32m[COMPLETED][39m Generate to /home/runner/work/faststore/faststore/packages/core/@generated/
|
|
20
20
|
[32m[COMPLETED][39m Generate outputs
|
|
21
21
|
|
|
22
|
-
> @faststore/core@4.3.0-dev.
|
|
22
|
+
> @faststore/core@4.3.0-dev.1 cache-graphql /home/runner/work/faststore/faststore/packages/core
|
|
23
23
|
> node ../cli/bin/run cache-graphql --config=./discovery.config.default.js --queries=./@generated/persisted-documents.json
|
|
24
24
|
|
|
25
25
|
[Info] - Config file location: /home/runner/work/faststore/faststore/packages/core/discovery.config.default.js
|
|
26
26
|
[Info] - Persisted documents at: /home/runner/work/faststore/faststore/packages/core/@generated/persisted-documents.json
|
|
27
27
|
[Info] - Cached operations output: /home/runner/work/faststore/faststore/packages/core/@generated/cached-operations.json
|
|
28
28
|
[Success] - GraphQL queries cached with success: 🎉
|
|
29
|
-
Queries: ServerAccountPageQuery, ServerCollectionPageQuery, ServerProductQuery, ServerOrderDetailsQuery, ServerListOrdersQuery, ServerProfileQuery, ServerSecurity, ServerUserDetailsQuery, ValidateUser, ClientPickupPointsQuery, ClientProductCountQuery, ClientAllVariantProductsQuery,
|
|
29
|
+
Queries: ServerAccountPageQuery, ServerCollectionPageQuery, ServerProductQuery, ServerOrderDetailsQuery, ServerListOrdersQuery, ServerProfileQuery, ServerSecurity, ServerUserDetailsQuery, ValidateUser, ClientPickupPointsQuery, OrderEntryOperationQuery, OrderFormItemsQuery, ClientProductCountQuery, ClientAllVariantProductsQuery, ClientManyProductsQueryWithSearchId, ClientProductGalleryQuery, ClientProductQuery, ClientManyProductsQuery, ClientManyProductsSelectedQuery, ClientProfileQuery, ClientSearchSuggestionsQuery, ClientTopSearchSuggestionsQuery, ClientShippingSimulationQuery, ServerManyProductsQuery
|
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
|
|
2
|
-
> @faststore/core@4.3.0-dev.
|
|
2
|
+
> @faststore/core@4.3.0-dev.1 test /home/runner/work/faststore/faststore/packages/core
|
|
3
3
|
> vitest run
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
[1m[46m RUN [49m[22m [36mv4.0.7 [39m[90m/home/runner/work/faststore/faststore/packages/core[39m
|
|
7
7
|
|
|
8
|
+
[32m✓[39m [30m[46m browser [49m[39m test/sdk/session/getInitialSession.browser.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 39[2mms[22m[39m
|
|
8
9
|
[90mstderr[2m | test/sdk/localization/store-url.browser.test.ts
|
|
9
10
|
[22m[39mError in optimistic validation: TypeError: Cannot read properties of undefined (reading 'read')
|
|
10
11
|
at validateCart [90m(/home/runner/work/faststore/faststore/packages/core/[39msrc/sdk/cart/index.ts:119:27[90m)[39m
|
|
@@ -12,19 +13,82 @@
|
|
|
12
13
|
at a (/home/runner/work/faststore/faststore/packages/sdk/dist/es/index.mjs:353:23)
|
|
13
14
|
[90m at processTicksAndRejections (node:internal/process/task_queues:103:5)[39m
|
|
14
15
|
|
|
15
|
-
[32m✓[39m [30m[46m browser [49m[39m test/sdk/session/
|
|
16
|
-
[32m✓[39m [30m[
|
|
17
|
-
[32m✓[39m [30m[
|
|
18
|
-
[32m✓[39m [30m[
|
|
19
|
-
[32m✓[39m [30m[
|
|
20
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/bindingSelector.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
16
|
+
[32m✓[39m [30m[46m browser [49m[39m test/sdk/session/installLocaleCorrector.browser.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 41[2mms[22m[39m
|
|
17
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/localization/bindingPaths.test.ts [2m([22m[2m71 tests[22m[2m)[22m[32m 93[2mms[22m[39m
|
|
18
|
+
[32m✓[39m [30m[46m browser [49m[39m test/sdk/localization/store-url.browser.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 14[2mms[22m[39m
|
|
19
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/match-url.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 41[2mms[22m[39m
|
|
20
|
+
[32m✓[39m [30m[46m browser [49m[39m test/utils/isLocalHost.browser.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 16[2mms[22m[39m
|
|
21
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/bindingSelector.test.ts [2m([22m[2m18 tests[22m[2m)[22m[32m 26[2mms[22m[39m
|
|
22
|
+
[90mstderr[2m | test/components/search/SearchInputComponent.test.tsx
|
|
23
|
+
[22m[39mWarning: forwardRef render functions accept exactly two parameters: props and ref. Did you forget to use the ref parameter?
|
|
24
|
+
|
|
25
|
+
[90mstderr[2m | test/components/search/SearchInputComponent.test.tsx[2m > [22m[2mSearchInput (OES integration)[2m > [22m[2mrenders without crashing
|
|
26
|
+
[22m[39mWarning: React does not recognize the `visibleDropdown` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `visibledropdown` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
27
|
+
at div
|
|
28
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
29
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
30
|
+
at Suspense
|
|
31
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
32
|
+
Warning: Unknown event handler property `onSearchSelection`. It will be ignored.
|
|
33
|
+
at div
|
|
34
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
35
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
36
|
+
at Suspense
|
|
37
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
38
|
+
Warning: React does not recognize the `isLoading` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isloading` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
39
|
+
at div
|
|
40
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
41
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
42
|
+
at Suspense
|
|
43
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
44
|
+
Warning: React does not recognize the `searchId` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `searchid` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
45
|
+
at div
|
|
46
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
47
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
48
|
+
at Suspense
|
|
49
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
50
|
+
Warning: Unknown event handler property `onCloseDrawer`. It will be ignored.
|
|
51
|
+
at div
|
|
52
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
53
|
+
at div
|
|
54
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
55
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
56
|
+
at Suspense
|
|
57
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
58
|
+
Warning: Invalid value for prop `formatter` on <div> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior
|
|
59
|
+
at div
|
|
60
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
61
|
+
at div
|
|
62
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
63
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
64
|
+
at Suspense
|
|
65
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
66
|
+
Warning: React does not recognize the `isOpen` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isopen` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
67
|
+
at div
|
|
68
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
69
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
70
|
+
at Suspense
|
|
71
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
72
|
+
Warning: React does not recognize the `overlayProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `overlayprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
73
|
+
at div
|
|
74
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
75
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
76
|
+
at Suspense
|
|
77
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
78
|
+
Warning: React does not recognize the `providerProps` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `providerprops` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
|
|
79
|
+
at div
|
|
80
|
+
at /home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:15:5
|
|
81
|
+
at SearchInput2 (/home/runner/work/faststore/faststore/packages/core/src/components/search/SearchInput/SearchInput.tsx:64:5)
|
|
82
|
+
at Suspense
|
|
83
|
+
at Wrapper (/home/runner/work/faststore/faststore/packages/core/test/components/search/SearchInputComponent.test.tsx:106:20)
|
|
84
|
+
|
|
85
|
+
[32m✓[39m [30m[43m node [49m[39m test/components/search/SearchInputComponent.test.tsx [2m([22m[2m6 tests[22m[2m)[22m[32m 165[2mms[22m[39m
|
|
86
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/useBindingSelector.test.tsx [2m([22m[2m12 tests[22m[2m)[22m[32m 27[2mms[22m[39m
|
|
87
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/search/useSearchHistory.test.ts [2m([22m[2m13 tests[22m[2m)[22m[32m 196[2mms[22m[39m
|
|
88
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/cookieCacheBusting.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 34[2mms[22m[39m
|
|
89
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/multipleTemplates.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 24[2mms[22m[39m
|
|
90
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/clearCookies.test.ts [2m([22m[2m20 tests[22m[2m)[22m[32m 63[2mms[22m[39m
|
|
91
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/orderEntry/useOrderEntryOperation.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 214[2mms[22m[39m
|
|
28
92
|
[90mstderr[2m | test/pages/api/graphql.test.ts[2m > [22m[2m/api/graphql error status propagation[2m > [22m[2mpropagates the upstream 400 from a wrapped BadRequestError instead of 500
|
|
29
93
|
[22m[39mGraphql execution returned with error: [
|
|
30
94
|
{
|
|
@@ -71,20 +135,26 @@
|
|
|
71
135
|
{ message: [32m'bad'[39m, status: [33m400[39m, type: [32m'BadRequestError'[39m }
|
|
72
136
|
]
|
|
73
137
|
|
|
74
|
-
[32m✓[39m [30m[43m node [49m[39m test/pages/api/graphql.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m
|
|
75
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
76
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
77
|
-
[32m✓[39m [30m[43m node [49m[39m test/sdk/
|
|
78
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
79
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
80
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
81
|
-
|
|
82
|
-
[32m✓[39m [30m[43m node [49m[39m test/
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
[
|
|
87
|
-
[
|
|
88
|
-
[2m
|
|
89
|
-
[
|
|
138
|
+
[32m✓[39m [30m[43m node [49m[39m test/pages/api/graphql.test.ts [2m([22m[2m10 tests[22m[2m)[22m[32m 85[2mms[22m[39m
|
|
139
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/orderEntry/useOrderEntryUpload.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 223[2mms[22m[39m
|
|
140
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/orderEntry/useOrderEntry.test.ts [2m([22m[2m8 tests[22m[2m)[22m[32m 106[2mms[22m[39m
|
|
141
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/orderEntry/useOrderFormItems.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 72[2mms[22m[39m
|
|
142
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/content/service.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
143
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/cms/global.test.ts [2m([22m[2m3 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
144
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/index.test.ts [2m([22m[2m7 tests[22m[2m)[22m[33m 797[2mms[22m[39m
|
|
145
|
+
[33m[2m✓[22m[39m should return a valid merged GraphQL schema [33m 336[2mms[22m[39m
|
|
146
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/getRequestHostname.test.ts [2m([22m[2m12 tests[22m[2m)[22m[32m 8[2mms[22m[39m
|
|
147
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/localization/store-url.test.ts [2m([22m[2m1 test[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
148
|
+
[32m✓[39m [30m[43m node [49m[39m test/pages/api/preview.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 11[2mms[22m[39m
|
|
149
|
+
[32m✓[39m [30m[43m node [49m[39m test/components/search/SearchInput.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 8[2mms[22m[39m
|
|
150
|
+
[32m✓[39m [30m[43m node [49m[39m test/sdk/auth/useAuth.test.ts [2m([22m[2m5 tests[22m[2m)[22m[32m 34[2mms[22m[39m
|
|
151
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/validateSessionRefreshToken.test.ts [2m([22m[2m6 tests[22m[2m)[22m[32m 4[2mms[22m[39m
|
|
152
|
+
[32m✓[39m [30m[43m node [49m[39m test/utils/isLocalHost.test.ts [2m([22m[2m7 tests[22m[2m)[22m[32m 6[2mms[22m[39m
|
|
153
|
+
[32m✓[39m [30m[43m node [49m[39m test/server/cms/index.test.ts [2m([22m[2m2 tests[22m[2m)[22m[32m 5[2mms[22m[39m
|
|
154
|
+
[32m✓[39m [30m[43m node [49m[39m test/components/auth/ProfileChallenge.test.tsx [2m([22m[2m3 tests[22m[2m)[22m[32m 27[2mms[22m[39m
|
|
155
|
+
|
|
156
|
+
[2m Test Files [22m [1m[32m30 passed[39m[22m[90m (30)[39m
|
|
157
|
+
[2m Tests [22m [1m[32m287 passed[39m[22m[90m (287)[39m
|
|
158
|
+
[2m Start at [22m 14:28:34
|
|
159
|
+
[2m Duration [22m 22.44s[2m (transform 5.65s, setup 0ms, collect 21.17s, tests 2.39s, environment 27.63s, prepare 896ms)[22m
|
|
90
160
|
|
|
@@ -9,11 +9,13 @@
|
|
|
9
9
|
"ServerUserDetailsQuery",
|
|
10
10
|
"ValidateUser",
|
|
11
11
|
"ClientPickupPointsQuery",
|
|
12
|
+
"OrderEntryOperationQuery",
|
|
13
|
+
"OrderFormItemsQuery",
|
|
12
14
|
"ClientProductCountQuery",
|
|
13
15
|
"ClientAllVariantProductsQuery",
|
|
14
|
-
"ClientProductQuery",
|
|
15
16
|
"ClientManyProductsQueryWithSearchId",
|
|
16
17
|
"ClientProductGalleryQuery",
|
|
18
|
+
"ClientProductQuery",
|
|
17
19
|
"ClientManyProductsQuery",
|
|
18
20
|
"ClientManyProductsSelectedQuery",
|
|
19
21
|
"ClientProfileQuery",
|
package/@generated/gql.ts
CHANGED
|
@@ -43,11 +43,15 @@ type Documents = {
|
|
|
43
43
|
"\n mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) {\n validateCart(cart: $cart, session: $session) {\n order {\n orderNumber\n acceptedOffer {\n ...CartItem\n }\n shouldSplitItem\n }\n messages {\n ...CartMessage\n }\n }\n }\n\n fragment CartMessage on StoreCartMessage {\n text\n status\n }\n\n fragment CartItem on StoreOffer {\n seller {\n identifier\n }\n quantity\n price\n priceWithTaxes\n listPrice\n listPriceWithTaxes\n isGift\n itemOffered {\n ...CartProductItem\n }\n }\n\n fragment CartProductItem on StoreProduct {\n sku\n name\n unitMultiplier\n image {\n url\n alternateName\n }\n brand {\n name\n }\n isVariantOf {\n productGroupID\n name\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n gtin\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n }\n": typeof types.ValidateCartMutationDocument,
|
|
44
44
|
"\n query ClientPickupPointsQuery(\n $geoCoordinates: IStoreGeoCoordinates\n ) {\n pickupPoints(geoCoordinates: $geoCoordinates) {\n pickupPointDistances {\n pickupId\n distance\n pickupName\n isActive\n address {\n city\n state\n number\n postalCode\n street\n }\n }\n }\n }\n": typeof types.ClientPickupPointsQueryDocument,
|
|
45
45
|
"\n mutation SubscribeToNewsletter($data: IPersonNewsletter!) {\n subscribeToNewsletter(data: $data) {\n id\n }\n }\n": typeof types.SubscribeToNewsletterDocument,
|
|
46
|
+
"\n mutation StartOrderEntryOperationMutation($data: IOrderEntryOperation!) {\n startOrderEntryOperation(data: $data) {\n operationId\n }\n }\n": typeof types.StartOrderEntryOperationMutationDocument,
|
|
47
|
+
"\n query OrderEntryOperationQuery($operationId: String!) {\n orderEntryOperation(operationId: $operationId) {\n status\n entityId\n message\n missingItems {\n itemId\n itemName\n reason\n }\n }\n }\n": typeof types.OrderEntryOperationQueryDocument,
|
|
48
|
+
"\n mutation UploadFileToOrderEntryMutation($data: IOrderEntryUpload!) {\n uploadFileToOrderEntry(data: $data) {\n objectKey\n }\n }\n": typeof types.UploadFileToOrderEntryMutationDocument,
|
|
49
|
+
"\n query OrderFormItemsQuery($orderFormId: String!) {\n orderFormItems(orderFormId: $orderFormId) {\n id\n name\n price\n listPrice\n quantity\n imageUrl\n availability\n seller\n unitMultiplier\n }\n }\n": typeof types.OrderFormItemsQueryDocument,
|
|
46
50
|
"\n query ClientProductCountQuery($term: String) {\n productCount(term: $term) {\n total\n }\n }\n": typeof types.ClientProductCountQueryDocument,
|
|
47
51
|
"\n query ClientAllVariantProductsQuery($locator: [IStoreSelectedFacet!]!) {\n product(locator: $locator) {\n ...ProductSKUMatrixSidebarFragment_product\n }\n }\n": typeof types.ClientAllVariantProductsQueryDocument,
|
|
48
|
-
"\n query ClientProductQuery($locator: [IStoreSelectedFacet!]!) {\n ...ClientProduct\n product(locator: $locator) {\n ...ProductDetailsFragment_product\n }\n }\n": typeof types.ClientProductQueryDocument,
|
|
49
52
|
"\n query ClientManyProductsQueryWithSearchId(\n $first: Int!\n $after: String\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n $sponsoredCount: Int\n ) {\n ...ClientManyProducts\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n sponsoredCount: $sponsoredCount\n ) {\n products {\n pageInfo {\n totalCount\n }\n edges {\n node {\n ...ProductSummary_product\n }\n }\n }\n searchId\n }\n }\n": typeof types.ClientManyProductsQueryWithSearchIdDocument,
|
|
50
53
|
"\n query ClientProductGalleryQuery(\n $first: Int!\n $after: String!\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n ) {\n ...ClientProductGallery\n redirect(term: $term, selectedFacets: $selectedFacets) {\n url\n }\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n ) {\n products {\n pageInfo {\n totalCount\n }\n }\n facets {\n ...Filter_facets\n }\n metadata {\n ...SearchEvent_metadata\n }\n }\n }\n\n fragment SearchEvent_metadata on SearchMetadata {\n isTermMisspelled\n logicalOperator\n fuzzy\n }\n": typeof types.ClientProductGalleryQueryDocument,
|
|
54
|
+
"\n query ClientProductQuery($locator: [IStoreSelectedFacet!]!) {\n ...ClientProduct\n product(locator: $locator) {\n ...ProductDetailsFragment_product\n }\n }\n": typeof types.ClientProductQueryDocument,
|
|
51
55
|
"\n query ClientManyProductsQuery(\n $first: Int!\n $after: String\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n $sponsoredCount: Int\n ) {\n ...ClientManyProducts\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n sponsoredCount: $sponsoredCount\n ) {\n products {\n pageInfo {\n totalCount\n }\n edges {\n node {\n ...ProductSummary_product\n }\n }\n }\n }\n }\n": typeof types.ClientManyProductsQueryDocument,
|
|
52
56
|
"\n query ClientManyProductsSelectedQuery(\n $productIds: [String!]!\n ) {\n products(productIds: $productIds) {\n ...ProductComparisonFragment_product\n }\n }\n": typeof types.ClientManyProductsSelectedQueryDocument,
|
|
53
57
|
"\n query ClientProfileQuery($id: String!) {\n profile(id: $id) {\n addresses {\n country\n postalCode\n geoCoordinate\n city\n }\n }\n }\n": typeof types.ClientProfileQueryDocument,
|
|
@@ -86,11 +90,15 @@ const documents: Documents = {
|
|
|
86
90
|
"\n mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) {\n validateCart(cart: $cart, session: $session) {\n order {\n orderNumber\n acceptedOffer {\n ...CartItem\n }\n shouldSplitItem\n }\n messages {\n ...CartMessage\n }\n }\n }\n\n fragment CartMessage on StoreCartMessage {\n text\n status\n }\n\n fragment CartItem on StoreOffer {\n seller {\n identifier\n }\n quantity\n price\n priceWithTaxes\n listPrice\n listPriceWithTaxes\n isGift\n itemOffered {\n ...CartProductItem\n }\n }\n\n fragment CartProductItem on StoreProduct {\n sku\n name\n unitMultiplier\n image {\n url\n alternateName\n }\n brand {\n name\n }\n isVariantOf {\n productGroupID\n name\n skuVariants {\n activeVariations\n slugsMap\n availableVariations\n }\n }\n gtin\n additionalProperty {\n propertyID\n name\n value\n valueReference\n }\n }\n": types.ValidateCartMutationDocument,
|
|
87
91
|
"\n query ClientPickupPointsQuery(\n $geoCoordinates: IStoreGeoCoordinates\n ) {\n pickupPoints(geoCoordinates: $geoCoordinates) {\n pickupPointDistances {\n pickupId\n distance\n pickupName\n isActive\n address {\n city\n state\n number\n postalCode\n street\n }\n }\n }\n }\n": types.ClientPickupPointsQueryDocument,
|
|
88
92
|
"\n mutation SubscribeToNewsletter($data: IPersonNewsletter!) {\n subscribeToNewsletter(data: $data) {\n id\n }\n }\n": types.SubscribeToNewsletterDocument,
|
|
93
|
+
"\n mutation StartOrderEntryOperationMutation($data: IOrderEntryOperation!) {\n startOrderEntryOperation(data: $data) {\n operationId\n }\n }\n": types.StartOrderEntryOperationMutationDocument,
|
|
94
|
+
"\n query OrderEntryOperationQuery($operationId: String!) {\n orderEntryOperation(operationId: $operationId) {\n status\n entityId\n message\n missingItems {\n itemId\n itemName\n reason\n }\n }\n }\n": types.OrderEntryOperationQueryDocument,
|
|
95
|
+
"\n mutation UploadFileToOrderEntryMutation($data: IOrderEntryUpload!) {\n uploadFileToOrderEntry(data: $data) {\n objectKey\n }\n }\n": types.UploadFileToOrderEntryMutationDocument,
|
|
96
|
+
"\n query OrderFormItemsQuery($orderFormId: String!) {\n orderFormItems(orderFormId: $orderFormId) {\n id\n name\n price\n listPrice\n quantity\n imageUrl\n availability\n seller\n unitMultiplier\n }\n }\n": types.OrderFormItemsQueryDocument,
|
|
89
97
|
"\n query ClientProductCountQuery($term: String) {\n productCount(term: $term) {\n total\n }\n }\n": types.ClientProductCountQueryDocument,
|
|
90
98
|
"\n query ClientAllVariantProductsQuery($locator: [IStoreSelectedFacet!]!) {\n product(locator: $locator) {\n ...ProductSKUMatrixSidebarFragment_product\n }\n }\n": types.ClientAllVariantProductsQueryDocument,
|
|
91
|
-
"\n query ClientProductQuery($locator: [IStoreSelectedFacet!]!) {\n ...ClientProduct\n product(locator: $locator) {\n ...ProductDetailsFragment_product\n }\n }\n": types.ClientProductQueryDocument,
|
|
92
99
|
"\n query ClientManyProductsQueryWithSearchId(\n $first: Int!\n $after: String\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n $sponsoredCount: Int\n ) {\n ...ClientManyProducts\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n sponsoredCount: $sponsoredCount\n ) {\n products {\n pageInfo {\n totalCount\n }\n edges {\n node {\n ...ProductSummary_product\n }\n }\n }\n searchId\n }\n }\n": types.ClientManyProductsQueryWithSearchIdDocument,
|
|
93
100
|
"\n query ClientProductGalleryQuery(\n $first: Int!\n $after: String!\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n ) {\n ...ClientProductGallery\n redirect(term: $term, selectedFacets: $selectedFacets) {\n url\n }\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n ) {\n products {\n pageInfo {\n totalCount\n }\n }\n facets {\n ...Filter_facets\n }\n metadata {\n ...SearchEvent_metadata\n }\n }\n }\n\n fragment SearchEvent_metadata on SearchMetadata {\n isTermMisspelled\n logicalOperator\n fuzzy\n }\n": types.ClientProductGalleryQueryDocument,
|
|
101
|
+
"\n query ClientProductQuery($locator: [IStoreSelectedFacet!]!) {\n ...ClientProduct\n product(locator: $locator) {\n ...ProductDetailsFragment_product\n }\n }\n": types.ClientProductQueryDocument,
|
|
94
102
|
"\n query ClientManyProductsQuery(\n $first: Int!\n $after: String\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n $sponsoredCount: Int\n ) {\n ...ClientManyProducts\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n sponsoredCount: $sponsoredCount\n ) {\n products {\n pageInfo {\n totalCount\n }\n edges {\n node {\n ...ProductSummary_product\n }\n }\n }\n }\n }\n": types.ClientManyProductsQueryDocument,
|
|
95
103
|
"\n query ClientManyProductsSelectedQuery(\n $productIds: [String!]!\n ) {\n products(productIds: $productIds) {\n ...ProductComparisonFragment_product\n }\n }\n": types.ClientManyProductsSelectedQueryDocument,
|
|
96
104
|
"\n query ClientProfileQuery($id: String!) {\n profile(id: $id) {\n addresses {\n country\n postalCode\n geoCoordinate\n city\n }\n }\n }\n": types.ClientProfileQueryDocument,
|
|
@@ -216,15 +224,27 @@ export function gql(source: "\n mutation SubscribeToNewsletter($data: IPersonNe
|
|
|
216
224
|
/**
|
|
217
225
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
218
226
|
*/
|
|
219
|
-
export function gql(source: "\n
|
|
227
|
+
export function gql(source: "\n mutation StartOrderEntryOperationMutation($data: IOrderEntryOperation!) {\n startOrderEntryOperation(data: $data) {\n operationId\n }\n }\n"): typeof import('./graphql').StartOrderEntryOperationMutationDocument;
|
|
220
228
|
/**
|
|
221
229
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
222
230
|
*/
|
|
223
|
-
export function gql(source: "\n query
|
|
231
|
+
export function gql(source: "\n query OrderEntryOperationQuery($operationId: String!) {\n orderEntryOperation(operationId: $operationId) {\n status\n entityId\n message\n missingItems {\n itemId\n itemName\n reason\n }\n }\n }\n"): typeof import('./graphql').OrderEntryOperationQueryDocument;
|
|
224
232
|
/**
|
|
225
233
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
226
234
|
*/
|
|
227
|
-
export function gql(source: "\n
|
|
235
|
+
export function gql(source: "\n mutation UploadFileToOrderEntryMutation($data: IOrderEntryUpload!) {\n uploadFileToOrderEntry(data: $data) {\n objectKey\n }\n }\n"): typeof import('./graphql').UploadFileToOrderEntryMutationDocument;
|
|
236
|
+
/**
|
|
237
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
238
|
+
*/
|
|
239
|
+
export function gql(source: "\n query OrderFormItemsQuery($orderFormId: String!) {\n orderFormItems(orderFormId: $orderFormId) {\n id\n name\n price\n listPrice\n quantity\n imageUrl\n availability\n seller\n unitMultiplier\n }\n }\n"): typeof import('./graphql').OrderFormItemsQueryDocument;
|
|
240
|
+
/**
|
|
241
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
242
|
+
*/
|
|
243
|
+
export function gql(source: "\n query ClientProductCountQuery($term: String) {\n productCount(term: $term) {\n total\n }\n }\n"): typeof import('./graphql').ClientProductCountQueryDocument;
|
|
244
|
+
/**
|
|
245
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
246
|
+
*/
|
|
247
|
+
export function gql(source: "\n query ClientAllVariantProductsQuery($locator: [IStoreSelectedFacet!]!) {\n product(locator: $locator) {\n ...ProductSKUMatrixSidebarFragment_product\n }\n }\n"): typeof import('./graphql').ClientAllVariantProductsQueryDocument;
|
|
228
248
|
/**
|
|
229
249
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
230
250
|
*/
|
|
@@ -233,6 +253,10 @@ export function gql(source: "\n query ClientManyProductsQueryWithSearchId(\n
|
|
|
233
253
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
234
254
|
*/
|
|
235
255
|
export function gql(source: "\n query ClientProductGalleryQuery(\n $first: Int!\n $after: String!\n $sort: StoreSort!\n $term: String!\n $selectedFacets: [IStoreSelectedFacet!]!\n ) {\n ...ClientProductGallery\n redirect(term: $term, selectedFacets: $selectedFacets) {\n url\n }\n search(\n first: $first\n after: $after\n sort: $sort\n term: $term\n selectedFacets: $selectedFacets\n ) {\n products {\n pageInfo {\n totalCount\n }\n }\n facets {\n ...Filter_facets\n }\n metadata {\n ...SearchEvent_metadata\n }\n }\n }\n\n fragment SearchEvent_metadata on SearchMetadata {\n isTermMisspelled\n logicalOperator\n fuzzy\n }\n"): typeof import('./graphql').ClientProductGalleryQueryDocument;
|
|
256
|
+
/**
|
|
257
|
+
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
258
|
+
*/
|
|
259
|
+
export function gql(source: "\n query ClientProductQuery($locator: [IStoreSelectedFacet!]!) {\n ...ClientProduct\n product(locator: $locator) {\n ...ProductDetailsFragment_product\n }\n }\n"): typeof import('./graphql').ClientProductQueryDocument;
|
|
236
260
|
/**
|
|
237
261
|
* The gql function is used to parse GraphQL queries into a document that can be used by GraphQL clients.
|
|
238
262
|
*/
|
package/@generated/graphql.ts
CHANGED
|
@@ -356,6 +356,26 @@ export type IGeoCoordinates = {
|
|
|
356
356
|
longitude: Scalars['Float']['input'];
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
+
export type IOrderEntryOperation = {
|
|
360
|
+
objectKey: Scalars['String']['input'];
|
|
361
|
+
orderFormId: InputMaybe<Scalars['String']['input']>;
|
|
362
|
+
sessionToken: InputMaybe<Scalars['String']['input']>;
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
* Input for uploading a file to the Order Entry Service.
|
|
367
|
+
* The file is transmitted as a Base64-encoded string so it can travel
|
|
368
|
+
* through the standard GraphQL JSON pipeline without multipart support.
|
|
369
|
+
*/
|
|
370
|
+
export type IOrderEntryUpload = {
|
|
371
|
+
/** Base64-encoded file content. */
|
|
372
|
+
fileContent: Scalars['String']['input'];
|
|
373
|
+
/** Original file name (e.g. "order.csv"). */
|
|
374
|
+
fileName: Scalars['String']['input'];
|
|
375
|
+
/** MIME type of the file (e.g. "text/csv", "image/png"). */
|
|
376
|
+
mimeType: Scalars['String']['input'];
|
|
377
|
+
};
|
|
378
|
+
|
|
359
379
|
/** Person data input to the newsletter. */
|
|
360
380
|
export type IPersonNewsletter = {
|
|
361
381
|
/** Person's email. */
|
|
@@ -646,8 +666,19 @@ export type Mutation = {
|
|
|
646
666
|
cancelOrder: Maybe<UserOrderCancel>;
|
|
647
667
|
/** Process Order Authorization */
|
|
648
668
|
processOrderAuthorization: Maybe<ProcessOrderAuthorizationResponse>;
|
|
669
|
+
/**
|
|
670
|
+
* Submits an uploaded file for bulk import into a VTEX cart via the Order Entry Service.
|
|
671
|
+
* Returns an operationId to poll for the operation status.
|
|
672
|
+
*/
|
|
673
|
+
startOrderEntryOperation: Maybe<StoreOrderEntryOperationResult>;
|
|
649
674
|
/** Subscribes a new person to the newsletter list. */
|
|
650
675
|
subscribeToNewsletter: Maybe<PersonNewsletter>;
|
|
676
|
+
/**
|
|
677
|
+
* Uploads a file to the Order Entry Service and returns the S3 object key.
|
|
678
|
+
* The file must be Base64-encoded and passed via the `data` input.
|
|
679
|
+
* The returned `objectKey` is required to start an order entry operation.
|
|
680
|
+
*/
|
|
681
|
+
uploadFileToOrderEntry: Maybe<StoreOrderEntryUploadResult>;
|
|
651
682
|
/** 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`. */
|
|
652
683
|
validateCart: Maybe<StoreCart>;
|
|
653
684
|
/** Updates a web session with the specified values. */
|
|
@@ -665,11 +696,21 @@ export type MutationProcessOrderAuthorizationArgs = {
|
|
|
665
696
|
};
|
|
666
697
|
|
|
667
698
|
|
|
699
|
+
export type MutationStartOrderEntryOperationArgs = {
|
|
700
|
+
data: IOrderEntryOperation;
|
|
701
|
+
};
|
|
702
|
+
|
|
703
|
+
|
|
668
704
|
export type MutationSubscribeToNewsletterArgs = {
|
|
669
705
|
data: IPersonNewsletter;
|
|
670
706
|
};
|
|
671
707
|
|
|
672
708
|
|
|
709
|
+
export type MutationUploadFileToOrderEntryArgs = {
|
|
710
|
+
data: IOrderEntryUpload;
|
|
711
|
+
};
|
|
712
|
+
|
|
713
|
+
|
|
673
714
|
export type MutationValidateCartArgs = {
|
|
674
715
|
cart: IStoreCart;
|
|
675
716
|
session: InputMaybe<IStoreSession>;
|
|
@@ -834,6 +875,10 @@ export type Query = {
|
|
|
834
875
|
collection: StoreCollection;
|
|
835
876
|
/** Returns the list of Orders that the User can view. */
|
|
836
877
|
listUserOrders: Maybe<UserOrderListMinimalResult>;
|
|
878
|
+
/** Returns the status of an Order Entry Service operation by its ID. */
|
|
879
|
+
orderEntryOperation: Maybe<StoreOrderEntryOperationStatus>;
|
|
880
|
+
/** Returns the items in an orderForm by its ID. */
|
|
881
|
+
orderFormItems: Array<StoreOrderFormCartItem>;
|
|
837
882
|
/** Returns a list of pickup points near to the given geo coordinates. */
|
|
838
883
|
pickupPoints: Maybe<PickupPoints>;
|
|
839
884
|
/** Returns the details of a product based on the specified locator. */
|
|
@@ -890,6 +935,16 @@ export type QueryListUserOrdersArgs = {
|
|
|
890
935
|
};
|
|
891
936
|
|
|
892
937
|
|
|
938
|
+
export type QueryOrderEntryOperationArgs = {
|
|
939
|
+
operationId: Scalars['String']['input'];
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
export type QueryOrderFormItemsArgs = {
|
|
944
|
+
orderFormId: Scalars['String']['input'];
|
|
945
|
+
};
|
|
946
|
+
|
|
947
|
+
|
|
893
948
|
export type QueryPickupPointsArgs = {
|
|
894
949
|
geoCoordinates: InputMaybe<IStoreGeoCoordinates>;
|
|
895
950
|
};
|
|
@@ -1393,6 +1448,40 @@ export type StoreOrder = {
|
|
|
1393
1448
|
shouldSplitItem: Maybe<Scalars['Boolean']['output']>;
|
|
1394
1449
|
};
|
|
1395
1450
|
|
|
1451
|
+
export type StoreOrderEntryMissingItem = {
|
|
1452
|
+
itemId: Scalars['String']['output'];
|
|
1453
|
+
itemName: Maybe<Scalars['String']['output']>;
|
|
1454
|
+
reason: Scalars['String']['output'];
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
export type StoreOrderEntryOperationResult = {
|
|
1458
|
+
operationId: Scalars['String']['output'];
|
|
1459
|
+
};
|
|
1460
|
+
|
|
1461
|
+
export type StoreOrderEntryOperationStatus = {
|
|
1462
|
+
entityId: Maybe<Scalars['String']['output']>;
|
|
1463
|
+
message: Maybe<Scalars['String']['output']>;
|
|
1464
|
+
missingItems: Maybe<Array<StoreOrderEntryMissingItem>>;
|
|
1465
|
+
status: Scalars['String']['output'];
|
|
1466
|
+
};
|
|
1467
|
+
|
|
1468
|
+
/** Result returned after uploading a file to the Order Entry Service. */
|
|
1469
|
+
export type StoreOrderEntryUploadResult = {
|
|
1470
|
+
objectKey: Scalars['String']['output'];
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
export type StoreOrderFormCartItem = {
|
|
1474
|
+
availability: Scalars['String']['output'];
|
|
1475
|
+
id: Scalars['String']['output'];
|
|
1476
|
+
imageUrl: Maybe<Scalars['String']['output']>;
|
|
1477
|
+
listPrice: Scalars['Int']['output'];
|
|
1478
|
+
name: Scalars['String']['output'];
|
|
1479
|
+
price: Scalars['Int']['output'];
|
|
1480
|
+
quantity: Scalars['Int']['output'];
|
|
1481
|
+
seller: Scalars['String']['output'];
|
|
1482
|
+
unitMultiplier: Maybe<Scalars['Float']['output']>;
|
|
1483
|
+
};
|
|
1484
|
+
|
|
1396
1485
|
/** Organization. */
|
|
1397
1486
|
export type StoreOrganization = {
|
|
1398
1487
|
/** Organization ID. */
|
|
@@ -2613,6 +2702,34 @@ export type SubscribeToNewsletterMutationVariables = Exact<{
|
|
|
2613
2702
|
|
|
2614
2703
|
export type SubscribeToNewsletterMutation = { subscribeToNewsletter: { id: string } | null };
|
|
2615
2704
|
|
|
2705
|
+
export type StartOrderEntryOperationMutationMutationVariables = Exact<{
|
|
2706
|
+
data: IOrderEntryOperation;
|
|
2707
|
+
}>;
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
export type StartOrderEntryOperationMutationMutation = { startOrderEntryOperation: { operationId: string } | null };
|
|
2711
|
+
|
|
2712
|
+
export type OrderEntryOperationQueryQueryVariables = Exact<{
|
|
2713
|
+
operationId: Scalars['String']['input'];
|
|
2714
|
+
}>;
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
export type OrderEntryOperationQueryQuery = { orderEntryOperation: { status: string, entityId: string | null, message: string | null, missingItems: Array<{ itemId: string, itemName: string | null, reason: string }> | null } | null };
|
|
2718
|
+
|
|
2719
|
+
export type UploadFileToOrderEntryMutationMutationVariables = Exact<{
|
|
2720
|
+
data: IOrderEntryUpload;
|
|
2721
|
+
}>;
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
export type UploadFileToOrderEntryMutationMutation = { uploadFileToOrderEntry: { objectKey: string } | null };
|
|
2725
|
+
|
|
2726
|
+
export type OrderFormItemsQueryQueryVariables = Exact<{
|
|
2727
|
+
orderFormId: Scalars['String']['input'];
|
|
2728
|
+
}>;
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
export type OrderFormItemsQueryQuery = { orderFormItems: Array<{ id: string, name: string, price: number, listPrice: number, quantity: number, imageUrl: string | null, availability: string, seller: string, unitMultiplier: number | null }> };
|
|
2732
|
+
|
|
2616
2733
|
export type ClientProductCountQueryQueryVariables = Exact<{
|
|
2617
2734
|
term: InputMaybe<Scalars['String']['input']>;
|
|
2618
2735
|
}>;
|
|
@@ -2627,13 +2744,6 @@ export type ClientAllVariantProductsQueryQueryVariables = Exact<{
|
|
|
2627
2744
|
|
|
2628
2745
|
export type ClientAllVariantProductsQueryQuery = { product: { id: string, isVariantOf: { name: string, productGroupID: string, skuVariants: { activeVariations: any | null, slugsMap: any | null, availableVariations: any | null, allVariantProducts: Array<{ sku: string, name: string, image: Array<{ url: string, alternateName: string }>, offers: { highPrice: number, lowPrice: number, lowPriceWithTaxes: number, offerCount: number, priceCurrency: string, offers: Array<{ listPrice: number, listPriceWithTaxes: number, sellingPrice: number, priceCurrency: string, price: number, priceWithTaxes: number, priceValidUntil: string, itemCondition: string, availability: string, quantity: number }> }, additionalProperty: Array<{ propertyID: string, value: any, name: string, valueReference: any }> }> | null } | null } } };
|
|
2629
2746
|
|
|
2630
|
-
export type ClientProductQueryQueryVariables = Exact<{
|
|
2631
|
-
locator: Array<IStoreSelectedFacet> | IStoreSelectedFacet;
|
|
2632
|
-
}>;
|
|
2633
|
-
|
|
2634
|
-
|
|
2635
|
-
export type ClientProductQueryQuery = { product: { sku: string, name: string, gtin: string, description: string, unitMultiplier: number | null, id: string, isVariantOf: { name: string, productGroupID: string, skuVariants: { activeVariations: any | null, slugsMap: any | null, availableVariations: any | null, allVariantProducts: Array<{ name: string, productID: string }> | null } | null }, image: Array<{ url: string, alternateName: string }>, brand: { name: string }, offers: { lowPrice: number, lowPriceWithTaxes: number, offers: Array<{ availability: string, price: number, priceWithTaxes: number, listPrice: number, listPriceWithTaxes: number, quantity: number, seller: { identifier: string } }> }, additionalProperty: Array<{ propertyID: string, name: string, value: any, valueReference: any }> } };
|
|
2636
|
-
|
|
2637
2747
|
export type ClientManyProductsQueryWithSearchIdQueryVariables = Exact<{
|
|
2638
2748
|
first: Scalars['Int']['input'];
|
|
2639
2749
|
after: InputMaybe<Scalars['String']['input']>;
|
|
@@ -2662,6 +2772,13 @@ export type ClientProductGalleryQueryQuery = { redirect: { url: string | null }
|
|
|
2662
2772
|
|
|
2663
2773
|
export type SearchEvent_MetadataFragment = { isTermMisspelled: boolean, logicalOperator: string, fuzzy: string | null };
|
|
2664
2774
|
|
|
2775
|
+
export type ClientProductQueryQueryVariables = Exact<{
|
|
2776
|
+
locator: Array<IStoreSelectedFacet> | IStoreSelectedFacet;
|
|
2777
|
+
}>;
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
export type ClientProductQueryQuery = { product: { sku: string, name: string, gtin: string, description: string, unitMultiplier: number | null, id: string, isVariantOf: { name: string, productGroupID: string, skuVariants: { activeVariations: any | null, slugsMap: any | null, availableVariations: any | null, allVariantProducts: Array<{ name: string, productID: string }> | null } | null }, image: Array<{ url: string, alternateName: string }>, brand: { name: string }, offers: { lowPrice: number, lowPriceWithTaxes: number, offers: Array<{ availability: string, price: number, priceWithTaxes: number, listPrice: number, listPriceWithTaxes: number, quantity: number, seller: { identifier: string } }> }, additionalProperty: Array<{ propertyID: string, name: string, value: any, valueReference: any }> } };
|
|
2781
|
+
|
|
2665
2782
|
export type ClientManyProductsQueryQueryVariables = Exact<{
|
|
2666
2783
|
first: Scalars['Int']['input'];
|
|
2667
2784
|
after: InputMaybe<Scalars['String']['input']>;
|
|
@@ -3258,11 +3375,15 @@ export const ValidateUserDocument = {"__meta__":{"operationName":"ValidateUser",
|
|
|
3258
3375
|
export const ValidateCartMutationDocument = {"__meta__":{"operationName":"ValidateCartMutation","operationHash":"32c15f8888ca34f223def7972b7f19090808435a"}} as unknown as TypedDocumentString<ValidateCartMutationMutation, ValidateCartMutationMutationVariables>;
|
|
3259
3376
|
export const ClientPickupPointsQueryDocument = {"__meta__":{"operationName":"ClientPickupPointsQuery","operationHash":"3fa04e88c811fcb5ece7206fd5aa745bdbc143a8"}} as unknown as TypedDocumentString<ClientPickupPointsQueryQuery, ClientPickupPointsQueryQueryVariables>;
|
|
3260
3377
|
export const SubscribeToNewsletterDocument = {"__meta__":{"operationName":"SubscribeToNewsletter","operationHash":"feb7005103a859e2bc8cf2360d568806fd88deba"}} as unknown as TypedDocumentString<SubscribeToNewsletterMutation, SubscribeToNewsletterMutationVariables>;
|
|
3378
|
+
export const StartOrderEntryOperationMutationDocument = {"__meta__":{"operationName":"StartOrderEntryOperationMutation","operationHash":"78c50fbf9b85d03dbeac9b05b06405217f2ec440"}} as unknown as TypedDocumentString<StartOrderEntryOperationMutationMutation, StartOrderEntryOperationMutationMutationVariables>;
|
|
3379
|
+
export const OrderEntryOperationQueryDocument = {"__meta__":{"operationName":"OrderEntryOperationQuery","operationHash":"93fc6c5c593dd4c82686fdf063fe419760297e54"}} as unknown as TypedDocumentString<OrderEntryOperationQueryQuery, OrderEntryOperationQueryQueryVariables>;
|
|
3380
|
+
export const UploadFileToOrderEntryMutationDocument = {"__meta__":{"operationName":"UploadFileToOrderEntryMutation","operationHash":"fdf0f46d99da60e78dc0095928f2262440fd7c15"}} as unknown as TypedDocumentString<UploadFileToOrderEntryMutationMutation, UploadFileToOrderEntryMutationMutationVariables>;
|
|
3381
|
+
export const OrderFormItemsQueryDocument = {"__meta__":{"operationName":"OrderFormItemsQuery","operationHash":"f79941638f18e16cce62e936fcf055b1f995d7cf"}} as unknown as TypedDocumentString<OrderFormItemsQueryQuery, OrderFormItemsQueryQueryVariables>;
|
|
3261
3382
|
export const ClientProductCountQueryDocument = {"__meta__":{"operationName":"ClientProductCountQuery","operationHash":"dc912e7272e3d9f5ced206837df87f544d39d0a5"}} as unknown as TypedDocumentString<ClientProductCountQueryQuery, ClientProductCountQueryQueryVariables>;
|
|
3262
3383
|
export const ClientAllVariantProductsQueryDocument = {"__meta__":{"operationName":"ClientAllVariantProductsQuery","operationHash":"4039e05f01a2fe449e20e8b82170d0ba94b1fbe9"}} as unknown as TypedDocumentString<ClientAllVariantProductsQueryQuery, ClientAllVariantProductsQueryQueryVariables>;
|
|
3263
|
-
export const ClientProductQueryDocument = {"__meta__":{"operationName":"ClientProductQuery","operationHash":"3d65d8f0d279557542be9a361cb3ceb2008bad45"}} as unknown as TypedDocumentString<ClientProductQueryQuery, ClientProductQueryQueryVariables>;
|
|
3264
3384
|
export const ClientManyProductsQueryWithSearchIdDocument = {"__meta__":{"operationName":"ClientManyProductsQueryWithSearchId","operationHash":"23be1e1fcaf0bd2719a9324272c891c922045180"}} as unknown as TypedDocumentString<ClientManyProductsQueryWithSearchIdQuery, ClientManyProductsQueryWithSearchIdQueryVariables>;
|
|
3265
3385
|
export const ClientProductGalleryQueryDocument = {"__meta__":{"operationName":"ClientProductGalleryQuery","operationHash":"bfc40da32b60f9404a4adb96b0856e3fbb04b076"}} as unknown as TypedDocumentString<ClientProductGalleryQueryQuery, ClientProductGalleryQueryQueryVariables>;
|
|
3386
|
+
export const ClientProductQueryDocument = {"__meta__":{"operationName":"ClientProductQuery","operationHash":"3d65d8f0d279557542be9a361cb3ceb2008bad45"}} as unknown as TypedDocumentString<ClientProductQueryQuery, ClientProductQueryQueryVariables>;
|
|
3266
3387
|
export const ClientManyProductsQueryDocument = {"__meta__":{"operationName":"ClientManyProductsQuery","operationHash":"e49027bc29aa10cbf7bbb0ed62239af8de1653f0"}} as unknown as TypedDocumentString<ClientManyProductsQueryQuery, ClientManyProductsQueryQueryVariables>;
|
|
3267
3388
|
export const ClientManyProductsSelectedQueryDocument = {"__meta__":{"operationName":"ClientManyProductsSelectedQuery","operationHash":"b668777678c137b8c7004297df4d8b8f2b29ee06"}} as unknown as TypedDocumentString<ClientManyProductsSelectedQueryQuery, ClientManyProductsSelectedQueryQueryVariables>;
|
|
3268
3389
|
export const ClientProfileQueryDocument = {"__meta__":{"operationName":"ClientProfileQuery","operationHash":"34ea14c0d4a57ddf9bc11e4be0cd2b5a6506d3d4"}} as unknown as TypedDocumentString<ClientProfileQueryQuery, ClientProfileQueryQueryVariables>;
|
|
@@ -13,11 +13,15 @@
|
|
|
13
13
|
"32c15f8888ca34f223def7972b7f19090808435a": "fragment CartItem on StoreOffer { isGift itemOffered { ...CartProductItem } listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } fragment CartMessage on StoreCartMessage { status text } fragment CartProductItem on StoreProduct { additionalProperty { name propertyID value valueReference } brand { name } gtin image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations availableVariations slugsMap } } name sku unitMultiplier } mutation ValidateCartMutation($cart: IStoreCart!, $session: IStoreSession!) { validateCart(cart: $cart, session: $session) { messages { ...CartMessage } order { acceptedOffer { ...CartItem } orderNumber shouldSplitItem } } }",
|
|
14
14
|
"3fa04e88c811fcb5ece7206fd5aa745bdbc143a8": "query ClientPickupPointsQuery($geoCoordinates: IStoreGeoCoordinates) { pickupPoints(geoCoordinates: $geoCoordinates) { pickupPointDistances { address { city number postalCode state street } distance isActive pickupId pickupName } } }",
|
|
15
15
|
"feb7005103a859e2bc8cf2360d568806fd88deba": "mutation SubscribeToNewsletter($data: IPersonNewsletter!) { subscribeToNewsletter(data: $data) { id } }",
|
|
16
|
+
"78c50fbf9b85d03dbeac9b05b06405217f2ec440": "mutation StartOrderEntryOperationMutation($data: IOrderEntryOperation!) { startOrderEntryOperation(data: $data) { operationId } }",
|
|
17
|
+
"93fc6c5c593dd4c82686fdf063fe419760297e54": "query OrderEntryOperationQuery($operationId: String!) { orderEntryOperation(operationId: $operationId) { entityId message missingItems { itemId itemName reason } status } }",
|
|
18
|
+
"fdf0f46d99da60e78dc0095928f2262440fd7c15": "mutation UploadFileToOrderEntryMutation($data: IOrderEntryUpload!) { uploadFileToOrderEntry(data: $data) { objectKey } }",
|
|
19
|
+
"f79941638f18e16cce62e936fcf055b1f995d7cf": "query OrderFormItemsQuery($orderFormId: String!) { orderFormItems(orderFormId: $orderFormId) { availability id imageUrl listPrice name price quantity seller unitMultiplier } }",
|
|
16
20
|
"dc912e7272e3d9f5ced206837df87f544d39d0a5": "query ClientProductCountQuery($term: String) { productCount(term: $term) { total } }",
|
|
17
21
|
"4039e05f01a2fe449e20e8b82170d0ba94b1fbe9": "fragment ProductSKUMatrixSidebarFragment_product on StoreProduct { isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { additionalProperty { name propertyID value valueReference } image { alternateName url } name offers { highPrice lowPrice lowPriceWithTaxes offerCount offers { availability itemCondition listPrice listPriceWithTaxes price priceCurrency priceValidUntil priceWithTaxes quantity sellingPrice } priceCurrency } sku } availableVariations slugsMap } } id: productID } query ClientAllVariantProductsQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { ...ProductSKUMatrixSidebarFragment_product } }",
|
|
18
|
-
"3d65d8f0d279557542be9a361cb3ceb2008bad45": "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 ClientProduct on Query { product(locator: $locator) { id: productID } } 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 quantity seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } query ClientProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { ...ProductDetailsFragment_product } ...ClientProduct }",
|
|
19
22
|
"23be1e1fcaf0bd2719a9324272c891c922045180": "fragment ClientManyProducts on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { products { pageInfo { totalCount } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { brandName: name } brand { name } deliveryPromiseBadges { typeName } gtin hasSpecifications image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantsByName availableVariations slugsMap } } isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { name productID } availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku slug unitMultiplier unitMultiplier } query ClientManyProductsQueryWithSearchId($after: String, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $sponsoredCount: Int, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { products { edges { node { ...ProductSummary_product } } pageInfo { totalCount } } searchId } ...ClientManyProducts }",
|
|
20
23
|
"bfc40da32b60f9404a4adb96b0856e3fbb04b076": "fragment ClientProductGallery on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { products { pageInfo { totalCount } } } } fragment Filter_facets on StoreFacet { ... on StoreFacetBoolean { __typename key label values { label quantity selected value } } ... on StoreFacetRange { __typename key label max { absolute selected } min { absolute selected } } } fragment SearchEvent_metadata on SearchMetadata { fuzzy isTermMisspelled logicalOperator } query ClientProductGalleryQuery($after: String!, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $term: String!) { redirect(term: $term, selectedFacets: $selectedFacets) { url } search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets ) { facets { ...Filter_facets } metadata { ...SearchEvent_metadata } products { pageInfo { totalCount } } } ...ClientProductGallery }",
|
|
24
|
+
"3d65d8f0d279557542be9a361cb3ceb2008bad45": "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 ClientProduct on Query { product(locator: $locator) { id: productID } } 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 quantity seller { identifier } } } id: productID sku unitMultiplier ...CartProductItem } query ClientProductQuery($locator: [IStoreSelectedFacet!]!) { product(locator: $locator) { ...ProductDetailsFragment_product } ...ClientProduct }",
|
|
21
25
|
"e49027bc29aa10cbf7bbb0ed62239af8de1653f0": "fragment ClientManyProducts on Query { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { products { pageInfo { totalCount } } } } fragment ProductSummary_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { brandName: name } brand { name } deliveryPromiseBadges { typeName } gtin hasSpecifications image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantsByName availableVariations slugsMap } } isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { name productID } availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku slug unitMultiplier unitMultiplier } query ClientManyProductsQuery($after: String, $first: Int!, $selectedFacets: [IStoreSelectedFacet!]!, $sort: StoreSort!, $sponsoredCount: Int, $term: String!) { search( first: $first after: $after sort: $sort term: $term selectedFacets: $selectedFacets sponsoredCount: $sponsoredCount ) { products { edges { node { ...ProductSummary_product } } pageInfo { totalCount } } } ...ClientManyProducts }",
|
|
22
26
|
"b668777678c137b8c7004297df4d8b8f2b29ee06": "fragment ProductComparisonFragment_product on StoreProduct { additionalProperty { name propertyID value valueReference } advertisement { adId adResponseId } brand { name } description gtin hasSpecifications image { alternateName url } isVariantOf { name productGroupID skuVariants { activeVariations allVariantProducts { name productID } availableVariations slugsMap } } name offers { lowPrice lowPriceWithTaxes offers { availability listPrice listPriceWithTaxes price priceWithTaxes quantity seller { identifier } } } id: productID sku skuSpecifications { field { id name originalName } values { fieldId id name originalName } } slug specificationGroups { name originalName specifications { name originalName values } } unitMultiplier } query ClientManyProductsSelectedQuery($productIds: [String!]!) { products(productIds: $productIds) { ...ProductComparisonFragment_product } }",
|
|
23
27
|
"34ea14c0d4a57ddf9bc11e4be0cd2b5a6506d3d4": "query ClientProfileQuery($id: String!) { profile(id: $id) { addresses { city country geoCoordinate postalCode } } }",
|