@faststore/core 2.2.78 → 3.0.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/.babelrc.js +12 -0
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +89 -89
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/eslint/.cache_1gneedd +1 -1
- 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/images-manifest.json +1 -1
- package/.next/next-minimal-server.js.nft.json +1 -0
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.js +1 -0
- package/.next/prerender-manifest.json +1 -1
- package/.next/react-loadable-manifest.json +17 -17
- package/.next/required-server-files.json +1 -1
- package/.next/routes-manifest.json +1 -1
- package/.next/server/chunks/119.js +1 -0
- package/.next/server/chunks/12.js +1 -0
- package/.next/server/chunks/187.js +1 -0
- package/.next/server/chunks/202.js +1 -0
- package/.next/server/chunks/24.js +1 -0
- package/.next/server/chunks/242.js +1 -0
- package/.next/server/chunks/247.js +1 -0
- package/.next/server/chunks/344.js +1 -0
- package/.next/server/chunks/404.js +1 -434
- package/.next/server/chunks/414.js +1 -0
- package/.next/server/chunks/484.js +1 -0
- package/.next/server/chunks/493.js +1 -0
- package/.next/server/chunks/498.js +1 -0
- package/.next/server/chunks/540.js +1 -0
- package/.next/server/chunks/57.js +1 -434
- package/.next/server/chunks/624.js +1 -0
- package/.next/server/chunks/640.js +6 -0
- package/.next/server/chunks/646.js +279 -0
- package/.next/server/chunks/659.js +9 -0
- package/.next/server/chunks/679.js +1 -0
- package/.next/server/chunks/693.js +1 -58
- package/.next/server/chunks/694.js +1 -0
- package/.next/server/chunks/779.js +1 -58
- package/.next/server/chunks/82.js +8 -0
- package/.next/server/chunks/857.js +1 -0
- package/.next/server/chunks/859.js +4 -957
- package/.next/server/chunks/881.js +1 -0
- package/.next/server/chunks/917.js +1 -0
- package/.next/server/chunks/936.js +1 -0
- package/.next/server/chunks/96.js +1 -0
- package/.next/server/chunks/997.js +1 -0
- package/.next/server/functions-config-manifest.json +1 -0
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +1 -0
- package/.next/server/pages/404.js +1 -391
- package/.next/server/pages/404.js.nft.json +1 -1
- package/.next/server/pages/500.js +1 -395
- package/.next/server/pages/500.js.nft.json +1 -1
- package/.next/server/pages/[...slug].js +1 -1071
- package/.next/server/pages/[...slug].js.nft.json +1 -1
- package/.next/server/pages/[slug]/p.js +1 -2315
- package/.next/server/pages/[slug]/p.js.nft.json +1 -1
- package/.next/server/pages/_app.js +1 -301
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +1 -363
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +1 -164
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages/account.js +1 -370
- package/.next/server/pages/account.js.nft.json +1 -1
- package/.next/server/pages/api/graphql.js +1 -3085
- package/.next/server/pages/api/graphql.js.nft.json +1 -1
- package/.next/server/pages/api/health/live.js +1 -31
- package/.next/server/pages/api/health/live.js.nft.json +1 -1
- package/.next/server/pages/api/health/ready.js +1 -31
- package/.next/server/pages/api/health/ready.js.nft.json +1 -1
- package/.next/server/pages/api/preview.js +1 -137
- package/.next/server/pages/api/preview.js.nft.json +1 -1
- package/.next/server/pages/checkout.js +1 -370
- package/.next/server/pages/checkout.js.nft.json +1 -1
- package/.next/server/pages/en-US/404.html +2 -2
- package/.next/server/pages/en-US/404.json +1 -1
- package/.next/server/pages/en-US/500.html +2 -2
- package/.next/server/pages/en-US/500.json +1 -1
- package/.next/server/pages/en-US/account.html +2 -2
- package/.next/server/pages/en-US/checkout.html +2 -2
- package/.next/server/pages/en-US/login.html +2 -2
- package/.next/server/pages/en-US/login.json +1 -1
- package/.next/server/pages/en-US/s.html +2 -2
- package/.next/server/pages/en-US.html +4 -4
- package/.next/server/pages/en-US.json +1 -1
- package/.next/server/pages/index.js +1 -439
- package/.next/server/pages/index.js.nft.json +1 -1
- package/.next/server/pages/login.js +1 -382
- package/.next/server/pages/login.js.nft.json +1 -1
- package/.next/server/pages/s.js +1 -554
- package/.next/server/pages/s.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +1 -18
- package/.next/server/webpack-api-runtime.js +1 -229
- package/.next/server/webpack-runtime.js +1 -229
- package/.next/static/Xf_-r26LvSZnfqjpm_a71/_buildManifest.js +1 -0
- package/.next/static/chunks/104-d42a7ff6c8b8dd89.js +1 -0
- package/.next/static/chunks/161-b39fe2f79ff7bc85.js +1 -0
- package/.next/static/chunks/202.c7d8a71173edecfb.js +1 -0
- package/.next/static/chunks/217.01bc0ad07edd6f1b.js +1 -0
- package/.next/static/chunks/247.52b3924429a474c6.js +1 -0
- package/.next/static/chunks/484.b82b73b1d8c37e02.js +1 -0
- package/.next/static/chunks/540.6c62d2536d42a1e0.js +1 -0
- package/.next/static/chunks/575-853fb8b1ba4ce8c4.js +14 -0
- package/.next/static/chunks/624.d3de62b4562a33f3.js +1 -0
- package/.next/static/chunks/629-b7b5ef6f15ecba9d.js +1 -0
- package/.next/static/chunks/65.da22595d53beae76.js +1 -0
- package/.next/static/chunks/758.b53ee01b506973e0.js +1 -0
- package/.next/static/chunks/857.d2299cfe995af21d.js +1 -0
- package/.next/static/chunks/framework-8e279965036b6169.js +33 -0
- package/.next/static/chunks/main-6f63f6746cc029db.js +1 -0
- package/.next/static/chunks/pages/404-1334d11ab8467b3d.js +1 -0
- package/.next/static/chunks/pages/500-449c5bd51f98423f.js +1 -0
- package/.next/static/chunks/pages/[...slug]-7c8ec664c28eca52.js +1 -0
- package/.next/static/chunks/pages/[slug]/p-a4f7d7c00fdf4157.js +1 -0
- package/.next/static/chunks/pages/_app-6516d0c2c7e0e686.js +68 -0
- package/.next/static/chunks/pages/_error-fbf331a03642b495.js +1 -0
- package/.next/static/chunks/pages/account-dbc5c028225cd1ac.js +1 -0
- package/.next/static/chunks/pages/checkout-29ae2c37eaf172e1.js +1 -0
- package/.next/static/chunks/pages/index-00798cca3b47590d.js +1 -0
- package/.next/static/chunks/pages/login-c4d2c856008df5ac.js +1 -0
- package/.next/static/chunks/pages/s-dacaed02ad104d73.js +1 -0
- package/.next/static/chunks/webpack-1c08d77cfe1b8585.js +1 -0
- package/.next/static/css/{021de9c7b050d301.css → 0d45c82d8887a269.css} +1 -1
- package/.next/static/css/{e772e7786bb4dee9.css → 211c7542af66d8b4.css} +1 -1
- package/.next/static/css/{df588bb98c0b0ca6.css → 2980acad3f8e1028.css} +1 -1
- package/.next/static/css/{510895065f32ed2f.css → 4c4d90eb8cb1d2b7.css} +1 -1
- package/.next/static/css/{938781cdc945862e.css → 821a5219786be653.css} +1 -1
- package/.next/static/css/{def381bf7c69fa2e.css → 96e3fddf695d6aa9.css} +1 -1
- package/.next/static/css/{6a7fdc5a21fbead5.css → b9d9ba1b04f3160d.css} +1 -1
- package/.next/static/css/{9558da13053ac066.css → cff9aafa16fccc9c.css} +1 -1
- package/.next/static/css/{7e897ebb936fac09.css → d586715f4f707df4.css} +1 -1
- package/.next/static/css/{cb7d1fcea42fab9c.css → e32410b31c666cb2.css} +1 -1
- package/.next/trace +91 -82
- package/.turbo/turbo-build.log +37 -42
- package/.turbo/turbo-lint.log +0 -3
- package/.turbo/turbo-test.log +9 -9
- package/@generated/gql.ts +196 -0
- package/@generated/{graphql/index.ts → graphql.ts} +718 -252
- package/@generated/index.ts +1 -0
- package/@generated/persisted-documents.json +13 -0
- package/api/index.ts +1 -1
- package/cms/faststore/content-types.json +18 -0
- package/cms/faststore/sections.json +73 -0
- package/codegen.ts +61 -0
- package/index.ts +1 -0
- package/jest.config.js +9 -1
- package/next.config.js +2 -0
- package/package.json +14 -10
- package/src/components/product/ProductCard/ProductCard.tsx +4 -4
- package/src/components/search/Filter/Filter.tsx +4 -3
- package/src/components/sections/EmptyState/DefaultComponents.ts +5 -0
- package/src/components/sections/EmptyState/EmptyState.tsx +91 -8
- package/src/components/sections/EmptyState/OverriddenDefaultEmptyState.ts +15 -0
- package/src/components/sections/ProductDetails/ProductDetails.tsx +6 -6
- package/src/components/ui/Image/Image.tsx +1 -1
- package/src/customizations/src/fragments/ClientManyProducts.ts +3 -3
- package/src/customizations/src/fragments/ClientProduct.ts +3 -3
- package/src/customizations/src/fragments/ClientProductGallery.ts +3 -3
- package/src/customizations/src/fragments/ClientSearchSuggestions.ts +3 -3
- package/src/customizations/src/fragments/ClientShippingSimulation.ts +3 -3
- package/src/customizations/src/fragments/ClientTopSearchSuggestions.ts +3 -3
- package/src/customizations/src/fragments/ServerCollectionPage.ts +3 -3
- package/src/customizations/src/fragments/ServerProduct.ts +3 -3
- package/src/pages/404.tsx +32 -30
- package/src/pages/500.tsx +32 -34
- package/src/pages/[...slug].tsx +4 -4
- package/src/pages/[slug]/p.tsx +7 -7
- package/src/pages/api/graphql.ts +10 -4
- package/src/pages/login.tsx +31 -8
- package/src/sdk/cart/index.ts +3 -3
- package/src/sdk/graphql/prefetchQuery.ts +4 -3
- package/src/sdk/graphql/request.ts +67 -8
- package/src/sdk/graphql/useLazyQuery.ts +4 -3
- package/src/sdk/graphql/useQuery.ts +7 -3
- package/src/sdk/newsletter/useNewsletter.ts +4 -4
- package/src/sdk/product/usePageProductsQuery.ts +3 -3
- package/src/sdk/product/useProductGalleryQuery.ts +10 -8
- package/src/sdk/product/useProductQuery.ts +3 -3
- package/src/sdk/product/useProductsPrefetch.ts +5 -3
- package/src/sdk/product/useProductsQuery.ts +3 -4
- package/src/sdk/search/useSuggestions.ts +3 -3
- package/src/sdk/search/useTopSearch.ts +3 -4
- package/src/sdk/session/index.ts +4 -4
- package/src/sdk/shipping/index.ts +3 -3
- package/src/server/generator/schema.ts +1 -1
- package/src/server/index.ts +11 -6
- package/src/typings/overrides.ts +3 -2
- package/test/server/index.test.ts +6 -1
- package/.babelrc +0 -4
- package/.next/cache/next-server.js.nft.json +0 -1
- package/.next/server/chunks/117.js +0 -427
- package/.next/server/chunks/177.js +0 -125
- package/.next/server/chunks/183.js +0 -122
- package/.next/server/chunks/184.js +0 -61
- package/.next/server/chunks/289.js +0 -243
- package/.next/server/chunks/312.js +0 -676
- package/.next/server/chunks/350.js +0 -2898
- package/.next/server/chunks/386.js +0 -200
- package/.next/server/chunks/574.js +0 -145
- package/.next/server/chunks/576.js +0 -122
- package/.next/server/chunks/585.js +0 -639
- package/.next/server/chunks/632.js +0 -514
- package/.next/server/chunks/661.js +0 -1451
- package/.next/server/chunks/676.js +0 -32
- package/.next/server/chunks/719.js +0 -84
- package/.next/server/chunks/74.js +0 -4152
- package/.next/server/chunks/825.js +0 -4074
- package/.next/server/chunks/854.js +0 -72
- package/.next/server/chunks/863.js +0 -111
- package/.next/server/chunks/898.js +0 -711
- package/.next/server/chunks/903.js +0 -1926
- package/.next/server/chunks/98.js +0 -163
- package/.next/server/chunks/988.js +0 -211
- package/.next/static/JJRI44e-3F3WVhD-DxmO2/_buildManifest.js +0 -1
- package/.next/static/chunks/223-cb77217cce52d45c.js +0 -1
- package/.next/static/chunks/251.11f5198fc8bef3a4.js +0 -1
- package/.next/static/chunks/386.d01e0db26c523f0f.js +0 -1
- package/.next/static/chunks/397-0d3aada1012cd78b.js +0 -1
- package/.next/static/chunks/574.70612be06fd1365f.js +0 -1
- package/.next/static/chunks/585.6561778b7763b79e.js +0 -1
- package/.next/static/chunks/651.7142f31ce1e052b3.js +0 -1
- package/.next/static/chunks/675-479a97aecebead97.js +0 -1
- package/.next/static/chunks/741.52f7fb873418346f.js +0 -1
- package/.next/static/chunks/800.5d92de2974baf641.js +0 -1
- package/.next/static/chunks/881-57643fb90f59e576.js +0 -1
- package/.next/static/chunks/98.40c7e17d9de4eb8f.js +0 -1
- package/.next/static/chunks/988.afda042dd9ba11d1.js +0 -1
- package/.next/static/chunks/framework-dfd14d7ce6600b03.js +0 -1
- package/.next/static/chunks/main-e4e873ee741162eb.js +0 -1
- package/.next/static/chunks/pages/404-e106cb9a78182f5f.js +0 -1
- package/.next/static/chunks/pages/500-d28aa4a8ce88bddd.js +0 -1
- package/.next/static/chunks/pages/[...slug]-c4abcc133f85d9d0.js +0 -1
- package/.next/static/chunks/pages/[slug]/p-4a75b11857b82b5c.js +0 -1
- package/.next/static/chunks/pages/_app-30b9666307e4b3b1.js +0 -1
- package/.next/static/chunks/pages/_error-319451dea77827a6.js +0 -1
- package/.next/static/chunks/pages/account-bf9c88a9cac80d8a.js +0 -1
- package/.next/static/chunks/pages/checkout-6ca76c1e88a28ac4.js +0 -1
- package/.next/static/chunks/pages/index-629ba146ae5f0ecf.js +0 -1
- package/.next/static/chunks/pages/login-d2af0de13ea75848.js +0 -1
- package/.next/static/chunks/pages/s-d729254b91430d1c.js +0 -1
- package/.next/static/chunks/webpack-54ce04ec11860b0b.js +0 -1
- package/@generated/graphql/persisted.json +0 -13
- package/codegen.yml +0 -23
- package/src/components/sections/EmptyState/Overrides.tsx +0 -14
- package/.next/static/{JJRI44e-3F3WVhD-DxmO2 → Xf_-r26LvSZnfqjpm_a71}/_ssgManifest.js +0 -0
- package/@generated/{graphql/schema.graphql → schema.graphql} +508 -508
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import { DocumentTypeDecoration } from '@graphql-typed-document-node/core'
|
|
1
3
|
export type Maybe<T> = T | null
|
|
2
4
|
export type InputMaybe<T> = Maybe<T>
|
|
3
5
|
export type Exact<T extends { [key: string]: unknown }> = {
|
|
@@ -9,13 +11,22 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
|
9
11
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
10
12
|
[SubKey in K]: Maybe<T[SubKey]>
|
|
11
13
|
}
|
|
14
|
+
export type MakeEmpty<
|
|
15
|
+
T extends { [key: string]: unknown },
|
|
16
|
+
K extends keyof T
|
|
17
|
+
> = { [_ in K]?: never }
|
|
18
|
+
export type Incremental<T> =
|
|
19
|
+
| T
|
|
20
|
+
| {
|
|
21
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never
|
|
22
|
+
}
|
|
12
23
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
13
24
|
export type Scalars = {
|
|
14
|
-
ID: string
|
|
15
|
-
String: string
|
|
16
|
-
Boolean: boolean
|
|
17
|
-
Int: number
|
|
18
|
-
Float: number
|
|
25
|
+
ID: { input: string; output: string }
|
|
26
|
+
String: { input: string; output: string }
|
|
27
|
+
Boolean: { input: boolean; output: boolean }
|
|
28
|
+
Int: { input: number; output: number }
|
|
29
|
+
Float: { input: number; output: number }
|
|
19
30
|
/**
|
|
20
31
|
* Example:
|
|
21
32
|
*
|
|
@@ -25,7 +36,7 @@ export type Scalars = {
|
|
|
25
36
|
* }
|
|
26
37
|
* ```
|
|
27
38
|
*/
|
|
28
|
-
ActiveVariations: any
|
|
39
|
+
ActiveVariations: { input: any; output: any }
|
|
29
40
|
/**
|
|
30
41
|
* Example:
|
|
31
42
|
*
|
|
@@ -56,8 +67,8 @@ export type Scalars = {
|
|
|
56
67
|
* }
|
|
57
68
|
* ```
|
|
58
69
|
*/
|
|
59
|
-
FormattedVariants: any
|
|
60
|
-
ObjectOrString: any
|
|
70
|
+
FormattedVariants: { input: any; output: any }
|
|
71
|
+
ObjectOrString: { input: any; output: any }
|
|
61
72
|
/**
|
|
62
73
|
* Example:
|
|
63
74
|
*
|
|
@@ -67,7 +78,7 @@ export type Scalars = {
|
|
|
67
78
|
* }
|
|
68
79
|
* ```
|
|
69
80
|
*/
|
|
70
|
-
SlugsMap: any
|
|
81
|
+
SlugsMap: { input: any; output: any }
|
|
71
82
|
/**
|
|
72
83
|
* Example:
|
|
73
84
|
*
|
|
@@ -78,82 +89,82 @@ export type Scalars = {
|
|
|
78
89
|
* }
|
|
79
90
|
* ```
|
|
80
91
|
*/
|
|
81
|
-
VariantsByName: any
|
|
92
|
+
VariantsByName: { input: any; output: any }
|
|
82
93
|
}
|
|
83
94
|
|
|
84
95
|
/** Address information. */
|
|
85
96
|
export type Address = {
|
|
86
97
|
/** Address city */
|
|
87
|
-
city: Maybe<Scalars['String']>
|
|
98
|
+
city: Maybe<Scalars['String']['output']>
|
|
88
99
|
/** Address complement */
|
|
89
|
-
complement: Maybe<Scalars['String']>
|
|
100
|
+
complement: Maybe<Scalars['String']['output']>
|
|
90
101
|
/** Address country */
|
|
91
|
-
country: Maybe<Scalars['String']>
|
|
102
|
+
country: Maybe<Scalars['String']['output']>
|
|
92
103
|
/** Address geoCoordinates */
|
|
93
|
-
geoCoordinates: Maybe<Array<Maybe<Scalars['Float']>>>
|
|
104
|
+
geoCoordinates: Maybe<Array<Maybe<Scalars['Float']['output']>>>
|
|
94
105
|
/** Address neighborhood */
|
|
95
|
-
neighborhood: Maybe<Scalars['String']>
|
|
106
|
+
neighborhood: Maybe<Scalars['String']['output']>
|
|
96
107
|
/** Address number */
|
|
97
|
-
number: Maybe<Scalars['String']>
|
|
108
|
+
number: Maybe<Scalars['String']['output']>
|
|
98
109
|
/** Address postal code */
|
|
99
|
-
postalCode: Maybe<Scalars['String']>
|
|
110
|
+
postalCode: Maybe<Scalars['String']['output']>
|
|
100
111
|
/** Address reference */
|
|
101
|
-
reference: Maybe<Scalars['String']>
|
|
112
|
+
reference: Maybe<Scalars['String']['output']>
|
|
102
113
|
/** Address state */
|
|
103
|
-
state: Maybe<Scalars['String']>
|
|
114
|
+
state: Maybe<Scalars['String']['output']>
|
|
104
115
|
/** Address street */
|
|
105
|
-
street: Maybe<Scalars['String']>
|
|
116
|
+
street: Maybe<Scalars['String']['output']>
|
|
106
117
|
}
|
|
107
118
|
|
|
108
119
|
export type AvailableDeliveryWindows = {
|
|
109
120
|
/** Available delivery window end date in UTC */
|
|
110
|
-
endDateUtc: Maybe<Scalars['String']>
|
|
121
|
+
endDateUtc: Maybe<Scalars['String']['output']>
|
|
111
122
|
/** Available delivery window list price */
|
|
112
|
-
listPrice: Maybe<Scalars['Int']>
|
|
123
|
+
listPrice: Maybe<Scalars['Int']['output']>
|
|
113
124
|
/** Available delivery window price */
|
|
114
|
-
price: Maybe<Scalars['Int']>
|
|
125
|
+
price: Maybe<Scalars['Int']['output']>
|
|
115
126
|
/** Available delivery window start date in UTC */
|
|
116
|
-
startDateUtc: Maybe<Scalars['String']>
|
|
127
|
+
startDateUtc: Maybe<Scalars['String']['output']>
|
|
117
128
|
/** Available delivery window tax */
|
|
118
|
-
tax: Maybe<Scalars['Int']>
|
|
129
|
+
tax: Maybe<Scalars['Int']['output']>
|
|
119
130
|
}
|
|
120
131
|
|
|
121
132
|
export type DeliveryIds = {
|
|
122
133
|
/** DeliveryIds courier id */
|
|
123
|
-
courierId: Maybe<Scalars['String']>
|
|
134
|
+
courierId: Maybe<Scalars['String']['output']>
|
|
124
135
|
/** DeliveryIds courier name */
|
|
125
|
-
courierName: Maybe<Scalars['String']>
|
|
136
|
+
courierName: Maybe<Scalars['String']['output']>
|
|
126
137
|
/** DeliveryIds dock id */
|
|
127
|
-
dockId: Maybe<Scalars['String']>
|
|
138
|
+
dockId: Maybe<Scalars['String']['output']>
|
|
128
139
|
/** DeliveryIds quantity */
|
|
129
|
-
quantity: Maybe<Scalars['Int']>
|
|
140
|
+
quantity: Maybe<Scalars['Int']['output']>
|
|
130
141
|
/** DeliveryIds warehouse id */
|
|
131
|
-
warehouseId: Maybe<Scalars['String']>
|
|
142
|
+
warehouseId: Maybe<Scalars['String']['output']>
|
|
132
143
|
}
|
|
133
144
|
|
|
134
145
|
export type IGeoCoordinates = {
|
|
135
146
|
/** The latitude of the geographic coordinates. */
|
|
136
|
-
latitude: Scalars['Float']
|
|
147
|
+
latitude: Scalars['Float']['input']
|
|
137
148
|
/** The longitude of the geographic coordinates. */
|
|
138
|
-
longitude: Scalars['Float']
|
|
149
|
+
longitude: Scalars['Float']['input']
|
|
139
150
|
}
|
|
140
151
|
|
|
141
152
|
/** Person data input to the newsletter. */
|
|
142
153
|
export type IPersonNewsletter = {
|
|
143
154
|
/** Person's email. */
|
|
144
|
-
email: Scalars['String']
|
|
155
|
+
email: Scalars['String']['input']
|
|
145
156
|
/** Person's name. */
|
|
146
|
-
name: Scalars['String']
|
|
157
|
+
name: Scalars['String']['input']
|
|
147
158
|
}
|
|
148
159
|
|
|
149
160
|
/** Shipping Simulation item input. */
|
|
150
161
|
export type IShippingItem = {
|
|
151
162
|
/** ShippingItem ID / Sku. */
|
|
152
|
-
id: Scalars['String']
|
|
163
|
+
id: Scalars['String']['input']
|
|
153
164
|
/** Number of items. */
|
|
154
|
-
quantity: Scalars['Int']
|
|
165
|
+
quantity: Scalars['Int']['input']
|
|
155
166
|
/** Seller responsible for the ShippingItem. */
|
|
156
|
-
seller: Scalars['String']
|
|
167
|
+
seller: Scalars['String']['input']
|
|
157
168
|
}
|
|
158
169
|
|
|
159
170
|
/** Shopping cart input. */
|
|
@@ -164,16 +175,16 @@ export type IStoreCart = {
|
|
|
164
175
|
|
|
165
176
|
export type IStoreCurrency = {
|
|
166
177
|
/** Currency code (e.g: USD). */
|
|
167
|
-
code: Scalars['String']
|
|
178
|
+
code: Scalars['String']['input']
|
|
168
179
|
/** Currency symbol (e.g: $). */
|
|
169
|
-
symbol: Scalars['String']
|
|
180
|
+
symbol: Scalars['String']['input']
|
|
170
181
|
}
|
|
171
182
|
|
|
172
183
|
export type IStoreDeliveryMode = {
|
|
173
184
|
/** The delivery channel information of the session. */
|
|
174
|
-
deliveryChannel: Scalars['String']
|
|
185
|
+
deliveryChannel: Scalars['String']['input']
|
|
175
186
|
/** The delivery method information of the session. */
|
|
176
|
-
deliveryMethod: Scalars['String']
|
|
187
|
+
deliveryMethod: Scalars['String']['input']
|
|
177
188
|
/** The delivery window information of the session. */
|
|
178
189
|
deliveryWindow: InputMaybe<IStoreDeliveryWindow>
|
|
179
190
|
}
|
|
@@ -181,24 +192,24 @@ export type IStoreDeliveryMode = {
|
|
|
181
192
|
/** Delivery window information. */
|
|
182
193
|
export type IStoreDeliveryWindow = {
|
|
183
194
|
/** The delivery window end date information. */
|
|
184
|
-
endDate: Scalars['String']
|
|
195
|
+
endDate: Scalars['String']['input']
|
|
185
196
|
/** The delivery window start date information. */
|
|
186
|
-
startDate: Scalars['String']
|
|
197
|
+
startDate: Scalars['String']['input']
|
|
187
198
|
}
|
|
188
199
|
|
|
189
200
|
export type IStoreGeoCoordinates = {
|
|
190
201
|
/** The latitude of the geographic coordinates. */
|
|
191
|
-
latitude: Scalars['Float']
|
|
202
|
+
latitude: Scalars['Float']['input']
|
|
192
203
|
/** The longitude of the geographic coordinates. */
|
|
193
|
-
longitude: Scalars['Float']
|
|
204
|
+
longitude: Scalars['Float']['input']
|
|
194
205
|
}
|
|
195
206
|
|
|
196
207
|
/** Image input. */
|
|
197
208
|
export type IStoreImage = {
|
|
198
209
|
/** Alias for the input image. */
|
|
199
|
-
alternateName: Scalars['String']
|
|
210
|
+
alternateName: Scalars['String']['input']
|
|
200
211
|
/** Image input URL. */
|
|
201
|
-
url: Scalars['String']
|
|
212
|
+
url: Scalars['String']['input']
|
|
202
213
|
}
|
|
203
214
|
|
|
204
215
|
/** Offer input. */
|
|
@@ -206,11 +217,11 @@ export type IStoreOffer = {
|
|
|
206
217
|
/** Information on the item being offered. */
|
|
207
218
|
itemOffered: IStoreProduct
|
|
208
219
|
/** This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf. */
|
|
209
|
-
listPrice: Scalars['Float']
|
|
220
|
+
listPrice: Scalars['Float']['input']
|
|
210
221
|
/** Also known as spot price. */
|
|
211
|
-
price: Scalars['Float']
|
|
222
|
+
price: Scalars['Float']['input']
|
|
212
223
|
/** Number of items offered. */
|
|
213
|
-
quantity: Scalars['Int']
|
|
224
|
+
quantity: Scalars['Int']['input']
|
|
214
225
|
/** Seller responsible for the offer. */
|
|
215
226
|
seller: IStoreOrganization
|
|
216
227
|
}
|
|
@@ -220,27 +231,27 @@ export type IStoreOrder = {
|
|
|
220
231
|
/** Array with information on each accepted offer. */
|
|
221
232
|
acceptedOffer: Array<IStoreOffer>
|
|
222
233
|
/** ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#). */
|
|
223
|
-
orderNumber: Scalars['String']
|
|
234
|
+
orderNumber: Scalars['String']['input']
|
|
224
235
|
/** Indicates whether or not items with attachments should be split. */
|
|
225
|
-
shouldSplitItem: InputMaybe<Scalars['Boolean']>
|
|
236
|
+
shouldSplitItem: InputMaybe<Scalars['Boolean']['input']>
|
|
226
237
|
}
|
|
227
238
|
|
|
228
239
|
/** Organization input. */
|
|
229
240
|
export type IStoreOrganization = {
|
|
230
241
|
/** Organization ID. */
|
|
231
|
-
identifier: Scalars['String']
|
|
242
|
+
identifier: Scalars['String']['input']
|
|
232
243
|
}
|
|
233
244
|
|
|
234
245
|
/** Client profile data. */
|
|
235
246
|
export type IStorePerson = {
|
|
236
247
|
/** Client email. */
|
|
237
|
-
email: Scalars['String']
|
|
248
|
+
email: Scalars['String']['input']
|
|
238
249
|
/** Client last name. */
|
|
239
|
-
familyName: Scalars['String']
|
|
250
|
+
familyName: Scalars['String']['input']
|
|
240
251
|
/** Client first name. */
|
|
241
|
-
givenName: Scalars['String']
|
|
252
|
+
givenName: Scalars['String']['input']
|
|
242
253
|
/** Client ID. */
|
|
243
|
-
id: Scalars['String']
|
|
254
|
+
id: Scalars['String']['input']
|
|
244
255
|
}
|
|
245
256
|
|
|
246
257
|
/** Product input. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on. */
|
|
@@ -250,38 +261,38 @@ export type IStoreProduct = {
|
|
|
250
261
|
/** Array of product images. */
|
|
251
262
|
image: Array<IStoreImage>
|
|
252
263
|
/** Product name. */
|
|
253
|
-
name: Scalars['String']
|
|
264
|
+
name: Scalars['String']['input']
|
|
254
265
|
/** Stock Keeping Unit. Merchant-specific ID for the product. */
|
|
255
|
-
sku: Scalars['String']
|
|
266
|
+
sku: Scalars['String']['input']
|
|
256
267
|
}
|
|
257
268
|
|
|
258
269
|
export type IStorePropertyValue = {
|
|
259
270
|
/** Property name. */
|
|
260
|
-
name: Scalars['String']
|
|
271
|
+
name: Scalars['String']['input']
|
|
261
272
|
/** Property id. This propert changes according to the content of the object. */
|
|
262
|
-
propertyID: InputMaybe<Scalars['String']>
|
|
273
|
+
propertyID: InputMaybe<Scalars['String']['input']>
|
|
263
274
|
/** Property value. May hold a string or the string representation of an object. */
|
|
264
|
-
value: Scalars['ObjectOrString']
|
|
275
|
+
value: Scalars['ObjectOrString']['input']
|
|
265
276
|
/** Specifies the nature of the value */
|
|
266
|
-
valueReference: Scalars['String']
|
|
277
|
+
valueReference: Scalars['String']['input']
|
|
267
278
|
}
|
|
268
279
|
|
|
269
280
|
/** Selected search facet input. */
|
|
270
281
|
export type IStoreSelectedFacet = {
|
|
271
282
|
/** Selected search facet key. */
|
|
272
|
-
key: Scalars['String']
|
|
283
|
+
key: Scalars['String']['input']
|
|
273
284
|
/** Selected search facet value. */
|
|
274
|
-
value: Scalars['String']
|
|
285
|
+
value: Scalars['String']['input']
|
|
275
286
|
}
|
|
276
287
|
|
|
277
288
|
/** Session input. */
|
|
278
289
|
export type IStoreSession = {
|
|
279
290
|
/** Session input address type. */
|
|
280
|
-
addressType: InputMaybe<Scalars['String']>
|
|
291
|
+
addressType: InputMaybe<Scalars['String']['input']>
|
|
281
292
|
/** Session input channel. */
|
|
282
|
-
channel: InputMaybe<Scalars['String']>
|
|
293
|
+
channel: InputMaybe<Scalars['String']['input']>
|
|
283
294
|
/** Session input country. */
|
|
284
|
-
country: Scalars['String']
|
|
295
|
+
country: Scalars['String']['input']
|
|
285
296
|
/** Session input currency. */
|
|
286
297
|
currency: IStoreCurrency
|
|
287
298
|
/** Session input delivery mode. */
|
|
@@ -289,18 +300,18 @@ export type IStoreSession = {
|
|
|
289
300
|
/** Session input geoCoordinates. */
|
|
290
301
|
geoCoordinates: InputMaybe<IStoreGeoCoordinates>
|
|
291
302
|
/** Session input locale. */
|
|
292
|
-
locale: Scalars['String']
|
|
303
|
+
locale: Scalars['String']['input']
|
|
293
304
|
/** Session input person. */
|
|
294
305
|
person: InputMaybe<IStorePerson>
|
|
295
306
|
/** Session input postal code. */
|
|
296
|
-
postalCode: InputMaybe<Scalars['String']>
|
|
307
|
+
postalCode: InputMaybe<Scalars['String']['input']>
|
|
297
308
|
}
|
|
298
309
|
|
|
299
310
|
export type LogisticsInfo = {
|
|
300
311
|
/** LogisticsInfo itemIndex. */
|
|
301
|
-
itemIndex: Maybe<Scalars['String']>
|
|
312
|
+
itemIndex: Maybe<Scalars['String']['output']>
|
|
302
313
|
/** LogisticsInfo selectedSla. */
|
|
303
|
-
selectedSla: Maybe<Scalars['String']>
|
|
314
|
+
selectedSla: Maybe<Scalars['String']['output']>
|
|
304
315
|
/** List of LogisticsInfo ShippingSLA. */
|
|
305
316
|
slas: Maybe<Array<Maybe<ShippingSla>>>
|
|
306
317
|
}
|
|
@@ -308,52 +319,52 @@ export type LogisticsInfo = {
|
|
|
308
319
|
/** Shipping Simulation Logistic Item. */
|
|
309
320
|
export type LogisticsItem = {
|
|
310
321
|
/** LogisticsItem availability. */
|
|
311
|
-
availability: Maybe<Scalars['String']>
|
|
322
|
+
availability: Maybe<Scalars['String']['output']>
|
|
312
323
|
/** LogisticsItem ID / Sku. */
|
|
313
|
-
id: Maybe<Scalars['String']>
|
|
324
|
+
id: Maybe<Scalars['String']['output']>
|
|
314
325
|
/** LogisticsItem listPrice. */
|
|
315
|
-
listPrice: Maybe<Scalars['Int']>
|
|
326
|
+
listPrice: Maybe<Scalars['Int']['output']>
|
|
316
327
|
/** LogisticsItem measurementUnit. */
|
|
317
|
-
measurementUnit: Maybe<Scalars['String']>
|
|
328
|
+
measurementUnit: Maybe<Scalars['String']['output']>
|
|
318
329
|
/** LogisticsItem price. */
|
|
319
|
-
price: Maybe<Scalars['Int']>
|
|
330
|
+
price: Maybe<Scalars['Int']['output']>
|
|
320
331
|
/** Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time. */
|
|
321
|
-
priceValidUntil: Maybe<Scalars['String']>
|
|
332
|
+
priceValidUntil: Maybe<Scalars['String']['output']>
|
|
322
333
|
/** Number of items. */
|
|
323
|
-
quantity: Maybe<Scalars['Int']>
|
|
324
|
-
requestIndex: Maybe<Scalars['Int']>
|
|
334
|
+
quantity: Maybe<Scalars['Int']['output']>
|
|
335
|
+
requestIndex: Maybe<Scalars['Int']['output']>
|
|
325
336
|
/** LogisticsItem rewardValue. */
|
|
326
|
-
rewardValue: Maybe<Scalars['Int']>
|
|
337
|
+
rewardValue: Maybe<Scalars['Int']['output']>
|
|
327
338
|
/** Seller responsible for the ShippingItem. */
|
|
328
|
-
seller: Maybe<Scalars['String']>
|
|
339
|
+
seller: Maybe<Scalars['String']['output']>
|
|
329
340
|
/** List of Sellers. */
|
|
330
|
-
sellerChain: Maybe<Array<Maybe<Scalars['String']>>>
|
|
341
|
+
sellerChain: Maybe<Array<Maybe<Scalars['String']['output']>>>
|
|
331
342
|
/** LogisticsItem sellingPrice. */
|
|
332
|
-
sellingPrice: Maybe<Scalars['Int']>
|
|
343
|
+
sellingPrice: Maybe<Scalars['Int']['output']>
|
|
333
344
|
/** LogisticsItem tax. */
|
|
334
|
-
tax: Maybe<Scalars['Int']>
|
|
345
|
+
tax: Maybe<Scalars['Int']['output']>
|
|
335
346
|
/** LogisticsItem unitMultiplier. */
|
|
336
|
-
unitMultiplier: Maybe<Scalars['Int']>
|
|
347
|
+
unitMultiplier: Maybe<Scalars['Int']['output']>
|
|
337
348
|
}
|
|
338
349
|
|
|
339
350
|
export type MessageFields = {
|
|
340
351
|
/** MessageFields ean. */
|
|
341
|
-
ean: Maybe<Scalars['String']>
|
|
352
|
+
ean: Maybe<Scalars['String']['output']>
|
|
342
353
|
/** MessageFields item index. */
|
|
343
|
-
itemIndex: Maybe<Scalars['String']>
|
|
354
|
+
itemIndex: Maybe<Scalars['String']['output']>
|
|
344
355
|
/** MessageFields sku name. */
|
|
345
|
-
skuName: Maybe<Scalars['String']>
|
|
356
|
+
skuName: Maybe<Scalars['String']['output']>
|
|
346
357
|
}
|
|
347
358
|
|
|
348
359
|
export type MessageInfo = {
|
|
349
360
|
/** MessageInfo code. */
|
|
350
|
-
code: Maybe<Scalars['String']>
|
|
361
|
+
code: Maybe<Scalars['String']['output']>
|
|
351
362
|
/** MessageInfo fields. */
|
|
352
363
|
fields: Maybe<MessageFields>
|
|
353
364
|
/** MessageInfo status. */
|
|
354
|
-
status: Maybe<Scalars['String']>
|
|
365
|
+
status: Maybe<Scalars['String']['output']>
|
|
355
366
|
/** MessageInfo text. */
|
|
356
|
-
text: Maybe<Scalars['String']>
|
|
367
|
+
text: Maybe<Scalars['String']['output']>
|
|
357
368
|
}
|
|
358
369
|
|
|
359
370
|
export type Mutation = {
|
|
@@ -375,56 +386,56 @@ export type MutationValidateCartArgs = {
|
|
|
375
386
|
}
|
|
376
387
|
|
|
377
388
|
export type MutationValidateSessionArgs = {
|
|
378
|
-
search: Scalars['String']
|
|
389
|
+
search: Scalars['String']['input']
|
|
379
390
|
session: IStoreSession
|
|
380
391
|
}
|
|
381
392
|
|
|
382
393
|
/** Newsletter information. */
|
|
383
394
|
export type PersonNewsletter = {
|
|
384
395
|
/** Person's ID in the newsletter list. */
|
|
385
|
-
id: Scalars['String']
|
|
396
|
+
id: Scalars['String']['output']
|
|
386
397
|
}
|
|
387
398
|
|
|
388
399
|
export type PickupAddress = {
|
|
389
400
|
/** PickupAddress address id. */
|
|
390
|
-
addressId: Maybe<Scalars['String']>
|
|
401
|
+
addressId: Maybe<Scalars['String']['output']>
|
|
391
402
|
/** PickupAddress address type. */
|
|
392
|
-
addressType: Maybe<Scalars['String']>
|
|
403
|
+
addressType: Maybe<Scalars['String']['output']>
|
|
393
404
|
/** PickupAddress city. */
|
|
394
|
-
city: Maybe<Scalars['String']>
|
|
405
|
+
city: Maybe<Scalars['String']['output']>
|
|
395
406
|
/** PickupAddress complement. */
|
|
396
|
-
complement: Maybe<Scalars['String']>
|
|
407
|
+
complement: Maybe<Scalars['String']['output']>
|
|
397
408
|
/** PickupAddress country. */
|
|
398
|
-
country: Maybe<Scalars['String']>
|
|
409
|
+
country: Maybe<Scalars['String']['output']>
|
|
399
410
|
/** PickupAddress geo coordinates. */
|
|
400
|
-
geoCoordinates: Maybe<Array<Maybe<Scalars['Float']>>>
|
|
411
|
+
geoCoordinates: Maybe<Array<Maybe<Scalars['Float']['output']>>>
|
|
401
412
|
/** PickupAddress neighborhood. */
|
|
402
|
-
neighborhood: Maybe<Scalars['String']>
|
|
413
|
+
neighborhood: Maybe<Scalars['String']['output']>
|
|
403
414
|
/** PickupAddress number. */
|
|
404
|
-
number: Maybe<Scalars['String']>
|
|
415
|
+
number: Maybe<Scalars['String']['output']>
|
|
405
416
|
/** PickupAddress postal code. */
|
|
406
|
-
postalCode: Maybe<Scalars['String']>
|
|
417
|
+
postalCode: Maybe<Scalars['String']['output']>
|
|
407
418
|
/** PickupAddress receiver name. */
|
|
408
|
-
receiverName: Maybe<Scalars['String']>
|
|
419
|
+
receiverName: Maybe<Scalars['String']['output']>
|
|
409
420
|
/** PickupAddress reference. */
|
|
410
|
-
reference: Maybe<Scalars['String']>
|
|
421
|
+
reference: Maybe<Scalars['String']['output']>
|
|
411
422
|
/** PickupAddress state. */
|
|
412
|
-
state: Maybe<Scalars['String']>
|
|
423
|
+
state: Maybe<Scalars['String']['output']>
|
|
413
424
|
/** PickupAddress street. */
|
|
414
|
-
street: Maybe<Scalars['String']>
|
|
425
|
+
street: Maybe<Scalars['String']['output']>
|
|
415
426
|
}
|
|
416
427
|
|
|
417
428
|
export type PickupStoreInfo = {
|
|
418
429
|
/** PickupStoreInfo additional information. */
|
|
419
|
-
additionalInfo: Maybe<Scalars['String']>
|
|
430
|
+
additionalInfo: Maybe<Scalars['String']['output']>
|
|
420
431
|
/** PickupStoreInfo address. */
|
|
421
432
|
address: Maybe<PickupAddress>
|
|
422
433
|
/** PickupStoreInfo dock id. */
|
|
423
|
-
dockId: Maybe<Scalars['String']>
|
|
434
|
+
dockId: Maybe<Scalars['String']['output']>
|
|
424
435
|
/** PickupStoreInfo friendly name. */
|
|
425
|
-
friendlyName: Maybe<Scalars['String']>
|
|
436
|
+
friendlyName: Maybe<Scalars['String']['output']>
|
|
426
437
|
/** Information if the store has pickup enable. */
|
|
427
|
-
isPickupStore: Maybe<Scalars['Boolean']>
|
|
438
|
+
isPickupStore: Maybe<Scalars['Boolean']['output']>
|
|
428
439
|
}
|
|
429
440
|
|
|
430
441
|
export type Query = {
|
|
@@ -447,17 +458,17 @@ export type Query = {
|
|
|
447
458
|
}
|
|
448
459
|
|
|
449
460
|
export type QueryAllCollectionsArgs = {
|
|
450
|
-
after: InputMaybe<Scalars['String']>
|
|
451
|
-
first: Scalars['Int']
|
|
461
|
+
after: InputMaybe<Scalars['String']['input']>
|
|
462
|
+
first: Scalars['Int']['input']
|
|
452
463
|
}
|
|
453
464
|
|
|
454
465
|
export type QueryAllProductsArgs = {
|
|
455
|
-
after: InputMaybe<Scalars['String']>
|
|
456
|
-
first: Scalars['Int']
|
|
466
|
+
after: InputMaybe<Scalars['String']['input']>
|
|
467
|
+
first: Scalars['Int']['input']
|
|
457
468
|
}
|
|
458
469
|
|
|
459
470
|
export type QueryCollectionArgs = {
|
|
460
|
-
slug: Scalars['String']
|
|
471
|
+
slug: Scalars['String']['input']
|
|
461
472
|
}
|
|
462
473
|
|
|
463
474
|
export type QueryProductArgs = {
|
|
@@ -466,52 +477,52 @@ export type QueryProductArgs = {
|
|
|
466
477
|
|
|
467
478
|
export type QueryRedirectArgs = {
|
|
468
479
|
selectedFacets: InputMaybe<Array<IStoreSelectedFacet>>
|
|
469
|
-
term: InputMaybe<Scalars['String']>
|
|
480
|
+
term: InputMaybe<Scalars['String']['input']>
|
|
470
481
|
}
|
|
471
482
|
|
|
472
483
|
export type QuerySearchArgs = {
|
|
473
|
-
after: InputMaybe<Scalars['String']>
|
|
474
|
-
first: Scalars['Int']
|
|
484
|
+
after: InputMaybe<Scalars['String']['input']>
|
|
485
|
+
first: Scalars['Int']['input']
|
|
475
486
|
selectedFacets: InputMaybe<Array<IStoreSelectedFacet>>
|
|
476
487
|
sort?: InputMaybe<StoreSort>
|
|
477
|
-
term?: InputMaybe<Scalars['String']>
|
|
488
|
+
term?: InputMaybe<Scalars['String']['input']>
|
|
478
489
|
}
|
|
479
490
|
|
|
480
491
|
export type QuerySellersArgs = {
|
|
481
|
-
country: Scalars['String']
|
|
492
|
+
country: Scalars['String']['input']
|
|
482
493
|
geoCoordinates: InputMaybe<IGeoCoordinates>
|
|
483
|
-
postalCode: InputMaybe<Scalars['String']>
|
|
484
|
-
salesChannel: InputMaybe<Scalars['String']>
|
|
494
|
+
postalCode: InputMaybe<Scalars['String']['input']>
|
|
495
|
+
salesChannel: InputMaybe<Scalars['String']['input']>
|
|
485
496
|
}
|
|
486
497
|
|
|
487
498
|
export type QueryShippingArgs = {
|
|
488
|
-
country: Scalars['String']
|
|
499
|
+
country: Scalars['String']['input']
|
|
489
500
|
items: Array<IShippingItem>
|
|
490
|
-
postalCode: Scalars['String']
|
|
501
|
+
postalCode: Scalars['String']['input']
|
|
491
502
|
}
|
|
492
503
|
|
|
493
504
|
/** Search result. */
|
|
494
505
|
export type SearchMetadata = {
|
|
495
506
|
/** Indicates if the search term was misspelled. */
|
|
496
|
-
isTermMisspelled: Scalars['Boolean']
|
|
507
|
+
isTermMisspelled: Scalars['Boolean']['output']
|
|
497
508
|
/** Logical operator used to run the search. */
|
|
498
|
-
logicalOperator: Scalars['String']
|
|
509
|
+
logicalOperator: Scalars['String']['output']
|
|
499
510
|
}
|
|
500
511
|
|
|
501
512
|
/** Information of sellers. */
|
|
502
513
|
export type SellerInfo = {
|
|
503
514
|
/** Identification of the seller */
|
|
504
|
-
id: Maybe<Scalars['String']>
|
|
515
|
+
id: Maybe<Scalars['String']['output']>
|
|
505
516
|
/** Logo of the seller */
|
|
506
|
-
logo: Maybe<Scalars['String']>
|
|
517
|
+
logo: Maybe<Scalars['String']['output']>
|
|
507
518
|
/** Name of the seller */
|
|
508
|
-
name: Maybe<Scalars['String']>
|
|
519
|
+
name: Maybe<Scalars['String']['output']>
|
|
509
520
|
}
|
|
510
521
|
|
|
511
522
|
/** Regionalization with sellers information. */
|
|
512
523
|
export type SellersData = {
|
|
513
524
|
/** Identification of region. */
|
|
514
|
-
id: Maybe<Scalars['String']>
|
|
525
|
+
id: Maybe<Scalars['String']['output']>
|
|
515
526
|
/** List of sellers. */
|
|
516
527
|
sellers: Maybe<Array<Maybe<SellerInfo>>>
|
|
517
528
|
}
|
|
@@ -532,41 +543,41 @@ export type ShippingSla = {
|
|
|
532
543
|
/** ShippingSLA available delivery windows. */
|
|
533
544
|
availableDeliveryWindows: Maybe<Array<Maybe<AvailableDeliveryWindows>>>
|
|
534
545
|
/** ShippingSLA carrier. */
|
|
535
|
-
carrier: Maybe<Scalars['String']>
|
|
546
|
+
carrier: Maybe<Scalars['String']['output']>
|
|
536
547
|
/** ShippingSLA delivery channel. */
|
|
537
|
-
deliveryChannel: Maybe<Scalars['String']>
|
|
548
|
+
deliveryChannel: Maybe<Scalars['String']['output']>
|
|
538
549
|
/** List of ShippingSLA delivery ids. */
|
|
539
550
|
deliveryIds: Maybe<Array<Maybe<DeliveryIds>>>
|
|
540
551
|
/** ShippingSLA friendly name. */
|
|
541
|
-
friendlyName: Maybe<Scalars['String']>
|
|
552
|
+
friendlyName: Maybe<Scalars['String']['output']>
|
|
542
553
|
/** ShippingSLA id. */
|
|
543
|
-
id: Maybe<Scalars['String']>
|
|
554
|
+
id: Maybe<Scalars['String']['output']>
|
|
544
555
|
/**
|
|
545
556
|
* ShippingSLA localized shipping estimate.
|
|
546
557
|
* Note: this will always return a localized string for locale `en-US`.
|
|
547
558
|
*/
|
|
548
|
-
localizedEstimates: Maybe<Scalars['String']>
|
|
559
|
+
localizedEstimates: Maybe<Scalars['String']['output']>
|
|
549
560
|
/** ShippingSLA name. */
|
|
550
|
-
name: Maybe<Scalars['String']>
|
|
561
|
+
name: Maybe<Scalars['String']['output']>
|
|
551
562
|
/** ShippingSLA pickup distance. */
|
|
552
|
-
pickupDistance: Maybe<Scalars['Float']>
|
|
563
|
+
pickupDistance: Maybe<Scalars['Float']['output']>
|
|
553
564
|
/** ShippingSLA pickup point id. */
|
|
554
|
-
pickupPointId: Maybe<Scalars['String']>
|
|
565
|
+
pickupPointId: Maybe<Scalars['String']['output']>
|
|
555
566
|
/** ShippingSLA pickup store info. */
|
|
556
567
|
pickupStoreInfo: Maybe<PickupStoreInfo>
|
|
557
568
|
/** ShippingSLA price. */
|
|
558
|
-
price: Maybe<Scalars['Float']>
|
|
569
|
+
price: Maybe<Scalars['Float']['output']>
|
|
559
570
|
/** ShippingSLA shipping estimate. */
|
|
560
|
-
shippingEstimate: Maybe<Scalars['String']>
|
|
571
|
+
shippingEstimate: Maybe<Scalars['String']['output']>
|
|
561
572
|
/** ShippingSLA shipping estimate date. */
|
|
562
|
-
shippingEstimateDate: Maybe<Scalars['String']>
|
|
573
|
+
shippingEstimateDate: Maybe<Scalars['String']['output']>
|
|
563
574
|
}
|
|
564
575
|
|
|
565
576
|
export type SkuVariants = {
|
|
566
577
|
/** SKU property values for the current SKU. */
|
|
567
|
-
activeVariations: Maybe<Scalars['ActiveVariations']>
|
|
578
|
+
activeVariations: Maybe<Scalars['ActiveVariations']['output']>
|
|
568
579
|
/** All available options for each SKU variant property, indexed by their name. */
|
|
569
|
-
allVariantsByName: Maybe<Scalars['VariantsByName']>
|
|
580
|
+
allVariantsByName: Maybe<Scalars['VariantsByName']['output']>
|
|
570
581
|
/**
|
|
571
582
|
* Available options for each varying SKU property, taking into account the
|
|
572
583
|
* `dominantVariantName` property. Returns all available options for the
|
|
@@ -575,7 +586,7 @@ export type SkuVariants = {
|
|
|
575
586
|
* If `dominantVariantName` is not present, the first variant will be
|
|
576
587
|
* considered the dominant one.
|
|
577
588
|
*/
|
|
578
|
-
availableVariations: Maybe<Scalars['FormattedVariants']>
|
|
589
|
+
availableVariations: Maybe<Scalars['FormattedVariants']['output']>
|
|
579
590
|
/**
|
|
580
591
|
* Maps property value combinations to their respective SKU's slug. Enables
|
|
581
592
|
* us to retrieve the slug for the SKU that matches the currently selected
|
|
@@ -583,49 +594,49 @@ export type SkuVariants = {
|
|
|
583
594
|
* If `dominantVariantName` is not present, the first variant will be
|
|
584
595
|
* considered the dominant one.
|
|
585
596
|
*/
|
|
586
|
-
slugsMap: Maybe<Scalars['SlugsMap']>
|
|
597
|
+
slugsMap: Maybe<Scalars['SlugsMap']['output']>
|
|
587
598
|
}
|
|
588
599
|
|
|
589
600
|
export type SkuVariantsAvailableVariationsArgs = {
|
|
590
|
-
dominantVariantName: InputMaybe<Scalars['String']>
|
|
601
|
+
dominantVariantName: InputMaybe<Scalars['String']['input']>
|
|
591
602
|
}
|
|
592
603
|
|
|
593
604
|
export type SkuVariantsSlugsMapArgs = {
|
|
594
|
-
dominantVariantName: InputMaybe<Scalars['String']>
|
|
605
|
+
dominantVariantName: InputMaybe<Scalars['String']['input']>
|
|
595
606
|
}
|
|
596
607
|
|
|
597
608
|
/** Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers. */
|
|
598
609
|
export type StoreAggregateOffer = {
|
|
599
610
|
/** Highest price among all sellers. */
|
|
600
|
-
highPrice: Scalars['Float']
|
|
611
|
+
highPrice: Scalars['Float']['output']
|
|
601
612
|
/** Lowest price among all sellers. */
|
|
602
|
-
lowPrice: Scalars['Float']
|
|
613
|
+
lowPrice: Scalars['Float']['output']
|
|
603
614
|
/** Number of sellers selling this SKU. */
|
|
604
|
-
offerCount: Scalars['Int']
|
|
615
|
+
offerCount: Scalars['Int']['output']
|
|
605
616
|
/** Array with information on each available offer. */
|
|
606
617
|
offers: Array<StoreOffer>
|
|
607
618
|
/** ISO code of the currency used for the offer prices. */
|
|
608
|
-
priceCurrency: Scalars['String']
|
|
619
|
+
priceCurrency: Scalars['String']['output']
|
|
609
620
|
}
|
|
610
621
|
|
|
611
622
|
/** Average rating, based on multiple ratings or reviews. */
|
|
612
623
|
export type StoreAggregateRating = {
|
|
613
624
|
/** Value of the aggregate rating. */
|
|
614
|
-
ratingValue: Scalars['Float']
|
|
625
|
+
ratingValue: Scalars['Float']['output']
|
|
615
626
|
/** Total number of ratings. */
|
|
616
|
-
reviewCount: Scalars['Int']
|
|
627
|
+
reviewCount: Scalars['Int']['output']
|
|
617
628
|
}
|
|
618
629
|
|
|
619
630
|
/** information about the author of a product review or rating. */
|
|
620
631
|
export type StoreAuthor = {
|
|
621
632
|
/** Author name. */
|
|
622
|
-
name: Scalars['String']
|
|
633
|
+
name: Scalars['String']['output']
|
|
623
634
|
}
|
|
624
635
|
|
|
625
636
|
/** Brand of a given product. */
|
|
626
637
|
export type StoreBrand = {
|
|
627
638
|
/** Brand name. */
|
|
628
|
-
name: Scalars['String']
|
|
639
|
+
name: Scalars['String']['output']
|
|
629
640
|
}
|
|
630
641
|
|
|
631
642
|
/** List of items consisting of chain linked web pages, ending with the current page. */
|
|
@@ -633,7 +644,7 @@ export type StoreBreadcrumbList = {
|
|
|
633
644
|
/** Array with breadcrumb elements. */
|
|
634
645
|
itemListElement: Array<StoreListItem>
|
|
635
646
|
/** Number of breadcrumbs in the list. */
|
|
636
|
-
numberOfItems: Scalars['Int']
|
|
647
|
+
numberOfItems: Scalars['Int']['output']
|
|
637
648
|
}
|
|
638
649
|
|
|
639
650
|
/** Shopping cart information. */
|
|
@@ -649,7 +660,7 @@ export type StoreCartMessage = {
|
|
|
649
660
|
/** Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`. */
|
|
650
661
|
status: StoreStatus
|
|
651
662
|
/** Shopping cart message text. */
|
|
652
|
-
text: Scalars['String']
|
|
663
|
+
text: Scalars['String']['output']
|
|
653
664
|
}
|
|
654
665
|
|
|
655
666
|
/** Product collection information. */
|
|
@@ -657,13 +668,13 @@ export type StoreCollection = {
|
|
|
657
668
|
/** List of items consisting of chain linked web pages, ending with the current page. */
|
|
658
669
|
breadcrumbList: StoreBreadcrumbList
|
|
659
670
|
/** Collection ID. */
|
|
660
|
-
id: Scalars['ID']
|
|
671
|
+
id: Scalars['ID']['output']
|
|
661
672
|
/** Collection meta information. Used for search. */
|
|
662
673
|
meta: StoreCollectionMeta
|
|
663
674
|
/** Meta tag data. */
|
|
664
675
|
seo: StoreSeo
|
|
665
676
|
/** Corresponding collection URL slug, with which to retrieve this entity. */
|
|
666
|
-
slug: Scalars['String']
|
|
677
|
+
slug: Scalars['String']['output']
|
|
667
678
|
/** Collection type. */
|
|
668
679
|
type: StoreCollectionType
|
|
669
680
|
}
|
|
@@ -679,7 +690,7 @@ export type StoreCollectionConnection = {
|
|
|
679
690
|
/** Each collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination. */
|
|
680
691
|
export type StoreCollectionEdge = {
|
|
681
692
|
/** Collection cursor. Used as pagination reference. */
|
|
682
|
-
cursor: Scalars['String']
|
|
693
|
+
cursor: Scalars['String']['output']
|
|
683
694
|
/** Each collection node contains the information of a product collection returned by the query. */
|
|
684
695
|
node: StoreCollection
|
|
685
696
|
}
|
|
@@ -687,9 +698,9 @@ export type StoreCollectionEdge = {
|
|
|
687
698
|
/** Product collection facet, used for search. */
|
|
688
699
|
export type StoreCollectionFacet = {
|
|
689
700
|
/** Facet key. */
|
|
690
|
-
key: Scalars['String']
|
|
701
|
+
key: Scalars['String']['output']
|
|
691
702
|
/** Facet value. */
|
|
692
|
-
value: Scalars['String']
|
|
703
|
+
value: Scalars['String']['output']
|
|
693
704
|
}
|
|
694
705
|
|
|
695
706
|
/** Collection meta information. Used for search. */
|
|
@@ -716,17 +727,17 @@ export type StoreCollectionType =
|
|
|
716
727
|
/** Currency information. */
|
|
717
728
|
export type StoreCurrency = {
|
|
718
729
|
/** Currency code (e.g: USD). */
|
|
719
|
-
code: Scalars['String']
|
|
730
|
+
code: Scalars['String']['output']
|
|
720
731
|
/** Currency symbol (e.g: $). */
|
|
721
|
-
symbol: Scalars['String']
|
|
732
|
+
symbol: Scalars['String']['output']
|
|
722
733
|
}
|
|
723
734
|
|
|
724
735
|
/** Delivery mode information. */
|
|
725
736
|
export type StoreDeliveryMode = {
|
|
726
737
|
/** The delivery channel information of the session. */
|
|
727
|
-
deliveryChannel: Scalars['String']
|
|
738
|
+
deliveryChannel: Scalars['String']['output']
|
|
728
739
|
/** The delivery method information of the session. */
|
|
729
|
-
deliveryMethod: Scalars['String']
|
|
740
|
+
deliveryMethod: Scalars['String']['output']
|
|
730
741
|
/** The delivery window information of the session. */
|
|
731
742
|
deliveryWindow: Maybe<StoreDeliveryWindow>
|
|
732
743
|
}
|
|
@@ -734,9 +745,9 @@ export type StoreDeliveryMode = {
|
|
|
734
745
|
/** Delivery window information. */
|
|
735
746
|
export type StoreDeliveryWindow = {
|
|
736
747
|
/** The delivery window end date information. */
|
|
737
|
-
endDate: Scalars['String']
|
|
748
|
+
endDate: Scalars['String']['output']
|
|
738
749
|
/** The delivery window start date information. */
|
|
739
|
-
startDate: Scalars['String']
|
|
750
|
+
startDate: Scalars['String']['output']
|
|
740
751
|
}
|
|
741
752
|
|
|
742
753
|
export type StoreFacet = StoreFacetBoolean | StoreFacetRange
|
|
@@ -744,9 +755,9 @@ export type StoreFacet = StoreFacetBoolean | StoreFacetRange
|
|
|
744
755
|
/** Search facet boolean information. */
|
|
745
756
|
export type StoreFacetBoolean = {
|
|
746
757
|
/** Facet key. */
|
|
747
|
-
key: Scalars['String']
|
|
758
|
+
key: Scalars['String']['output']
|
|
748
759
|
/** Facet label. */
|
|
749
|
-
label: Scalars['String']
|
|
760
|
+
label: Scalars['String']['output']
|
|
750
761
|
/** Array with information on each facet value. */
|
|
751
762
|
values: Array<StoreFacetValueBoolean>
|
|
752
763
|
}
|
|
@@ -754,9 +765,9 @@ export type StoreFacetBoolean = {
|
|
|
754
765
|
/** Search facet range information. */
|
|
755
766
|
export type StoreFacetRange = {
|
|
756
767
|
/** Facet key. */
|
|
757
|
-
key: Scalars['String']
|
|
768
|
+
key: Scalars['String']['output']
|
|
758
769
|
/** Facet label. */
|
|
759
|
-
label: Scalars['String']
|
|
770
|
+
label: Scalars['String']['output']
|
|
760
771
|
/** Maximum facet range value. */
|
|
761
772
|
max: StoreFacetValueRange
|
|
762
773
|
/** Minimum facet range value. */
|
|
@@ -773,71 +784,71 @@ export type StoreFacetType =
|
|
|
773
784
|
/** Information of a specific facet value. */
|
|
774
785
|
export type StoreFacetValueBoolean = {
|
|
775
786
|
/** Facet value label. */
|
|
776
|
-
label: Scalars['String']
|
|
787
|
+
label: Scalars['String']['output']
|
|
777
788
|
/** Number of items with this facet. */
|
|
778
|
-
quantity: Scalars['Int']
|
|
789
|
+
quantity: Scalars['Int']['output']
|
|
779
790
|
/** Indicates whether facet is selected. */
|
|
780
|
-
selected: Scalars['Boolean']
|
|
791
|
+
selected: Scalars['Boolean']['output']
|
|
781
792
|
/** Facet value. */
|
|
782
|
-
value: Scalars['String']
|
|
793
|
+
value: Scalars['String']['output']
|
|
783
794
|
}
|
|
784
795
|
|
|
785
796
|
/** Search facet range value information. Used for minimum and maximum range values. */
|
|
786
797
|
export type StoreFacetValueRange = {
|
|
787
798
|
/** Search facet range absolute value. */
|
|
788
|
-
absolute: Scalars['Float']
|
|
799
|
+
absolute: Scalars['Float']['output']
|
|
789
800
|
/** Search facet range selected value. */
|
|
790
|
-
selected: Scalars['Float']
|
|
801
|
+
selected: Scalars['Float']['output']
|
|
791
802
|
}
|
|
792
803
|
|
|
793
804
|
/** Geographic coordinates information. */
|
|
794
805
|
export type StoreGeoCoordinates = {
|
|
795
806
|
/** The latitude of the geographic coordinates. */
|
|
796
|
-
latitude: Scalars['Float']
|
|
807
|
+
latitude: Scalars['Float']['output']
|
|
797
808
|
/** The longitude of the geographic coordinates. */
|
|
798
|
-
longitude: Scalars['Float']
|
|
809
|
+
longitude: Scalars['Float']['output']
|
|
799
810
|
}
|
|
800
811
|
|
|
801
812
|
/** Image. */
|
|
802
813
|
export type StoreImage = {
|
|
803
814
|
/** Alias for the image. */
|
|
804
|
-
alternateName: Scalars['String']
|
|
815
|
+
alternateName: Scalars['String']['output']
|
|
805
816
|
/** Image URL. */
|
|
806
|
-
url: Scalars['String']
|
|
817
|
+
url: Scalars['String']['output']
|
|
807
818
|
}
|
|
808
819
|
|
|
809
820
|
/** Item of a list. */
|
|
810
821
|
export type StoreListItem = {
|
|
811
822
|
/** List item value. */
|
|
812
|
-
item: Scalars['String']
|
|
823
|
+
item: Scalars['String']['output']
|
|
813
824
|
/** Name of the list item. */
|
|
814
|
-
name: Scalars['String']
|
|
825
|
+
name: Scalars['String']['output']
|
|
815
826
|
/** Position of the item in the list. */
|
|
816
|
-
position: Scalars['Int']
|
|
827
|
+
position: Scalars['Int']['output']
|
|
817
828
|
}
|
|
818
829
|
|
|
819
830
|
/** Offer information. */
|
|
820
831
|
export type StoreOffer = {
|
|
821
832
|
/** Offer item availability. */
|
|
822
|
-
availability: Scalars['String']
|
|
833
|
+
availability: Scalars['String']['output']
|
|
823
834
|
/** Offer item condition. */
|
|
824
|
-
itemCondition: Scalars['String']
|
|
835
|
+
itemCondition: Scalars['String']['output']
|
|
825
836
|
/** Information on the item being offered. */
|
|
826
837
|
itemOffered: StoreProduct
|
|
827
838
|
/** This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf. */
|
|
828
|
-
listPrice: Scalars['Float']
|
|
839
|
+
listPrice: Scalars['Float']['output']
|
|
829
840
|
/** Also known as spot price. */
|
|
830
|
-
price: Scalars['Float']
|
|
841
|
+
price: Scalars['Float']['output']
|
|
831
842
|
/** ISO code of the currency used for the offer prices. */
|
|
832
|
-
priceCurrency: Scalars['String']
|
|
843
|
+
priceCurrency: Scalars['String']['output']
|
|
833
844
|
/** Next date in which price is scheduled to change. If there is no scheduled change, this will be set a year in the future from current time. */
|
|
834
|
-
priceValidUntil: Scalars['String']
|
|
845
|
+
priceValidUntil: Scalars['String']['output']
|
|
835
846
|
/** Number of items offered. */
|
|
836
|
-
quantity: Scalars['Int']
|
|
847
|
+
quantity: Scalars['Int']['output']
|
|
837
848
|
/** Seller responsible for the offer. */
|
|
838
849
|
seller: StoreOrganization
|
|
839
850
|
/** Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf. */
|
|
840
|
-
sellingPrice: Scalars['Float']
|
|
851
|
+
sellingPrice: Scalars['Float']['output']
|
|
841
852
|
}
|
|
842
853
|
|
|
843
854
|
/** Information of a specific order. */
|
|
@@ -845,39 +856,39 @@ export type StoreOrder = {
|
|
|
845
856
|
/** Array with information on each accepted offer. */
|
|
846
857
|
acceptedOffer: Array<StoreOffer>
|
|
847
858
|
/** ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#). */
|
|
848
|
-
orderNumber: Scalars['String']
|
|
859
|
+
orderNumber: Scalars['String']['output']
|
|
849
860
|
}
|
|
850
861
|
|
|
851
862
|
/** Organization. */
|
|
852
863
|
export type StoreOrganization = {
|
|
853
864
|
/** Organization ID. */
|
|
854
|
-
identifier: Scalars['String']
|
|
865
|
+
identifier: Scalars['String']['output']
|
|
855
866
|
}
|
|
856
867
|
|
|
857
868
|
/** Whenever you make a query that allows for pagination, such as `allProducts` or `allCollections`, you can check `StorePageInfo` to learn more about the complete set of items and use it to paginate your queries. */
|
|
858
869
|
export type StorePageInfo = {
|
|
859
870
|
/** Cursor corresponding to the last possible item. */
|
|
860
|
-
endCursor: Scalars['String']
|
|
871
|
+
endCursor: Scalars['String']['output']
|
|
861
872
|
/** Indicates whether there is at least one more page with items after the ones returned in the current query. */
|
|
862
|
-
hasNextPage: Scalars['Boolean']
|
|
873
|
+
hasNextPage: Scalars['Boolean']['output']
|
|
863
874
|
/** Indicates whether there is at least one more page with items before the ones returned in the current query. */
|
|
864
|
-
hasPreviousPage: Scalars['Boolean']
|
|
875
|
+
hasPreviousPage: Scalars['Boolean']['output']
|
|
865
876
|
/** Cursor corresponding to the first possible item. */
|
|
866
|
-
startCursor: Scalars['String']
|
|
877
|
+
startCursor: Scalars['String']['output']
|
|
867
878
|
/** Total number of items (products or collections), not pages. */
|
|
868
|
-
totalCount: Scalars['Int']
|
|
879
|
+
totalCount: Scalars['Int']['output']
|
|
869
880
|
}
|
|
870
881
|
|
|
871
882
|
/** Client profile data. */
|
|
872
883
|
export type StorePerson = {
|
|
873
884
|
/** Client email. */
|
|
874
|
-
email: Scalars['String']
|
|
885
|
+
email: Scalars['String']['output']
|
|
875
886
|
/** Client last name. */
|
|
876
|
-
familyName: Scalars['String']
|
|
887
|
+
familyName: Scalars['String']['output']
|
|
877
888
|
/** Client first name. */
|
|
878
|
-
givenName: Scalars['String']
|
|
889
|
+
givenName: Scalars['String']['output']
|
|
879
890
|
/** Client ID. */
|
|
880
|
-
id: Scalars['String']
|
|
891
|
+
id: Scalars['String']['output']
|
|
881
892
|
}
|
|
882
893
|
|
|
883
894
|
/** Product information. Products are variants within product groups, equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). For example, you may have a **Shirt** product group with associated products such as **Blue shirt size L**, **Green shirt size XL** and so on. */
|
|
@@ -891,29 +902,29 @@ export type StoreProduct = {
|
|
|
891
902
|
/** List of items consisting of chain linked web pages, ending with the current page. */
|
|
892
903
|
breadcrumbList: StoreBreadcrumbList
|
|
893
904
|
/** Product description. */
|
|
894
|
-
description: Scalars['String']
|
|
905
|
+
description: Scalars['String']['output']
|
|
895
906
|
/** Global Trade Item Number. */
|
|
896
|
-
gtin: Scalars['String']
|
|
907
|
+
gtin: Scalars['String']['output']
|
|
897
908
|
/** Array of images. */
|
|
898
909
|
image: Array<StoreImage>
|
|
899
910
|
/** Indicates product group related to this product. */
|
|
900
911
|
isVariantOf: StoreProductGroup
|
|
901
912
|
/** Product name. */
|
|
902
|
-
name: Scalars['String']
|
|
913
|
+
name: Scalars['String']['output']
|
|
903
914
|
/** Aggregate offer information. */
|
|
904
915
|
offers: StoreAggregateOffer
|
|
905
916
|
/** Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs. */
|
|
906
|
-
productID: Scalars['String']
|
|
917
|
+
productID: Scalars['String']['output']
|
|
907
918
|
/** The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601 */
|
|
908
|
-
releaseDate: Scalars['String']
|
|
919
|
+
releaseDate: Scalars['String']['output']
|
|
909
920
|
/** Array with review information. */
|
|
910
921
|
review: Array<StoreReview>
|
|
911
922
|
/** Meta tag data. */
|
|
912
923
|
seo: StoreSeo
|
|
913
924
|
/** Stock Keeping Unit. Merchant-specific ID for the product. */
|
|
914
|
-
sku: Scalars['String']
|
|
925
|
+
sku: Scalars['String']['output']
|
|
915
926
|
/** Corresponding collection URL slug, with which to retrieve this entity. */
|
|
916
|
-
slug: Scalars['String']
|
|
927
|
+
slug: Scalars['String']['output']
|
|
917
928
|
}
|
|
918
929
|
|
|
919
930
|
/** Product connections, including pagination information and products returned by the query. */
|
|
@@ -927,7 +938,7 @@ export type StoreProductConnection = {
|
|
|
927
938
|
/** Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination. */
|
|
928
939
|
export type StoreProductEdge = {
|
|
929
940
|
/** Product cursor. Used as pagination reference. */
|
|
930
|
-
cursor: Scalars['String']
|
|
941
|
+
cursor: Scalars['String']['output']
|
|
931
942
|
/** Each product node contains the information of a product returned by the query. */
|
|
932
943
|
node: StoreProduct
|
|
933
944
|
}
|
|
@@ -939,9 +950,9 @@ export type StoreProductGroup = {
|
|
|
939
950
|
/** Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#). */
|
|
940
951
|
hasVariant: Array<StoreProduct>
|
|
941
952
|
/** Product group name. */
|
|
942
|
-
name: Scalars['String']
|
|
953
|
+
name: Scalars['String']['output']
|
|
943
954
|
/** Product group ID. */
|
|
944
|
-
productGroupID: Scalars['String']
|
|
955
|
+
productGroupID: Scalars['String']['output']
|
|
945
956
|
/**
|
|
946
957
|
* Object containing data structures to facilitate handling different SKU
|
|
947
958
|
* variant properties. Specially useful for implementing SKU selection
|
|
@@ -953,13 +964,13 @@ export type StoreProductGroup = {
|
|
|
953
964
|
/** Properties that can be associated with products and products groups. */
|
|
954
965
|
export type StorePropertyValue = {
|
|
955
966
|
/** Property name. */
|
|
956
|
-
name: Scalars['String']
|
|
967
|
+
name: Scalars['String']['output']
|
|
957
968
|
/** Property id. This propert changes according to the content of the object. */
|
|
958
|
-
propertyID: Scalars['String']
|
|
969
|
+
propertyID: Scalars['String']['output']
|
|
959
970
|
/** Property value. May hold a string or the string representation of an object. */
|
|
960
|
-
value: Scalars['ObjectOrString']
|
|
971
|
+
value: Scalars['ObjectOrString']['output']
|
|
961
972
|
/** Specifies the nature of the value */
|
|
962
|
-
valueReference: Scalars['String']
|
|
973
|
+
valueReference: Scalars['String']['output']
|
|
963
974
|
}
|
|
964
975
|
|
|
965
976
|
/**
|
|
@@ -968,7 +979,7 @@ export type StorePropertyValue = {
|
|
|
968
979
|
*/
|
|
969
980
|
export type StoreRedirect = {
|
|
970
981
|
/** URL to redirect */
|
|
971
|
-
url: Maybe<Scalars['String']>
|
|
982
|
+
url: Maybe<Scalars['String']['output']>
|
|
972
983
|
}
|
|
973
984
|
|
|
974
985
|
/** Information of a given review. */
|
|
@@ -982,9 +993,9 @@ export type StoreReview = {
|
|
|
982
993
|
/** Information of a given review rating. */
|
|
983
994
|
export type StoreReviewRating = {
|
|
984
995
|
/** Best rating value. */
|
|
985
|
-
bestRating: Scalars['Float']
|
|
996
|
+
bestRating: Scalars['Float']['output']
|
|
986
997
|
/** Rating value. */
|
|
987
|
-
ratingValue: Scalars['Float']
|
|
998
|
+
ratingValue: Scalars['Float']['output']
|
|
988
999
|
}
|
|
989
1000
|
|
|
990
1001
|
/** Search result. */
|
|
@@ -1002,23 +1013,23 @@ export type StoreSearchResult = {
|
|
|
1002
1013
|
/** Search Engine Optimization (SEO) tags data. */
|
|
1003
1014
|
export type StoreSeo = {
|
|
1004
1015
|
/** Canonical tag. */
|
|
1005
|
-
canonical: Scalars['String']
|
|
1016
|
+
canonical: Scalars['String']['output']
|
|
1006
1017
|
/** Description tag. */
|
|
1007
|
-
description: Scalars['String']
|
|
1018
|
+
description: Scalars['String']['output']
|
|
1008
1019
|
/** Title tag. */
|
|
1009
|
-
title: Scalars['String']
|
|
1020
|
+
title: Scalars['String']['output']
|
|
1010
1021
|
/** Title template tag. */
|
|
1011
|
-
titleTemplate: Scalars['String']
|
|
1022
|
+
titleTemplate: Scalars['String']['output']
|
|
1012
1023
|
}
|
|
1013
1024
|
|
|
1014
1025
|
/** Session information. */
|
|
1015
1026
|
export type StoreSession = {
|
|
1016
1027
|
/** Session address type. */
|
|
1017
|
-
addressType: Maybe<Scalars['String']>
|
|
1028
|
+
addressType: Maybe<Scalars['String']['output']>
|
|
1018
1029
|
/** Session channel. */
|
|
1019
|
-
channel: Maybe<Scalars['String']>
|
|
1030
|
+
channel: Maybe<Scalars['String']['output']>
|
|
1020
1031
|
/** Session country. */
|
|
1021
|
-
country: Scalars['String']
|
|
1032
|
+
country: Scalars['String']['output']
|
|
1022
1033
|
/** Session currency. */
|
|
1023
1034
|
currency: StoreCurrency
|
|
1024
1035
|
/** Session delivery mode. */
|
|
@@ -1026,11 +1037,11 @@ export type StoreSession = {
|
|
|
1026
1037
|
/** Session input geoCoordinates. */
|
|
1027
1038
|
geoCoordinates: Maybe<StoreGeoCoordinates>
|
|
1028
1039
|
/** Session locale. */
|
|
1029
|
-
locale: Scalars['String']
|
|
1040
|
+
locale: Scalars['String']['output']
|
|
1030
1041
|
/** Session input person. */
|
|
1031
1042
|
person: Maybe<StorePerson>
|
|
1032
1043
|
/** Session postal code. */
|
|
1033
|
-
postalCode: Maybe<Scalars['String']>
|
|
1044
|
+
postalCode: Maybe<Scalars['String']['output']>
|
|
1034
1045
|
}
|
|
1035
1046
|
|
|
1036
1047
|
/** Product search results sorting options. */
|
|
@@ -1058,9 +1069,9 @@ export type StoreStatus = 'ERROR' | 'INFO' | 'WARNING'
|
|
|
1058
1069
|
/** Suggestion term. */
|
|
1059
1070
|
export type StoreSuggestionTerm = {
|
|
1060
1071
|
/** Its occurrences count. */
|
|
1061
|
-
count: Scalars['Int']
|
|
1072
|
+
count: Scalars['Int']['output']
|
|
1062
1073
|
/** The term. */
|
|
1063
|
-
value: Scalars['String']
|
|
1074
|
+
value: Scalars['String']['output']
|
|
1064
1075
|
}
|
|
1065
1076
|
|
|
1066
1077
|
/** Suggestions information. */
|
|
@@ -1092,7 +1103,7 @@ export type ProductSummary_ProductFragment = {
|
|
|
1092
1103
|
}
|
|
1093
1104
|
}
|
|
1094
1105
|
|
|
1095
|
-
|
|
1106
|
+
type Filter_Facets_StoreFacetBoolean_Fragment = {
|
|
1096
1107
|
__typename: 'StoreFacetBoolean'
|
|
1097
1108
|
key: string
|
|
1098
1109
|
label: string
|
|
@@ -1104,7 +1115,7 @@ export type Filter_Facets_StoreFacetBoolean_Fragment = {
|
|
|
1104
1115
|
}>
|
|
1105
1116
|
}
|
|
1106
1117
|
|
|
1107
|
-
|
|
1118
|
+
type Filter_Facets_StoreFacetRange_Fragment = {
|
|
1108
1119
|
__typename: 'StoreFacetRange'
|
|
1109
1120
|
key: string
|
|
1110
1121
|
label: string
|
|
@@ -1177,7 +1188,7 @@ export type ServerCollectionPageFragment = { collection: { id: string } }
|
|
|
1177
1188
|
export type ServerProductFragment = { product: { id: string } }
|
|
1178
1189
|
|
|
1179
1190
|
export type ServerCollectionPageQueryQueryVariables = Exact<{
|
|
1180
|
-
slug: Scalars['String']
|
|
1191
|
+
slug: Scalars['String']['input']
|
|
1181
1192
|
}>
|
|
1182
1193
|
|
|
1183
1194
|
export type ServerCollectionPageQueryQuery = {
|
|
@@ -1346,10 +1357,10 @@ export type SubscribeToNewsletterMutation = {
|
|
|
1346
1357
|
}
|
|
1347
1358
|
|
|
1348
1359
|
export type ClientManyProductsQueryQueryVariables = Exact<{
|
|
1349
|
-
first: Scalars['Int']
|
|
1350
|
-
after: InputMaybe<Scalars['String']>
|
|
1360
|
+
first: Scalars['Int']['input']
|
|
1361
|
+
after: InputMaybe<Scalars['String']['input']>
|
|
1351
1362
|
sort: StoreSort
|
|
1352
|
-
term: Scalars['String']
|
|
1363
|
+
term: Scalars['String']['input']
|
|
1353
1364
|
selectedFacets: Array<IStoreSelectedFacet> | IStoreSelectedFacet
|
|
1354
1365
|
}>
|
|
1355
1366
|
|
|
@@ -1383,16 +1394,11 @@ export type ClientManyProductsQueryQuery = {
|
|
|
1383
1394
|
}
|
|
1384
1395
|
}
|
|
1385
1396
|
|
|
1386
|
-
export type SearchEvent_MetadataFragment = {
|
|
1387
|
-
isTermMisspelled: boolean
|
|
1388
|
-
logicalOperator: string
|
|
1389
|
-
}
|
|
1390
|
-
|
|
1391
1397
|
export type ClientProductGalleryQueryQueryVariables = Exact<{
|
|
1392
|
-
first: Scalars['Int']
|
|
1393
|
-
after: Scalars['String']
|
|
1398
|
+
first: Scalars['Int']['input']
|
|
1399
|
+
after: Scalars['String']['input']
|
|
1394
1400
|
sort: StoreSort
|
|
1395
|
-
term: Scalars['String']
|
|
1401
|
+
term: Scalars['String']['input']
|
|
1396
1402
|
selectedFacets: Array<IStoreSelectedFacet> | IStoreSelectedFacet
|
|
1397
1403
|
}>
|
|
1398
1404
|
|
|
@@ -1423,6 +1429,11 @@ export type ClientProductGalleryQueryQuery = {
|
|
|
1423
1429
|
}
|
|
1424
1430
|
}
|
|
1425
1431
|
|
|
1432
|
+
export type SearchEvent_MetadataFragment = {
|
|
1433
|
+
isTermMisspelled: boolean
|
|
1434
|
+
logicalOperator: string
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1426
1437
|
export type ClientProductQueryQueryVariables = Exact<{
|
|
1427
1438
|
locator: Array<IStoreSelectedFacet> | IStoreSelectedFacet
|
|
1428
1439
|
}>
|
|
@@ -1464,7 +1475,7 @@ export type ClientProductQueryQuery = {
|
|
|
1464
1475
|
}
|
|
1465
1476
|
|
|
1466
1477
|
export type ClientSearchSuggestionsQueryQueryVariables = Exact<{
|
|
1467
|
-
term: Scalars['String']
|
|
1478
|
+
term: Scalars['String']['input']
|
|
1468
1479
|
selectedFacets: InputMaybe<Array<IStoreSelectedFacet> | IStoreSelectedFacet>
|
|
1469
1480
|
}>
|
|
1470
1481
|
|
|
@@ -1499,7 +1510,7 @@ export type ClientSearchSuggestionsQueryQuery = {
|
|
|
1499
1510
|
}
|
|
1500
1511
|
|
|
1501
1512
|
export type ClientTopSearchSuggestionsQueryQueryVariables = Exact<{
|
|
1502
|
-
term: Scalars['String']
|
|
1513
|
+
term: Scalars['String']['input']
|
|
1503
1514
|
selectedFacets: InputMaybe<Array<IStoreSelectedFacet> | IStoreSelectedFacet>
|
|
1504
1515
|
}>
|
|
1505
1516
|
|
|
@@ -1509,7 +1520,7 @@ export type ClientTopSearchSuggestionsQueryQuery = {
|
|
|
1509
1520
|
|
|
1510
1521
|
export type ValidateSessionMutationVariables = Exact<{
|
|
1511
1522
|
session: IStoreSession
|
|
1512
|
-
search: Scalars['String']
|
|
1523
|
+
search: Scalars['String']['input']
|
|
1513
1524
|
}>
|
|
1514
1525
|
|
|
1515
1526
|
export type ValidateSessionMutation = {
|
|
@@ -1536,8 +1547,8 @@ export type ValidateSessionMutation = {
|
|
|
1536
1547
|
}
|
|
1537
1548
|
|
|
1538
1549
|
export type ClientShippingSimulationQueryQueryVariables = Exact<{
|
|
1539
|
-
postalCode: Scalars['String']
|
|
1540
|
-
country: Scalars['String']
|
|
1550
|
+
postalCode: Scalars['String']['input']
|
|
1551
|
+
country: Scalars['String']['input']
|
|
1541
1552
|
items: Array<IShippingItem> | IShippingItem
|
|
1542
1553
|
}>
|
|
1543
1554
|
|
|
@@ -1564,3 +1575,458 @@ export type ClientShippingSimulationQueryQuery = {
|
|
|
1564
1575
|
} | null
|
|
1565
1576
|
} | null
|
|
1566
1577
|
}
|
|
1578
|
+
|
|
1579
|
+
export class TypedDocumentString<TResult, TVariables>
|
|
1580
|
+
extends String
|
|
1581
|
+
implements DocumentTypeDecoration<TResult, TVariables>
|
|
1582
|
+
{
|
|
1583
|
+
__apiType?: DocumentTypeDecoration<TResult, TVariables>['__apiType']
|
|
1584
|
+
|
|
1585
|
+
constructor(private value: string, public __meta__?: Record<string, any>) {
|
|
1586
|
+
super(value)
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
toString(): string & DocumentTypeDecoration<TResult, TVariables> {
|
|
1590
|
+
return this.value
|
|
1591
|
+
}
|
|
1592
|
+
}
|
|
1593
|
+
export const ProductSummary_ProductFragmentDoc = new TypedDocumentString(
|
|
1594
|
+
`
|
|
1595
|
+
fragment ProductSummary_product on StoreProduct {
|
|
1596
|
+
id: productID
|
|
1597
|
+
slug
|
|
1598
|
+
sku
|
|
1599
|
+
brand {
|
|
1600
|
+
brandName: name
|
|
1601
|
+
}
|
|
1602
|
+
name
|
|
1603
|
+
gtin
|
|
1604
|
+
isVariantOf {
|
|
1605
|
+
productGroupID
|
|
1606
|
+
name
|
|
1607
|
+
}
|
|
1608
|
+
image {
|
|
1609
|
+
url
|
|
1610
|
+
alternateName
|
|
1611
|
+
}
|
|
1612
|
+
brand {
|
|
1613
|
+
name
|
|
1614
|
+
}
|
|
1615
|
+
offers {
|
|
1616
|
+
lowPrice
|
|
1617
|
+
offers {
|
|
1618
|
+
availability
|
|
1619
|
+
price
|
|
1620
|
+
listPrice
|
|
1621
|
+
quantity
|
|
1622
|
+
seller {
|
|
1623
|
+
identifier
|
|
1624
|
+
}
|
|
1625
|
+
}
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
`,
|
|
1629
|
+
{ fragmentName: 'ProductSummary_product' }
|
|
1630
|
+
) as unknown as TypedDocumentString<ProductSummary_ProductFragment, unknown>
|
|
1631
|
+
export const Filter_FacetsFragmentDoc = new TypedDocumentString(
|
|
1632
|
+
`
|
|
1633
|
+
fragment Filter_facets on StoreFacet {
|
|
1634
|
+
... on StoreFacetRange {
|
|
1635
|
+
key
|
|
1636
|
+
label
|
|
1637
|
+
min {
|
|
1638
|
+
selected
|
|
1639
|
+
absolute
|
|
1640
|
+
}
|
|
1641
|
+
max {
|
|
1642
|
+
selected
|
|
1643
|
+
absolute
|
|
1644
|
+
}
|
|
1645
|
+
__typename
|
|
1646
|
+
}
|
|
1647
|
+
... on StoreFacetBoolean {
|
|
1648
|
+
key
|
|
1649
|
+
label
|
|
1650
|
+
values {
|
|
1651
|
+
label
|
|
1652
|
+
value
|
|
1653
|
+
selected
|
|
1654
|
+
quantity
|
|
1655
|
+
}
|
|
1656
|
+
__typename
|
|
1657
|
+
}
|
|
1658
|
+
}
|
|
1659
|
+
`,
|
|
1660
|
+
{ fragmentName: 'Filter_facets' }
|
|
1661
|
+
) as unknown as TypedDocumentString<Filter_FacetsFragment, unknown>
|
|
1662
|
+
export const CartProductItemFragmentDoc = new TypedDocumentString(
|
|
1663
|
+
`
|
|
1664
|
+
fragment CartProductItem on StoreProduct {
|
|
1665
|
+
sku
|
|
1666
|
+
name
|
|
1667
|
+
image {
|
|
1668
|
+
url
|
|
1669
|
+
alternateName
|
|
1670
|
+
}
|
|
1671
|
+
brand {
|
|
1672
|
+
name
|
|
1673
|
+
}
|
|
1674
|
+
isVariantOf {
|
|
1675
|
+
productGroupID
|
|
1676
|
+
name
|
|
1677
|
+
skuVariants {
|
|
1678
|
+
activeVariations
|
|
1679
|
+
slugsMap
|
|
1680
|
+
availableVariations
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
gtin
|
|
1684
|
+
additionalProperty {
|
|
1685
|
+
propertyID
|
|
1686
|
+
name
|
|
1687
|
+
value
|
|
1688
|
+
valueReference
|
|
1689
|
+
}
|
|
1690
|
+
}
|
|
1691
|
+
`,
|
|
1692
|
+
{ fragmentName: 'CartProductItem' }
|
|
1693
|
+
) as unknown as TypedDocumentString<CartProductItemFragment, unknown>
|
|
1694
|
+
export const ProductDetailsFragment_ProductFragmentDoc =
|
|
1695
|
+
new TypedDocumentString(
|
|
1696
|
+
`
|
|
1697
|
+
fragment ProductDetailsFragment_product on StoreProduct {
|
|
1698
|
+
id: productID
|
|
1699
|
+
sku
|
|
1700
|
+
name
|
|
1701
|
+
gtin
|
|
1702
|
+
description
|
|
1703
|
+
isVariantOf {
|
|
1704
|
+
name
|
|
1705
|
+
productGroupID
|
|
1706
|
+
skuVariants {
|
|
1707
|
+
activeVariations
|
|
1708
|
+
slugsMap
|
|
1709
|
+
availableVariations
|
|
1710
|
+
}
|
|
1711
|
+
}
|
|
1712
|
+
image {
|
|
1713
|
+
url
|
|
1714
|
+
alternateName
|
|
1715
|
+
}
|
|
1716
|
+
brand {
|
|
1717
|
+
name
|
|
1718
|
+
}
|
|
1719
|
+
offers {
|
|
1720
|
+
lowPrice
|
|
1721
|
+
offers {
|
|
1722
|
+
availability
|
|
1723
|
+
price
|
|
1724
|
+
listPrice
|
|
1725
|
+
seller {
|
|
1726
|
+
identifier
|
|
1727
|
+
}
|
|
1728
|
+
}
|
|
1729
|
+
}
|
|
1730
|
+
...CartProductItem
|
|
1731
|
+
}
|
|
1732
|
+
fragment CartProductItem on StoreProduct {
|
|
1733
|
+
sku
|
|
1734
|
+
name
|
|
1735
|
+
image {
|
|
1736
|
+
url
|
|
1737
|
+
alternateName
|
|
1738
|
+
}
|
|
1739
|
+
brand {
|
|
1740
|
+
name
|
|
1741
|
+
}
|
|
1742
|
+
isVariantOf {
|
|
1743
|
+
productGroupID
|
|
1744
|
+
name
|
|
1745
|
+
skuVariants {
|
|
1746
|
+
activeVariations
|
|
1747
|
+
slugsMap
|
|
1748
|
+
availableVariations
|
|
1749
|
+
}
|
|
1750
|
+
}
|
|
1751
|
+
gtin
|
|
1752
|
+
additionalProperty {
|
|
1753
|
+
propertyID
|
|
1754
|
+
name
|
|
1755
|
+
value
|
|
1756
|
+
valueReference
|
|
1757
|
+
}
|
|
1758
|
+
}`,
|
|
1759
|
+
{ fragmentName: 'ProductDetailsFragment_product' }
|
|
1760
|
+
) as unknown as TypedDocumentString<
|
|
1761
|
+
ProductDetailsFragment_ProductFragment,
|
|
1762
|
+
unknown
|
|
1763
|
+
>
|
|
1764
|
+
export const ClientManyProductsFragmentDoc = new TypedDocumentString(
|
|
1765
|
+
`
|
|
1766
|
+
fragment ClientManyProducts on Query {
|
|
1767
|
+
search(
|
|
1768
|
+
first: $first
|
|
1769
|
+
after: $after
|
|
1770
|
+
sort: $sort
|
|
1771
|
+
term: $term
|
|
1772
|
+
selectedFacets: $selectedFacets
|
|
1773
|
+
) {
|
|
1774
|
+
products {
|
|
1775
|
+
pageInfo {
|
|
1776
|
+
totalCount
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
`,
|
|
1782
|
+
{ fragmentName: 'ClientManyProducts' }
|
|
1783
|
+
) as unknown as TypedDocumentString<ClientManyProductsFragment, unknown>
|
|
1784
|
+
export const ClientProductFragmentDoc = new TypedDocumentString(
|
|
1785
|
+
`
|
|
1786
|
+
fragment ClientProduct on Query {
|
|
1787
|
+
product(locator: $locator) {
|
|
1788
|
+
id: productID
|
|
1789
|
+
}
|
|
1790
|
+
}
|
|
1791
|
+
`,
|
|
1792
|
+
{ fragmentName: 'ClientProduct' }
|
|
1793
|
+
) as unknown as TypedDocumentString<ClientProductFragment, unknown>
|
|
1794
|
+
export const ClientProductGalleryFragmentDoc = new TypedDocumentString(
|
|
1795
|
+
`
|
|
1796
|
+
fragment ClientProductGallery on Query {
|
|
1797
|
+
search(
|
|
1798
|
+
first: $first
|
|
1799
|
+
after: $after
|
|
1800
|
+
sort: $sort
|
|
1801
|
+
term: $term
|
|
1802
|
+
selectedFacets: $selectedFacets
|
|
1803
|
+
) {
|
|
1804
|
+
products {
|
|
1805
|
+
pageInfo {
|
|
1806
|
+
totalCount
|
|
1807
|
+
}
|
|
1808
|
+
}
|
|
1809
|
+
}
|
|
1810
|
+
}
|
|
1811
|
+
`,
|
|
1812
|
+
{ fragmentName: 'ClientProductGallery' }
|
|
1813
|
+
) as unknown as TypedDocumentString<ClientProductGalleryFragment, unknown>
|
|
1814
|
+
export const ClientSearchSuggestionsFragmentDoc = new TypedDocumentString(
|
|
1815
|
+
`
|
|
1816
|
+
fragment ClientSearchSuggestions on Query {
|
|
1817
|
+
search(first: 5, term: $term, selectedFacets: $selectedFacets) {
|
|
1818
|
+
suggestions {
|
|
1819
|
+
terms {
|
|
1820
|
+
value
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
}
|
|
1825
|
+
`,
|
|
1826
|
+
{ fragmentName: 'ClientSearchSuggestions' }
|
|
1827
|
+
) as unknown as TypedDocumentString<ClientSearchSuggestionsFragment, unknown>
|
|
1828
|
+
export const ClientShippingSimulationFragmentDoc = new TypedDocumentString(
|
|
1829
|
+
`
|
|
1830
|
+
fragment ClientShippingSimulation on Query {
|
|
1831
|
+
shipping(items: $items, postalCode: $postalCode, country: $country) {
|
|
1832
|
+
address {
|
|
1833
|
+
city
|
|
1834
|
+
}
|
|
1835
|
+
}
|
|
1836
|
+
}
|
|
1837
|
+
`,
|
|
1838
|
+
{ fragmentName: 'ClientShippingSimulation' }
|
|
1839
|
+
) as unknown as TypedDocumentString<ClientShippingSimulationFragment, unknown>
|
|
1840
|
+
export const ClientTopSearchSuggestionsFragmentDoc = new TypedDocumentString(
|
|
1841
|
+
`
|
|
1842
|
+
fragment ClientTopSearchSuggestions on Query {
|
|
1843
|
+
search(first: 5, term: $term, selectedFacets: $selectedFacets) {
|
|
1844
|
+
suggestions {
|
|
1845
|
+
terms {
|
|
1846
|
+
value
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
}
|
|
1851
|
+
`,
|
|
1852
|
+
{ fragmentName: 'ClientTopSearchSuggestions' }
|
|
1853
|
+
) as unknown as TypedDocumentString<ClientTopSearchSuggestionsFragment, unknown>
|
|
1854
|
+
export const ServerCollectionPageFragmentDoc = new TypedDocumentString(
|
|
1855
|
+
`
|
|
1856
|
+
fragment ServerCollectionPage on Query {
|
|
1857
|
+
collection(slug: $slug) {
|
|
1858
|
+
id
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
`,
|
|
1862
|
+
{ fragmentName: 'ServerCollectionPage' }
|
|
1863
|
+
) as unknown as TypedDocumentString<ServerCollectionPageFragment, unknown>
|
|
1864
|
+
export const ServerProductFragmentDoc = new TypedDocumentString(
|
|
1865
|
+
`
|
|
1866
|
+
fragment ServerProduct on Query {
|
|
1867
|
+
product(locator: $locator) {
|
|
1868
|
+
id: productID
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
`,
|
|
1872
|
+
{ fragmentName: 'ServerProduct' }
|
|
1873
|
+
) as unknown as TypedDocumentString<ServerProductFragment, unknown>
|
|
1874
|
+
export const CartMessageFragmentDoc = new TypedDocumentString(
|
|
1875
|
+
`
|
|
1876
|
+
fragment CartMessage on StoreCartMessage {
|
|
1877
|
+
text
|
|
1878
|
+
status
|
|
1879
|
+
}
|
|
1880
|
+
`,
|
|
1881
|
+
{ fragmentName: 'CartMessage' }
|
|
1882
|
+
) as unknown as TypedDocumentString<CartMessageFragment, unknown>
|
|
1883
|
+
export const CartItemFragmentDoc = new TypedDocumentString(
|
|
1884
|
+
`
|
|
1885
|
+
fragment CartItem on StoreOffer {
|
|
1886
|
+
seller {
|
|
1887
|
+
identifier
|
|
1888
|
+
}
|
|
1889
|
+
quantity
|
|
1890
|
+
price
|
|
1891
|
+
listPrice
|
|
1892
|
+
itemOffered {
|
|
1893
|
+
...CartProductItem
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
fragment CartProductItem on StoreProduct {
|
|
1897
|
+
sku
|
|
1898
|
+
name
|
|
1899
|
+
image {
|
|
1900
|
+
url
|
|
1901
|
+
alternateName
|
|
1902
|
+
}
|
|
1903
|
+
brand {
|
|
1904
|
+
name
|
|
1905
|
+
}
|
|
1906
|
+
isVariantOf {
|
|
1907
|
+
productGroupID
|
|
1908
|
+
name
|
|
1909
|
+
skuVariants {
|
|
1910
|
+
activeVariations
|
|
1911
|
+
slugsMap
|
|
1912
|
+
availableVariations
|
|
1913
|
+
}
|
|
1914
|
+
}
|
|
1915
|
+
gtin
|
|
1916
|
+
additionalProperty {
|
|
1917
|
+
propertyID
|
|
1918
|
+
name
|
|
1919
|
+
value
|
|
1920
|
+
valueReference
|
|
1921
|
+
}
|
|
1922
|
+
}`,
|
|
1923
|
+
{ fragmentName: 'CartItem' }
|
|
1924
|
+
) as unknown as TypedDocumentString<CartItemFragment, unknown>
|
|
1925
|
+
export const SearchEvent_MetadataFragmentDoc = new TypedDocumentString(
|
|
1926
|
+
`
|
|
1927
|
+
fragment SearchEvent_metadata on SearchMetadata {
|
|
1928
|
+
isTermMisspelled
|
|
1929
|
+
logicalOperator
|
|
1930
|
+
}
|
|
1931
|
+
`,
|
|
1932
|
+
{ fragmentName: 'SearchEvent_metadata' }
|
|
1933
|
+
) as unknown as TypedDocumentString<SearchEvent_MetadataFragment, unknown>
|
|
1934
|
+
export const ServerCollectionPageQueryDocument = {
|
|
1935
|
+
__meta__: {
|
|
1936
|
+
operationName: 'ServerCollectionPageQuery',
|
|
1937
|
+
operationHash: '4b33c5c07f440dc7489e55619dc2211a13786e72',
|
|
1938
|
+
},
|
|
1939
|
+
} as unknown as TypedDocumentString<
|
|
1940
|
+
ServerCollectionPageQueryQuery,
|
|
1941
|
+
ServerCollectionPageQueryQueryVariables
|
|
1942
|
+
>
|
|
1943
|
+
export const ServerProductQueryDocument = {
|
|
1944
|
+
__meta__: {
|
|
1945
|
+
operationName: 'ServerProductQuery',
|
|
1946
|
+
operationHash: 'bf778aa3411fa194094d24f73250124d60496121',
|
|
1947
|
+
},
|
|
1948
|
+
} as unknown as TypedDocumentString<
|
|
1949
|
+
ServerProductQueryQuery,
|
|
1950
|
+
ServerProductQueryQueryVariables
|
|
1951
|
+
>
|
|
1952
|
+
export const ValidateCartMutationDocument = {
|
|
1953
|
+
__meta__: {
|
|
1954
|
+
operationName: 'ValidateCartMutation',
|
|
1955
|
+
operationHash: '87e1ba227013cb087bcbb35584c1b0b7cdf612ef',
|
|
1956
|
+
},
|
|
1957
|
+
} as unknown as TypedDocumentString<
|
|
1958
|
+
ValidateCartMutationMutation,
|
|
1959
|
+
ValidateCartMutationMutationVariables
|
|
1960
|
+
>
|
|
1961
|
+
export const SubscribeToNewsletterDocument = {
|
|
1962
|
+
__meta__: {
|
|
1963
|
+
operationName: 'SubscribeToNewsletter',
|
|
1964
|
+
operationHash: 'feb7005103a859e2bc8cf2360d568806fd88deba',
|
|
1965
|
+
},
|
|
1966
|
+
} as unknown as TypedDocumentString<
|
|
1967
|
+
SubscribeToNewsletterMutation,
|
|
1968
|
+
SubscribeToNewsletterMutationVariables
|
|
1969
|
+
>
|
|
1970
|
+
export const ClientManyProductsQueryDocument = {
|
|
1971
|
+
__meta__: {
|
|
1972
|
+
operationName: 'ClientManyProductsQuery',
|
|
1973
|
+
operationHash: 'b854e384d076dc482f0afe016b604d527f2562a3',
|
|
1974
|
+
},
|
|
1975
|
+
} as unknown as TypedDocumentString<
|
|
1976
|
+
ClientManyProductsQueryQuery,
|
|
1977
|
+
ClientManyProductsQueryQueryVariables
|
|
1978
|
+
>
|
|
1979
|
+
export const ClientProductGalleryQueryDocument = {
|
|
1980
|
+
__meta__: {
|
|
1981
|
+
operationName: 'ClientProductGalleryQuery',
|
|
1982
|
+
operationHash: '6d9e14e3ac08a539b7df06ad644b7f34527d9493',
|
|
1983
|
+
},
|
|
1984
|
+
} as unknown as TypedDocumentString<
|
|
1985
|
+
ClientProductGalleryQueryQuery,
|
|
1986
|
+
ClientProductGalleryQueryQueryVariables
|
|
1987
|
+
>
|
|
1988
|
+
export const ClientProductQueryDocument = {
|
|
1989
|
+
__meta__: {
|
|
1990
|
+
operationName: 'ClientProductQuery',
|
|
1991
|
+
operationHash: 'e535e4897bf98968b8ce0a59af64212c4a746e6f',
|
|
1992
|
+
},
|
|
1993
|
+
} as unknown as TypedDocumentString<
|
|
1994
|
+
ClientProductQueryQuery,
|
|
1995
|
+
ClientProductQueryQueryVariables
|
|
1996
|
+
>
|
|
1997
|
+
export const ClientSearchSuggestionsQueryDocument = {
|
|
1998
|
+
__meta__: {
|
|
1999
|
+
operationName: 'ClientSearchSuggestionsQuery',
|
|
2000
|
+
operationHash: '31f2520a6ab19cf0773667e14b382c27abf5e485',
|
|
2001
|
+
},
|
|
2002
|
+
} as unknown as TypedDocumentString<
|
|
2003
|
+
ClientSearchSuggestionsQueryQuery,
|
|
2004
|
+
ClientSearchSuggestionsQueryQueryVariables
|
|
2005
|
+
>
|
|
2006
|
+
export const ClientTopSearchSuggestionsQueryDocument = {
|
|
2007
|
+
__meta__: {
|
|
2008
|
+
operationName: 'ClientTopSearchSuggestionsQuery',
|
|
2009
|
+
operationHash: 'e2385b0f11726d0068f96548f57a8dd441c064e3',
|
|
2010
|
+
},
|
|
2011
|
+
} as unknown as TypedDocumentString<
|
|
2012
|
+
ClientTopSearchSuggestionsQueryQuery,
|
|
2013
|
+
ClientTopSearchSuggestionsQueryQueryVariables
|
|
2014
|
+
>
|
|
2015
|
+
export const ValidateSessionDocument = {
|
|
2016
|
+
__meta__: {
|
|
2017
|
+
operationName: 'ValidateSession',
|
|
2018
|
+
operationHash: '5696202828f9275216a445e316ebf516f168c506',
|
|
2019
|
+
},
|
|
2020
|
+
} as unknown as TypedDocumentString<
|
|
2021
|
+
ValidateSessionMutation,
|
|
2022
|
+
ValidateSessionMutationVariables
|
|
2023
|
+
>
|
|
2024
|
+
export const ClientShippingSimulationQueryDocument = {
|
|
2025
|
+
__meta__: {
|
|
2026
|
+
operationName: 'ClientShippingSimulationQuery',
|
|
2027
|
+
operationHash: 'd6667f1de2a26b94b9b55f4b25d7d823f82635a0',
|
|
2028
|
+
},
|
|
2029
|
+
} as unknown as TypedDocumentString<
|
|
2030
|
+
ClientShippingSimulationQueryQuery,
|
|
2031
|
+
ClientShippingSimulationQueryQueryVariables
|
|
2032
|
+
>
|