@faststore/core 3.0.3 → 3.0.4

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