@gfed-medusa/sf-lib-common 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/breadcrumbs/index.d.ts +4 -6
- package/dist/components/breadcrumbs/index.d.ts.map +1 -1
- package/dist/components/breadcrumbs/index.js.map +1 -1
- package/dist/components/cart-button/index.d.ts +2 -2
- package/dist/components/cart-button/index.d.ts.map +1 -1
- package/dist/components/cart-button/index.js +11 -17
- package/dist/components/cart-button/index.js.map +1 -0
- package/dist/components/cart-dropdown/index.d.ts +3 -3
- package/dist/components/cart-dropdown/index.d.ts.map +1 -1
- package/dist/components/cart-dropdown/index.js +193 -16
- package/dist/components/cart-dropdown/index.js.map +1 -0
- package/dist/components/cart-mismatch-banner/index.d.ts +3 -3
- package/dist/components/cart-mismatch-banner/index.d.ts.map +1 -1
- package/dist/components/cart-mismatch-banner/index.js +1 -8
- package/dist/components/cart-mismatch-banner/index.js.map +1 -1
- package/dist/components/country-select/index.d.ts +1 -1
- package/dist/components/delete-button/index.d.ts +2 -2
- package/dist/components/delete-button/index.js +27 -11
- package/dist/components/delete-button/index.js.map +1 -0
- package/dist/components/error-message/index.d.ts +2 -2
- package/dist/components/error-message/index.d.ts.map +1 -1
- package/dist/components/footer/index.d.ts +2 -2
- package/dist/components/footer/index.d.ts.map +1 -1
- package/dist/components/footer/index.js +5 -10
- package/dist/components/footer/index.js.map +1 -1
- package/dist/components/free-shipping-price-nudge/index.d.ts +3 -3
- package/dist/components/free-shipping-price-nudge/index.d.ts.map +1 -1
- package/dist/components/free-shipping-price-nudge/index.js +2 -2
- package/dist/components/interactive-link/index.d.ts +2 -2
- package/dist/components/interactive-link/index.js +1 -1
- package/dist/components/layout-country-select/index.d.ts +4 -4
- package/dist/components/layout-country-select/index.js +89 -11
- package/dist/components/layout-country-select/index.js.map +1 -0
- package/dist/components/line-item-options/index.d.ts +3 -3
- package/dist/components/line-item-options/index.js +15 -2
- package/dist/components/line-item-options/index.js.map +1 -0
- package/dist/components/line-item-price/index.d.ts +3 -3
- package/dist/components/line-item-price/index.d.ts.map +1 -1
- package/dist/components/line-item-price/index.js +46 -2
- package/dist/components/line-item-price/index.js.map +1 -0
- package/dist/components/localized-client-link/index.d.ts +5 -12
- package/dist/components/localized-client-link/index.d.ts.map +1 -1
- package/dist/components/localized-client-link/index.js +19 -2
- package/dist/components/localized-client-link/index.js.map +1 -0
- package/dist/components/modal/index.d.ts +2 -2
- package/dist/components/modal/index.js +101 -3
- package/dist/components/modal/index.js.map +1 -0
- package/dist/components/nav/index.d.ts +2 -2
- package/dist/components/nav/index.js +6 -25
- package/dist/components/nav/index.js.map +1 -1
- package/dist/components/portable-text/index.d.ts +3 -3
- package/dist/components/portable-text/index.js +329 -2
- package/dist/components/portable-text/index.js.map +1 -0
- package/dist/components/preview-price/index.d.ts +1 -1
- package/dist/components/preview-price/index.js +19 -2
- package/dist/components/preview-price/index.js.map +1 -0
- package/dist/components/product-card/index.d.ts +2 -2
- package/dist/components/product-card/index.d.ts.map +1 -1
- package/dist/components/product-card/index.js +3 -4
- package/dist/components/product-card/index.js.map +1 -1
- package/dist/components/product-preview/index.d.ts +3 -3
- package/dist/components/product-preview/index.d.ts.map +1 -1
- package/dist/components/product-preview/index.js +4 -4
- package/dist/components/search-modal/index.d.ts +2 -2
- package/dist/components/search-modal/index.d.ts.map +1 -1
- package/dist/components/search-modal/index.js +135 -9
- package/dist/components/search-modal/index.js.map +1 -0
- package/dist/components/side-menu/index.d.ts +3 -3
- package/dist/components/side-menu/index.js +96 -13
- package/dist/components/side-menu/index.js.map +1 -0
- package/dist/components/thumbnail/index.js +43 -2
- package/dist/components/thumbnail/index.js.map +1 -0
- package/dist/lib/config/medusa.js +11 -2
- package/dist/lib/config/medusa.js.map +1 -0
- package/dist/lib/context/apollo-context.js +1 -2
- package/dist/lib/context/apollo-context.js.map +1 -1
- package/dist/lib/context/modal-context.d.ts +2 -2
- package/dist/lib/context/modal-context.js +19 -2
- package/dist/lib/context/modal-context.js.map +1 -0
- package/dist/lib/data/cart.d.ts +1 -1
- package/dist/lib/data/cart.d.ts.map +1 -1
- package/dist/lib/data/cart.js +102 -10
- package/dist/lib/data/cart.js.map +1 -0
- package/dist/lib/data/categories.d.ts +1 -1
- package/dist/lib/data/categories.js +15 -5
- package/dist/lib/data/categories.js.map +1 -0
- package/dist/lib/data/collections.d.ts +1 -1
- package/dist/lib/data/collections.js +21 -5
- package/dist/lib/data/collections.js.map +1 -0
- package/dist/lib/data/cookies.d.ts +2 -1
- package/dist/lib/data/cookies.d.ts.map +1 -1
- package/dist/lib/data/cookies.js +45 -2
- package/dist/lib/data/cookies.js.map +1 -0
- package/dist/lib/data/customer.d.ts +1 -1
- package/dist/lib/data/customer.d.ts.map +1 -1
- package/dist/lib/data/customer.js +39 -9
- package/dist/lib/data/customer.js.map +1 -0
- package/dist/lib/data/footer.js +15 -4
- package/dist/lib/data/footer.js.map +1 -0
- package/dist/lib/data/orders.d.ts +1 -1
- package/dist/lib/data/orders.js +4 -4
- package/dist/lib/data/regions.d.ts +1 -1
- package/dist/lib/data/regions.js +33 -4
- package/dist/lib/data/regions.js.map +1 -0
- package/dist/lib/data/search.d.ts +1 -1
- package/dist/lib/data/search.js +20 -5
- package/dist/lib/data/search.js.map +1 -0
- package/dist/lib/gql/apollo-client.js +66 -2
- package/dist/lib/gql/apollo-client.js.map +1 -0
- package/dist/lib/gql/fragments/cart.d.ts +9 -9
- package/dist/lib/gql/fragments/cart.d.ts.map +1 -1
- package/dist/lib/gql/fragments/cart.js +141 -3
- package/dist/{cart-BNoIGQmw.js.map → lib/gql/fragments/cart.js.map} +1 -1
- package/dist/lib/gql/fragments/customer.d.ts +3 -3
- package/dist/lib/gql/fragments/customer.js +41 -2
- package/dist/{customer-CgN4zI00.js.map → lib/gql/fragments/customer.js.map} +1 -1
- package/dist/lib/gql/fragments/product.d.ts +8 -8
- package/dist/lib/gql/fragments/product.js +89 -2
- package/dist/{product-COu5D1mS.js.map → lib/gql/fragments/product.js.map} +1 -1
- package/dist/lib/gql/mutations/cart.d.ts +4 -4
- package/dist/lib/gql/mutations/cart.d.ts.map +1 -1
- package/dist/lib/gql/mutations/cart.js +41 -4
- package/dist/{cart-IHaLnQC4.js.map → lib/gql/mutations/cart.js.map} +1 -1
- package/dist/lib/gql/mutations/customer.js +0 -1
- package/dist/lib/gql/queries/cart.d.ts +2 -2
- package/dist/lib/gql/queries/cart.d.ts.map +1 -1
- package/dist/lib/gql/queries/cart.js +15 -4
- package/dist/{cart-DH8urwwT.js.map → lib/gql/queries/cart.js.map} +1 -1
- package/dist/lib/gql/queries/collections.d.ts +2 -2
- package/dist/lib/gql/queries/collections.d.ts.map +1 -1
- package/dist/lib/gql/queries/collections.js +19 -3
- package/dist/{collections-DMv3UYgC.js.map → lib/gql/queries/collections.js.map} +1 -1
- package/dist/lib/gql/queries/customer.d.ts +2 -2
- package/dist/lib/gql/queries/customer.d.ts.map +1 -1
- package/dist/lib/gql/queries/customer.js +15 -3
- package/dist/{customer-DIJz6m7L.js.map → lib/gql/queries/customer.js.map} +1 -1
- package/dist/lib/gql/queries/footer.d.ts +2 -2
- package/dist/lib/gql/queries/footer.d.ts.map +1 -1
- package/dist/lib/gql/queries/footer.js +21 -2
- package/dist/lib/gql/queries/footer.js.map +1 -0
- package/dist/lib/gql/queries/product.d.ts +3 -3
- package/dist/lib/gql/queries/product.d.ts.map +1 -1
- package/dist/lib/gql/queries/product.js +46 -3
- package/dist/{product-C3HQUIgX.js.map → lib/gql/queries/product.js.map} +1 -1
- package/dist/lib/hooks/use-apollo.d.ts +2 -2
- package/dist/lib/hooks/use-apollo.js +10 -3
- package/dist/lib/hooks/use-apollo.js.map +1 -0
- package/dist/lib/hooks/use-search.d.ts +1 -1
- package/dist/lib/hooks/use-search.js +66 -6
- package/dist/lib/hooks/use-search.js.map +1 -0
- package/dist/lib/hooks/use-toggle-state.d.ts +23 -2
- package/dist/lib/hooks/use-toggle-state.d.ts.map +1 -0
- package/dist/lib/utils/data-types.js +9 -2
- package/dist/lib/utils/data-types.js.map +1 -0
- package/dist/lib/utils/env.js +1 -1
- package/dist/lib/utils/env.js.map +1 -1
- package/dist/lib/utils/get-percentage-diff.js +7 -2
- package/dist/lib/utils/get-percentage-diff.js.map +1 -0
- package/dist/lib/utils/get-product-price.d.ts +1 -1
- package/dist/lib/utils/get-product-price.js +46 -2
- package/dist/lib/utils/get-product-price.js.map +1 -0
- package/dist/lib/utils/medusa-error.js +16 -2
- package/dist/lib/utils/medusa-error.js.map +1 -0
- package/dist/lib/utils/money.js +14 -2
- package/dist/lib/utils/money.js.map +1 -0
- package/dist/lib/utils/normalize-functions.d.ts +1 -1
- package/dist/lib/utils/normalize-functions.js +69 -2
- package/dist/lib/utils/normalize-functions.js.map +1 -0
- package/dist/types/graphql.d.ts +1368 -2
- package/dist/types/graphql.d.ts.map +1 -0
- package/dist/types/prices.d.ts +20 -2
- package/dist/types/prices.d.ts.map +1 -0
- package/dist/types/prices.js +0 -1
- package/package.json +12 -12
- package/dist/apollo-client-Bw50r80c.js +0 -66
- package/dist/apollo-client-Bw50r80c.js.map +0 -1
- package/dist/cart-BNoIGQmw.js +0 -142
- package/dist/cart-DH8urwwT.js +0 -16
- package/dist/cart-IHaLnQC4.js +0 -42
- package/dist/cart-button-Dj_zRxop.js +0 -12
- package/dist/cart-button-Dj_zRxop.js.map +0 -1
- package/dist/cart-dropdown-D_PUJarp.js +0 -195
- package/dist/cart-dropdown-D_PUJarp.js.map +0 -1
- package/dist/cart-xkcyWLfU.js +0 -103
- package/dist/cart-xkcyWLfU.js.map +0 -1
- package/dist/categories-B-RYCIZ3.js +0 -16
- package/dist/categories-B-RYCIZ3.js.map +0 -1
- package/dist/collections-BgyvhW2p.js +0 -22
- package/dist/collections-BgyvhW2p.js.map +0 -1
- package/dist/collections-DMv3UYgC.js +0 -20
- package/dist/cookies-lksVIe4_.js +0 -38
- package/dist/cookies-lksVIe4_.js.map +0 -1
- package/dist/customer-CgN4zI00.js +0 -42
- package/dist/customer-ClewjBBr.js +0 -38
- package/dist/customer-ClewjBBr.js.map +0 -1
- package/dist/customer-DIJz6m7L.js +0 -16
- package/dist/data-types-CTPJXmJH.js +0 -10
- package/dist/data-types-CTPJXmJH.js.map +0 -1
- package/dist/delete-button-Bnm5bof2.js +0 -28
- package/dist/delete-button-Bnm5bof2.js.map +0 -1
- package/dist/footer-BvNV-R9D.js +0 -16
- package/dist/footer-BvNV-R9D.js.map +0 -1
- package/dist/footer-DCtgtjKS.js +0 -76
- package/dist/footer-DCtgtjKS.js.map +0 -1
- package/dist/get-percentage-diff-B_UVOFgE.js +0 -8
- package/dist/get-percentage-diff-B_UVOFgE.js.map +0 -1
- package/dist/get-product-price-DKWc76ev.js +0 -47
- package/dist/get-product-price-DKWc76ev.js.map +0 -1
- package/dist/graphql-CdTGi4Pp.d.ts +0 -1368
- package/dist/graphql-CdTGi4Pp.d.ts.map +0 -1
- package/dist/layout-country-select-C7Ra-opl.js +0 -90
- package/dist/layout-country-select-C7Ra-opl.js.map +0 -1
- package/dist/line-item-options-l_eRZIIq.js +0 -16
- package/dist/line-item-options-l_eRZIIq.js.map +0 -1
- package/dist/line-item-price-BlTwskFC.js +0 -47
- package/dist/line-item-price-BlTwskFC.js.map +0 -1
- package/dist/localized-client-link-CthmRcvb.js +0 -22
- package/dist/localized-client-link-CthmRcvb.js.map +0 -1
- package/dist/medusa-TumrpCF2.js +0 -12
- package/dist/medusa-TumrpCF2.js.map +0 -1
- package/dist/medusa-error-DDhA6RGC.js +0 -17
- package/dist/medusa-error-DDhA6RGC.js.map +0 -1
- package/dist/modal-BASYY-YM.js +0 -102
- package/dist/modal-BASYY-YM.js.map +0 -1
- package/dist/modal-context-02cA-7jy.js +0 -20
- package/dist/modal-context-02cA-7jy.js.map +0 -1
- package/dist/money-DVQGzXns.js +0 -15
- package/dist/money-DVQGzXns.js.map +0 -1
- package/dist/normalize-functions-Bqr-JkYn.js +0 -70
- package/dist/normalize-functions-Bqr-JkYn.js.map +0 -1
- package/dist/portable-text-CuI022GH.js +0 -330
- package/dist/portable-text-CuI022GH.js.map +0 -1
- package/dist/preview-price-_4sxkXQs.js +0 -20
- package/dist/preview-price-_4sxkXQs.js.map +0 -1
- package/dist/prices-eO1YBciD.d.ts +0 -20
- package/dist/prices-eO1YBciD.d.ts.map +0 -1
- package/dist/product-C3HQUIgX.js +0 -47
- package/dist/product-COu5D1mS.js +0 -90
- package/dist/regions-r1AvxfT8.js +0 -34
- package/dist/regions-r1AvxfT8.js.map +0 -1
- package/dist/search-D7Gw7jAk.js +0 -21
- package/dist/search-D7Gw7jAk.js.map +0 -1
- package/dist/search-modal-DaXadYWM.js +0 -137
- package/dist/search-modal-DaXadYWM.js.map +0 -1
- package/dist/side-menu-B6IjTd5M.js +0 -97
- package/dist/side-menu-B6IjTd5M.js.map +0 -1
- package/dist/thumbnail-C0TU3rh-.js +0 -44
- package/dist/thumbnail-C0TU3rh-.js.map +0 -1
- package/dist/use-apollo-BxAFd1Y5.js +0 -11
- package/dist/use-apollo-BxAFd1Y5.js.map +0 -1
- package/dist/use-search-VX-u8o1D.js +0 -67
- package/dist/use-search-VX-u8o1D.js.map +0 -1
- package/dist/use-toggle-state-DI4Gwlfj.d.ts +0 -23
- package/dist/use-toggle-state-DI4Gwlfj.d.ts.map +0 -1
package/dist/types/graphql.d.ts
CHANGED
|
@@ -1,2 +1,1368 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { TypedDocumentNode } from "@graphql-typed-document-node/core";
|
|
2
|
+
|
|
3
|
+
//#region src/types/graphql.d.ts
|
|
4
|
+
type Maybe<T> = T | null;
|
|
5
|
+
type InputMaybe<T> = Maybe<T>;
|
|
6
|
+
type Exact<T extends {
|
|
7
|
+
[key: string]: unknown;
|
|
8
|
+
}> = { [K in keyof T]: T[K] };
|
|
9
|
+
type MakeOptional<T, K$1 extends keyof T> = Omit<T, K$1> & { [SubKey in K$1]?: Maybe<T[SubKey]> };
|
|
10
|
+
type MakeMaybe<T, K$1 extends keyof T> = Omit<T, K$1> & { [SubKey in K$1]: Maybe<T[SubKey]> };
|
|
11
|
+
type MakeEmpty<T extends {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
}, K$1 extends keyof T> = { [_ in K$1]?: never };
|
|
14
|
+
type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
|
|
15
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
16
|
+
type Scalars = {
|
|
17
|
+
ID: {
|
|
18
|
+
input: string;
|
|
19
|
+
output: string;
|
|
20
|
+
};
|
|
21
|
+
String: {
|
|
22
|
+
input: string;
|
|
23
|
+
output: string;
|
|
24
|
+
};
|
|
25
|
+
Boolean: {
|
|
26
|
+
input: boolean;
|
|
27
|
+
output: boolean;
|
|
28
|
+
};
|
|
29
|
+
Int: {
|
|
30
|
+
input: number;
|
|
31
|
+
output: number;
|
|
32
|
+
};
|
|
33
|
+
Float: {
|
|
34
|
+
input: number;
|
|
35
|
+
output: number;
|
|
36
|
+
};
|
|
37
|
+
DateTime: {
|
|
38
|
+
input: any;
|
|
39
|
+
output: any;
|
|
40
|
+
};
|
|
41
|
+
JSON: {
|
|
42
|
+
input: any;
|
|
43
|
+
output: any;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
type Address = {
|
|
47
|
+
__typename?: 'Address';
|
|
48
|
+
address1?: Maybe<Scalars['String']['output']>;
|
|
49
|
+
address2?: Maybe<Scalars['String']['output']>;
|
|
50
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
51
|
+
company?: Maybe<Scalars['String']['output']>;
|
|
52
|
+
countryCode?: Maybe<Scalars['String']['output']>;
|
|
53
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
54
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
55
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
56
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
57
|
+
metadata?: Maybe<Scalars['JSON']['output']>;
|
|
58
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
59
|
+
postalCode?: Maybe<Scalars['String']['output']>;
|
|
60
|
+
province?: Maybe<Scalars['String']['output']>;
|
|
61
|
+
};
|
|
62
|
+
type AddressInput = {
|
|
63
|
+
address1?: InputMaybe<Scalars['String']['input']>;
|
|
64
|
+
address2?: InputMaybe<Scalars['String']['input']>;
|
|
65
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
66
|
+
company?: InputMaybe<Scalars['String']['input']>;
|
|
67
|
+
countryCode?: InputMaybe<Scalars['String']['input']>;
|
|
68
|
+
customerId?: InputMaybe<Scalars['String']['input']>;
|
|
69
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
70
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
71
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
72
|
+
postalCode?: InputMaybe<Scalars['String']['input']>;
|
|
73
|
+
province?: InputMaybe<Scalars['String']['input']>;
|
|
74
|
+
};
|
|
75
|
+
type ApplicationMethod = {
|
|
76
|
+
__typename?: 'ApplicationMethod';
|
|
77
|
+
currencyCode: Scalars['String']['output'];
|
|
78
|
+
type: ApplicationType;
|
|
79
|
+
value: Scalars['String']['output'];
|
|
80
|
+
};
|
|
81
|
+
declare enum ApplicationType {
|
|
82
|
+
Fixed = "fixed",
|
|
83
|
+
Percentage = "percentage",
|
|
84
|
+
}
|
|
85
|
+
type Cart = {
|
|
86
|
+
__typename?: 'Cart';
|
|
87
|
+
billingAddress?: Maybe<Address>;
|
|
88
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
89
|
+
currencyCode: Scalars['String']['output'];
|
|
90
|
+
customerId?: Maybe<Scalars['String']['output']>;
|
|
91
|
+
discountTotal: Scalars['Int']['output'];
|
|
92
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
93
|
+
giftCardTotal: Scalars['Int']['output'];
|
|
94
|
+
id: Scalars['ID']['output'];
|
|
95
|
+
itemTotal: Scalars['Int']['output'];
|
|
96
|
+
items?: Maybe<Array<LineItem>>;
|
|
97
|
+
originalTotal: Scalars['Int']['output'];
|
|
98
|
+
paymentCollection?: Maybe<PaymentCollection>;
|
|
99
|
+
promoCodes?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
|
|
100
|
+
promotions: Array<Maybe<Promotion>>;
|
|
101
|
+
region?: Maybe<Region>;
|
|
102
|
+
regionId?: Maybe<Scalars['String']['output']>;
|
|
103
|
+
shippingAddress?: Maybe<Address>;
|
|
104
|
+
shippingMethods?: Maybe<Array<Maybe<ShippingMethod>>>;
|
|
105
|
+
shippingTotal: Scalars['Int']['output'];
|
|
106
|
+
subtotal: Scalars['Int']['output'];
|
|
107
|
+
taxTotal: Scalars['Int']['output'];
|
|
108
|
+
total: Scalars['Int']['output'];
|
|
109
|
+
};
|
|
110
|
+
type Collection = {
|
|
111
|
+
__typename?: 'Collection';
|
|
112
|
+
handle: Scalars['String']['output'];
|
|
113
|
+
id: Scalars['ID']['output'];
|
|
114
|
+
products?: Maybe<ProductList>;
|
|
115
|
+
title: Scalars['String']['output'];
|
|
116
|
+
};
|
|
117
|
+
type CompleteCartError = {
|
|
118
|
+
__typename?: 'CompleteCartError';
|
|
119
|
+
message: Scalars['String']['output'];
|
|
120
|
+
name: Scalars['String']['output'];
|
|
121
|
+
type: Scalars['String']['output'];
|
|
122
|
+
};
|
|
123
|
+
type CompleteCartErrorResult = {
|
|
124
|
+
__typename?: 'CompleteCartErrorResult';
|
|
125
|
+
cart?: Maybe<Cart>;
|
|
126
|
+
error?: Maybe<CompleteCartError>;
|
|
127
|
+
type: Scalars['String']['output'];
|
|
128
|
+
};
|
|
129
|
+
type CompleteCartOrderResult = {
|
|
130
|
+
__typename?: 'CompleteCartOrderResult';
|
|
131
|
+
order?: Maybe<Order>;
|
|
132
|
+
type: Scalars['String']['output'];
|
|
133
|
+
};
|
|
134
|
+
type CompleteCartResponse = CompleteCartErrorResult | CompleteCartOrderResult;
|
|
135
|
+
type Country = {
|
|
136
|
+
__typename?: 'Country';
|
|
137
|
+
displayName?: Maybe<Scalars['String']['output']>;
|
|
138
|
+
id?: Maybe<Scalars['String']['output']>;
|
|
139
|
+
iso2?: Maybe<Scalars['String']['output']>;
|
|
140
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
141
|
+
};
|
|
142
|
+
type CreateCartInput = {
|
|
143
|
+
billingAddress?: InputMaybe<AddressInput>;
|
|
144
|
+
currencyCode?: InputMaybe<Scalars['String']['input']>;
|
|
145
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
146
|
+
items?: InputMaybe<Array<CreateLineItemInput>>;
|
|
147
|
+
promoCodes?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
148
|
+
regionId?: InputMaybe<Scalars['String']['input']>;
|
|
149
|
+
shippingAddress?: InputMaybe<AddressInput>;
|
|
150
|
+
};
|
|
151
|
+
type CreateLineItemInput = {
|
|
152
|
+
quantity: Scalars['Int']['input'];
|
|
153
|
+
variantId: Scalars['String']['input'];
|
|
154
|
+
};
|
|
155
|
+
type Customer = {
|
|
156
|
+
__typename?: 'Customer';
|
|
157
|
+
addresses?: Maybe<Array<Maybe<CustomerAddress>>>;
|
|
158
|
+
companyName?: Maybe<Scalars['String']['output']>;
|
|
159
|
+
defaultBillingAddressId?: Maybe<Scalars['String']['output']>;
|
|
160
|
+
defaultShippingAddressId?: Maybe<Scalars['String']['output']>;
|
|
161
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
162
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
163
|
+
id: Scalars['String']['output'];
|
|
164
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
165
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
166
|
+
};
|
|
167
|
+
type CustomerAddress = {
|
|
168
|
+
__typename?: 'CustomerAddress';
|
|
169
|
+
address1?: Maybe<Scalars['String']['output']>;
|
|
170
|
+
address2?: Maybe<Scalars['String']['output']>;
|
|
171
|
+
addressName?: Maybe<Scalars['String']['output']>;
|
|
172
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
173
|
+
company?: Maybe<Scalars['String']['output']>;
|
|
174
|
+
countryCode?: Maybe<Scalars['String']['output']>;
|
|
175
|
+
customerId?: Maybe<Scalars['String']['output']>;
|
|
176
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
177
|
+
id: Scalars['String']['output'];
|
|
178
|
+
isDefaultBilling?: Maybe<Scalars['Boolean']['output']>;
|
|
179
|
+
isDefaultShipping?: Maybe<Scalars['Boolean']['output']>;
|
|
180
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
181
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
182
|
+
postalCode?: Maybe<Scalars['String']['output']>;
|
|
183
|
+
province?: Maybe<Scalars['String']['output']>;
|
|
184
|
+
};
|
|
185
|
+
type FileBlock = {
|
|
186
|
+
__typename?: 'FileBlock';
|
|
187
|
+
_key: Scalars['String']['output'];
|
|
188
|
+
_type: Scalars['String']['output'];
|
|
189
|
+
asset?: Maybe<SanityFileAsset>;
|
|
190
|
+
};
|
|
191
|
+
type Footer = {
|
|
192
|
+
__typename?: 'Footer';
|
|
193
|
+
copyright?: Maybe<Scalars['String']['output']>;
|
|
194
|
+
poweredByCta?: Maybe<RichText>;
|
|
195
|
+
social?: Maybe<Array<SocialLink>>;
|
|
196
|
+
storeName?: Maybe<Scalars['String']['output']>;
|
|
197
|
+
};
|
|
198
|
+
type IconLinkMark = {
|
|
199
|
+
__typename?: 'IconLinkMark';
|
|
200
|
+
_key: Scalars['String']['output'];
|
|
201
|
+
_type: Scalars['String']['output'];
|
|
202
|
+
href: Scalars['String']['output'];
|
|
203
|
+
iconClass?: Maybe<Scalars['String']['output']>;
|
|
204
|
+
iconComponent?: Maybe<Scalars['String']['output']>;
|
|
205
|
+
iconFill?: Maybe<Scalars['String']['output']>;
|
|
206
|
+
iconImage?: Maybe<SanityImage>;
|
|
207
|
+
iconType: Scalars['String']['output'];
|
|
208
|
+
iconUrl?: Maybe<Scalars['String']['output']>;
|
|
209
|
+
target?: Maybe<Scalars['String']['output']>;
|
|
210
|
+
};
|
|
211
|
+
type ImageBlock = {
|
|
212
|
+
__typename?: 'ImageBlock';
|
|
213
|
+
_key: Scalars['String']['output'];
|
|
214
|
+
_type: Scalars['String']['output'];
|
|
215
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
216
|
+
asset?: Maybe<SanityImageAsset>;
|
|
217
|
+
caption?: Maybe<Scalars['String']['output']>;
|
|
218
|
+
};
|
|
219
|
+
type ImageDimensions = {
|
|
220
|
+
__typename?: 'ImageDimensions';
|
|
221
|
+
aspectRatio: Scalars['Float']['output'];
|
|
222
|
+
height: Scalars['Int']['output'];
|
|
223
|
+
width: Scalars['Int']['output'];
|
|
224
|
+
};
|
|
225
|
+
type ImageMetadata = {
|
|
226
|
+
__typename?: 'ImageMetadata';
|
|
227
|
+
dimensions?: Maybe<ImageDimensions>;
|
|
228
|
+
hasAlpha?: Maybe<Scalars['Boolean']['output']>;
|
|
229
|
+
isOpaque?: Maybe<Scalars['Boolean']['output']>;
|
|
230
|
+
};
|
|
231
|
+
type LineItem = {
|
|
232
|
+
__typename?: 'LineItem';
|
|
233
|
+
cart?: Maybe<Cart>;
|
|
234
|
+
cartId?: Maybe<Scalars['String']['output']>;
|
|
235
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
236
|
+
id: Scalars['ID']['output'];
|
|
237
|
+
originalTotal?: Maybe<Scalars['Int']['output']>;
|
|
238
|
+
productHandle?: Maybe<Scalars['String']['output']>;
|
|
239
|
+
productTitle?: Maybe<Scalars['String']['output']>;
|
|
240
|
+
quantity: Scalars['Int']['output'];
|
|
241
|
+
requiresShipping?: Maybe<Scalars['Boolean']['output']>;
|
|
242
|
+
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
243
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
244
|
+
total?: Maybe<Scalars['Int']['output']>;
|
|
245
|
+
unitPrice?: Maybe<Scalars['Int']['output']>;
|
|
246
|
+
variant?: Maybe<ProductVariant>;
|
|
247
|
+
};
|
|
248
|
+
type LinkMark = {
|
|
249
|
+
__typename?: 'LinkMark';
|
|
250
|
+
_key: Scalars['String']['output'];
|
|
251
|
+
_type: Scalars['String']['output'];
|
|
252
|
+
href: Scalars['String']['output'];
|
|
253
|
+
target?: Maybe<Scalars['String']['output']>;
|
|
254
|
+
};
|
|
255
|
+
type LogoutResponse = {
|
|
256
|
+
__typename?: 'LogoutResponse';
|
|
257
|
+
success?: Maybe<Scalars['Boolean']['output']>;
|
|
258
|
+
};
|
|
259
|
+
type MarkDef = IconLinkMark | LinkMark;
|
|
260
|
+
type Mutation = {
|
|
261
|
+
__typename?: 'Mutation';
|
|
262
|
+
addShippingMethod?: Maybe<Cart>;
|
|
263
|
+
applyPromotions?: Maybe<Cart>;
|
|
264
|
+
completeCart?: Maybe<CompleteCartResponse>;
|
|
265
|
+
createCart?: Maybe<Cart>;
|
|
266
|
+
createLineItem?: Maybe<Cart>;
|
|
267
|
+
deleteLineItem: StoreLineItemDeleteResponse;
|
|
268
|
+
login?: Maybe<Token>;
|
|
269
|
+
logout?: Maybe<LogoutResponse>;
|
|
270
|
+
transferCart?: Maybe<Cart>;
|
|
271
|
+
updateCart?: Maybe<Cart>;
|
|
272
|
+
updateLineItem?: Maybe<Cart>;
|
|
273
|
+
};
|
|
274
|
+
type Mutation_AddShippingMethodArgs = {
|
|
275
|
+
cartId: Scalars['ID']['input'];
|
|
276
|
+
optionId: Scalars['ID']['input'];
|
|
277
|
+
};
|
|
278
|
+
type Mutation_ApplyPromotionsArgs = {
|
|
279
|
+
cartId: Scalars['ID']['input'];
|
|
280
|
+
codes: Array<Scalars['String']['input']>;
|
|
281
|
+
};
|
|
282
|
+
type Mutation_CompleteCartArgs = {
|
|
283
|
+
cartId: Scalars['ID']['input'];
|
|
284
|
+
};
|
|
285
|
+
type Mutation_CreateCartArgs = {
|
|
286
|
+
data: CreateCartInput;
|
|
287
|
+
};
|
|
288
|
+
type Mutation_CreateLineItemArgs = {
|
|
289
|
+
cartId: Scalars['ID']['input'];
|
|
290
|
+
data: CreateLineItemInput;
|
|
291
|
+
};
|
|
292
|
+
type Mutation_DeleteLineItemArgs = {
|
|
293
|
+
cartId: Scalars['ID']['input'];
|
|
294
|
+
lineItemId: Scalars['ID']['input'];
|
|
295
|
+
};
|
|
296
|
+
type Mutation_LoginArgs = {
|
|
297
|
+
email: Scalars['String']['input'];
|
|
298
|
+
password: Scalars['String']['input'];
|
|
299
|
+
};
|
|
300
|
+
type Mutation_TransferCartArgs = {
|
|
301
|
+
cartId: Scalars['ID']['input'];
|
|
302
|
+
};
|
|
303
|
+
type Mutation_UpdateCartArgs = {
|
|
304
|
+
data: UpdateCartInput;
|
|
305
|
+
id: Scalars['ID']['input'];
|
|
306
|
+
};
|
|
307
|
+
type Mutation_UpdateLineItemArgs = {
|
|
308
|
+
cartId: Scalars['ID']['input'];
|
|
309
|
+
data: UpdateLineItemInput;
|
|
310
|
+
lineItemId: Scalars['ID']['input'];
|
|
311
|
+
};
|
|
312
|
+
type Order = {
|
|
313
|
+
__typename?: 'Order';
|
|
314
|
+
createdAt: Scalars['DateTime']['output'];
|
|
315
|
+
currencyCode: Scalars['String']['output'];
|
|
316
|
+
customerId: Scalars['String']['output'];
|
|
317
|
+
discountTotal?: Maybe<Scalars['Int']['output']>;
|
|
318
|
+
displayId?: Maybe<Scalars['Int']['output']>;
|
|
319
|
+
email: Scalars['String']['output'];
|
|
320
|
+
fulfillmentStatus: Scalars['String']['output'];
|
|
321
|
+
giftCardTotal?: Maybe<Scalars['Int']['output']>;
|
|
322
|
+
id: Scalars['ID']['output'];
|
|
323
|
+
items: Array<LineItem>;
|
|
324
|
+
paymentCollections?: Maybe<Array<Maybe<PaymentCollection>>>;
|
|
325
|
+
paymentStatus: Scalars['String']['output'];
|
|
326
|
+
regionId: Scalars['String']['output'];
|
|
327
|
+
shippingAddress?: Maybe<Address>;
|
|
328
|
+
shippingMethods: Array<ShippingMethod>;
|
|
329
|
+
shippingTotal?: Maybe<Scalars['Int']['output']>;
|
|
330
|
+
status: Scalars['String']['output'];
|
|
331
|
+
subtotal?: Maybe<Scalars['Int']['output']>;
|
|
332
|
+
taxTotal?: Maybe<Scalars['Int']['output']>;
|
|
333
|
+
total: Scalars['Int']['output'];
|
|
334
|
+
};
|
|
335
|
+
type Payment = {
|
|
336
|
+
__typename?: 'Payment';
|
|
337
|
+
amount: Scalars['Int']['output'];
|
|
338
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
339
|
+
currencyCode: Scalars['String']['output'];
|
|
340
|
+
data?: Maybe<Scalars['JSON']['output']>;
|
|
341
|
+
id: Scalars['String']['output'];
|
|
342
|
+
providerId: Scalars['String']['output'];
|
|
343
|
+
};
|
|
344
|
+
type PaymentCollection = {
|
|
345
|
+
__typename?: 'PaymentCollection';
|
|
346
|
+
amount: Scalars['Int']['output'];
|
|
347
|
+
currencyCode: Scalars['String']['output'];
|
|
348
|
+
id: Scalars['String']['output'];
|
|
349
|
+
paymentProviders: Array<Maybe<PaymentProviders>>;
|
|
350
|
+
paymentSessions?: Maybe<Array<Maybe<PaymentSessions>>>;
|
|
351
|
+
payments?: Maybe<Array<Maybe<Payment>>>;
|
|
352
|
+
status: PaymentStatus;
|
|
353
|
+
};
|
|
354
|
+
type PaymentProviders = {
|
|
355
|
+
__typename?: 'PaymentProviders';
|
|
356
|
+
id: Scalars['String']['output'];
|
|
357
|
+
};
|
|
358
|
+
declare enum PaymentSessionStatus {
|
|
359
|
+
Authorized = "authorized",
|
|
360
|
+
Canceled = "canceled",
|
|
361
|
+
Captured = "captured",
|
|
362
|
+
Error = "error",
|
|
363
|
+
Pending = "pending",
|
|
364
|
+
RequiresMore = "requires_more",
|
|
365
|
+
}
|
|
366
|
+
type PaymentSessions = {
|
|
367
|
+
__typename?: 'PaymentSessions';
|
|
368
|
+
amount: Scalars['Int']['output'];
|
|
369
|
+
currencyCode: Scalars['String']['output'];
|
|
370
|
+
data: Scalars['JSON']['output'];
|
|
371
|
+
id: Scalars['String']['output'];
|
|
372
|
+
providerId: Scalars['String']['output'];
|
|
373
|
+
status: PaymentSessionStatus;
|
|
374
|
+
};
|
|
375
|
+
declare enum PaymentStatus {
|
|
376
|
+
Authorized = "authorized",
|
|
377
|
+
Awaiting = "awaiting",
|
|
378
|
+
Canceled = "canceled",
|
|
379
|
+
NotPaid = "not_paid",
|
|
380
|
+
PartiallyAuthorized = "partially_authorized",
|
|
381
|
+
}
|
|
382
|
+
type Price = {
|
|
383
|
+
__typename?: 'Price';
|
|
384
|
+
amount?: Maybe<Scalars['Float']['output']>;
|
|
385
|
+
currencyCode?: Maybe<Scalars['String']['output']>;
|
|
386
|
+
priceType?: Maybe<Scalars['String']['output']>;
|
|
387
|
+
};
|
|
388
|
+
type Product = {
|
|
389
|
+
__typename?: 'Product';
|
|
390
|
+
collection?: Maybe<Collection>;
|
|
391
|
+
collectionId?: Maybe<Scalars['String']['output']>;
|
|
392
|
+
createdAt: Scalars['DateTime']['output'];
|
|
393
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
394
|
+
handle: Scalars['String']['output'];
|
|
395
|
+
height?: Maybe<Scalars['Float']['output']>;
|
|
396
|
+
id: Scalars['ID']['output'];
|
|
397
|
+
images?: Maybe<Array<ProductImage>>;
|
|
398
|
+
length?: Maybe<Scalars['Float']['output']>;
|
|
399
|
+
material?: Maybe<Scalars['String']['output']>;
|
|
400
|
+
options?: Maybe<Array<ProductOption>>;
|
|
401
|
+
originCountry?: Maybe<Scalars['String']['output']>;
|
|
402
|
+
tags?: Maybe<Array<ProductTag>>;
|
|
403
|
+
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
404
|
+
title: Scalars['String']['output'];
|
|
405
|
+
type?: Maybe<Scalars['String']['output']>;
|
|
406
|
+
variants?: Maybe<Array<ProductVariant>>;
|
|
407
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
|
408
|
+
width?: Maybe<Scalars['Float']['output']>;
|
|
409
|
+
};
|
|
410
|
+
type ProductCategory = {
|
|
411
|
+
__typename?: 'ProductCategory';
|
|
412
|
+
categoryChildren?: Maybe<Array<ProductCategory>>;
|
|
413
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
414
|
+
handle: Scalars['String']['output'];
|
|
415
|
+
id: Scalars['ID']['output'];
|
|
416
|
+
name: Scalars['String']['output'];
|
|
417
|
+
parentCategory?: Maybe<ProductCategory>;
|
|
418
|
+
products?: Maybe<ProductList>;
|
|
419
|
+
};
|
|
420
|
+
type ProductHit = {
|
|
421
|
+
__typename?: 'ProductHit';
|
|
422
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
423
|
+
handle: Scalars['String']['output'];
|
|
424
|
+
id: Scalars['ID']['output'];
|
|
425
|
+
thumbnail?: Maybe<Scalars['String']['output']>;
|
|
426
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
427
|
+
};
|
|
428
|
+
type ProductImage = {
|
|
429
|
+
__typename?: 'ProductImage';
|
|
430
|
+
id: Scalars['ID']['output'];
|
|
431
|
+
url: Scalars['String']['output'];
|
|
432
|
+
};
|
|
433
|
+
type ProductList = {
|
|
434
|
+
__typename?: 'ProductList';
|
|
435
|
+
count: Scalars['Int']['output'];
|
|
436
|
+
items?: Maybe<Array<Product>>;
|
|
437
|
+
};
|
|
438
|
+
type ProductListResponse = {
|
|
439
|
+
__typename?: 'ProductListResponse';
|
|
440
|
+
count: Scalars['Int']['output'];
|
|
441
|
+
products?: Maybe<Array<Maybe<Product>>>;
|
|
442
|
+
};
|
|
443
|
+
type ProductOption = {
|
|
444
|
+
__typename?: 'ProductOption';
|
|
445
|
+
id: Scalars['ID']['output'];
|
|
446
|
+
title: Scalars['String']['output'];
|
|
447
|
+
values: Array<ProductOptionValue>;
|
|
448
|
+
};
|
|
449
|
+
type ProductOptionValue = {
|
|
450
|
+
__typename?: 'ProductOptionValue';
|
|
451
|
+
id: Scalars['ID']['output'];
|
|
452
|
+
value: Scalars['String']['output'];
|
|
453
|
+
};
|
|
454
|
+
type ProductTag = {
|
|
455
|
+
__typename?: 'ProductTag';
|
|
456
|
+
id: Scalars['ID']['output'];
|
|
457
|
+
};
|
|
458
|
+
type ProductVariant = {
|
|
459
|
+
__typename?: 'ProductVariant';
|
|
460
|
+
allowBackorder?: Maybe<Scalars['Boolean']['output']>;
|
|
461
|
+
id: Scalars['ID']['output'];
|
|
462
|
+
inventoryQuantity?: Maybe<Scalars['Int']['output']>;
|
|
463
|
+
manageInventory?: Maybe<Scalars['Boolean']['output']>;
|
|
464
|
+
options?: Maybe<Array<Maybe<ProductVariantOption>>>;
|
|
465
|
+
originalPrice?: Maybe<Price>;
|
|
466
|
+
price?: Maybe<Price>;
|
|
467
|
+
product?: Maybe<Product>;
|
|
468
|
+
sku?: Maybe<Scalars['String']['output']>;
|
|
469
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
470
|
+
};
|
|
471
|
+
type ProductVariantOption = {
|
|
472
|
+
__typename?: 'ProductVariantOption';
|
|
473
|
+
id: Scalars['ID']['output'];
|
|
474
|
+
optionId: Scalars['ID']['output'];
|
|
475
|
+
value: Scalars['String']['output'];
|
|
476
|
+
};
|
|
477
|
+
type Promotion = {
|
|
478
|
+
__typename?: 'Promotion';
|
|
479
|
+
applicationMethod?: Maybe<ApplicationMethod>;
|
|
480
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
481
|
+
id: Scalars['String']['output'];
|
|
482
|
+
isAutomatic?: Maybe<Scalars['Boolean']['output']>;
|
|
483
|
+
};
|
|
484
|
+
type Query = {
|
|
485
|
+
__typename?: 'Query';
|
|
486
|
+
cart?: Maybe<Cart>;
|
|
487
|
+
collection?: Maybe<Collection>;
|
|
488
|
+
collections: Array<Collection>;
|
|
489
|
+
footer?: Maybe<Footer>;
|
|
490
|
+
me?: Maybe<Customer>;
|
|
491
|
+
product?: Maybe<Product>;
|
|
492
|
+
productCategories: Array<ProductCategory>;
|
|
493
|
+
productCategory?: Maybe<ProductCategory>;
|
|
494
|
+
products: ProductListResponse;
|
|
495
|
+
searchProducts: SearchProducts;
|
|
496
|
+
};
|
|
497
|
+
type Query_CartArgs = {
|
|
498
|
+
id: Scalars['ID']['input'];
|
|
499
|
+
};
|
|
500
|
+
type Query_CollectionArgs = {
|
|
501
|
+
id: Scalars['ID']['input'];
|
|
502
|
+
};
|
|
503
|
+
type Query_CollectionsArgs = {
|
|
504
|
+
handle?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
505
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
506
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
507
|
+
};
|
|
508
|
+
type Query_ProductArgs = {
|
|
509
|
+
id: Scalars['ID']['input'];
|
|
510
|
+
region_id?: InputMaybe<Scalars['String']['input']>;
|
|
511
|
+
};
|
|
512
|
+
type Query_ProductCategoriesArgs = {
|
|
513
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
514
|
+
include_descendants_tree?: InputMaybe<Scalars['Boolean']['input']>;
|
|
515
|
+
is_active?: InputMaybe<Scalars['Boolean']['input']>;
|
|
516
|
+
is_internal?: InputMaybe<Scalars['Boolean']['input']>;
|
|
517
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
518
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
519
|
+
parent_category_id?: InputMaybe<Scalars['String']['input']>;
|
|
520
|
+
q?: InputMaybe<Scalars['String']['input']>;
|
|
521
|
+
};
|
|
522
|
+
type Query_ProductCategoryArgs = {
|
|
523
|
+
id: Scalars['ID']['input'];
|
|
524
|
+
};
|
|
525
|
+
type Query_ProductsArgs = {
|
|
526
|
+
category_id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
527
|
+
collection_id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
528
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
529
|
+
id?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
530
|
+
is_giftcard?: InputMaybe<Scalars['Boolean']['input']>;
|
|
531
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
532
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
533
|
+
q?: InputMaybe<Scalars['String']['input']>;
|
|
534
|
+
region_id?: InputMaybe<Scalars['String']['input']>;
|
|
535
|
+
tag_id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
536
|
+
};
|
|
537
|
+
type Query_SearchProductsArgs = {
|
|
538
|
+
facets?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
539
|
+
filters?: InputMaybe<Scalars['String']['input']>;
|
|
540
|
+
hitsPerPage?: InputMaybe<Scalars['Int']['input']>;
|
|
541
|
+
indexName?: InputMaybe<Scalars['String']['input']>;
|
|
542
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
543
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
544
|
+
};
|
|
545
|
+
type Region = {
|
|
546
|
+
__typename?: 'Region';
|
|
547
|
+
countries?: Maybe<Array<Maybe<Country>>>;
|
|
548
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
549
|
+
currencyCode: Scalars['String']['output'];
|
|
550
|
+
id: Scalars['ID']['output'];
|
|
551
|
+
name: Scalars['String']['output'];
|
|
552
|
+
};
|
|
553
|
+
type RichText = {
|
|
554
|
+
__typename?: 'RichText';
|
|
555
|
+
text: Array<RichTextBlock>;
|
|
556
|
+
};
|
|
557
|
+
type RichTextBlock = FileBlock | ImageBlock | TextBlock;
|
|
558
|
+
type SanityFileAsset = {
|
|
559
|
+
__typename?: 'SanityFileAsset';
|
|
560
|
+
_id: Scalars['ID']['output'];
|
|
561
|
+
mimeType?: Maybe<Scalars['String']['output']>;
|
|
562
|
+
originalFilename?: Maybe<Scalars['String']['output']>;
|
|
563
|
+
size?: Maybe<Scalars['Int']['output']>;
|
|
564
|
+
url: Scalars['String']['output'];
|
|
565
|
+
};
|
|
566
|
+
type SanityImage = {
|
|
567
|
+
__typename?: 'SanityImage';
|
|
568
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
569
|
+
asset?: Maybe<SanityImageAsset>;
|
|
570
|
+
caption?: Maybe<Scalars['String']['output']>;
|
|
571
|
+
};
|
|
572
|
+
type SanityImageAsset = {
|
|
573
|
+
__typename?: 'SanityImageAsset';
|
|
574
|
+
_id: Scalars['ID']['output'];
|
|
575
|
+
metadata?: Maybe<ImageMetadata>;
|
|
576
|
+
url: Scalars['String']['output'];
|
|
577
|
+
};
|
|
578
|
+
type SearchProducts = {
|
|
579
|
+
__typename?: 'SearchProducts';
|
|
580
|
+
hitsPerPage: Scalars['Int']['output'];
|
|
581
|
+
items: Array<ProductHit>;
|
|
582
|
+
page: Scalars['Int']['output'];
|
|
583
|
+
params: Scalars['String']['output'];
|
|
584
|
+
query: Scalars['String']['output'];
|
|
585
|
+
total: Scalars['Int']['output'];
|
|
586
|
+
totalPages: Scalars['Int']['output'];
|
|
587
|
+
};
|
|
588
|
+
type ShippingMethod = {
|
|
589
|
+
__typename?: 'ShippingMethod';
|
|
590
|
+
amount: Scalars['Int']['output'];
|
|
591
|
+
cartId?: Maybe<Scalars['String']['output']>;
|
|
592
|
+
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
|
593
|
+
id: Scalars['String']['output'];
|
|
594
|
+
name: Scalars['String']['output'];
|
|
595
|
+
shippingOptionId?: Maybe<Scalars['String']['output']>;
|
|
596
|
+
total?: Maybe<Scalars['Int']['output']>;
|
|
597
|
+
};
|
|
598
|
+
type SocialLink = {
|
|
599
|
+
__typename?: 'SocialLink';
|
|
600
|
+
text: Scalars['String']['output'];
|
|
601
|
+
url: Scalars['String']['output'];
|
|
602
|
+
};
|
|
603
|
+
type Span = {
|
|
604
|
+
__typename?: 'Span';
|
|
605
|
+
_key: Scalars['String']['output'];
|
|
606
|
+
_type: Scalars['String']['output'];
|
|
607
|
+
marks?: Maybe<Array<Scalars['String']['output']>>;
|
|
608
|
+
text: Scalars['String']['output'];
|
|
609
|
+
};
|
|
610
|
+
type StoreLineItemDeleteResponse = {
|
|
611
|
+
__typename?: 'StoreLineItemDeleteResponse';
|
|
612
|
+
deleted: Scalars['Boolean']['output'];
|
|
613
|
+
id: Scalars['ID']['output'];
|
|
614
|
+
object?: Maybe<Scalars['String']['output']>;
|
|
615
|
+
};
|
|
616
|
+
type TextBlock = {
|
|
617
|
+
__typename?: 'TextBlock';
|
|
618
|
+
_key: Scalars['String']['output'];
|
|
619
|
+
_type: Scalars['String']['output'];
|
|
620
|
+
children: Array<Span>;
|
|
621
|
+
level?: Maybe<Scalars['Int']['output']>;
|
|
622
|
+
listItem?: Maybe<Scalars['String']['output']>;
|
|
623
|
+
markDefs?: Maybe<Array<MarkDef>>;
|
|
624
|
+
style?: Maybe<Scalars['String']['output']>;
|
|
625
|
+
};
|
|
626
|
+
type Token = {
|
|
627
|
+
__typename?: 'Token';
|
|
628
|
+
token?: Maybe<Scalars['String']['output']>;
|
|
629
|
+
};
|
|
630
|
+
type UpdateCartInput = {
|
|
631
|
+
billingAddress?: InputMaybe<AddressInput>;
|
|
632
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
633
|
+
promoCodes?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
634
|
+
regionId?: InputMaybe<Scalars['String']['input']>;
|
|
635
|
+
shippingAddress?: InputMaybe<AddressInput>;
|
|
636
|
+
};
|
|
637
|
+
type UpdateLineItemInput = {
|
|
638
|
+
quantity: Scalars['Int']['input'];
|
|
639
|
+
};
|
|
640
|
+
type CartItemFieldsFragment = {
|
|
641
|
+
__typename?: 'LineItem';
|
|
642
|
+
id: string;
|
|
643
|
+
title?: string | null;
|
|
644
|
+
quantity: number;
|
|
645
|
+
unitPrice?: number | null;
|
|
646
|
+
createdAt?: any | null;
|
|
647
|
+
thumbnail?: string | null;
|
|
648
|
+
productHandle?: string | null;
|
|
649
|
+
productTitle?: string | null;
|
|
650
|
+
total?: number | null;
|
|
651
|
+
originalTotal?: number | null;
|
|
652
|
+
variant?: ({
|
|
653
|
+
__typename?: 'ProductVariant';
|
|
654
|
+
} & ProductVariantFragment) | null;
|
|
655
|
+
};
|
|
656
|
+
type AddressFieldsFragment = {
|
|
657
|
+
__typename?: 'Address';
|
|
658
|
+
firstName?: string | null;
|
|
659
|
+
lastName?: string | null;
|
|
660
|
+
phone?: string | null;
|
|
661
|
+
address1?: string | null;
|
|
662
|
+
city?: string | null;
|
|
663
|
+
countryCode?: string | null;
|
|
664
|
+
postalCode?: string | null;
|
|
665
|
+
};
|
|
666
|
+
type ShippingMethodFieldsFragment = {
|
|
667
|
+
__typename?: 'ShippingMethod';
|
|
668
|
+
id: string;
|
|
669
|
+
cartId?: string | null;
|
|
670
|
+
name: string;
|
|
671
|
+
amount: number;
|
|
672
|
+
shippingOptionId?: string | null;
|
|
673
|
+
createdAt?: any | null;
|
|
674
|
+
total?: number | null;
|
|
675
|
+
};
|
|
676
|
+
type PaymentCollectionFieldsFragment = {
|
|
677
|
+
__typename?: 'PaymentCollection';
|
|
678
|
+
id: string;
|
|
679
|
+
currencyCode: string;
|
|
680
|
+
amount: number;
|
|
681
|
+
status: PaymentStatus;
|
|
682
|
+
paymentProviders: Array<{
|
|
683
|
+
__typename?: 'PaymentProviders';
|
|
684
|
+
id: string;
|
|
685
|
+
} | null>;
|
|
686
|
+
paymentSessions?: Array<{
|
|
687
|
+
__typename?: 'PaymentSessions';
|
|
688
|
+
id: string;
|
|
689
|
+
amount: number;
|
|
690
|
+
currencyCode: string;
|
|
691
|
+
providerId: string;
|
|
692
|
+
data: any;
|
|
693
|
+
status: PaymentSessionStatus;
|
|
694
|
+
} | null> | null;
|
|
695
|
+
};
|
|
696
|
+
type CountryFieldsFragment = {
|
|
697
|
+
__typename?: 'Country';
|
|
698
|
+
id?: string | null;
|
|
699
|
+
iso2?: string | null;
|
|
700
|
+
name?: string | null;
|
|
701
|
+
displayName?: string | null;
|
|
702
|
+
};
|
|
703
|
+
type RegionFieldsFragment = {
|
|
704
|
+
__typename?: 'Region';
|
|
705
|
+
id: string;
|
|
706
|
+
name: string;
|
|
707
|
+
currencyCode: string;
|
|
708
|
+
createdAt?: any | null;
|
|
709
|
+
countries?: Array<({
|
|
710
|
+
__typename?: 'Country';
|
|
711
|
+
} & CountryFieldsFragment) | null> | null;
|
|
712
|
+
};
|
|
713
|
+
type PromotionFieldsFragment = {
|
|
714
|
+
__typename?: 'Promotion';
|
|
715
|
+
id: string;
|
|
716
|
+
code?: string | null;
|
|
717
|
+
applicationMethod?: {
|
|
718
|
+
__typename?: 'ApplicationMethod';
|
|
719
|
+
value: string;
|
|
720
|
+
type: ApplicationType;
|
|
721
|
+
currencyCode: string;
|
|
722
|
+
} | null;
|
|
723
|
+
};
|
|
724
|
+
type CartFieldsFragment = {
|
|
725
|
+
__typename?: 'Cart';
|
|
726
|
+
id: string;
|
|
727
|
+
customerId?: string | null;
|
|
728
|
+
regionId?: string | null;
|
|
729
|
+
email?: string | null;
|
|
730
|
+
total: number;
|
|
731
|
+
subtotal: number;
|
|
732
|
+
taxTotal: number;
|
|
733
|
+
itemTotal: number;
|
|
734
|
+
discountTotal: number;
|
|
735
|
+
originalTotal: number;
|
|
736
|
+
currencyCode: string;
|
|
737
|
+
shippingTotal: number;
|
|
738
|
+
giftCardTotal: number;
|
|
739
|
+
promotions: Array<({
|
|
740
|
+
__typename?: 'Promotion';
|
|
741
|
+
} & PromotionFieldsFragment) | null>;
|
|
742
|
+
items?: Array<{
|
|
743
|
+
__typename?: 'LineItem';
|
|
744
|
+
} & CartItemFieldsFragment> | null;
|
|
745
|
+
shippingAddress?: ({
|
|
746
|
+
__typename?: 'Address';
|
|
747
|
+
} & AddressFieldsFragment) | null;
|
|
748
|
+
billingAddress?: ({
|
|
749
|
+
__typename?: 'Address';
|
|
750
|
+
} & AddressFieldsFragment) | null;
|
|
751
|
+
region?: ({
|
|
752
|
+
__typename?: 'Region';
|
|
753
|
+
} & RegionFieldsFragment) | null;
|
|
754
|
+
shippingMethods?: Array<({
|
|
755
|
+
__typename?: 'ShippingMethod';
|
|
756
|
+
} & ShippingMethodFieldsFragment) | null> | null;
|
|
757
|
+
paymentCollection?: ({
|
|
758
|
+
__typename?: 'PaymentCollection';
|
|
759
|
+
} & PaymentCollectionFieldsFragment) | null;
|
|
760
|
+
};
|
|
761
|
+
type CustomerAddressFragment = {
|
|
762
|
+
__typename?: 'CustomerAddress';
|
|
763
|
+
id: string;
|
|
764
|
+
addressName?: string | null;
|
|
765
|
+
isDefaultShipping?: boolean | null;
|
|
766
|
+
isDefaultBilling?: boolean | null;
|
|
767
|
+
customerId?: string | null;
|
|
768
|
+
company?: string | null;
|
|
769
|
+
firstName?: string | null;
|
|
770
|
+
lastName?: string | null;
|
|
771
|
+
address1?: string | null;
|
|
772
|
+
address2?: string | null;
|
|
773
|
+
city?: string | null;
|
|
774
|
+
countryCode?: string | null;
|
|
775
|
+
province?: string | null;
|
|
776
|
+
postalCode?: string | null;
|
|
777
|
+
phone?: string | null;
|
|
778
|
+
};
|
|
779
|
+
type CustomerFragment = {
|
|
780
|
+
__typename?: 'Customer';
|
|
781
|
+
id: string;
|
|
782
|
+
email?: string | null;
|
|
783
|
+
defaultBillingAddressId?: string | null;
|
|
784
|
+
defaultShippingAddressId?: string | null;
|
|
785
|
+
companyName?: string | null;
|
|
786
|
+
firstName?: string | null;
|
|
787
|
+
lastName?: string | null;
|
|
788
|
+
phone?: string | null;
|
|
789
|
+
addresses?: Array<({
|
|
790
|
+
__typename?: 'CustomerAddress';
|
|
791
|
+
} & CustomerAddressFragment) | null> | null;
|
|
792
|
+
};
|
|
793
|
+
type ProductImageFragment = {
|
|
794
|
+
__typename?: 'ProductImage';
|
|
795
|
+
id: string;
|
|
796
|
+
url: string;
|
|
797
|
+
};
|
|
798
|
+
type ProductTagFragment = {
|
|
799
|
+
__typename?: 'ProductTag';
|
|
800
|
+
id: string;
|
|
801
|
+
};
|
|
802
|
+
type ProductOptionFragment = {
|
|
803
|
+
__typename?: 'ProductOption';
|
|
804
|
+
id: string;
|
|
805
|
+
title: string;
|
|
806
|
+
values: Array<{
|
|
807
|
+
__typename?: 'ProductOptionValue';
|
|
808
|
+
id: string;
|
|
809
|
+
value: string;
|
|
810
|
+
}>;
|
|
811
|
+
};
|
|
812
|
+
type PriceFragment = {
|
|
813
|
+
__typename?: 'Price';
|
|
814
|
+
amount?: number | null;
|
|
815
|
+
currencyCode?: string | null;
|
|
816
|
+
priceType?: string | null;
|
|
817
|
+
};
|
|
818
|
+
type ProductVariantFragment = {
|
|
819
|
+
__typename?: 'ProductVariant';
|
|
820
|
+
id: string;
|
|
821
|
+
sku?: string | null;
|
|
822
|
+
inventoryQuantity?: number | null;
|
|
823
|
+
allowBackorder?: boolean | null;
|
|
824
|
+
manageInventory?: boolean | null;
|
|
825
|
+
title?: string | null;
|
|
826
|
+
options?: Array<{
|
|
827
|
+
__typename?: 'ProductVariantOption';
|
|
828
|
+
id: string;
|
|
829
|
+
optionId: string;
|
|
830
|
+
value: string;
|
|
831
|
+
} | null> | null;
|
|
832
|
+
price?: ({
|
|
833
|
+
__typename?: 'Price';
|
|
834
|
+
} & PriceFragment) | null;
|
|
835
|
+
originalPrice?: ({
|
|
836
|
+
__typename?: 'Price';
|
|
837
|
+
} & PriceFragment) | null;
|
|
838
|
+
};
|
|
839
|
+
type ProductCategoryFragment = {
|
|
840
|
+
__typename?: 'ProductCategory';
|
|
841
|
+
id: string;
|
|
842
|
+
name: string;
|
|
843
|
+
description?: string | null;
|
|
844
|
+
handle: string;
|
|
845
|
+
};
|
|
846
|
+
type ProductCollectionFragment = {
|
|
847
|
+
__typename?: 'Collection';
|
|
848
|
+
id: string;
|
|
849
|
+
title: string;
|
|
850
|
+
handle: string;
|
|
851
|
+
};
|
|
852
|
+
type ProductFragment = {
|
|
853
|
+
__typename?: 'Product';
|
|
854
|
+
id: string;
|
|
855
|
+
title: string;
|
|
856
|
+
handle: string;
|
|
857
|
+
description?: string | null;
|
|
858
|
+
thumbnail?: string | null;
|
|
859
|
+
width?: number | null;
|
|
860
|
+
weight?: number | null;
|
|
861
|
+
length?: number | null;
|
|
862
|
+
height?: number | null;
|
|
863
|
+
originCountry?: string | null;
|
|
864
|
+
material?: string | null;
|
|
865
|
+
type?: string | null;
|
|
866
|
+
collectionId?: string | null;
|
|
867
|
+
createdAt: any;
|
|
868
|
+
images?: Array<{
|
|
869
|
+
__typename?: 'ProductImage';
|
|
870
|
+
} & ProductImageFragment> | null;
|
|
871
|
+
tags?: Array<{
|
|
872
|
+
__typename?: 'ProductTag';
|
|
873
|
+
} & ProductTagFragment> | null;
|
|
874
|
+
options?: Array<{
|
|
875
|
+
__typename?: 'ProductOption';
|
|
876
|
+
} & ProductOptionFragment> | null;
|
|
877
|
+
variants?: Array<{
|
|
878
|
+
__typename?: 'ProductVariant';
|
|
879
|
+
} & ProductVariantFragment> | null;
|
|
880
|
+
collection?: ({
|
|
881
|
+
__typename?: 'Collection';
|
|
882
|
+
} & ProductCollectionFragment) | null;
|
|
883
|
+
};
|
|
884
|
+
type CollectionProductsFragment = {
|
|
885
|
+
__typename?: 'ProductList';
|
|
886
|
+
count: number;
|
|
887
|
+
items?: Array<{
|
|
888
|
+
__typename?: 'Product';
|
|
889
|
+
id: string;
|
|
890
|
+
title: string;
|
|
891
|
+
handle: string;
|
|
892
|
+
thumbnail?: string | null;
|
|
893
|
+
images?: Array<{
|
|
894
|
+
__typename?: 'ProductImage';
|
|
895
|
+
} & ProductImageFragment> | null;
|
|
896
|
+
variants?: Array<{
|
|
897
|
+
__typename?: 'ProductVariant';
|
|
898
|
+
price?: ({
|
|
899
|
+
__typename?: 'Price';
|
|
900
|
+
} & PriceFragment) | null;
|
|
901
|
+
originalPrice?: ({
|
|
902
|
+
__typename?: 'Price';
|
|
903
|
+
} & PriceFragment) | null;
|
|
904
|
+
}> | null;
|
|
905
|
+
}> | null;
|
|
906
|
+
};
|
|
907
|
+
type ProductHitFragment = {
|
|
908
|
+
__typename?: 'ProductHit';
|
|
909
|
+
id: string;
|
|
910
|
+
title?: string | null;
|
|
911
|
+
description?: string | null;
|
|
912
|
+
handle: string;
|
|
913
|
+
thumbnail?: string | null;
|
|
914
|
+
};
|
|
915
|
+
type CreateCartMutationVariables = Exact<{
|
|
916
|
+
data: CreateCartInput;
|
|
917
|
+
}>;
|
|
918
|
+
type CreateCartMutation = {
|
|
919
|
+
__typename?: 'Mutation';
|
|
920
|
+
createCart?: ({
|
|
921
|
+
__typename?: 'Cart';
|
|
922
|
+
} & CartFieldsFragment) | null;
|
|
923
|
+
};
|
|
924
|
+
type UpdateCartMutationVariables = Exact<{
|
|
925
|
+
id: Scalars['ID']['input'];
|
|
926
|
+
data: UpdateCartInput;
|
|
927
|
+
}>;
|
|
928
|
+
type UpdateCartMutation = {
|
|
929
|
+
__typename?: 'Mutation';
|
|
930
|
+
updateCart?: ({
|
|
931
|
+
__typename?: 'Cart';
|
|
932
|
+
regionId?: string | null;
|
|
933
|
+
currencyCode: string;
|
|
934
|
+
shippingAddress?: ({
|
|
935
|
+
__typename?: 'Address';
|
|
936
|
+
} & AddressFieldsFragment) | null;
|
|
937
|
+
billingAddress?: ({
|
|
938
|
+
__typename?: 'Address';
|
|
939
|
+
} & AddressFieldsFragment) | null;
|
|
940
|
+
} & CartFieldsFragment) | null;
|
|
941
|
+
};
|
|
942
|
+
type CreateLineItemMutationVariables = Exact<{
|
|
943
|
+
cartId: Scalars['ID']['input'];
|
|
944
|
+
data: CreateLineItemInput;
|
|
945
|
+
}>;
|
|
946
|
+
type CreateLineItemMutation = {
|
|
947
|
+
__typename?: 'Mutation';
|
|
948
|
+
createLineItem?: {
|
|
949
|
+
__typename?: 'Cart';
|
|
950
|
+
id: string;
|
|
951
|
+
total: number;
|
|
952
|
+
items?: Array<{
|
|
953
|
+
__typename?: 'LineItem';
|
|
954
|
+
} & CartItemFieldsFragment> | null;
|
|
955
|
+
} | null;
|
|
956
|
+
};
|
|
957
|
+
type UpdateLineItemMutationVariables = Exact<{
|
|
958
|
+
cartId: Scalars['ID']['input'];
|
|
959
|
+
lineItemId: Scalars['ID']['input'];
|
|
960
|
+
data: UpdateLineItemInput;
|
|
961
|
+
}>;
|
|
962
|
+
type UpdateLineItemMutation = {
|
|
963
|
+
__typename?: 'Mutation';
|
|
964
|
+
updateLineItem?: {
|
|
965
|
+
__typename?: 'Cart';
|
|
966
|
+
id: string;
|
|
967
|
+
total: number;
|
|
968
|
+
items?: Array<{
|
|
969
|
+
__typename?: 'LineItem';
|
|
970
|
+
} & CartItemFieldsFragment> | null;
|
|
971
|
+
} | null;
|
|
972
|
+
};
|
|
973
|
+
type DeleteLineItemMutationVariables = Exact<{
|
|
974
|
+
cartId: Scalars['ID']['input'];
|
|
975
|
+
lineItemId: Scalars['ID']['input'];
|
|
976
|
+
}>;
|
|
977
|
+
type DeleteLineItemMutation = {
|
|
978
|
+
__typename?: 'Mutation';
|
|
979
|
+
deleteLineItem: {
|
|
980
|
+
__typename?: 'StoreLineItemDeleteResponse';
|
|
981
|
+
id: string;
|
|
982
|
+
object?: string | null;
|
|
983
|
+
deleted: boolean;
|
|
984
|
+
};
|
|
985
|
+
};
|
|
986
|
+
type AddShippingMethodMutationVariables = Exact<{
|
|
987
|
+
cartId: Scalars['ID']['input'];
|
|
988
|
+
optionId: Scalars['ID']['input'];
|
|
989
|
+
}>;
|
|
990
|
+
type AddShippingMethodMutation = {
|
|
991
|
+
__typename?: 'Mutation';
|
|
992
|
+
addShippingMethod?: {
|
|
993
|
+
__typename?: 'Cart';
|
|
994
|
+
id: string;
|
|
995
|
+
total: number;
|
|
996
|
+
items?: Array<{
|
|
997
|
+
__typename?: 'LineItem';
|
|
998
|
+
} & CartItemFieldsFragment> | null;
|
|
999
|
+
shippingMethods?: Array<({
|
|
1000
|
+
__typename?: 'ShippingMethod';
|
|
1001
|
+
} & ShippingMethodFieldsFragment) | null> | null;
|
|
1002
|
+
} | null;
|
|
1003
|
+
};
|
|
1004
|
+
type CompleteCartMutationVariables = Exact<{
|
|
1005
|
+
cartId: Scalars['ID']['input'];
|
|
1006
|
+
}>;
|
|
1007
|
+
type CompleteCartMutation = {
|
|
1008
|
+
__typename?: 'Mutation';
|
|
1009
|
+
completeCart?: {
|
|
1010
|
+
__typename: 'CompleteCartErrorResult';
|
|
1011
|
+
type: string;
|
|
1012
|
+
error?: {
|
|
1013
|
+
__typename?: 'CompleteCartError';
|
|
1014
|
+
message: string;
|
|
1015
|
+
name: string;
|
|
1016
|
+
type: string;
|
|
1017
|
+
} | null;
|
|
1018
|
+
cart?: {
|
|
1019
|
+
__typename?: 'Cart';
|
|
1020
|
+
id: string;
|
|
1021
|
+
total: number;
|
|
1022
|
+
items?: Array<{
|
|
1023
|
+
__typename?: 'LineItem';
|
|
1024
|
+
} & CartItemFieldsFragment> | null;
|
|
1025
|
+
} | null;
|
|
1026
|
+
} | {
|
|
1027
|
+
__typename: 'CompleteCartOrderResult';
|
|
1028
|
+
type: string;
|
|
1029
|
+
order?: {
|
|
1030
|
+
__typename?: 'Order';
|
|
1031
|
+
id: string;
|
|
1032
|
+
email: string;
|
|
1033
|
+
status: string;
|
|
1034
|
+
total: number;
|
|
1035
|
+
createdAt: any;
|
|
1036
|
+
currencyCode: string;
|
|
1037
|
+
customerId: string;
|
|
1038
|
+
fulfillmentStatus: string;
|
|
1039
|
+
displayId?: number | null;
|
|
1040
|
+
subtotal?: number | null;
|
|
1041
|
+
discountTotal?: number | null;
|
|
1042
|
+
giftCardTotal?: number | null;
|
|
1043
|
+
shippingTotal?: number | null;
|
|
1044
|
+
taxTotal?: number | null;
|
|
1045
|
+
paymentCollections?: Array<({
|
|
1046
|
+
__typename?: 'PaymentCollection';
|
|
1047
|
+
} & PaymentCollectionFieldsFragment) | null> | null;
|
|
1048
|
+
items: Array<{
|
|
1049
|
+
__typename?: 'LineItem';
|
|
1050
|
+
} & CartItemFieldsFragment>;
|
|
1051
|
+
shippingMethods: Array<{
|
|
1052
|
+
__typename?: 'ShippingMethod';
|
|
1053
|
+
} & ShippingMethodFieldsFragment>;
|
|
1054
|
+
shippingAddress?: ({
|
|
1055
|
+
__typename?: 'Address';
|
|
1056
|
+
} & AddressFieldsFragment) | null;
|
|
1057
|
+
} | null;
|
|
1058
|
+
} | null;
|
|
1059
|
+
};
|
|
1060
|
+
type TransferCartMutationVariables = Exact<{
|
|
1061
|
+
cartId: Scalars['ID']['input'];
|
|
1062
|
+
}>;
|
|
1063
|
+
type TransferCartMutation = {
|
|
1064
|
+
__typename?: 'Mutation';
|
|
1065
|
+
transferCart?: ({
|
|
1066
|
+
__typename?: 'Cart';
|
|
1067
|
+
} & CartFieldsFragment) | null;
|
|
1068
|
+
};
|
|
1069
|
+
type ApplyPromotionsMutationVariables = Exact<{
|
|
1070
|
+
cartId: Scalars['ID']['input'];
|
|
1071
|
+
codes: Array<Scalars['String']['input']> | Scalars['String']['input'];
|
|
1072
|
+
}>;
|
|
1073
|
+
type ApplyPromotionsMutation = {
|
|
1074
|
+
__typename?: 'Mutation';
|
|
1075
|
+
applyPromotions?: ({
|
|
1076
|
+
__typename?: 'Cart';
|
|
1077
|
+
} & CartFieldsFragment) | null;
|
|
1078
|
+
};
|
|
1079
|
+
type LoginMutationVariables = Exact<{
|
|
1080
|
+
email: Scalars['String']['input'];
|
|
1081
|
+
password: Scalars['String']['input'];
|
|
1082
|
+
}>;
|
|
1083
|
+
type LoginMutation = {
|
|
1084
|
+
__typename?: 'Mutation';
|
|
1085
|
+
login?: {
|
|
1086
|
+
__typename?: 'Token';
|
|
1087
|
+
token?: string | null;
|
|
1088
|
+
} | null;
|
|
1089
|
+
};
|
|
1090
|
+
type LogoutMutationVariables = Exact<{
|
|
1091
|
+
[key: string]: never;
|
|
1092
|
+
}>;
|
|
1093
|
+
type LogoutMutation = {
|
|
1094
|
+
__typename?: 'Mutation';
|
|
1095
|
+
logout?: {
|
|
1096
|
+
__typename?: 'LogoutResponse';
|
|
1097
|
+
success?: boolean | null;
|
|
1098
|
+
} | null;
|
|
1099
|
+
};
|
|
1100
|
+
type GetCartQueryVariables = Exact<{
|
|
1101
|
+
id: Scalars['ID']['input'];
|
|
1102
|
+
}>;
|
|
1103
|
+
type GetCartQuery = {
|
|
1104
|
+
__typename?: 'Query';
|
|
1105
|
+
cart?: ({
|
|
1106
|
+
__typename?: 'Cart';
|
|
1107
|
+
} & CartFieldsFragment) | null;
|
|
1108
|
+
};
|
|
1109
|
+
type GetCustomerQueryVariables = Exact<{
|
|
1110
|
+
[key: string]: never;
|
|
1111
|
+
}>;
|
|
1112
|
+
type GetCustomerQuery = {
|
|
1113
|
+
__typename?: 'Query';
|
|
1114
|
+
me?: ({
|
|
1115
|
+
__typename?: 'Customer';
|
|
1116
|
+
} & CustomerFragment) | null;
|
|
1117
|
+
};
|
|
1118
|
+
type GetFooterQueryVariables = Exact<{
|
|
1119
|
+
[key: string]: never;
|
|
1120
|
+
}>;
|
|
1121
|
+
type GetFooterQuery = {
|
|
1122
|
+
__typename?: 'Query';
|
|
1123
|
+
footer?: {
|
|
1124
|
+
__typename?: 'Footer';
|
|
1125
|
+
storeName?: string | null;
|
|
1126
|
+
copyright?: string | null;
|
|
1127
|
+
social?: Array<{
|
|
1128
|
+
__typename?: 'SocialLink';
|
|
1129
|
+
text: string;
|
|
1130
|
+
url: string;
|
|
1131
|
+
}> | null;
|
|
1132
|
+
poweredByCta?: {
|
|
1133
|
+
__typename?: 'RichText';
|
|
1134
|
+
text: Array<{
|
|
1135
|
+
__typename?: 'FileBlock';
|
|
1136
|
+
_key: string;
|
|
1137
|
+
_type: string;
|
|
1138
|
+
asset?: {
|
|
1139
|
+
__typename?: 'SanityFileAsset';
|
|
1140
|
+
url: string;
|
|
1141
|
+
originalFilename?: string | null;
|
|
1142
|
+
size?: number | null;
|
|
1143
|
+
mimeType?: string | null;
|
|
1144
|
+
} | null;
|
|
1145
|
+
} | {
|
|
1146
|
+
__typename?: 'ImageBlock';
|
|
1147
|
+
_key: string;
|
|
1148
|
+
_type: string;
|
|
1149
|
+
alt?: string | null;
|
|
1150
|
+
asset?: {
|
|
1151
|
+
__typename?: 'SanityImageAsset';
|
|
1152
|
+
url: string;
|
|
1153
|
+
} | null;
|
|
1154
|
+
} | {
|
|
1155
|
+
__typename?: 'TextBlock';
|
|
1156
|
+
_key: string;
|
|
1157
|
+
_type: string;
|
|
1158
|
+
style?: string | null;
|
|
1159
|
+
children: Array<{
|
|
1160
|
+
__typename?: 'Span';
|
|
1161
|
+
_key: string;
|
|
1162
|
+
text: string;
|
|
1163
|
+
marks?: Array<string> | null;
|
|
1164
|
+
}>;
|
|
1165
|
+
markDefs?: Array<{
|
|
1166
|
+
__typename?: 'IconLinkMark';
|
|
1167
|
+
_key: string;
|
|
1168
|
+
_type: string;
|
|
1169
|
+
href: string;
|
|
1170
|
+
iconType: string;
|
|
1171
|
+
iconClass?: string | null;
|
|
1172
|
+
iconFill?: string | null;
|
|
1173
|
+
iconComponent?: string | null;
|
|
1174
|
+
iconUrl?: string | null;
|
|
1175
|
+
target?: string | null;
|
|
1176
|
+
iconImage?: {
|
|
1177
|
+
__typename?: 'SanityImage';
|
|
1178
|
+
alt?: string | null;
|
|
1179
|
+
asset?: {
|
|
1180
|
+
__typename?: 'SanityImageAsset';
|
|
1181
|
+
url: string;
|
|
1182
|
+
} | null;
|
|
1183
|
+
} | null;
|
|
1184
|
+
} | {
|
|
1185
|
+
__typename?: 'LinkMark';
|
|
1186
|
+
_key: string;
|
|
1187
|
+
_type: string;
|
|
1188
|
+
href: string;
|
|
1189
|
+
target?: string | null;
|
|
1190
|
+
}> | null;
|
|
1191
|
+
}>;
|
|
1192
|
+
} | null;
|
|
1193
|
+
} | null;
|
|
1194
|
+
};
|
|
1195
|
+
type GetProductsQueryVariables = Exact<{
|
|
1196
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1197
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1198
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
1199
|
+
region_id?: InputMaybe<Scalars['String']['input']>;
|
|
1200
|
+
category_id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
1201
|
+
collection_id?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
1202
|
+
q?: InputMaybe<Scalars['String']['input']>;
|
|
1203
|
+
is_giftcard?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1204
|
+
id?: InputMaybe<Array<Scalars['ID']['input']> | Scalars['ID']['input']>;
|
|
1205
|
+
tag_id?: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
|
|
1206
|
+
}>;
|
|
1207
|
+
type GetProductsQuery = {
|
|
1208
|
+
__typename?: 'Query';
|
|
1209
|
+
products: {
|
|
1210
|
+
__typename?: 'ProductListResponse';
|
|
1211
|
+
count: number;
|
|
1212
|
+
products?: Array<({
|
|
1213
|
+
__typename?: 'Product';
|
|
1214
|
+
} & ProductFragment) | null> | null;
|
|
1215
|
+
};
|
|
1216
|
+
};
|
|
1217
|
+
type GetProductQueryVariables = Exact<{
|
|
1218
|
+
id: Scalars['ID']['input'];
|
|
1219
|
+
region_id?: InputMaybe<Scalars['String']['input']>;
|
|
1220
|
+
}>;
|
|
1221
|
+
type GetProductQuery = {
|
|
1222
|
+
__typename?: 'Query';
|
|
1223
|
+
product?: ({
|
|
1224
|
+
__typename?: 'Product';
|
|
1225
|
+
} & ProductFragment) | null;
|
|
1226
|
+
};
|
|
1227
|
+
type GetProductCategoriesQueryVariables = Exact<{
|
|
1228
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1229
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1230
|
+
q?: InputMaybe<Scalars['String']['input']>;
|
|
1231
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
1232
|
+
parent_category_id?: InputMaybe<Scalars['String']['input']>;
|
|
1233
|
+
}>;
|
|
1234
|
+
type GetProductCategoriesQuery = {
|
|
1235
|
+
__typename?: 'Query';
|
|
1236
|
+
productCategories: Array<{
|
|
1237
|
+
__typename?: 'ProductCategory';
|
|
1238
|
+
parentCategory?: ({
|
|
1239
|
+
__typename?: 'ProductCategory';
|
|
1240
|
+
} & ProductCategoryFragment) | null;
|
|
1241
|
+
categoryChildren?: Array<{
|
|
1242
|
+
__typename?: 'ProductCategory';
|
|
1243
|
+
} & ProductCategoryFragment> | null;
|
|
1244
|
+
products?: {
|
|
1245
|
+
__typename?: 'ProductList';
|
|
1246
|
+
count: number;
|
|
1247
|
+
} | null;
|
|
1248
|
+
} & ProductCategoryFragment>;
|
|
1249
|
+
};
|
|
1250
|
+
type GetProductCategoryQueryVariables = Exact<{
|
|
1251
|
+
id: Scalars['ID']['input'];
|
|
1252
|
+
}>;
|
|
1253
|
+
type GetProductCategoryQuery = {
|
|
1254
|
+
__typename?: 'Query';
|
|
1255
|
+
productCategory?: ({
|
|
1256
|
+
__typename?: 'ProductCategory';
|
|
1257
|
+
parentCategory?: ({
|
|
1258
|
+
__typename?: 'ProductCategory';
|
|
1259
|
+
parentCategory?: ({
|
|
1260
|
+
__typename?: 'ProductCategory';
|
|
1261
|
+
} & ProductCategoryFragment) | null;
|
|
1262
|
+
} & ProductCategoryFragment) | null;
|
|
1263
|
+
categoryChildren?: Array<{
|
|
1264
|
+
__typename?: 'ProductCategory';
|
|
1265
|
+
} & ProductCategoryFragment> | null;
|
|
1266
|
+
products?: {
|
|
1267
|
+
__typename?: 'ProductList';
|
|
1268
|
+
count: number;
|
|
1269
|
+
} | null;
|
|
1270
|
+
} & ProductCategoryFragment) | null;
|
|
1271
|
+
};
|
|
1272
|
+
type GetCollectionsQueryVariables = Exact<{
|
|
1273
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1274
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1275
|
+
}>;
|
|
1276
|
+
type GetCollectionsQuery = {
|
|
1277
|
+
__typename?: 'Query';
|
|
1278
|
+
collections: Array<{
|
|
1279
|
+
__typename?: 'Collection';
|
|
1280
|
+
products?: ({
|
|
1281
|
+
__typename?: 'ProductList';
|
|
1282
|
+
} & CollectionProductsFragment) | null;
|
|
1283
|
+
} & ProductCollectionFragment>;
|
|
1284
|
+
};
|
|
1285
|
+
type GetCollectionsSummaryQueryVariables = Exact<{
|
|
1286
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
1287
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
1288
|
+
handle?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>> | InputMaybe<Scalars['String']['input']>>;
|
|
1289
|
+
}>;
|
|
1290
|
+
type GetCollectionsSummaryQuery = {
|
|
1291
|
+
__typename?: 'Query';
|
|
1292
|
+
collections: Array<{
|
|
1293
|
+
__typename?: 'Collection';
|
|
1294
|
+
products?: {
|
|
1295
|
+
__typename?: 'ProductList';
|
|
1296
|
+
count: number;
|
|
1297
|
+
} | null;
|
|
1298
|
+
} & ProductCollectionFragment>;
|
|
1299
|
+
};
|
|
1300
|
+
type GetCollectionQueryVariables = Exact<{
|
|
1301
|
+
id: Scalars['ID']['input'];
|
|
1302
|
+
}>;
|
|
1303
|
+
type GetCollectionQuery = {
|
|
1304
|
+
__typename?: 'Query';
|
|
1305
|
+
collection?: ({
|
|
1306
|
+
__typename?: 'Collection';
|
|
1307
|
+
products?: ({
|
|
1308
|
+
__typename?: 'ProductList';
|
|
1309
|
+
} & CollectionProductsFragment) | null;
|
|
1310
|
+
} & ProductCollectionFragment) | null;
|
|
1311
|
+
};
|
|
1312
|
+
type SearchSuggestionsQueryVariables = Exact<{
|
|
1313
|
+
query: Scalars['String']['input'];
|
|
1314
|
+
}>;
|
|
1315
|
+
type SearchSuggestionsQuery = {
|
|
1316
|
+
__typename?: 'Query';
|
|
1317
|
+
searchProducts: {
|
|
1318
|
+
__typename?: 'SearchProducts';
|
|
1319
|
+
items: Array<{
|
|
1320
|
+
__typename?: 'ProductHit';
|
|
1321
|
+
} & ProductHitFragment>;
|
|
1322
|
+
};
|
|
1323
|
+
};
|
|
1324
|
+
declare const PromotionFieldsFragmentDoc: TypedDocumentNode<PromotionFieldsFragment, unknown>;
|
|
1325
|
+
declare const PriceFragmentDoc: TypedDocumentNode<PriceFragment, unknown>;
|
|
1326
|
+
declare const ProductVariantFragmentDoc: TypedDocumentNode<ProductVariantFragment, unknown>;
|
|
1327
|
+
declare const CartItemFieldsFragmentDoc: TypedDocumentNode<CartItemFieldsFragment, unknown>;
|
|
1328
|
+
declare const AddressFieldsFragmentDoc: TypedDocumentNode<AddressFieldsFragment, unknown>;
|
|
1329
|
+
declare const CountryFieldsFragmentDoc: TypedDocumentNode<CountryFieldsFragment, unknown>;
|
|
1330
|
+
declare const RegionFieldsFragmentDoc: TypedDocumentNode<RegionFieldsFragment, unknown>;
|
|
1331
|
+
declare const ShippingMethodFieldsFragmentDoc: TypedDocumentNode<ShippingMethodFieldsFragment, unknown>;
|
|
1332
|
+
declare const PaymentCollectionFieldsFragmentDoc: TypedDocumentNode<PaymentCollectionFieldsFragment, unknown>;
|
|
1333
|
+
declare const CartFieldsFragmentDoc: TypedDocumentNode<CartFieldsFragment, unknown>;
|
|
1334
|
+
declare const CustomerAddressFragmentDoc: TypedDocumentNode<CustomerAddressFragment, unknown>;
|
|
1335
|
+
declare const CustomerFragmentDoc: TypedDocumentNode<CustomerFragment, unknown>;
|
|
1336
|
+
declare const ProductCategoryFragmentDoc: TypedDocumentNode<ProductCategoryFragment, unknown>;
|
|
1337
|
+
declare const ProductImageFragmentDoc: TypedDocumentNode<ProductImageFragment, unknown>;
|
|
1338
|
+
declare const ProductTagFragmentDoc: TypedDocumentNode<ProductTagFragment, unknown>;
|
|
1339
|
+
declare const ProductOptionFragmentDoc: TypedDocumentNode<ProductOptionFragment, unknown>;
|
|
1340
|
+
declare const ProductCollectionFragmentDoc: TypedDocumentNode<ProductCollectionFragment, unknown>;
|
|
1341
|
+
declare const ProductFragmentDoc: TypedDocumentNode<ProductFragment, unknown>;
|
|
1342
|
+
declare const CollectionProductsFragmentDoc: TypedDocumentNode<CollectionProductsFragment, unknown>;
|
|
1343
|
+
declare const ProductHitFragmentDoc: TypedDocumentNode<ProductHitFragment, unknown>;
|
|
1344
|
+
declare const CreateCartDocument: TypedDocumentNode<CreateCartMutation, CreateCartMutationVariables>;
|
|
1345
|
+
declare const UpdateCartDocument: TypedDocumentNode<UpdateCartMutation, UpdateCartMutationVariables>;
|
|
1346
|
+
declare const CreateLineItemDocument: TypedDocumentNode<CreateLineItemMutation, CreateLineItemMutationVariables>;
|
|
1347
|
+
declare const UpdateLineItemDocument: TypedDocumentNode<UpdateLineItemMutation, UpdateLineItemMutationVariables>;
|
|
1348
|
+
declare const DeleteLineItemDocument: TypedDocumentNode<DeleteLineItemMutation, DeleteLineItemMutationVariables>;
|
|
1349
|
+
declare const AddShippingMethodDocument: TypedDocumentNode<AddShippingMethodMutation, AddShippingMethodMutationVariables>;
|
|
1350
|
+
declare const CompleteCartDocument: TypedDocumentNode<CompleteCartMutation, CompleteCartMutationVariables>;
|
|
1351
|
+
declare const TransferCartDocument: TypedDocumentNode<TransferCartMutation, TransferCartMutationVariables>;
|
|
1352
|
+
declare const ApplyPromotionsDocument: TypedDocumentNode<ApplyPromotionsMutation, ApplyPromotionsMutationVariables>;
|
|
1353
|
+
declare const LoginDocument: TypedDocumentNode<LoginMutation, LoginMutationVariables>;
|
|
1354
|
+
declare const LogoutDocument: TypedDocumentNode<LogoutMutation, LogoutMutationVariables>;
|
|
1355
|
+
declare const GetCartDocument: TypedDocumentNode<GetCartQuery, GetCartQueryVariables>;
|
|
1356
|
+
declare const GetCustomerDocument: TypedDocumentNode<GetCustomerQuery, GetCustomerQueryVariables>;
|
|
1357
|
+
declare const GetFooterDocument: TypedDocumentNode<GetFooterQuery, GetFooterQueryVariables>;
|
|
1358
|
+
declare const GetProductsDocument: TypedDocumentNode<GetProductsQuery, GetProductsQueryVariables>;
|
|
1359
|
+
declare const GetProductDocument: TypedDocumentNode<GetProductQuery, GetProductQueryVariables>;
|
|
1360
|
+
declare const GetProductCategoriesDocument: TypedDocumentNode<GetProductCategoriesQuery, GetProductCategoriesQueryVariables>;
|
|
1361
|
+
declare const GetProductCategoryDocument: TypedDocumentNode<GetProductCategoryQuery, GetProductCategoryQueryVariables>;
|
|
1362
|
+
declare const GetCollectionsDocument: TypedDocumentNode<GetCollectionsQuery, GetCollectionsQueryVariables>;
|
|
1363
|
+
declare const GetCollectionsSummaryDocument: TypedDocumentNode<GetCollectionsSummaryQuery, GetCollectionsSummaryQueryVariables>;
|
|
1364
|
+
declare const GetCollectionDocument: TypedDocumentNode<GetCollectionQuery, GetCollectionQueryVariables>;
|
|
1365
|
+
declare const SearchSuggestionsDocument: TypedDocumentNode<SearchSuggestionsQuery, SearchSuggestionsQueryVariables>;
|
|
1366
|
+
//#endregion
|
|
1367
|
+
export { AddShippingMethodDocument, AddShippingMethodMutation, AddShippingMethodMutationVariables, Address, AddressFieldsFragment, AddressFieldsFragmentDoc, AddressInput, ApplicationMethod, ApplicationType, ApplyPromotionsDocument, ApplyPromotionsMutation, ApplyPromotionsMutationVariables, Cart, CartFieldsFragment, CartFieldsFragmentDoc, CartItemFieldsFragment, CartItemFieldsFragmentDoc, Collection, CollectionProductsFragment, CollectionProductsFragmentDoc, CompleteCartDocument, CompleteCartError, CompleteCartErrorResult, CompleteCartMutation, CompleteCartMutationVariables, CompleteCartOrderResult, CompleteCartResponse, Country, CountryFieldsFragment, CountryFieldsFragmentDoc, CreateCartDocument, CreateCartInput, CreateCartMutation, CreateCartMutationVariables, CreateLineItemDocument, CreateLineItemInput, CreateLineItemMutation, CreateLineItemMutationVariables, Customer, CustomerAddress, CustomerAddressFragment, CustomerAddressFragmentDoc, CustomerFragment, CustomerFragmentDoc, DeleteLineItemDocument, DeleteLineItemMutation, DeleteLineItemMutationVariables, Exact, FileBlock, Footer, GetCartDocument, GetCartQuery, GetCartQueryVariables, GetCollectionDocument, GetCollectionQuery, GetCollectionQueryVariables, GetCollectionsDocument, GetCollectionsQuery, GetCollectionsQueryVariables, GetCollectionsSummaryDocument, GetCollectionsSummaryQuery, GetCollectionsSummaryQueryVariables, GetCustomerDocument, GetCustomerQuery, GetCustomerQueryVariables, GetFooterDocument, GetFooterQuery, GetFooterQueryVariables, GetProductCategoriesDocument, GetProductCategoriesQuery, GetProductCategoriesQueryVariables, GetProductCategoryDocument, GetProductCategoryQuery, GetProductCategoryQueryVariables, GetProductDocument, GetProductQuery, GetProductQueryVariables, GetProductsDocument, GetProductsQuery, GetProductsQueryVariables, IconLinkMark, ImageBlock, ImageDimensions, ImageMetadata, Incremental, InputMaybe, LineItem, LinkMark, LoginDocument, LoginMutation, LoginMutationVariables, LogoutDocument, LogoutMutation, LogoutMutationVariables, LogoutResponse, MakeEmpty, MakeMaybe, MakeOptional, MarkDef, Maybe, Mutation, Mutation_AddShippingMethodArgs, Mutation_ApplyPromotionsArgs, Mutation_CompleteCartArgs, Mutation_CreateCartArgs, Mutation_CreateLineItemArgs, Mutation_DeleteLineItemArgs, Mutation_LoginArgs, Mutation_TransferCartArgs, Mutation_UpdateCartArgs, Mutation_UpdateLineItemArgs, Order, Payment, PaymentCollection, PaymentCollectionFieldsFragment, PaymentCollectionFieldsFragmentDoc, PaymentProviders, PaymentSessionStatus, PaymentSessions, PaymentStatus, Price, PriceFragment, PriceFragmentDoc, Product, ProductCategory, ProductCategoryFragment, ProductCategoryFragmentDoc, ProductCollectionFragment, ProductCollectionFragmentDoc, ProductFragment, ProductFragmentDoc, ProductHit, ProductHitFragment, ProductHitFragmentDoc, ProductImage, ProductImageFragment, ProductImageFragmentDoc, ProductList, ProductListResponse, ProductOption, ProductOptionFragment, ProductOptionFragmentDoc, ProductOptionValue, ProductTag, ProductTagFragment, ProductTagFragmentDoc, ProductVariant, ProductVariantFragment, ProductVariantFragmentDoc, ProductVariantOption, Promotion, PromotionFieldsFragment, PromotionFieldsFragmentDoc, Query, Query_CartArgs, Query_CollectionArgs, Query_CollectionsArgs, Query_ProductArgs, Query_ProductCategoriesArgs, Query_ProductCategoryArgs, Query_ProductsArgs, Query_SearchProductsArgs, Region, RegionFieldsFragment, RegionFieldsFragmentDoc, RichText, RichTextBlock, SanityFileAsset, SanityImage, SanityImageAsset, Scalars, SearchProducts, SearchSuggestionsDocument, SearchSuggestionsQuery, SearchSuggestionsQueryVariables, ShippingMethod, ShippingMethodFieldsFragment, ShippingMethodFieldsFragmentDoc, SocialLink, Span, StoreLineItemDeleteResponse, TextBlock, Token, TransferCartDocument, TransferCartMutation, TransferCartMutationVariables, UpdateCartDocument, UpdateCartInput, UpdateCartMutation, UpdateCartMutationVariables, UpdateLineItemDocument, UpdateLineItemInput, UpdateLineItemMutation, UpdateLineItemMutationVariables };
|
|
1368
|
+
//# sourceMappingURL=graphql.d.ts.map
|