@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.
Files changed (254) hide show
  1. package/dist/components/breadcrumbs/index.d.ts +4 -6
  2. package/dist/components/breadcrumbs/index.d.ts.map +1 -1
  3. package/dist/components/breadcrumbs/index.js.map +1 -1
  4. package/dist/components/cart-button/index.d.ts +2 -2
  5. package/dist/components/cart-button/index.d.ts.map +1 -1
  6. package/dist/components/cart-button/index.js +11 -17
  7. package/dist/components/cart-button/index.js.map +1 -0
  8. package/dist/components/cart-dropdown/index.d.ts +3 -3
  9. package/dist/components/cart-dropdown/index.d.ts.map +1 -1
  10. package/dist/components/cart-dropdown/index.js +193 -16
  11. package/dist/components/cart-dropdown/index.js.map +1 -0
  12. package/dist/components/cart-mismatch-banner/index.d.ts +3 -3
  13. package/dist/components/cart-mismatch-banner/index.d.ts.map +1 -1
  14. package/dist/components/cart-mismatch-banner/index.js +1 -8
  15. package/dist/components/cart-mismatch-banner/index.js.map +1 -1
  16. package/dist/components/country-select/index.d.ts +1 -1
  17. package/dist/components/delete-button/index.d.ts +2 -2
  18. package/dist/components/delete-button/index.js +27 -11
  19. package/dist/components/delete-button/index.js.map +1 -0
  20. package/dist/components/error-message/index.d.ts +2 -2
  21. package/dist/components/error-message/index.d.ts.map +1 -1
  22. package/dist/components/footer/index.d.ts +2 -2
  23. package/dist/components/footer/index.d.ts.map +1 -1
  24. package/dist/components/footer/index.js +5 -10
  25. package/dist/components/footer/index.js.map +1 -1
  26. package/dist/components/free-shipping-price-nudge/index.d.ts +3 -3
  27. package/dist/components/free-shipping-price-nudge/index.d.ts.map +1 -1
  28. package/dist/components/free-shipping-price-nudge/index.js +2 -2
  29. package/dist/components/interactive-link/index.d.ts +2 -2
  30. package/dist/components/interactive-link/index.js +1 -1
  31. package/dist/components/layout-country-select/index.d.ts +4 -4
  32. package/dist/components/layout-country-select/index.js +89 -11
  33. package/dist/components/layout-country-select/index.js.map +1 -0
  34. package/dist/components/line-item-options/index.d.ts +3 -3
  35. package/dist/components/line-item-options/index.js +15 -2
  36. package/dist/components/line-item-options/index.js.map +1 -0
  37. package/dist/components/line-item-price/index.d.ts +3 -3
  38. package/dist/components/line-item-price/index.d.ts.map +1 -1
  39. package/dist/components/line-item-price/index.js +46 -2
  40. package/dist/components/line-item-price/index.js.map +1 -0
  41. package/dist/components/localized-client-link/index.d.ts +5 -12
  42. package/dist/components/localized-client-link/index.d.ts.map +1 -1
  43. package/dist/components/localized-client-link/index.js +19 -2
  44. package/dist/components/localized-client-link/index.js.map +1 -0
  45. package/dist/components/modal/index.d.ts +2 -2
  46. package/dist/components/modal/index.js +101 -3
  47. package/dist/components/modal/index.js.map +1 -0
  48. package/dist/components/nav/index.d.ts +2 -2
  49. package/dist/components/nav/index.js +6 -25
  50. package/dist/components/nav/index.js.map +1 -1
  51. package/dist/components/portable-text/index.d.ts +3 -3
  52. package/dist/components/portable-text/index.js +329 -2
  53. package/dist/components/portable-text/index.js.map +1 -0
  54. package/dist/components/preview-price/index.d.ts +1 -1
  55. package/dist/components/preview-price/index.js +19 -2
  56. package/dist/components/preview-price/index.js.map +1 -0
  57. package/dist/components/product-card/index.d.ts +2 -2
  58. package/dist/components/product-card/index.d.ts.map +1 -1
  59. package/dist/components/product-card/index.js +3 -4
  60. package/dist/components/product-card/index.js.map +1 -1
  61. package/dist/components/product-preview/index.d.ts +3 -3
  62. package/dist/components/product-preview/index.d.ts.map +1 -1
  63. package/dist/components/product-preview/index.js +4 -4
  64. package/dist/components/search-modal/index.d.ts +2 -2
  65. package/dist/components/search-modal/index.d.ts.map +1 -1
  66. package/dist/components/search-modal/index.js +135 -9
  67. package/dist/components/search-modal/index.js.map +1 -0
  68. package/dist/components/side-menu/index.d.ts +3 -3
  69. package/dist/components/side-menu/index.js +96 -13
  70. package/dist/components/side-menu/index.js.map +1 -0
  71. package/dist/components/thumbnail/index.js +43 -2
  72. package/dist/components/thumbnail/index.js.map +1 -0
  73. package/dist/lib/config/medusa.js +11 -2
  74. package/dist/lib/config/medusa.js.map +1 -0
  75. package/dist/lib/context/apollo-context.js +1 -2
  76. package/dist/lib/context/apollo-context.js.map +1 -1
  77. package/dist/lib/context/modal-context.d.ts +2 -2
  78. package/dist/lib/context/modal-context.js +19 -2
  79. package/dist/lib/context/modal-context.js.map +1 -0
  80. package/dist/lib/data/cart.d.ts +1 -1
  81. package/dist/lib/data/cart.d.ts.map +1 -1
  82. package/dist/lib/data/cart.js +102 -10
  83. package/dist/lib/data/cart.js.map +1 -0
  84. package/dist/lib/data/categories.d.ts +1 -1
  85. package/dist/lib/data/categories.js +15 -5
  86. package/dist/lib/data/categories.js.map +1 -0
  87. package/dist/lib/data/collections.d.ts +1 -1
  88. package/dist/lib/data/collections.js +21 -5
  89. package/dist/lib/data/collections.js.map +1 -0
  90. package/dist/lib/data/cookies.d.ts +2 -1
  91. package/dist/lib/data/cookies.d.ts.map +1 -1
  92. package/dist/lib/data/cookies.js +45 -2
  93. package/dist/lib/data/cookies.js.map +1 -0
  94. package/dist/lib/data/customer.d.ts +1 -1
  95. package/dist/lib/data/customer.d.ts.map +1 -1
  96. package/dist/lib/data/customer.js +39 -9
  97. package/dist/lib/data/customer.js.map +1 -0
  98. package/dist/lib/data/footer.js +15 -4
  99. package/dist/lib/data/footer.js.map +1 -0
  100. package/dist/lib/data/orders.d.ts +1 -1
  101. package/dist/lib/data/orders.js +4 -4
  102. package/dist/lib/data/regions.d.ts +1 -1
  103. package/dist/lib/data/regions.js +33 -4
  104. package/dist/lib/data/regions.js.map +1 -0
  105. package/dist/lib/data/search.d.ts +1 -1
  106. package/dist/lib/data/search.js +20 -5
  107. package/dist/lib/data/search.js.map +1 -0
  108. package/dist/lib/gql/apollo-client.js +66 -2
  109. package/dist/lib/gql/apollo-client.js.map +1 -0
  110. package/dist/lib/gql/fragments/cart.d.ts +9 -9
  111. package/dist/lib/gql/fragments/cart.d.ts.map +1 -1
  112. package/dist/lib/gql/fragments/cart.js +141 -3
  113. package/dist/{cart-BNoIGQmw.js.map → lib/gql/fragments/cart.js.map} +1 -1
  114. package/dist/lib/gql/fragments/customer.d.ts +3 -3
  115. package/dist/lib/gql/fragments/customer.js +41 -2
  116. package/dist/{customer-CgN4zI00.js.map → lib/gql/fragments/customer.js.map} +1 -1
  117. package/dist/lib/gql/fragments/product.d.ts +8 -8
  118. package/dist/lib/gql/fragments/product.js +89 -2
  119. package/dist/{product-COu5D1mS.js.map → lib/gql/fragments/product.js.map} +1 -1
  120. package/dist/lib/gql/mutations/cart.d.ts +4 -4
  121. package/dist/lib/gql/mutations/cart.d.ts.map +1 -1
  122. package/dist/lib/gql/mutations/cart.js +41 -4
  123. package/dist/{cart-IHaLnQC4.js.map → lib/gql/mutations/cart.js.map} +1 -1
  124. package/dist/lib/gql/mutations/customer.js +0 -1
  125. package/dist/lib/gql/queries/cart.d.ts +2 -2
  126. package/dist/lib/gql/queries/cart.d.ts.map +1 -1
  127. package/dist/lib/gql/queries/cart.js +15 -4
  128. package/dist/{cart-DH8urwwT.js.map → lib/gql/queries/cart.js.map} +1 -1
  129. package/dist/lib/gql/queries/collections.d.ts +2 -2
  130. package/dist/lib/gql/queries/collections.d.ts.map +1 -1
  131. package/dist/lib/gql/queries/collections.js +19 -3
  132. package/dist/{collections-DMv3UYgC.js.map → lib/gql/queries/collections.js.map} +1 -1
  133. package/dist/lib/gql/queries/customer.d.ts +2 -2
  134. package/dist/lib/gql/queries/customer.d.ts.map +1 -1
  135. package/dist/lib/gql/queries/customer.js +15 -3
  136. package/dist/{customer-DIJz6m7L.js.map → lib/gql/queries/customer.js.map} +1 -1
  137. package/dist/lib/gql/queries/footer.d.ts +2 -2
  138. package/dist/lib/gql/queries/footer.d.ts.map +1 -1
  139. package/dist/lib/gql/queries/footer.js +21 -2
  140. package/dist/lib/gql/queries/footer.js.map +1 -0
  141. package/dist/lib/gql/queries/product.d.ts +3 -3
  142. package/dist/lib/gql/queries/product.d.ts.map +1 -1
  143. package/dist/lib/gql/queries/product.js +46 -3
  144. package/dist/{product-C3HQUIgX.js.map → lib/gql/queries/product.js.map} +1 -1
  145. package/dist/lib/hooks/use-apollo.d.ts +2 -2
  146. package/dist/lib/hooks/use-apollo.js +10 -3
  147. package/dist/lib/hooks/use-apollo.js.map +1 -0
  148. package/dist/lib/hooks/use-search.d.ts +1 -1
  149. package/dist/lib/hooks/use-search.js +66 -6
  150. package/dist/lib/hooks/use-search.js.map +1 -0
  151. package/dist/lib/hooks/use-toggle-state.d.ts +23 -2
  152. package/dist/lib/hooks/use-toggle-state.d.ts.map +1 -0
  153. package/dist/lib/utils/data-types.js +9 -2
  154. package/dist/lib/utils/data-types.js.map +1 -0
  155. package/dist/lib/utils/env.js +1 -1
  156. package/dist/lib/utils/env.js.map +1 -1
  157. package/dist/lib/utils/get-percentage-diff.js +7 -2
  158. package/dist/lib/utils/get-percentage-diff.js.map +1 -0
  159. package/dist/lib/utils/get-product-price.d.ts +1 -1
  160. package/dist/lib/utils/get-product-price.js +46 -2
  161. package/dist/lib/utils/get-product-price.js.map +1 -0
  162. package/dist/lib/utils/medusa-error.js +16 -2
  163. package/dist/lib/utils/medusa-error.js.map +1 -0
  164. package/dist/lib/utils/money.js +14 -2
  165. package/dist/lib/utils/money.js.map +1 -0
  166. package/dist/lib/utils/normalize-functions.d.ts +1 -1
  167. package/dist/lib/utils/normalize-functions.js +69 -2
  168. package/dist/lib/utils/normalize-functions.js.map +1 -0
  169. package/dist/types/graphql.d.ts +1368 -2
  170. package/dist/types/graphql.d.ts.map +1 -0
  171. package/dist/types/prices.d.ts +20 -2
  172. package/dist/types/prices.d.ts.map +1 -0
  173. package/dist/types/prices.js +0 -1
  174. package/package.json +12 -12
  175. package/dist/apollo-client-Bw50r80c.js +0 -66
  176. package/dist/apollo-client-Bw50r80c.js.map +0 -1
  177. package/dist/cart-BNoIGQmw.js +0 -142
  178. package/dist/cart-DH8urwwT.js +0 -16
  179. package/dist/cart-IHaLnQC4.js +0 -42
  180. package/dist/cart-button-Dj_zRxop.js +0 -12
  181. package/dist/cart-button-Dj_zRxop.js.map +0 -1
  182. package/dist/cart-dropdown-D_PUJarp.js +0 -195
  183. package/dist/cart-dropdown-D_PUJarp.js.map +0 -1
  184. package/dist/cart-xkcyWLfU.js +0 -103
  185. package/dist/cart-xkcyWLfU.js.map +0 -1
  186. package/dist/categories-B-RYCIZ3.js +0 -16
  187. package/dist/categories-B-RYCIZ3.js.map +0 -1
  188. package/dist/collections-BgyvhW2p.js +0 -22
  189. package/dist/collections-BgyvhW2p.js.map +0 -1
  190. package/dist/collections-DMv3UYgC.js +0 -20
  191. package/dist/cookies-lksVIe4_.js +0 -38
  192. package/dist/cookies-lksVIe4_.js.map +0 -1
  193. package/dist/customer-CgN4zI00.js +0 -42
  194. package/dist/customer-ClewjBBr.js +0 -38
  195. package/dist/customer-ClewjBBr.js.map +0 -1
  196. package/dist/customer-DIJz6m7L.js +0 -16
  197. package/dist/data-types-CTPJXmJH.js +0 -10
  198. package/dist/data-types-CTPJXmJH.js.map +0 -1
  199. package/dist/delete-button-Bnm5bof2.js +0 -28
  200. package/dist/delete-button-Bnm5bof2.js.map +0 -1
  201. package/dist/footer-BvNV-R9D.js +0 -16
  202. package/dist/footer-BvNV-R9D.js.map +0 -1
  203. package/dist/footer-DCtgtjKS.js +0 -76
  204. package/dist/footer-DCtgtjKS.js.map +0 -1
  205. package/dist/get-percentage-diff-B_UVOFgE.js +0 -8
  206. package/dist/get-percentage-diff-B_UVOFgE.js.map +0 -1
  207. package/dist/get-product-price-DKWc76ev.js +0 -47
  208. package/dist/get-product-price-DKWc76ev.js.map +0 -1
  209. package/dist/graphql-CdTGi4Pp.d.ts +0 -1368
  210. package/dist/graphql-CdTGi4Pp.d.ts.map +0 -1
  211. package/dist/layout-country-select-C7Ra-opl.js +0 -90
  212. package/dist/layout-country-select-C7Ra-opl.js.map +0 -1
  213. package/dist/line-item-options-l_eRZIIq.js +0 -16
  214. package/dist/line-item-options-l_eRZIIq.js.map +0 -1
  215. package/dist/line-item-price-BlTwskFC.js +0 -47
  216. package/dist/line-item-price-BlTwskFC.js.map +0 -1
  217. package/dist/localized-client-link-CthmRcvb.js +0 -22
  218. package/dist/localized-client-link-CthmRcvb.js.map +0 -1
  219. package/dist/medusa-TumrpCF2.js +0 -12
  220. package/dist/medusa-TumrpCF2.js.map +0 -1
  221. package/dist/medusa-error-DDhA6RGC.js +0 -17
  222. package/dist/medusa-error-DDhA6RGC.js.map +0 -1
  223. package/dist/modal-BASYY-YM.js +0 -102
  224. package/dist/modal-BASYY-YM.js.map +0 -1
  225. package/dist/modal-context-02cA-7jy.js +0 -20
  226. package/dist/modal-context-02cA-7jy.js.map +0 -1
  227. package/dist/money-DVQGzXns.js +0 -15
  228. package/dist/money-DVQGzXns.js.map +0 -1
  229. package/dist/normalize-functions-Bqr-JkYn.js +0 -70
  230. package/dist/normalize-functions-Bqr-JkYn.js.map +0 -1
  231. package/dist/portable-text-CuI022GH.js +0 -330
  232. package/dist/portable-text-CuI022GH.js.map +0 -1
  233. package/dist/preview-price-_4sxkXQs.js +0 -20
  234. package/dist/preview-price-_4sxkXQs.js.map +0 -1
  235. package/dist/prices-eO1YBciD.d.ts +0 -20
  236. package/dist/prices-eO1YBciD.d.ts.map +0 -1
  237. package/dist/product-C3HQUIgX.js +0 -47
  238. package/dist/product-COu5D1mS.js +0 -90
  239. package/dist/regions-r1AvxfT8.js +0 -34
  240. package/dist/regions-r1AvxfT8.js.map +0 -1
  241. package/dist/search-D7Gw7jAk.js +0 -21
  242. package/dist/search-D7Gw7jAk.js.map +0 -1
  243. package/dist/search-modal-DaXadYWM.js +0 -137
  244. package/dist/search-modal-DaXadYWM.js.map +0 -1
  245. package/dist/side-menu-B6IjTd5M.js +0 -97
  246. package/dist/side-menu-B6IjTd5M.js.map +0 -1
  247. package/dist/thumbnail-C0TU3rh-.js +0 -44
  248. package/dist/thumbnail-C0TU3rh-.js.map +0 -1
  249. package/dist/use-apollo-BxAFd1Y5.js +0 -11
  250. package/dist/use-apollo-BxAFd1Y5.js.map +0 -1
  251. package/dist/use-search-VX-u8o1D.js +0 -67
  252. package/dist/use-search-VX-u8o1D.js.map +0 -1
  253. package/dist/use-toggle-state-DI4Gwlfj.d.ts +0 -23
  254. package/dist/use-toggle-state-DI4Gwlfj.d.ts.map +0 -1
@@ -1,1368 +0,0 @@
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 { GetCartQueryVariables as $, Query_ProductsArgs as $n, Mutation_DeleteLineItemArgs as $t, CountryFieldsFragmentDoc as A, ProductList as An, UpdateLineItemInput as Ar, ImageMetadata as At, CustomerAddress as B, ProductVariantFragment as Bn, LogoutMutationVariables as Bt, CompleteCartErrorResult as C, ProductFragmentDoc as Cn, TransferCartMutation as Cr, GetProductQueryVariables as Ct, CompleteCartResponse as D, ProductImage as Dn, UpdateCartMutation as Dr, IconLinkMark as Dt, CompleteCartOrderResult as E, ProductHitFragmentDoc as En, UpdateCartInput as Er, GetProductsQueryVariables as Et, CreateLineItemDocument as F, ProductOptionValue as Fn, LoginDocument as Ft, DeleteLineItemDocument as G, PromotionFieldsFragmentDoc as Gn, MarkDef as Gt, CustomerAddressFragmentDoc as H, ProductVariantOption as Hn, MakeEmpty as Ht, CreateLineItemInput as I, ProductTag as In, LoginMutation as It, Exact as J, Query_CollectionArgs as Jn, Mutation_AddShippingMethodArgs as Jt, DeleteLineItemMutation as K, Query as Kn, Maybe as Kt, CreateLineItemMutation as L, ProductTagFragment as Ln, LoginMutationVariables as Lt, CreateCartInput as M, ProductOption as Mn, UpdateLineItemMutationVariables as Mr, InputMaybe as Mt, CreateCartMutation as N, ProductOptionFragment as Nn, LineItem as Nt, Country as O, ProductImageFragment as On, UpdateCartMutationVariables as Or, ImageBlock as Ot, CreateCartMutationVariables as P, ProductOptionFragmentDoc as Pn, LinkMark as Pt, GetCartQuery as Q, Query_ProductCategoryArgs as Qn, Mutation_CreateLineItemArgs as Qt, CreateLineItemMutationVariables as R, ProductTagFragmentDoc as Rn, LogoutDocument as Rt, CompleteCartError as S, ProductFragment as Sn, TransferCartDocument as Sr, GetProductQuery as St, CompleteCartMutationVariables as T, ProductHitFragment as Tn, UpdateCartDocument as Tr, GetProductsQuery as Tt, CustomerFragment as U, Promotion as Un, MakeMaybe as Ut, CustomerAddressFragment as V, ProductVariantFragmentDoc as Vn, LogoutResponse as Vt, CustomerFragmentDoc as W, PromotionFieldsFragment as Wn, MakeOptional as Wt, Footer as X, Query_ProductArgs as Xn, Mutation_CompleteCartArgs as Xt, FileBlock as Y, Query_CollectionsArgs as Yn, Mutation_ApplyPromotionsArgs as Yt, GetCartDocument as Z, Query_ProductCategoriesArgs as Zn, Mutation_CreateCartArgs as Zt, CartItemFieldsFragmentDoc as _, ProductCategory as _n, SocialLink as _r, GetProductCategoriesQueryVariables as _t, AddressFieldsFragment as a, Payment as an, RichTextBlock as ar, GetCollectionsQueryVariables as at, CollectionProductsFragmentDoc as b, ProductCollectionFragment as bn, TextBlock as br, GetProductCategoryQueryVariables as bt, ApplicationMethod as c, PaymentCollectionFieldsFragmentDoc as cn, SanityImageAsset as cr, GetCollectionsSummaryQueryVariables as ct, ApplyPromotionsMutation as d, PaymentSessions as dn, SearchSuggestionsDocument as dr, GetCustomerQueryVariables as dt, Mutation_LoginArgs as en, Query_SearchProductsArgs as er, GetCollectionDocument as et, ApplyPromotionsMutationVariables as f, PaymentStatus as fn, SearchSuggestionsQuery as fr, GetFooterDocument as ft, CartItemFieldsFragment as g, Product as gn, ShippingMethodFieldsFragmentDoc as gr, GetProductCategoriesQuery as gt, CartFieldsFragmentDoc as h, PriceFragmentDoc as hn, ShippingMethodFieldsFragment as hr, GetProductCategoriesDocument as ht, Address as i, Order as in, RichText as ir, GetCollectionsQuery as it, CreateCartDocument as j, ProductListResponse as jn, UpdateLineItemMutation as jr, Incremental as jt, CountryFieldsFragment as k, ProductImageFragmentDoc as kn, UpdateLineItemDocument as kr, ImageDimensions as kt, ApplicationType as l, PaymentProviders as ln, Scalars as lr, GetCustomerDocument as lt, CartFieldsFragment as m, PriceFragment as mn, ShippingMethod as mr, GetFooterQueryVariables as mt, AddShippingMethodMutation as n, Mutation_UpdateCartArgs as nn, RegionFieldsFragment as nr, GetCollectionQueryVariables as nt, AddressFieldsFragmentDoc as o, PaymentCollection as on, SanityFileAsset as or, GetCollectionsSummaryDocument as ot, Cart as p, Price as pn, SearchSuggestionsQueryVariables as pr, GetFooterQuery as pt, DeleteLineItemMutationVariables as q, Query_CartArgs as qn, Mutation as qt, AddShippingMethodMutationVariables as r, Mutation_UpdateLineItemArgs as rn, RegionFieldsFragmentDoc as rr, GetCollectionsDocument as rt, AddressInput as s, PaymentCollectionFieldsFragment as sn, SanityImage as sr, GetCollectionsSummaryQuery as st, AddShippingMethodDocument as t, Mutation_TransferCartArgs as tn, Region as tr, GetCollectionQuery as tt, ApplyPromotionsDocument as u, PaymentSessionStatus as un, SearchProducts as ur, GetCustomerQuery as ut, Collection as v, ProductCategoryFragment as vn, Span as vr, GetProductCategoryDocument as vt, CompleteCartMutation as w, ProductHit as wn, TransferCartMutationVariables as wr, GetProductsDocument as wt, CompleteCartDocument as x, ProductCollectionFragmentDoc as xn, Token as xr, GetProductDocument as xt, CollectionProductsFragment as y, ProductCategoryFragmentDoc as yn, StoreLineItemDeleteResponse as yr, GetProductCategoryQuery as yt, Customer as z, ProductVariant as zn, LogoutMutation as zt };
1368
- //# sourceMappingURL=graphql-CdTGi4Pp.d.ts.map