@faststore/core 3.0.17 → 3.0.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (232) hide show
  1. package/.next/BUILD_ID +1 -1
  2. package/.next/build-manifest.json +90 -89
  3. package/.next/cache/.tsbuildinfo +1 -1
  4. package/.next/cache/eslint/.cache_abdhua +1 -0
  5. package/.next/cache/next-server.js.nft.json +1 -0
  6. package/.next/cache/webpack/client-development/0.pack +0 -0
  7. package/.next/cache/webpack/client-development/1.pack +0 -0
  8. package/.next/cache/webpack/client-development/2.pack +0 -0
  9. package/.next/cache/webpack/client-development/index.pack +0 -0
  10. package/.next/cache/webpack/client-development/index.pack.old +0 -0
  11. package/.next/cache/webpack/client-production/0.pack +0 -0
  12. package/.next/cache/webpack/client-production/1.pack +0 -0
  13. package/.next/cache/webpack/client-production/2.pack +0 -0
  14. package/.next/cache/webpack/client-production/index.pack +0 -0
  15. package/.next/cache/webpack/client-production/index.pack.old +0 -0
  16. package/.next/cache/webpack/server-development/0.pack +0 -0
  17. package/.next/cache/webpack/server-development/1.pack +0 -0
  18. package/.next/cache/webpack/server-development/2.pack +0 -0
  19. package/.next/cache/webpack/server-development/3.pack +0 -0
  20. package/.next/cache/webpack/server-development/4.pack +0 -0
  21. package/.next/cache/webpack/server-development/index.pack +0 -0
  22. package/.next/cache/webpack/server-development/index.pack.old +0 -0
  23. package/.next/cache/webpack/server-production/0.pack +0 -0
  24. package/.next/cache/webpack/server-production/1.pack +0 -0
  25. package/.next/cache/webpack/server-production/2.pack +0 -0
  26. package/.next/cache/webpack/server-production/index.pack +0 -0
  27. package/.next/cache/webpack/server-production/index.pack.old +0 -0
  28. package/.next/images-manifest.json +1 -1
  29. package/.next/next-server.js.nft.json +1 -1
  30. package/.next/prerender-manifest.json +1 -1
  31. package/.next/react-loadable-manifest.json +18 -18
  32. package/.next/required-server-files.json +1 -1
  33. package/.next/routes-manifest.json +1 -1
  34. package/.next/server/chunks/117.js +430 -0
  35. package/.next/server/chunks/177.js +125 -0
  36. package/.next/server/chunks/183.js +122 -0
  37. package/.next/server/chunks/184.js +61 -0
  38. package/.next/server/chunks/289.js +240 -0
  39. package/.next/server/chunks/312.js +678 -0
  40. package/.next/server/chunks/350.js +2834 -0
  41. package/.next/server/chunks/386.js +200 -0
  42. package/.next/server/chunks/390.js +550 -0
  43. package/.next/server/chunks/398.js +611 -0
  44. package/.next/server/chunks/404.js +434 -1
  45. package/.next/server/chunks/53.js +61 -0
  46. package/.next/server/chunks/57.js +434 -1
  47. package/.next/server/chunks/574.js +145 -0
  48. package/.next/server/chunks/576.js +122 -0
  49. package/.next/server/chunks/585.js +640 -0
  50. package/.next/server/chunks/676.js +32 -0
  51. package/.next/server/chunks/693.js +58 -1
  52. package/.next/server/chunks/732.js +1881 -0
  53. package/.next/server/chunks/74.js +4066 -0
  54. package/.next/server/chunks/779.js +58 -1
  55. package/.next/server/chunks/825.js +4074 -0
  56. package/.next/server/chunks/854.js +72 -0
  57. package/.next/server/chunks/859.js +957 -4
  58. package/.next/server/chunks/863.js +111 -0
  59. package/.next/server/chunks/979.js +1305 -0
  60. package/.next/server/chunks/98.js +163 -0
  61. package/.next/server/chunks/988.js +211 -0
  62. package/.next/server/middleware-build-manifest.js +1 -1
  63. package/.next/server/middleware-react-loadable-manifest.js +1 -1
  64. package/.next/server/pages/404.js +391 -1
  65. package/.next/server/pages/404.js.nft.json +1 -1
  66. package/.next/server/pages/500.js +395 -1
  67. package/.next/server/pages/500.js.nft.json +1 -1
  68. package/.next/server/pages/[...slug].js +1076 -1
  69. package/.next/server/pages/[...slug].js.nft.json +1 -1
  70. package/.next/server/pages/[slug]/p.js +2265 -1
  71. package/.next/server/pages/[slug]/p.js.nft.json +1 -1
  72. package/.next/server/pages/_app.js +301 -1
  73. package/.next/server/pages/_app.js.nft.json +1 -1
  74. package/.next/server/pages/_document.js +363 -1
  75. package/.next/server/pages/_document.js.nft.json +1 -1
  76. package/.next/server/pages/_error.js +164 -1
  77. package/.next/server/pages/_error.js.nft.json +1 -1
  78. package/.next/server/pages/account.js +370 -1
  79. package/.next/server/pages/account.js.nft.json +1 -1
  80. package/.next/server/pages/api/graphql.js +2999 -1
  81. package/.next/server/pages/api/graphql.js.nft.json +1 -1
  82. package/.next/server/pages/api/health/live.js +31 -1
  83. package/.next/server/pages/api/health/live.js.nft.json +1 -1
  84. package/.next/server/pages/api/health/ready.js +31 -1
  85. package/.next/server/pages/api/health/ready.js.nft.json +1 -1
  86. package/.next/server/pages/api/preview.js +137 -1
  87. package/.next/server/pages/api/preview.js.nft.json +1 -1
  88. package/.next/server/pages/checkout.js +370 -1
  89. package/.next/server/pages/checkout.js.nft.json +1 -1
  90. package/.next/server/pages/en-US/404.html +2 -2
  91. package/.next/server/pages/en-US/404.json +1 -1
  92. package/.next/server/pages/en-US/500.html +2 -2
  93. package/.next/server/pages/en-US/500.json +1 -1
  94. package/.next/server/pages/en-US/account.html +2 -2
  95. package/.next/server/pages/en-US/account.json +1 -1
  96. package/.next/server/pages/en-US/checkout.html +2 -2
  97. package/.next/server/pages/en-US/checkout.json +1 -1
  98. package/.next/server/pages/en-US/login.html +2 -2
  99. package/.next/server/pages/en-US/login.json +1 -1
  100. package/.next/server/pages/en-US/s.html +2 -2
  101. package/.next/server/pages/en-US/s.json +1 -1
  102. package/.next/server/pages/en-US.html +5 -5
  103. package/.next/server/pages/en-US.json +1 -1
  104. package/.next/server/pages/index.js +439 -1
  105. package/.next/server/pages/index.js.nft.json +1 -1
  106. package/.next/server/pages/login.js +382 -1
  107. package/.next/server/pages/login.js.nft.json +1 -1
  108. package/.next/server/pages/s.js +554 -1
  109. package/.next/server/pages/s.js.nft.json +1 -1
  110. package/.next/server/pages-manifest.json +18 -1
  111. package/.next/server/webpack-api-runtime.js +229 -1
  112. package/.next/server/webpack-runtime.js +229 -1
  113. package/.next/static/HI-kc1kjNIbFyFsZCeDEA/_buildManifest.js +1 -0
  114. package/.next/static/chunks/223-cb77217cce52d45c.js +1 -0
  115. package/.next/static/chunks/251.1c79f06f2a2814b1.js +1 -0
  116. package/.next/static/chunks/386.d01e0db26c523f0f.js +1 -0
  117. package/.next/static/chunks/400-d4daabcd57b2ea80.js +1 -0
  118. package/.next/static/chunks/469-7259b855711d4ad3.js +1 -0
  119. package/.next/static/chunks/574.70612be06fd1365f.js +1 -0
  120. package/.next/static/chunks/585.4c5d40fc6a72a611.js +1 -0
  121. package/.next/static/chunks/651.7142f31ce1e052b3.js +1 -0
  122. package/.next/static/chunks/741.52f7fb873418346f.js +1 -0
  123. package/.next/static/chunks/783-fbcb7a3216c40744.js +1 -0
  124. package/.next/static/chunks/800.ee4f8b9622001e8c.js +1 -0
  125. package/.next/static/chunks/98.40c7e17d9de4eb8f.js +1 -0
  126. package/.next/static/chunks/988.afda042dd9ba11d1.js +1 -0
  127. package/.next/static/chunks/framework-dfd14d7ce6600b03.js +1 -0
  128. package/.next/static/chunks/main-e4e873ee741162eb.js +1 -0
  129. package/.next/static/chunks/pages/404-2240f0b22db2d370.js +1 -0
  130. package/.next/static/chunks/pages/500-c0580e3299329874.js +1 -0
  131. package/.next/static/chunks/pages/[...slug]-3eed3497c887fae5.js +1 -0
  132. package/.next/static/chunks/pages/[slug]/p-e1df08570f34a0d8.js +1 -0
  133. package/.next/static/chunks/pages/_app-30b9666307e4b3b1.js +1 -0
  134. package/.next/static/chunks/pages/_error-319451dea77827a6.js +1 -0
  135. package/.next/static/chunks/pages/account-b35bcbef719765f3.js +1 -0
  136. package/.next/static/chunks/pages/checkout-55bd56ade4408cbe.js +1 -0
  137. package/.next/static/chunks/pages/index-2506749e45c335bf.js +1 -0
  138. package/.next/static/chunks/pages/login-3f94bff1503b4fdc.js +1 -0
  139. package/.next/static/chunks/pages/s-2374cff2e39ed624.js +1 -0
  140. package/.next/static/chunks/webpack-af94306e71c4459d.js +1 -0
  141. package/.next/static/css/29868543c76bc6fd.css +1 -0
  142. package/.next/static/css/527e334fa69cf40a.css +1 -0
  143. package/.next/static/css/{b9d9ba1b04f3160d.css → 6a7fdc5a21fbead5.css} +1 -1
  144. package/.next/static/css/723835bce380750d.css +1 -0
  145. package/.next/static/css/{d586715f4f707df4.css → a2eefb25a4608343.css} +1 -1
  146. package/.next/static/css/{e32410b31c666cb2.css → cb7d1fcea42fab9c.css} +1 -1
  147. package/.next/static/css/d7bbfbd552f407e9.css +1 -0
  148. package/.next/static/css/{2980acad3f8e1028.css → df588bb98c0b0ca6.css} +1 -1
  149. package/.next/static/css/dfbdb0f27fd64782.css +1 -0
  150. package/.next/static/css/e84fc497732ea596.css +1 -0
  151. package/.next/trace +80 -91
  152. package/.turbo/turbo-build.log +1 -1
  153. package/.turbo/turbo-dev.log +45 -0
  154. package/@generated/gql.ts +4 -4
  155. package/@generated/graphql.ts +54 -12
  156. package/package.json +3 -3
  157. package/src/components/product/ProductCard/ProductCard.tsx +7 -0
  158. package/src/components/sections/ProductDetails/ProductDetails.tsx +7 -0
  159. package/.next/cache/config.json +0 -7
  160. package/.next/cache/eslint/.cache_1gneedd +0 -1
  161. package/.next/next-minimal-server.js.nft.json +0 -1
  162. package/.next/prerender-manifest.js +0 -1
  163. package/.next/server/chunks/119.js +0 -1
  164. package/.next/server/chunks/12.js +0 -1
  165. package/.next/server/chunks/187.js +0 -1
  166. package/.next/server/chunks/202.js +0 -1
  167. package/.next/server/chunks/24.js +0 -1
  168. package/.next/server/chunks/242.js +0 -1
  169. package/.next/server/chunks/247.js +0 -1
  170. package/.next/server/chunks/344.js +0 -1
  171. package/.next/server/chunks/414.js +0 -1
  172. package/.next/server/chunks/484.js +0 -1
  173. package/.next/server/chunks/493.js +0 -1
  174. package/.next/server/chunks/498.js +0 -1
  175. package/.next/server/chunks/540.js +0 -1
  176. package/.next/server/chunks/624.js +0 -1
  177. package/.next/server/chunks/640.js +0 -6
  178. package/.next/server/chunks/646.js +0 -280
  179. package/.next/server/chunks/659.js +0 -9
  180. package/.next/server/chunks/679.js +0 -1
  181. package/.next/server/chunks/694.js +0 -1
  182. package/.next/server/chunks/82.js +0 -8
  183. package/.next/server/chunks/857.js +0 -1
  184. package/.next/server/chunks/881.js +0 -1
  185. package/.next/server/chunks/917.js +0 -1
  186. package/.next/server/chunks/936.js +0 -1
  187. package/.next/server/chunks/96.js +0 -1
  188. package/.next/server/chunks/997.js +0 -1
  189. package/.next/server/functions-config-manifest.json +0 -1
  190. package/.next/server/next-font-manifest.js +0 -1
  191. package/.next/server/next-font-manifest.json +0 -1
  192. package/.next/static/GuDWclSYmL3r-NEqsUOG2/_buildManifest.js +0 -1
  193. package/.next/static/chunks/104-4f83b1d87ad36358.js +0 -1
  194. package/.next/static/chunks/161-b39fe2f79ff7bc85.js +0 -1
  195. package/.next/static/chunks/202.c7d8a71173edecfb.js +0 -1
  196. package/.next/static/chunks/217.01bc0ad07edd6f1b.js +0 -1
  197. package/.next/static/chunks/247.6f1391104a867395.js +0 -1
  198. package/.next/static/chunks/484.b82b73b1d8c37e02.js +0 -1
  199. package/.next/static/chunks/540.6c62d2536d42a1e0.js +0 -1
  200. package/.next/static/chunks/575-853fb8b1ba4ce8c4.js +0 -14
  201. package/.next/static/chunks/624.d3de62b4562a33f3.js +0 -1
  202. package/.next/static/chunks/629-c74f247bd29420a5.js +0 -1
  203. package/.next/static/chunks/65.da22595d53beae76.js +0 -1
  204. package/.next/static/chunks/758.b53ee01b506973e0.js +0 -1
  205. package/.next/static/chunks/857.d2299cfe995af21d.js +0 -1
  206. package/.next/static/chunks/framework-8e279965036b6169.js +0 -33
  207. package/.next/static/chunks/main-6f63f6746cc029db.js +0 -1
  208. package/.next/static/chunks/pages/404-1334d11ab8467b3d.js +0 -1
  209. package/.next/static/chunks/pages/500-449c5bd51f98423f.js +0 -1
  210. package/.next/static/chunks/pages/[...slug]-bcaf61b01157d8cb.js +0 -1
  211. package/.next/static/chunks/pages/[slug]/p-5fb8fe2c80ec1608.js +0 -1
  212. package/.next/static/chunks/pages/_app-ad8623e78bc5b766.js +0 -68
  213. package/.next/static/chunks/pages/_error-fbf331a03642b495.js +0 -1
  214. package/.next/static/chunks/pages/account-dbc5c028225cd1ac.js +0 -1
  215. package/.next/static/chunks/pages/checkout-29ae2c37eaf172e1.js +0 -1
  216. package/.next/static/chunks/pages/index-cd109119d65df8e3.js +0 -1
  217. package/.next/static/chunks/pages/login-c4d2c856008df5ac.js +0 -1
  218. package/.next/static/chunks/pages/s-26e475975386c51a.js +0 -1
  219. package/.next/static/chunks/webpack-b4a2fdf4ef127bb7.js +0 -1
  220. package/.next/static/css/0d45c82d8887a269.css +0 -1
  221. package/.next/static/css/211c7542af66d8b4.css +0 -1
  222. package/.next/static/css/4c4d90eb8cb1d2b7.css +0 -1
  223. package/.next/static/css/821a5219786be653.css +0 -1
  224. package/.next/static/css/96e3fddf695d6aa9.css +0 -1
  225. package/.next/static/css/cff9aafa16fccc9c.css +0 -1
  226. package/.turbo/turbo-lint.log +0 -2
  227. package/.turbo/turbo-test.log +0 -23
  228. package/@generated/graphql/persisted.json +0 -13
  229. package/@generated/graphql/schema.graphql +0 -1053
  230. package/@generated/persisted-documents.json +0 -13
  231. package/@generated/schema.graphql +0 -1055
  232. /package/.next/static/{GuDWclSYmL3r-NEqsUOG2 → HI-kc1kjNIbFyFsZCeDEA}/_ssgManifest.js +0 -0
@@ -1,1055 +0,0 @@
1
- schema {
2
- query: Query
3
- mutation: Mutation
4
- }
5
-
6
- directive @cacheControl(sMaxAge: Int, staleWhileRevalidate: Int, scope: String) on FIELD_DEFINITION
7
-
8
- """Address information."""
9
- type Address {
10
- """Address postal code"""
11
- postalCode: String
12
- """Address city"""
13
- city: String
14
- """Address state"""
15
- state: String
16
- """Address country"""
17
- country: String
18
- """Address street"""
19
- street: String
20
- """Address number"""
21
- number: String
22
- """Address neighborhood"""
23
- neighborhood: String
24
- """Address complement"""
25
- complement: String
26
- """Address reference"""
27
- reference: String
28
- """Address geoCoordinates"""
29
- geoCoordinates: [Float]
30
- }
31
-
32
- """Aggregate offer information, for a given SKU that is available to be fulfilled by multiple sellers."""
33
- type StoreAggregateOffer {
34
- """Highest price among all sellers."""
35
- highPrice: Float!
36
- """Lowest price among all sellers."""
37
- lowPrice: Float!
38
- """Number of sellers selling this SKU."""
39
- offerCount: Int!
40
- """ISO code of the currency used for the offer prices."""
41
- priceCurrency: String!
42
- """Array with information on each available offer."""
43
- offers: [StoreOffer!]!
44
- }
45
-
46
- """Average rating, based on multiple ratings or reviews."""
47
- type StoreAggregateRating {
48
- """Value of the aggregate rating."""
49
- ratingValue: Float!
50
- """Total number of ratings."""
51
- reviewCount: Int!
52
- }
53
-
54
- """information about the author of a product review or rating."""
55
- type StoreAuthor {
56
- """Author name."""
57
- name: String!
58
- }
59
-
60
- """Brand of a given product."""
61
- type StoreBrand {
62
- """Brand name."""
63
- name: String!
64
- }
65
-
66
- """Item of a list."""
67
- type StoreListItem {
68
- """List item value."""
69
- item: String!
70
- """Name of the list item."""
71
- name: String!
72
- """Position of the item in the list."""
73
- position: Int!
74
- }
75
-
76
- """List of items consisting of chain linked web pages, ending with the current page."""
77
- type StoreBreadcrumbList {
78
- """Array with breadcrumb elements."""
79
- itemListElement: [StoreListItem!]!
80
- """Number of breadcrumbs in the list."""
81
- numberOfItems: Int!
82
- }
83
-
84
- """Shopping cart message."""
85
- type StoreCartMessage {
86
- """Shopping cart message text."""
87
- text: String!
88
- """Shopping cart message status, which can be `INFO`, `WARNING` or `ERROR`."""
89
- status: StoreStatus!
90
- }
91
-
92
- """Shopping cart information."""
93
- type StoreCart {
94
- """Order information, including `orderNumber` and `acceptedOffer`."""
95
- order: StoreOrder!
96
- """List of shopping cart messages."""
97
- messages: [StoreCartMessage!]!
98
- }
99
-
100
- """Shopping cart input."""
101
- input IStoreCart {
102
- """Order information, including `orderNumber`, `acceptedOffer` and `shouldSplitItem`."""
103
- order: IStoreOrder!
104
- }
105
-
106
- """Product collection type. Possible values are `Department`, `Category`, `Brand`, `Cluster`, `SubCategory` or `Collection`."""
107
- enum StoreCollectionType {
108
- """First level of product categorization."""
109
- Department
110
- """Second level of product categorization."""
111
- Category
112
- """Third level of product categorization."""
113
- SubCategory
114
- """Product brand."""
115
- Brand
116
- """Product cluster."""
117
- Cluster
118
- """Product collection."""
119
- Collection
120
- }
121
-
122
- """Product collection facet, used for search."""
123
- type StoreCollectionFacet {
124
- """Facet key."""
125
- key: String!
126
- """Facet value."""
127
- value: String!
128
- }
129
-
130
- """Collection meta information. Used for search."""
131
- type StoreCollectionMeta {
132
- """List of selected collection facets."""
133
- selectedFacets: [StoreCollectionFacet!]!
134
- }
135
-
136
- """Product collection information."""
137
- type StoreCollection {
138
- """Meta tag data."""
139
- seo: StoreSeo!
140
- """List of items consisting of chain linked web pages, ending with the current page."""
141
- breadcrumbList: StoreBreadcrumbList!
142
- """Collection meta information. Used for search."""
143
- meta: StoreCollectionMeta!
144
- """Collection ID."""
145
- id: ID!
146
- """Corresponding collection URL slug, with which to retrieve this entity."""
147
- slug: String!
148
- """Collection type."""
149
- type: StoreCollectionType!
150
- }
151
-
152
- union StoreFacet = StoreFacetRange | StoreFacetBoolean
153
-
154
- """Search facet range information."""
155
- type StoreFacetRange {
156
- """Facet key."""
157
- key: String!
158
- """Facet label."""
159
- label: String!
160
- """Minimum facet range value."""
161
- min: StoreFacetValueRange!
162
- """Maximum facet range value."""
163
- max: StoreFacetValueRange!
164
- }
165
-
166
- """Search facet boolean information."""
167
- type StoreFacetBoolean {
168
- """Facet key."""
169
- key: String!
170
- """Facet label."""
171
- label: String!
172
- """Array with information on each facet value."""
173
- values: [StoreFacetValueBoolean!]!
174
- }
175
-
176
- """Search facet range value information. Used for minimum and maximum range values."""
177
- type StoreFacetValueRange {
178
- """Search facet range absolute value."""
179
- absolute: Float!
180
- """Search facet range selected value."""
181
- selected: Float!
182
- }
183
-
184
- """Information of a specific facet value."""
185
- type StoreFacetValueBoolean {
186
- """Facet value."""
187
- value: String!
188
- """Facet value label."""
189
- label: String!
190
- """Indicates whether facet is selected."""
191
- selected: Boolean!
192
- """Number of items with this facet."""
193
- quantity: Int!
194
- }
195
-
196
- """Image."""
197
- type StoreImage {
198
- """Image URL."""
199
- url: String!
200
- """Alias for the image."""
201
- alternateName: String!
202
- }
203
-
204
- """Image input."""
205
- input IStoreImage {
206
- """Image input URL."""
207
- url: String!
208
- """Alias for the input image."""
209
- alternateName: String!
210
- }
211
-
212
- type Mutation {
213
- """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`."""
214
- validateCart(cart: IStoreCart!, session: IStoreSession): StoreCart
215
- """Updates a web session with the specified values."""
216
- validateSession(session: IStoreSession!, search: String!): StoreSession
217
- """Subscribes a new person to the newsletter list."""
218
- subscribeToNewsletter(data: IPersonNewsletter!): PersonNewsletter
219
- }
220
-
221
- """Newsletter information."""
222
- type PersonNewsletter {
223
- """Person's ID in the newsletter list."""
224
- id: String!
225
- }
226
-
227
- """Person data input to the newsletter."""
228
- input IPersonNewsletter {
229
- """Person's name."""
230
- name: String!
231
- """Person's email."""
232
- email: String!
233
- }
234
-
235
- scalar ObjectOrString
236
-
237
- """Offer information."""
238
- type StoreOffer {
239
- """This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf."""
240
- listPrice: Float!
241
- """Computed price before applying coupons, taxes or benefits. This may change before it reaches the shelf."""
242
- sellingPrice: Float!
243
- """ISO code of the currency used for the offer prices."""
244
- priceCurrency: String!
245
- """Also known as spot price."""
246
- price: Float!
247
- """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."""
248
- priceValidUntil: String!
249
- """Offer item condition."""
250
- itemCondition: String!
251
- """Offer item availability."""
252
- availability: String!
253
- """Seller responsible for the offer."""
254
- seller: StoreOrganization!
255
- """Information on the item being offered."""
256
- itemOffered: StoreProduct!
257
- """Number of items offered."""
258
- quantity: Int!
259
- }
260
-
261
- """Offer input."""
262
- input IStoreOffer {
263
- """Also known as spot price."""
264
- price: Float!
265
- """This is displayed as the "from" price in the context of promotions' price comparison. This may change before it reaches the shelf."""
266
- listPrice: Float!
267
- """Seller responsible for the offer."""
268
- seller: IStoreOrganization!
269
- """Information on the item being offered."""
270
- itemOffered: IStoreProduct!
271
- """Number of items offered."""
272
- quantity: Int!
273
- }
274
-
275
- """Information of a specific order."""
276
- type StoreOrder {
277
- """ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#)."""
278
- orderNumber: String!
279
- """Array with information on each accepted offer."""
280
- acceptedOffer: [StoreOffer!]!
281
- }
282
-
283
- """Order input."""
284
- input IStoreOrder {
285
- """ID of the order in [VTEX order management](https://help.vtex.com/en/tutorial/license-manager-resources-oms--60QcBsvWeum02cFi3GjBzg#)."""
286
- orderNumber: String!
287
- """Array with information on each accepted offer."""
288
- acceptedOffer: [IStoreOffer!]!
289
- """Indicates whether or not items with attachments should be split."""
290
- shouldSplitItem: Boolean
291
- }
292
-
293
- """Organization."""
294
- type StoreOrganization {
295
- """Organization ID."""
296
- identifier: String!
297
- }
298
-
299
- """Organization input."""
300
- input IStoreOrganization {
301
- """Organization ID."""
302
- identifier: String!
303
- }
304
-
305
- """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."""
306
- type StorePageInfo {
307
- """Indicates whether there is at least one more page with items after the ones returned in the current query."""
308
- hasNextPage: Boolean!
309
- """Indicates whether there is at least one more page with items before the ones returned in the current query."""
310
- hasPreviousPage: Boolean!
311
- """Cursor corresponding to the first possible item."""
312
- startCursor: String!
313
- """Cursor corresponding to the last possible item."""
314
- endCursor: String!
315
- """Total number of items (products or collections), not pages."""
316
- totalCount: Int!
317
- }
318
-
319
- """Client profile data."""
320
- type StorePerson {
321
- """Client ID."""
322
- id: String!
323
- """Client email."""
324
- email: String!
325
- """Client first name."""
326
- givenName: String!
327
- """Client last name."""
328
- familyName: String!
329
- }
330
-
331
- """Client profile data."""
332
- input IStorePerson {
333
- """Client ID."""
334
- id: String!
335
- """Client email."""
336
- email: String!
337
- """Client first name."""
338
- givenName: String!
339
- """Client last name."""
340
- familyName: String!
341
- }
342
-
343
- """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."""
344
- type StoreProduct {
345
- """Meta tag data."""
346
- seo: StoreSeo!
347
- """List of items consisting of chain linked web pages, ending with the current page."""
348
- breadcrumbList: StoreBreadcrumbList!
349
- """Corresponding collection URL slug, with which to retrieve this entity."""
350
- slug: String!
351
- """Product name."""
352
- name: String!
353
- """Product ID, such as [ISBN](https://www.isbn-international.org/content/what-isbn) or similar global IDs."""
354
- productID: String!
355
- """Product brand."""
356
- brand: StoreBrand!
357
- """Product description."""
358
- description: String!
359
- """Array of images."""
360
- image(context: String = "generic", limit: Int = -1): [StoreImage!]!
361
- """Aggregate offer information."""
362
- offers: StoreAggregateOffer!
363
- """Stock Keeping Unit. Merchant-specific ID for the product."""
364
- sku: String!
365
- """Global Trade Item Number."""
366
- gtin: String!
367
- """Array with review information."""
368
- review: [StoreReview!]!
369
- """Aggregate ratings data."""
370
- aggregateRating: StoreAggregateRating!
371
- """Indicates product group related to this product."""
372
- isVariantOf: StoreProductGroup!
373
- """Array of additional properties."""
374
- additionalProperty: [StorePropertyValue!]!
375
- """The product's release date. Formatted using https://en.wikipedia.org/wiki/ISO_8601"""
376
- releaseDate: String!
377
- }
378
-
379
- """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."""
380
- input IStoreProduct {
381
- """Stock Keeping Unit. Merchant-specific ID for the product."""
382
- sku: String!
383
- """Product name."""
384
- name: String!
385
- """Array of product images."""
386
- image: [IStoreImage!]!
387
- """Custom Product Additional Properties."""
388
- additionalProperty: [IStorePropertyValue!]
389
- }
390
-
391
- """Product group information. Product groups are catalog entities that may contain variants. They are equivalent to VTEX [Products](https://help.vtex.com/en/tutorial/what-is-a-product--2zrB2gFCHyQokCKKE8kuAw#), whereas each variant is equivalent to a VTEX [SKU](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."""
392
- type StoreProductGroup {
393
- """Array of variants related to product group. Variants are equivalent to VTEX [SKUs](https://help.vtex.com/en/tutorial/what-is-an-sku--1K75s4RXAQyOuGUYKMM68u#)."""
394
- hasVariant: [StoreProduct!]!
395
- """Product group ID."""
396
- productGroupID: String!
397
- """Product group name."""
398
- name: String!
399
- """Array of additional properties."""
400
- additionalProperty: [StorePropertyValue!]!
401
- """
402
- Object containing data structures to facilitate handling different SKU
403
- variant properties. Specially useful for implementing SKU selection
404
- components.
405
- """
406
- skuVariants: SkuVariants
407
- }
408
-
409
- """Properties that can be associated with products and products groups."""
410
- type StorePropertyValue {
411
- """Property id. This propert changes according to the content of the object."""
412
- propertyID: String!
413
- """Property value. May hold a string or the string representation of an object."""
414
- value: ObjectOrString!
415
- """Property name."""
416
- name: String!
417
- """Specifies the nature of the value"""
418
- valueReference: String!
419
- }
420
-
421
- input IStorePropertyValue {
422
- """Property id. This propert changes according to the content of the object."""
423
- propertyID: String
424
- """Property value. May hold a string or the string representation of an object."""
425
- value: ObjectOrString!
426
- """Property name."""
427
- name: String!
428
- """Specifies the nature of the value"""
429
- valueReference: String!
430
- }
431
-
432
- """Each product edge contains a `node`, with product information, and a `cursor`, that can be used as a reference for pagination."""
433
- type StoreProductEdge {
434
- """Each product node contains the information of a product returned by the query."""
435
- node: StoreProduct!
436
- """Product cursor. Used as pagination reference."""
437
- cursor: String!
438
- }
439
-
440
- """Product connections, including pagination information and products returned by the query."""
441
- type StoreProductConnection {
442
- """Product pagination information."""
443
- pageInfo: StorePageInfo!
444
- """Array with product connection edges, each containing a product and a corresponding cursor."""
445
- edges: [StoreProductEdge!]!
446
- }
447
-
448
- """Each collection edge contains a `node`, with product collection information, and a `cursor`, that can be used as a reference for pagination."""
449
- type StoreCollectionEdge {
450
- """Each collection node contains the information of a product collection returned by the query."""
451
- node: StoreCollection!
452
- """Collection cursor. Used as pagination reference."""
453
- cursor: String!
454
- }
455
-
456
- """Collection connections, including pagination information and collections returned by the query."""
457
- type StoreCollectionConnection {
458
- """Collection pagination information."""
459
- pageInfo: StorePageInfo!
460
- """Array with collection connection page edges, each containing a collection and a corresponding cursor.."""
461
- edges: [StoreCollectionEdge!]!
462
- }
463
-
464
- """Product search results sorting options."""
465
- enum StoreSort {
466
- """Sort by price, from highest to lowest."""
467
- price_desc
468
- """Sort by price, from lowest to highest."""
469
- price_asc
470
- """Sort by orders, from highest to lowest."""
471
- orders_desc
472
- """Sort by name, in reverse alphabetical order."""
473
- name_desc
474
- """Sort by name, in alphabetical order."""
475
- name_asc
476
- """Sort by release date, from highest to lowest."""
477
- release_desc
478
- """Sort by discount value, from highest to lowest."""
479
- discount_desc
480
- """Sort by product score, from highest to lowest."""
481
- score_desc
482
- }
483
-
484
- """Selected search facet input."""
485
- input IStoreSelectedFacet {
486
- """Selected search facet key."""
487
- key: String!
488
- """Selected search facet value."""
489
- value: String!
490
- }
491
-
492
- """Search facet type."""
493
- enum StoreFacetType {
494
- """Indicates boolean search facet."""
495
- BOOLEAN
496
- """Indicates range type search facet."""
497
- RANGE
498
- }
499
-
500
- """Suggestion term."""
501
- type StoreSuggestionTerm {
502
- """The term."""
503
- value: String!
504
- """Its occurrences count."""
505
- count: Int!
506
- }
507
-
508
- """Suggestions information."""
509
- type StoreSuggestions {
510
- """Array with suggestion terms."""
511
- terms: [StoreSuggestionTerm!]!
512
- """Array with suggestion products' information."""
513
- products: [StoreProduct!]!
514
- }
515
-
516
- """Search result."""
517
- type SearchMetadata {
518
- """Indicates if the search term was misspelled."""
519
- isTermMisspelled: Boolean!
520
- """Logical operator used to run the search."""
521
- logicalOperator: String!
522
- """Indicates how the search engine corrected the misspelled word by using fuzzy logic."""
523
- fuzzy: String!
524
- }
525
-
526
- """Search result."""
527
- type StoreSearchResult {
528
- """Search result products."""
529
- products: StoreProductConnection!
530
- """Array of search result facets."""
531
- facets: [StoreFacet!]!
532
- """Search result suggestions."""
533
- suggestions: StoreSuggestions!
534
- """Search result metadata. Additional data can be used to send analytics events."""
535
- metadata: SearchMetadata
536
- }
537
-
538
- input IGeoCoordinates {
539
- """The latitude of the geographic coordinates."""
540
- latitude: Float!
541
- """The longitude of the geographic coordinates."""
542
- longitude: Float!
543
- }
544
-
545
- type Query {
546
- """Returns the details of a product based on the specified locator."""
547
- product(
548
- """An array of selected search facets."""
549
- locator: [IStoreSelectedFacet!]!
550
- ): StoreProduct! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
551
- """Returns the details of a collection based on the collection slug."""
552
- collection(
553
- """Collection slug."""
554
- slug: String!
555
- ): StoreCollection! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
556
- """Returns the result of a product, facet, or suggestion search."""
557
- search(
558
- """Search pagination argument, indicating how many results should be returned from the complete result list."""
559
- first: Int!
560
- """Search pagination argument, indicating the cursor corresponding with the item after which the results should be fetched."""
561
- after: String
562
- """Search results sorting mode."""
563
- sort: StoreSort = score_desc
564
- """Search term."""
565
- term: String = ""
566
- """Array of selected search facets."""
567
- selectedFacets: [IStoreSelectedFacet!]
568
- ): StoreSearchResult! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
569
- """Returns information about all products."""
570
- allProducts(
571
- """Product pagination argument, indicating how many items should be returned from the complete result list."""
572
- first: Int!
573
- """Product pagination argument, indicating the cursor corresponding with the item after which the items should be fetched."""
574
- after: String
575
- ): StoreProductConnection! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
576
- """Returns information about all collections."""
577
- allCollections(
578
- """Collection pagination argument, indicating how many items should be returned from the complete result list."""
579
- first: Int!
580
- """Collection pagination argument, indicating the cursor corresponding with the item after which the items should be fetched."""
581
- after: String
582
- ): StoreCollectionConnection! @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
583
- """Returns information about shipping simulation."""
584
- shipping(
585
- """List of SKU products"""
586
- items: [IShippingItem!]!
587
- """Postal code to freight calculator"""
588
- postalCode: String!
589
- """Country of postal code"""
590
- country: String!
591
- ): ShippingData @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
592
- """Returns if there's a redirect for a search."""
593
- redirect(
594
- """Search term."""
595
- term: String
596
- """Array of selected search facets."""
597
- selectedFacets: [IStoreSelectedFacet!]
598
- ): StoreRedirect
599
- """Returns a list of sellers available for a specific localization."""
600
- sellers(
601
- """Postal code input to calculate sellers"""
602
- postalCode: String
603
- """Geocoordinates input to calculate sellers"""
604
- geoCoordinates: IGeoCoordinates
605
- """Country of localization"""
606
- country: String!
607
- """Sales channel of the navigation"""
608
- salesChannel: String
609
- ): SellersData @cacheControl(scope: "public", sMaxAge: 120, staleWhileRevalidate: 3600)
610
- }
611
-
612
- """
613
- Redirect informations, including url returned by the query.
614
- https://schema.org/Thing
615
- """
616
- type StoreRedirect {
617
- """URL to redirect"""
618
- url: String
619
- }
620
-
621
- """Regionalization with sellers information."""
622
- type SellersData {
623
- """Identification of region."""
624
- id: String
625
- """List of sellers."""
626
- sellers: [SellerInfo]
627
- }
628
-
629
- """Information of sellers."""
630
- type SellerInfo {
631
- """Identification of the seller"""
632
- id: String
633
- """Name of the seller"""
634
- name: String
635
- """Logo of the seller"""
636
- logo: String
637
- }
638
-
639
- """Information of a given review rating."""
640
- type StoreReviewRating {
641
- """Rating value."""
642
- ratingValue: Float!
643
- """Best rating value."""
644
- bestRating: Float!
645
- }
646
-
647
- """Information of a given review."""
648
- type StoreReview {
649
- """Review rating information."""
650
- reviewRating: StoreReviewRating!
651
- """Review author."""
652
- author: StoreAuthor!
653
- }
654
-
655
- """Search Engine Optimization (SEO) tags data."""
656
- type StoreSeo {
657
- """Title tag."""
658
- title: String!
659
- """Title template tag."""
660
- titleTemplate: String!
661
- """Description tag."""
662
- description: String!
663
- """Canonical tag."""
664
- canonical: String!
665
- }
666
-
667
- """Currency information."""
668
- type StoreCurrency {
669
- """Currency code (e.g: USD)."""
670
- code: String!
671
- """Currency symbol (e.g: $)."""
672
- symbol: String!
673
- }
674
-
675
- input IStoreCurrency {
676
- """Currency code (e.g: USD)."""
677
- code: String!
678
- """Currency symbol (e.g: $)."""
679
- symbol: String!
680
- }
681
-
682
- """Geographic coordinates information."""
683
- type StoreGeoCoordinates {
684
- """The latitude of the geographic coordinates."""
685
- latitude: Float!
686
- """The longitude of the geographic coordinates."""
687
- longitude: Float!
688
- }
689
-
690
- input IStoreGeoCoordinates {
691
- """The latitude of the geographic coordinates."""
692
- latitude: Float!
693
- """The longitude of the geographic coordinates."""
694
- longitude: Float!
695
- }
696
-
697
- """Delivery window information."""
698
- type StoreDeliveryWindow {
699
- """The delivery window start date information."""
700
- startDate: String!
701
- """The delivery window end date information."""
702
- endDate: String!
703
- }
704
-
705
- """Delivery window information."""
706
- input IStoreDeliveryWindow {
707
- """The delivery window start date information."""
708
- startDate: String!
709
- """The delivery window end date information."""
710
- endDate: String!
711
- }
712
-
713
- """Delivery mode information."""
714
- type StoreDeliveryMode {
715
- """The delivery channel information of the session."""
716
- deliveryChannel: String!
717
- """The delivery method information of the session."""
718
- deliveryMethod: String!
719
- """The delivery window information of the session."""
720
- deliveryWindow: StoreDeliveryWindow
721
- }
722
-
723
- input IStoreDeliveryMode {
724
- """The delivery channel information of the session."""
725
- deliveryChannel: String!
726
- """The delivery method information of the session."""
727
- deliveryMethod: String!
728
- """The delivery window information of the session."""
729
- deliveryWindow: IStoreDeliveryWindow
730
- }
731
-
732
- """Session information."""
733
- type StoreSession {
734
- """Session locale."""
735
- locale: String!
736
- """Session currency."""
737
- currency: StoreCurrency!
738
- """Session country."""
739
- country: String!
740
- """Session channel."""
741
- channel: String
742
- """Session delivery mode."""
743
- deliveryMode: StoreDeliveryMode
744
- """Session address type."""
745
- addressType: String
746
- """Session postal code."""
747
- postalCode: String
748
- """Session input geoCoordinates."""
749
- geoCoordinates: StoreGeoCoordinates
750
- """Session input person."""
751
- person: StorePerson
752
- }
753
-
754
- """Session input."""
755
- input IStoreSession {
756
- """Session input locale."""
757
- locale: String!
758
- """Session input currency."""
759
- currency: IStoreCurrency!
760
- """Session input country."""
761
- country: String!
762
- """Session input channel."""
763
- channel: String
764
- """Session input delivery mode."""
765
- deliveryMode: IStoreDeliveryMode
766
- """Session input address type."""
767
- addressType: String
768
- """Session input postal code."""
769
- postalCode: String
770
- """Session input geoCoordinates."""
771
- geoCoordinates: IStoreGeoCoordinates
772
- """Session input person."""
773
- person: IStorePerson
774
- }
775
-
776
- """Shipping Simulation item input."""
777
- input IShippingItem {
778
- """ShippingItem ID / Sku."""
779
- id: String!
780
- """Number of items."""
781
- quantity: Int!
782
- """Seller responsible for the ShippingItem."""
783
- seller: String!
784
- }
785
-
786
- """Shipping Simulation information."""
787
- type ShippingData {
788
- """List of LogisticsItem."""
789
- items: [LogisticsItem]
790
- """List of LogisticsInfo."""
791
- logisticsInfo: [LogisticsInfo]
792
- """List of MessageInfo."""
793
- messages: [MessageInfo]
794
- """Address information."""
795
- address: Address
796
- }
797
-
798
- """Shipping Simulation Logistic Item."""
799
- type LogisticsItem {
800
- """LogisticsItem ID / Sku."""
801
- id: String
802
- requestIndex: Int
803
- """Number of items."""
804
- quantity: Int
805
- """Seller responsible for the ShippingItem."""
806
- seller: String
807
- """List of Sellers."""
808
- sellerChain: [String]
809
- """LogisticsItem tax."""
810
- tax: Int
811
- """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."""
812
- priceValidUntil: String
813
- """LogisticsItem price."""
814
- price: Int
815
- """LogisticsItem listPrice."""
816
- listPrice: Int
817
- """LogisticsItem rewardValue."""
818
- rewardValue: Int
819
- """LogisticsItem sellingPrice."""
820
- sellingPrice: Int
821
- """LogisticsItem measurementUnit."""
822
- measurementUnit: String
823
- """LogisticsItem unitMultiplier."""
824
- unitMultiplier: Int
825
- """LogisticsItem availability."""
826
- availability: String
827
- }
828
-
829
- type LogisticsInfo {
830
- """LogisticsInfo itemIndex."""
831
- itemIndex: String
832
- """LogisticsInfo selectedSla."""
833
- selectedSla: String
834
- """List of LogisticsInfo ShippingSLA."""
835
- slas: [ShippingSLA]
836
- }
837
-
838
- type ShippingSLA {
839
- """ShippingSLA id."""
840
- id: String
841
- """ShippingSLA name."""
842
- name: String
843
- """ShippingSLA price."""
844
- price: Float
845
- """ShippingSLA shipping estimate."""
846
- shippingEstimate: String
847
- """
848
- ShippingSLA localized shipping estimate.
849
- Note: this will always return a localized string for locale `en-US`.
850
- """
851
- localizedEstimates: String
852
- """ShippingSLA available delivery windows."""
853
- availableDeliveryWindows: [AvailableDeliveryWindows]
854
- """ShippingSLA shipping estimate date."""
855
- shippingEstimateDate: String
856
- """List of ShippingSLA delivery ids."""
857
- deliveryIds: [DeliveryIds]
858
- """ShippingSLA delivery channel."""
859
- deliveryChannel: String
860
- """ShippingSLA friendly name."""
861
- friendlyName: String
862
- """ShippingSLA carrier."""
863
- carrier: String
864
- """ShippingSLA pickup point id."""
865
- pickupPointId: String
866
- """ShippingSLA pickup store info."""
867
- pickupStoreInfo: PickupStoreInfo
868
- """ShippingSLA pickup distance."""
869
- pickupDistance: Float
870
- }
871
-
872
- type AvailableDeliveryWindows {
873
- """Available delivery window start date in UTC"""
874
- startDateUtc: String
875
- """Available delivery window end date in UTC"""
876
- endDateUtc: String
877
- """Available delivery window price"""
878
- price: Int
879
- """Available delivery window list price"""
880
- listPrice: Int
881
- """Available delivery window tax"""
882
- tax: Int
883
- }
884
-
885
- type DeliveryIds {
886
- """DeliveryIds courier id"""
887
- courierId: String
888
- """DeliveryIds warehouse id"""
889
- warehouseId: String
890
- """DeliveryIds dock id"""
891
- dockId: String
892
- """DeliveryIds courier name"""
893
- courierName: String
894
- """DeliveryIds quantity"""
895
- quantity: Int
896
- }
897
-
898
- type PickupStoreInfo {
899
- """PickupStoreInfo friendly name."""
900
- friendlyName: String
901
- """PickupStoreInfo address."""
902
- address: PickupAddress
903
- """PickupStoreInfo additional information."""
904
- additionalInfo: String
905
- """PickupStoreInfo dock id."""
906
- dockId: String
907
- """Information if the store has pickup enable."""
908
- isPickupStore: Boolean
909
- }
910
-
911
- type PickupAddress {
912
- """PickupAddress address type."""
913
- addressType: String
914
- """PickupAddress receiver name."""
915
- receiverName: String
916
- """PickupAddress address id."""
917
- addressId: String
918
- """PickupAddress postal code."""
919
- postalCode: String
920
- """PickupAddress city."""
921
- city: String
922
- """PickupAddress state."""
923
- state: String
924
- """PickupAddress country."""
925
- country: String
926
- """PickupAddress street."""
927
- street: String
928
- """PickupAddress number."""
929
- number: String
930
- """PickupAddress neighborhood."""
931
- neighborhood: String
932
- """PickupAddress complement."""
933
- complement: String
934
- """PickupAddress reference."""
935
- reference: String
936
- """PickupAddress geo coordinates."""
937
- geoCoordinates: [Float]
938
- }
939
-
940
- type MessageInfo {
941
- """MessageInfo code."""
942
- code: String
943
- """MessageInfo text."""
944
- text: String
945
- """MessageInfo status."""
946
- status: String
947
- """MessageInfo fields."""
948
- fields: MessageFields
949
- }
950
-
951
- type MessageFields {
952
- """MessageFields item index."""
953
- itemIndex: String
954
- """MessageFields ean."""
955
- ean: String
956
- """MessageFields sku name."""
957
- skuName: String
958
- }
959
-
960
- type SkuVariants {
961
- """SKU property values for the current SKU."""
962
- activeVariations: ActiveVariations
963
- """All available options for each SKU variant property, indexed by their name."""
964
- allVariantsByName: VariantsByName
965
- """
966
- Maps property value combinations to their respective SKU's slug. Enables
967
- us to retrieve the slug for the SKU that matches the currently selected
968
- variations in O(1) time.
969
- If `dominantVariantName` is not present, the first variant will be
970
- considered the dominant one.
971
- """
972
- slugsMap(dominantVariantName: String): SlugsMap
973
- """
974
- Available options for each varying SKU property, taking into account the
975
- `dominantVariantName` property. Returns all available options for the
976
- dominant property, and only options that can be combined with its current
977
- value for other properties.
978
- If `dominantVariantName` is not present, the first variant will be
979
- considered the dominant one.
980
- """
981
- availableVariations(dominantVariantName: String): FormattedVariants
982
- }
983
-
984
- """
985
- Example:
986
-
987
- ```json
988
- {
989
- 'Color-Red-Size-40': 'classic-shoes-37'
990
- }
991
- ```
992
- """
993
- scalar SlugsMap
994
-
995
- """
996
- Example:
997
-
998
- ```json
999
- {
1000
- Color: 'Red', Size: '42'
1001
- }
1002
- ```
1003
- """
1004
- scalar ActiveVariations
1005
-
1006
- """
1007
- Example:
1008
-
1009
- ```json
1010
- {
1011
- Color: [ "Red", "Blue", "Green" ],
1012
- Size: [ "40", "41" ]
1013
- }
1014
- ```
1015
- """
1016
- scalar VariantsByName
1017
-
1018
- """
1019
- Example:
1020
-
1021
- ```json
1022
- {
1023
- Color: [
1024
- {
1025
- src: "https://storecomponents.vtexassets.com/...",
1026
- alt: "...",
1027
- label: "...",
1028
- value: "..."
1029
- },
1030
- {
1031
- src: "https://storecomponents.vtexassets.com/...",
1032
- alt: "...",
1033
- label: "...",
1034
- value: "..."
1035
- }
1036
- ],
1037
- Size: [
1038
- {
1039
- src: "https://storecomponents.vtexassets.com/...",
1040
- alt: "...",
1041
- label: "...",
1042
- value: "..."
1043
- }
1044
- ]
1045
- }
1046
- ```
1047
- """
1048
- scalar FormattedVariants
1049
-
1050
- """Status used to indicate a message type. For instance, a shopping cart informative or error message."""
1051
- enum StoreStatus {
1052
- INFO
1053
- WARNING
1054
- ERROR
1055
- }