-
Notifications
You must be signed in to change notification settings - Fork 1
/
graphql.ts
5593 lines (5024 loc) · 198 KB
/
graphql.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
import { TypedDocumentNode as DocumentNode } from '@graphql-typed-document-node/core';
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Float: { input: number; output: number; }
BigDecimal: { input: any; output: any; }
DateTime: { input: any; output: any; }
Long: { input: any; output: any; }
};
/** Add cart line items data object */
export type AddCartLineItemsDataInput = {
/** List of gift certificates */
giftCertificates?: InputMaybe<Array<CartGiftCertificateInput>>;
/** List of cart line items */
lineItems?: InputMaybe<Array<CartLineItemInput>>;
};
/** Add cart line items input object */
export type AddCartLineItemsInput = {
/** The cart id */
cartEntityId: Scalars['String']['input'];
/** Add cart line items data object */
data: AddCartLineItemsDataInput;
};
/** Add cart line items result */
export type AddCartLineItemsResult = {
__typename: 'AddCartLineItemsResult';
/** The Cart that is updated as a result of mutation. */
cart?: Maybe<Cart>;
};
/** Add checkout billing address data object */
export type AddCheckoutBillingAddressDataInput = {
/** The checkout billing address */
address: CheckoutAddressInput;
};
/** Add checkout billing address input object */
export type AddCheckoutBillingAddressInput = {
/** The checkout id */
checkoutEntityId: Scalars['String']['input'];
/** Add checkout billing address data object */
data: AddCheckoutBillingAddressDataInput;
};
/** Add checkout billing address result */
export type AddCheckoutBillingAddressResult = {
__typename: 'AddCheckoutBillingAddressResult';
/** The Checkout that is updated as a result of mutation. */
checkout?: Maybe<Checkout>;
};
/** Add checkout shipping consignments data object */
export type AddCheckoutShippingConsignmentsDataInput = {
/** The list of shipping consignments */
consignments: Array<CheckoutShippingConsignmentInput>;
};
/** Add checkout shipping consignments input object */
export type AddCheckoutShippingConsignmentsInput = {
/** The checkout id */
checkoutEntityId: Scalars['String']['input'];
/** Add checkout shipping consignments data object */
data: AddCheckoutShippingConsignmentsDataInput;
};
/** Apply checkout shipping consignments result */
export type AddCheckoutShippingConsignmentsResult = {
__typename: 'AddCheckoutShippingConsignmentsResult';
/** The Checkout that is updated as a result of mutation. */
checkout?: Maybe<Checkout>;
};
/** Add wishlist items input object */
export type AddWishlistItemsInput = {
/** The wishlist id */
entityId: Scalars['Int']['input'];
/** The new wishlist items */
items: Array<WishlistItemInput>;
};
/** Add wishlist items */
export type AddWishlistItemsResult = {
__typename: 'AddWishlistItemsResult';
/** The wishlist */
result: Wishlist;
};
/** Aggregated */
export type Aggregated = {
__typename: 'Aggregated';
/** Number of available products in stock. This can be 'null' if inventory is not set orif the store's Inventory Settings disable displaying stock levels on the storefront. */
availableToSell: Scalars['Long']['output'];
/** Indicates a threshold low-stock level. This can be 'null' if the inventory warning level is not set or if the store's Inventory Settings disable displaying stock levels on the storefront. */
warningLevel: Scalars['Int']['output'];
};
/** Aggregated Product Inventory */
export type AggregatedInventory = {
__typename: 'AggregatedInventory';
/** Number of available products in stock. This can be 'null' if inventory is not set orif the store's Inventory Settings disable displaying stock levels on the storefront. */
availableToSell: Scalars['Int']['output'];
/** Indicates a threshold low-stock level. This can be 'null' if the inventory warning level is not set or if the store's Inventory Settings disable displaying stock levels on the storefront. */
warningLevel: Scalars['Int']['output'];
};
/** Apply checkout coupon data object */
export type ApplyCheckoutCouponDataInput = {
/** The checkout coupon code */
couponCode: Scalars['String']['input'];
};
/** Apply checkout coupon input object */
export type ApplyCheckoutCouponInput = {
/** The checkout id */
checkoutEntityId: Scalars['String']['input'];
/** Apply checkout coupon data object */
data: ApplyCheckoutCouponDataInput;
};
/** Apply checkout coupon result */
export type ApplyCheckoutCouponResult = {
__typename: 'ApplyCheckoutCouponResult';
/** The Checkout that is updated as a result of mutation. */
checkout?: Maybe<Checkout>;
};
/** Apply checkout spam protection data object */
export type ApplyCheckoutSpamProtectionDataInput = {
/** The checkout spam protection token */
token: Scalars['String']['input'];
};
/** Apply checkout spam protection input object */
export type ApplyCheckoutSpamProtectionInput = {
/** The checkout id */
checkoutEntityId: Scalars['String']['input'];
/** Apply checkout spam protection data object */
data: ApplyCheckoutSpamProtectionDataInput;
};
/** Apply checkout spam protection result */
export type ApplyCheckoutSpamProtectionResult = {
__typename: 'ApplyCheckoutSpamProtectionResult';
/** The Checkout that is updated as a result of mutation. */
checkout?: Maybe<Checkout>;
};
/** Assign cart to the customer input object. */
export type AssignCartToCustomerInput = {
/** The cart id. */
cartEntityId: Scalars['String']['input'];
};
/** Assign cart to the customer result. */
export type AssignCartToCustomerResult = {
__typename: 'AssignCartToCustomerResult';
/** The Cart that is updated as a result of mutation. */
cart?: Maybe<Cart>;
};
/** Author */
export type Author = {
__typename: 'Author';
/** Author name. */
name: Scalars['String']['output'];
};
/** Banner details. */
export type Banner = Node & {
__typename: 'Banner';
/** The content of the Banner. */
content: Scalars['String']['output'];
/** The id of the Banner. */
entityId: Scalars['Long']['output'];
/** The ID of the banner. */
id: Scalars['ID']['output'];
/** The location of the Banner. */
location: BannerLocation;
/** The name of the Banner. */
name: Scalars['String']['output'];
};
/** A connection to a list of items. */
export type BannerConnection = {
__typename: 'BannerConnection';
/** A list of edges. */
edges?: Maybe<Array<Maybe<BannerEdge>>>;
/** Information to aid in pagination. */
pageInfo: PageInfo;
};
/** An edge in a connection. */
export type BannerEdge = {
__typename: 'BannerEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node: Banner;
};
/** Banner location */
export enum BannerLocation {
Bottom = 'BOTTOM',
Top = 'TOP'
}
/** Banners details. */
export type Banners = {
__typename: 'Banners';
/** List of brand page banners. */
brandPage: BrandPageBannerConnection;
/** List of category page banners. */
categoryPage: CategoryPageBannerConnection;
/** List of home page banners. */
homePage: BannerConnection;
/** List of search page banners. */
searchPage: BannerConnection;
};
/** Banners details. */
export type BannersBrandPageArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
brandEntityId: Scalars['Int']['input'];
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};
/** Banners details. */
export type BannersCategoryPageArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
categoryEntityId: Scalars['Int']['input'];
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};
/** Banners details. */
export type BannersHomePageArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};
/** Banners details. */
export type BannersSearchPageArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};
/** Blog details. */
export type Blog = Node & {
__typename: 'Blog';
/** The description of the Blog. */
description: Scalars['String']['output'];
/** The ID of an object */
id: Scalars['ID']['output'];
/** Whether or not the blog should be visible in the navigation menu. */
isVisibleInNavigation: Scalars['Boolean']['output'];
/** The name of the Blog. */
name: Scalars['String']['output'];
/** The path of the Blog. */
path: Scalars['String']['output'];
/** Blog post details. */
post?: Maybe<BlogPost>;
/** Details of the Blog posts. */
posts: BlogPostConnection;
/** The rendered regions for the blog index. */
renderedRegions: RenderedRegionsByPageType;
};
/** Blog details. */
export type BlogPostArgs = {
entityId: Scalars['Int']['input'];
};
/** Blog details. */
export type BlogPostsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
filters?: InputMaybe<BlogPostsFiltersInput>;
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
sort?: InputMaybe<SortBy>;
};
/** A blog index page. */
export type BlogIndexPage = Node & WebPage & {
__typename: 'BlogIndexPage';
/** Unique ID for the web page. */
entityId: Scalars['Int']['output'];
/** The ID of an object */
id: Scalars['ID']['output'];
/** Whether or not the page should be visible in the navigation menu. */
isVisibleInNavigation: Scalars['Boolean']['output'];
/** Page name. */
name: Scalars['String']['output'];
/** Unique ID for the parent page. */
parentEntityId?: Maybe<Scalars['Int']['output']>;
/** The URL path of the page. */
path: Scalars['String']['output'];
/** The rendered regions for the web page. */
renderedRegions: RenderedRegionsByPageType;
/** Page SEO details. */
seo: SeoDetails;
};
/** Blog post details. */
export type BlogPost = Node & {
__typename: 'BlogPost';
/** Blog post author. */
author?: Maybe<Scalars['String']['output']>;
/** Unique ID for the blog post. */
entityId: Scalars['Int']['output'];
/** The body of the Blog post. */
htmlBody: Scalars['String']['output'];
/** The ID of an object */
id: Scalars['ID']['output'];
/** Blog post name. */
name: Scalars['String']['output'];
/** Blog post path. */
path: Scalars['String']['output'];
/** The plain text summary of the Blog post. */
plainTextSummary: Scalars['String']['output'];
/** Blog post published date. */
publishedDate: DateTimeExtended;
/** The rendered regions for the blog post. */
renderedRegions: RenderedRegionsByPageType;
/** Blog post SEO details. */
seo: SeoDetails;
/** Blog post tags. */
tags: Array<Scalars['String']['output']>;
/** Blog post thumbnail image. */
thumbnailImage?: Maybe<Image>;
};
/** Blog post details. */
export type BlogPostPlainTextSummaryArgs = {
characterLimit?: InputMaybe<Scalars['Int']['input']>;
};
/** A connection to a list of items. */
export type BlogPostConnection = {
__typename: 'BlogPostConnection';
/** Collection info */
collectionInfo?: Maybe<CollectionInfo>;
/** A list of edges. */
edges?: Maybe<Array<Maybe<BlogPostEdge>>>;
/** Information to aid in pagination. */
pageInfo: PageInfo;
};
/** An edge in a connection. */
export type BlogPostEdge = {
__typename: 'BlogPostEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node: BlogPost;
};
/** Redirect to a blog post. */
export type BlogPostRedirect = {
__typename: 'BlogPostRedirect';
/** Entity id. */
entityId: Scalars['Int']['output'];
/** The ID of an object. */
id: Scalars['ID']['output'];
/** Relative destination url. */
path: Scalars['String']['output'];
};
/** Object containing the filters for querying blog posts */
export type BlogPostsFiltersInput = {
/** Ids of the expected blog posts. */
entityIds?: InputMaybe<Array<Scalars['Int']['input']>>;
/** Tags of the expected blog posts. */
tags?: InputMaybe<Array<Scalars['String']['input']>>;
};
/** Brand */
export type Brand = Node & {
__typename: 'Brand';
/** Default image for brand. */
defaultImage?: Maybe<Image>;
/** Id of the brand. */
entityId: Scalars['Int']['output'];
/** The ID of an object */
id: Scalars['ID']['output'];
/**
* Meta description for the brand.
* @deprecated Use SEO details instead.
*/
metaDesc: Scalars['String']['output'];
/**
* Meta keywords for the brand.
* @deprecated Use SEO details instead.
*/
metaKeywords: Array<Scalars['String']['output']>;
/** Metafield data related to a brand. */
metafields: MetafieldConnection;
/** Name of the brand. */
name: Scalars['String']['output'];
/**
* Page title for the brand.
* @deprecated Use SEO details instead.
*/
pageTitle: Scalars['String']['output'];
/** Path for the brand page. */
path: Scalars['String']['output'];
/** List of products associated with the brand. */
products: ProductConnection;
/** Search keywords for the brand. */
searchKeywords: Array<Scalars['String']['output']>;
/** Brand SEO details. */
seo: SeoDetails;
};
/** Brand */
export type BrandMetafieldsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
keys?: InputMaybe<Array<Scalars['String']['input']>>;
last?: InputMaybe<Scalars['Int']['input']>;
namespace: Scalars['String']['input'];
};
/** Brand */
export type BrandProductsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
hideOutOfStock?: InputMaybe<Scalars['Boolean']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};
/** A connection to a list of items. */
export type BrandConnection = {
__typename: 'BrandConnection';
/** A list of edges. */
edges?: Maybe<Array<Maybe<BrandEdge>>>;
/** Information to aid in pagination. */
pageInfo: PageInfo;
};
/** An edge in a connection. */
export type BrandEdge = {
__typename: 'BrandEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node: Brand;
};
/** A connection to a list of items. */
export type BrandPageBannerConnection = {
__typename: 'BrandPageBannerConnection';
/** A list of edges. */
edges?: Maybe<Array<Maybe<BrandPageBannerEdge>>>;
/** Information to aid in pagination. */
pageInfo: PageInfo;
};
/** An edge in a connection. */
export type BrandPageBannerEdge = {
__typename: 'BrandPageBannerEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node: Banner;
};
/** Redirect to a brand. */
export type BrandRedirect = {
__typename: 'BrandRedirect';
/** Entity id. */
entityId: Scalars['Int']['output'];
/** The ID of an object. */
id: Scalars['ID']['output'];
/** Relative destination url. */
path: Scalars['String']['output'];
};
/** Brand Filter */
export type BrandSearchFilter = SearchProductFilter & {
__typename: 'BrandSearchFilter';
/** List of available brands. */
brands: BrandSearchFilterItemConnection;
/** Indicates whether to display product count next to the filter. */
displayProductCount: Scalars['Boolean']['output'];
/** Indicates whether filter is collapsed by default. */
isCollapsedByDefault: Scalars['Boolean']['output'];
/** Display name for the filter. */
name: Scalars['String']['output'];
};
/** Brand Filter */
export type BrandSearchFilterBrandsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
last?: InputMaybe<Scalars['Int']['input']>;
};
/** Specific brand filter item */
export type BrandSearchFilterItem = {
__typename: 'BrandSearchFilterItem';
/** Brand ID. */
entityId: Scalars['Int']['output'];
/** Indicates whether brand is selected. */
isSelected: Scalars['Boolean']['output'];
/** Brand name. */
name: Scalars['String']['output'];
/** Indicates how many products available for this filter. */
productCount: Scalars['Int']['output'];
};
/** A connection to a list of items. */
export type BrandSearchFilterItemConnection = {
__typename: 'BrandSearchFilterItemConnection';
/** A list of edges. */
edges?: Maybe<Array<Maybe<BrandSearchFilterItemEdge>>>;
/** Information to aid in pagination. */
pageInfo: PageInfo;
};
/** An edge in a connection. */
export type BrandSearchFilterItemEdge = {
__typename: 'BrandSearchFilterItemEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node: BrandSearchFilterItem;
};
/** Breadcrumb */
export type Breadcrumb = {
__typename: 'Breadcrumb';
/** Category id. */
entityId: Scalars['Int']['output'];
/** Name of the category. */
name: Scalars['String']['output'];
/** Path to the category. */
path?: Maybe<Scalars['String']['output']>;
};
/** A connection to a list of items. */
export type BreadcrumbConnection = {
__typename: 'BreadcrumbConnection';
/** A list of edges. */
edges?: Maybe<Array<Maybe<BreadcrumbEdge>>>;
/** Information to aid in pagination. */
pageInfo: PageInfo;
};
/** An edge in a connection. */
export type BreadcrumbEdge = {
__typename: 'BreadcrumbEdge';
/** A cursor for use in pagination. */
cursor: Scalars['String']['output'];
/** The item at the end of the edge. */
node: Breadcrumb;
};
/** Bulk pricing tier that sets a fixed price for the product or variant. */
export type BulkPricingFixedPriceDiscount = BulkPricingTier & {
__typename: 'BulkPricingFixedPriceDiscount';
/** Maximum item quantity that applies to this bulk pricing tier - if not defined then the tier does not have an upper bound. */
maximumQuantity?: Maybe<Scalars['Int']['output']>;
/** Minimum item quantity that applies to this bulk pricing tier. */
minimumQuantity: Scalars['Int']['output'];
/** This price will override the current product price. */
price: Scalars['BigDecimal']['output'];
};
/** Bulk pricing tier that reduces the price of the product or variant by a percentage. */
export type BulkPricingPercentageDiscount = BulkPricingTier & {
__typename: 'BulkPricingPercentageDiscount';
/** Maximum item quantity that applies to this bulk pricing tier - if not defined then the tier does not have an upper bound. */
maximumQuantity?: Maybe<Scalars['Int']['output']>;
/** Minimum item quantity that applies to this bulk pricing tier. */
minimumQuantity: Scalars['Int']['output'];
/** The percentage that will be removed from the product price. */
percentOff: Scalars['BigDecimal']['output'];
};
/** Bulk pricing tier that will subtract an amount from the price of the product or variant. */
export type BulkPricingRelativePriceDiscount = BulkPricingTier & {
__typename: 'BulkPricingRelativePriceDiscount';
/** Maximum item quantity that applies to this bulk pricing tier - if not defined then the tier does not have an upper bound. */
maximumQuantity?: Maybe<Scalars['Int']['output']>;
/** Minimum item quantity that applies to this bulk pricing tier. */
minimumQuantity: Scalars['Int']['output'];
/** The price of the product/variant will be reduced by this priceAdjustment. */
priceAdjustment: Scalars['BigDecimal']['output'];
};
/** A set of bulk pricing tiers that define price discounts which apply when purchasing specified quantities of a product or variant. */
export type BulkPricingTier = {
/** Maximum item quantity that applies to this bulk pricing tier - if not defined then the tier does not have an upper bound. */
maximumQuantity?: Maybe<Scalars['Int']['output']>;
/** Minimum item quantity that applies to this bulk pricing tier. */
minimumQuantity: Scalars['Int']['output'];
};
/** A cart */
export type Cart = Node & {
__typename: 'Cart';
/** Sum of line-items amounts, minus cart-level discounts and coupons. This amount includes taxes (where applicable). */
amount: Money;
/** Cost of cart's contents, before applying discounts. */
baseAmount: Money;
/** Time when the cart was created. */
createdAt: DateTimeExtended;
/** ISO-4217 currency code. */
currencyCode: Scalars['String']['output'];
/** Discounted amount. */
discountedAmount: Money;
/** List of discounts applied to this cart. */
discounts: Array<CartDiscount>;
/** Cart ID. */
entityId: Scalars['String']['output'];
/** The ID of an object */
id: Scalars['ID']['output'];
/** Whether this item is taxable. */
isTaxIncluded: Scalars['Boolean']['output'];
/** List of line items. */
lineItems: CartLineItems;
/** Locale of the cart. */
locale: Scalars['String']['output'];
/** Metafield data related to a cart. */
metafields: MetafieldConnection;
/** Time when the cart was last updated. */
updatedAt: DateTimeExtended;
};
/** A cart */
export type CartMetafieldsArgs = {
after?: InputMaybe<Scalars['String']['input']>;
before?: InputMaybe<Scalars['String']['input']>;
first?: InputMaybe<Scalars['Int']['input']>;
keys?: InputMaybe<Array<Scalars['String']['input']>>;
last?: InputMaybe<Scalars['Int']['input']>;
namespace: Scalars['String']['input'];
};
/** Cart custom item. */
export type CartCustomItem = {
__typename: 'CartCustomItem';
/** ID of the custom item. */
entityId: Scalars['String']['output'];
/** Item's list price multiplied by the quantity. */
extendedListPrice: Money;
/** Price of the item. With or without tax depending on your stores set up. */
listPrice: Money;
/** Custom item name. */
name: Scalars['String']['output'];
/** Quantity of this item. */
quantity: Scalars['Int']['output'];
/** Custom item sku. */
sku?: Maybe<Scalars['String']['output']>;
};
/** Cart digital item. */
export type CartDigitalItem = {
__typename: 'CartDigitalItem';
/** The product brand. */
brand?: Maybe<Scalars['String']['output']>;
/** The total value of all coupons applied to this item. */
couponAmount: Money;
/** The total value of all discounts applied to this item (excluding coupon). */
discountedAmount: Money;
/** List of discounts applied to this item. */
discounts: Array<CartDiscount>;
/** The line-item ID. */
entityId: Scalars['String']['output'];
/** Item's list price multiplied by the quantity. */
extendedListPrice: Money;
/** Item's sale price multiplied by the quantity. */
extendedSalePrice: Money;
/** URL of an image of this item, accessible on the internet. */
imageUrl?: Maybe<Scalars['String']['output']>;
/** Whether the item is taxable. */
isTaxable: Scalars['Boolean']['output'];
/** The net item price before discounts and coupons. It is based on the product default price or sale price (if set) configured in BigCommerce Admin. */
listPrice: Money;
/** The item's product name. */
name: Scalars['String']['output'];
/** An item’s original price is the same as the product default price in the admin panel. */
originalPrice: Money;
/** The product is part of a bundle such as a product pick list, then the parentId or the main product id will populate. */
parentEntityId?: Maybe<Scalars['String']['output']>;
/** ID of the product. */
productEntityId: Scalars['Int']['output'];
/** Quantity of this item. */
quantity: Scalars['Int']['output'];
/** Item's price after all discounts are applied. (The final price before tax calculation). */
salePrice: Money;
/** The list of selected options for this product. */
selectedOptions: Array<CartSelectedOption>;
/** SKU of the variant. */
sku?: Maybe<Scalars['String']['output']>;
/** The product URL. */
url: Scalars['String']['output'];
/** ID of the variant. */
variantEntityId?: Maybe<Scalars['Int']['output']>;
};
/** Discount applied to the cart. */
export type CartDiscount = {
__typename: 'CartDiscount';
/** The discounted amount applied within a given context. */
discountedAmount: Money;
/** ID of the applied discount. */
entityId: Scalars['String']['output'];
};
/** Cart gift certificate */
export type CartGiftCertificate = {
__typename: 'CartGiftCertificate';
/** Value must be between 1.00 and 1,000.00 in the store's default currency. */
amount: Money;
/** ID of this gift certificate. */
entityId: Scalars['String']['output'];
/** Whether or not the gift certificate is taxable. */
isTaxable: Scalars['Boolean']['output'];
/** Message that will be sent to the gift certificate's recipient. Limited to 200 characters. */
message?: Maybe<Scalars['String']['output']>;
/** GiftCertificate-provided name that will appear in the control panel. */
name: Scalars['String']['output'];
/** Recipient of the gift certificate. */
recipient: CartGiftCertificateRecipient;
/** Sender of the gift certificate. */
sender: CartGiftCertificateSender;
/** Currently supports Birthday, Boy, Celebration, Christmas, General, and Girl. */
theme: CartGiftCertificateTheme;
};
/** Cart gift certificate input object */
export type CartGiftCertificateInput = {
/** Value must be between 1.00 and 1,000.00 in the store's default currency. */
amount: Scalars['BigDecimal']['input'];
/** Message that will be sent to the gift certificate's recipient. Limited to 200 characters. */
message?: InputMaybe<Scalars['String']['input']>;
/** GiftCertificate-provided name that will appear in the control panel. */
name: Scalars['String']['input'];
/** The total number of certificates */
quantity: Scalars['Int']['input'];
/** Recipient of the gift certificate. */
recipient: CartGiftCertificateRecipientInput;
/** Sender of the gift certificate. */
sender: CartGiftCertificateSenderInput;
/** Currently supports Birthday, Boy, Celebration, Christmas, General, and Girl. */
theme: CartGiftCertificateTheme;
};
/** Cart gift certificate recipient */
export type CartGiftCertificateRecipient = {
__typename: 'CartGiftCertificateRecipient';
/** Contact's email address. */
email: Scalars['String']['output'];
/** Contact's name. */
name: Scalars['String']['output'];
};
/** Cart gift certificate recipient input object */
export type CartGiftCertificateRecipientInput = {
/** Contact's email address. */
email: Scalars['String']['input'];
/** Contact's name. */
name: Scalars['String']['input'];
};
/** Cart gift certificate sender */
export type CartGiftCertificateSender = {
__typename: 'CartGiftCertificateSender';
/** Contact's email address. */
email: Scalars['String']['output'];
/** Contact's name. */
name: Scalars['String']['output'];
};
/** Cart gift certificate sender input object */
export type CartGiftCertificateSenderInput = {
/** Contact's email address. */
email: Scalars['String']['input'];
/** Contact's name. */
name: Scalars['String']['input'];
};
/** Cart gift certificate theme */
export enum CartGiftCertificateTheme {
Birthday = 'BIRTHDAY',
Boy = 'BOY',
Celebration = 'CELEBRATION',
Christmas = 'CHRISTMAS',
General = 'GENERAL',
Girl = 'GIRL'
}
/** Gift wrapping for the item */
export type CartGiftWrapping = {
__typename: 'CartGiftWrapping';
/** Gift-wrapping price per product. */
amount: Money;
/** Custom gift message along with items wrapped in this wrapping option. */
message?: Maybe<Scalars['String']['output']>;
/** Name of the gift-wrapping option. */
name: Scalars['String']['output'];
};
/** Cart line item input object */
export type CartLineItemInput = {
/** The product id */
productEntityId: Scalars['Int']['input'];
/** Total number of line items. */
quantity: Scalars['Int']['input'];
/** The list of selected options for this item. */
selectedOptions?: InputMaybe<CartSelectedOptionsInput>;
/** The variant id */
variantEntityId?: InputMaybe<Scalars['Int']['input']>;
};
/** Cart line items */
export type CartLineItems = {
__typename: 'CartLineItems';
/** List of custom items. */
customItems: Array<CartCustomItem>;
/** List of digital items. */
digitalItems: Array<CartDigitalItem>;
/** List of gift certificates. */
giftCertificates: Array<CartGiftCertificate>;
/** List of physical items. */
physicalItems: Array<CartPhysicalItem>;
/** Total number of line items. */
totalQuantity: Scalars['Int']['output'];
};
/** Cart mutations */
export type CartMutations = {
__typename: 'CartMutations';
/** Adds line item(s) to the cart. */
addCartLineItems?: Maybe<AddCartLineItemsResult>;
/** Assign cart to the customer. */
assignCartToCustomer?: Maybe<AssignCartToCustomerResult>;
/** Creates a cart and generates a cart ID. */
createCart?: Maybe<CreateCartResult>;
/** Deletes a Cart. */
deleteCart?: Maybe<DeleteCartResult>;
/** Delete line item in the cart. Removing the last line item in the Cart deletes the Cart. */
deleteCartLineItem?: Maybe<DeleteCartLineItemResult>;
/** Unassign cart from the customer. */
unassignCartFromCustomer?: Maybe<UnassignCartFromCustomerResult>;
/** Update currency of the cart. */
updateCartCurrency?: Maybe<UpdateCartCurrencyResult>;
/** Updates line item in the cart. */
updateCartLineItem?: Maybe<UpdateCartLineItemResult>;
};
/** Cart mutations */
export type CartMutationsAddCartLineItemsArgs = {
input: AddCartLineItemsInput;
};
/** Cart mutations */
export type CartMutationsAssignCartToCustomerArgs = {
input: AssignCartToCustomerInput;
};
/** Cart mutations */
export type CartMutationsCreateCartArgs = {
input: CreateCartInput;
};
/** Cart mutations */
export type CartMutationsDeleteCartArgs = {
input: DeleteCartInput;
};
/** Cart mutations */
export type CartMutationsDeleteCartLineItemArgs = {
input: DeleteCartLineItemInput;
};
/** Cart mutations */
export type CartMutationsUnassignCartFromCustomerArgs = {
input: UnassignCartFromCustomerInput;
};
/** Cart mutations */
export type CartMutationsUpdateCartCurrencyArgs = {
input: UpdateCartCurrencyInput;
};
/** Cart mutations */
export type CartMutationsUpdateCartLineItemArgs = {
input: UpdateCartLineItemInput;
};
/** Cart physical item. */
export type CartPhysicalItem = {
__typename: 'CartPhysicalItem';
/** The product brand. */
brand?: Maybe<Scalars['String']['output']>;
/** The total value of all coupons applied to this item. */
couponAmount: Money;
/** The total value of all discounts applied to this item (excluding coupon). */
discountedAmount: Money;
/** List of discounts applied to this item. */
discounts: Array<CartDiscount>;
/** The line-item ID. */
entityId: Scalars['String']['output'];
/** Item's list price multiplied by the quantity. */
extendedListPrice: Money;
/** Item's sale price multiplied by the quantity. */
extendedSalePrice: Money;
/** Gift wrapping for this item. */
giftWrapping?: Maybe<CartGiftWrapping>;
/** URL of an image of this item, accessible on the internet. */
imageUrl?: Maybe<Scalars['String']['output']>;
/** Whether this item requires shipping to a physical address. */
isShippingRequired: Scalars['Boolean']['output'];
/** Whether the item is taxable. */
isTaxable: Scalars['Boolean']['output'];
/** The net item price before discounts and coupons. It is based on the product default price or sale price (if set) configured in BigCommerce Admin. */
listPrice: Money;
/** The item's product name. */
name: Scalars['String']['output'];
/** An item’s original price is the same as the product default price in the admin panel. */
originalPrice: Money;
/** The product is part of a bundle such as a product pick list, then the parentId or the main product id will populate. */
parentEntityId?: Maybe<Scalars['String']['output']>;
/** ID of the product. */
productEntityId: Scalars['Int']['output'];
/** Quantity of this item. */
quantity: Scalars['Int']['output'];
/** Item's price after all discounts are applied. (The final price before tax calculation). */
salePrice: Money;
/** The list of selected options for this item. */
selectedOptions: Array<CartSelectedOption>;
/** SKU of the variant. */
sku?: Maybe<Scalars['String']['output']>;
/** The product URL. */
url: Scalars['String']['output'];
/** ID of the variant. */
variantEntityId?: Maybe<Scalars['Int']['output']>;
};
/** Selected checkbox option. */
export type CartSelectedCheckboxOption = CartSelectedOption & {
__typename: 'CartSelectedCheckboxOption';
/** The product option ID. */
entityId: Scalars['Int']['output'];
/** The product option name. */
name: Scalars['String']['output'];
/** The product option value. */
value: Scalars['String']['output'];
/** The product option value ID. */
valueEntityId: Scalars['Int']['output'];
};
/** Cart selected checkbox option input object */
export type CartSelectedCheckboxOptionInput = {
/** The product option ID. */