@shopify/hydrogen 2023.7.13 → 2023.10.1
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/development/index.cjs +639 -165
- package/dist/development/index.cjs.map +1 -1
- package/dist/development/index.js +639 -166
- package/dist/development/index.js.map +1 -1
- package/dist/production/index.cjs +169 -130
- package/dist/production/index.cjs.map +1 -1
- package/dist/production/index.d.cts +63 -26
- package/dist/production/index.d.ts +63 -26
- package/dist/production/index.js +130 -92
- package/dist/production/index.js.map +1 -1
- package/dist/storefront-api-types.d.ts +1046 -979
- package/dist/storefront.schema.json +1 -1
- package/package.json +6 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* THIS FILE IS AUTO-GENERATED, DO NOT EDIT
|
|
3
|
-
* Based on Storefront API 2023-
|
|
3
|
+
* Based on Storefront API 2023-10
|
|
4
4
|
* If changes need to happen to the types defined in this file, then generally the Storefront API needs to update. After it's updated, you can run `npm run graphql-types`.
|
|
5
5
|
* Except custom Scalars, which are defined in the `codegen.ts` file
|
|
6
6
|
*/
|
|
@@ -14,20 +14,26 @@ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
|
14
14
|
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
15
15
|
[SubKey in K]: Maybe<T[SubKey]>;
|
|
16
16
|
};
|
|
17
|
+
export type MakeEmpty<T extends {[key: string]: unknown}, K extends keyof T> = {
|
|
18
|
+
[_ in K]?: never;
|
|
19
|
+
};
|
|
20
|
+
export type Incremental<T> =
|
|
21
|
+
| T
|
|
22
|
+
| {[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never};
|
|
17
23
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
18
24
|
export type Scalars = {
|
|
19
|
-
ID: string;
|
|
20
|
-
String: string;
|
|
21
|
-
Boolean: boolean;
|
|
22
|
-
Int: number;
|
|
23
|
-
Float: number;
|
|
24
|
-
Color: string;
|
|
25
|
-
DateTime: string;
|
|
26
|
-
Decimal: string;
|
|
27
|
-
HTML: string;
|
|
28
|
-
JSON: unknown;
|
|
29
|
-
URL: string;
|
|
30
|
-
UnsignedInt64: string;
|
|
25
|
+
ID: {input: string; output: string};
|
|
26
|
+
String: {input: string; output: string};
|
|
27
|
+
Boolean: {input: boolean; output: boolean};
|
|
28
|
+
Int: {input: number; output: number};
|
|
29
|
+
Float: {input: number; output: number};
|
|
30
|
+
Color: {input: string; output: string};
|
|
31
|
+
DateTime: {input: string; output: string};
|
|
32
|
+
Decimal: {input: string; output: string};
|
|
33
|
+
HTML: {input: string; output: string};
|
|
34
|
+
JSON: {input: unknown; output: unknown};
|
|
35
|
+
URL: {input: string; output: string};
|
|
36
|
+
UnsignedInt64: {input: string; output: string};
|
|
31
37
|
};
|
|
32
38
|
|
|
33
39
|
/**
|
|
@@ -38,11 +44,11 @@ export type Scalars = {
|
|
|
38
44
|
export type ApiVersion = {
|
|
39
45
|
__typename?: 'ApiVersion';
|
|
40
46
|
/** The human-readable name of the version. */
|
|
41
|
-
displayName: Scalars['String'];
|
|
47
|
+
displayName: Scalars['String']['output'];
|
|
42
48
|
/** The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. */
|
|
43
|
-
handle: Scalars['String'];
|
|
49
|
+
handle: Scalars['String']['output'];
|
|
44
50
|
/** Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning). */
|
|
45
|
-
supported: Scalars['Boolean'];
|
|
51
|
+
supported: Scalars['Boolean']['output'];
|
|
46
52
|
};
|
|
47
53
|
|
|
48
54
|
/**
|
|
@@ -53,15 +59,15 @@ export type ApplePayWalletContentInput = {
|
|
|
53
59
|
/** The customer's billing address. */
|
|
54
60
|
billingAddress: MailingAddressInput;
|
|
55
61
|
/** The data for the Apple Pay wallet. */
|
|
56
|
-
data: Scalars['String'];
|
|
62
|
+
data: Scalars['String']['input'];
|
|
57
63
|
/** The header data for the Apple Pay wallet. */
|
|
58
64
|
header: ApplePayWalletHeaderInput;
|
|
59
65
|
/** The last digits of the card used to create the payment. */
|
|
60
|
-
lastDigits?: InputMaybe<Scalars['String']>;
|
|
66
|
+
lastDigits?: InputMaybe<Scalars['String']['input']>;
|
|
61
67
|
/** The signature for the Apple Pay wallet. */
|
|
62
|
-
signature: Scalars['String'];
|
|
68
|
+
signature: Scalars['String']['input'];
|
|
63
69
|
/** The version for the Apple Pay wallet. */
|
|
64
|
-
version: Scalars['String'];
|
|
70
|
+
version: Scalars['String']['input'];
|
|
65
71
|
};
|
|
66
72
|
|
|
67
73
|
/**
|
|
@@ -70,13 +76,13 @@ export type ApplePayWalletContentInput = {
|
|
|
70
76
|
*/
|
|
71
77
|
export type ApplePayWalletHeaderInput = {
|
|
72
78
|
/** The application data for the Apple Pay wallet. */
|
|
73
|
-
applicationData?: InputMaybe<Scalars['String']>;
|
|
79
|
+
applicationData?: InputMaybe<Scalars['String']['input']>;
|
|
74
80
|
/** The ephemeral public key for the Apple Pay wallet. */
|
|
75
|
-
ephemeralPublicKey: Scalars['String'];
|
|
81
|
+
ephemeralPublicKey: Scalars['String']['input'];
|
|
76
82
|
/** The public key hash for the Apple Pay wallet. */
|
|
77
|
-
publicKeyHash: Scalars['String'];
|
|
83
|
+
publicKeyHash: Scalars['String']['input'];
|
|
78
84
|
/** The transaction ID for the Apple Pay wallet. */
|
|
79
|
-
transactionId: Scalars['String'];
|
|
85
|
+
transactionId: Scalars['String']['input'];
|
|
80
86
|
};
|
|
81
87
|
|
|
82
88
|
/** Details about the gift card used on the checkout. */
|
|
@@ -97,9 +103,9 @@ export type AppliedGiftCard = Node & {
|
|
|
97
103
|
*/
|
|
98
104
|
balanceV2: MoneyV2;
|
|
99
105
|
/** A globally-unique ID. */
|
|
100
|
-
id: Scalars['ID'];
|
|
106
|
+
id: Scalars['ID']['output'];
|
|
101
107
|
/** The last characters of the gift card. */
|
|
102
|
-
lastCharacters: Scalars['String'];
|
|
108
|
+
lastCharacters: Scalars['String']['output'];
|
|
103
109
|
/** The amount that was applied to the checkout in its currency. */
|
|
104
110
|
presentmentAmountUsed: MoneyV2;
|
|
105
111
|
};
|
|
@@ -122,66 +128,63 @@ export type Article = HasMetafields &
|
|
|
122
128
|
/** List of comments posted on the article. */
|
|
123
129
|
comments: CommentConnection;
|
|
124
130
|
/** Stripped content of the article, single line with HTML tags removed. */
|
|
125
|
-
content: Scalars['String'];
|
|
131
|
+
content: Scalars['String']['output'];
|
|
126
132
|
/** The content of the article, complete with HTML formatting. */
|
|
127
|
-
contentHtml: Scalars['HTML'];
|
|
133
|
+
contentHtml: Scalars['HTML']['output'];
|
|
128
134
|
/** Stripped excerpt of the article, single line with HTML tags removed. */
|
|
129
|
-
excerpt?: Maybe<Scalars['String']>;
|
|
135
|
+
excerpt?: Maybe<Scalars['String']['output']>;
|
|
130
136
|
/** The excerpt of the article, complete with HTML formatting. */
|
|
131
|
-
excerptHtml?: Maybe<Scalars['HTML']>;
|
|
132
|
-
/**
|
|
133
|
-
|
|
134
|
-
*
|
|
135
|
-
*/
|
|
136
|
-
handle: Scalars['String'];
|
|
137
|
+
excerptHtml?: Maybe<Scalars['HTML']['output']>;
|
|
138
|
+
/** A human-friendly unique string for the Article automatically generated from its title. */
|
|
139
|
+
handle: Scalars['String']['output'];
|
|
137
140
|
/** A globally-unique ID. */
|
|
138
|
-
id: Scalars['ID'];
|
|
141
|
+
id: Scalars['ID']['output'];
|
|
139
142
|
/** The image associated with the article. */
|
|
140
143
|
image?: Maybe<Image>;
|
|
141
144
|
/** Returns a metafield found by namespace and key. */
|
|
142
145
|
metafield?: Maybe<Metafield>;
|
|
143
|
-
/**
|
|
144
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
145
|
-
*
|
|
146
|
-
*/
|
|
146
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
147
147
|
metafields: Array<Maybe<Metafield>>;
|
|
148
148
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
149
|
-
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
149
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
150
150
|
/** The date and time when the article was published. */
|
|
151
|
-
publishedAt: Scalars['DateTime'];
|
|
151
|
+
publishedAt: Scalars['DateTime']['output'];
|
|
152
152
|
/** The article’s SEO information. */
|
|
153
153
|
seo?: Maybe<Seo>;
|
|
154
|
-
/**
|
|
155
|
-
|
|
154
|
+
/**
|
|
155
|
+
* A categorization that a article can be tagged with.
|
|
156
|
+
*
|
|
157
|
+
*/
|
|
158
|
+
tags: Array<Scalars['String']['output']>;
|
|
156
159
|
/** The article’s name. */
|
|
157
|
-
title: Scalars['String'];
|
|
160
|
+
title: Scalars['String']['output'];
|
|
158
161
|
/** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
|
|
159
|
-
trackingParameters?: Maybe<Scalars['String']>;
|
|
162
|
+
trackingParameters?: Maybe<Scalars['String']['output']>;
|
|
160
163
|
};
|
|
161
164
|
|
|
162
165
|
/** An article in an online store blog. */
|
|
163
166
|
export type ArticleCommentsArgs = {
|
|
164
|
-
after?: InputMaybe<Scalars['String']>;
|
|
165
|
-
before?: InputMaybe<Scalars['String']>;
|
|
166
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
167
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
168
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
167
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
168
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
169
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
170
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
171
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
169
172
|
};
|
|
170
173
|
|
|
171
174
|
/** An article in an online store blog. */
|
|
172
175
|
export type ArticleContentArgs = {
|
|
173
|
-
truncateAt?: InputMaybe<Scalars['Int']>;
|
|
176
|
+
truncateAt?: InputMaybe<Scalars['Int']['input']>;
|
|
174
177
|
};
|
|
175
178
|
|
|
176
179
|
/** An article in an online store blog. */
|
|
177
180
|
export type ArticleExcerptArgs = {
|
|
178
|
-
truncateAt?: InputMaybe<Scalars['Int']>;
|
|
181
|
+
truncateAt?: InputMaybe<Scalars['Int']['input']>;
|
|
179
182
|
};
|
|
180
183
|
|
|
181
184
|
/** An article in an online store blog. */
|
|
182
185
|
export type ArticleMetafieldArgs = {
|
|
183
|
-
key: Scalars['String'];
|
|
184
|
-
namespace
|
|
186
|
+
key: Scalars['String']['input'];
|
|
187
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
185
188
|
};
|
|
186
189
|
|
|
187
190
|
/** An article in an online store blog. */
|
|
@@ -193,15 +196,15 @@ export type ArticleMetafieldsArgs = {
|
|
|
193
196
|
export type ArticleAuthor = {
|
|
194
197
|
__typename?: 'ArticleAuthor';
|
|
195
198
|
/** The author's bio. */
|
|
196
|
-
bio?: Maybe<Scalars['String']>;
|
|
199
|
+
bio?: Maybe<Scalars['String']['output']>;
|
|
197
200
|
/** The author’s email. */
|
|
198
|
-
email: Scalars['String'];
|
|
201
|
+
email: Scalars['String']['output'];
|
|
199
202
|
/** The author's first name. */
|
|
200
|
-
firstName: Scalars['String'];
|
|
203
|
+
firstName: Scalars['String']['output'];
|
|
201
204
|
/** The author's last name. */
|
|
202
|
-
lastName: Scalars['String'];
|
|
205
|
+
lastName: Scalars['String']['output'];
|
|
203
206
|
/** The author's full name. */
|
|
204
|
-
name: Scalars['String'];
|
|
207
|
+
name: Scalars['String']['output'];
|
|
205
208
|
};
|
|
206
209
|
|
|
207
210
|
/**
|
|
@@ -225,7 +228,7 @@ export type ArticleConnection = {
|
|
|
225
228
|
export type ArticleEdge = {
|
|
226
229
|
__typename?: 'ArticleEdge';
|
|
227
230
|
/** A cursor for use in pagination. */
|
|
228
|
-
cursor: Scalars['String'];
|
|
231
|
+
cursor: Scalars['String']['output'];
|
|
229
232
|
/** The item at the end of ArticleEdge. */
|
|
230
233
|
node: Article;
|
|
231
234
|
};
|
|
@@ -255,17 +258,17 @@ export type ArticleSortKeys =
|
|
|
255
258
|
export type Attribute = {
|
|
256
259
|
__typename?: 'Attribute';
|
|
257
260
|
/** Key or name of the attribute. */
|
|
258
|
-
key: Scalars['String'];
|
|
261
|
+
key: Scalars['String']['output'];
|
|
259
262
|
/** Value of the attribute. */
|
|
260
|
-
value?: Maybe<Scalars['String']>;
|
|
263
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
261
264
|
};
|
|
262
265
|
|
|
263
266
|
/** The input fields for an attribute. */
|
|
264
267
|
export type AttributeInput = {
|
|
265
268
|
/** Key or name of the attribute. */
|
|
266
|
-
key: Scalars['String'];
|
|
269
|
+
key: Scalars['String']['input'];
|
|
267
270
|
/** Value of the attribute. */
|
|
268
|
-
value: Scalars['String'];
|
|
271
|
+
value: Scalars['String']['input'];
|
|
269
272
|
};
|
|
270
273
|
|
|
271
274
|
/**
|
|
@@ -281,7 +284,7 @@ export type AutomaticDiscountApplication = DiscountApplication & {
|
|
|
281
284
|
/** The type of line that the discount is applicable towards. */
|
|
282
285
|
targetType: DiscountApplicationTargetType;
|
|
283
286
|
/** The title of the application. */
|
|
284
|
-
title: Scalars['String'];
|
|
287
|
+
title: Scalars['String']['output'];
|
|
285
288
|
/** The value of the discount application. */
|
|
286
289
|
value: PricingValue;
|
|
287
290
|
};
|
|
@@ -295,7 +298,7 @@ export type AvailableShippingRates = {
|
|
|
295
298
|
* This field should be polled until its value becomes `true`.
|
|
296
299
|
*
|
|
297
300
|
*/
|
|
298
|
-
ready: Scalars['Boolean'];
|
|
301
|
+
ready: Scalars['Boolean']['output'];
|
|
299
302
|
/** The fetched shipping rates. `null` until the `ready` field is `true`. */
|
|
300
303
|
shippingRates?: Maybe<Array<ShippingRate>>;
|
|
301
304
|
};
|
|
@@ -320,18 +323,18 @@ export type BaseCartLine = {
|
|
|
320
323
|
*/
|
|
321
324
|
estimatedCost: CartLineEstimatedCost;
|
|
322
325
|
/** A globally-unique ID. */
|
|
323
|
-
id: Scalars['ID'];
|
|
326
|
+
id: Scalars['ID']['output'];
|
|
324
327
|
/** The merchandise that the buyer intends to purchase. */
|
|
325
328
|
merchandise: Merchandise;
|
|
326
329
|
/** The quantity of the merchandise that the customer intends to purchase. */
|
|
327
|
-
quantity: Scalars['Int'];
|
|
330
|
+
quantity: Scalars['Int']['output'];
|
|
328
331
|
/** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */
|
|
329
332
|
sellingPlanAllocation?: Maybe<SellingPlanAllocation>;
|
|
330
333
|
};
|
|
331
334
|
|
|
332
335
|
/** Represents a cart line common fields. */
|
|
333
336
|
export type BaseCartLineAttributeArgs = {
|
|
334
|
-
key: Scalars['String'];
|
|
337
|
+
key: Scalars['String']['input'];
|
|
335
338
|
};
|
|
336
339
|
|
|
337
340
|
/**
|
|
@@ -355,7 +358,7 @@ export type BaseCartLineConnection = {
|
|
|
355
358
|
export type BaseCartLineEdge = {
|
|
356
359
|
__typename?: 'BaseCartLineEdge';
|
|
357
360
|
/** A cursor for use in pagination. */
|
|
358
|
-
cursor: Scalars['String'];
|
|
361
|
+
cursor: Scalars['String']['output'];
|
|
359
362
|
/** The item at the end of BaseCartLineEdge. */
|
|
360
363
|
node: CartLine | ComponentizableCartLine;
|
|
361
364
|
};
|
|
@@ -375,44 +378,41 @@ export type Blog = HasMetafields &
|
|
|
375
378
|
* A human-friendly unique string for the Blog automatically generated from its title.
|
|
376
379
|
*
|
|
377
380
|
*/
|
|
378
|
-
handle: Scalars['String'];
|
|
381
|
+
handle: Scalars['String']['output'];
|
|
379
382
|
/** A globally-unique ID. */
|
|
380
|
-
id: Scalars['ID'];
|
|
383
|
+
id: Scalars['ID']['output'];
|
|
381
384
|
/** Returns a metafield found by namespace and key. */
|
|
382
385
|
metafield?: Maybe<Metafield>;
|
|
383
|
-
/**
|
|
384
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
385
|
-
*
|
|
386
|
-
*/
|
|
386
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
387
387
|
metafields: Array<Maybe<Metafield>>;
|
|
388
388
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
389
|
-
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
389
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
390
390
|
/** The blog's SEO information. */
|
|
391
391
|
seo?: Maybe<Seo>;
|
|
392
392
|
/** The blogs’s title. */
|
|
393
|
-
title: Scalars['String'];
|
|
393
|
+
title: Scalars['String']['output'];
|
|
394
394
|
};
|
|
395
395
|
|
|
396
396
|
/** An online store blog. */
|
|
397
397
|
export type BlogArticleByHandleArgs = {
|
|
398
|
-
handle: Scalars['String'];
|
|
398
|
+
handle: Scalars['String']['input'];
|
|
399
399
|
};
|
|
400
400
|
|
|
401
401
|
/** An online store blog. */
|
|
402
402
|
export type BlogArticlesArgs = {
|
|
403
|
-
after?: InputMaybe<Scalars['String']>;
|
|
404
|
-
before?: InputMaybe<Scalars['String']>;
|
|
405
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
406
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
407
|
-
query?: InputMaybe<Scalars['String']>;
|
|
408
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
403
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
404
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
405
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
406
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
407
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
408
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
409
409
|
sortKey?: InputMaybe<ArticleSortKeys>;
|
|
410
410
|
};
|
|
411
411
|
|
|
412
412
|
/** An online store blog. */
|
|
413
413
|
export type BlogMetafieldArgs = {
|
|
414
|
-
key: Scalars['String'];
|
|
415
|
-
namespace
|
|
414
|
+
key: Scalars['String']['input'];
|
|
415
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
416
416
|
};
|
|
417
417
|
|
|
418
418
|
/** An online store blog. */
|
|
@@ -441,7 +441,7 @@ export type BlogConnection = {
|
|
|
441
441
|
export type BlogEdge = {
|
|
442
442
|
__typename?: 'BlogEdge';
|
|
443
443
|
/** A cursor for use in pagination. */
|
|
444
|
-
cursor: Scalars['String'];
|
|
444
|
+
cursor: Scalars['String']['output'];
|
|
445
445
|
/** The item at the end of BlogEdge. */
|
|
446
446
|
node: Blog;
|
|
447
447
|
};
|
|
@@ -474,9 +474,9 @@ export type Brand = {
|
|
|
474
474
|
/** The store's default logo. */
|
|
475
475
|
logo?: Maybe<MediaImage>;
|
|
476
476
|
/** The store's short description. */
|
|
477
|
-
shortDescription?: Maybe<Scalars['String']>;
|
|
477
|
+
shortDescription?: Maybe<Scalars['String']['output']>;
|
|
478
478
|
/** The store's slogan. */
|
|
479
|
-
slogan?: Maybe<Scalars['String']>;
|
|
479
|
+
slogan?: Maybe<Scalars['String']['output']>;
|
|
480
480
|
/** The store's preferred logo for square UI elements. */
|
|
481
481
|
squareLogo?: Maybe<MediaImage>;
|
|
482
482
|
};
|
|
@@ -488,9 +488,9 @@ export type Brand = {
|
|
|
488
488
|
export type BrandColorGroup = {
|
|
489
489
|
__typename?: 'BrandColorGroup';
|
|
490
490
|
/** The background color. */
|
|
491
|
-
background?: Maybe<Scalars['Color']>;
|
|
491
|
+
background?: Maybe<Scalars['Color']['output']>;
|
|
492
492
|
/** The foreground color. */
|
|
493
|
-
foreground?: Maybe<Scalars['Color']>;
|
|
493
|
+
foreground?: Maybe<Scalars['Color']['output']>;
|
|
494
494
|
};
|
|
495
495
|
|
|
496
496
|
/**
|
|
@@ -537,11 +537,11 @@ export type Cart = HasMetafields &
|
|
|
537
537
|
/** Information about the buyer that's interacting with the cart. */
|
|
538
538
|
buyerIdentity: CartBuyerIdentity;
|
|
539
539
|
/** The URL of the checkout for the cart. */
|
|
540
|
-
checkoutUrl: Scalars['URL'];
|
|
540
|
+
checkoutUrl: Scalars['URL']['output'];
|
|
541
541
|
/** The estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The `cost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). */
|
|
542
542
|
cost: CartCost;
|
|
543
543
|
/** The date and time when the cart was created. */
|
|
544
|
-
createdAt: Scalars['DateTime'];
|
|
544
|
+
createdAt: Scalars['DateTime']['output'];
|
|
545
545
|
/**
|
|
546
546
|
* The delivery groups available for the cart, based on the buyer identity default
|
|
547
547
|
* delivery address preference or the default address of the logged-in customer.
|
|
@@ -554,37 +554,27 @@ export type Cart = HasMetafields &
|
|
|
554
554
|
| CartCodeDiscountAllocation
|
|
555
555
|
| CartCustomDiscountAllocation
|
|
556
556
|
>;
|
|
557
|
-
/**
|
|
558
|
-
* The case-insensitive discount codes that the customer added at checkout.
|
|
559
|
-
*
|
|
560
|
-
*/
|
|
557
|
+
/** The case-insensitive discount codes that the customer added at checkout. */
|
|
561
558
|
discountCodes: Array<CartDiscountCode>;
|
|
562
559
|
/**
|
|
563
|
-
* The estimated costs that the buyer will pay at checkout.
|
|
564
|
-
* The estimated costs are subject to change and changes will be reflected at checkout.
|
|
565
|
-
* The `estimatedCost` field uses the `buyerIdentity` field to determine
|
|
566
|
-
* [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).
|
|
567
|
-
*
|
|
560
|
+
* The estimated costs that the buyer will pay at checkout. The estimated costs are subject to change and changes will be reflected at checkout. The `estimatedCost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).
|
|
568
561
|
* @deprecated Use `cost` instead.
|
|
569
562
|
*/
|
|
570
563
|
estimatedCost: CartEstimatedCost;
|
|
571
564
|
/** A globally-unique ID. */
|
|
572
|
-
id: Scalars['ID'];
|
|
565
|
+
id: Scalars['ID']['output'];
|
|
573
566
|
/** A list of lines containing information about the items the customer intends to purchase. */
|
|
574
567
|
lines: BaseCartLineConnection;
|
|
575
568
|
/** Returns a metafield found by namespace and key. */
|
|
576
569
|
metafield?: Maybe<Metafield>;
|
|
577
|
-
/**
|
|
578
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
579
|
-
*
|
|
580
|
-
*/
|
|
570
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
581
571
|
metafields: Array<Maybe<Metafield>>;
|
|
582
572
|
/** A note that's associated with the cart. For example, the note can be a personalized message to the buyer. */
|
|
583
|
-
note?: Maybe<Scalars['String']>;
|
|
573
|
+
note?: Maybe<Scalars['String']['output']>;
|
|
584
574
|
/** The total number of items in the cart. */
|
|
585
|
-
totalQuantity: Scalars['Int'];
|
|
575
|
+
totalQuantity: Scalars['Int']['output'];
|
|
586
576
|
/** The date and time when the cart was updated. */
|
|
587
|
-
updatedAt: Scalars['DateTime'];
|
|
577
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
588
578
|
};
|
|
589
579
|
|
|
590
580
|
/**
|
|
@@ -595,7 +585,7 @@ export type Cart = HasMetafields &
|
|
|
595
585
|
*
|
|
596
586
|
*/
|
|
597
587
|
export type CartAttributeArgs = {
|
|
598
|
-
key: Scalars['String'];
|
|
588
|
+
key: Scalars['String']['input'];
|
|
599
589
|
};
|
|
600
590
|
|
|
601
591
|
/**
|
|
@@ -606,11 +596,11 @@ export type CartAttributeArgs = {
|
|
|
606
596
|
*
|
|
607
597
|
*/
|
|
608
598
|
export type CartDeliveryGroupsArgs = {
|
|
609
|
-
after?: InputMaybe<Scalars['String']>;
|
|
610
|
-
before?: InputMaybe<Scalars['String']>;
|
|
611
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
612
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
613
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
599
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
600
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
601
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
602
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
603
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
614
604
|
};
|
|
615
605
|
|
|
616
606
|
/**
|
|
@@ -621,11 +611,11 @@ export type CartDeliveryGroupsArgs = {
|
|
|
621
611
|
*
|
|
622
612
|
*/
|
|
623
613
|
export type CartLinesArgs = {
|
|
624
|
-
after?: InputMaybe<Scalars['String']>;
|
|
625
|
-
before?: InputMaybe<Scalars['String']>;
|
|
626
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
627
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
628
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
614
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
615
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
616
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
617
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
618
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
629
619
|
};
|
|
630
620
|
|
|
631
621
|
/**
|
|
@@ -636,8 +626,8 @@ export type CartLinesArgs = {
|
|
|
636
626
|
*
|
|
637
627
|
*/
|
|
638
628
|
export type CartMetafieldArgs = {
|
|
639
|
-
key: Scalars['String'];
|
|
640
|
-
namespace
|
|
629
|
+
key: Scalars['String']['input'];
|
|
630
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
641
631
|
};
|
|
642
632
|
|
|
643
633
|
/**
|
|
@@ -666,7 +656,7 @@ export type CartAutomaticDiscountAllocation = CartDiscountAllocation & {
|
|
|
666
656
|
/** The discounted amount that has been applied to the cart line. */
|
|
667
657
|
discountedAmount: MoneyV2;
|
|
668
658
|
/** The title of the allocated discount. */
|
|
669
|
-
title: Scalars['String'];
|
|
659
|
+
title: Scalars['String']['output'];
|
|
670
660
|
};
|
|
671
661
|
|
|
672
662
|
/** Represents information about the buyer that is interacting with the cart. */
|
|
@@ -684,15 +674,15 @@ export type CartBuyerIdentity = {
|
|
|
684
674
|
*/
|
|
685
675
|
deliveryAddressPreferences: Array<DeliveryAddress>;
|
|
686
676
|
/** The email address of the buyer that's interacting with the cart. */
|
|
687
|
-
email?: Maybe<Scalars['String']>;
|
|
677
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
688
678
|
/** The phone number of the buyer that's interacting with the cart. */
|
|
689
|
-
phone?: Maybe<Scalars['String']>;
|
|
679
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
690
680
|
/**
|
|
691
681
|
* A set of wallet preferences tied to the buyer that is interacting with the cart.
|
|
692
682
|
* Preferences can be used to populate relevant payment fields in the checkout flow.
|
|
693
683
|
*
|
|
694
684
|
*/
|
|
695
|
-
walletPreferences: Array<Scalars['String']>;
|
|
685
|
+
walletPreferences: Array<Scalars['String']['output']>;
|
|
696
686
|
};
|
|
697
687
|
|
|
698
688
|
/**
|
|
@@ -706,7 +696,7 @@ export type CartBuyerIdentityInput = {
|
|
|
706
696
|
/** The country where the buyer is located. */
|
|
707
697
|
countryCode?: InputMaybe<CountryCode>;
|
|
708
698
|
/** The access token used to identify the customer associated with the cart. */
|
|
709
|
-
customerAccessToken?: InputMaybe<Scalars['String']>;
|
|
699
|
+
customerAccessToken?: InputMaybe<Scalars['String']['input']>;
|
|
710
700
|
/**
|
|
711
701
|
* An ordered set of delivery addresses tied to the buyer that is interacting with the cart.
|
|
712
702
|
* The rank of the preferences is determined by the order of the addresses in the array. Preferences
|
|
@@ -715,16 +705,16 @@ export type CartBuyerIdentityInput = {
|
|
|
715
705
|
*/
|
|
716
706
|
deliveryAddressPreferences?: InputMaybe<Array<DeliveryAddressInput>>;
|
|
717
707
|
/** The email address of the buyer that is interacting with the cart. */
|
|
718
|
-
email?: InputMaybe<Scalars['String']>;
|
|
708
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
719
709
|
/** The phone number of the buyer that is interacting with the cart. */
|
|
720
|
-
phone?: InputMaybe<Scalars['String']>;
|
|
710
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
721
711
|
/**
|
|
722
712
|
* A set of wallet preferences tied to the buyer that is interacting with the cart.
|
|
723
713
|
* Preferences can be used to populate relevant payment fields in the checkout flow.
|
|
724
714
|
* Accepted value: `["shop_pay"]`.
|
|
725
715
|
*
|
|
726
716
|
*/
|
|
727
|
-
walletPreferences?: InputMaybe<Array<Scalars['String']>>;
|
|
717
|
+
walletPreferences?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
728
718
|
};
|
|
729
719
|
|
|
730
720
|
/** Return type for `cartBuyerIdentityUpdate` mutation. */
|
|
@@ -752,7 +742,7 @@ export type CartCardSource =
|
|
|
752
742
|
export type CartCodeDiscountAllocation = CartDiscountAllocation & {
|
|
753
743
|
__typename?: 'CartCodeDiscountAllocation';
|
|
754
744
|
/** The code used to apply the discount. */
|
|
755
|
-
code: Scalars['String'];
|
|
745
|
+
code: Scalars['String']['output'];
|
|
756
746
|
/** The discounted amount that has been applied to the cart line. */
|
|
757
747
|
discountedAmount: MoneyV2;
|
|
758
748
|
};
|
|
@@ -766,7 +756,7 @@ export type CartCompletionActionRequired = {
|
|
|
766
756
|
/** The action required to complete the cart completion attempt. */
|
|
767
757
|
action?: Maybe<CartCompletionAction>;
|
|
768
758
|
/** The ID of the cart completion attempt. */
|
|
769
|
-
id: Scalars['String'];
|
|
759
|
+
id: Scalars['String']['output'];
|
|
770
760
|
};
|
|
771
761
|
|
|
772
762
|
/** The result of a cart completion attempt. */
|
|
@@ -782,29 +772,29 @@ export type CartCompletionFailed = {
|
|
|
782
772
|
/** The errors that caused the checkout to fail. */
|
|
783
773
|
errors: Array<CompletionError>;
|
|
784
774
|
/** The ID of the cart completion attempt. */
|
|
785
|
-
id: Scalars['String'];
|
|
775
|
+
id: Scalars['String']['output'];
|
|
786
776
|
};
|
|
787
777
|
|
|
788
778
|
/** A cart checkout completion that's still processing. */
|
|
789
779
|
export type CartCompletionProcessing = {
|
|
790
780
|
__typename?: 'CartCompletionProcessing';
|
|
791
781
|
/** The ID of the cart completion attempt. */
|
|
792
|
-
id: Scalars['String'];
|
|
782
|
+
id: Scalars['String']['output'];
|
|
793
783
|
/** The number of milliseconds to wait before polling again. */
|
|
794
|
-
pollDelay: Scalars['Int'];
|
|
784
|
+
pollDelay: Scalars['Int']['output'];
|
|
795
785
|
};
|
|
796
786
|
|
|
797
787
|
/** A successful completion to checkout a cart and a created order. */
|
|
798
788
|
export type CartCompletionSuccess = {
|
|
799
789
|
__typename?: 'CartCompletionSuccess';
|
|
800
790
|
/** The date and time when the job completed. */
|
|
801
|
-
completedAt?: Maybe<Scalars['DateTime']>;
|
|
791
|
+
completedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
802
792
|
/** The ID of the cart completion attempt. */
|
|
803
|
-
id: Scalars['String'];
|
|
793
|
+
id: Scalars['String']['output'];
|
|
804
794
|
/** The ID of the order that's created in Shopify. */
|
|
805
|
-
orderId: Scalars['ID'];
|
|
795
|
+
orderId: Scalars['ID']['output'];
|
|
806
796
|
/** The URL of the order confirmation in Shopify. */
|
|
807
|
-
orderUrl: Scalars['URL'];
|
|
797
|
+
orderUrl: Scalars['URL']['output'];
|
|
808
798
|
};
|
|
809
799
|
|
|
810
800
|
/**
|
|
@@ -820,19 +810,19 @@ export type CartCost = {
|
|
|
820
810
|
/** The amount, before taxes and cart-level discounts, for the customer to pay. */
|
|
821
811
|
subtotalAmount: MoneyV2;
|
|
822
812
|
/** Whether the subtotal amount is estimated. */
|
|
823
|
-
subtotalAmountEstimated: Scalars['Boolean'];
|
|
813
|
+
subtotalAmountEstimated: Scalars['Boolean']['output'];
|
|
824
814
|
/** The total amount for the customer to pay. */
|
|
825
815
|
totalAmount: MoneyV2;
|
|
826
816
|
/** Whether the total amount is estimated. */
|
|
827
|
-
totalAmountEstimated: Scalars['Boolean'];
|
|
817
|
+
totalAmountEstimated: Scalars['Boolean']['output'];
|
|
828
818
|
/** The duty amount for the customer to pay at checkout. */
|
|
829
819
|
totalDutyAmount?: Maybe<MoneyV2>;
|
|
830
820
|
/** Whether the total duty amount is estimated. */
|
|
831
|
-
totalDutyAmountEstimated: Scalars['Boolean'];
|
|
821
|
+
totalDutyAmountEstimated: Scalars['Boolean']['output'];
|
|
832
822
|
/** The tax amount for the customer to pay at checkout. */
|
|
833
823
|
totalTaxAmount?: Maybe<MoneyV2>;
|
|
834
824
|
/** Whether the total tax amount is estimated. */
|
|
835
|
-
totalTaxAmountEstimated: Scalars['Boolean'];
|
|
825
|
+
totalTaxAmountEstimated: Scalars['Boolean']['output'];
|
|
836
826
|
};
|
|
837
827
|
|
|
838
828
|
/** Return type for `cartCreate` mutation. */
|
|
@@ -850,7 +840,7 @@ export type CartCustomDiscountAllocation = CartDiscountAllocation & {
|
|
|
850
840
|
/** The discounted amount that has been applied to the cart line. */
|
|
851
841
|
discountedAmount: MoneyV2;
|
|
852
842
|
/** The title of the allocated discount. */
|
|
853
|
-
title: Scalars['String'];
|
|
843
|
+
title: Scalars['String']['output'];
|
|
854
844
|
};
|
|
855
845
|
|
|
856
846
|
/** Information about the options available for one or more line items to be delivered to a specific address. */
|
|
@@ -863,18 +853,18 @@ export type CartDeliveryGroup = {
|
|
|
863
853
|
/** The delivery options available for the delivery group. */
|
|
864
854
|
deliveryOptions: Array<CartDeliveryOption>;
|
|
865
855
|
/** The ID for the delivery group. */
|
|
866
|
-
id: Scalars['ID'];
|
|
856
|
+
id: Scalars['ID']['output'];
|
|
867
857
|
/** The selected delivery option for the delivery group. */
|
|
868
858
|
selectedDeliveryOption?: Maybe<CartDeliveryOption>;
|
|
869
859
|
};
|
|
870
860
|
|
|
871
861
|
/** Information about the options available for one or more line items to be delivered to a specific address. */
|
|
872
862
|
export type CartDeliveryGroupCartLinesArgs = {
|
|
873
|
-
after?: InputMaybe<Scalars['String']>;
|
|
874
|
-
before?: InputMaybe<Scalars['String']>;
|
|
875
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
876
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
877
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
863
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
864
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
865
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
866
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
867
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
878
868
|
};
|
|
879
869
|
|
|
880
870
|
/**
|
|
@@ -898,7 +888,7 @@ export type CartDeliveryGroupConnection = {
|
|
|
898
888
|
export type CartDeliveryGroupEdge = {
|
|
899
889
|
__typename?: 'CartDeliveryGroupEdge';
|
|
900
890
|
/** A cursor for use in pagination. */
|
|
901
|
-
cursor: Scalars['String'];
|
|
891
|
+
cursor: Scalars['String']['output'];
|
|
902
892
|
/** The item at the end of CartDeliveryGroupEdge. */
|
|
903
893
|
node: CartDeliveryGroup;
|
|
904
894
|
};
|
|
@@ -907,17 +897,17 @@ export type CartDeliveryGroupEdge = {
|
|
|
907
897
|
export type CartDeliveryOption = {
|
|
908
898
|
__typename?: 'CartDeliveryOption';
|
|
909
899
|
/** The code of the delivery option. */
|
|
910
|
-
code?: Maybe<Scalars['String']>;
|
|
900
|
+
code?: Maybe<Scalars['String']['output']>;
|
|
911
901
|
/** The method for the delivery option. */
|
|
912
902
|
deliveryMethodType: DeliveryMethodType;
|
|
913
903
|
/** The description of the delivery option. */
|
|
914
|
-
description?: Maybe<Scalars['String']>;
|
|
904
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
915
905
|
/** The estimated cost for the delivery option. */
|
|
916
906
|
estimatedCost: MoneyV2;
|
|
917
907
|
/** The unique identifier of the delivery option. */
|
|
918
|
-
handle: Scalars['String'];
|
|
908
|
+
handle: Scalars['String']['output'];
|
|
919
909
|
/** The title of the delivery option. */
|
|
920
|
-
title?: Maybe<Scalars['String']>;
|
|
910
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
921
911
|
};
|
|
922
912
|
|
|
923
913
|
/**
|
|
@@ -930,7 +920,7 @@ export type CartDirectPaymentMethodInput = {
|
|
|
930
920
|
/** The source of the credit card payment. */
|
|
931
921
|
cardSource?: InputMaybe<CartCardSource>;
|
|
932
922
|
/** The session ID for the direct payment method used to create the payment. */
|
|
933
|
-
sessionId: Scalars['String'];
|
|
923
|
+
sessionId: Scalars['String']['input'];
|
|
934
924
|
};
|
|
935
925
|
|
|
936
926
|
/** The discounts that have been applied to the cart line. */
|
|
@@ -943,9 +933,9 @@ export type CartDiscountAllocation = {
|
|
|
943
933
|
export type CartDiscountCode = {
|
|
944
934
|
__typename?: 'CartDiscountCode';
|
|
945
935
|
/** Whether the discount code is applicable to the cart's current contents. */
|
|
946
|
-
applicable: Scalars['Boolean'];
|
|
936
|
+
applicable: Scalars['Boolean']['output'];
|
|
947
937
|
/** The code for the discount. */
|
|
948
|
-
code: Scalars['String'];
|
|
938
|
+
code: Scalars['String']['output'];
|
|
949
939
|
};
|
|
950
940
|
|
|
951
941
|
/** Return type for `cartDiscountCodesUpdate` mutation. */
|
|
@@ -980,16 +970,11 @@ export type CartErrorCode =
|
|
|
980
970
|
/** Missing note. */
|
|
981
971
|
| 'MISSING_NOTE'
|
|
982
972
|
/** The payment method is not supported. */
|
|
983
|
-
| 'PAYMENT_METHOD_NOT_SUPPORTED'
|
|
973
|
+
| 'PAYMENT_METHOD_NOT_SUPPORTED'
|
|
974
|
+
/** Validation failed. */
|
|
975
|
+
| 'VALIDATION_CUSTOM';
|
|
984
976
|
|
|
985
|
-
/**
|
|
986
|
-
* The estimated costs that the buyer will pay at checkout.
|
|
987
|
-
* The estimated cost uses
|
|
988
|
-
* [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity)
|
|
989
|
-
* to determine
|
|
990
|
-
* [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).
|
|
991
|
-
*
|
|
992
|
-
*/
|
|
977
|
+
/** The estimated costs that the buyer will pay at checkout. The estimated cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). */
|
|
993
978
|
export type CartEstimatedCost = {
|
|
994
979
|
__typename?: 'CartEstimatedCost';
|
|
995
980
|
/** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to`subtotal_amount`. */
|
|
@@ -1028,30 +1013,33 @@ export type CartInput = {
|
|
|
1028
1013
|
* The case-insensitive discount codes that the customer added at checkout.
|
|
1029
1014
|
*
|
|
1030
1015
|
*/
|
|
1031
|
-
discountCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
1016
|
+
discountCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
1032
1017
|
/** A list of merchandise lines to add to the cart. */
|
|
1033
1018
|
lines?: InputMaybe<Array<CartLineInput>>;
|
|
1034
1019
|
/** The metafields to associate with this cart. */
|
|
1035
1020
|
metafields?: InputMaybe<Array<CartInputMetafieldInput>>;
|
|
1036
|
-
/**
|
|
1037
|
-
|
|
1021
|
+
/**
|
|
1022
|
+
* A note that's associated with the cart. For example, the note can be a personalized message to the buyer.
|
|
1023
|
+
*
|
|
1024
|
+
*/
|
|
1025
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
1038
1026
|
};
|
|
1039
1027
|
|
|
1040
1028
|
/** The input fields for a cart metafield value to set. */
|
|
1041
1029
|
export type CartInputMetafieldInput = {
|
|
1042
1030
|
/** The key name of the metafield. */
|
|
1043
|
-
key: Scalars['String'];
|
|
1031
|
+
key: Scalars['String']['input'];
|
|
1044
1032
|
/**
|
|
1045
1033
|
* The type of data that the cart metafield stores.
|
|
1046
1034
|
* The type of data must be a [supported type](https://shopify.dev/apps/metafields/types).
|
|
1047
1035
|
*
|
|
1048
1036
|
*/
|
|
1049
|
-
type: Scalars['String'];
|
|
1037
|
+
type: Scalars['String']['input'];
|
|
1050
1038
|
/**
|
|
1051
1039
|
* The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.
|
|
1052
1040
|
*
|
|
1053
1041
|
*/
|
|
1054
|
-
value: Scalars['String'];
|
|
1042
|
+
value: Scalars['String']['input'];
|
|
1055
1043
|
};
|
|
1056
1044
|
|
|
1057
1045
|
/** Represents information about the merchandise in the cart. */
|
|
@@ -1076,18 +1064,18 @@ export type CartLine = BaseCartLine &
|
|
|
1076
1064
|
*/
|
|
1077
1065
|
estimatedCost: CartLineEstimatedCost;
|
|
1078
1066
|
/** A globally-unique ID. */
|
|
1079
|
-
id: Scalars['ID'];
|
|
1067
|
+
id: Scalars['ID']['output'];
|
|
1080
1068
|
/** The merchandise that the buyer intends to purchase. */
|
|
1081
1069
|
merchandise: Merchandise;
|
|
1082
1070
|
/** The quantity of the merchandise that the customer intends to purchase. */
|
|
1083
|
-
quantity: Scalars['Int'];
|
|
1071
|
+
quantity: Scalars['Int']['output'];
|
|
1084
1072
|
/** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */
|
|
1085
1073
|
sellingPlanAllocation?: Maybe<SellingPlanAllocation>;
|
|
1086
1074
|
};
|
|
1087
1075
|
|
|
1088
1076
|
/** Represents information about the merchandise in the cart. */
|
|
1089
1077
|
export type CartLineAttributeArgs = {
|
|
1090
|
-
key: Scalars['String'];
|
|
1078
|
+
key: Scalars['String']['input'];
|
|
1091
1079
|
};
|
|
1092
1080
|
|
|
1093
1081
|
/** The cost of the merchandise line that the buyer will pay at checkout. */
|
|
@@ -1103,7 +1091,10 @@ export type CartLineCost = {
|
|
|
1103
1091
|
totalAmount: MoneyV2;
|
|
1104
1092
|
};
|
|
1105
1093
|
|
|
1106
|
-
/**
|
|
1094
|
+
/**
|
|
1095
|
+
* The estimated cost of the merchandise line that the buyer will pay at checkout.
|
|
1096
|
+
*
|
|
1097
|
+
*/
|
|
1107
1098
|
export type CartLineEstimatedCost = {
|
|
1108
1099
|
__typename?: 'CartLineEstimatedCost';
|
|
1109
1100
|
/** The amount of the merchandise line. */
|
|
@@ -1121,11 +1112,11 @@ export type CartLineInput = {
|
|
|
1121
1112
|
/** An array of key-value pairs that contains additional information about the merchandise line. */
|
|
1122
1113
|
attributes?: InputMaybe<Array<AttributeInput>>;
|
|
1123
1114
|
/** The ID of the merchandise that the buyer intends to purchase. */
|
|
1124
|
-
merchandiseId: Scalars['ID'];
|
|
1115
|
+
merchandiseId: Scalars['ID']['input'];
|
|
1125
1116
|
/** The quantity of the merchandise. */
|
|
1126
|
-
quantity?: InputMaybe<Scalars['Int']>;
|
|
1117
|
+
quantity?: InputMaybe<Scalars['Int']['input']>;
|
|
1127
1118
|
/** The ID of the selling plan that the merchandise is being purchased with. */
|
|
1128
|
-
sellingPlanId?: InputMaybe<Scalars['ID']>;
|
|
1119
|
+
sellingPlanId?: InputMaybe<Scalars['ID']['input']>;
|
|
1129
1120
|
};
|
|
1130
1121
|
|
|
1131
1122
|
/** The input fields to update a line item on a cart. */
|
|
@@ -1133,13 +1124,13 @@ export type CartLineUpdateInput = {
|
|
|
1133
1124
|
/** An array of key-value pairs that contains additional information about the merchandise line. */
|
|
1134
1125
|
attributes?: InputMaybe<Array<AttributeInput>>;
|
|
1135
1126
|
/** The ID of the merchandise line. */
|
|
1136
|
-
id: Scalars['ID'];
|
|
1127
|
+
id: Scalars['ID']['input'];
|
|
1137
1128
|
/** The ID of the merchandise for the line item. */
|
|
1138
|
-
merchandiseId?: InputMaybe<Scalars['ID']>;
|
|
1129
|
+
merchandiseId?: InputMaybe<Scalars['ID']['input']>;
|
|
1139
1130
|
/** The quantity of the line item. */
|
|
1140
|
-
quantity?: InputMaybe<Scalars['Int']>;
|
|
1131
|
+
quantity?: InputMaybe<Scalars['Int']['input']>;
|
|
1141
1132
|
/** The ID of the selling plan that the merchandise is being purchased with. */
|
|
1142
|
-
sellingPlanId?: InputMaybe<Scalars['ID']>;
|
|
1133
|
+
sellingPlanId?: InputMaybe<Scalars['ID']['input']>;
|
|
1143
1134
|
};
|
|
1144
1135
|
|
|
1145
1136
|
/** Return type for `cartLinesAdd` mutation. */
|
|
@@ -1176,16 +1167,16 @@ export type CartMetafieldDeleteInput = {
|
|
|
1176
1167
|
* that relies on the default app-reserved namespace.
|
|
1177
1168
|
*
|
|
1178
1169
|
*/
|
|
1179
|
-
key: Scalars['String'];
|
|
1170
|
+
key: Scalars['String']['input'];
|
|
1180
1171
|
/** The ID of the cart resource. */
|
|
1181
|
-
ownerId: Scalars['ID'];
|
|
1172
|
+
ownerId: Scalars['ID']['input'];
|
|
1182
1173
|
};
|
|
1183
1174
|
|
|
1184
1175
|
/** Return type for `cartMetafieldDelete` mutation. */
|
|
1185
1176
|
export type CartMetafieldDeletePayload = {
|
|
1186
1177
|
__typename?: 'CartMetafieldDeletePayload';
|
|
1187
1178
|
/** The ID of the deleted cart metafield. */
|
|
1188
|
-
deletedId?: Maybe<Scalars['ID']>;
|
|
1179
|
+
deletedId?: Maybe<Scalars['ID']['output']>;
|
|
1189
1180
|
/** The list of errors that occurred from executing the mutation. */
|
|
1190
1181
|
userErrors: Array<MetafieldDeleteUserError>;
|
|
1191
1182
|
};
|
|
@@ -1193,20 +1184,20 @@ export type CartMetafieldDeletePayload = {
|
|
|
1193
1184
|
/** The input fields for a cart metafield value to set. */
|
|
1194
1185
|
export type CartMetafieldsSetInput = {
|
|
1195
1186
|
/** The key name of the cart metafield. */
|
|
1196
|
-
key: Scalars['String'];
|
|
1187
|
+
key: Scalars['String']['input'];
|
|
1197
1188
|
/** The ID of the cart resource. */
|
|
1198
|
-
ownerId: Scalars['ID'];
|
|
1189
|
+
ownerId: Scalars['ID']['input'];
|
|
1199
1190
|
/**
|
|
1200
1191
|
* The type of data that the cart metafield stores.
|
|
1201
1192
|
* The type of data must be a [supported type](https://shopify.dev/apps/metafields/types).
|
|
1202
1193
|
*
|
|
1203
1194
|
*/
|
|
1204
|
-
type: Scalars['String'];
|
|
1195
|
+
type: Scalars['String']['input'];
|
|
1205
1196
|
/**
|
|
1206
1197
|
* The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.
|
|
1207
1198
|
*
|
|
1208
1199
|
*/
|
|
1209
|
-
value: Scalars['String'];
|
|
1200
|
+
value: Scalars['String']['input'];
|
|
1210
1201
|
};
|
|
1211
1202
|
|
|
1212
1203
|
/** Return type for `cartMetafieldsSet` mutation. */
|
|
@@ -1250,7 +1241,7 @@ export type CartPaymentInput = {
|
|
|
1250
1241
|
* Note that this value doesn't correspond to the Shopify Order ID.
|
|
1251
1242
|
*
|
|
1252
1243
|
*/
|
|
1253
|
-
sourceIdentifier?: InputMaybe<Scalars['String']>;
|
|
1244
|
+
sourceIdentifier?: InputMaybe<Scalars['String']['input']>;
|
|
1254
1245
|
/**
|
|
1255
1246
|
* The input fields to use when checking out a cart with a wallet payment method (like Shop Pay or Apple Pay).
|
|
1256
1247
|
*
|
|
@@ -1273,9 +1264,9 @@ export type CartPaymentUpdatePayload = {
|
|
|
1273
1264
|
*/
|
|
1274
1265
|
export type CartSelectedDeliveryOptionInput = {
|
|
1275
1266
|
/** The ID of the cart delivery group. */
|
|
1276
|
-
deliveryGroupId: Scalars['ID'];
|
|
1267
|
+
deliveryGroupId: Scalars['ID']['input'];
|
|
1277
1268
|
/** The handle of the selected delivery option. */
|
|
1278
|
-
deliveryOptionHandle: Scalars['String'];
|
|
1269
|
+
deliveryOptionHandle: Scalars['String']['input'];
|
|
1279
1270
|
};
|
|
1280
1271
|
|
|
1281
1272
|
/** Return type for `cartSelectedDeliveryOptionsUpdate` mutation. */
|
|
@@ -1309,9 +1300,9 @@ export type CartUserError = DisplayableError & {
|
|
|
1309
1300
|
/** The error code. */
|
|
1310
1301
|
code?: Maybe<CartErrorCode>;
|
|
1311
1302
|
/** The path to the input field that caused the error. */
|
|
1312
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
1303
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
1313
1304
|
/** The error message. */
|
|
1314
|
-
message: Scalars['String'];
|
|
1305
|
+
message: Scalars['String']['output'];
|
|
1315
1306
|
};
|
|
1316
1307
|
|
|
1317
1308
|
/**
|
|
@@ -1340,9 +1331,9 @@ export type Checkout = Node & {
|
|
|
1340
1331
|
/** The identity of the customer associated with the checkout. */
|
|
1341
1332
|
buyerIdentity: CheckoutBuyerIdentity;
|
|
1342
1333
|
/** The date and time when the checkout was completed. */
|
|
1343
|
-
completedAt?: Maybe<Scalars['DateTime']>;
|
|
1334
|
+
completedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
1344
1335
|
/** The date and time when the checkout was created. */
|
|
1345
|
-
createdAt: Scalars['DateTime'];
|
|
1336
|
+
createdAt: Scalars['DateTime']['output'];
|
|
1346
1337
|
/** The currency code for the checkout. */
|
|
1347
1338
|
currencyCode: CurrencyCode;
|
|
1348
1339
|
/** A list of extra information that's added to the checkout. */
|
|
@@ -1350,19 +1341,19 @@ export type Checkout = Node & {
|
|
|
1350
1341
|
/** Discounts that have been applied on the checkout. */
|
|
1351
1342
|
discountApplications: DiscountApplicationConnection;
|
|
1352
1343
|
/** The email attached to this checkout. */
|
|
1353
|
-
email?: Maybe<Scalars['String']>;
|
|
1344
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
1354
1345
|
/** A globally-unique ID. */
|
|
1355
|
-
id: Scalars['ID'];
|
|
1346
|
+
id: Scalars['ID']['output'];
|
|
1356
1347
|
/** A list of line item objects, each one containing information about an item in the checkout. */
|
|
1357
1348
|
lineItems: CheckoutLineItemConnection;
|
|
1358
1349
|
/** The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. */
|
|
1359
1350
|
lineItemsSubtotalPrice: MoneyV2;
|
|
1360
1351
|
/** The note associated with the checkout. */
|
|
1361
|
-
note?: Maybe<Scalars['String']>;
|
|
1352
|
+
note?: Maybe<Scalars['String']['output']>;
|
|
1362
1353
|
/** The resulting order from a paid checkout. */
|
|
1363
1354
|
order?: Maybe<Order>;
|
|
1364
1355
|
/** The Order Status Page for this Checkout, null when checkout isn't completed. */
|
|
1365
|
-
orderStatusUrl?: Maybe<Scalars['URL']>;
|
|
1356
|
+
orderStatusUrl?: Maybe<Scalars['URL']['output']>;
|
|
1366
1357
|
/** The amount left to be paid. This is equal to the cost of the line items, taxes, and shipping, minus discounts and gift cards. */
|
|
1367
1358
|
paymentDue: MoneyV2;
|
|
1368
1359
|
/**
|
|
@@ -1377,9 +1368,9 @@ export type Checkout = Node & {
|
|
|
1377
1368
|
* date, polling is required until the value is true.
|
|
1378
1369
|
*
|
|
1379
1370
|
*/
|
|
1380
|
-
ready: Scalars['Boolean'];
|
|
1371
|
+
ready: Scalars['Boolean']['output'];
|
|
1381
1372
|
/** States whether or not the fulfillment requires shipping. */
|
|
1382
|
-
requiresShipping: Scalars['Boolean'];
|
|
1373
|
+
requiresShipping: Scalars['Boolean']['output'];
|
|
1383
1374
|
/** The shipping address to where the line items will be shipped. */
|
|
1384
1375
|
shippingAddress?: Maybe<MailingAddress>;
|
|
1385
1376
|
/**
|
|
@@ -1397,9 +1388,9 @@ export type Checkout = Node & {
|
|
|
1397
1388
|
*/
|
|
1398
1389
|
subtotalPriceV2: MoneyV2;
|
|
1399
1390
|
/** Whether the checkout is tax exempt. */
|
|
1400
|
-
taxExempt: Scalars['Boolean'];
|
|
1391
|
+
taxExempt: Scalars['Boolean']['output'];
|
|
1401
1392
|
/** Whether taxes are included in the line item and shipping line prices. */
|
|
1402
|
-
taxesIncluded: Scalars['Boolean'];
|
|
1393
|
+
taxesIncluded: Scalars['Boolean']['output'];
|
|
1403
1394
|
/** The sum of all the duties applied to the line items in the checkout. */
|
|
1404
1395
|
totalDuties?: Maybe<MoneyV2>;
|
|
1405
1396
|
/** The sum of all the prices of all the items in the checkout, including taxes and duties. */
|
|
@@ -1417,27 +1408,27 @@ export type Checkout = Node & {
|
|
|
1417
1408
|
*/
|
|
1418
1409
|
totalTaxV2: MoneyV2;
|
|
1419
1410
|
/** The date and time when the checkout was last updated. */
|
|
1420
|
-
updatedAt: Scalars['DateTime'];
|
|
1411
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1421
1412
|
/** The url pointing to the checkout accessible from the web. */
|
|
1422
|
-
webUrl: Scalars['URL'];
|
|
1413
|
+
webUrl: Scalars['URL']['output'];
|
|
1423
1414
|
};
|
|
1424
1415
|
|
|
1425
1416
|
/** A container for all the information required to checkout items and pay. */
|
|
1426
1417
|
export type CheckoutDiscountApplicationsArgs = {
|
|
1427
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1428
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1429
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1430
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1431
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
1418
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1419
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1420
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1421
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1422
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1432
1423
|
};
|
|
1433
1424
|
|
|
1434
1425
|
/** A container for all the information required to checkout items and pay. */
|
|
1435
1426
|
export type CheckoutLineItemsArgs = {
|
|
1436
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1437
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1438
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1439
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1440
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
1427
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1428
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1429
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1430
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
1431
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1441
1432
|
};
|
|
1442
1433
|
|
|
1443
1434
|
/** The input fields required to update a checkout's attributes. */
|
|
@@ -1449,11 +1440,11 @@ export type CheckoutAttributesUpdateV2Input = {
|
|
|
1449
1440
|
* each operation.
|
|
1450
1441
|
*
|
|
1451
1442
|
*/
|
|
1452
|
-
allowPartialAddresses?: InputMaybe<Scalars['Boolean']>;
|
|
1443
|
+
allowPartialAddresses?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1453
1444
|
/** A list of extra information that's added to the checkout. */
|
|
1454
1445
|
customAttributes?: InputMaybe<Array<AttributeInput>>;
|
|
1455
1446
|
/** The text of an optional note that a shop owner can attach to the checkout. */
|
|
1456
|
-
note?: InputMaybe<Scalars['String']>;
|
|
1447
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
1457
1448
|
};
|
|
1458
1449
|
|
|
1459
1450
|
/** Return type for `checkoutAttributesUpdateV2` mutation. */
|
|
@@ -1542,17 +1533,17 @@ export type CheckoutCreateInput = {
|
|
|
1542
1533
|
* Full validation of addresses is still done at completion time. Defaults to `null`.
|
|
1543
1534
|
*
|
|
1544
1535
|
*/
|
|
1545
|
-
allowPartialAddresses?: InputMaybe<Scalars['Boolean']>;
|
|
1536
|
+
allowPartialAddresses?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1546
1537
|
/** The identity of the customer associated with the checkout. */
|
|
1547
1538
|
buyerIdentity?: InputMaybe<CheckoutBuyerIdentityInput>;
|
|
1548
1539
|
/** A list of extra information that's added to the checkout. */
|
|
1549
1540
|
customAttributes?: InputMaybe<Array<AttributeInput>>;
|
|
1550
1541
|
/** The email with which the customer wants to checkout. */
|
|
1551
|
-
email?: InputMaybe<Scalars['String']>;
|
|
1542
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
1552
1543
|
/** A list of line item objects, each one containing information about an item in the checkout. */
|
|
1553
1544
|
lineItems?: InputMaybe<Array<CheckoutLineItemInput>>;
|
|
1554
1545
|
/** The text of an optional note that a shop owner can attach to the checkout. */
|
|
1555
|
-
note?: InputMaybe<Scalars['String']>;
|
|
1546
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
1556
1547
|
/** The shipping address to where the line items will be shipped. */
|
|
1557
1548
|
shippingAddress?: InputMaybe<MailingAddressInput>;
|
|
1558
1549
|
};
|
|
@@ -1565,7 +1556,7 @@ export type CheckoutCreatePayload = {
|
|
|
1565
1556
|
/** The list of errors that occurred from executing the mutation. */
|
|
1566
1557
|
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1567
1558
|
/** The checkout queue token. Available only to selected stores. */
|
|
1568
|
-
queueToken?: Maybe<Scalars['String']>;
|
|
1559
|
+
queueToken?: Maybe<Scalars['String']['output']>;
|
|
1569
1560
|
/**
|
|
1570
1561
|
* The list of errors that occurred from executing the mutation.
|
|
1571
1562
|
* @deprecated Use `checkoutUserErrors` instead.
|
|
@@ -1776,11 +1767,11 @@ export type CheckoutLineItem = Node & {
|
|
|
1776
1767
|
/** The discounts that have been allocated onto the checkout line item by discount applications. */
|
|
1777
1768
|
discountAllocations: Array<DiscountAllocation>;
|
|
1778
1769
|
/** A globally-unique ID. */
|
|
1779
|
-
id: Scalars['ID'];
|
|
1770
|
+
id: Scalars['ID']['output'];
|
|
1780
1771
|
/** The quantity of the line item. */
|
|
1781
|
-
quantity: Scalars['Int'];
|
|
1772
|
+
quantity: Scalars['Int']['output'];
|
|
1782
1773
|
/** Title of the line item. Defaults to the product's title. */
|
|
1783
|
-
title: Scalars['String'];
|
|
1774
|
+
title: Scalars['String']['output'];
|
|
1784
1775
|
/** Unit price of the line item. */
|
|
1785
1776
|
unitPrice?: Maybe<MoneyV2>;
|
|
1786
1777
|
/** Product variant of the line item. */
|
|
@@ -1808,7 +1799,7 @@ export type CheckoutLineItemConnection = {
|
|
|
1808
1799
|
export type CheckoutLineItemEdge = {
|
|
1809
1800
|
__typename?: 'CheckoutLineItemEdge';
|
|
1810
1801
|
/** A cursor for use in pagination. */
|
|
1811
|
-
cursor: Scalars['String'];
|
|
1802
|
+
cursor: Scalars['String']['output'];
|
|
1812
1803
|
/** The item at the end of CheckoutLineItemEdge. */
|
|
1813
1804
|
node: CheckoutLineItem;
|
|
1814
1805
|
};
|
|
@@ -1818,9 +1809,9 @@ export type CheckoutLineItemInput = {
|
|
|
1818
1809
|
/** Extra information in the form of an array of Key-Value pairs about the line item. */
|
|
1819
1810
|
customAttributes?: InputMaybe<Array<AttributeInput>>;
|
|
1820
1811
|
/** The quantity of the line item. */
|
|
1821
|
-
quantity: Scalars['Int'];
|
|
1812
|
+
quantity: Scalars['Int']['input'];
|
|
1822
1813
|
/** The ID of the product variant for the line item. */
|
|
1823
|
-
variantId: Scalars['ID'];
|
|
1814
|
+
variantId: Scalars['ID']['input'];
|
|
1824
1815
|
};
|
|
1825
1816
|
|
|
1826
1817
|
/** The input fields to update a line item on the checkout. */
|
|
@@ -1828,11 +1819,11 @@ export type CheckoutLineItemUpdateInput = {
|
|
|
1828
1819
|
/** Extra information in the form of an array of Key-Value pairs about the line item. */
|
|
1829
1820
|
customAttributes?: InputMaybe<Array<AttributeInput>>;
|
|
1830
1821
|
/** The ID of the line item. */
|
|
1831
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
1822
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
1832
1823
|
/** The quantity of the line item. */
|
|
1833
|
-
quantity?: InputMaybe<Scalars['Int']>;
|
|
1824
|
+
quantity?: InputMaybe<Scalars['Int']['input']>;
|
|
1834
1825
|
/** The variant ID of the line item. */
|
|
1835
|
-
variantId?: InputMaybe<Scalars['ID']>;
|
|
1826
|
+
variantId?: InputMaybe<Scalars['ID']['input']>;
|
|
1836
1827
|
};
|
|
1837
1828
|
|
|
1838
1829
|
/** Return type for `checkoutLineItemsAdd` mutation. */
|
|
@@ -1920,76 +1911,93 @@ export type CheckoutUserError = DisplayableError & {
|
|
|
1920
1911
|
/** The error code. */
|
|
1921
1912
|
code?: Maybe<CheckoutErrorCode>;
|
|
1922
1913
|
/** The path to the input field that caused the error. */
|
|
1923
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
1914
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
1924
1915
|
/** The error message. */
|
|
1925
|
-
message: Scalars['String'];
|
|
1916
|
+
message: Scalars['String']['output'];
|
|
1926
1917
|
};
|
|
1927
1918
|
|
|
1928
|
-
/**
|
|
1919
|
+
/**
|
|
1920
|
+
* A collection represents a grouping of products that a shop owner can create to
|
|
1921
|
+
* organize them or make their shops easier to browse.
|
|
1922
|
+
*
|
|
1923
|
+
*/
|
|
1929
1924
|
export type Collection = HasMetafields &
|
|
1930
1925
|
Node &
|
|
1931
1926
|
OnlineStorePublishable &
|
|
1932
1927
|
Trackable & {
|
|
1933
1928
|
__typename?: 'Collection';
|
|
1934
1929
|
/** Stripped description of the collection, single line with HTML tags removed. */
|
|
1935
|
-
description: Scalars['String'];
|
|
1930
|
+
description: Scalars['String']['output'];
|
|
1936
1931
|
/** The description of the collection, complete with HTML formatting. */
|
|
1937
|
-
descriptionHtml: Scalars['HTML'];
|
|
1932
|
+
descriptionHtml: Scalars['HTML']['output'];
|
|
1938
1933
|
/**
|
|
1939
1934
|
* A human-friendly unique string for the collection automatically generated from its title.
|
|
1940
1935
|
* Limit of 255 characters.
|
|
1941
1936
|
*
|
|
1942
1937
|
*/
|
|
1943
|
-
handle: Scalars['String'];
|
|
1938
|
+
handle: Scalars['String']['output'];
|
|
1944
1939
|
/** A globally-unique ID. */
|
|
1945
|
-
id: Scalars['ID'];
|
|
1940
|
+
id: Scalars['ID']['output'];
|
|
1946
1941
|
/** Image associated with the collection. */
|
|
1947
1942
|
image?: Maybe<Image>;
|
|
1948
1943
|
/** Returns a metafield found by namespace and key. */
|
|
1949
1944
|
metafield?: Maybe<Metafield>;
|
|
1950
|
-
/**
|
|
1951
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
1952
|
-
*
|
|
1953
|
-
*/
|
|
1945
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
1954
1946
|
metafields: Array<Maybe<Metafield>>;
|
|
1955
1947
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
1956
|
-
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
1948
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
1957
1949
|
/** List of products in the collection. */
|
|
1958
1950
|
products: ProductConnection;
|
|
1959
1951
|
/** The collection's SEO information. */
|
|
1960
1952
|
seo: Seo;
|
|
1961
1953
|
/** The collection’s name. Limit of 255 characters. */
|
|
1962
|
-
title: Scalars['String'];
|
|
1954
|
+
title: Scalars['String']['output'];
|
|
1963
1955
|
/** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
|
|
1964
|
-
trackingParameters?: Maybe<Scalars['String']>;
|
|
1956
|
+
trackingParameters?: Maybe<Scalars['String']['output']>;
|
|
1965
1957
|
/** The date and time when the collection was last modified. */
|
|
1966
|
-
updatedAt: Scalars['DateTime'];
|
|
1958
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
1967
1959
|
};
|
|
1968
1960
|
|
|
1969
|
-
/**
|
|
1961
|
+
/**
|
|
1962
|
+
* A collection represents a grouping of products that a shop owner can create to
|
|
1963
|
+
* organize them or make their shops easier to browse.
|
|
1964
|
+
*
|
|
1965
|
+
*/
|
|
1970
1966
|
export type CollectionDescriptionArgs = {
|
|
1971
|
-
truncateAt?: InputMaybe<Scalars['Int']>;
|
|
1967
|
+
truncateAt?: InputMaybe<Scalars['Int']['input']>;
|
|
1972
1968
|
};
|
|
1973
1969
|
|
|
1974
|
-
/**
|
|
1970
|
+
/**
|
|
1971
|
+
* A collection represents a grouping of products that a shop owner can create to
|
|
1972
|
+
* organize them or make their shops easier to browse.
|
|
1973
|
+
*
|
|
1974
|
+
*/
|
|
1975
1975
|
export type CollectionMetafieldArgs = {
|
|
1976
|
-
key: Scalars['String'];
|
|
1977
|
-
namespace
|
|
1976
|
+
key: Scalars['String']['input'];
|
|
1977
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
1978
1978
|
};
|
|
1979
1979
|
|
|
1980
|
-
/**
|
|
1980
|
+
/**
|
|
1981
|
+
* A collection represents a grouping of products that a shop owner can create to
|
|
1982
|
+
* organize them or make their shops easier to browse.
|
|
1983
|
+
*
|
|
1984
|
+
*/
|
|
1981
1985
|
export type CollectionMetafieldsArgs = {
|
|
1982
1986
|
identifiers: Array<HasMetafieldsIdentifier>;
|
|
1983
1987
|
};
|
|
1984
1988
|
|
|
1985
|
-
/**
|
|
1989
|
+
/**
|
|
1990
|
+
* A collection represents a grouping of products that a shop owner can create to
|
|
1991
|
+
* organize them or make their shops easier to browse.
|
|
1992
|
+
*
|
|
1993
|
+
*/
|
|
1986
1994
|
export type CollectionProductsArgs = {
|
|
1987
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1988
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1995
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
1996
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
1989
1997
|
filters?: InputMaybe<Array<ProductFilter>>;
|
|
1990
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1991
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1992
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
1998
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
1999
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
2000
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1993
2001
|
sortKey?: InputMaybe<ProductCollectionSortKeys>;
|
|
1994
2002
|
};
|
|
1995
2003
|
|
|
@@ -2006,7 +2014,7 @@ export type CollectionConnection = {
|
|
|
2006
2014
|
/** Information to aid in pagination. */
|
|
2007
2015
|
pageInfo: PageInfo;
|
|
2008
2016
|
/** The total count of Collections. */
|
|
2009
|
-
totalCount: Scalars['UnsignedInt64'];
|
|
2017
|
+
totalCount: Scalars['UnsignedInt64']['output'];
|
|
2010
2018
|
};
|
|
2011
2019
|
|
|
2012
2020
|
/**
|
|
@@ -2016,7 +2024,7 @@ export type CollectionConnection = {
|
|
|
2016
2024
|
export type CollectionEdge = {
|
|
2017
2025
|
__typename?: 'CollectionEdge';
|
|
2018
2026
|
/** A cursor for use in pagination. */
|
|
2019
|
-
cursor: Scalars['String'];
|
|
2027
|
+
cursor: Scalars['String']['output'];
|
|
2020
2028
|
/** The item at the end of CollectionEdge. */
|
|
2021
2029
|
node: Collection;
|
|
2022
2030
|
};
|
|
@@ -2042,25 +2050,25 @@ export type Comment = Node & {
|
|
|
2042
2050
|
/** The comment’s author. */
|
|
2043
2051
|
author: CommentAuthor;
|
|
2044
2052
|
/** Stripped content of the comment, single line with HTML tags removed. */
|
|
2045
|
-
content: Scalars['String'];
|
|
2053
|
+
content: Scalars['String']['output'];
|
|
2046
2054
|
/** The content of the comment, complete with HTML formatting. */
|
|
2047
|
-
contentHtml: Scalars['HTML'];
|
|
2055
|
+
contentHtml: Scalars['HTML']['output'];
|
|
2048
2056
|
/** A globally-unique ID. */
|
|
2049
|
-
id: Scalars['ID'];
|
|
2057
|
+
id: Scalars['ID']['output'];
|
|
2050
2058
|
};
|
|
2051
2059
|
|
|
2052
2060
|
/** A comment on an article. */
|
|
2053
2061
|
export type CommentContentArgs = {
|
|
2054
|
-
truncateAt?: InputMaybe<Scalars['Int']>;
|
|
2062
|
+
truncateAt?: InputMaybe<Scalars['Int']['input']>;
|
|
2055
2063
|
};
|
|
2056
2064
|
|
|
2057
2065
|
/** The author of a comment. */
|
|
2058
2066
|
export type CommentAuthor = {
|
|
2059
2067
|
__typename?: 'CommentAuthor';
|
|
2060
2068
|
/** The author's email. */
|
|
2061
|
-
email: Scalars['String'];
|
|
2069
|
+
email: Scalars['String']['output'];
|
|
2062
2070
|
/** The author’s name. */
|
|
2063
|
-
name: Scalars['String'];
|
|
2071
|
+
name: Scalars['String']['output'];
|
|
2064
2072
|
};
|
|
2065
2073
|
|
|
2066
2074
|
/**
|
|
@@ -2084,7 +2092,7 @@ export type CommentConnection = {
|
|
|
2084
2092
|
export type CommentEdge = {
|
|
2085
2093
|
__typename?: 'CommentEdge';
|
|
2086
2094
|
/** A cursor for use in pagination. */
|
|
2087
|
-
cursor: Scalars['String'];
|
|
2095
|
+
cursor: Scalars['String']['output'];
|
|
2088
2096
|
/** The item at the end of CommentEdge. */
|
|
2089
2097
|
node: Comment;
|
|
2090
2098
|
};
|
|
@@ -2093,7 +2101,7 @@ export type CommentEdge = {
|
|
|
2093
2101
|
export type CompletePaymentChallenge = {
|
|
2094
2102
|
__typename?: 'CompletePaymentChallenge';
|
|
2095
2103
|
/** The URL for the 3DS payment redirect. */
|
|
2096
|
-
redirectUrl?: Maybe<Scalars['URL']>;
|
|
2104
|
+
redirectUrl?: Maybe<Scalars['URL']['output']>;
|
|
2097
2105
|
};
|
|
2098
2106
|
|
|
2099
2107
|
/** An error that occurred during a cart completion attempt. */
|
|
@@ -2102,7 +2110,7 @@ export type CompletionError = {
|
|
|
2102
2110
|
/** The error code. */
|
|
2103
2111
|
code: CompletionErrorCode;
|
|
2104
2112
|
/** The error message. */
|
|
2105
|
-
message?: Maybe<Scalars['String']>;
|
|
2113
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
2106
2114
|
};
|
|
2107
2115
|
|
|
2108
2116
|
/** The code of the error that occurred during a cart completion attempt. */
|
|
@@ -2143,20 +2151,20 @@ export type ComponentizableCartLine = BaseCartLine &
|
|
|
2143
2151
|
*/
|
|
2144
2152
|
estimatedCost: CartLineEstimatedCost;
|
|
2145
2153
|
/** A globally-unique ID. */
|
|
2146
|
-
id: Scalars['ID'];
|
|
2154
|
+
id: Scalars['ID']['output'];
|
|
2147
2155
|
/** The components of the line item. */
|
|
2148
2156
|
lineComponents: Array<CartLine>;
|
|
2149
2157
|
/** The merchandise that the buyer intends to purchase. */
|
|
2150
2158
|
merchandise: Merchandise;
|
|
2151
2159
|
/** The quantity of the merchandise that the customer intends to purchase. */
|
|
2152
|
-
quantity: Scalars['Int'];
|
|
2160
|
+
quantity: Scalars['Int']['output'];
|
|
2153
2161
|
/** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */
|
|
2154
2162
|
sellingPlanAllocation?: Maybe<SellingPlanAllocation>;
|
|
2155
2163
|
};
|
|
2156
2164
|
|
|
2157
2165
|
/** Represents information about the grouped merchandise in the cart. */
|
|
2158
2166
|
export type ComponentizableCartLineAttributeArgs = {
|
|
2159
|
-
key: Scalars['String'];
|
|
2167
|
+
key: Scalars['String']['input'];
|
|
2160
2168
|
};
|
|
2161
2169
|
|
|
2162
2170
|
/** A country. */
|
|
@@ -2171,7 +2179,7 @@ export type Country = {
|
|
|
2171
2179
|
/** The market that includes this country. */
|
|
2172
2180
|
market?: Maybe<Market>;
|
|
2173
2181
|
/** The name of the country. */
|
|
2174
|
-
name: Scalars['String'];
|
|
2182
|
+
name: Scalars['String']['output'];
|
|
2175
2183
|
/** The unit system used in the country. */
|
|
2176
2184
|
unitSystem: UnitSystem;
|
|
2177
2185
|
};
|
|
@@ -2679,21 +2687,21 @@ export type CountryCode =
|
|
|
2679
2687
|
export type CreditCard = {
|
|
2680
2688
|
__typename?: 'CreditCard';
|
|
2681
2689
|
/** The brand of the credit card. */
|
|
2682
|
-
brand?: Maybe<Scalars['String']>;
|
|
2690
|
+
brand?: Maybe<Scalars['String']['output']>;
|
|
2683
2691
|
/** The expiry month of the credit card. */
|
|
2684
|
-
expiryMonth?: Maybe<Scalars['Int']>;
|
|
2692
|
+
expiryMonth?: Maybe<Scalars['Int']['output']>;
|
|
2685
2693
|
/** The expiry year of the credit card. */
|
|
2686
|
-
expiryYear?: Maybe<Scalars['Int']>;
|
|
2694
|
+
expiryYear?: Maybe<Scalars['Int']['output']>;
|
|
2687
2695
|
/** The credit card's BIN number. */
|
|
2688
|
-
firstDigits?: Maybe<Scalars['String']>;
|
|
2696
|
+
firstDigits?: Maybe<Scalars['String']['output']>;
|
|
2689
2697
|
/** The first name of the card holder. */
|
|
2690
|
-
firstName?: Maybe<Scalars['String']>;
|
|
2698
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
2691
2699
|
/** The last 4 digits of the credit card. */
|
|
2692
|
-
lastDigits?: Maybe<Scalars['String']>;
|
|
2700
|
+
lastDigits?: Maybe<Scalars['String']['output']>;
|
|
2693
2701
|
/** The last name of the card holder. */
|
|
2694
|
-
lastName?: Maybe<Scalars['String']>;
|
|
2702
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
2695
2703
|
/** The masked credit card number with only the last 4 digits displayed. */
|
|
2696
|
-
maskedNumber?: Maybe<Scalars['String']>;
|
|
2704
|
+
maskedNumber?: Maybe<Scalars['String']['output']>;
|
|
2697
2705
|
};
|
|
2698
2706
|
|
|
2699
2707
|
/**
|
|
@@ -2705,13 +2713,13 @@ export type CreditCardPaymentInputV2 = {
|
|
|
2705
2713
|
/** The billing address for the payment. */
|
|
2706
2714
|
billingAddress: MailingAddressInput;
|
|
2707
2715
|
/** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */
|
|
2708
|
-
idempotencyKey: Scalars['String'];
|
|
2716
|
+
idempotencyKey: Scalars['String']['input'];
|
|
2709
2717
|
/** The amount and currency of the payment. */
|
|
2710
2718
|
paymentAmount: MoneyInput;
|
|
2711
2719
|
/** Executes the payment in test mode if possible. Defaults to `false`. */
|
|
2712
|
-
test?: InputMaybe<Scalars['Boolean']>;
|
|
2720
|
+
test?: InputMaybe<Scalars['Boolean']['input']>;
|
|
2713
2721
|
/** The ID returned by Shopify's Card Vault. */
|
|
2714
|
-
vaultId: Scalars['String'];
|
|
2722
|
+
vaultId: Scalars['String']['input'];
|
|
2715
2723
|
};
|
|
2716
2724
|
|
|
2717
2725
|
/** The part of the image that should remain after cropping. */
|
|
@@ -2733,13 +2741,14 @@ export type Currency = {
|
|
|
2733
2741
|
/** The ISO code of the currency. */
|
|
2734
2742
|
isoCode: CurrencyCode;
|
|
2735
2743
|
/** The name of the currency. */
|
|
2736
|
-
name: Scalars['String'];
|
|
2744
|
+
name: Scalars['String']['output'];
|
|
2737
2745
|
/** The symbol of the currency. */
|
|
2738
|
-
symbol: Scalars['String'];
|
|
2746
|
+
symbol: Scalars['String']['output'];
|
|
2739
2747
|
};
|
|
2740
2748
|
|
|
2741
2749
|
/**
|
|
2742
|
-
* The three-letter currency codes that represent the world currencies used in
|
|
2750
|
+
* The three-letter currency codes that represent the world currencies used in
|
|
2751
|
+
* stores. These include standard ISO 4217 codes, legacy codes,
|
|
2743
2752
|
* and non-standard codes.
|
|
2744
2753
|
*
|
|
2745
2754
|
*/
|
|
@@ -3042,7 +3051,7 @@ export type CurrencyCode =
|
|
|
3042
3051
|
| 'VED'
|
|
3043
3052
|
/** Venezuelan Bolivares (VEF). */
|
|
3044
3053
|
| 'VEF'
|
|
3045
|
-
/** Venezuelan Bolivares (VES). */
|
|
3054
|
+
/** Venezuelan Bolivares Soberanos (VES). */
|
|
3046
3055
|
| 'VES'
|
|
3047
3056
|
/** Vietnamese đồng (VND). */
|
|
3048
3057
|
| 'VND'
|
|
@@ -3071,61 +3080,58 @@ export type CurrencyCode =
|
|
|
3071
3080
|
export type Customer = HasMetafields & {
|
|
3072
3081
|
__typename?: 'Customer';
|
|
3073
3082
|
/** Indicates whether the customer has consented to be sent marketing material via email. */
|
|
3074
|
-
acceptsMarketing: Scalars['Boolean'];
|
|
3083
|
+
acceptsMarketing: Scalars['Boolean']['output'];
|
|
3075
3084
|
/** A list of addresses for the customer. */
|
|
3076
3085
|
addresses: MailingAddressConnection;
|
|
3077
3086
|
/** The date and time when the customer was created. */
|
|
3078
|
-
createdAt: Scalars['DateTime'];
|
|
3087
|
+
createdAt: Scalars['DateTime']['output'];
|
|
3079
3088
|
/** The customer’s default address. */
|
|
3080
3089
|
defaultAddress?: Maybe<MailingAddress>;
|
|
3081
3090
|
/** The customer’s name, email or phone number. */
|
|
3082
|
-
displayName: Scalars['String'];
|
|
3091
|
+
displayName: Scalars['String']['output'];
|
|
3083
3092
|
/** The customer’s email address. */
|
|
3084
|
-
email?: Maybe<Scalars['String']>;
|
|
3093
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
3085
3094
|
/** The customer’s first name. */
|
|
3086
|
-
firstName?: Maybe<Scalars['String']>;
|
|
3095
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
3087
3096
|
/** A unique ID for the customer. */
|
|
3088
|
-
id: Scalars['ID'];
|
|
3097
|
+
id: Scalars['ID']['output'];
|
|
3089
3098
|
/** The customer's most recently updated, incomplete checkout. */
|
|
3090
3099
|
lastIncompleteCheckout?: Maybe<Checkout>;
|
|
3091
3100
|
/** The customer’s last name. */
|
|
3092
|
-
lastName?: Maybe<Scalars['String']>;
|
|
3101
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
3093
3102
|
/** Returns a metafield found by namespace and key. */
|
|
3094
3103
|
metafield?: Maybe<Metafield>;
|
|
3095
|
-
/**
|
|
3096
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
3097
|
-
*
|
|
3098
|
-
*/
|
|
3104
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
3099
3105
|
metafields: Array<Maybe<Metafield>>;
|
|
3100
3106
|
/** The number of orders that the customer has made at the store in their lifetime. */
|
|
3101
|
-
numberOfOrders: Scalars['UnsignedInt64'];
|
|
3107
|
+
numberOfOrders: Scalars['UnsignedInt64']['output'];
|
|
3102
3108
|
/** The orders associated with the customer. */
|
|
3103
3109
|
orders: OrderConnection;
|
|
3104
3110
|
/** The customer’s phone number. */
|
|
3105
|
-
phone?: Maybe<Scalars['String']>;
|
|
3111
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
3106
3112
|
/**
|
|
3107
3113
|
* A comma separated list of tags that have been added to the customer.
|
|
3108
3114
|
* Additional access scope required: unauthenticated_read_customer_tags.
|
|
3109
3115
|
*
|
|
3110
3116
|
*/
|
|
3111
|
-
tags: Array<Scalars['String']>;
|
|
3117
|
+
tags: Array<Scalars['String']['output']>;
|
|
3112
3118
|
/** The date and time when the customer information was updated. */
|
|
3113
|
-
updatedAt: Scalars['DateTime'];
|
|
3119
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
3114
3120
|
};
|
|
3115
3121
|
|
|
3116
3122
|
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
3117
3123
|
export type CustomerAddressesArgs = {
|
|
3118
|
-
after?: InputMaybe<Scalars['String']>;
|
|
3119
|
-
before?: InputMaybe<Scalars['String']>;
|
|
3120
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
3121
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
3122
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
3124
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
3125
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
3126
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3127
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3128
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3123
3129
|
};
|
|
3124
3130
|
|
|
3125
3131
|
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
3126
3132
|
export type CustomerMetafieldArgs = {
|
|
3127
|
-
key: Scalars['String'];
|
|
3128
|
-
namespace
|
|
3133
|
+
key: Scalars['String']['input'];
|
|
3134
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
3129
3135
|
};
|
|
3130
3136
|
|
|
3131
3137
|
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
@@ -3135,12 +3141,12 @@ export type CustomerMetafieldsArgs = {
|
|
|
3135
3141
|
|
|
3136
3142
|
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
3137
3143
|
export type CustomerOrdersArgs = {
|
|
3138
|
-
after?: InputMaybe<Scalars['String']>;
|
|
3139
|
-
before?: InputMaybe<Scalars['String']>;
|
|
3140
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
3141
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
3142
|
-
query?: InputMaybe<Scalars['String']>;
|
|
3143
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
3144
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
3145
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
3146
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3147
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3148
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
3149
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3144
3150
|
sortKey?: InputMaybe<OrderSortKeys>;
|
|
3145
3151
|
};
|
|
3146
3152
|
|
|
@@ -3148,17 +3154,17 @@ export type CustomerOrdersArgs = {
|
|
|
3148
3154
|
export type CustomerAccessToken = {
|
|
3149
3155
|
__typename?: 'CustomerAccessToken';
|
|
3150
3156
|
/** The customer’s access token. */
|
|
3151
|
-
accessToken: Scalars['String'];
|
|
3157
|
+
accessToken: Scalars['String']['output'];
|
|
3152
3158
|
/** The date and time when the customer access token expires. */
|
|
3153
|
-
expiresAt: Scalars['DateTime'];
|
|
3159
|
+
expiresAt: Scalars['DateTime']['output'];
|
|
3154
3160
|
};
|
|
3155
3161
|
|
|
3156
3162
|
/** The input fields required to create a customer access token. */
|
|
3157
3163
|
export type CustomerAccessTokenCreateInput = {
|
|
3158
3164
|
/** The email associated to the customer. */
|
|
3159
|
-
email: Scalars['String'];
|
|
3165
|
+
email: Scalars['String']['input'];
|
|
3160
3166
|
/** The login password to be used by the customer. */
|
|
3161
|
-
password: Scalars['String'];
|
|
3167
|
+
password: Scalars['String']['input'];
|
|
3162
3168
|
};
|
|
3163
3169
|
|
|
3164
3170
|
/** Return type for `customerAccessTokenCreate` mutation. */
|
|
@@ -3188,9 +3194,9 @@ export type CustomerAccessTokenCreateWithMultipassPayload = {
|
|
|
3188
3194
|
export type CustomerAccessTokenDeletePayload = {
|
|
3189
3195
|
__typename?: 'CustomerAccessTokenDeletePayload';
|
|
3190
3196
|
/** The destroyed access token. */
|
|
3191
|
-
deletedAccessToken?: Maybe<Scalars['String']>;
|
|
3197
|
+
deletedAccessToken?: Maybe<Scalars['String']['output']>;
|
|
3192
3198
|
/** ID of the destroyed customer access token. */
|
|
3193
|
-
deletedCustomerAccessTokenId?: Maybe<Scalars['String']>;
|
|
3199
|
+
deletedCustomerAccessTokenId?: Maybe<Scalars['String']['output']>;
|
|
3194
3200
|
/** The list of errors that occurred from executing the mutation. */
|
|
3195
3201
|
userErrors: Array<UserError>;
|
|
3196
3202
|
};
|
|
@@ -3218,9 +3224,9 @@ export type CustomerActivateByUrlPayload = {
|
|
|
3218
3224
|
/** The input fields to activate a customer. */
|
|
3219
3225
|
export type CustomerActivateInput = {
|
|
3220
3226
|
/** The activation token required to activate the customer. */
|
|
3221
|
-
activationToken: Scalars['String'];
|
|
3227
|
+
activationToken: Scalars['String']['input'];
|
|
3222
3228
|
/** New password that will be set during activation. */
|
|
3223
|
-
password: Scalars['String'];
|
|
3229
|
+
password: Scalars['String']['input'];
|
|
3224
3230
|
};
|
|
3225
3231
|
|
|
3226
3232
|
/** Return type for `customerActivate` mutation. */
|
|
@@ -3259,7 +3265,7 @@ export type CustomerAddressDeletePayload = {
|
|
|
3259
3265
|
/** The list of errors that occurred from executing the mutation. */
|
|
3260
3266
|
customerUserErrors: Array<CustomerUserError>;
|
|
3261
3267
|
/** ID of the deleted customer address. */
|
|
3262
|
-
deletedCustomerAddressId?: Maybe<Scalars['String']>;
|
|
3268
|
+
deletedCustomerAddressId?: Maybe<Scalars['String']['output']>;
|
|
3263
3269
|
/**
|
|
3264
3270
|
* The list of errors that occurred from executing the mutation.
|
|
3265
3271
|
* @deprecated Use `customerUserErrors` instead.
|
|
@@ -3284,22 +3290,22 @@ export type CustomerAddressUpdatePayload = {
|
|
|
3284
3290
|
/** The input fields to create a new customer. */
|
|
3285
3291
|
export type CustomerCreateInput = {
|
|
3286
3292
|
/** Indicates whether the customer has consented to be sent marketing material via email. */
|
|
3287
|
-
acceptsMarketing?: InputMaybe<Scalars['Boolean']>;
|
|
3293
|
+
acceptsMarketing?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3288
3294
|
/** The customer’s email. */
|
|
3289
|
-
email: Scalars['String'];
|
|
3295
|
+
email: Scalars['String']['input'];
|
|
3290
3296
|
/** The customer’s first name. */
|
|
3291
|
-
firstName?: InputMaybe<Scalars['String']>;
|
|
3297
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
3292
3298
|
/** The customer’s last name. */
|
|
3293
|
-
lastName?: InputMaybe<Scalars['String']>;
|
|
3299
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
3294
3300
|
/** The login password used by the customer. */
|
|
3295
|
-
password: Scalars['String'];
|
|
3301
|
+
password: Scalars['String']['input'];
|
|
3296
3302
|
/**
|
|
3297
3303
|
* A unique phone number for the customer.
|
|
3298
3304
|
*
|
|
3299
3305
|
* Formatted using E.164 standard. For example, _+16135551111_.
|
|
3300
3306
|
*
|
|
3301
3307
|
*/
|
|
3302
|
-
phone?: InputMaybe<Scalars['String']>;
|
|
3308
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
3303
3309
|
};
|
|
3304
3310
|
|
|
3305
3311
|
/** Return type for `customerCreate` mutation. */
|
|
@@ -3394,9 +3400,9 @@ export type CustomerResetByUrlPayload = {
|
|
|
3394
3400
|
/** The input fields to reset a customer's password. */
|
|
3395
3401
|
export type CustomerResetInput = {
|
|
3396
3402
|
/** New password that will be set as part of the reset password process. */
|
|
3397
|
-
password: Scalars['String'];
|
|
3403
|
+
password: Scalars['String']['input'];
|
|
3398
3404
|
/** The reset token required to reset the customer’s password. */
|
|
3399
|
-
resetToken: Scalars['String'];
|
|
3405
|
+
resetToken: Scalars['String']['input'];
|
|
3400
3406
|
};
|
|
3401
3407
|
|
|
3402
3408
|
/** Return type for `customerReset` mutation. */
|
|
@@ -3418,22 +3424,22 @@ export type CustomerResetPayload = {
|
|
|
3418
3424
|
/** The input fields to update the Customer information. */
|
|
3419
3425
|
export type CustomerUpdateInput = {
|
|
3420
3426
|
/** Indicates whether the customer has consented to be sent marketing material via email. */
|
|
3421
|
-
acceptsMarketing?: InputMaybe<Scalars['Boolean']>;
|
|
3427
|
+
acceptsMarketing?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3422
3428
|
/** The customer’s email. */
|
|
3423
|
-
email?: InputMaybe<Scalars['String']>;
|
|
3429
|
+
email?: InputMaybe<Scalars['String']['input']>;
|
|
3424
3430
|
/** The customer’s first name. */
|
|
3425
|
-
firstName?: InputMaybe<Scalars['String']>;
|
|
3431
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
3426
3432
|
/** The customer’s last name. */
|
|
3427
|
-
lastName?: InputMaybe<Scalars['String']>;
|
|
3433
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
3428
3434
|
/** The login password used by the customer. */
|
|
3429
|
-
password?: InputMaybe<Scalars['String']>;
|
|
3435
|
+
password?: InputMaybe<Scalars['String']['input']>;
|
|
3430
3436
|
/**
|
|
3431
3437
|
* A unique phone number for the customer.
|
|
3432
3438
|
*
|
|
3433
3439
|
* Formatted using E.164 standard. For example, _+16135551111_. To remove the phone number, specify `null`.
|
|
3434
3440
|
*
|
|
3435
3441
|
*/
|
|
3436
|
-
phone?: InputMaybe<Scalars['String']>;
|
|
3442
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
3437
3443
|
};
|
|
3438
3444
|
|
|
3439
3445
|
/** Return type for `customerUpdate` mutation. */
|
|
@@ -3462,9 +3468,9 @@ export type CustomerUserError = DisplayableError & {
|
|
|
3462
3468
|
/** The error code. */
|
|
3463
3469
|
code?: Maybe<CustomerErrorCode>;
|
|
3464
3470
|
/** The path to the input field that caused the error. */
|
|
3465
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
3471
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
3466
3472
|
/** The error message. */
|
|
3467
|
-
message: Scalars['String'];
|
|
3473
|
+
message: Scalars['String']['output'];
|
|
3468
3474
|
};
|
|
3469
3475
|
|
|
3470
3476
|
/** A delivery address of the buyer that is interacting with the cart. */
|
|
@@ -3479,7 +3485,7 @@ export type DeliveryAddressInput = {
|
|
|
3479
3485
|
* The ID of a customer address that is associated with the buyer that is interacting with the cart.
|
|
3480
3486
|
*
|
|
3481
3487
|
*/
|
|
3482
|
-
customerAddressId?: InputMaybe<Scalars['ID']>;
|
|
3488
|
+
customerAddressId?: InputMaybe<Scalars['ID']['input']>;
|
|
3483
3489
|
/** A delivery address preference of a buyer that is interacting with the cart. */
|
|
3484
3490
|
deliveryAddress?: InputMaybe<MailingAddressInput>;
|
|
3485
3491
|
};
|
|
@@ -3577,7 +3583,7 @@ export type DiscountApplicationConnection = {
|
|
|
3577
3583
|
export type DiscountApplicationEdge = {
|
|
3578
3584
|
__typename?: 'DiscountApplicationEdge';
|
|
3579
3585
|
/** A cursor for use in pagination. */
|
|
3580
|
-
cursor: Scalars['String'];
|
|
3586
|
+
cursor: Scalars['String']['output'];
|
|
3581
3587
|
/** The item at the end of DiscountApplicationEdge. */
|
|
3582
3588
|
node:
|
|
3583
3589
|
| AutomaticDiscountApplication
|
|
@@ -3621,9 +3627,9 @@ export type DiscountCodeApplication = DiscountApplication & {
|
|
|
3621
3627
|
/** The method by which the discount's value is allocated to its entitled items. */
|
|
3622
3628
|
allocationMethod: DiscountApplicationAllocationMethod;
|
|
3623
3629
|
/** Specifies whether the discount code was applied successfully. */
|
|
3624
|
-
applicable: Scalars['Boolean'];
|
|
3630
|
+
applicable: Scalars['Boolean']['output'];
|
|
3625
3631
|
/** The string identifying the discount code that was used at the time of application. */
|
|
3626
|
-
code: Scalars['String'];
|
|
3632
|
+
code: Scalars['String']['output'];
|
|
3627
3633
|
/** Which lines of targetType that the discount is allocated over. */
|
|
3628
3634
|
targetSelection: DiscountApplicationTargetSelection;
|
|
3629
3635
|
/** The type of line that the discount is applicable towards. */
|
|
@@ -3635,20 +3641,20 @@ export type DiscountCodeApplication = DiscountApplication & {
|
|
|
3635
3641
|
/** Represents an error in the input of a mutation. */
|
|
3636
3642
|
export type DisplayableError = {
|
|
3637
3643
|
/** The path to the input field that caused the error. */
|
|
3638
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
3644
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
3639
3645
|
/** The error message. */
|
|
3640
|
-
message: Scalars['String'];
|
|
3646
|
+
message: Scalars['String']['output'];
|
|
3641
3647
|
};
|
|
3642
3648
|
|
|
3643
3649
|
/** Represents a web address. */
|
|
3644
3650
|
export type Domain = {
|
|
3645
3651
|
__typename?: 'Domain';
|
|
3646
3652
|
/** The host name of the domain (eg: `example.com`). */
|
|
3647
|
-
host: Scalars['String'];
|
|
3653
|
+
host: Scalars['String']['output'];
|
|
3648
3654
|
/** Whether SSL is enabled or not. */
|
|
3649
|
-
sslEnabled: Scalars['Boolean'];
|
|
3655
|
+
sslEnabled: Scalars['Boolean']['output'];
|
|
3650
3656
|
/** The URL of the domain (eg: `https://example.com`). */
|
|
3651
|
-
url: Scalars['URL'];
|
|
3657
|
+
url: Scalars['URL']['output'];
|
|
3652
3658
|
};
|
|
3653
3659
|
|
|
3654
3660
|
/** Represents a video hosted outside of Shopify. */
|
|
@@ -3656,22 +3662,22 @@ export type ExternalVideo = Media &
|
|
|
3656
3662
|
Node & {
|
|
3657
3663
|
__typename?: 'ExternalVideo';
|
|
3658
3664
|
/** A word or phrase to share the nature or contents of a media. */
|
|
3659
|
-
alt?: Maybe<Scalars['String']>;
|
|
3665
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
3660
3666
|
/** The embed URL of the video for the respective host. */
|
|
3661
|
-
embedUrl: Scalars['URL'];
|
|
3667
|
+
embedUrl: Scalars['URL']['output'];
|
|
3662
3668
|
/**
|
|
3663
3669
|
* The URL.
|
|
3664
3670
|
* @deprecated Use `originUrl` instead.
|
|
3665
3671
|
*/
|
|
3666
|
-
embeddedUrl: Scalars['URL'];
|
|
3672
|
+
embeddedUrl: Scalars['URL']['output'];
|
|
3667
3673
|
/** The host of the external video. */
|
|
3668
3674
|
host: MediaHost;
|
|
3669
3675
|
/** A globally-unique ID. */
|
|
3670
|
-
id: Scalars['ID'];
|
|
3676
|
+
id: Scalars['ID']['output'];
|
|
3671
3677
|
/** The media content type. */
|
|
3672
3678
|
mediaContentType: MediaContentType;
|
|
3673
3679
|
/** The origin URL of the video on the respective host. */
|
|
3674
|
-
originUrl: Scalars['URL'];
|
|
3680
|
+
originUrl: Scalars['URL']['output'];
|
|
3675
3681
|
/** The presentation for a media. */
|
|
3676
3682
|
presentation?: Maybe<MediaPresentation>;
|
|
3677
3683
|
/** The preview image for the media. */
|
|
@@ -3682,9 +3688,9 @@ export type ExternalVideo = Media &
|
|
|
3682
3688
|
export type Filter = {
|
|
3683
3689
|
__typename?: 'Filter';
|
|
3684
3690
|
/** A unique identifier. */
|
|
3685
|
-
id: Scalars['String'];
|
|
3691
|
+
id: Scalars['String']['output'];
|
|
3686
3692
|
/** A human-friendly string for this filter. */
|
|
3687
|
-
label: Scalars['String'];
|
|
3693
|
+
label: Scalars['String']['output'];
|
|
3688
3694
|
/** An enumeration that denotes the type of data this filter represents. */
|
|
3689
3695
|
type: FilterType;
|
|
3690
3696
|
/** The list of values for this filter. */
|
|
@@ -3710,18 +3716,20 @@ export type FilterType =
|
|
|
3710
3716
|
export type FilterValue = {
|
|
3711
3717
|
__typename?: 'FilterValue';
|
|
3712
3718
|
/** The number of results that match this filter value. */
|
|
3713
|
-
count: Scalars['Int'];
|
|
3719
|
+
count: Scalars['Int']['output'];
|
|
3714
3720
|
/** A unique identifier. */
|
|
3715
|
-
id: Scalars['String'];
|
|
3721
|
+
id: Scalars['String']['output'];
|
|
3716
3722
|
/**
|
|
3717
3723
|
* An input object that can be used to filter by this value on the parent field.
|
|
3718
3724
|
*
|
|
3719
|
-
* The value is provided as a helper for building dynamic filtering UI. For
|
|
3725
|
+
* The value is provided as a helper for building dynamic filtering UI. For
|
|
3726
|
+
* example, if you have a list of selected `FilterValue` objects, you can combine
|
|
3727
|
+
* their respective `input` values to use in a subsequent query.
|
|
3720
3728
|
*
|
|
3721
3729
|
*/
|
|
3722
|
-
input: Scalars['JSON'];
|
|
3730
|
+
input: Scalars['JSON']['output'];
|
|
3723
3731
|
/** A human-friendly string for this filter value. */
|
|
3724
|
-
label: Scalars['String'];
|
|
3732
|
+
label: Scalars['String']['output'];
|
|
3725
3733
|
};
|
|
3726
3734
|
|
|
3727
3735
|
/** Represents a single fulfillment in an order. */
|
|
@@ -3730,7 +3738,7 @@ export type Fulfillment = {
|
|
|
3730
3738
|
/** List of the fulfillment's line items. */
|
|
3731
3739
|
fulfillmentLineItems: FulfillmentLineItemConnection;
|
|
3732
3740
|
/** The name of the tracking company. */
|
|
3733
|
-
trackingCompany?: Maybe<Scalars['String']>;
|
|
3741
|
+
trackingCompany?: Maybe<Scalars['String']['output']>;
|
|
3734
3742
|
/**
|
|
3735
3743
|
* Tracking information associated with the fulfillment,
|
|
3736
3744
|
* such as the tracking number and tracking URL.
|
|
@@ -3741,16 +3749,16 @@ export type Fulfillment = {
|
|
|
3741
3749
|
|
|
3742
3750
|
/** Represents a single fulfillment in an order. */
|
|
3743
3751
|
export type FulfillmentFulfillmentLineItemsArgs = {
|
|
3744
|
-
after?: InputMaybe<Scalars['String']>;
|
|
3745
|
-
before?: InputMaybe<Scalars['String']>;
|
|
3746
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
3747
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
3748
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
3752
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
3753
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
3754
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3755
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
3756
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
3749
3757
|
};
|
|
3750
3758
|
|
|
3751
3759
|
/** Represents a single fulfillment in an order. */
|
|
3752
3760
|
export type FulfillmentTrackingInfoArgs = {
|
|
3753
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
3761
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
3754
3762
|
};
|
|
3755
3763
|
|
|
3756
3764
|
/** Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. */
|
|
@@ -3759,7 +3767,7 @@ export type FulfillmentLineItem = {
|
|
|
3759
3767
|
/** The associated order's line item. */
|
|
3760
3768
|
lineItem: OrderLineItem;
|
|
3761
3769
|
/** The amount fulfilled in this fulfillment. */
|
|
3762
|
-
quantity: Scalars['Int'];
|
|
3770
|
+
quantity: Scalars['Int']['output'];
|
|
3763
3771
|
};
|
|
3764
3772
|
|
|
3765
3773
|
/**
|
|
@@ -3783,7 +3791,7 @@ export type FulfillmentLineItemConnection = {
|
|
|
3783
3791
|
export type FulfillmentLineItemEdge = {
|
|
3784
3792
|
__typename?: 'FulfillmentLineItemEdge';
|
|
3785
3793
|
/** A cursor for use in pagination. */
|
|
3786
|
-
cursor: Scalars['String'];
|
|
3794
|
+
cursor: Scalars['String']['output'];
|
|
3787
3795
|
/** The item at the end of FulfillmentLineItemEdge. */
|
|
3788
3796
|
node: FulfillmentLineItem;
|
|
3789
3797
|
};
|
|
@@ -3792,51 +3800,48 @@ export type FulfillmentLineItemEdge = {
|
|
|
3792
3800
|
export type FulfillmentTrackingInfo = {
|
|
3793
3801
|
__typename?: 'FulfillmentTrackingInfo';
|
|
3794
3802
|
/** The tracking number of the fulfillment. */
|
|
3795
|
-
number?: Maybe<Scalars['String']>;
|
|
3803
|
+
number?: Maybe<Scalars['String']['output']>;
|
|
3796
3804
|
/** The URL to track the fulfillment. */
|
|
3797
|
-
url?: Maybe<Scalars['URL']>;
|
|
3805
|
+
url?: Maybe<Scalars['URL']['output']>;
|
|
3798
3806
|
};
|
|
3799
3807
|
|
|
3800
3808
|
/** The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON. */
|
|
3801
3809
|
export type GenericFile = Node & {
|
|
3802
3810
|
__typename?: 'GenericFile';
|
|
3803
3811
|
/** A word or phrase to indicate the contents of a file. */
|
|
3804
|
-
alt?: Maybe<Scalars['String']>;
|
|
3812
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
3805
3813
|
/** A globally-unique ID. */
|
|
3806
|
-
id: Scalars['ID'];
|
|
3814
|
+
id: Scalars['ID']['output'];
|
|
3807
3815
|
/** The MIME type of the file. */
|
|
3808
|
-
mimeType?: Maybe<Scalars['String']>;
|
|
3816
|
+
mimeType?: Maybe<Scalars['String']['output']>;
|
|
3809
3817
|
/** The size of the original file in bytes. */
|
|
3810
|
-
originalFileSize?: Maybe<Scalars['Int']>;
|
|
3818
|
+
originalFileSize?: Maybe<Scalars['Int']['output']>;
|
|
3811
3819
|
/** The preview image for the file. */
|
|
3812
3820
|
previewImage?: Maybe<Image>;
|
|
3813
3821
|
/** The URL of the file. */
|
|
3814
|
-
url?: Maybe<Scalars['URL']>;
|
|
3822
|
+
url?: Maybe<Scalars['URL']['output']>;
|
|
3815
3823
|
};
|
|
3816
3824
|
|
|
3817
3825
|
/** The input fields used to specify a geographical location. */
|
|
3818
3826
|
export type GeoCoordinateInput = {
|
|
3819
3827
|
/** The coordinate's latitude value. */
|
|
3820
|
-
latitude: Scalars['Float'];
|
|
3828
|
+
latitude: Scalars['Float']['input'];
|
|
3821
3829
|
/** The coordinate's longitude value. */
|
|
3822
|
-
longitude: Scalars['Float'];
|
|
3830
|
+
longitude: Scalars['Float']['input'];
|
|
3823
3831
|
};
|
|
3824
3832
|
|
|
3825
3833
|
/** Represents information about the metafields associated to the specified resource. */
|
|
3826
3834
|
export type HasMetafields = {
|
|
3827
3835
|
/** Returns a metafield found by namespace and key. */
|
|
3828
3836
|
metafield?: Maybe<Metafield>;
|
|
3829
|
-
/**
|
|
3830
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
3831
|
-
*
|
|
3832
|
-
*/
|
|
3837
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
3833
3838
|
metafields: Array<Maybe<Metafield>>;
|
|
3834
3839
|
};
|
|
3835
3840
|
|
|
3836
3841
|
/** Represents information about the metafields associated to the specified resource. */
|
|
3837
3842
|
export type HasMetafieldsMetafieldArgs = {
|
|
3838
|
-
key: Scalars['String'];
|
|
3839
|
-
namespace
|
|
3843
|
+
key: Scalars['String']['input'];
|
|
3844
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
3840
3845
|
};
|
|
3841
3846
|
|
|
3842
3847
|
/** Represents information about the metafields associated to the specified resource. */
|
|
@@ -3847,20 +3852,20 @@ export type HasMetafieldsMetafieldsArgs = {
|
|
|
3847
3852
|
/** The input fields to identify a metafield on an owner resource by namespace and key. */
|
|
3848
3853
|
export type HasMetafieldsIdentifier = {
|
|
3849
3854
|
/** The identifier for the metafield. */
|
|
3850
|
-
key: Scalars['String'];
|
|
3851
|
-
/**
|
|
3852
|
-
namespace
|
|
3855
|
+
key: Scalars['String']['input'];
|
|
3856
|
+
/** The container the metafield belongs to. If omitted, the app-reserved namespace will be used. */
|
|
3857
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
3853
3858
|
};
|
|
3854
3859
|
|
|
3855
3860
|
/** Represents an image resource. */
|
|
3856
3861
|
export type Image = {
|
|
3857
3862
|
__typename?: 'Image';
|
|
3858
3863
|
/** A word or phrase to share the nature or contents of an image. */
|
|
3859
|
-
altText?: Maybe<Scalars['String']>;
|
|
3864
|
+
altText?: Maybe<Scalars['String']['output']>;
|
|
3860
3865
|
/** The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */
|
|
3861
|
-
height?: Maybe<Scalars['Int']>;
|
|
3866
|
+
height?: Maybe<Scalars['Int']['output']>;
|
|
3862
3867
|
/** A unique ID for the image. */
|
|
3863
|
-
id?: Maybe<Scalars['ID']>;
|
|
3868
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
3864
3869
|
/**
|
|
3865
3870
|
* The location of the original image as a URL.
|
|
3866
3871
|
*
|
|
@@ -3868,12 +3873,12 @@ export type Image = {
|
|
|
3868
3873
|
*
|
|
3869
3874
|
* @deprecated Use `url` instead.
|
|
3870
3875
|
*/
|
|
3871
|
-
originalSrc: Scalars['URL'];
|
|
3876
|
+
originalSrc: Scalars['URL']['output'];
|
|
3872
3877
|
/**
|
|
3873
3878
|
* The location of the image as a URL.
|
|
3874
3879
|
* @deprecated Use `url` instead.
|
|
3875
3880
|
*/
|
|
3876
|
-
src: Scalars['URL'];
|
|
3881
|
+
src: Scalars['URL']['output'];
|
|
3877
3882
|
/**
|
|
3878
3883
|
* The location of the transformed image as a URL.
|
|
3879
3884
|
*
|
|
@@ -3882,7 +3887,7 @@ export type Image = {
|
|
|
3882
3887
|
*
|
|
3883
3888
|
* @deprecated Use `url(transform:)` instead
|
|
3884
3889
|
*/
|
|
3885
|
-
transformedSrc: Scalars['URL'];
|
|
3890
|
+
transformedSrc: Scalars['URL']['output'];
|
|
3886
3891
|
/**
|
|
3887
3892
|
* The location of the image as a URL.
|
|
3888
3893
|
*
|
|
@@ -3893,18 +3898,18 @@ export type Image = {
|
|
|
3893
3898
|
* If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).
|
|
3894
3899
|
*
|
|
3895
3900
|
*/
|
|
3896
|
-
url: Scalars['URL'];
|
|
3901
|
+
url: Scalars['URL']['output'];
|
|
3897
3902
|
/** The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */
|
|
3898
|
-
width?: Maybe<Scalars['Int']>;
|
|
3903
|
+
width?: Maybe<Scalars['Int']['output']>;
|
|
3899
3904
|
};
|
|
3900
3905
|
|
|
3901
3906
|
/** Represents an image resource. */
|
|
3902
3907
|
export type ImageTransformedSrcArgs = {
|
|
3903
3908
|
crop?: InputMaybe<CropRegion>;
|
|
3904
|
-
maxHeight?: InputMaybe<Scalars['Int']>;
|
|
3905
|
-
maxWidth?: InputMaybe<Scalars['Int']>;
|
|
3909
|
+
maxHeight?: InputMaybe<Scalars['Int']['input']>;
|
|
3910
|
+
maxWidth?: InputMaybe<Scalars['Int']['input']>;
|
|
3906
3911
|
preferredContentType?: InputMaybe<ImageContentType>;
|
|
3907
|
-
scale?: InputMaybe<Scalars['Int']>;
|
|
3912
|
+
scale?: InputMaybe<Scalars['Int']['input']>;
|
|
3908
3913
|
};
|
|
3909
3914
|
|
|
3910
3915
|
/** Represents an image resource. */
|
|
@@ -3942,7 +3947,7 @@ export type ImageContentType =
|
|
|
3942
3947
|
export type ImageEdge = {
|
|
3943
3948
|
__typename?: 'ImageEdge';
|
|
3944
3949
|
/** A cursor for use in pagination. */
|
|
3945
|
-
cursor: Scalars['String'];
|
|
3950
|
+
cursor: Scalars['String']['output'];
|
|
3946
3951
|
/** The item at the end of ImageEdge. */
|
|
3947
3952
|
node: Image;
|
|
3948
3953
|
};
|
|
@@ -3950,15 +3955,18 @@ export type ImageEdge = {
|
|
|
3950
3955
|
/**
|
|
3951
3956
|
* The available options for transforming an image.
|
|
3952
3957
|
*
|
|
3953
|
-
* All transformation options are considered best effort. Any transformation that
|
|
3958
|
+
* All transformation options are considered best effort. Any transformation that
|
|
3959
|
+
* the original image type doesn't support will be ignored.
|
|
3954
3960
|
*
|
|
3955
3961
|
*/
|
|
3956
3962
|
export type ImageTransformInput = {
|
|
3957
3963
|
/**
|
|
3958
3964
|
* The region of the image to remain after cropping.
|
|
3959
|
-
* Must be used in conjunction with the `maxWidth` and/or `maxHeight` fields,
|
|
3965
|
+
* Must be used in conjunction with the `maxWidth` and/or `maxHeight` fields,
|
|
3966
|
+
* where the `maxWidth` and `maxHeight` aren't equal.
|
|
3960
3967
|
* The `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while
|
|
3961
|
-
* a smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{
|
|
3968
|
+
* a smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{
|
|
3969
|
+
* maxWidth: 5, maxHeight: 10, crop: LEFT }` will result
|
|
3962
3970
|
* in an image with a width of 5 and height of 10, where the right side of the image is removed.
|
|
3963
3971
|
*
|
|
3964
3972
|
*/
|
|
@@ -3967,12 +3975,12 @@ export type ImageTransformInput = {
|
|
|
3967
3975
|
* Image height in pixels between 1 and 5760.
|
|
3968
3976
|
*
|
|
3969
3977
|
*/
|
|
3970
|
-
maxHeight?: InputMaybe<Scalars['Int']>;
|
|
3978
|
+
maxHeight?: InputMaybe<Scalars['Int']['input']>;
|
|
3971
3979
|
/**
|
|
3972
3980
|
* Image width in pixels between 1 and 5760.
|
|
3973
3981
|
*
|
|
3974
3982
|
*/
|
|
3975
|
-
maxWidth?: InputMaybe<Scalars['Int']>;
|
|
3983
|
+
maxWidth?: InputMaybe<Scalars['Int']['input']>;
|
|
3976
3984
|
/**
|
|
3977
3985
|
* Convert the source image into the preferred content type.
|
|
3978
3986
|
* Supported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.
|
|
@@ -3983,18 +3991,32 @@ export type ImageTransformInput = {
|
|
|
3983
3991
|
* Image size multiplier for high-resolution retina displays. Must be within 1..3.
|
|
3984
3992
|
*
|
|
3985
3993
|
*/
|
|
3986
|
-
scale?: InputMaybe<Scalars['Int']>;
|
|
3994
|
+
scale?: InputMaybe<Scalars['Int']['input']>;
|
|
3995
|
+
};
|
|
3996
|
+
|
|
3997
|
+
/** Provide details about the contexts influenced by the @inContext directive on a field. */
|
|
3998
|
+
export type InContext = {
|
|
3999
|
+
__typename?: 'InContext';
|
|
4000
|
+
description: Scalars['String']['output'];
|
|
4001
|
+
type: InContextType;
|
|
4002
|
+
};
|
|
4003
|
+
|
|
4004
|
+
/** This gives information about the type of context that impacts a field. For example, for a query with @inContext(language: "EN"), the type would point to the name: LanguageCode and kind: ENUM. */
|
|
4005
|
+
export type InContextType = {
|
|
4006
|
+
__typename?: 'InContextType';
|
|
4007
|
+
kind: Scalars['String']['output'];
|
|
4008
|
+
name: Scalars['String']['output'];
|
|
3987
4009
|
};
|
|
3988
4010
|
|
|
3989
4011
|
/** A language. */
|
|
3990
4012
|
export type Language = {
|
|
3991
4013
|
__typename?: 'Language';
|
|
3992
4014
|
/** The name of the language in the language itself. If the language uses capitalization, it is capitalized for a mid-sentence position. */
|
|
3993
|
-
endonymName: Scalars['String'];
|
|
4015
|
+
endonymName: Scalars['String']['output'];
|
|
3994
4016
|
/** The ISO code. */
|
|
3995
4017
|
isoCode: LanguageCode;
|
|
3996
4018
|
/** The name of the language in the current language. */
|
|
3997
|
-
name: Scalars['String'];
|
|
4019
|
+
name: Scalars['String']['output'];
|
|
3998
4020
|
};
|
|
3999
4021
|
|
|
4000
4022
|
/** ISO 639-1 language codes supported by Shopify. */
|
|
@@ -4029,6 +4051,8 @@ export type LanguageCode =
|
|
|
4029
4051
|
| 'CA'
|
|
4030
4052
|
/** Chechen. */
|
|
4031
4053
|
| 'CE'
|
|
4054
|
+
/** Central Kurdish. */
|
|
4055
|
+
| 'CKB'
|
|
4032
4056
|
/** Czech. */
|
|
4033
4057
|
| 'CS'
|
|
4034
4058
|
/** Church Slavic. */
|
|
@@ -4061,6 +4085,8 @@ export type LanguageCode =
|
|
|
4061
4085
|
| 'FF'
|
|
4062
4086
|
/** Finnish. */
|
|
4063
4087
|
| 'FI'
|
|
4088
|
+
/** Filipino. */
|
|
4089
|
+
| 'FIL'
|
|
4064
4090
|
/** Faroese. */
|
|
4065
4091
|
| 'FO'
|
|
4066
4092
|
/** French. */
|
|
@@ -4127,6 +4153,8 @@ export type LanguageCode =
|
|
|
4127
4153
|
| 'KW'
|
|
4128
4154
|
/** Kyrgyz. */
|
|
4129
4155
|
| 'KY'
|
|
4156
|
+
/** Latin. */
|
|
4157
|
+
| 'LA'
|
|
4130
4158
|
/** Luxembourgish. */
|
|
4131
4159
|
| 'LB'
|
|
4132
4160
|
/** Ganda. */
|
|
@@ -4151,6 +4179,8 @@ export type LanguageCode =
|
|
|
4151
4179
|
| 'ML'
|
|
4152
4180
|
/** Mongolian. */
|
|
4153
4181
|
| 'MN'
|
|
4182
|
+
/** Moldavian. */
|
|
4183
|
+
| 'MO'
|
|
4154
4184
|
/** Marathi. */
|
|
4155
4185
|
| 'MR'
|
|
4156
4186
|
/** Malay. */
|
|
@@ -4201,12 +4231,18 @@ export type LanguageCode =
|
|
|
4201
4231
|
| 'RU'
|
|
4202
4232
|
/** Kinyarwanda. */
|
|
4203
4233
|
| 'RW'
|
|
4234
|
+
/** Sanskrit. */
|
|
4235
|
+
| 'SA'
|
|
4236
|
+
/** Sardinian. */
|
|
4237
|
+
| 'SC'
|
|
4204
4238
|
/** Sindhi. */
|
|
4205
4239
|
| 'SD'
|
|
4206
4240
|
/** Northern Sami. */
|
|
4207
4241
|
| 'SE'
|
|
4208
4242
|
/** Sango. */
|
|
4209
4243
|
| 'SG'
|
|
4244
|
+
/** Serbo-Croatian. */
|
|
4245
|
+
| 'SH'
|
|
4210
4246
|
/** Sinhala. */
|
|
4211
4247
|
| 'SI'
|
|
4212
4248
|
/** Slovak. */
|
|
@@ -4296,22 +4332,19 @@ export type Location = HasMetafields &
|
|
|
4296
4332
|
/** The address of the location. */
|
|
4297
4333
|
address: LocationAddress;
|
|
4298
4334
|
/** A globally-unique ID. */
|
|
4299
|
-
id: Scalars['ID'];
|
|
4335
|
+
id: Scalars['ID']['output'];
|
|
4300
4336
|
/** Returns a metafield found by namespace and key. */
|
|
4301
4337
|
metafield?: Maybe<Metafield>;
|
|
4302
|
-
/**
|
|
4303
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
4304
|
-
*
|
|
4305
|
-
*/
|
|
4338
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
4306
4339
|
metafields: Array<Maybe<Metafield>>;
|
|
4307
4340
|
/** The name of the location. */
|
|
4308
|
-
name: Scalars['String'];
|
|
4341
|
+
name: Scalars['String']['output'];
|
|
4309
4342
|
};
|
|
4310
4343
|
|
|
4311
4344
|
/** Represents a location where product inventory is held. */
|
|
4312
4345
|
export type LocationMetafieldArgs = {
|
|
4313
|
-
key: Scalars['String'];
|
|
4314
|
-
namespace
|
|
4346
|
+
key: Scalars['String']['input'];
|
|
4347
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
4315
4348
|
};
|
|
4316
4349
|
|
|
4317
4350
|
/** Represents a location where product inventory is held. */
|
|
@@ -4326,32 +4359,32 @@ export type LocationMetafieldsArgs = {
|
|
|
4326
4359
|
export type LocationAddress = {
|
|
4327
4360
|
__typename?: 'LocationAddress';
|
|
4328
4361
|
/** The first line of the address for the location. */
|
|
4329
|
-
address1?: Maybe<Scalars['String']>;
|
|
4362
|
+
address1?: Maybe<Scalars['String']['output']>;
|
|
4330
4363
|
/** The second line of the address for the location. */
|
|
4331
|
-
address2?: Maybe<Scalars['String']>;
|
|
4364
|
+
address2?: Maybe<Scalars['String']['output']>;
|
|
4332
4365
|
/** The city of the location. */
|
|
4333
|
-
city?: Maybe<Scalars['String']>;
|
|
4366
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
4334
4367
|
/** The country of the location. */
|
|
4335
|
-
country?: Maybe<Scalars['String']>;
|
|
4368
|
+
country?: Maybe<Scalars['String']['output']>;
|
|
4336
4369
|
/** The country code of the location. */
|
|
4337
|
-
countryCode?: Maybe<Scalars['String']>;
|
|
4370
|
+
countryCode?: Maybe<Scalars['String']['output']>;
|
|
4338
4371
|
/** A formatted version of the address for the location. */
|
|
4339
|
-
formatted: Array<Scalars['String']>;
|
|
4372
|
+
formatted: Array<Scalars['String']['output']>;
|
|
4340
4373
|
/** The latitude coordinates of the location. */
|
|
4341
|
-
latitude?: Maybe<Scalars['Float']>;
|
|
4374
|
+
latitude?: Maybe<Scalars['Float']['output']>;
|
|
4342
4375
|
/** The longitude coordinates of the location. */
|
|
4343
|
-
longitude?: Maybe<Scalars['Float']>;
|
|
4376
|
+
longitude?: Maybe<Scalars['Float']['output']>;
|
|
4344
4377
|
/** The phone number of the location. */
|
|
4345
|
-
phone?: Maybe<Scalars['String']>;
|
|
4378
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
4346
4379
|
/** The province of the location. */
|
|
4347
|
-
province?: Maybe<Scalars['String']>;
|
|
4380
|
+
province?: Maybe<Scalars['String']['output']>;
|
|
4348
4381
|
/**
|
|
4349
4382
|
* The code for the province, state, or district of the address of the location.
|
|
4350
4383
|
*
|
|
4351
4384
|
*/
|
|
4352
|
-
provinceCode?: Maybe<Scalars['String']>;
|
|
4385
|
+
provinceCode?: Maybe<Scalars['String']['output']>;
|
|
4353
4386
|
/** The ZIP code of the location. */
|
|
4354
|
-
zip?: Maybe<Scalars['String']>;
|
|
4387
|
+
zip?: Maybe<Scalars['String']['output']>;
|
|
4355
4388
|
};
|
|
4356
4389
|
|
|
4357
4390
|
/**
|
|
@@ -4375,7 +4408,7 @@ export type LocationConnection = {
|
|
|
4375
4408
|
export type LocationEdge = {
|
|
4376
4409
|
__typename?: 'LocationEdge';
|
|
4377
4410
|
/** A cursor for use in pagination. */
|
|
4378
|
-
cursor: Scalars['String'];
|
|
4411
|
+
cursor: Scalars['String']['output'];
|
|
4379
4412
|
/** The item at the end of LocationEdge. */
|
|
4380
4413
|
node: Location;
|
|
4381
4414
|
};
|
|
@@ -4395,27 +4428,18 @@ export type LocationSortKeys =
|
|
|
4395
4428
|
export type MailingAddress = Node & {
|
|
4396
4429
|
__typename?: 'MailingAddress';
|
|
4397
4430
|
/** The first line of the address. Typically the street address or PO Box number. */
|
|
4398
|
-
address1?: Maybe<Scalars['String']>;
|
|
4431
|
+
address1?: Maybe<Scalars['String']['output']>;
|
|
4399
4432
|
/**
|
|
4400
4433
|
* The second line of the address. Typically the number of the apartment, suite, or unit.
|
|
4401
4434
|
*
|
|
4402
4435
|
*/
|
|
4403
|
-
address2?: Maybe<Scalars['String']>;
|
|
4404
|
-
/**
|
|
4405
|
-
|
|
4406
|
-
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4410
|
-
* The name of the customer's company or organization.
|
|
4411
|
-
*
|
|
4412
|
-
*/
|
|
4413
|
-
company?: Maybe<Scalars['String']>;
|
|
4414
|
-
/**
|
|
4415
|
-
* The name of the country.
|
|
4416
|
-
*
|
|
4417
|
-
*/
|
|
4418
|
-
country?: Maybe<Scalars['String']>;
|
|
4436
|
+
address2?: Maybe<Scalars['String']['output']>;
|
|
4437
|
+
/** The name of the city, district, village, or town. */
|
|
4438
|
+
city?: Maybe<Scalars['String']['output']>;
|
|
4439
|
+
/** The name of the customer's company or organization. */
|
|
4440
|
+
company?: Maybe<Scalars['String']['output']>;
|
|
4441
|
+
/** The name of the country. */
|
|
4442
|
+
country?: Maybe<Scalars['String']['output']>;
|
|
4419
4443
|
/**
|
|
4420
4444
|
* The two-letter code for the country of the address.
|
|
4421
4445
|
*
|
|
@@ -4423,7 +4447,7 @@ export type MailingAddress = Node & {
|
|
|
4423
4447
|
*
|
|
4424
4448
|
* @deprecated Use `countryCodeV2` instead.
|
|
4425
4449
|
*/
|
|
4426
|
-
countryCode?: Maybe<Scalars['String']>;
|
|
4450
|
+
countryCode?: Maybe<Scalars['String']['output']>;
|
|
4427
4451
|
/**
|
|
4428
4452
|
* The two-letter code for the country of the address.
|
|
4429
4453
|
*
|
|
@@ -4432,48 +4456,45 @@ export type MailingAddress = Node & {
|
|
|
4432
4456
|
*/
|
|
4433
4457
|
countryCodeV2?: Maybe<CountryCode>;
|
|
4434
4458
|
/** The first name of the customer. */
|
|
4435
|
-
firstName?: Maybe<Scalars['String']>;
|
|
4459
|
+
firstName?: Maybe<Scalars['String']['output']>;
|
|
4436
4460
|
/** A formatted version of the address, customized by the provided arguments. */
|
|
4437
|
-
formatted: Array<Scalars['String']>;
|
|
4461
|
+
formatted: Array<Scalars['String']['output']>;
|
|
4438
4462
|
/** A comma-separated list of the values for city, province, and country. */
|
|
4439
|
-
formattedArea?: Maybe<Scalars['String']>;
|
|
4463
|
+
formattedArea?: Maybe<Scalars['String']['output']>;
|
|
4440
4464
|
/** A globally-unique ID. */
|
|
4441
|
-
id: Scalars['ID'];
|
|
4465
|
+
id: Scalars['ID']['output'];
|
|
4442
4466
|
/** The last name of the customer. */
|
|
4443
|
-
lastName?: Maybe<Scalars['String']>;
|
|
4467
|
+
lastName?: Maybe<Scalars['String']['output']>;
|
|
4444
4468
|
/** The latitude coordinate of the customer address. */
|
|
4445
|
-
latitude?: Maybe<Scalars['Float']>;
|
|
4469
|
+
latitude?: Maybe<Scalars['Float']['output']>;
|
|
4446
4470
|
/** The longitude coordinate of the customer address. */
|
|
4447
|
-
longitude?: Maybe<Scalars['Float']>;
|
|
4448
|
-
/**
|
|
4449
|
-
|
|
4450
|
-
*
|
|
4451
|
-
*/
|
|
4452
|
-
name?: Maybe<Scalars['String']>;
|
|
4471
|
+
longitude?: Maybe<Scalars['Float']['output']>;
|
|
4472
|
+
/** The full name of the customer, based on firstName and lastName. */
|
|
4473
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
4453
4474
|
/**
|
|
4454
4475
|
* A unique phone number for the customer.
|
|
4455
4476
|
*
|
|
4456
4477
|
* Formatted using E.164 standard. For example, _+16135551111_.
|
|
4457
4478
|
*
|
|
4458
4479
|
*/
|
|
4459
|
-
phone?: Maybe<Scalars['String']>;
|
|
4480
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
4460
4481
|
/** The region of the address, such as the province, state, or district. */
|
|
4461
|
-
province?: Maybe<Scalars['String']>;
|
|
4482
|
+
province?: Maybe<Scalars['String']['output']>;
|
|
4462
4483
|
/**
|
|
4463
4484
|
* The two-letter code for the region.
|
|
4464
4485
|
*
|
|
4465
4486
|
* For example, ON.
|
|
4466
4487
|
*
|
|
4467
4488
|
*/
|
|
4468
|
-
provinceCode?: Maybe<Scalars['String']>;
|
|
4489
|
+
provinceCode?: Maybe<Scalars['String']['output']>;
|
|
4469
4490
|
/** The zip or postal code of the address. */
|
|
4470
|
-
zip?: Maybe<Scalars['String']>;
|
|
4491
|
+
zip?: Maybe<Scalars['String']['output']>;
|
|
4471
4492
|
};
|
|
4472
4493
|
|
|
4473
4494
|
/** Represents a mailing address for customers and shipping. */
|
|
4474
4495
|
export type MailingAddressFormattedArgs = {
|
|
4475
|
-
withCompany?: InputMaybe<Scalars['Boolean']>;
|
|
4476
|
-
withName?: InputMaybe<Scalars['Boolean']>;
|
|
4496
|
+
withCompany?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4497
|
+
withName?: InputMaybe<Scalars['Boolean']['input']>;
|
|
4477
4498
|
};
|
|
4478
4499
|
|
|
4479
4500
|
/**
|
|
@@ -4497,7 +4518,7 @@ export type MailingAddressConnection = {
|
|
|
4497
4518
|
export type MailingAddressEdge = {
|
|
4498
4519
|
__typename?: 'MailingAddressEdge';
|
|
4499
4520
|
/** A cursor for use in pagination. */
|
|
4500
|
-
cursor: Scalars['String'];
|
|
4521
|
+
cursor: Scalars['String']['output'];
|
|
4501
4522
|
/** The item at the end of MailingAddressEdge. */
|
|
4502
4523
|
node: MailingAddress;
|
|
4503
4524
|
};
|
|
@@ -4508,39 +4529,39 @@ export type MailingAddressInput = {
|
|
|
4508
4529
|
* The first line of the address. Typically the street address or PO Box number.
|
|
4509
4530
|
*
|
|
4510
4531
|
*/
|
|
4511
|
-
address1?: InputMaybe<Scalars['String']>;
|
|
4532
|
+
address1?: InputMaybe<Scalars['String']['input']>;
|
|
4512
4533
|
/**
|
|
4513
4534
|
* The second line of the address. Typically the number of the apartment, suite, or unit.
|
|
4514
4535
|
*
|
|
4515
4536
|
*/
|
|
4516
|
-
address2?: InputMaybe<Scalars['String']>;
|
|
4537
|
+
address2?: InputMaybe<Scalars['String']['input']>;
|
|
4517
4538
|
/**
|
|
4518
4539
|
* The name of the city, district, village, or town.
|
|
4519
4540
|
*
|
|
4520
4541
|
*/
|
|
4521
|
-
city?: InputMaybe<Scalars['String']>;
|
|
4542
|
+
city?: InputMaybe<Scalars['String']['input']>;
|
|
4522
4543
|
/**
|
|
4523
4544
|
* The name of the customer's company or organization.
|
|
4524
4545
|
*
|
|
4525
4546
|
*/
|
|
4526
|
-
company?: InputMaybe<Scalars['String']>;
|
|
4547
|
+
company?: InputMaybe<Scalars['String']['input']>;
|
|
4527
4548
|
/** The name of the country. */
|
|
4528
|
-
country?: InputMaybe<Scalars['String']>;
|
|
4549
|
+
country?: InputMaybe<Scalars['String']['input']>;
|
|
4529
4550
|
/** The first name of the customer. */
|
|
4530
|
-
firstName?: InputMaybe<Scalars['String']>;
|
|
4551
|
+
firstName?: InputMaybe<Scalars['String']['input']>;
|
|
4531
4552
|
/** The last name of the customer. */
|
|
4532
|
-
lastName?: InputMaybe<Scalars['String']>;
|
|
4553
|
+
lastName?: InputMaybe<Scalars['String']['input']>;
|
|
4533
4554
|
/**
|
|
4534
4555
|
* A unique phone number for the customer.
|
|
4535
4556
|
*
|
|
4536
4557
|
* Formatted using E.164 standard. For example, _+16135551111_.
|
|
4537
4558
|
*
|
|
4538
4559
|
*/
|
|
4539
|
-
phone?: InputMaybe<Scalars['String']>;
|
|
4560
|
+
phone?: InputMaybe<Scalars['String']['input']>;
|
|
4540
4561
|
/** The region of the address, such as the province, state, or district. */
|
|
4541
|
-
province?: InputMaybe<Scalars['String']>;
|
|
4562
|
+
province?: InputMaybe<Scalars['String']['input']>;
|
|
4542
4563
|
/** The zip or postal code of the address. */
|
|
4543
|
-
zip?: InputMaybe<Scalars['String']>;
|
|
4564
|
+
zip?: InputMaybe<Scalars['String']['input']>;
|
|
4544
4565
|
};
|
|
4545
4566
|
|
|
4546
4567
|
/**
|
|
@@ -4552,13 +4573,13 @@ export type ManualDiscountApplication = DiscountApplication & {
|
|
|
4552
4573
|
/** The method by which the discount's value is allocated to its entitled items. */
|
|
4553
4574
|
allocationMethod: DiscountApplicationAllocationMethod;
|
|
4554
4575
|
/** The description of the application. */
|
|
4555
|
-
description?: Maybe<Scalars['String']>;
|
|
4576
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
4556
4577
|
/** Which lines of targetType that the discount is allocated over. */
|
|
4557
4578
|
targetSelection: DiscountApplicationTargetSelection;
|
|
4558
4579
|
/** The type of line that the discount is applicable towards. */
|
|
4559
4580
|
targetType: DiscountApplicationTargetType;
|
|
4560
4581
|
/** The title of the application. */
|
|
4561
|
-
title: Scalars['String'];
|
|
4582
|
+
title: Scalars['String']['output'];
|
|
4562
4583
|
/** The value of the discount application. */
|
|
4563
4584
|
value: PricingValue;
|
|
4564
4585
|
};
|
|
@@ -4571,22 +4592,19 @@ export type Market = HasMetafields &
|
|
|
4571
4592
|
* A human-readable unique string for the market automatically generated from its title.
|
|
4572
4593
|
*
|
|
4573
4594
|
*/
|
|
4574
|
-
handle: Scalars['String'];
|
|
4595
|
+
handle: Scalars['String']['output'];
|
|
4575
4596
|
/** A globally-unique ID. */
|
|
4576
|
-
id: Scalars['ID'];
|
|
4597
|
+
id: Scalars['ID']['output'];
|
|
4577
4598
|
/** Returns a metafield found by namespace and key. */
|
|
4578
4599
|
metafield?: Maybe<Metafield>;
|
|
4579
|
-
/**
|
|
4580
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
4581
|
-
*
|
|
4582
|
-
*/
|
|
4600
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
4583
4601
|
metafields: Array<Maybe<Metafield>>;
|
|
4584
4602
|
};
|
|
4585
4603
|
|
|
4586
4604
|
/** A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets). */
|
|
4587
4605
|
export type MarketMetafieldArgs = {
|
|
4588
|
-
key: Scalars['String'];
|
|
4589
|
-
namespace
|
|
4606
|
+
key: Scalars['String']['input'];
|
|
4607
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
4590
4608
|
};
|
|
4591
4609
|
|
|
4592
4610
|
/** A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets). */
|
|
@@ -4597,9 +4615,9 @@ export type MarketMetafieldsArgs = {
|
|
|
4597
4615
|
/** Represents a media interface. */
|
|
4598
4616
|
export type Media = {
|
|
4599
4617
|
/** A word or phrase to share the nature or contents of a media. */
|
|
4600
|
-
alt?: Maybe<Scalars['String']>;
|
|
4618
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
4601
4619
|
/** A globally-unique ID. */
|
|
4602
|
-
id: Scalars['ID'];
|
|
4620
|
+
id: Scalars['ID']['output'];
|
|
4603
4621
|
/** The media content type. */
|
|
4604
4622
|
mediaContentType: MediaContentType;
|
|
4605
4623
|
/** The presentation for a media. */
|
|
@@ -4640,7 +4658,7 @@ export type MediaContentType =
|
|
|
4640
4658
|
export type MediaEdge = {
|
|
4641
4659
|
__typename?: 'MediaEdge';
|
|
4642
4660
|
/** A cursor for use in pagination. */
|
|
4643
|
-
cursor: Scalars['String'];
|
|
4661
|
+
cursor: Scalars['String']['output'];
|
|
4644
4662
|
/** The item at the end of MediaEdge. */
|
|
4645
4663
|
node: ExternalVideo | MediaImage | Model3d | Video;
|
|
4646
4664
|
};
|
|
@@ -4657,9 +4675,9 @@ export type MediaImage = Media &
|
|
|
4657
4675
|
Node & {
|
|
4658
4676
|
__typename?: 'MediaImage';
|
|
4659
4677
|
/** A word or phrase to share the nature or contents of a media. */
|
|
4660
|
-
alt?: Maybe<Scalars['String']>;
|
|
4678
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
4661
4679
|
/** A globally-unique ID. */
|
|
4662
|
-
id: Scalars['ID'];
|
|
4680
|
+
id: Scalars['ID']['output'];
|
|
4663
4681
|
/** The image for the media. */
|
|
4664
4682
|
image?: Maybe<Image>;
|
|
4665
4683
|
/** The media content type. */
|
|
@@ -4674,9 +4692,9 @@ export type MediaImage = Media &
|
|
|
4674
4692
|
export type MediaPresentation = Node & {
|
|
4675
4693
|
__typename?: 'MediaPresentation';
|
|
4676
4694
|
/** A JSON object representing a presentation view. */
|
|
4677
|
-
asJson?: Maybe<Scalars['JSON']>;
|
|
4695
|
+
asJson?: Maybe<Scalars['JSON']['output']>;
|
|
4678
4696
|
/** A globally-unique ID. */
|
|
4679
|
-
id: Scalars['ID'];
|
|
4697
|
+
id: Scalars['ID']['output'];
|
|
4680
4698
|
};
|
|
4681
4699
|
|
|
4682
4700
|
/** A media presentation. */
|
|
@@ -4699,39 +4717,36 @@ export type MediaPresentationFormat =
|
|
|
4699
4717
|
export type Menu = Node & {
|
|
4700
4718
|
__typename?: 'Menu';
|
|
4701
4719
|
/** The menu's handle. */
|
|
4702
|
-
handle: Scalars['String'];
|
|
4720
|
+
handle: Scalars['String']['output'];
|
|
4703
4721
|
/** A globally-unique ID. */
|
|
4704
|
-
id: Scalars['ID'];
|
|
4722
|
+
id: Scalars['ID']['output'];
|
|
4705
4723
|
/** The menu's child items. */
|
|
4706
4724
|
items: Array<MenuItem>;
|
|
4707
4725
|
/** The count of items on the menu. */
|
|
4708
|
-
itemsCount: Scalars['Int'];
|
|
4726
|
+
itemsCount: Scalars['Int']['output'];
|
|
4709
4727
|
/** The menu's title. */
|
|
4710
|
-
title: Scalars['String'];
|
|
4728
|
+
title: Scalars['String']['output'];
|
|
4711
4729
|
};
|
|
4712
4730
|
|
|
4713
|
-
/**
|
|
4714
|
-
* A menu item within a parent menu.
|
|
4715
|
-
*
|
|
4716
|
-
*/
|
|
4731
|
+
/** A menu item within a parent menu. */
|
|
4717
4732
|
export type MenuItem = Node & {
|
|
4718
4733
|
__typename?: 'MenuItem';
|
|
4719
4734
|
/** A globally-unique ID. */
|
|
4720
|
-
id: Scalars['ID'];
|
|
4735
|
+
id: Scalars['ID']['output'];
|
|
4721
4736
|
/** The menu item's child items. */
|
|
4722
4737
|
items: Array<MenuItem>;
|
|
4723
4738
|
/** The linked resource. */
|
|
4724
4739
|
resource?: Maybe<MenuItemResource>;
|
|
4725
4740
|
/** The ID of the linked resource. */
|
|
4726
|
-
resourceId?: Maybe<Scalars['ID']>;
|
|
4741
|
+
resourceId?: Maybe<Scalars['ID']['output']>;
|
|
4727
4742
|
/** The menu item's tags to filter a collection. */
|
|
4728
|
-
tags: Array<Scalars['String']>;
|
|
4743
|
+
tags: Array<Scalars['String']['output']>;
|
|
4729
4744
|
/** The menu item's title. */
|
|
4730
|
-
title: Scalars['String'];
|
|
4745
|
+
title: Scalars['String']['output'];
|
|
4731
4746
|
/** The menu item's type. */
|
|
4732
4747
|
type: MenuItemType;
|
|
4733
4748
|
/** The menu item's URL. */
|
|
4734
|
-
url?: Maybe<Scalars['URL']>;
|
|
4749
|
+
url?: Maybe<Scalars['URL']['output']>;
|
|
4735
4750
|
};
|
|
4736
4751
|
|
|
4737
4752
|
/**
|
|
@@ -4782,15 +4797,15 @@ export type Merchandise = ProductVariant;
|
|
|
4782
4797
|
export type Metafield = Node & {
|
|
4783
4798
|
__typename?: 'Metafield';
|
|
4784
4799
|
/** The date and time when the storefront metafield was created. */
|
|
4785
|
-
createdAt: Scalars['DateTime'];
|
|
4800
|
+
createdAt: Scalars['DateTime']['output'];
|
|
4786
4801
|
/** The description of a metafield. */
|
|
4787
|
-
description?: Maybe<Scalars['String']>;
|
|
4802
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
4788
4803
|
/** A globally-unique ID. */
|
|
4789
|
-
id: Scalars['ID'];
|
|
4804
|
+
id: Scalars['ID']['output'];
|
|
4790
4805
|
/** The unique identifier for the metafield within its namespace. */
|
|
4791
|
-
key: Scalars['String'];
|
|
4806
|
+
key: Scalars['String']['output'];
|
|
4792
4807
|
/** The container for a group of metafields that the metafield is associated with. */
|
|
4793
|
-
namespace: Scalars['String'];
|
|
4808
|
+
namespace: Scalars['String']['output'];
|
|
4794
4809
|
/** The type of resource that the metafield is attached to. */
|
|
4795
4810
|
parentResource: MetafieldParentResource;
|
|
4796
4811
|
/** Returns a reference object if the metafield's type is a resource reference. */
|
|
@@ -4802,11 +4817,11 @@ export type Metafield = Node & {
|
|
|
4802
4817
|
* Refer to the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).
|
|
4803
4818
|
*
|
|
4804
4819
|
*/
|
|
4805
|
-
type: Scalars['String'];
|
|
4820
|
+
type: Scalars['String']['output'];
|
|
4806
4821
|
/** The date and time when the metafield was last updated. */
|
|
4807
|
-
updatedAt: Scalars['DateTime'];
|
|
4822
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4808
4823
|
/** The data stored in the metafield. Always stored as a string, regardless of the metafield's type. */
|
|
4809
|
-
value: Scalars['String'];
|
|
4824
|
+
value: Scalars['String']['output'];
|
|
4810
4825
|
};
|
|
4811
4826
|
|
|
4812
4827
|
/**
|
|
@@ -4815,10 +4830,10 @@ export type Metafield = Node & {
|
|
|
4815
4830
|
*
|
|
4816
4831
|
*/
|
|
4817
4832
|
export type MetafieldReferencesArgs = {
|
|
4818
|
-
after?: InputMaybe<Scalars['String']>;
|
|
4819
|
-
before?: InputMaybe<Scalars['String']>;
|
|
4820
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
4821
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
4833
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
4834
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
4835
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
4836
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
4822
4837
|
};
|
|
4823
4838
|
|
|
4824
4839
|
/** Possible error codes that can be returned by `MetafieldDeleteUserError`. */
|
|
@@ -4834,9 +4849,9 @@ export type MetafieldDeleteUserError = DisplayableError & {
|
|
|
4834
4849
|
/** The error code. */
|
|
4835
4850
|
code?: Maybe<MetafieldDeleteErrorCode>;
|
|
4836
4851
|
/** The path to the input field that caused the error. */
|
|
4837
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
4852
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
4838
4853
|
/** The error message. */
|
|
4839
|
-
message: Scalars['String'];
|
|
4854
|
+
message: Scalars['String']['output'];
|
|
4840
4855
|
};
|
|
4841
4856
|
|
|
4842
4857
|
/**
|
|
@@ -4851,11 +4866,11 @@ export type MetafieldDeleteUserError = DisplayableError & {
|
|
|
4851
4866
|
*/
|
|
4852
4867
|
export type MetafieldFilter = {
|
|
4853
4868
|
/** The key of the metafield to filter on. */
|
|
4854
|
-
key: Scalars['String'];
|
|
4869
|
+
key: Scalars['String']['input'];
|
|
4855
4870
|
/** The namespace of the metafield to filter on. */
|
|
4856
|
-
namespace: Scalars['String'];
|
|
4871
|
+
namespace: Scalars['String']['input'];
|
|
4857
4872
|
/** The value of the metafield. */
|
|
4858
|
-
value: Scalars['String'];
|
|
4873
|
+
value: Scalars['String']['input'];
|
|
4859
4874
|
};
|
|
4860
4875
|
|
|
4861
4876
|
/** A resource that the metafield belongs to. */
|
|
@@ -4908,7 +4923,7 @@ export type MetafieldReferenceConnection = {
|
|
|
4908
4923
|
export type MetafieldReferenceEdge = {
|
|
4909
4924
|
__typename?: 'MetafieldReferenceEdge';
|
|
4910
4925
|
/** A cursor for use in pagination. */
|
|
4911
|
-
cursor: Scalars['String'];
|
|
4926
|
+
cursor: Scalars['String']['output'];
|
|
4912
4927
|
/** The item at the end of MetafieldReferenceEdge. */
|
|
4913
4928
|
node: MetafieldReference;
|
|
4914
4929
|
};
|
|
@@ -4919,11 +4934,11 @@ export type MetafieldsSetUserError = DisplayableError & {
|
|
|
4919
4934
|
/** The error code. */
|
|
4920
4935
|
code?: Maybe<MetafieldsSetUserErrorCode>;
|
|
4921
4936
|
/** The index of the array element that's causing the error. */
|
|
4922
|
-
elementIndex?: Maybe<Scalars['Int']>;
|
|
4937
|
+
elementIndex?: Maybe<Scalars['Int']['output']>;
|
|
4923
4938
|
/** The path to the input field that caused the error. */
|
|
4924
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
4939
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
4925
4940
|
/** The error message. */
|
|
4926
|
-
message: Scalars['String'];
|
|
4941
|
+
message: Scalars['String']['output'];
|
|
4927
4942
|
};
|
|
4928
4943
|
|
|
4929
4944
|
/** Possible error codes that can be returned by `MetafieldsSetUserError`. */
|
|
@@ -4948,29 +4963,38 @@ export type MetafieldsSetUserErrorCode =
|
|
|
4948
4963
|
| 'TOO_SHORT';
|
|
4949
4964
|
|
|
4950
4965
|
/** An instance of a user-defined model based on a MetaobjectDefinition. */
|
|
4951
|
-
export type Metaobject = Node &
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4966
|
+
export type Metaobject = Node &
|
|
4967
|
+
OnlineStorePublishable & {
|
|
4968
|
+
__typename?: 'Metaobject';
|
|
4969
|
+
/** Accesses a field of the object by key. */
|
|
4970
|
+
field?: Maybe<MetaobjectField>;
|
|
4971
|
+
/**
|
|
4972
|
+
* All object fields with defined values.
|
|
4973
|
+
* Omitted object keys can be assumed null, and no guarantees are made about field order.
|
|
4974
|
+
*
|
|
4975
|
+
*/
|
|
4976
|
+
fields: Array<MetaobjectField>;
|
|
4977
|
+
/** The unique handle of the metaobject. Useful as a custom ID. */
|
|
4978
|
+
handle: Scalars['String']['output'];
|
|
4979
|
+
/** A globally-unique ID. */
|
|
4980
|
+
id: Scalars['ID']['output'];
|
|
4981
|
+
/** The URL used for viewing the metaobject on the shop's Online Store. Returns `null` if the metaobject definition doesn't have the `online_store` capability. */
|
|
4982
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
4983
|
+
/**
|
|
4984
|
+
* The metaobject's SEO information. Returns `null` if the metaobject definition
|
|
4985
|
+
* doesn't have the `renderable` capability.
|
|
4986
|
+
*
|
|
4987
|
+
*/
|
|
4988
|
+
seo?: Maybe<MetaobjectSeo>;
|
|
4989
|
+
/** The type of the metaobject. Defines the namespace of its associated metafields. */
|
|
4990
|
+
type: Scalars['String']['output'];
|
|
4991
|
+
/** The date and time when the metaobject was last updated. */
|
|
4992
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
4993
|
+
};
|
|
4970
4994
|
|
|
4971
4995
|
/** An instance of a user-defined model based on a MetaobjectDefinition. */
|
|
4972
4996
|
export type MetaobjectFieldArgs = {
|
|
4973
|
-
key: Scalars['String'];
|
|
4997
|
+
key: Scalars['String']['input'];
|
|
4974
4998
|
};
|
|
4975
4999
|
|
|
4976
5000
|
/**
|
|
@@ -4994,7 +5018,7 @@ export type MetaobjectConnection = {
|
|
|
4994
5018
|
export type MetaobjectEdge = {
|
|
4995
5019
|
__typename?: 'MetaobjectEdge';
|
|
4996
5020
|
/** A cursor for use in pagination. */
|
|
4997
|
-
cursor: Scalars['String'];
|
|
5021
|
+
cursor: Scalars['String']['output'];
|
|
4998
5022
|
/** The item at the end of MetaobjectEdge. */
|
|
4999
5023
|
node: Metaobject;
|
|
5000
5024
|
};
|
|
@@ -5003,7 +5027,7 @@ export type MetaobjectEdge = {
|
|
|
5003
5027
|
export type MetaobjectField = {
|
|
5004
5028
|
__typename?: 'MetaobjectField';
|
|
5005
5029
|
/** The field key. */
|
|
5006
|
-
key: Scalars['String'];
|
|
5030
|
+
key: Scalars['String']['output'];
|
|
5007
5031
|
/** A referenced object if the field type is a resource reference. */
|
|
5008
5032
|
reference?: Maybe<MetafieldReference>;
|
|
5009
5033
|
/** A list of referenced objects if the field type is a resource reference list. */
|
|
@@ -5013,25 +5037,34 @@ export type MetaobjectField = {
|
|
|
5013
5037
|
* See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).
|
|
5014
5038
|
*
|
|
5015
5039
|
*/
|
|
5016
|
-
type: Scalars['String'];
|
|
5040
|
+
type: Scalars['String']['output'];
|
|
5017
5041
|
/** The field value. */
|
|
5018
|
-
value?: Maybe<Scalars['String']>;
|
|
5042
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
5019
5043
|
};
|
|
5020
5044
|
|
|
5021
5045
|
/** Provides the value of a Metaobject field. */
|
|
5022
5046
|
export type MetaobjectFieldReferencesArgs = {
|
|
5023
|
-
after?: InputMaybe<Scalars['String']>;
|
|
5024
|
-
before?: InputMaybe<Scalars['String']>;
|
|
5025
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
5026
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
5047
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5048
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5049
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5050
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5027
5051
|
};
|
|
5028
5052
|
|
|
5029
5053
|
/** The input fields used to retrieve a metaobject by handle. */
|
|
5030
5054
|
export type MetaobjectHandleInput = {
|
|
5031
5055
|
/** The handle of the metaobject. */
|
|
5032
|
-
handle: Scalars['String'];
|
|
5056
|
+
handle: Scalars['String']['input'];
|
|
5033
5057
|
/** The type of the metaobject. */
|
|
5034
|
-
type: Scalars['String'];
|
|
5058
|
+
type: Scalars['String']['input'];
|
|
5059
|
+
};
|
|
5060
|
+
|
|
5061
|
+
/** SEO information for a metaobject. */
|
|
5062
|
+
export type MetaobjectSeo = {
|
|
5063
|
+
__typename?: 'MetaobjectSEO';
|
|
5064
|
+
/** The meta description. */
|
|
5065
|
+
description?: Maybe<MetaobjectField>;
|
|
5066
|
+
/** The SEO title. */
|
|
5067
|
+
title?: Maybe<MetaobjectField>;
|
|
5035
5068
|
};
|
|
5036
5069
|
|
|
5037
5070
|
/** Represents a Shopify hosted 3D model. */
|
|
@@ -5039,9 +5072,9 @@ export type Model3d = Media &
|
|
|
5039
5072
|
Node & {
|
|
5040
5073
|
__typename?: 'Model3d';
|
|
5041
5074
|
/** A word or phrase to share the nature or contents of a media. */
|
|
5042
|
-
alt?: Maybe<Scalars['String']>;
|
|
5075
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
5043
5076
|
/** A globally-unique ID. */
|
|
5044
|
-
id: Scalars['ID'];
|
|
5077
|
+
id: Scalars['ID']['output'];
|
|
5045
5078
|
/** The media content type. */
|
|
5046
5079
|
mediaContentType: MediaContentType;
|
|
5047
5080
|
/** The presentation for a media. */
|
|
@@ -5056,19 +5089,19 @@ export type Model3d = Media &
|
|
|
5056
5089
|
export type Model3dSource = {
|
|
5057
5090
|
__typename?: 'Model3dSource';
|
|
5058
5091
|
/** The filesize of the 3d model. */
|
|
5059
|
-
filesize: Scalars['Int'];
|
|
5092
|
+
filesize: Scalars['Int']['output'];
|
|
5060
5093
|
/** The format of the 3d model. */
|
|
5061
|
-
format: Scalars['String'];
|
|
5094
|
+
format: Scalars['String']['output'];
|
|
5062
5095
|
/** The MIME type of the 3d model. */
|
|
5063
|
-
mimeType: Scalars['String'];
|
|
5096
|
+
mimeType: Scalars['String']['output'];
|
|
5064
5097
|
/** The URL of the 3d model. */
|
|
5065
|
-
url: Scalars['String'];
|
|
5098
|
+
url: Scalars['String']['output'];
|
|
5066
5099
|
};
|
|
5067
5100
|
|
|
5068
5101
|
/** The input fields for a monetary value with currency. */
|
|
5069
5102
|
export type MoneyInput = {
|
|
5070
5103
|
/** Decimal money amount. */
|
|
5071
|
-
amount: Scalars['Decimal'];
|
|
5104
|
+
amount: Scalars['Decimal']['input'];
|
|
5072
5105
|
/** Currency of the money. */
|
|
5073
5106
|
currencyCode: CurrencyCode;
|
|
5074
5107
|
};
|
|
@@ -5080,7 +5113,7 @@ export type MoneyInput = {
|
|
|
5080
5113
|
export type MoneyV2 = {
|
|
5081
5114
|
__typename?: 'MoneyV2';
|
|
5082
5115
|
/** Decimal money amount. */
|
|
5083
|
-
amount: Scalars['Decimal'];
|
|
5116
|
+
amount: Scalars['Decimal']['output'];
|
|
5084
5117
|
/** Currency of the money. */
|
|
5085
5118
|
currencyCode: CurrencyCode;
|
|
5086
5119
|
};
|
|
@@ -5232,13 +5265,13 @@ export type Mutation = {
|
|
|
5232
5265
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5233
5266
|
export type MutationCartAttributesUpdateArgs = {
|
|
5234
5267
|
attributes: Array<AttributeInput>;
|
|
5235
|
-
cartId: Scalars['ID'];
|
|
5268
|
+
cartId: Scalars['ID']['input'];
|
|
5236
5269
|
};
|
|
5237
5270
|
|
|
5238
5271
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5239
5272
|
export type MutationCartBuyerIdentityUpdateArgs = {
|
|
5240
5273
|
buyerIdentity: CartBuyerIdentityInput;
|
|
5241
|
-
cartId: Scalars['ID'];
|
|
5274
|
+
cartId: Scalars['ID']['input'];
|
|
5242
5275
|
};
|
|
5243
5276
|
|
|
5244
5277
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
@@ -5248,25 +5281,25 @@ export type MutationCartCreateArgs = {
|
|
|
5248
5281
|
|
|
5249
5282
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5250
5283
|
export type MutationCartDiscountCodesUpdateArgs = {
|
|
5251
|
-
cartId: Scalars['ID'];
|
|
5252
|
-
discountCodes?: InputMaybe<Array<Scalars['String']>>;
|
|
5284
|
+
cartId: Scalars['ID']['input'];
|
|
5285
|
+
discountCodes?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
5253
5286
|
};
|
|
5254
5287
|
|
|
5255
5288
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5256
5289
|
export type MutationCartLinesAddArgs = {
|
|
5257
|
-
cartId: Scalars['ID'];
|
|
5290
|
+
cartId: Scalars['ID']['input'];
|
|
5258
5291
|
lines: Array<CartLineInput>;
|
|
5259
5292
|
};
|
|
5260
5293
|
|
|
5261
5294
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5262
5295
|
export type MutationCartLinesRemoveArgs = {
|
|
5263
|
-
cartId: Scalars['ID'];
|
|
5264
|
-
lineIds: Array<Scalars['ID']>;
|
|
5296
|
+
cartId: Scalars['ID']['input'];
|
|
5297
|
+
lineIds: Array<Scalars['ID']['input']>;
|
|
5265
5298
|
};
|
|
5266
5299
|
|
|
5267
5300
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5268
5301
|
export type MutationCartLinesUpdateArgs = {
|
|
5269
|
-
cartId: Scalars['ID'];
|
|
5302
|
+
cartId: Scalars['ID']['input'];
|
|
5270
5303
|
lines: Array<CartLineUpdateInput>;
|
|
5271
5304
|
};
|
|
5272
5305
|
|
|
@@ -5282,131 +5315,131 @@ export type MutationCartMetafieldsSetArgs = {
|
|
|
5282
5315
|
|
|
5283
5316
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5284
5317
|
export type MutationCartNoteUpdateArgs = {
|
|
5285
|
-
cartId: Scalars['ID'];
|
|
5286
|
-
note?: InputMaybe<Scalars['String']>;
|
|
5318
|
+
cartId: Scalars['ID']['input'];
|
|
5319
|
+
note?: InputMaybe<Scalars['String']['input']>;
|
|
5287
5320
|
};
|
|
5288
5321
|
|
|
5289
5322
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5290
5323
|
export type MutationCartPaymentUpdateArgs = {
|
|
5291
|
-
cartId: Scalars['ID'];
|
|
5324
|
+
cartId: Scalars['ID']['input'];
|
|
5292
5325
|
payment: CartPaymentInput;
|
|
5293
5326
|
};
|
|
5294
5327
|
|
|
5295
5328
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5296
5329
|
export type MutationCartSelectedDeliveryOptionsUpdateArgs = {
|
|
5297
|
-
cartId: Scalars['ID'];
|
|
5330
|
+
cartId: Scalars['ID']['input'];
|
|
5298
5331
|
selectedDeliveryOptions: Array<CartSelectedDeliveryOptionInput>;
|
|
5299
5332
|
};
|
|
5300
5333
|
|
|
5301
5334
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5302
5335
|
export type MutationCartSubmitForCompletionArgs = {
|
|
5303
|
-
attemptToken: Scalars['String'];
|
|
5304
|
-
cartId: Scalars['ID'];
|
|
5336
|
+
attemptToken: Scalars['String']['input'];
|
|
5337
|
+
cartId: Scalars['ID']['input'];
|
|
5305
5338
|
};
|
|
5306
5339
|
|
|
5307
5340
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5308
5341
|
export type MutationCheckoutAttributesUpdateV2Args = {
|
|
5309
|
-
checkoutId: Scalars['ID'];
|
|
5342
|
+
checkoutId: Scalars['ID']['input'];
|
|
5310
5343
|
input: CheckoutAttributesUpdateV2Input;
|
|
5311
5344
|
};
|
|
5312
5345
|
|
|
5313
5346
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5314
5347
|
export type MutationCheckoutCompleteFreeArgs = {
|
|
5315
|
-
checkoutId: Scalars['ID'];
|
|
5348
|
+
checkoutId: Scalars['ID']['input'];
|
|
5316
5349
|
};
|
|
5317
5350
|
|
|
5318
5351
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5319
5352
|
export type MutationCheckoutCompleteWithCreditCardV2Args = {
|
|
5320
|
-
checkoutId: Scalars['ID'];
|
|
5353
|
+
checkoutId: Scalars['ID']['input'];
|
|
5321
5354
|
payment: CreditCardPaymentInputV2;
|
|
5322
5355
|
};
|
|
5323
5356
|
|
|
5324
5357
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5325
5358
|
export type MutationCheckoutCompleteWithTokenizedPaymentV3Args = {
|
|
5326
|
-
checkoutId: Scalars['ID'];
|
|
5359
|
+
checkoutId: Scalars['ID']['input'];
|
|
5327
5360
|
payment: TokenizedPaymentInputV3;
|
|
5328
5361
|
};
|
|
5329
5362
|
|
|
5330
5363
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5331
5364
|
export type MutationCheckoutCreateArgs = {
|
|
5332
5365
|
input: CheckoutCreateInput;
|
|
5333
|
-
queueToken?: InputMaybe<Scalars['String']>;
|
|
5366
|
+
queueToken?: InputMaybe<Scalars['String']['input']>;
|
|
5334
5367
|
};
|
|
5335
5368
|
|
|
5336
5369
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5337
5370
|
export type MutationCheckoutCustomerAssociateV2Args = {
|
|
5338
|
-
checkoutId: Scalars['ID'];
|
|
5339
|
-
customerAccessToken: Scalars['String'];
|
|
5371
|
+
checkoutId: Scalars['ID']['input'];
|
|
5372
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5340
5373
|
};
|
|
5341
5374
|
|
|
5342
5375
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5343
5376
|
export type MutationCheckoutCustomerDisassociateV2Args = {
|
|
5344
|
-
checkoutId: Scalars['ID'];
|
|
5377
|
+
checkoutId: Scalars['ID']['input'];
|
|
5345
5378
|
};
|
|
5346
5379
|
|
|
5347
5380
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5348
5381
|
export type MutationCheckoutDiscountCodeApplyV2Args = {
|
|
5349
|
-
checkoutId: Scalars['ID'];
|
|
5350
|
-
discountCode: Scalars['String'];
|
|
5382
|
+
checkoutId: Scalars['ID']['input'];
|
|
5383
|
+
discountCode: Scalars['String']['input'];
|
|
5351
5384
|
};
|
|
5352
5385
|
|
|
5353
5386
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5354
5387
|
export type MutationCheckoutDiscountCodeRemoveArgs = {
|
|
5355
|
-
checkoutId: Scalars['ID'];
|
|
5388
|
+
checkoutId: Scalars['ID']['input'];
|
|
5356
5389
|
};
|
|
5357
5390
|
|
|
5358
5391
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5359
5392
|
export type MutationCheckoutEmailUpdateV2Args = {
|
|
5360
|
-
checkoutId: Scalars['ID'];
|
|
5361
|
-
email: Scalars['String'];
|
|
5393
|
+
checkoutId: Scalars['ID']['input'];
|
|
5394
|
+
email: Scalars['String']['input'];
|
|
5362
5395
|
};
|
|
5363
5396
|
|
|
5364
5397
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5365
5398
|
export type MutationCheckoutGiftCardRemoveV2Args = {
|
|
5366
|
-
appliedGiftCardId: Scalars['ID'];
|
|
5367
|
-
checkoutId: Scalars['ID'];
|
|
5399
|
+
appliedGiftCardId: Scalars['ID']['input'];
|
|
5400
|
+
checkoutId: Scalars['ID']['input'];
|
|
5368
5401
|
};
|
|
5369
5402
|
|
|
5370
5403
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5371
5404
|
export type MutationCheckoutGiftCardsAppendArgs = {
|
|
5372
|
-
checkoutId: Scalars['ID'];
|
|
5373
|
-
giftCardCodes: Array<Scalars['String']>;
|
|
5405
|
+
checkoutId: Scalars['ID']['input'];
|
|
5406
|
+
giftCardCodes: Array<Scalars['String']['input']>;
|
|
5374
5407
|
};
|
|
5375
5408
|
|
|
5376
5409
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5377
5410
|
export type MutationCheckoutLineItemsAddArgs = {
|
|
5378
|
-
checkoutId: Scalars['ID'];
|
|
5411
|
+
checkoutId: Scalars['ID']['input'];
|
|
5379
5412
|
lineItems: Array<CheckoutLineItemInput>;
|
|
5380
5413
|
};
|
|
5381
5414
|
|
|
5382
5415
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5383
5416
|
export type MutationCheckoutLineItemsRemoveArgs = {
|
|
5384
|
-
checkoutId: Scalars['ID'];
|
|
5385
|
-
lineItemIds: Array<Scalars['ID']>;
|
|
5417
|
+
checkoutId: Scalars['ID']['input'];
|
|
5418
|
+
lineItemIds: Array<Scalars['ID']['input']>;
|
|
5386
5419
|
};
|
|
5387
5420
|
|
|
5388
5421
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5389
5422
|
export type MutationCheckoutLineItemsReplaceArgs = {
|
|
5390
|
-
checkoutId: Scalars['ID'];
|
|
5423
|
+
checkoutId: Scalars['ID']['input'];
|
|
5391
5424
|
lineItems: Array<CheckoutLineItemInput>;
|
|
5392
5425
|
};
|
|
5393
5426
|
|
|
5394
5427
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5395
5428
|
export type MutationCheckoutLineItemsUpdateArgs = {
|
|
5396
|
-
checkoutId: Scalars['ID'];
|
|
5429
|
+
checkoutId: Scalars['ID']['input'];
|
|
5397
5430
|
lineItems: Array<CheckoutLineItemUpdateInput>;
|
|
5398
5431
|
};
|
|
5399
5432
|
|
|
5400
5433
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5401
5434
|
export type MutationCheckoutShippingAddressUpdateV2Args = {
|
|
5402
|
-
checkoutId: Scalars['ID'];
|
|
5435
|
+
checkoutId: Scalars['ID']['input'];
|
|
5403
5436
|
shippingAddress: MailingAddressInput;
|
|
5404
5437
|
};
|
|
5405
5438
|
|
|
5406
5439
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5407
5440
|
export type MutationCheckoutShippingLineUpdateArgs = {
|
|
5408
|
-
checkoutId: Scalars['ID'];
|
|
5409
|
-
shippingRateHandle: Scalars['String'];
|
|
5441
|
+
checkoutId: Scalars['ID']['input'];
|
|
5442
|
+
shippingRateHandle: Scalars['String']['input'];
|
|
5410
5443
|
};
|
|
5411
5444
|
|
|
5412
5445
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
@@ -5416,48 +5449,48 @@ export type MutationCustomerAccessTokenCreateArgs = {
|
|
|
5416
5449
|
|
|
5417
5450
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5418
5451
|
export type MutationCustomerAccessTokenCreateWithMultipassArgs = {
|
|
5419
|
-
multipassToken: Scalars['String'];
|
|
5452
|
+
multipassToken: Scalars['String']['input'];
|
|
5420
5453
|
};
|
|
5421
5454
|
|
|
5422
5455
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5423
5456
|
export type MutationCustomerAccessTokenDeleteArgs = {
|
|
5424
|
-
customerAccessToken: Scalars['String'];
|
|
5457
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5425
5458
|
};
|
|
5426
5459
|
|
|
5427
5460
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5428
5461
|
export type MutationCustomerAccessTokenRenewArgs = {
|
|
5429
|
-
customerAccessToken: Scalars['String'];
|
|
5462
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5430
5463
|
};
|
|
5431
5464
|
|
|
5432
5465
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5433
5466
|
export type MutationCustomerActivateArgs = {
|
|
5434
|
-
id: Scalars['ID'];
|
|
5467
|
+
id: Scalars['ID']['input'];
|
|
5435
5468
|
input: CustomerActivateInput;
|
|
5436
5469
|
};
|
|
5437
5470
|
|
|
5438
5471
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5439
5472
|
export type MutationCustomerActivateByUrlArgs = {
|
|
5440
|
-
activationUrl: Scalars['URL'];
|
|
5441
|
-
password: Scalars['String'];
|
|
5473
|
+
activationUrl: Scalars['URL']['input'];
|
|
5474
|
+
password: Scalars['String']['input'];
|
|
5442
5475
|
};
|
|
5443
5476
|
|
|
5444
5477
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5445
5478
|
export type MutationCustomerAddressCreateArgs = {
|
|
5446
5479
|
address: MailingAddressInput;
|
|
5447
|
-
customerAccessToken: Scalars['String'];
|
|
5480
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5448
5481
|
};
|
|
5449
5482
|
|
|
5450
5483
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5451
5484
|
export type MutationCustomerAddressDeleteArgs = {
|
|
5452
|
-
customerAccessToken: Scalars['String'];
|
|
5453
|
-
id: Scalars['ID'];
|
|
5485
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5486
|
+
id: Scalars['ID']['input'];
|
|
5454
5487
|
};
|
|
5455
5488
|
|
|
5456
5489
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5457
5490
|
export type MutationCustomerAddressUpdateArgs = {
|
|
5458
5491
|
address: MailingAddressInput;
|
|
5459
|
-
customerAccessToken: Scalars['String'];
|
|
5460
|
-
id: Scalars['ID'];
|
|
5492
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5493
|
+
id: Scalars['ID']['input'];
|
|
5461
5494
|
};
|
|
5462
5495
|
|
|
5463
5496
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
@@ -5467,31 +5500,31 @@ export type MutationCustomerCreateArgs = {
|
|
|
5467
5500
|
|
|
5468
5501
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5469
5502
|
export type MutationCustomerDefaultAddressUpdateArgs = {
|
|
5470
|
-
addressId: Scalars['ID'];
|
|
5471
|
-
customerAccessToken: Scalars['String'];
|
|
5503
|
+
addressId: Scalars['ID']['input'];
|
|
5504
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5472
5505
|
};
|
|
5473
5506
|
|
|
5474
5507
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5475
5508
|
export type MutationCustomerRecoverArgs = {
|
|
5476
|
-
email: Scalars['String'];
|
|
5509
|
+
email: Scalars['String']['input'];
|
|
5477
5510
|
};
|
|
5478
5511
|
|
|
5479
5512
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5480
5513
|
export type MutationCustomerResetArgs = {
|
|
5481
|
-
id: Scalars['ID'];
|
|
5514
|
+
id: Scalars['ID']['input'];
|
|
5482
5515
|
input: CustomerResetInput;
|
|
5483
5516
|
};
|
|
5484
5517
|
|
|
5485
5518
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5486
5519
|
export type MutationCustomerResetByUrlArgs = {
|
|
5487
|
-
password: Scalars['String'];
|
|
5488
|
-
resetUrl: Scalars['URL'];
|
|
5520
|
+
password: Scalars['String']['input'];
|
|
5521
|
+
resetUrl: Scalars['URL']['input'];
|
|
5489
5522
|
};
|
|
5490
5523
|
|
|
5491
5524
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
5492
5525
|
export type MutationCustomerUpdateArgs = {
|
|
5493
5526
|
customer: CustomerUpdateInput;
|
|
5494
|
-
customerAccessToken: Scalars['String'];
|
|
5527
|
+
customerAccessToken: Scalars['String']['input'];
|
|
5495
5528
|
};
|
|
5496
5529
|
|
|
5497
5530
|
/**
|
|
@@ -5503,13 +5536,13 @@ export type MutationCustomerUpdateArgs = {
|
|
|
5503
5536
|
*/
|
|
5504
5537
|
export type Node = {
|
|
5505
5538
|
/** A globally-unique ID. */
|
|
5506
|
-
id: Scalars['ID'];
|
|
5539
|
+
id: Scalars['ID']['output'];
|
|
5507
5540
|
};
|
|
5508
5541
|
|
|
5509
5542
|
/** Represents a resource that can be published to the Online Store sales channel. */
|
|
5510
5543
|
export type OnlineStorePublishable = {
|
|
5511
5544
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
5512
|
-
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
5545
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
5513
5546
|
};
|
|
5514
5547
|
|
|
5515
5548
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
@@ -5521,7 +5554,7 @@ export type Order = HasMetafields &
|
|
|
5521
5554
|
/** The reason for the order's cancellation. Returns `null` if the order wasn't canceled. */
|
|
5522
5555
|
cancelReason?: Maybe<OrderCancelReason>;
|
|
5523
5556
|
/** The date and time when the order was canceled. Returns null if the order wasn't canceled. */
|
|
5524
|
-
canceledAt?: Maybe<Scalars['DateTime']>;
|
|
5557
|
+
canceledAt?: Maybe<Scalars['DateTime']['output']>;
|
|
5525
5558
|
/** The code of the currency used for the payment. */
|
|
5526
5559
|
currencyCode: CurrencyCode;
|
|
5527
5560
|
/** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes aren't included unless the order is a taxes-included order. */
|
|
@@ -5535,51 +5568,48 @@ export type Order = HasMetafields &
|
|
|
5535
5568
|
/** A list of the custom attributes added to the order. */
|
|
5536
5569
|
customAttributes: Array<Attribute>;
|
|
5537
5570
|
/** The locale code in which this specific order happened. */
|
|
5538
|
-
customerLocale?: Maybe<Scalars['String']>;
|
|
5571
|
+
customerLocale?: Maybe<Scalars['String']['output']>;
|
|
5539
5572
|
/** The unique URL that the customer can use to access the order. */
|
|
5540
|
-
customerUrl?: Maybe<Scalars['URL']>;
|
|
5573
|
+
customerUrl?: Maybe<Scalars['URL']['output']>;
|
|
5541
5574
|
/** Discounts that have been applied on the order. */
|
|
5542
5575
|
discountApplications: DiscountApplicationConnection;
|
|
5543
5576
|
/** Whether the order has had any edits applied or not. */
|
|
5544
|
-
edited: Scalars['Boolean'];
|
|
5577
|
+
edited: Scalars['Boolean']['output'];
|
|
5545
5578
|
/** The customer's email address. */
|
|
5546
|
-
email?: Maybe<Scalars['String']>;
|
|
5579
|
+
email?: Maybe<Scalars['String']['output']>;
|
|
5547
5580
|
/** The financial status of the order. */
|
|
5548
5581
|
financialStatus?: Maybe<OrderFinancialStatus>;
|
|
5549
5582
|
/** The fulfillment status for the order. */
|
|
5550
5583
|
fulfillmentStatus: OrderFulfillmentStatus;
|
|
5551
5584
|
/** A globally-unique ID. */
|
|
5552
|
-
id: Scalars['ID'];
|
|
5585
|
+
id: Scalars['ID']['output'];
|
|
5553
5586
|
/** List of the order’s line items. */
|
|
5554
5587
|
lineItems: OrderLineItemConnection;
|
|
5555
5588
|
/** Returns a metafield found by namespace and key. */
|
|
5556
5589
|
metafield?: Maybe<Metafield>;
|
|
5557
|
-
/**
|
|
5558
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
5559
|
-
*
|
|
5560
|
-
*/
|
|
5590
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
5561
5591
|
metafields: Array<Maybe<Metafield>>;
|
|
5562
5592
|
/**
|
|
5563
5593
|
* Unique identifier for the order that appears on the order.
|
|
5564
5594
|
* For example, _#1000_ or _Store1001.
|
|
5565
5595
|
*
|
|
5566
5596
|
*/
|
|
5567
|
-
name: Scalars['String'];
|
|
5597
|
+
name: Scalars['String']['output'];
|
|
5568
5598
|
/** A unique numeric identifier for the order for use by shop owner and customer. */
|
|
5569
|
-
orderNumber: Scalars['Int'];
|
|
5599
|
+
orderNumber: Scalars['Int']['output'];
|
|
5570
5600
|
/** The total cost of duties charged at checkout. */
|
|
5571
5601
|
originalTotalDuties?: Maybe<MoneyV2>;
|
|
5572
5602
|
/** The total price of the order before any applied edits. */
|
|
5573
5603
|
originalTotalPrice: MoneyV2;
|
|
5574
5604
|
/** The customer's phone number for receiving SMS notifications. */
|
|
5575
|
-
phone?: Maybe<Scalars['String']>;
|
|
5605
|
+
phone?: Maybe<Scalars['String']['output']>;
|
|
5576
5606
|
/**
|
|
5577
5607
|
* The date and time when the order was imported.
|
|
5578
5608
|
* This value can be set to dates in the past when importing from other systems.
|
|
5579
5609
|
* If no value is provided, it will be auto-generated based on current date and time.
|
|
5580
5610
|
*
|
|
5581
5611
|
*/
|
|
5582
|
-
processedAt: Scalars['DateTime'];
|
|
5612
|
+
processedAt: Scalars['DateTime']['output'];
|
|
5583
5613
|
/** The address to where the order will be shipped. */
|
|
5584
5614
|
shippingAddress?: Maybe<MailingAddress>;
|
|
5585
5615
|
/**
|
|
@@ -5588,7 +5618,7 @@ export type Order = HasMetafields &
|
|
|
5588
5618
|
*/
|
|
5589
5619
|
shippingDiscountAllocations: Array<DiscountAllocation>;
|
|
5590
5620
|
/** The unique URL for the order's status page. */
|
|
5591
|
-
statusUrl: Scalars['URL'];
|
|
5621
|
+
statusUrl: Scalars['URL']['output'];
|
|
5592
5622
|
/** Price of the order before shipping and taxes. */
|
|
5593
5623
|
subtotalPrice?: Maybe<MoneyV2>;
|
|
5594
5624
|
/**
|
|
@@ -5630,26 +5660,26 @@ export type Order = HasMetafields &
|
|
|
5630
5660
|
|
|
5631
5661
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
5632
5662
|
export type OrderDiscountApplicationsArgs = {
|
|
5633
|
-
after?: InputMaybe<Scalars['String']>;
|
|
5634
|
-
before?: InputMaybe<Scalars['String']>;
|
|
5635
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
5636
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
5637
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
5663
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5664
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5665
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5666
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5667
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5638
5668
|
};
|
|
5639
5669
|
|
|
5640
5670
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
5641
5671
|
export type OrderLineItemsArgs = {
|
|
5642
|
-
after?: InputMaybe<Scalars['String']>;
|
|
5643
|
-
before?: InputMaybe<Scalars['String']>;
|
|
5644
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
5645
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
5646
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
5672
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
5673
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
5674
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5675
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
5676
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
5647
5677
|
};
|
|
5648
5678
|
|
|
5649
5679
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
5650
5680
|
export type OrderMetafieldArgs = {
|
|
5651
|
-
key: Scalars['String'];
|
|
5652
|
-
namespace
|
|
5681
|
+
key: Scalars['String']['input'];
|
|
5682
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
5653
5683
|
};
|
|
5654
5684
|
|
|
5655
5685
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
@@ -5659,7 +5689,7 @@ export type OrderMetafieldsArgs = {
|
|
|
5659
5689
|
|
|
5660
5690
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
5661
5691
|
export type OrderSuccessfulFulfillmentsArgs = {
|
|
5662
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
5692
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
5663
5693
|
};
|
|
5664
5694
|
|
|
5665
5695
|
/** Represents the reason for the order's cancellation. */
|
|
@@ -5673,7 +5703,9 @@ export type OrderCancelReason =
|
|
|
5673
5703
|
/** There was insufficient inventory. */
|
|
5674
5704
|
| 'INVENTORY'
|
|
5675
5705
|
/** The order was canceled for an unlisted reason. */
|
|
5676
|
-
| 'OTHER'
|
|
5706
|
+
| 'OTHER'
|
|
5707
|
+
/** Staff made an error. */
|
|
5708
|
+
| 'STAFF';
|
|
5677
5709
|
|
|
5678
5710
|
/**
|
|
5679
5711
|
* An auto-generated type for paginating through multiple Orders.
|
|
@@ -5688,7 +5720,7 @@ export type OrderConnection = {
|
|
|
5688
5720
|
/** Information to aid in pagination. */
|
|
5689
5721
|
pageInfo: PageInfo;
|
|
5690
5722
|
/** The total count of Orders. */
|
|
5691
|
-
totalCount: Scalars['UnsignedInt64'];
|
|
5723
|
+
totalCount: Scalars['UnsignedInt64']['output'];
|
|
5692
5724
|
};
|
|
5693
5725
|
|
|
5694
5726
|
/**
|
|
@@ -5698,7 +5730,7 @@ export type OrderConnection = {
|
|
|
5698
5730
|
export type OrderEdge = {
|
|
5699
5731
|
__typename?: 'OrderEdge';
|
|
5700
5732
|
/** A cursor for use in pagination. */
|
|
5701
|
-
cursor: Scalars['String'];
|
|
5733
|
+
cursor: Scalars['String']['output'];
|
|
5702
5734
|
/** The item at the end of OrderEdge. */
|
|
5703
5735
|
node: Order;
|
|
5704
5736
|
};
|
|
@@ -5745,7 +5777,7 @@ export type OrderFulfillmentStatus =
|
|
|
5745
5777
|
export type OrderLineItem = {
|
|
5746
5778
|
__typename?: 'OrderLineItem';
|
|
5747
5779
|
/** The number of entries associated to the line item minus the items that have been removed. */
|
|
5748
|
-
currentQuantity: Scalars['Int'];
|
|
5780
|
+
currentQuantity: Scalars['Int']['output'];
|
|
5749
5781
|
/** List of custom attributes associated to the line item. */
|
|
5750
5782
|
customAttributes: Array<Attribute>;
|
|
5751
5783
|
/** The discounts that have been allocated onto the order line item by discount applications. */
|
|
@@ -5755,9 +5787,9 @@ export type OrderLineItem = {
|
|
|
5755
5787
|
/** The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it's displayed in the presentment currency. */
|
|
5756
5788
|
originalTotalPrice: MoneyV2;
|
|
5757
5789
|
/** The number of products variants associated to the line item. */
|
|
5758
|
-
quantity: Scalars['Int'];
|
|
5790
|
+
quantity: Scalars['Int']['output'];
|
|
5759
5791
|
/** The title of the product combined with title of the variant. */
|
|
5760
|
-
title: Scalars['String'];
|
|
5792
|
+
title: Scalars['String']['output'];
|
|
5761
5793
|
/** The product variant object associated to the line item. */
|
|
5762
5794
|
variant?: Maybe<ProductVariant>;
|
|
5763
5795
|
};
|
|
@@ -5783,7 +5815,7 @@ export type OrderLineItemConnection = {
|
|
|
5783
5815
|
export type OrderLineItemEdge = {
|
|
5784
5816
|
__typename?: 'OrderLineItemEdge';
|
|
5785
5817
|
/** A cursor for use in pagination. */
|
|
5786
|
-
cursor: Scalars['String'];
|
|
5818
|
+
cursor: Scalars['String']['output'];
|
|
5787
5819
|
/** The item at the end of OrderLineItemEdge. */
|
|
5788
5820
|
node: OrderLineItem;
|
|
5789
5821
|
};
|
|
@@ -5810,38 +5842,35 @@ export type Page = HasMetafields &
|
|
|
5810
5842
|
Trackable & {
|
|
5811
5843
|
__typename?: 'Page';
|
|
5812
5844
|
/** The description of the page, complete with HTML formatting. */
|
|
5813
|
-
body: Scalars['HTML'];
|
|
5845
|
+
body: Scalars['HTML']['output'];
|
|
5814
5846
|
/** Summary of the page body. */
|
|
5815
|
-
bodySummary: Scalars['String'];
|
|
5847
|
+
bodySummary: Scalars['String']['output'];
|
|
5816
5848
|
/** The timestamp of the page creation. */
|
|
5817
|
-
createdAt: Scalars['DateTime'];
|
|
5849
|
+
createdAt: Scalars['DateTime']['output'];
|
|
5818
5850
|
/** A human-friendly unique string for the page automatically generated from its title. */
|
|
5819
|
-
handle: Scalars['String'];
|
|
5851
|
+
handle: Scalars['String']['output'];
|
|
5820
5852
|
/** A globally-unique ID. */
|
|
5821
|
-
id: Scalars['ID'];
|
|
5853
|
+
id: Scalars['ID']['output'];
|
|
5822
5854
|
/** Returns a metafield found by namespace and key. */
|
|
5823
5855
|
metafield?: Maybe<Metafield>;
|
|
5824
|
-
/**
|
|
5825
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
5826
|
-
*
|
|
5827
|
-
*/
|
|
5856
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
5828
5857
|
metafields: Array<Maybe<Metafield>>;
|
|
5829
5858
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
5830
|
-
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
5859
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
5831
5860
|
/** The page's SEO information. */
|
|
5832
5861
|
seo?: Maybe<Seo>;
|
|
5833
5862
|
/** The title of the page. */
|
|
5834
|
-
title: Scalars['String'];
|
|
5863
|
+
title: Scalars['String']['output'];
|
|
5835
5864
|
/** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
|
|
5836
|
-
trackingParameters?: Maybe<Scalars['String']>;
|
|
5865
|
+
trackingParameters?: Maybe<Scalars['String']['output']>;
|
|
5837
5866
|
/** The timestamp of the latest page update. */
|
|
5838
|
-
updatedAt: Scalars['DateTime'];
|
|
5867
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
5839
5868
|
};
|
|
5840
5869
|
|
|
5841
5870
|
/** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */
|
|
5842
5871
|
export type PageMetafieldArgs = {
|
|
5843
|
-
key: Scalars['String'];
|
|
5844
|
-
namespace
|
|
5872
|
+
key: Scalars['String']['input'];
|
|
5873
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
5845
5874
|
};
|
|
5846
5875
|
|
|
5847
5876
|
/** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */
|
|
@@ -5870,7 +5899,7 @@ export type PageConnection = {
|
|
|
5870
5899
|
export type PageEdge = {
|
|
5871
5900
|
__typename?: 'PageEdge';
|
|
5872
5901
|
/** A cursor for use in pagination. */
|
|
5873
|
-
cursor: Scalars['String'];
|
|
5902
|
+
cursor: Scalars['String']['output'];
|
|
5874
5903
|
/** The item at the end of PageEdge. */
|
|
5875
5904
|
node: Page;
|
|
5876
5905
|
};
|
|
@@ -5884,13 +5913,13 @@ export type PageEdge = {
|
|
|
5884
5913
|
export type PageInfo = {
|
|
5885
5914
|
__typename?: 'PageInfo';
|
|
5886
5915
|
/** The cursor corresponding to the last node in edges. */
|
|
5887
|
-
endCursor?: Maybe<Scalars['String']>;
|
|
5916
|
+
endCursor?: Maybe<Scalars['String']['output']>;
|
|
5888
5917
|
/** Whether there are more pages to fetch following the current page. */
|
|
5889
|
-
hasNextPage: Scalars['Boolean'];
|
|
5918
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
5890
5919
|
/** Whether there are any pages prior to the current page. */
|
|
5891
|
-
hasPreviousPage: Scalars['Boolean'];
|
|
5920
|
+
hasPreviousPage: Scalars['Boolean']['output'];
|
|
5892
5921
|
/** The cursor corresponding to the first node in edges. */
|
|
5893
|
-
startCursor?: Maybe<Scalars['String']>;
|
|
5922
|
+
startCursor?: Maybe<Scalars['String']['output']>;
|
|
5894
5923
|
};
|
|
5895
5924
|
|
|
5896
5925
|
/** The set of valid sort keys for the Page query. */
|
|
@@ -5925,22 +5954,22 @@ export type Payment = Node & {
|
|
|
5925
5954
|
/** The credit card used for the payment in the case of direct payments. */
|
|
5926
5955
|
creditCard?: Maybe<CreditCard>;
|
|
5927
5956
|
/** A message describing a processing error during asynchronous processing. */
|
|
5928
|
-
errorMessage?: Maybe<Scalars['String']>;
|
|
5957
|
+
errorMessage?: Maybe<Scalars['String']['output']>;
|
|
5929
5958
|
/** A globally-unique ID. */
|
|
5930
|
-
id: Scalars['ID'];
|
|
5959
|
+
id: Scalars['ID']['output'];
|
|
5931
5960
|
/**
|
|
5932
5961
|
* A client-side generated token to identify a payment and perform idempotent operations.
|
|
5933
5962
|
* For more information, refer to
|
|
5934
5963
|
* [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).
|
|
5935
5964
|
*
|
|
5936
5965
|
*/
|
|
5937
|
-
idempotencyKey?: Maybe<Scalars['String']>;
|
|
5966
|
+
idempotencyKey?: Maybe<Scalars['String']['output']>;
|
|
5938
5967
|
/** The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. */
|
|
5939
|
-
nextActionUrl?: Maybe<Scalars['URL']>;
|
|
5968
|
+
nextActionUrl?: Maybe<Scalars['URL']['output']>;
|
|
5940
5969
|
/** Whether the payment is still processing asynchronously. */
|
|
5941
|
-
ready: Scalars['Boolean'];
|
|
5970
|
+
ready: Scalars['Boolean']['output'];
|
|
5942
5971
|
/** A flag to indicate if the payment is to be done in test mode for gateways that support it. */
|
|
5943
|
-
test: Scalars['Boolean'];
|
|
5972
|
+
test: Scalars['Boolean']['output'];
|
|
5944
5973
|
/** The actual transaction recorded by Shopify after having processed the payment with the gateway. */
|
|
5945
5974
|
transaction?: Maybe<Transaction>;
|
|
5946
5975
|
};
|
|
@@ -5951,15 +5980,19 @@ export type PaymentSettings = {
|
|
|
5951
5980
|
/** List of the card brands which the shop accepts. */
|
|
5952
5981
|
acceptedCardBrands: Array<CardBrand>;
|
|
5953
5982
|
/** The url pointing to the endpoint to vault credit cards. */
|
|
5954
|
-
cardVaultUrl: Scalars['URL'];
|
|
5983
|
+
cardVaultUrl: Scalars['URL']['output'];
|
|
5955
5984
|
/** The country where the shop is located. */
|
|
5956
5985
|
countryCode: CountryCode;
|
|
5957
5986
|
/** The three-letter code for the shop's primary currency. */
|
|
5958
5987
|
currencyCode: CurrencyCode;
|
|
5959
|
-
/**
|
|
5988
|
+
/**
|
|
5989
|
+
* A list of enabled currencies (ISO 4217 format) that the shop accepts.
|
|
5990
|
+
* Merchants can enable currencies from their Shopify Payments settings in the Shopify admin.
|
|
5991
|
+
*
|
|
5992
|
+
*/
|
|
5960
5993
|
enabledPresentmentCurrencies: Array<CurrencyCode>;
|
|
5961
5994
|
/** The shop’s Shopify Payments account ID. */
|
|
5962
|
-
shopifyPaymentsAccountId?: Maybe<Scalars['String']>;
|
|
5995
|
+
shopifyPaymentsAccountId?: Maybe<Scalars['String']['output']>;
|
|
5963
5996
|
/** List of the digital wallets which the shop supports. */
|
|
5964
5997
|
supportedDigitalWallets: Array<DigitalWallet>;
|
|
5965
5998
|
};
|
|
@@ -6022,16 +6055,16 @@ export type PredictiveSearchType =
|
|
|
6022
6055
|
*/
|
|
6023
6056
|
export type PriceRangeFilter = {
|
|
6024
6057
|
/** The maximum price in the range. Empty indicates no max price. */
|
|
6025
|
-
max?: InputMaybe<Scalars['Float']>;
|
|
6058
|
+
max?: InputMaybe<Scalars['Float']['input']>;
|
|
6026
6059
|
/** The minimum price in the range. Defaults to zero. */
|
|
6027
|
-
min?: InputMaybe<Scalars['Float']>;
|
|
6060
|
+
min?: InputMaybe<Scalars['Float']['input']>;
|
|
6028
6061
|
};
|
|
6029
6062
|
|
|
6030
6063
|
/** The value of the percentage pricing object. */
|
|
6031
6064
|
export type PricingPercentageValue = {
|
|
6032
6065
|
__typename?: 'PricingPercentageValue';
|
|
6033
6066
|
/** The percentage value of the object. */
|
|
6034
|
-
percentage: Scalars['Float'];
|
|
6067
|
+
percentage: Scalars['Float']['output'];
|
|
6035
6068
|
};
|
|
6036
6069
|
|
|
6037
6070
|
/** The price value (fixed or percentage) for a discount application. */
|
|
@@ -6039,7 +6072,10 @@ export type PricingValue = MoneyV2 | PricingPercentageValue;
|
|
|
6039
6072
|
|
|
6040
6073
|
/**
|
|
6041
6074
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6042
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6075
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6076
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6077
|
+
* customization of another product or an extended warranty).
|
|
6078
|
+
*
|
|
6043
6079
|
*/
|
|
6044
6080
|
export type Product = HasMetafields &
|
|
6045
6081
|
Node &
|
|
@@ -6047,17 +6083,17 @@ export type Product = HasMetafields &
|
|
|
6047
6083
|
Trackable & {
|
|
6048
6084
|
__typename?: 'Product';
|
|
6049
6085
|
/** Indicates if at least one product variant is available for sale. */
|
|
6050
|
-
availableForSale: Scalars['Boolean'];
|
|
6086
|
+
availableForSale: Scalars['Boolean']['output'];
|
|
6051
6087
|
/** List of collections a product belongs to. */
|
|
6052
6088
|
collections: CollectionConnection;
|
|
6053
6089
|
/** The compare at price of the product across all variants. */
|
|
6054
6090
|
compareAtPriceRange: ProductPriceRange;
|
|
6055
6091
|
/** The date and time when the product was created. */
|
|
6056
|
-
createdAt: Scalars['DateTime'];
|
|
6092
|
+
createdAt: Scalars['DateTime']['output'];
|
|
6057
6093
|
/** Stripped description of the product, single line with HTML tags removed. */
|
|
6058
|
-
description: Scalars['String'];
|
|
6094
|
+
description: Scalars['String']['output'];
|
|
6059
6095
|
/** The description of the product, complete with HTML formatting. */
|
|
6060
|
-
descriptionHtml: Scalars['HTML'];
|
|
6096
|
+
descriptionHtml: Scalars['HTML']['output'];
|
|
6061
6097
|
/**
|
|
6062
6098
|
* The featured image for the product.
|
|
6063
6099
|
*
|
|
@@ -6070,34 +6106,31 @@ export type Product = HasMetafields &
|
|
|
6070
6106
|
* They are used by the Liquid templating language to refer to objects.
|
|
6071
6107
|
*
|
|
6072
6108
|
*/
|
|
6073
|
-
handle: Scalars['String'];
|
|
6109
|
+
handle: Scalars['String']['output'];
|
|
6074
6110
|
/** A globally-unique ID. */
|
|
6075
|
-
id: Scalars['ID'];
|
|
6111
|
+
id: Scalars['ID']['output'];
|
|
6076
6112
|
/** List of images associated with the product. */
|
|
6077
6113
|
images: ImageConnection;
|
|
6078
6114
|
/** Whether the product is a gift card. */
|
|
6079
|
-
isGiftCard: Scalars['Boolean'];
|
|
6115
|
+
isGiftCard: Scalars['Boolean']['output'];
|
|
6080
6116
|
/** The media associated with the product. */
|
|
6081
6117
|
media: MediaConnection;
|
|
6082
6118
|
/** Returns a metafield found by namespace and key. */
|
|
6083
6119
|
metafield?: Maybe<Metafield>;
|
|
6084
|
-
/**
|
|
6085
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
6086
|
-
*
|
|
6087
|
-
*/
|
|
6120
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
6088
6121
|
metafields: Array<Maybe<Metafield>>;
|
|
6089
6122
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
6090
|
-
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
6123
|
+
onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
|
|
6091
6124
|
/** List of product options. */
|
|
6092
6125
|
options: Array<ProductOption>;
|
|
6093
6126
|
/** The price range. */
|
|
6094
6127
|
priceRange: ProductPriceRange;
|
|
6095
6128
|
/** A categorization that a product can be tagged with, commonly used for filtering and searching. */
|
|
6096
|
-
productType: Scalars['String'];
|
|
6129
|
+
productType: Scalars['String']['output'];
|
|
6097
6130
|
/** The date and time when the product was published to the channel. */
|
|
6098
|
-
publishedAt: Scalars['DateTime'];
|
|
6131
|
+
publishedAt: Scalars['DateTime']['output'];
|
|
6099
6132
|
/** Whether the product can only be purchased with a selling plan. */
|
|
6100
|
-
requiresSellingPlan: Scalars['Boolean'];
|
|
6133
|
+
requiresSellingPlan: Scalars['Boolean']['output'];
|
|
6101
6134
|
/** A list of a product's available selling plan groups. A selling plan group represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */
|
|
6102
6135
|
sellingPlanGroups: SellingPlanGroupConnection;
|
|
6103
6136
|
/** The product's SEO information. */
|
|
@@ -6107,13 +6140,13 @@ export type Product = HasMetafields &
|
|
|
6107
6140
|
* Additional access scope required for private apps: unauthenticated_read_product_tags.
|
|
6108
6141
|
*
|
|
6109
6142
|
*/
|
|
6110
|
-
tags: Array<Scalars['String']>;
|
|
6143
|
+
tags: Array<Scalars['String']['output']>;
|
|
6111
6144
|
/** The product’s title. */
|
|
6112
|
-
title: Scalars['String'];
|
|
6145
|
+
title: Scalars['String']['output'];
|
|
6113
6146
|
/** The total quantity of inventory in stock for this Product. */
|
|
6114
|
-
totalInventory?: Maybe<Scalars['Int']>;
|
|
6147
|
+
totalInventory?: Maybe<Scalars['Int']['output']>;
|
|
6115
6148
|
/** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
|
|
6116
|
-
trackingParameters?: Maybe<Scalars['String']>;
|
|
6149
|
+
trackingParameters?: Maybe<Scalars['String']['output']>;
|
|
6117
6150
|
/**
|
|
6118
6151
|
* The date and time when the product was last modified.
|
|
6119
6152
|
* A product's `updatedAt` value can change for different reasons. For example, if an order
|
|
@@ -6121,7 +6154,7 @@ export type Product = HasMetafields &
|
|
|
6121
6154
|
* is counted as an update.
|
|
6122
6155
|
*
|
|
6123
6156
|
*/
|
|
6124
|
-
updatedAt: Scalars['DateTime'];
|
|
6157
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
6125
6158
|
/**
|
|
6126
6159
|
* Find a product’s variant based on its selected options.
|
|
6127
6160
|
* This is useful for converting a user’s selection of product options into a single matching variant.
|
|
@@ -6132,67 +6165,85 @@ export type Product = HasMetafields &
|
|
|
6132
6165
|
/** List of the product’s variants. */
|
|
6133
6166
|
variants: ProductVariantConnection;
|
|
6134
6167
|
/** The product’s vendor name. */
|
|
6135
|
-
vendor: Scalars['String'];
|
|
6168
|
+
vendor: Scalars['String']['output'];
|
|
6136
6169
|
};
|
|
6137
6170
|
|
|
6138
6171
|
/**
|
|
6139
6172
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6140
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6173
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6174
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6175
|
+
* customization of another product or an extended warranty).
|
|
6176
|
+
*
|
|
6141
6177
|
*/
|
|
6142
6178
|
export type ProductCollectionsArgs = {
|
|
6143
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6144
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6145
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6146
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6147
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6179
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6180
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6181
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6182
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6183
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6148
6184
|
};
|
|
6149
6185
|
|
|
6150
6186
|
/**
|
|
6151
6187
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6152
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6188
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6189
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6190
|
+
* customization of another product or an extended warranty).
|
|
6191
|
+
*
|
|
6153
6192
|
*/
|
|
6154
6193
|
export type ProductDescriptionArgs = {
|
|
6155
|
-
truncateAt?: InputMaybe<Scalars['Int']>;
|
|
6194
|
+
truncateAt?: InputMaybe<Scalars['Int']['input']>;
|
|
6156
6195
|
};
|
|
6157
6196
|
|
|
6158
6197
|
/**
|
|
6159
6198
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6160
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6199
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6200
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6201
|
+
* customization of another product or an extended warranty).
|
|
6202
|
+
*
|
|
6161
6203
|
*/
|
|
6162
6204
|
export type ProductImagesArgs = {
|
|
6163
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6164
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6165
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6166
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6167
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6205
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6206
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6207
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6208
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6209
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6168
6210
|
sortKey?: InputMaybe<ProductImageSortKeys>;
|
|
6169
6211
|
};
|
|
6170
6212
|
|
|
6171
6213
|
/**
|
|
6172
6214
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6173
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6215
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6216
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6217
|
+
* customization of another product or an extended warranty).
|
|
6218
|
+
*
|
|
6174
6219
|
*/
|
|
6175
6220
|
export type ProductMediaArgs = {
|
|
6176
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6177
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6178
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6179
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6180
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6221
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6222
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6223
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6224
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6225
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6181
6226
|
sortKey?: InputMaybe<ProductMediaSortKeys>;
|
|
6182
6227
|
};
|
|
6183
6228
|
|
|
6184
6229
|
/**
|
|
6185
6230
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6186
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6231
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6232
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6233
|
+
* customization of another product or an extended warranty).
|
|
6234
|
+
*
|
|
6187
6235
|
*/
|
|
6188
6236
|
export type ProductMetafieldArgs = {
|
|
6189
|
-
key: Scalars['String'];
|
|
6190
|
-
namespace
|
|
6237
|
+
key: Scalars['String']['input'];
|
|
6238
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
6191
6239
|
};
|
|
6192
6240
|
|
|
6193
6241
|
/**
|
|
6194
6242
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6195
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6243
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6244
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6245
|
+
* customization of another product or an extended warranty).
|
|
6246
|
+
*
|
|
6196
6247
|
*/
|
|
6197
6248
|
export type ProductMetafieldsArgs = {
|
|
6198
6249
|
identifiers: Array<HasMetafieldsIdentifier>;
|
|
@@ -6200,27 +6251,36 @@ export type ProductMetafieldsArgs = {
|
|
|
6200
6251
|
|
|
6201
6252
|
/**
|
|
6202
6253
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6203
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6254
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6255
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6256
|
+
* customization of another product or an extended warranty).
|
|
6257
|
+
*
|
|
6204
6258
|
*/
|
|
6205
6259
|
export type ProductOptionsArgs = {
|
|
6206
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6260
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6207
6261
|
};
|
|
6208
6262
|
|
|
6209
6263
|
/**
|
|
6210
6264
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6211
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6265
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6266
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6267
|
+
* customization of another product or an extended warranty).
|
|
6268
|
+
*
|
|
6212
6269
|
*/
|
|
6213
6270
|
export type ProductSellingPlanGroupsArgs = {
|
|
6214
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6215
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6216
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6217
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6218
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6271
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6272
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6273
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6274
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6275
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6219
6276
|
};
|
|
6220
6277
|
|
|
6221
6278
|
/**
|
|
6222
6279
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6223
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6280
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6281
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6282
|
+
* customization of another product or an extended warranty).
|
|
6283
|
+
*
|
|
6224
6284
|
*/
|
|
6225
6285
|
export type ProductVariantBySelectedOptionsArgs = {
|
|
6226
6286
|
selectedOptions: Array<SelectedOptionInput>;
|
|
@@ -6228,14 +6288,17 @@ export type ProductVariantBySelectedOptionsArgs = {
|
|
|
6228
6288
|
|
|
6229
6289
|
/**
|
|
6230
6290
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
6231
|
-
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6291
|
+
* For example, a digital download (such as a movie, music or ebook file) also
|
|
6292
|
+
* qualifies as a product, as do services (such as equipment rental, work for hire,
|
|
6293
|
+
* customization of another product or an extended warranty).
|
|
6294
|
+
*
|
|
6232
6295
|
*/
|
|
6233
6296
|
export type ProductVariantsArgs = {
|
|
6234
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6235
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6236
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6237
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6238
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6297
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6298
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6299
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6300
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6301
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6239
6302
|
sortKey?: InputMaybe<ProductVariantSortKeys>;
|
|
6240
6303
|
};
|
|
6241
6304
|
|
|
@@ -6285,7 +6348,7 @@ export type ProductConnection = {
|
|
|
6285
6348
|
export type ProductEdge = {
|
|
6286
6349
|
__typename?: 'ProductEdge';
|
|
6287
6350
|
/** A cursor for use in pagination. */
|
|
6288
|
-
cursor: Scalars['String'];
|
|
6351
|
+
cursor: Scalars['String']['output'];
|
|
6289
6352
|
/** The item at the end of ProductEdge. */
|
|
6290
6353
|
node: Product;
|
|
6291
6354
|
};
|
|
@@ -6298,17 +6361,17 @@ export type ProductEdge = {
|
|
|
6298
6361
|
*/
|
|
6299
6362
|
export type ProductFilter = {
|
|
6300
6363
|
/** Filter on if the product is available for sale. */
|
|
6301
|
-
available?: InputMaybe<Scalars['Boolean']>;
|
|
6364
|
+
available?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6302
6365
|
/** A range of prices to filter with-in. */
|
|
6303
6366
|
price?: InputMaybe<PriceRangeFilter>;
|
|
6304
6367
|
/** A product metafield to filter on. */
|
|
6305
6368
|
productMetafield?: InputMaybe<MetafieldFilter>;
|
|
6306
6369
|
/** The product type to filter on. */
|
|
6307
|
-
productType?: InputMaybe<Scalars['String']>;
|
|
6370
|
+
productType?: InputMaybe<Scalars['String']['input']>;
|
|
6308
6371
|
/** The product vendor to filter on. */
|
|
6309
|
-
productVendor?: InputMaybe<Scalars['String']>;
|
|
6372
|
+
productVendor?: InputMaybe<Scalars['String']['input']>;
|
|
6310
6373
|
/** A product tag to filter on. */
|
|
6311
|
-
tag?: InputMaybe<Scalars['String']>;
|
|
6374
|
+
tag?: InputMaybe<Scalars['String']['input']>;
|
|
6312
6375
|
/** A variant metafield to filter on. */
|
|
6313
6376
|
variantMetafield?: InputMaybe<MetafieldFilter>;
|
|
6314
6377
|
/** A variant option to filter on. */
|
|
@@ -6352,11 +6415,11 @@ export type ProductMediaSortKeys =
|
|
|
6352
6415
|
export type ProductOption = Node & {
|
|
6353
6416
|
__typename?: 'ProductOption';
|
|
6354
6417
|
/** A globally-unique ID. */
|
|
6355
|
-
id: Scalars['ID'];
|
|
6418
|
+
id: Scalars['ID']['output'];
|
|
6356
6419
|
/** The product option’s name. */
|
|
6357
|
-
name: Scalars['String'];
|
|
6420
|
+
name: Scalars['String']['output'];
|
|
6358
6421
|
/** The corresponding value to the product option name. */
|
|
6359
|
-
values: Array<Scalars['String']>;
|
|
6422
|
+
values: Array<Scalars['String']['output']>;
|
|
6360
6423
|
};
|
|
6361
6424
|
|
|
6362
6425
|
/** The price range of the product. */
|
|
@@ -6404,14 +6467,17 @@ export type ProductSortKeys =
|
|
|
6404
6467
|
/** Sort by the `vendor` value. */
|
|
6405
6468
|
| 'VENDOR';
|
|
6406
6469
|
|
|
6407
|
-
/**
|
|
6470
|
+
/**
|
|
6471
|
+
* A product variant represents a different version of a product, such as differing sizes or differing colors.
|
|
6472
|
+
*
|
|
6473
|
+
*/
|
|
6408
6474
|
export type ProductVariant = HasMetafields &
|
|
6409
6475
|
Node & {
|
|
6410
6476
|
__typename?: 'ProductVariant';
|
|
6411
6477
|
/** Indicates if the product variant is available for sale. */
|
|
6412
|
-
availableForSale: Scalars['Boolean'];
|
|
6478
|
+
availableForSale: Scalars['Boolean']['output'];
|
|
6413
6479
|
/** The barcode (for example, ISBN, UPC, or GTIN) associated with the variant. */
|
|
6414
|
-
barcode?: Maybe<Scalars['String']>;
|
|
6480
|
+
barcode?: Maybe<Scalars['String']['output']>;
|
|
6415
6481
|
/** The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`. */
|
|
6416
6482
|
compareAtPrice?: Maybe<MoneyV2>;
|
|
6417
6483
|
/**
|
|
@@ -6420,20 +6486,14 @@ export type ProductVariant = HasMetafields &
|
|
|
6420
6486
|
*/
|
|
6421
6487
|
compareAtPriceV2?: Maybe<MoneyV2>;
|
|
6422
6488
|
/** Whether a product is out of stock but still available for purchase (used for backorders). */
|
|
6423
|
-
currentlyNotInStock: Scalars['Boolean'];
|
|
6489
|
+
currentlyNotInStock: Scalars['Boolean']['output'];
|
|
6424
6490
|
/** A globally-unique ID. */
|
|
6425
|
-
id: Scalars['ID'];
|
|
6426
|
-
/**
|
|
6427
|
-
* Image associated with the product variant. This field falls back to the product image if no image is available.
|
|
6428
|
-
*
|
|
6429
|
-
*/
|
|
6491
|
+
id: Scalars['ID']['output'];
|
|
6492
|
+
/** Image associated with the product variant. This field falls back to the product image if no image is available. */
|
|
6430
6493
|
image?: Maybe<Image>;
|
|
6431
6494
|
/** Returns a metafield found by namespace and key. */
|
|
6432
6495
|
metafield?: Maybe<Metafield>;
|
|
6433
|
-
/**
|
|
6434
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
6435
|
-
*
|
|
6436
|
-
*/
|
|
6496
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
6437
6497
|
metafields: Array<Maybe<Metafield>>;
|
|
6438
6498
|
/** The product variant’s price. */
|
|
6439
6499
|
price: MoneyV2;
|
|
@@ -6445,57 +6505,69 @@ export type ProductVariant = HasMetafields &
|
|
|
6445
6505
|
/** The product object that the product variant belongs to. */
|
|
6446
6506
|
product: Product;
|
|
6447
6507
|
/** The total sellable quantity of the variant for online sales channels. */
|
|
6448
|
-
quantityAvailable?: Maybe<Scalars['Int']>;
|
|
6508
|
+
quantityAvailable?: Maybe<Scalars['Int']['output']>;
|
|
6449
6509
|
/** Whether a customer needs to provide a shipping address when placing an order for the product variant. */
|
|
6450
|
-
requiresShipping: Scalars['Boolean'];
|
|
6510
|
+
requiresShipping: Scalars['Boolean']['output'];
|
|
6451
6511
|
/** List of product options applied to the variant. */
|
|
6452
6512
|
selectedOptions: Array<SelectedOption>;
|
|
6453
6513
|
/** Represents an association between a variant and a selling plan. Selling plan allocations describe which selling plans are available for each variant, and what their impact is on pricing. */
|
|
6454
6514
|
sellingPlanAllocations: SellingPlanAllocationConnection;
|
|
6455
6515
|
/** The SKU (stock keeping unit) associated with the variant. */
|
|
6456
|
-
sku?: Maybe<Scalars['String']>;
|
|
6516
|
+
sku?: Maybe<Scalars['String']['output']>;
|
|
6457
6517
|
/** The in-store pickup availability of this variant by location. */
|
|
6458
6518
|
storeAvailability: StoreAvailabilityConnection;
|
|
6459
6519
|
/** The product variant’s title. */
|
|
6460
|
-
title: Scalars['String'];
|
|
6520
|
+
title: Scalars['String']['output'];
|
|
6461
6521
|
/** The unit price value for the variant based on the variant's measurement. */
|
|
6462
6522
|
unitPrice?: Maybe<MoneyV2>;
|
|
6463
6523
|
/** The unit price measurement for the variant. */
|
|
6464
6524
|
unitPriceMeasurement?: Maybe<UnitPriceMeasurement>;
|
|
6465
6525
|
/** The weight of the product variant in the unit system specified with `weight_unit`. */
|
|
6466
|
-
weight?: Maybe<Scalars['Float']>;
|
|
6526
|
+
weight?: Maybe<Scalars['Float']['output']>;
|
|
6467
6527
|
/** Unit of measurement for weight. */
|
|
6468
6528
|
weightUnit: WeightUnit;
|
|
6469
6529
|
};
|
|
6470
6530
|
|
|
6471
|
-
/**
|
|
6531
|
+
/**
|
|
6532
|
+
* A product variant represents a different version of a product, such as differing sizes or differing colors.
|
|
6533
|
+
*
|
|
6534
|
+
*/
|
|
6472
6535
|
export type ProductVariantMetafieldArgs = {
|
|
6473
|
-
key: Scalars['String'];
|
|
6474
|
-
namespace
|
|
6536
|
+
key: Scalars['String']['input'];
|
|
6537
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
6475
6538
|
};
|
|
6476
6539
|
|
|
6477
|
-
/**
|
|
6540
|
+
/**
|
|
6541
|
+
* A product variant represents a different version of a product, such as differing sizes or differing colors.
|
|
6542
|
+
*
|
|
6543
|
+
*/
|
|
6478
6544
|
export type ProductVariantMetafieldsArgs = {
|
|
6479
6545
|
identifiers: Array<HasMetafieldsIdentifier>;
|
|
6480
6546
|
};
|
|
6481
6547
|
|
|
6482
|
-
/**
|
|
6548
|
+
/**
|
|
6549
|
+
* A product variant represents a different version of a product, such as differing sizes or differing colors.
|
|
6550
|
+
*
|
|
6551
|
+
*/
|
|
6483
6552
|
export type ProductVariantSellingPlanAllocationsArgs = {
|
|
6484
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6485
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6486
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6487
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6488
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6553
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6554
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6555
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6556
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6557
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6489
6558
|
};
|
|
6490
6559
|
|
|
6491
|
-
/**
|
|
6560
|
+
/**
|
|
6561
|
+
* A product variant represents a different version of a product, such as differing sizes or differing colors.
|
|
6562
|
+
*
|
|
6563
|
+
*/
|
|
6492
6564
|
export type ProductVariantStoreAvailabilityArgs = {
|
|
6493
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6494
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6495
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6496
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6565
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6566
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6567
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6568
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6497
6569
|
near?: InputMaybe<GeoCoordinateInput>;
|
|
6498
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6570
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6499
6571
|
};
|
|
6500
6572
|
|
|
6501
6573
|
/**
|
|
@@ -6519,7 +6591,7 @@ export type ProductVariantConnection = {
|
|
|
6519
6591
|
export type ProductVariantEdge = {
|
|
6520
6592
|
__typename?: 'ProductVariantEdge';
|
|
6521
6593
|
/** A cursor for use in pagination. */
|
|
6522
|
-
cursor: Scalars['String'];
|
|
6594
|
+
cursor: Scalars['String']['output'];
|
|
6523
6595
|
/** The item at the end of ProductVariantEdge. */
|
|
6524
6596
|
node: ProductVariant;
|
|
6525
6597
|
};
|
|
@@ -6563,7 +6635,10 @@ export type QueryRoot = {
|
|
|
6563
6635
|
*
|
|
6564
6636
|
*/
|
|
6565
6637
|
cart?: Maybe<Cart>;
|
|
6566
|
-
/**
|
|
6638
|
+
/**
|
|
6639
|
+
* A poll for the status of the cart checkout completion and order creation.
|
|
6640
|
+
*
|
|
6641
|
+
*/
|
|
6567
6642
|
cartCompletionAttempt?: Maybe<CartCompletionAttemptResult>;
|
|
6568
6643
|
/** Fetch a specific `Collection` by one of its unique attributes. */
|
|
6569
6644
|
collection?: Maybe<Collection>;
|
|
@@ -6587,12 +6662,10 @@ export type QueryRoot = {
|
|
|
6587
6662
|
*
|
|
6588
6663
|
* When sorting by distance, you must specify a location via the `near` argument.
|
|
6589
6664
|
*
|
|
6590
|
-
*/
|
|
6591
|
-
locations: LocationConnection;
|
|
6592
|
-
/**
|
|
6593
|
-
* Retrieve a [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) by its handle.
|
|
6594
6665
|
*
|
|
6595
6666
|
*/
|
|
6667
|
+
locations: LocationConnection;
|
|
6668
|
+
/** Retrieve a [navigation menu](https://help.shopify.com/manual/online-store/menus-and-links) by its handle. */
|
|
6596
6669
|
menu?: Maybe<Menu>;
|
|
6597
6670
|
/** Fetch a specific Metaobject by one of its unique identifiers. */
|
|
6598
6671
|
metaobject?: Maybe<Metaobject>;
|
|
@@ -6717,149 +6790,149 @@ export type QueryRoot = {
|
|
|
6717
6790
|
|
|
6718
6791
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6719
6792
|
export type QueryRootArticleArgs = {
|
|
6720
|
-
id: Scalars['ID'];
|
|
6793
|
+
id: Scalars['ID']['input'];
|
|
6721
6794
|
};
|
|
6722
6795
|
|
|
6723
6796
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6724
6797
|
export type QueryRootArticlesArgs = {
|
|
6725
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6726
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6727
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6728
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6729
|
-
query?: InputMaybe<Scalars['String']>;
|
|
6730
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6798
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6799
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6800
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6801
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6802
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6803
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6731
6804
|
sortKey?: InputMaybe<ArticleSortKeys>;
|
|
6732
6805
|
};
|
|
6733
6806
|
|
|
6734
6807
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6735
6808
|
export type QueryRootBlogArgs = {
|
|
6736
|
-
handle?: InputMaybe<Scalars['String']>;
|
|
6737
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
6809
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
6810
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
6738
6811
|
};
|
|
6739
6812
|
|
|
6740
6813
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6741
6814
|
export type QueryRootBlogByHandleArgs = {
|
|
6742
|
-
handle: Scalars['String'];
|
|
6815
|
+
handle: Scalars['String']['input'];
|
|
6743
6816
|
};
|
|
6744
6817
|
|
|
6745
6818
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6746
6819
|
export type QueryRootBlogsArgs = {
|
|
6747
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6748
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6749
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6750
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6751
|
-
query?: InputMaybe<Scalars['String']>;
|
|
6752
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6820
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6821
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6822
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6823
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6824
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6825
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6753
6826
|
sortKey?: InputMaybe<BlogSortKeys>;
|
|
6754
6827
|
};
|
|
6755
6828
|
|
|
6756
6829
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6757
6830
|
export type QueryRootCartArgs = {
|
|
6758
|
-
id: Scalars['ID'];
|
|
6831
|
+
id: Scalars['ID']['input'];
|
|
6759
6832
|
};
|
|
6760
6833
|
|
|
6761
6834
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6762
6835
|
export type QueryRootCartCompletionAttemptArgs = {
|
|
6763
|
-
attemptId: Scalars['String'];
|
|
6836
|
+
attemptId: Scalars['String']['input'];
|
|
6764
6837
|
};
|
|
6765
6838
|
|
|
6766
6839
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6767
6840
|
export type QueryRootCollectionArgs = {
|
|
6768
|
-
handle?: InputMaybe<Scalars['String']>;
|
|
6769
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
6841
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
6842
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
6770
6843
|
};
|
|
6771
6844
|
|
|
6772
6845
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6773
6846
|
export type QueryRootCollectionByHandleArgs = {
|
|
6774
|
-
handle: Scalars['String'];
|
|
6847
|
+
handle: Scalars['String']['input'];
|
|
6775
6848
|
};
|
|
6776
6849
|
|
|
6777
6850
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6778
6851
|
export type QueryRootCollectionsArgs = {
|
|
6779
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6780
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6781
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6782
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6783
|
-
query?: InputMaybe<Scalars['String']>;
|
|
6784
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6852
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6853
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6854
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6855
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6856
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6857
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6785
6858
|
sortKey?: InputMaybe<CollectionSortKeys>;
|
|
6786
6859
|
};
|
|
6787
6860
|
|
|
6788
6861
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6789
6862
|
export type QueryRootCustomerArgs = {
|
|
6790
|
-
customerAccessToken: Scalars['String'];
|
|
6863
|
+
customerAccessToken: Scalars['String']['input'];
|
|
6791
6864
|
};
|
|
6792
6865
|
|
|
6793
6866
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6794
6867
|
export type QueryRootLocationsArgs = {
|
|
6795
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6796
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6797
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6798
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6868
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6869
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6870
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6871
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6799
6872
|
near?: InputMaybe<GeoCoordinateInput>;
|
|
6800
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6873
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6801
6874
|
sortKey?: InputMaybe<LocationSortKeys>;
|
|
6802
6875
|
};
|
|
6803
6876
|
|
|
6804
6877
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6805
6878
|
export type QueryRootMenuArgs = {
|
|
6806
|
-
handle: Scalars['String'];
|
|
6879
|
+
handle: Scalars['String']['input'];
|
|
6807
6880
|
};
|
|
6808
6881
|
|
|
6809
6882
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6810
6883
|
export type QueryRootMetaobjectArgs = {
|
|
6811
6884
|
handle?: InputMaybe<MetaobjectHandleInput>;
|
|
6812
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
6885
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
6813
6886
|
};
|
|
6814
6887
|
|
|
6815
6888
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6816
6889
|
export type QueryRootMetaobjectsArgs = {
|
|
6817
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6818
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6819
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6820
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6821
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6822
|
-
sortKey?: InputMaybe<Scalars['String']>;
|
|
6823
|
-
type: Scalars['String'];
|
|
6890
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6891
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6892
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6893
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6894
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6895
|
+
sortKey?: InputMaybe<Scalars['String']['input']>;
|
|
6896
|
+
type: Scalars['String']['input'];
|
|
6824
6897
|
};
|
|
6825
6898
|
|
|
6826
6899
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6827
6900
|
export type QueryRootNodeArgs = {
|
|
6828
|
-
id: Scalars['ID'];
|
|
6901
|
+
id: Scalars['ID']['input'];
|
|
6829
6902
|
};
|
|
6830
6903
|
|
|
6831
6904
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6832
6905
|
export type QueryRootNodesArgs = {
|
|
6833
|
-
ids: Array<Scalars['ID']>;
|
|
6906
|
+
ids: Array<Scalars['ID']['input']>;
|
|
6834
6907
|
};
|
|
6835
6908
|
|
|
6836
6909
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6837
6910
|
export type QueryRootPageArgs = {
|
|
6838
|
-
handle?: InputMaybe<Scalars['String']>;
|
|
6839
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
6911
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
6912
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
6840
6913
|
};
|
|
6841
6914
|
|
|
6842
6915
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6843
6916
|
export type QueryRootPageByHandleArgs = {
|
|
6844
|
-
handle: Scalars['String'];
|
|
6917
|
+
handle: Scalars['String']['input'];
|
|
6845
6918
|
};
|
|
6846
6919
|
|
|
6847
6920
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6848
6921
|
export type QueryRootPagesArgs = {
|
|
6849
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6850
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6851
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6852
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6853
|
-
query?: InputMaybe<Scalars['String']>;
|
|
6854
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6922
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6923
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6924
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6925
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6926
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6927
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6855
6928
|
sortKey?: InputMaybe<PageSortKeys>;
|
|
6856
6929
|
};
|
|
6857
6930
|
|
|
6858
6931
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6859
6932
|
export type QueryRootPredictiveSearchArgs = {
|
|
6860
|
-
limit?: InputMaybe<Scalars['Int']>;
|
|
6933
|
+
limit?: InputMaybe<Scalars['Int']['input']>;
|
|
6861
6934
|
limitScope?: InputMaybe<PredictiveSearchLimitScope>;
|
|
6862
|
-
query: Scalars['String'];
|
|
6935
|
+
query: Scalars['String']['input'];
|
|
6863
6936
|
searchableFields?: InputMaybe<Array<SearchableField>>;
|
|
6864
6937
|
types?: InputMaybe<Array<PredictiveSearchType>>;
|
|
6865
6938
|
unavailableProducts?: InputMaybe<SearchUnavailableProductsType>;
|
|
@@ -6867,52 +6940,52 @@ export type QueryRootPredictiveSearchArgs = {
|
|
|
6867
6940
|
|
|
6868
6941
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6869
6942
|
export type QueryRootProductArgs = {
|
|
6870
|
-
handle?: InputMaybe<Scalars['String']>;
|
|
6871
|
-
id?: InputMaybe<Scalars['ID']>;
|
|
6943
|
+
handle?: InputMaybe<Scalars['String']['input']>;
|
|
6944
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
6872
6945
|
};
|
|
6873
6946
|
|
|
6874
6947
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6875
6948
|
export type QueryRootProductByHandleArgs = {
|
|
6876
|
-
handle: Scalars['String'];
|
|
6949
|
+
handle: Scalars['String']['input'];
|
|
6877
6950
|
};
|
|
6878
6951
|
|
|
6879
6952
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6880
6953
|
export type QueryRootProductRecommendationsArgs = {
|
|
6881
6954
|
intent?: InputMaybe<ProductRecommendationIntent>;
|
|
6882
|
-
productId: Scalars['ID'];
|
|
6955
|
+
productId: Scalars['ID']['input'];
|
|
6883
6956
|
};
|
|
6884
6957
|
|
|
6885
6958
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6886
6959
|
export type QueryRootProductTagsArgs = {
|
|
6887
|
-
first: Scalars['Int'];
|
|
6960
|
+
first: Scalars['Int']['input'];
|
|
6888
6961
|
};
|
|
6889
6962
|
|
|
6890
6963
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6891
6964
|
export type QueryRootProductTypesArgs = {
|
|
6892
|
-
first: Scalars['Int'];
|
|
6965
|
+
first: Scalars['Int']['input'];
|
|
6893
6966
|
};
|
|
6894
6967
|
|
|
6895
6968
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6896
6969
|
export type QueryRootProductsArgs = {
|
|
6897
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6898
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6899
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6900
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6901
|
-
query?: InputMaybe<Scalars['String']>;
|
|
6902
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6970
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6971
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6972
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6973
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6974
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
6975
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6903
6976
|
sortKey?: InputMaybe<ProductSortKeys>;
|
|
6904
6977
|
};
|
|
6905
6978
|
|
|
6906
6979
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6907
6980
|
export type QueryRootSearchArgs = {
|
|
6908
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6909
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6910
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6911
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6981
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6982
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6983
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6984
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
6912
6985
|
prefix?: InputMaybe<SearchPrefixQueryType>;
|
|
6913
6986
|
productFilters?: InputMaybe<Array<ProductFilter>>;
|
|
6914
|
-
query: Scalars['String'];
|
|
6915
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6987
|
+
query: Scalars['String']['input'];
|
|
6988
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6916
6989
|
sortKey?: InputMaybe<SearchSortKeys>;
|
|
6917
6990
|
types?: InputMaybe<Array<SearchType>>;
|
|
6918
6991
|
unavailableProducts?: InputMaybe<SearchUnavailableProductsType>;
|
|
@@ -6920,21 +6993,21 @@ export type QueryRootSearchArgs = {
|
|
|
6920
6993
|
|
|
6921
6994
|
/** The schema’s entry-point for queries. This acts as the public, top-level API from which all queries must start. */
|
|
6922
6995
|
export type QueryRootUrlRedirectsArgs = {
|
|
6923
|
-
after?: InputMaybe<Scalars['String']>;
|
|
6924
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6925
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6926
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6927
|
-
query?: InputMaybe<Scalars['String']>;
|
|
6928
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
6996
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
6997
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
6998
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
6999
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7000
|
+
query?: InputMaybe<Scalars['String']['input']>;
|
|
7001
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
6929
7002
|
};
|
|
6930
7003
|
|
|
6931
7004
|
/** SEO information. */
|
|
6932
7005
|
export type Seo = {
|
|
6933
7006
|
__typename?: 'SEO';
|
|
6934
7007
|
/** The meta description. */
|
|
6935
|
-
description?: Maybe<Scalars['String']>;
|
|
7008
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
6936
7009
|
/** The SEO title. */
|
|
6937
|
-
title?: Maybe<Scalars['String']>;
|
|
7010
|
+
title?: Maybe<Scalars['String']['output']>;
|
|
6938
7011
|
};
|
|
6939
7012
|
|
|
6940
7013
|
/**
|
|
@@ -6951,7 +7024,7 @@ export type ScriptDiscountApplication = DiscountApplication & {
|
|
|
6951
7024
|
/** The type of line that the discount is applicable towards. */
|
|
6952
7025
|
targetType: DiscountApplicationTargetType;
|
|
6953
7026
|
/** The title of the application as defined by the Script. */
|
|
6954
|
-
title: Scalars['String'];
|
|
7027
|
+
title: Scalars['String']['output'];
|
|
6955
7028
|
/** The value of the discount application. */
|
|
6956
7029
|
value: PricingValue;
|
|
6957
7030
|
};
|
|
@@ -6967,11 +7040,11 @@ export type SearchPrefixQueryType =
|
|
|
6967
7040
|
export type SearchQuerySuggestion = Trackable & {
|
|
6968
7041
|
__typename?: 'SearchQuerySuggestion';
|
|
6969
7042
|
/** The text of the search query suggestion with highlighted HTML tags. */
|
|
6970
|
-
styledText: Scalars['String'];
|
|
7043
|
+
styledText: Scalars['String']['output'];
|
|
6971
7044
|
/** The text of the search query suggestion. */
|
|
6972
|
-
text: Scalars['String'];
|
|
7045
|
+
text: Scalars['String']['output'];
|
|
6973
7046
|
/** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
|
|
6974
|
-
trackingParameters?: Maybe<Scalars['String']>;
|
|
7047
|
+
trackingParameters?: Maybe<Scalars['String']['output']>;
|
|
6975
7048
|
};
|
|
6976
7049
|
|
|
6977
7050
|
/**
|
|
@@ -6995,7 +7068,7 @@ export type SearchResultItemConnection = {
|
|
|
6995
7068
|
/** A list of available filters. */
|
|
6996
7069
|
productFilters: Array<Filter>;
|
|
6997
7070
|
/** The total number of results. */
|
|
6998
|
-
totalCount: Scalars['Int'];
|
|
7071
|
+
totalCount: Scalars['Int']['output'];
|
|
6999
7072
|
};
|
|
7000
7073
|
|
|
7001
7074
|
/**
|
|
@@ -7005,7 +7078,7 @@ export type SearchResultItemConnection = {
|
|
|
7005
7078
|
export type SearchResultItemEdge = {
|
|
7006
7079
|
__typename?: 'SearchResultItemEdge';
|
|
7007
7080
|
/** A cursor for use in pagination. */
|
|
7008
|
-
cursor: Scalars['String'];
|
|
7081
|
+
cursor: Scalars['String']['output'];
|
|
7009
7082
|
/** The item at the end of SearchResultItemEdge. */
|
|
7010
7083
|
node: SearchResultItem;
|
|
7011
7084
|
};
|
|
@@ -7064,17 +7137,17 @@ export type SearchableField =
|
|
|
7064
7137
|
export type SelectedOption = {
|
|
7065
7138
|
__typename?: 'SelectedOption';
|
|
7066
7139
|
/** The product option’s name. */
|
|
7067
|
-
name: Scalars['String'];
|
|
7140
|
+
name: Scalars['String']['output'];
|
|
7068
7141
|
/** The product option’s value. */
|
|
7069
|
-
value: Scalars['String'];
|
|
7142
|
+
value: Scalars['String']['output'];
|
|
7070
7143
|
};
|
|
7071
7144
|
|
|
7072
7145
|
/** The input fields required for a selected option. */
|
|
7073
7146
|
export type SelectedOptionInput = {
|
|
7074
7147
|
/** The product option’s name. */
|
|
7075
|
-
name: Scalars['String'];
|
|
7148
|
+
name: Scalars['String']['input'];
|
|
7076
7149
|
/** The product option’s value. */
|
|
7077
|
-
value: Scalars['String'];
|
|
7150
|
+
value: Scalars['String']['input'];
|
|
7078
7151
|
};
|
|
7079
7152
|
|
|
7080
7153
|
/** Represents how products and variants can be sold and purchased. */
|
|
@@ -7083,17 +7156,17 @@ export type SellingPlan = {
|
|
|
7083
7156
|
/** The initial payment due for the purchase. */
|
|
7084
7157
|
checkoutCharge: SellingPlanCheckoutCharge;
|
|
7085
7158
|
/** The description of the selling plan. */
|
|
7086
|
-
description?: Maybe<Scalars['String']>;
|
|
7159
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
7087
7160
|
/** A globally-unique ID. */
|
|
7088
|
-
id: Scalars['ID'];
|
|
7161
|
+
id: Scalars['ID']['output'];
|
|
7089
7162
|
/** The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'. */
|
|
7090
|
-
name: Scalars['String'];
|
|
7163
|
+
name: Scalars['String']['output'];
|
|
7091
7164
|
/** The selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing. */
|
|
7092
7165
|
options: Array<SellingPlanOption>;
|
|
7093
7166
|
/** The price adjustments that a selling plan makes when a variant is purchased with a selling plan. */
|
|
7094
7167
|
priceAdjustments: Array<SellingPlanPriceAdjustment>;
|
|
7095
7168
|
/** Whether purchasing the selling plan will result in multiple deliveries. */
|
|
7096
|
-
recurringDeliveries: Scalars['Boolean'];
|
|
7169
|
+
recurringDeliveries: Scalars['Boolean']['output'];
|
|
7097
7170
|
};
|
|
7098
7171
|
|
|
7099
7172
|
/** Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan. */
|
|
@@ -7130,7 +7203,7 @@ export type SellingPlanAllocationConnection = {
|
|
|
7130
7203
|
export type SellingPlanAllocationEdge = {
|
|
7131
7204
|
__typename?: 'SellingPlanAllocationEdge';
|
|
7132
7205
|
/** A cursor for use in pagination. */
|
|
7133
|
-
cursor: Scalars['String'];
|
|
7206
|
+
cursor: Scalars['String']['output'];
|
|
7134
7207
|
/** The item at the end of SellingPlanAllocationEdge. */
|
|
7135
7208
|
node: SellingPlanAllocation;
|
|
7136
7209
|
};
|
|
@@ -7161,7 +7234,7 @@ export type SellingPlanCheckoutCharge = {
|
|
|
7161
7234
|
export type SellingPlanCheckoutChargePercentageValue = {
|
|
7162
7235
|
__typename?: 'SellingPlanCheckoutChargePercentageValue';
|
|
7163
7236
|
/** The percentage value of the price used for checkout charge. */
|
|
7164
|
-
percentage: Scalars['Float'];
|
|
7237
|
+
percentage: Scalars['Float']['output'];
|
|
7165
7238
|
};
|
|
7166
7239
|
|
|
7167
7240
|
/** The checkout charge when the full amount isn't charged at checkout. */
|
|
@@ -7197,7 +7270,7 @@ export type SellingPlanConnection = {
|
|
|
7197
7270
|
export type SellingPlanEdge = {
|
|
7198
7271
|
__typename?: 'SellingPlanEdge';
|
|
7199
7272
|
/** A cursor for use in pagination. */
|
|
7200
|
-
cursor: Scalars['String'];
|
|
7273
|
+
cursor: Scalars['String']['output'];
|
|
7201
7274
|
/** The item at the end of SellingPlanEdge. */
|
|
7202
7275
|
node: SellingPlan;
|
|
7203
7276
|
};
|
|
@@ -7220,9 +7293,9 @@ export type SellingPlanFixedPriceAdjustment = {
|
|
|
7220
7293
|
export type SellingPlanGroup = {
|
|
7221
7294
|
__typename?: 'SellingPlanGroup';
|
|
7222
7295
|
/** A display friendly name for the app that created the selling plan group. */
|
|
7223
|
-
appName?: Maybe<Scalars['String']>;
|
|
7296
|
+
appName?: Maybe<Scalars['String']['output']>;
|
|
7224
7297
|
/** The name of the selling plan group. */
|
|
7225
|
-
name: Scalars['String'];
|
|
7298
|
+
name: Scalars['String']['output'];
|
|
7226
7299
|
/** Represents the selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. */
|
|
7227
7300
|
options: Array<SellingPlanGroupOption>;
|
|
7228
7301
|
/** A list of selling plans in a selling plan group. A selling plan is a representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */
|
|
@@ -7231,11 +7304,11 @@ export type SellingPlanGroup = {
|
|
|
7231
7304
|
|
|
7232
7305
|
/** Represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */
|
|
7233
7306
|
export type SellingPlanGroupSellingPlansArgs = {
|
|
7234
|
-
after?: InputMaybe<Scalars['String']>;
|
|
7235
|
-
before?: InputMaybe<Scalars['String']>;
|
|
7236
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
7237
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
7238
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
7307
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
7308
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
7309
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
7310
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
7311
|
+
reverse?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7239
7312
|
};
|
|
7240
7313
|
|
|
7241
7314
|
/**
|
|
@@ -7259,7 +7332,7 @@ export type SellingPlanGroupConnection = {
|
|
|
7259
7332
|
export type SellingPlanGroupEdge = {
|
|
7260
7333
|
__typename?: 'SellingPlanGroupEdge';
|
|
7261
7334
|
/** A cursor for use in pagination. */
|
|
7262
|
-
cursor: Scalars['String'];
|
|
7335
|
+
cursor: Scalars['String']['output'];
|
|
7263
7336
|
/** The item at the end of SellingPlanGroupEdge. */
|
|
7264
7337
|
node: SellingPlanGroup;
|
|
7265
7338
|
};
|
|
@@ -7272,25 +7345,25 @@ export type SellingPlanGroupEdge = {
|
|
|
7272
7345
|
export type SellingPlanGroupOption = {
|
|
7273
7346
|
__typename?: 'SellingPlanGroupOption';
|
|
7274
7347
|
/** The name of the option. For example, 'Delivery every'. */
|
|
7275
|
-
name: Scalars['String'];
|
|
7348
|
+
name: Scalars['String']['output'];
|
|
7276
7349
|
/** The values for the options specified by the selling plans in the selling plan group. For example, '1 week', '2 weeks', '3 weeks'. */
|
|
7277
|
-
values: Array<Scalars['String']>;
|
|
7350
|
+
values: Array<Scalars['String']['output']>;
|
|
7278
7351
|
};
|
|
7279
7352
|
|
|
7280
7353
|
/** An option provided by a Selling Plan. */
|
|
7281
7354
|
export type SellingPlanOption = {
|
|
7282
7355
|
__typename?: 'SellingPlanOption';
|
|
7283
7356
|
/** The name of the option (ie "Delivery every"). */
|
|
7284
|
-
name?: Maybe<Scalars['String']>;
|
|
7357
|
+
name?: Maybe<Scalars['String']['output']>;
|
|
7285
7358
|
/** The value of the option (ie "Month"). */
|
|
7286
|
-
value?: Maybe<Scalars['String']>;
|
|
7359
|
+
value?: Maybe<Scalars['String']['output']>;
|
|
7287
7360
|
};
|
|
7288
7361
|
|
|
7289
7362
|
/** A percentage amount that's deducted from the original variant price. For example, 10% off. */
|
|
7290
7363
|
export type SellingPlanPercentagePriceAdjustment = {
|
|
7291
7364
|
__typename?: 'SellingPlanPercentagePriceAdjustment';
|
|
7292
7365
|
/** The percentage value of the price adjustment. */
|
|
7293
|
-
adjustmentPercentage: Scalars['Int'];
|
|
7366
|
+
adjustmentPercentage: Scalars['Int']['output'];
|
|
7294
7367
|
};
|
|
7295
7368
|
|
|
7296
7369
|
/** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the `orderCount` field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price. */
|
|
@@ -7299,7 +7372,7 @@ export type SellingPlanPriceAdjustment = {
|
|
|
7299
7372
|
/** The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price. */
|
|
7300
7373
|
adjustmentValue: SellingPlanPriceAdjustmentValue;
|
|
7301
7374
|
/** The number of orders that the price adjustment applies to. If the price adjustment always applies, then this field is `null`. */
|
|
7302
|
-
orderCount?: Maybe<Scalars['Int']>;
|
|
7375
|
+
orderCount?: Maybe<Scalars['Int']['output']>;
|
|
7303
7376
|
};
|
|
7304
7377
|
|
|
7305
7378
|
/** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. */
|
|
@@ -7312,7 +7385,7 @@ export type SellingPlanPriceAdjustmentValue =
|
|
|
7312
7385
|
export type ShippingRate = {
|
|
7313
7386
|
__typename?: 'ShippingRate';
|
|
7314
7387
|
/** Human-readable unique identifier for this shipping rate. */
|
|
7315
|
-
handle: Scalars['String'];
|
|
7388
|
+
handle: Scalars['String']['output'];
|
|
7316
7389
|
/** Price of this shipping rate. */
|
|
7317
7390
|
price: MoneyV2;
|
|
7318
7391
|
/**
|
|
@@ -7321,7 +7394,7 @@ export type ShippingRate = {
|
|
|
7321
7394
|
*/
|
|
7322
7395
|
priceV2: MoneyV2;
|
|
7323
7396
|
/** Title of this shipping rate. */
|
|
7324
|
-
title: Scalars['String'];
|
|
7397
|
+
title: Scalars['String']['output'];
|
|
7325
7398
|
};
|
|
7326
7399
|
|
|
7327
7400
|
/** Shop represents a collection of the general settings and information about the shop. */
|
|
@@ -7331,20 +7404,17 @@ export type Shop = HasMetafields &
|
|
|
7331
7404
|
/** The shop's branding configuration. */
|
|
7332
7405
|
brand?: Maybe<Brand>;
|
|
7333
7406
|
/** A description of the shop. */
|
|
7334
|
-
description?: Maybe<Scalars['String']>;
|
|
7407
|
+
description?: Maybe<Scalars['String']['output']>;
|
|
7335
7408
|
/** A globally-unique ID. */
|
|
7336
|
-
id: Scalars['ID'];
|
|
7409
|
+
id: Scalars['ID']['output'];
|
|
7337
7410
|
/** Returns a metafield found by namespace and key. */
|
|
7338
7411
|
metafield?: Maybe<Metafield>;
|
|
7339
|
-
/**
|
|
7340
|
-
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
7341
|
-
*
|
|
7342
|
-
*/
|
|
7412
|
+
/** The metafields associated with the resource matching the supplied list of namespaces and keys. */
|
|
7343
7413
|
metafields: Array<Maybe<Metafield>>;
|
|
7344
7414
|
/** A string representing the way currency is formatted when the currency isn’t specified. */
|
|
7345
|
-
moneyFormat: Scalars['String'];
|
|
7415
|
+
moneyFormat: Scalars['String']['output'];
|
|
7346
7416
|
/** The shop’s name. */
|
|
7347
|
-
name: Scalars['String'];
|
|
7417
|
+
name: Scalars['String']['output'];
|
|
7348
7418
|
/** Settings related to payments. */
|
|
7349
7419
|
paymentSettings: PaymentSettings;
|
|
7350
7420
|
/** The primary domain of the shop’s Online Store. */
|
|
@@ -7365,8 +7435,8 @@ export type Shop = HasMetafields &
|
|
|
7365
7435
|
|
|
7366
7436
|
/** Shop represents a collection of the general settings and information about the shop. */
|
|
7367
7437
|
export type ShopMetafieldArgs = {
|
|
7368
|
-
key: Scalars['String'];
|
|
7369
|
-
namespace
|
|
7438
|
+
key: Scalars['String']['input'];
|
|
7439
|
+
namespace?: InputMaybe<Scalars['String']['input']>;
|
|
7370
7440
|
};
|
|
7371
7441
|
|
|
7372
7442
|
/** Shop represents a collection of the general settings and information about the shop. */
|
|
@@ -7382,22 +7452,22 @@ export type ShopPayWalletContentInput = {
|
|
|
7382
7452
|
/** The customer's billing address. */
|
|
7383
7453
|
billingAddress: MailingAddressInput;
|
|
7384
7454
|
/** Session token for transaction. */
|
|
7385
|
-
sessionToken: Scalars['String'];
|
|
7455
|
+
sessionToken: Scalars['String']['input'];
|
|
7386
7456
|
};
|
|
7387
7457
|
|
|
7388
7458
|
/** Policy that a merchant has configured for their store, such as their refund or privacy policy. */
|
|
7389
7459
|
export type ShopPolicy = Node & {
|
|
7390
7460
|
__typename?: 'ShopPolicy';
|
|
7391
7461
|
/** Policy text, maximum size of 64kb. */
|
|
7392
|
-
body: Scalars['String'];
|
|
7462
|
+
body: Scalars['String']['output'];
|
|
7393
7463
|
/** Policy’s handle. */
|
|
7394
|
-
handle: Scalars['String'];
|
|
7464
|
+
handle: Scalars['String']['output'];
|
|
7395
7465
|
/** A globally-unique ID. */
|
|
7396
|
-
id: Scalars['ID'];
|
|
7466
|
+
id: Scalars['ID']['output'];
|
|
7397
7467
|
/** Policy’s title. */
|
|
7398
|
-
title: Scalars['String'];
|
|
7468
|
+
title: Scalars['String']['output'];
|
|
7399
7469
|
/** Public URL to the policy. */
|
|
7400
|
-
url: Scalars['URL'];
|
|
7470
|
+
url: Scalars['URL']['output'];
|
|
7401
7471
|
};
|
|
7402
7472
|
|
|
7403
7473
|
/**
|
|
@@ -7409,15 +7479,15 @@ export type ShopPolicy = Node & {
|
|
|
7409
7479
|
export type ShopPolicyWithDefault = {
|
|
7410
7480
|
__typename?: 'ShopPolicyWithDefault';
|
|
7411
7481
|
/** The text of the policy. Maximum size: 64KB. */
|
|
7412
|
-
body: Scalars['String'];
|
|
7482
|
+
body: Scalars['String']['output'];
|
|
7413
7483
|
/** The handle of the policy. */
|
|
7414
|
-
handle: Scalars['String'];
|
|
7484
|
+
handle: Scalars['String']['output'];
|
|
7415
7485
|
/** The unique ID of the policy. A default policy doesn't have an ID. */
|
|
7416
|
-
id?: Maybe<Scalars['ID']>;
|
|
7486
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
7417
7487
|
/** The title of the policy. */
|
|
7418
|
-
title: Scalars['String'];
|
|
7488
|
+
title: Scalars['String']['output'];
|
|
7419
7489
|
/** Public URL to the policy. */
|
|
7420
|
-
url: Scalars['URL'];
|
|
7490
|
+
url: Scalars['URL']['output'];
|
|
7421
7491
|
};
|
|
7422
7492
|
|
|
7423
7493
|
/**
|
|
@@ -7428,13 +7498,13 @@ export type ShopPolicyWithDefault = {
|
|
|
7428
7498
|
export type StoreAvailability = {
|
|
7429
7499
|
__typename?: 'StoreAvailability';
|
|
7430
7500
|
/** Whether the product variant is in-stock at this location. */
|
|
7431
|
-
available: Scalars['Boolean'];
|
|
7501
|
+
available: Scalars['Boolean']['output'];
|
|
7432
7502
|
/** The location where this product variant is stocked at. */
|
|
7433
7503
|
location: Location;
|
|
7434
7504
|
/** Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). */
|
|
7435
|
-
pickUpTime: Scalars['String'];
|
|
7505
|
+
pickUpTime: Scalars['String']['output'];
|
|
7436
7506
|
/** The quantity of the product variant in-stock at this location. */
|
|
7437
|
-
quantityAvailable: Scalars['Int'];
|
|
7507
|
+
quantityAvailable: Scalars['Int']['output'];
|
|
7438
7508
|
};
|
|
7439
7509
|
|
|
7440
7510
|
/**
|
|
@@ -7458,7 +7528,7 @@ export type StoreAvailabilityConnection = {
|
|
|
7458
7528
|
export type StoreAvailabilityEdge = {
|
|
7459
7529
|
__typename?: 'StoreAvailabilityEdge';
|
|
7460
7530
|
/** A cursor for use in pagination. */
|
|
7461
|
-
cursor: Scalars['String'];
|
|
7531
|
+
cursor: Scalars['String']['output'];
|
|
7462
7532
|
/** The item at the end of StoreAvailabilityEdge. */
|
|
7463
7533
|
node: StoreAvailability;
|
|
7464
7534
|
};
|
|
@@ -7482,9 +7552,9 @@ export type StringConnection = {
|
|
|
7482
7552
|
export type StringEdge = {
|
|
7483
7553
|
__typename?: 'StringEdge';
|
|
7484
7554
|
/** A cursor for use in pagination. */
|
|
7485
|
-
cursor: Scalars['String'];
|
|
7555
|
+
cursor: Scalars['String']['output'];
|
|
7486
7556
|
/** The item at the end of StringEdge. */
|
|
7487
|
-
node: Scalars['String'];
|
|
7557
|
+
node: Scalars['String']['output'];
|
|
7488
7558
|
};
|
|
7489
7559
|
|
|
7490
7560
|
/** An error that occurred during cart submit for completion. */
|
|
@@ -7493,7 +7563,7 @@ export type SubmissionError = {
|
|
|
7493
7563
|
/** The error code. */
|
|
7494
7564
|
code: SubmissionErrorCode;
|
|
7495
7565
|
/** The error message. */
|
|
7496
|
-
message?: Maybe<Scalars['String']>;
|
|
7566
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
7497
7567
|
};
|
|
7498
7568
|
|
|
7499
7569
|
/** The code of the error that occurred during cart submit for completion. */
|
|
@@ -7596,14 +7666,14 @@ export type SubmissionErrorCode =
|
|
|
7596
7666
|
export type SubmitAlreadyAccepted = {
|
|
7597
7667
|
__typename?: 'SubmitAlreadyAccepted';
|
|
7598
7668
|
/** The ID of the cart completion attempt that will be used for polling for the result. */
|
|
7599
|
-
attemptId: Scalars['String'];
|
|
7669
|
+
attemptId: Scalars['String']['output'];
|
|
7600
7670
|
};
|
|
7601
7671
|
|
|
7602
7672
|
/** Cart submit for checkout completion failed. */
|
|
7603
7673
|
export type SubmitFailed = {
|
|
7604
7674
|
__typename?: 'SubmitFailed';
|
|
7605
7675
|
/** The URL of the checkout for the cart. */
|
|
7606
|
-
checkoutUrl?: Maybe<Scalars['URL']>;
|
|
7676
|
+
checkoutUrl?: Maybe<Scalars['URL']['output']>;
|
|
7607
7677
|
/** The list of errors that occurred from executing the mutation. */
|
|
7608
7678
|
errors: Array<SubmissionError>;
|
|
7609
7679
|
};
|
|
@@ -7612,7 +7682,7 @@ export type SubmitFailed = {
|
|
|
7612
7682
|
export type SubmitSuccess = {
|
|
7613
7683
|
__typename?: 'SubmitSuccess';
|
|
7614
7684
|
/** The ID of the cart completion attempt that will be used for polling for the result. */
|
|
7615
|
-
attemptId: Scalars['String'];
|
|
7685
|
+
attemptId: Scalars['String']['output'];
|
|
7616
7686
|
};
|
|
7617
7687
|
|
|
7618
7688
|
/** Cart submit for checkout completion is throttled. */
|
|
@@ -7624,7 +7694,7 @@ export type SubmitThrottled = {
|
|
|
7624
7694
|
* next poll request.
|
|
7625
7695
|
*
|
|
7626
7696
|
*/
|
|
7627
|
-
pollAfter: Scalars['DateTime'];
|
|
7697
|
+
pollAfter: Scalars['DateTime']['output'];
|
|
7628
7698
|
};
|
|
7629
7699
|
|
|
7630
7700
|
/**
|
|
@@ -7636,15 +7706,15 @@ export type TokenizedPaymentInputV3 = {
|
|
|
7636
7706
|
/** The billing address for the payment. */
|
|
7637
7707
|
billingAddress: MailingAddressInput;
|
|
7638
7708
|
/** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */
|
|
7639
|
-
idempotencyKey: Scalars['String'];
|
|
7709
|
+
idempotencyKey: Scalars['String']['input'];
|
|
7640
7710
|
/** Public Hash Key used for AndroidPay payments only. */
|
|
7641
|
-
identifier?: InputMaybe<Scalars['String']>;
|
|
7711
|
+
identifier?: InputMaybe<Scalars['String']['input']>;
|
|
7642
7712
|
/** The amount and currency of the payment. */
|
|
7643
7713
|
paymentAmount: MoneyInput;
|
|
7644
7714
|
/** A simple string or JSON containing the required payment data for the tokenized payment. */
|
|
7645
|
-
paymentData: Scalars['String'];
|
|
7715
|
+
paymentData: Scalars['String']['input'];
|
|
7646
7716
|
/** Whether to execute the payment in test mode, if possible. Test mode isn't supported in production stores. Defaults to `false`. */
|
|
7647
|
-
test?: InputMaybe<Scalars['Boolean']>;
|
|
7717
|
+
test?: InputMaybe<Scalars['Boolean']['input']>;
|
|
7648
7718
|
/** The type of payment token. */
|
|
7649
7719
|
type: PaymentTokenType;
|
|
7650
7720
|
};
|
|
@@ -7652,7 +7722,7 @@ export type TokenizedPaymentInputV3 = {
|
|
|
7652
7722
|
/** Represents a resource that you can track the origin of the search traffic. */
|
|
7653
7723
|
export type Trackable = {
|
|
7654
7724
|
/** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
|
|
7655
|
-
trackingParameters?: Maybe<Scalars['String']>;
|
|
7725
|
+
trackingParameters?: Maybe<Scalars['String']['output']>;
|
|
7656
7726
|
};
|
|
7657
7727
|
|
|
7658
7728
|
/** An object representing exchange of money for a product or service. */
|
|
@@ -7675,7 +7745,7 @@ export type Transaction = {
|
|
|
7675
7745
|
/** The status of the transaction. */
|
|
7676
7746
|
statusV2?: Maybe<TransactionStatus>;
|
|
7677
7747
|
/** Whether the transaction was done in test mode or not. */
|
|
7678
|
-
test: Scalars['Boolean'];
|
|
7748
|
+
test: Scalars['Boolean']['output'];
|
|
7679
7749
|
};
|
|
7680
7750
|
|
|
7681
7751
|
/** The different kinds of order transactions. */
|
|
@@ -7717,11 +7787,11 @@ export type UnitPriceMeasurement = {
|
|
|
7717
7787
|
/** The quantity unit for the unit price measurement. */
|
|
7718
7788
|
quantityUnit?: Maybe<UnitPriceMeasurementMeasuredUnit>;
|
|
7719
7789
|
/** The quantity value for the unit price measurement. */
|
|
7720
|
-
quantityValue: Scalars['Float'];
|
|
7790
|
+
quantityValue: Scalars['Float']['output'];
|
|
7721
7791
|
/** The reference unit for the unit price measurement. */
|
|
7722
7792
|
referenceUnit?: Maybe<UnitPriceMeasurementMeasuredUnit>;
|
|
7723
7793
|
/** The reference value for the unit price measurement. */
|
|
7724
|
-
referenceValue: Scalars['Int'];
|
|
7794
|
+
referenceValue: Scalars['Int']['output'];
|
|
7725
7795
|
};
|
|
7726
7796
|
|
|
7727
7797
|
/** The accepted types of unit of measurement. */
|
|
@@ -7771,11 +7841,11 @@ export type UnitSystem =
|
|
|
7771
7841
|
export type UrlRedirect = Node & {
|
|
7772
7842
|
__typename?: 'UrlRedirect';
|
|
7773
7843
|
/** The ID of the URL redirect. */
|
|
7774
|
-
id: Scalars['ID'];
|
|
7844
|
+
id: Scalars['ID']['output'];
|
|
7775
7845
|
/** The old path to be redirected from. When the user visits this path, they'll be redirected to the target location. */
|
|
7776
|
-
path: Scalars['String'];
|
|
7846
|
+
path: Scalars['String']['output'];
|
|
7777
7847
|
/** The target location where the user will be redirected to. */
|
|
7778
|
-
target: Scalars['String'];
|
|
7848
|
+
target: Scalars['String']['output'];
|
|
7779
7849
|
};
|
|
7780
7850
|
|
|
7781
7851
|
/**
|
|
@@ -7799,7 +7869,7 @@ export type UrlRedirectConnection = {
|
|
|
7799
7869
|
export type UrlRedirectEdge = {
|
|
7800
7870
|
__typename?: 'UrlRedirectEdge';
|
|
7801
7871
|
/** A cursor for use in pagination. */
|
|
7802
|
-
cursor: Scalars['String'];
|
|
7872
|
+
cursor: Scalars['String']['output'];
|
|
7803
7873
|
/** The item at the end of UrlRedirectEdge. */
|
|
7804
7874
|
node: UrlRedirect;
|
|
7805
7875
|
};
|
|
@@ -7808,20 +7878,17 @@ export type UrlRedirectEdge = {
|
|
|
7808
7878
|
export type UserError = DisplayableError & {
|
|
7809
7879
|
__typename?: 'UserError';
|
|
7810
7880
|
/** The path to the input field that caused the error. */
|
|
7811
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
7881
|
+
field?: Maybe<Array<Scalars['String']['output']>>;
|
|
7812
7882
|
/** The error message. */
|
|
7813
|
-
message: Scalars['String'];
|
|
7883
|
+
message: Scalars['String']['output'];
|
|
7814
7884
|
};
|
|
7815
7885
|
|
|
7816
|
-
/**
|
|
7817
|
-
* The input fields for a filter used to view a subset of products in a collection matching a specific variant option.
|
|
7818
|
-
*
|
|
7819
|
-
*/
|
|
7886
|
+
/** The input fields for a filter used to view a subset of products in a collection matching a specific variant option. */
|
|
7820
7887
|
export type VariantOptionFilter = {
|
|
7821
7888
|
/** The name of the variant option to filter on. */
|
|
7822
|
-
name: Scalars['String'];
|
|
7889
|
+
name: Scalars['String']['input'];
|
|
7823
7890
|
/** The value of the variant option to filter on. */
|
|
7824
|
-
value: Scalars['String'];
|
|
7891
|
+
value: Scalars['String']['input'];
|
|
7825
7892
|
};
|
|
7826
7893
|
|
|
7827
7894
|
/** Represents a Shopify hosted video. */
|
|
@@ -7829,9 +7896,9 @@ export type Video = Media &
|
|
|
7829
7896
|
Node & {
|
|
7830
7897
|
__typename?: 'Video';
|
|
7831
7898
|
/** A word or phrase to share the nature or contents of a media. */
|
|
7832
|
-
alt?: Maybe<Scalars['String']>;
|
|
7899
|
+
alt?: Maybe<Scalars['String']['output']>;
|
|
7833
7900
|
/** A globally-unique ID. */
|
|
7834
|
-
id: Scalars['ID'];
|
|
7901
|
+
id: Scalars['ID']['output'];
|
|
7835
7902
|
/** The media content type. */
|
|
7836
7903
|
mediaContentType: MediaContentType;
|
|
7837
7904
|
/** The presentation for a media. */
|
|
@@ -7846,15 +7913,15 @@ export type Video = Media &
|
|
|
7846
7913
|
export type VideoSource = {
|
|
7847
7914
|
__typename?: 'VideoSource';
|
|
7848
7915
|
/** The format of the video source. */
|
|
7849
|
-
format: Scalars['String'];
|
|
7916
|
+
format: Scalars['String']['output'];
|
|
7850
7917
|
/** The height of the video. */
|
|
7851
|
-
height: Scalars['Int'];
|
|
7918
|
+
height: Scalars['Int']['output'];
|
|
7852
7919
|
/** The video MIME type. */
|
|
7853
|
-
mimeType: Scalars['String'];
|
|
7920
|
+
mimeType: Scalars['String']['output'];
|
|
7854
7921
|
/** The URL of the video. */
|
|
7855
|
-
url: Scalars['String'];
|
|
7922
|
+
url: Scalars['String']['output'];
|
|
7856
7923
|
/** The width of the video. */
|
|
7857
|
-
width: Scalars['Int'];
|
|
7924
|
+
width: Scalars['Int']['output'];
|
|
7858
7925
|
};
|
|
7859
7926
|
|
|
7860
7927
|
/** Units of measurement for weight. */
|