@shopify/shop-minis-cli 0.3.1 → 0.3.2
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/build/commands/create/examples/default/AGENTS.md +3 -1
- package/build/commands/disable/index.d.ts +2 -0
- package/build/commands/disable/index.js +30 -0
- package/build/commands/disable/index.js.map +1 -0
- package/build/commands/enable/index.d.ts +2 -0
- package/build/commands/enable/index.js +30 -0
- package/build/commands/enable/index.js.map +1 -0
- package/build/data/mini-toggle.d.ts +6 -0
- package/build/data/mini-toggle.js +14 -0
- package/build/data/mini-toggle.js.map +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +7 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +1 -0
- package/build/data/types/autogenerated/shop-minis-admin-api/gql.js.map +1 -1
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +29 -1244
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +55 -560
- package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -1
- package/build/program.js +4 -0
- package/build/program.js.map +1 -1
- package/build/utils/scopes-validation.d.ts +8 -2
- package/build/utils/scopes-validation.js +27 -3
- package/build/utils/scopes-validation.js.map +1 -1
- package/dashboard/node_modules/.modules.yaml +1 -1
- package/dashboard/node_modules/.pnpm-workspace-state-v1.json +1 -1
- package/package.json +1 -1
- package/scripts/graphql-codegen.ts +13 -1
|
@@ -19,8 +19,6 @@ export type Scalars = {
|
|
|
19
19
|
Boolean: boolean;
|
|
20
20
|
Int: number;
|
|
21
21
|
Float: number;
|
|
22
|
-
/** A signed decimal number serialized as a string. Example value: `"29.99"`. */
|
|
23
|
-
Decimal: any;
|
|
24
22
|
/** An ISO 8601-encoded date */
|
|
25
23
|
ISO8601Date: any;
|
|
26
24
|
/** An ISO 8601-encoded datetime */
|
|
@@ -181,21 +179,6 @@ export declare enum ContentCreateUserErrorCode {
|
|
|
181
179
|
/** Some products are not eligible for Shop. */
|
|
182
180
|
IneligibleProducts = "INELIGIBLE_PRODUCTS"
|
|
183
181
|
}
|
|
184
|
-
/** This is a content creator that may appear next to a Mini entry point. */
|
|
185
|
-
export type ContentCreator = {
|
|
186
|
-
__typename?: 'ContentCreator';
|
|
187
|
-
/** The avatar of the content creator. */
|
|
188
|
-
avatar?: Maybe<Image>;
|
|
189
|
-
/** The name of the content creator. */
|
|
190
|
-
name: Scalars['String'];
|
|
191
|
-
};
|
|
192
|
-
/** Content creator that may appear next to a Mini entry point. */
|
|
193
|
-
export type ContentCreatorInput = {
|
|
194
|
-
/** The avatar of the content creator. */
|
|
195
|
-
avatar?: InputMaybe<ImageInput>;
|
|
196
|
-
/** The name of the content creator. */
|
|
197
|
-
name: Scalars['String'];
|
|
198
|
-
};
|
|
199
182
|
/** Content status options. */
|
|
200
183
|
export declare enum ContentStatus {
|
|
201
184
|
/** Content is pending review. */
|
|
@@ -205,426 +188,6 @@ export declare enum ContentStatus {
|
|
|
205
188
|
/** Content has been rejected. */
|
|
206
189
|
Rejected = "REJECTED"
|
|
207
190
|
}
|
|
208
|
-
/** ISO currency code. */
|
|
209
|
-
export declare enum CurrencyCode {
|
|
210
|
-
/** United Arab Emirates Dirham. */
|
|
211
|
-
Aed = "AED",
|
|
212
|
-
/** Afghan Afghani. */
|
|
213
|
-
Afn = "AFN",
|
|
214
|
-
/** Albanian Lek. */
|
|
215
|
-
All = "ALL",
|
|
216
|
-
/** Armenian Dram. */
|
|
217
|
-
Amd = "AMD",
|
|
218
|
-
/** Netherlands Antillean Gulden. */
|
|
219
|
-
Ang = "ANG",
|
|
220
|
-
/** Angolan Kwanza. */
|
|
221
|
-
Aoa = "AOA",
|
|
222
|
-
/** Argentine Peso. */
|
|
223
|
-
Ars = "ARS",
|
|
224
|
-
/** Australian Dollar. */
|
|
225
|
-
Aud = "AUD",
|
|
226
|
-
/** Aruban Florin. */
|
|
227
|
-
Awg = "AWG",
|
|
228
|
-
/** Azerbaijani Manat. */
|
|
229
|
-
Azn = "AZN",
|
|
230
|
-
/** Bosnia and Herzegovina Convertible Mark. */
|
|
231
|
-
Bam = "BAM",
|
|
232
|
-
/** Barbadian Dollar. */
|
|
233
|
-
Bbd = "BBD",
|
|
234
|
-
/** Bangladeshi Taka. */
|
|
235
|
-
Bdt = "BDT",
|
|
236
|
-
/** Bulgarian Lev. */
|
|
237
|
-
Bgn = "BGN",
|
|
238
|
-
/** Bahraini Dinar. */
|
|
239
|
-
Bhd = "BHD",
|
|
240
|
-
/** Burundian Franc. */
|
|
241
|
-
Bif = "BIF",
|
|
242
|
-
/** Bermudian Dollar. */
|
|
243
|
-
Bmd = "BMD",
|
|
244
|
-
/** Brunei Dollar. */
|
|
245
|
-
Bnd = "BND",
|
|
246
|
-
/** Bolivian Boliviano. */
|
|
247
|
-
Bob = "BOB",
|
|
248
|
-
/** Brazilian Real. */
|
|
249
|
-
Brl = "BRL",
|
|
250
|
-
/** Bahamian Dollar. */
|
|
251
|
-
Bsd = "BSD",
|
|
252
|
-
/** Bhutanese Ngultrum. */
|
|
253
|
-
Btn = "BTN",
|
|
254
|
-
/** Botswana Pula. */
|
|
255
|
-
Bwp = "BWP",
|
|
256
|
-
/** Belarusian Ruble. */
|
|
257
|
-
Byn = "BYN",
|
|
258
|
-
/** Belarusian Ruble. */
|
|
259
|
-
Byr = "BYR",
|
|
260
|
-
/** Belize Dollar. */
|
|
261
|
-
Bzd = "BZD",
|
|
262
|
-
/** Canadian Dollar. */
|
|
263
|
-
Cad = "CAD",
|
|
264
|
-
/** Congolese Franc. */
|
|
265
|
-
Cdf = "CDF",
|
|
266
|
-
/** Swiss Franc. */
|
|
267
|
-
Chf = "CHF",
|
|
268
|
-
/** Unidad de Fomento. */
|
|
269
|
-
Clf = "CLF",
|
|
270
|
-
/** Chilean Peso. */
|
|
271
|
-
Clp = "CLP",
|
|
272
|
-
/** Chinese Renminbi Yuan. */
|
|
273
|
-
Cny = "CNY",
|
|
274
|
-
/** Colombian Peso. */
|
|
275
|
-
Cop = "COP",
|
|
276
|
-
/** Costa Rican Colón. */
|
|
277
|
-
Crc = "CRC",
|
|
278
|
-
/** Cuban Convertible Peso. */
|
|
279
|
-
Cuc = "CUC",
|
|
280
|
-
/** Cuban Peso. */
|
|
281
|
-
Cup = "CUP",
|
|
282
|
-
/** Cape Verdean Escudo. */
|
|
283
|
-
Cve = "CVE",
|
|
284
|
-
/** Cypriot pound. */
|
|
285
|
-
Cyp = "CYP",
|
|
286
|
-
/** Czech Koruna. */
|
|
287
|
-
Czk = "CZK",
|
|
288
|
-
/** Djiboutian Franc. */
|
|
289
|
-
Djf = "DJF",
|
|
290
|
-
/** Danish Krone. */
|
|
291
|
-
Dkk = "DKK",
|
|
292
|
-
/** Dominican Peso. */
|
|
293
|
-
Dop = "DOP",
|
|
294
|
-
/** Algerian Dinar. */
|
|
295
|
-
Dzd = "DZD",
|
|
296
|
-
/** Estonian Kroon. */
|
|
297
|
-
Eek = "EEK",
|
|
298
|
-
/** Egyptian Pound. */
|
|
299
|
-
Egp = "EGP",
|
|
300
|
-
/** Eritrean Nakfa. */
|
|
301
|
-
Ern = "ERN",
|
|
302
|
-
/** Ethiopian Birr. */
|
|
303
|
-
Etb = "ETB",
|
|
304
|
-
/** Euro. */
|
|
305
|
-
Eur = "EUR",
|
|
306
|
-
/** Fijian Dollar. */
|
|
307
|
-
Fjd = "FJD",
|
|
308
|
-
/** Falkland Pound. */
|
|
309
|
-
Fkp = "FKP",
|
|
310
|
-
/** British Pound. */
|
|
311
|
-
Gbp = "GBP",
|
|
312
|
-
/** British Penny. */
|
|
313
|
-
Gbx = "GBX",
|
|
314
|
-
/** Georgian Lari. */
|
|
315
|
-
Gel = "GEL",
|
|
316
|
-
/** Guernsey Pound. */
|
|
317
|
-
Ggp = "GGP",
|
|
318
|
-
/** Ghanaian Cedi. */
|
|
319
|
-
Ghc = "GHC",
|
|
320
|
-
/** Ghanaian Cedi. */
|
|
321
|
-
Ghs = "GHS",
|
|
322
|
-
/** Gibraltar Pound. */
|
|
323
|
-
Gip = "GIP",
|
|
324
|
-
/** Gambian Dalasi. */
|
|
325
|
-
Gmd = "GMD",
|
|
326
|
-
/** Guinean Franc. */
|
|
327
|
-
Gnf = "GNF",
|
|
328
|
-
/** Guatemalan Quetzal. */
|
|
329
|
-
Gtq = "GTQ",
|
|
330
|
-
/** Guyanese Dollar. */
|
|
331
|
-
Gyd = "GYD",
|
|
332
|
-
/** Hong Kong Dollar. */
|
|
333
|
-
Hkd = "HKD",
|
|
334
|
-
/** Honduran Lempira. */
|
|
335
|
-
Hnl = "HNL",
|
|
336
|
-
/** Croatian Kuna. */
|
|
337
|
-
Hrk = "HRK",
|
|
338
|
-
/** Haitian Gourde. */
|
|
339
|
-
Htg = "HTG",
|
|
340
|
-
/** Hungarian Forint. */
|
|
341
|
-
Huf = "HUF",
|
|
342
|
-
/** Indonesian Rupiah. */
|
|
343
|
-
Idr = "IDR",
|
|
344
|
-
/** Israeli New Sheqel. */
|
|
345
|
-
Ils = "ILS",
|
|
346
|
-
/** Isle of Man Pound. */
|
|
347
|
-
Imp = "IMP",
|
|
348
|
-
/** Indian Rupee. */
|
|
349
|
-
Inr = "INR",
|
|
350
|
-
/** Iraqi Dinar. */
|
|
351
|
-
Iqd = "IQD",
|
|
352
|
-
/** Iranian Rial. */
|
|
353
|
-
Irr = "IRR",
|
|
354
|
-
/** Icelandic Króna. */
|
|
355
|
-
Isk = "ISK",
|
|
356
|
-
/** Jersey Pound. */
|
|
357
|
-
Jep = "JEP",
|
|
358
|
-
/** Jamaican Dollar. */
|
|
359
|
-
Jmd = "JMD",
|
|
360
|
-
/** Jordanian Dinar. */
|
|
361
|
-
Jod = "JOD",
|
|
362
|
-
/** Japanese Yen. */
|
|
363
|
-
Jpy = "JPY",
|
|
364
|
-
/** Kenyan Shilling. */
|
|
365
|
-
Kes = "KES",
|
|
366
|
-
/** Kyrgyzstani Som. */
|
|
367
|
-
Kgs = "KGS",
|
|
368
|
-
/** Cambodian Riel. */
|
|
369
|
-
Khr = "KHR",
|
|
370
|
-
/** Kiribati Dollar. */
|
|
371
|
-
Kid = "KID",
|
|
372
|
-
/** Comorian Franc. */
|
|
373
|
-
Kmf = "KMF",
|
|
374
|
-
/** North Korean Won. */
|
|
375
|
-
Kpw = "KPW",
|
|
376
|
-
/** South Korean Won. */
|
|
377
|
-
Krw = "KRW",
|
|
378
|
-
/** Kuwaiti Dinar. */
|
|
379
|
-
Kwd = "KWD",
|
|
380
|
-
/** Cayman Islands Dollar. */
|
|
381
|
-
Kyd = "KYD",
|
|
382
|
-
/** Kazakhstani Tenge. */
|
|
383
|
-
Kzt = "KZT",
|
|
384
|
-
/** Lao Kip. */
|
|
385
|
-
Lak = "LAK",
|
|
386
|
-
/** Lebanese Pound. */
|
|
387
|
-
Lbp = "LBP",
|
|
388
|
-
/** Sri Lankan Rupee. */
|
|
389
|
-
Lkr = "LKR",
|
|
390
|
-
/** Liberian Dollar. */
|
|
391
|
-
Lrd = "LRD",
|
|
392
|
-
/** Lesotho Loti. */
|
|
393
|
-
Lsl = "LSL",
|
|
394
|
-
/** Lithuanian Litas. */
|
|
395
|
-
Ltl = "LTL",
|
|
396
|
-
/** Latvian Lats. */
|
|
397
|
-
Lvl = "LVL",
|
|
398
|
-
/** Libyan Dinar. */
|
|
399
|
-
Lyd = "LYD",
|
|
400
|
-
/** Moroccan Dirham. */
|
|
401
|
-
Mad = "MAD",
|
|
402
|
-
/** Moldovan Leu. */
|
|
403
|
-
Mdl = "MDL",
|
|
404
|
-
/** Malagasy Ariary. */
|
|
405
|
-
Mga = "MGA",
|
|
406
|
-
/** Macedonian Denar. */
|
|
407
|
-
Mkd = "MKD",
|
|
408
|
-
/** Myanmar Kyat. */
|
|
409
|
-
Mmk = "MMK",
|
|
410
|
-
/** Mongolian Tögrög. */
|
|
411
|
-
Mnt = "MNT",
|
|
412
|
-
/** Macanese Pataca. */
|
|
413
|
-
Mop = "MOP",
|
|
414
|
-
/** Mauritanian Ouguiya. */
|
|
415
|
-
Mro = "MRO",
|
|
416
|
-
/** Mauritanian New Ouguiya. */
|
|
417
|
-
Mru = "MRU",
|
|
418
|
-
/** Maltese Lira. */
|
|
419
|
-
Mtl = "MTL",
|
|
420
|
-
/** Mauritian Rupee. */
|
|
421
|
-
Mur = "MUR",
|
|
422
|
-
/** Maldivian Rufiyaa. */
|
|
423
|
-
Mvr = "MVR",
|
|
424
|
-
/** Malawian Kwacha. */
|
|
425
|
-
Mwk = "MWK",
|
|
426
|
-
/** Mexican Peso. */
|
|
427
|
-
Mxn = "MXN",
|
|
428
|
-
/** Malaysian Ringgit. */
|
|
429
|
-
Myr = "MYR",
|
|
430
|
-
/** Mozambican Metical. */
|
|
431
|
-
Mzn = "MZN",
|
|
432
|
-
/** Namibian Dollar. */
|
|
433
|
-
Nad = "NAD",
|
|
434
|
-
/** Nigerian Naira. */
|
|
435
|
-
Ngn = "NGN",
|
|
436
|
-
/** Nicaraguan Córdoba. */
|
|
437
|
-
Nio = "NIO",
|
|
438
|
-
/** Norwegian Krone. */
|
|
439
|
-
Nok = "NOK",
|
|
440
|
-
/** Nepalese Rupee. */
|
|
441
|
-
Npr = "NPR",
|
|
442
|
-
/** New Zealand Dollar. */
|
|
443
|
-
Nzd = "NZD",
|
|
444
|
-
/** Omani Rial. */
|
|
445
|
-
Omr = "OMR",
|
|
446
|
-
/** Panamanian Balboa. */
|
|
447
|
-
Pab = "PAB",
|
|
448
|
-
/** Peruvian Sol. */
|
|
449
|
-
Pen = "PEN",
|
|
450
|
-
/** Papua New Guinean Kina. */
|
|
451
|
-
Pgk = "PGK",
|
|
452
|
-
/** Philippine Peso. */
|
|
453
|
-
Php = "PHP",
|
|
454
|
-
/** Pakistani Rupee. */
|
|
455
|
-
Pkr = "PKR",
|
|
456
|
-
/** Polish Złoty. */
|
|
457
|
-
Pln = "PLN",
|
|
458
|
-
/** Paraguayan Guaraní. */
|
|
459
|
-
Pyg = "PYG",
|
|
460
|
-
/** Qatari Riyal. */
|
|
461
|
-
Qar = "QAR",
|
|
462
|
-
/** Romanian Leu. */
|
|
463
|
-
Ron = "RON",
|
|
464
|
-
/** Serbian Dinar. */
|
|
465
|
-
Rsd = "RSD",
|
|
466
|
-
/** Russian Ruble. */
|
|
467
|
-
Rub = "RUB",
|
|
468
|
-
/** Rwandan Franc. */
|
|
469
|
-
Rwf = "RWF",
|
|
470
|
-
/** Saudi Riyal. */
|
|
471
|
-
Sar = "SAR",
|
|
472
|
-
/** Solomon Islands Dollar. */
|
|
473
|
-
Sbd = "SBD",
|
|
474
|
-
/** Seychellois Rupee. */
|
|
475
|
-
Scr = "SCR",
|
|
476
|
-
/** Sudanese Pound. */
|
|
477
|
-
Sdg = "SDG",
|
|
478
|
-
/** Swedish Krona. */
|
|
479
|
-
Sek = "SEK",
|
|
480
|
-
/** Singapore Dollar. */
|
|
481
|
-
Sgd = "SGD",
|
|
482
|
-
/** Saint Helenian Pound. */
|
|
483
|
-
Shp = "SHP",
|
|
484
|
-
/** Slovak Koruna. */
|
|
485
|
-
Skk = "SKK",
|
|
486
|
-
/** Sierra Leonean Leone. */
|
|
487
|
-
Sll = "SLL",
|
|
488
|
-
/** Somali Shilling. */
|
|
489
|
-
Sos = "SOS",
|
|
490
|
-
/** Surinamese Dollar. */
|
|
491
|
-
Srd = "SRD",
|
|
492
|
-
/** South Sudanese Pound. */
|
|
493
|
-
Ssp = "SSP",
|
|
494
|
-
/** São Tomé and Príncipe Dobra. */
|
|
495
|
-
Std = "STD",
|
|
496
|
-
/** São Tomé and Príncipe Dobra. */
|
|
497
|
-
Stn = "STN",
|
|
498
|
-
/** Salvadoran Colón. */
|
|
499
|
-
Svc = "SVC",
|
|
500
|
-
/** Syrian Pound. */
|
|
501
|
-
Syp = "SYP",
|
|
502
|
-
/** Swazi Lilangeni. */
|
|
503
|
-
Szl = "SZL",
|
|
504
|
-
/** Thai Baht. */
|
|
505
|
-
Thb = "THB",
|
|
506
|
-
/** Tajikistani Somoni. */
|
|
507
|
-
Tjs = "TJS",
|
|
508
|
-
/** Turkmenistani Manat. */
|
|
509
|
-
Tmm = "TMM",
|
|
510
|
-
/** Turkmenistani Manat. */
|
|
511
|
-
Tmt = "TMT",
|
|
512
|
-
/** Tunisian Dinar. */
|
|
513
|
-
Tnd = "TND",
|
|
514
|
-
/** Tongan Paʻanga. */
|
|
515
|
-
Top = "TOP",
|
|
516
|
-
/** Turkish Lira. */
|
|
517
|
-
Try = "TRY",
|
|
518
|
-
/** Trinidad and Tobago Dollar. */
|
|
519
|
-
Ttd = "TTD",
|
|
520
|
-
/** New Taiwan Dollar. */
|
|
521
|
-
Twd = "TWD",
|
|
522
|
-
/** Tanzanian Shilling. */
|
|
523
|
-
Tzs = "TZS",
|
|
524
|
-
/** Ukrainian Hryvnia. */
|
|
525
|
-
Uah = "UAH",
|
|
526
|
-
/** Ugandan Shilling. */
|
|
527
|
-
Ugx = "UGX",
|
|
528
|
-
/** United States Dollar. */
|
|
529
|
-
Usd = "USD",
|
|
530
|
-
/** Uruguayan Peso. */
|
|
531
|
-
Uyu = "UYU",
|
|
532
|
-
/** Uzbekistan Som. */
|
|
533
|
-
Uzs = "UZS",
|
|
534
|
-
/** Venezuelan Bolívar. */
|
|
535
|
-
Veb = "VEB",
|
|
536
|
-
/** Venezuelan Bolívar soberano. */
|
|
537
|
-
Ved = "VED",
|
|
538
|
-
/** Venezuelan Bolívar fuerte. */
|
|
539
|
-
Vef = "VEF",
|
|
540
|
-
/** Venezuelan Bolívar soberano. */
|
|
541
|
-
Ves = "VES",
|
|
542
|
-
/** Vietnamese Đồng. */
|
|
543
|
-
Vnd = "VND",
|
|
544
|
-
/** Vanuatu Vatu. */
|
|
545
|
-
Vuv = "VUV",
|
|
546
|
-
/** Samoan Tala. */
|
|
547
|
-
Wst = "WST",
|
|
548
|
-
/** Central African Cfa Franc. */
|
|
549
|
-
Xaf = "XAF",
|
|
550
|
-
/** Silver (Troy Ounce). */
|
|
551
|
-
Xag = "XAG",
|
|
552
|
-
/** Gold (Troy Ounce). */
|
|
553
|
-
Xau = "XAU",
|
|
554
|
-
/** European Composite Unit. */
|
|
555
|
-
Xba = "XBA",
|
|
556
|
-
/** European Monetary Unit. */
|
|
557
|
-
Xbb = "XBB",
|
|
558
|
-
/** European Unit of Account 9. */
|
|
559
|
-
Xbc = "XBC",
|
|
560
|
-
/** European Unit of Account 17. */
|
|
561
|
-
Xbd = "XBD",
|
|
562
|
-
/** East Caribbean Dollar. */
|
|
563
|
-
Xcd = "XCD",
|
|
564
|
-
/** Special Drawing Rights. */
|
|
565
|
-
Xdr = "XDR",
|
|
566
|
-
/** UIC Franc. */
|
|
567
|
-
Xfu = "XFU",
|
|
568
|
-
/** West African Cfa Franc. */
|
|
569
|
-
Xof = "XOF",
|
|
570
|
-
/** Palladium. */
|
|
571
|
-
Xpd = "XPD",
|
|
572
|
-
/** Cfp Franc. */
|
|
573
|
-
Xpf = "XPF",
|
|
574
|
-
/** Platinum. */
|
|
575
|
-
Xpt = "XPT",
|
|
576
|
-
/** Codes specifically reserved for testing purposes. */
|
|
577
|
-
Xts = "XTS",
|
|
578
|
-
/** Yemeni Rial. */
|
|
579
|
-
Yer = "YER",
|
|
580
|
-
/** South African Rand. */
|
|
581
|
-
Zar = "ZAR",
|
|
582
|
-
/** Zambian Kwacha. */
|
|
583
|
-
Zmk = "ZMK",
|
|
584
|
-
/** Zambian Kwacha. */
|
|
585
|
-
Zmw = "ZMW",
|
|
586
|
-
/** Zimbabwean Dollar. */
|
|
587
|
-
Zwd = "ZWD",
|
|
588
|
-
/** Zimbabwean Dollar. */
|
|
589
|
-
Zwl = "ZWL",
|
|
590
|
-
/** Zimbabwean Dollar. */
|
|
591
|
-
Zwn = "ZWN",
|
|
592
|
-
/** Zimbabwean Dollar. */
|
|
593
|
-
Zwr = "ZWR"
|
|
594
|
-
}
|
|
595
|
-
/** This is a default card entry point for the Minis Admin API. */
|
|
596
|
-
export type DefaultCardEntryPoint = EntryPoint & {
|
|
597
|
-
__typename?: 'DefaultCardEntryPoint';
|
|
598
|
-
/** The action text of the entry point. */
|
|
599
|
-
actionText?: Maybe<Scalars['String']>;
|
|
600
|
-
/** The ID of the entry point. */
|
|
601
|
-
id?: Maybe<Scalars['ID']>;
|
|
602
|
-
/** The image for the entry point. */
|
|
603
|
-
image?: Maybe<Image>;
|
|
604
|
-
/** The location of the entry point. */
|
|
605
|
-
location?: Maybe<EntryPointLocation>;
|
|
606
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
607
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
608
|
-
/** The text of the entry point. */
|
|
609
|
-
text?: Maybe<Scalars['String']>;
|
|
610
|
-
/** The title of the entry point. */
|
|
611
|
-
title: Scalars['String'];
|
|
612
|
-
/** The date and time when the entry point was updated. */
|
|
613
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
614
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
615
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
616
|
-
};
|
|
617
|
-
/** The information needed to create a new default card entry point. */
|
|
618
|
-
export type DefaultCardEntryPointSetInput = {
|
|
619
|
-
/** The action text of the entry point. */
|
|
620
|
-
actionText?: InputMaybe<Scalars['String']>;
|
|
621
|
-
/** The image for the entry point. */
|
|
622
|
-
image?: InputMaybe<ImageInput>;
|
|
623
|
-
/** The text of the entry point. */
|
|
624
|
-
text?: InputMaybe<Scalars['String']>;
|
|
625
|
-
/** The title of the entry point. */
|
|
626
|
-
title: Scalars['String'];
|
|
627
|
-
};
|
|
628
191
|
/** A development store for a Shop Mini. */
|
|
629
192
|
export type DevelopmentStore = {
|
|
630
193
|
__typename?: 'DevelopmentStore';
|
|
@@ -653,529 +216,12 @@ export type DevelopmentStoreEdge = {
|
|
|
653
216
|
/** The item at the end of the edge. */
|
|
654
217
|
node?: Maybe<DevelopmentStore>;
|
|
655
218
|
};
|
|
656
|
-
export type EntryPoint = {
|
|
657
|
-
/** The ID of the entry point. */
|
|
658
|
-
id?: Maybe<Scalars['ID']>;
|
|
659
|
-
/** The location of the entry point. */
|
|
660
|
-
location?: Maybe<EntryPointLocation>;
|
|
661
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
662
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
663
|
-
/** The date and time when the entry point was updated. */
|
|
664
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
665
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
666
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
667
|
-
};
|
|
668
|
-
/** The connection type for EntryPoint. */
|
|
669
|
-
export type EntryPointConnection = {
|
|
670
|
-
__typename?: 'EntryPointConnection';
|
|
671
|
-
/** A list of edges. */
|
|
672
|
-
edges?: Maybe<Array<Maybe<EntryPointEdge>>>;
|
|
673
|
-
/** A list of nodes. */
|
|
674
|
-
nodes?: Maybe<Array<Maybe<EntryPoint>>>;
|
|
675
|
-
/** Information to aid in pagination. */
|
|
676
|
-
pageInfo: PageInfo;
|
|
677
|
-
};
|
|
678
|
-
/** Return type for the `entryPointDeleteAll` mutation. */
|
|
679
|
-
export type EntryPointDeleteAllPayload = {
|
|
680
|
-
__typename?: 'EntryPointDeleteAllPayload';
|
|
681
|
-
/** List of errors that occured while executing the mutation. */
|
|
682
|
-
userErrors: Array<EntryPointDeleteAllUserError>;
|
|
683
|
-
};
|
|
684
|
-
/** A user or client error that could occur during the execution of the `entryPointDeleteAll` mutation. */
|
|
685
|
-
export type EntryPointDeleteAllUserError = {
|
|
686
|
-
__typename?: 'EntryPointDeleteAllUserError';
|
|
687
|
-
/** Error code associated with the error. */
|
|
688
|
-
code: EntryPointDeleteAllUserErrorCode;
|
|
689
|
-
/** Which input value this error came from. */
|
|
690
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
691
|
-
/** A description of the error. */
|
|
692
|
-
message: Scalars['String'];
|
|
693
|
-
};
|
|
694
|
-
/** Possible error codes that can be returned by EntryPointDeleteAllUserError. */
|
|
695
|
-
export declare enum EntryPointDeleteAllUserErrorCode {
|
|
696
|
-
/** Error code when the shop is not found. */
|
|
697
|
-
ShopNotFound = "SHOP_NOT_FOUND"
|
|
698
|
-
}
|
|
699
|
-
/** Return type for the `entryPointDeleteByOwner` mutation. */
|
|
700
|
-
export type EntryPointDeleteByOwnerPayload = {
|
|
701
|
-
__typename?: 'EntryPointDeleteByOwnerPayload';
|
|
702
|
-
/** List of errors that occured while executing the mutation. */
|
|
703
|
-
userErrors: Array<EntryPointDeleteByOwnerUserError>;
|
|
704
|
-
};
|
|
705
|
-
/** A user or client error that could occur during the execution of the `entryPointDeleteByOwner` mutation. */
|
|
706
|
-
export type EntryPointDeleteByOwnerUserError = {
|
|
707
|
-
__typename?: 'EntryPointDeleteByOwnerUserError';
|
|
708
|
-
/** Error code associated with the error. */
|
|
709
|
-
code: EntryPointDeleteByOwnerUserErrorCode;
|
|
710
|
-
/** Which input value this error came from. */
|
|
711
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
712
|
-
/** A description of the error. */
|
|
713
|
-
message: Scalars['String'];
|
|
714
|
-
};
|
|
715
|
-
/** Possible error codes that can be returned by EntryPointDeleteByOwnerUserError. */
|
|
716
|
-
export declare enum EntryPointDeleteByOwnerUserErrorCode {
|
|
717
|
-
/** Error code when the entry point definition is not found from the manifest. */
|
|
718
|
-
DefinitionNotFound = "DEFINITION_NOT_FOUND",
|
|
719
|
-
/** Error code when the entry point to be deleted is not found. */
|
|
720
|
-
EntryPointNotFound = "ENTRY_POINT_NOT_FOUND"
|
|
721
|
-
}
|
|
722
|
-
/** Return type for the `entryPointDeleteByRule` mutation. */
|
|
723
|
-
export type EntryPointDeleteByRulePayload = {
|
|
724
|
-
__typename?: 'EntryPointDeleteByRulePayload';
|
|
725
|
-
/** List of errors that occured while executing the mutation. */
|
|
726
|
-
userErrors: Array<EntryPointDeleteByRuleUserError>;
|
|
727
|
-
};
|
|
728
|
-
/** A user or client error that could occur during the execution of the `entryPointDeleteByRule` mutation. */
|
|
729
|
-
export type EntryPointDeleteByRuleUserError = {
|
|
730
|
-
__typename?: 'EntryPointDeleteByRuleUserError';
|
|
731
|
-
/** Error code associated with the error. */
|
|
732
|
-
code: EntryPointDeleteByRuleUserErrorCode;
|
|
733
|
-
/** Which input value this error came from. */
|
|
734
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
735
|
-
/** A description of the error. */
|
|
736
|
-
message: Scalars['String'];
|
|
737
|
-
};
|
|
738
|
-
/** Possible error codes that can be returned by EntryPointDeleteByRuleUserError. */
|
|
739
|
-
export declare enum EntryPointDeleteByRuleUserErrorCode {
|
|
740
|
-
/** Error code when the entry point definition is not found from the manifest. */
|
|
741
|
-
DefinitionNotFound = "DEFINITION_NOT_FOUND",
|
|
742
|
-
/** Error code when the entry point to be deleted is not found. */
|
|
743
|
-
EntryPointNotFound = "ENTRY_POINT_NOT_FOUND",
|
|
744
|
-
/** Error code when the shop is not found. */
|
|
745
|
-
ShopNotFound = "SHOP_NOT_FOUND"
|
|
746
|
-
}
|
|
747
|
-
/** An edge in a connection. */
|
|
748
|
-
export type EntryPointEdge = {
|
|
749
|
-
__typename?: 'EntryPointEdge';
|
|
750
|
-
/** A cursor for use in pagination. */
|
|
751
|
-
cursor: Scalars['String'];
|
|
752
|
-
/** The item at the end of the edge. */
|
|
753
|
-
node?: Maybe<EntryPoint>;
|
|
754
|
-
};
|
|
755
|
-
/** The event status enum for an entry point. */
|
|
756
|
-
export declare enum EntryPointEventStatus {
|
|
757
|
-
/** The active status for Mini entry point event type. */
|
|
758
|
-
Active = "ACTIVE",
|
|
759
|
-
/** The post active status for Mini entry point event type. */
|
|
760
|
-
PostActive = "POST_ACTIVE",
|
|
761
|
-
/** The pre active status for Mini entry point event type. */
|
|
762
|
-
PreActive = "PRE_ACTIVE"
|
|
763
|
-
}
|
|
764
|
-
/** Return type for the `entryPointEventStatusUpdate` mutation. */
|
|
765
|
-
export type EntryPointEventStatusUpdatePayload = {
|
|
766
|
-
__typename?: 'EntryPointEventStatusUpdatePayload';
|
|
767
|
-
/** List of errors that occured while executing the mutation. */
|
|
768
|
-
userErrors: Array<EntryPointEventStatusUpdateUserError>;
|
|
769
|
-
};
|
|
770
|
-
/** A user or client error that could occur during the execution of the `entryPointEventStatusUpdate` mutation. */
|
|
771
|
-
export type EntryPointEventStatusUpdateUserError = {
|
|
772
|
-
__typename?: 'EntryPointEventStatusUpdateUserError';
|
|
773
|
-
/** Error code associated with the error. */
|
|
774
|
-
code: EntryPointEventStatusUpdateUserErrorCode;
|
|
775
|
-
/** Which input value this error came from. */
|
|
776
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
777
|
-
/** A description of the error. */
|
|
778
|
-
message: Scalars['String'];
|
|
779
|
-
};
|
|
780
|
-
/** Possible error codes that can be returned by EntryPointEventStatusUpdateUserError. */
|
|
781
|
-
export declare enum EntryPointEventStatusUpdateUserErrorCode {
|
|
782
|
-
/** Error code when the product is not found. */
|
|
783
|
-
ProductNotFound = "PRODUCT_NOT_FOUND",
|
|
784
|
-
/** Error code when the shop is not found. */
|
|
785
|
-
ShopNotFound = "SHOP_NOT_FOUND"
|
|
786
|
-
}
|
|
787
|
-
/** The entry point location of a Mini. */
|
|
788
|
-
export declare enum EntryPointLocation {
|
|
789
|
-
/** The Mini should be displayed on the home feed. */
|
|
790
|
-
HomeFeed = "HOME_FEED",
|
|
791
|
-
/** The Mini should be displayed on the order confirmation page. */
|
|
792
|
-
OrderConfirmationPage = "ORDER_CONFIRMATION_PAGE",
|
|
793
|
-
/** The Mini should be displayed on the order management page. */
|
|
794
|
-
OrderManagementPage = "ORDER_MANAGEMENT_PAGE",
|
|
795
|
-
/** The Mini should be displayed on the product page. */
|
|
796
|
-
ProductPage = "PRODUCT_PAGE",
|
|
797
|
-
/** The Mini should be displayed on the product details page context menu. */
|
|
798
|
-
ProductPageContextMenu = "PRODUCT_PAGE_CONTEXT_MENU",
|
|
799
|
-
/** The Mini should be displayed on the store page. */
|
|
800
|
-
StorePage = "STORE_PAGE",
|
|
801
|
-
/** The Mini should be displayed on the store page context menu. */
|
|
802
|
-
StorePageContextMenu = "STORE_PAGE_CONTEXT_MENU"
|
|
803
|
-
}
|
|
804
|
-
/** Return type for the `entryPointSetByOwner` mutation. */
|
|
805
|
-
export type EntryPointSetByOwnerPayload = {
|
|
806
|
-
__typename?: 'EntryPointSetByOwnerPayload';
|
|
807
|
-
/** The entry point that was created or updated. */
|
|
808
|
-
entryPoint?: Maybe<EntryPoint>;
|
|
809
|
-
/** List of errors that occured while executing the mutation. */
|
|
810
|
-
userErrors: Array<EntryPointSetByOwnerUserError>;
|
|
811
|
-
};
|
|
812
|
-
/** A user or client error that could occur during the execution of the `entryPointSetByOwner` mutation. */
|
|
813
|
-
export type EntryPointSetByOwnerUserError = {
|
|
814
|
-
__typename?: 'EntryPointSetByOwnerUserError';
|
|
815
|
-
/** Error code associated with the error. */
|
|
816
|
-
code: EntryPointSetByOwnerUserErrorCode;
|
|
817
|
-
/** Which input value this error came from. */
|
|
818
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
819
|
-
/** A description of the error. */
|
|
820
|
-
message: Scalars['String'];
|
|
821
|
-
};
|
|
822
|
-
/** Possible error codes that can be returned by EntryPointSetByOwnerUserError. */
|
|
823
|
-
export declare enum EntryPointSetByOwnerUserErrorCode {
|
|
824
|
-
/** Error code when the entry point definition is not found from the manifest. */
|
|
825
|
-
DefinitionNotFound = "DEFINITION_NOT_FOUND",
|
|
826
|
-
/** Error code when an item is invalid for the home feed. */
|
|
827
|
-
InvalidHomeFeedItem = "INVALID_HOME_FEED_ITEM",
|
|
828
|
-
/** Error code when the mini is not eligible for using entry points. */
|
|
829
|
-
MiniNotEligible = "MINI_NOT_ELIGIBLE",
|
|
830
|
-
/** Error code when all entry point items are invalid. */
|
|
831
|
-
NoValidItems = "NO_VALID_ITEMS",
|
|
832
|
-
/** Error code when the product is not eligible for Shop Minis. */
|
|
833
|
-
ProductNotEligible = "PRODUCT_NOT_ELIGIBLE",
|
|
834
|
-
/** Error code when the shop does not have any Shopify App installed for the associated Shop Mini. */
|
|
835
|
-
ShopifyAppNotInstalled = "SHOPIFY_APP_NOT_INSTALLED",
|
|
836
|
-
/** Error code when the shop domain argument is not provided. */
|
|
837
|
-
ShopDomainNotProvided = "SHOP_DOMAIN_NOT_PROVIDED",
|
|
838
|
-
/** Error code when the shop is not eligible for Shop Minis. */
|
|
839
|
-
ShopNotEligible = "SHOP_NOT_ELIGIBLE",
|
|
840
|
-
/** Error code when the shop is not found. */
|
|
841
|
-
ShopNotFound = "SHOP_NOT_FOUND",
|
|
842
|
-
/** Error code when the entry point owner is not the expected type for the given entry point location. */
|
|
843
|
-
UnexpectedOwnerId = "UNEXPECTED_OWNER_ID"
|
|
844
|
-
}
|
|
845
|
-
/** Return type for the `entryPointSetByRule` mutation. */
|
|
846
|
-
export type EntryPointSetByRulePayload = {
|
|
847
|
-
__typename?: 'EntryPointSetByRulePayload';
|
|
848
|
-
/** The entry point that was created or updated. */
|
|
849
|
-
entryPoint?: Maybe<EntryPoint>;
|
|
850
|
-
/** List of errors that occured while executing the mutation. */
|
|
851
|
-
userErrors: Array<EntryPointSetByRuleUserError>;
|
|
852
|
-
};
|
|
853
|
-
/** A user or client error that could occur during the execution of the `entryPointSetByRule` mutation. */
|
|
854
|
-
export type EntryPointSetByRuleUserError = {
|
|
855
|
-
__typename?: 'EntryPointSetByRuleUserError';
|
|
856
|
-
/** Error code associated with the error. */
|
|
857
|
-
code: EntryPointSetByRuleUserErrorCode;
|
|
858
|
-
/** Which input value this error came from. */
|
|
859
|
-
field?: Maybe<Array<Scalars['String']>>;
|
|
860
|
-
/** A description of the error. */
|
|
861
|
-
message: Scalars['String'];
|
|
862
|
-
};
|
|
863
|
-
/** Possible error codes that can be returned by EntryPointSetByRuleUserError. */
|
|
864
|
-
export declare enum EntryPointSetByRuleUserErrorCode {
|
|
865
|
-
/** The entry point definition is not found from the manifest. */
|
|
866
|
-
DefinitionNotFound = "DEFINITION_NOT_FOUND",
|
|
867
|
-
/** The visibility rule is invalid. */
|
|
868
|
-
InvalidVisibilityRule = "INVALID_VISIBILITY_RULE",
|
|
869
|
-
/** The mini is not eligible for using entry points. */
|
|
870
|
-
MiniNotEligible = "MINI_NOT_ELIGIBLE",
|
|
871
|
-
/** Error code when the shop does not have any Shopify App installed for the associated Shop Mini. */
|
|
872
|
-
ShopifyAppNotInstalled = "SHOPIFY_APP_NOT_INSTALLED",
|
|
873
|
-
/** Error code when the shop domain argument is not provided. */
|
|
874
|
-
ShopDomainNotProvided = "SHOP_DOMAIN_NOT_PROVIDED",
|
|
875
|
-
/** The shop is not eligible for Shop Minis. */
|
|
876
|
-
ShopNotEligible = "SHOP_NOT_ELIGIBLE",
|
|
877
|
-
/** The shop is not found. */
|
|
878
|
-
ShopNotFound = "SHOP_NOT_FOUND"
|
|
879
|
-
}
|
|
880
|
-
/** The information needed to create a new entry point. */
|
|
881
|
-
export type EntryPointSetInput = {
|
|
882
|
-
/** The default card entry point set input. */
|
|
883
|
-
defaultCard?: InputMaybe<DefaultCardEntryPointSetInput>;
|
|
884
|
-
/** The event card entry point set input. */
|
|
885
|
-
eventCardV2?: InputMaybe<EventCardV2EntryPointSetInput>;
|
|
886
|
-
/** The image collection entry point set input. */
|
|
887
|
-
imageCollection?: InputMaybe<ImageCollectionEntryPointSetInput>;
|
|
888
|
-
/** The image collection v2 entry point set input. */
|
|
889
|
-
imageCollectionV2?: InputMaybe<ImageCollectionV2EntryPointSetInput>;
|
|
890
|
-
/** The link entry point set input. */
|
|
891
|
-
link?: InputMaybe<LinkEntryPointSetInput>;
|
|
892
|
-
/** The product offer card entry point set input. */
|
|
893
|
-
productOfferCard?: InputMaybe<ProductOfferCardEntryPointSetInput>;
|
|
894
|
-
/** The video collection entry point set input. */
|
|
895
|
-
videoCollection?: InputMaybe<VideoCollectionEntryPointSetInput>;
|
|
896
|
-
/** The video collection entry point V2 set input. */
|
|
897
|
-
videoCollectionV2?: InputMaybe<VideoCollectionV2EntryPointSetInput>;
|
|
898
|
-
};
|
|
899
|
-
/** The entry point type of a Mini. */
|
|
900
|
-
export declare enum EntryPointType {
|
|
901
|
-
/** The Mini should be displayed as an action button. */
|
|
902
|
-
ActionButton = "ACTION_BUTTON",
|
|
903
|
-
/** The Mini should be displayed as a card with content. */
|
|
904
|
-
ContentCard = "CONTENT_CARD",
|
|
905
|
-
/** The Mini should be displayed as a card with content. */
|
|
906
|
-
DefaultCard = "DEFAULT_CARD",
|
|
907
|
-
/** The Mini should be displayed as a card with a reminder button. */
|
|
908
|
-
EventCard = "EVENT_CARD",
|
|
909
|
-
/** The Mini should be displayed as a card with a reminder button. */
|
|
910
|
-
EventCardV2 = "EVENT_CARD_V2",
|
|
911
|
-
/** The Mini should be displayed as a collection of images. */
|
|
912
|
-
ImageCollection = "IMAGE_COLLECTION",
|
|
913
|
-
/** The Mini should be displayed as a collection of images with related products. */
|
|
914
|
-
ImageCollectionV2 = "IMAGE_COLLECTION_V2",
|
|
915
|
-
/** The Mini should be displayed as a link. */
|
|
916
|
-
Link = "LINK",
|
|
917
|
-
/** The Mini should be displayed as a product offer card. */
|
|
918
|
-
ProductOfferCard = "PRODUCT_OFFER_CARD",
|
|
919
|
-
/** The Mini should be displayed as a collection of videos. */
|
|
920
|
-
VideoCollection = "VIDEO_COLLECTION",
|
|
921
|
-
/** The Mini should be displayed as a collection of videos. */
|
|
922
|
-
VideoCollectionV2 = "VIDEO_COLLECTION_V2"
|
|
923
|
-
}
|
|
924
|
-
/** Represents the validity of an entry point visibility rule. */
|
|
925
|
-
export type EntryPointVisibilityRuleValidity = {
|
|
926
|
-
__typename?: 'EntryPointVisibilityRuleValidity';
|
|
927
|
-
/** The validity status of the rule. */
|
|
928
|
-
status: EntryPointVisibilityRuleValidityStatus;
|
|
929
|
-
/** The errors that occurred when validating the rule. */
|
|
930
|
-
userErrors: Array<EntryPointVisibilityRuleValidityUserError>;
|
|
931
|
-
};
|
|
932
|
-
/** The error code for an entry point visibility rule error. */
|
|
933
|
-
export declare enum EntryPointVisibilityRuleValidityErrorCode {
|
|
934
|
-
/** Rules cannot be applied to all fields. Please specify the field name. */
|
|
935
|
-
FieldsUnspecified = "FIELDS_UNSPECIFIED",
|
|
936
|
-
/** Incompatible comparator found for the given fields. */
|
|
937
|
-
IncompatibleComparators = "INCOMPATIBLE_COMPARATORS",
|
|
938
|
-
/** Incompatible values given to the fields. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
|
|
939
|
-
IncompatibleQueryTypes = "INCOMPATIBLE_QUERY_TYPES",
|
|
940
|
-
/** Rule is not parseable. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
|
|
941
|
-
IncorrectSyntax = "INCORRECT_SYNTAX",
|
|
942
|
-
/** Rule is too long. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
|
|
943
|
-
MaximumLengthExceeded = "MAXIMUM_LENGTH_EXCEEDED",
|
|
944
|
-
/** Unsupported fields given. Please refer to https://github.com/Shopify/shop-minis/blob/main/docs/ENTRY_POINT_VISIBILITY_RULE_FOR_PRODUCT_DETAILS_PAGES.md for more information. */
|
|
945
|
-
UnsupportedFields = "UNSUPPORTED_FIELDS"
|
|
946
|
-
}
|
|
947
|
-
/** The validity status of an entry point visibility rule. */
|
|
948
|
-
export declare enum EntryPointVisibilityRuleValidityStatus {
|
|
949
|
-
/** The rule is not valid. */
|
|
950
|
-
Invalid = "INVALID",
|
|
951
|
-
/** The rule is valid. */
|
|
952
|
-
Valid = "VALID"
|
|
953
|
-
}
|
|
954
|
-
/** An error that occurred when validating an entry point visibility rule. */
|
|
955
|
-
export type EntryPointVisibilityRuleValidityUserError = {
|
|
956
|
-
__typename?: 'EntryPointVisibilityRuleValidityUserError';
|
|
957
|
-
/** The code of the error that occurred. */
|
|
958
|
-
code: EntryPointVisibilityRuleValidityErrorCode;
|
|
959
|
-
/** The path to the field that the error occurred on. */
|
|
960
|
-
field: Array<Scalars['String']>;
|
|
961
|
-
/** The message describing the error. */
|
|
962
|
-
message: Scalars['String'];
|
|
963
|
-
};
|
|
964
|
-
/** An Event Card entry point. */
|
|
965
|
-
export type EventCardV2EntryPoint = EntryPoint & {
|
|
966
|
-
__typename?: 'EventCardV2EntryPoint';
|
|
967
|
-
/** The start time of the event. */
|
|
968
|
-
eventLiveAt?: Maybe<Scalars['ISO8601DateTime']>;
|
|
969
|
-
/** The status of the event. */
|
|
970
|
-
eventStatus: Scalars['String'];
|
|
971
|
-
/** The ID of the entry point. */
|
|
972
|
-
id?: Maybe<Scalars['ID']>;
|
|
973
|
-
/** The image for the card when the event is active. */
|
|
974
|
-
image: Image;
|
|
975
|
-
/** The location of the entry point. */
|
|
976
|
-
location?: Maybe<EntryPointLocation>;
|
|
977
|
-
/** The topic to subscribe to for notifications. */
|
|
978
|
-
notificationTopic: Scalars['String'];
|
|
979
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
980
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
981
|
-
/** The image for the card before the event is active. */
|
|
982
|
-
preActiveImage: Image;
|
|
983
|
-
/** The text of the card. */
|
|
984
|
-
text?: Maybe<Scalars['String']>;
|
|
985
|
-
/** The title of the card. */
|
|
986
|
-
title: Scalars['String'];
|
|
987
|
-
/** The date and time when the entry point was updated. */
|
|
988
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
989
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
990
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
991
|
-
};
|
|
992
|
-
/** The event status of the Mini event card entry point. */
|
|
993
|
-
export declare enum EventCardV2EntryPointEventStatus {
|
|
994
|
-
/** The active status for Mini entry point event type. */
|
|
995
|
-
Active = "ACTIVE",
|
|
996
|
-
/** The post active status for Mini entry point event type. */
|
|
997
|
-
PostActive = "POST_ACTIVE",
|
|
998
|
-
/** The pre active status for Mini entry point event type. */
|
|
999
|
-
PreActive = "PRE_ACTIVE"
|
|
1000
|
-
}
|
|
1001
|
-
/** The information needed to create a new event card entry point. */
|
|
1002
|
-
export type EventCardV2EntryPointSetInput = {
|
|
1003
|
-
/** The event start time for the event card entry point. */
|
|
1004
|
-
eventLiveAt?: InputMaybe<Scalars['ISO8601DateTime']>;
|
|
1005
|
-
/** The event status for the event card entry point. */
|
|
1006
|
-
eventStatus: EventCardV2EntryPointEventStatus;
|
|
1007
|
-
/** The image for the event card entry point when the event is active. */
|
|
1008
|
-
image: ImageInput;
|
|
1009
|
-
/** The notification topic for the event card entry point. */
|
|
1010
|
-
notificationTopic: Scalars['String'];
|
|
1011
|
-
/** The image for the event card entry point before the event is active. */
|
|
1012
|
-
preActiveImage: ImageInput;
|
|
1013
|
-
/** The text for the event card entry point. */
|
|
1014
|
-
text?: InputMaybe<Scalars['String']>;
|
|
1015
|
-
/** The title for the event card entry point. */
|
|
1016
|
-
title: Scalars['String'];
|
|
1017
|
-
};
|
|
1018
|
-
/** Represents a video hosted outside of Shopify. */
|
|
1019
|
-
export type ExternalVideo = {
|
|
1020
|
-
__typename?: 'ExternalVideo';
|
|
1021
|
-
/** The alt text for the media. */
|
|
1022
|
-
alt?: Maybe<Scalars['String']>;
|
|
1023
|
-
/** The embed URL of the video for the respective host. */
|
|
1024
|
-
embedUrl: Scalars['URL'];
|
|
1025
|
-
/** The preview image for the media. */
|
|
1026
|
-
previewImage?: Maybe<Image>;
|
|
1027
|
-
};
|
|
1028
|
-
/** Represents a video hosted outside of Shopify. */
|
|
1029
|
-
export type ExternalVideoInput = {
|
|
1030
|
-
/** A word or phrase to share the nature or contents of a media. */
|
|
1031
|
-
alt?: InputMaybe<Scalars['String']>;
|
|
1032
|
-
/** The embed URL of the video for the respective host. */
|
|
1033
|
-
embedUrl: Scalars['URL'];
|
|
1034
|
-
/** The preview image for the media. */
|
|
1035
|
-
previewImage?: InputMaybe<ImageInput>;
|
|
1036
|
-
};
|
|
1037
219
|
/** The image for the entry point. */
|
|
1038
220
|
export type Image = {
|
|
1039
221
|
__typename?: 'Image';
|
|
1040
222
|
/** URL of the image. */
|
|
1041
223
|
url: Scalars['URL'];
|
|
1042
224
|
};
|
|
1043
|
-
/** This is a Mini Image Collection entry point. */
|
|
1044
|
-
export type ImageCollectionEntryPoint = EntryPoint & {
|
|
1045
|
-
__typename?: 'ImageCollectionEntryPoint';
|
|
1046
|
-
/** The ID of the entry point. */
|
|
1047
|
-
id?: Maybe<Scalars['ID']>;
|
|
1048
|
-
/** The items for the entry point. */
|
|
1049
|
-
items: Array<ImageCollectionEntryPointItem>;
|
|
1050
|
-
/** The layout for the entry point. */
|
|
1051
|
-
layout: ImageCollectionEntryPointLayout;
|
|
1052
|
-
/** The location of the entry point. */
|
|
1053
|
-
location?: Maybe<EntryPointLocation>;
|
|
1054
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
1055
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
1056
|
-
/** The date and time when the entry point was updated. */
|
|
1057
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
1058
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
1059
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
1060
|
-
};
|
|
1061
|
-
/** This is a Mini image collection entry point item. */
|
|
1062
|
-
export type ImageCollectionEntryPointItem = {
|
|
1063
|
-
__typename?: 'ImageCollectionEntryPointItem';
|
|
1064
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1065
|
-
externalId?: Maybe<Scalars['ID']>;
|
|
1066
|
-
/** The image for the item. */
|
|
1067
|
-
image: Image;
|
|
1068
|
-
};
|
|
1069
|
-
/** This is a Mini Image Collection entry point item. */
|
|
1070
|
-
export type ImageCollectionEntryPointItemInput = {
|
|
1071
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1072
|
-
externalId?: InputMaybe<Scalars['String']>;
|
|
1073
|
-
/** The image for the item. */
|
|
1074
|
-
image: ImageInput;
|
|
1075
|
-
};
|
|
1076
|
-
/** The layout of the Mini Image Collection entry point. */
|
|
1077
|
-
export declare enum ImageCollectionEntryPointLayout {
|
|
1078
|
-
/** The layout is a carousel. */
|
|
1079
|
-
Carousel = "CAROUSEL",
|
|
1080
|
-
/** The layout is a grid. */
|
|
1081
|
-
Grid = "GRID"
|
|
1082
|
-
}
|
|
1083
|
-
/** The information needed to create a new image collection entry point. */
|
|
1084
|
-
export type ImageCollectionEntryPointSetInput = {
|
|
1085
|
-
/** The items for the entry point. It can't be empty. */
|
|
1086
|
-
items: Array<ImageCollectionEntryPointItemInput>;
|
|
1087
|
-
};
|
|
1088
|
-
/** This is a Mini Image Collection V2 entry point. */
|
|
1089
|
-
export type ImageCollectionV2EntryPoint = EntryPoint & {
|
|
1090
|
-
__typename?: 'ImageCollectionV2EntryPoint';
|
|
1091
|
-
/** The ID of the entry point. */
|
|
1092
|
-
id?: Maybe<Scalars['ID']>;
|
|
1093
|
-
/** The items for the entry point. */
|
|
1094
|
-
items: Array<ImageCollectionV2EntryPointItem>;
|
|
1095
|
-
/** The layout for the entry point. */
|
|
1096
|
-
layout: ImageCollectionEntryPointLayout;
|
|
1097
|
-
/** The location of the entry point. */
|
|
1098
|
-
location?: Maybe<EntryPointLocation>;
|
|
1099
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
1100
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
1101
|
-
/** The date and time when the entry point was updated. */
|
|
1102
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
1103
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
1104
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
1105
|
-
};
|
|
1106
|
-
/** This is a Mini image collection entry point item. */
|
|
1107
|
-
export type ImageCollectionV2EntryPointItem = {
|
|
1108
|
-
__typename?: 'ImageCollectionV2EntryPointItem';
|
|
1109
|
-
/** The description for ImageCollectionV2EntryPoint item. */
|
|
1110
|
-
description?: Maybe<Scalars['String']>;
|
|
1111
|
-
/** The date when the ImageCollectionV2EntryPoint item was created. */
|
|
1112
|
-
displayDate?: Maybe<Scalars['ISO8601DateTime']>;
|
|
1113
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1114
|
-
externalId?: Maybe<Scalars['ID']>;
|
|
1115
|
-
/** The image for the item. */
|
|
1116
|
-
image: Image;
|
|
1117
|
-
/** The list of products associated with this image. */
|
|
1118
|
-
relatedProducts: Array<ImageCollectionV2EntryPointItemRelatedProduct>;
|
|
1119
|
-
};
|
|
1120
|
-
/** This is a Mini Image Collection entry point item. */
|
|
1121
|
-
export type ImageCollectionV2EntryPointItemInput = {
|
|
1122
|
-
/** The description for the ImageCollectionV2EntryPoint item. */
|
|
1123
|
-
description?: InputMaybe<Scalars['String']>;
|
|
1124
|
-
/** The date when the ImageCollectionV2EntryPoint item will be displayed. */
|
|
1125
|
-
displayDate?: InputMaybe<Scalars['ISO8601DateTime']>;
|
|
1126
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1127
|
-
externalId: Scalars['String'];
|
|
1128
|
-
/** The image for the item. */
|
|
1129
|
-
image: ImageInput;
|
|
1130
|
-
/** The list of products associated with this image. */
|
|
1131
|
-
relatedProducts: Array<ImageCollectionV2EntryPointItemRelatedProductInput>;
|
|
1132
|
-
};
|
|
1133
|
-
/** The related product item shown on the image. */
|
|
1134
|
-
export type ImageCollectionV2EntryPointItemRelatedProduct = {
|
|
1135
|
-
__typename?: 'ImageCollectionV2EntryPointItemRelatedProduct';
|
|
1136
|
-
/** The product ID for the entry point. */
|
|
1137
|
-
productId: Scalars['ID'];
|
|
1138
|
-
/** The product variant ID for the entry point. */
|
|
1139
|
-
productVariantId?: Maybe<Scalars['ID']>;
|
|
1140
|
-
};
|
|
1141
|
-
/** This is a related product for the image. */
|
|
1142
|
-
export type ImageCollectionV2EntryPointItemRelatedProductInput = {
|
|
1143
|
-
/** The product ID for the entry point. */
|
|
1144
|
-
productId: Scalars['String'];
|
|
1145
|
-
/** The product variant ID for the entry point. */
|
|
1146
|
-
productVariantId?: InputMaybe<Scalars['String']>;
|
|
1147
|
-
};
|
|
1148
|
-
/** The information needed to create a new image collection entry point. */
|
|
1149
|
-
export type ImageCollectionV2EntryPointSetInput = {
|
|
1150
|
-
/** The items for the entry point. It can't be empty. */
|
|
1151
|
-
items: Array<ImageCollectionV2EntryPointItemInput>;
|
|
1152
|
-
};
|
|
1153
|
-
/** The information needed to create a new image. */
|
|
1154
|
-
export type ImageInput = {
|
|
1155
|
-
/** The URL of the Shopify hosted image. */
|
|
1156
|
-
url: Scalars['URL'];
|
|
1157
|
-
};
|
|
1158
|
-
/** A Link entry point to a Shop Mini. */
|
|
1159
|
-
export type LinkEntryPoint = EntryPoint & {
|
|
1160
|
-
__typename?: 'LinkEntryPoint';
|
|
1161
|
-
/** The call to action text of the link entry point. */
|
|
1162
|
-
actionText: Scalars['String'];
|
|
1163
|
-
/** The ID of the entry point. */
|
|
1164
|
-
id?: Maybe<Scalars['ID']>;
|
|
1165
|
-
/** The location of the entry point. */
|
|
1166
|
-
location?: Maybe<EntryPointLocation>;
|
|
1167
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
1168
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
1169
|
-
/** The date and time when the entry point was updated. */
|
|
1170
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
1171
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
1172
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
1173
|
-
};
|
|
1174
|
-
/** The information needed to create a new link entry point. */
|
|
1175
|
-
export type LinkEntryPointSetInput = {
|
|
1176
|
-
/** The call to action text of the link entry point. */
|
|
1177
|
-
actionText: Scalars['String'];
|
|
1178
|
-
};
|
|
1179
225
|
/** Information about a Shop Mini. */
|
|
1180
226
|
export type Mini = {
|
|
1181
227
|
__typename?: 'Mini';
|
|
@@ -1183,6 +229,8 @@ export type Mini = {
|
|
|
1183
229
|
handle: Scalars['ID'];
|
|
1184
230
|
/** The partner name. */
|
|
1185
231
|
partnerName: Scalars['String'];
|
|
232
|
+
/** The Mini's unique identifier (UUIDv7). */
|
|
233
|
+
uuid: Scalars['String'];
|
|
1186
234
|
};
|
|
1187
235
|
/** Return type for the `miniCreate` mutation. */
|
|
1188
236
|
export type MiniCreatePayload = {
|
|
@@ -1219,31 +267,6 @@ export type MiniTogglePayload = {
|
|
|
1219
267
|
/** The flag whether the Mini is enabled or disabled. */
|
|
1220
268
|
enabled?: Maybe<Scalars['Boolean']>;
|
|
1221
269
|
};
|
|
1222
|
-
/** The information needed to create a new money. */
|
|
1223
|
-
export type MoneyInput = {
|
|
1224
|
-
/** Decimal money amount. */
|
|
1225
|
-
amount: Scalars['Decimal'];
|
|
1226
|
-
/** Currency code of the money. */
|
|
1227
|
-
currencyCode: CurrencyCode;
|
|
1228
|
-
};
|
|
1229
|
-
/** A money object capturing an amount and its currency. */
|
|
1230
|
-
export type MoneyV2 = {
|
|
1231
|
-
__typename?: 'MoneyV2';
|
|
1232
|
-
/** The decimal amount. */
|
|
1233
|
-
amount: Scalars['Decimal'];
|
|
1234
|
-
/**
|
|
1235
|
-
* Approximate conversion of price to currencyCodeConvertedTo.
|
|
1236
|
-
* @deprecated DEPRECATED - No longer implemented
|
|
1237
|
-
*/
|
|
1238
|
-
approximateConvertedAmount?: Maybe<Scalars['Decimal']>;
|
|
1239
|
-
/** The currency code. */
|
|
1240
|
-
currencyCode: Scalars['String'];
|
|
1241
|
-
/**
|
|
1242
|
-
* Currency code that price was converted to.
|
|
1243
|
-
* @deprecated DEPRECATED - No longer implemented
|
|
1244
|
-
*/
|
|
1245
|
-
currencyCodeConvertedTo?: Maybe<Scalars['String']>;
|
|
1246
|
-
};
|
|
1247
270
|
export type Mutation = {
|
|
1248
271
|
__typename?: 'Mutation';
|
|
1249
272
|
/** Generates an API key for a Mini. */
|
|
@@ -1252,36 +275,6 @@ export type Mutation = {
|
|
|
1252
275
|
apiKeyRevoke: ApiKeyRevokePayload;
|
|
1253
276
|
/** Creates a new content. */
|
|
1254
277
|
contentCreate: ContentCreatePayload;
|
|
1255
|
-
/**
|
|
1256
|
-
* Asynchronously deletes all entry points for the given shopDomain. Entry points created or updated after performing the mutation will not be deleted.
|
|
1257
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1258
|
-
*/
|
|
1259
|
-
entryPointDeleteAll: EntryPointDeleteAllPayload;
|
|
1260
|
-
/**
|
|
1261
|
-
* Deletes an entry point by using its ownerId.
|
|
1262
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1263
|
-
*/
|
|
1264
|
-
entryPointDeleteByOwner: EntryPointDeleteByOwnerPayload;
|
|
1265
|
-
/**
|
|
1266
|
-
* Deletes an entry point with a visibility rule.
|
|
1267
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1268
|
-
*/
|
|
1269
|
-
entryPointDeleteByRule: EntryPointDeleteByRulePayload;
|
|
1270
|
-
/**
|
|
1271
|
-
* Updates the status of an event entry point.
|
|
1272
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1273
|
-
*/
|
|
1274
|
-
entryPointEventStatusUpdate: EntryPointEventStatusUpdatePayload;
|
|
1275
|
-
/**
|
|
1276
|
-
* Creates or updates an entry point.
|
|
1277
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1278
|
-
*/
|
|
1279
|
-
entryPointSetByOwner: EntryPointSetByOwnerPayload;
|
|
1280
|
-
/**
|
|
1281
|
-
* Creates or updates entry point by setting a visibility rule.
|
|
1282
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1283
|
-
*/
|
|
1284
|
-
entryPointSetByRule: EntryPointSetByRulePayload;
|
|
1285
278
|
/** Creates a new Mini. */
|
|
1286
279
|
miniCreate: MiniCreatePayload;
|
|
1287
280
|
/** Enables or disables the Mini by partner. */
|
|
@@ -1302,7 +295,8 @@ export type Mutation = {
|
|
|
1302
295
|
userTokenVerify: UserTokenVerifyPayload;
|
|
1303
296
|
};
|
|
1304
297
|
export type MutationApiKeyGenerateArgs = {
|
|
1305
|
-
miniHandle
|
|
298
|
+
miniHandle?: InputMaybe<Scalars['String']>;
|
|
299
|
+
miniUuid?: InputMaybe<Scalars['String']>;
|
|
1306
300
|
partnersAccessToken: Scalars['String'];
|
|
1307
301
|
};
|
|
1308
302
|
export type MutationApiKeyRevokeArgs = {
|
|
@@ -1315,36 +309,6 @@ export type MutationContentCreateArgs = {
|
|
|
1315
309
|
productIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
1316
310
|
title: Scalars['String'];
|
|
1317
311
|
};
|
|
1318
|
-
export type MutationEntryPointDeleteAllArgs = {
|
|
1319
|
-
shopDomain: Scalars['String'];
|
|
1320
|
-
};
|
|
1321
|
-
export type MutationEntryPointDeleteByOwnerArgs = {
|
|
1322
|
-
location: EntryPointLocation;
|
|
1323
|
-
ownerId: Scalars['ID'];
|
|
1324
|
-
type: EntryPointType;
|
|
1325
|
-
};
|
|
1326
|
-
export type MutationEntryPointDeleteByRuleArgs = {
|
|
1327
|
-
location: EntryPointLocation;
|
|
1328
|
-
shopDomain: Scalars['String'];
|
|
1329
|
-
type: EntryPointType;
|
|
1330
|
-
};
|
|
1331
|
-
export type MutationEntryPointEventStatusUpdateArgs = {
|
|
1332
|
-
productId?: InputMaybe<Scalars['ID']>;
|
|
1333
|
-
shopDomain?: InputMaybe<Scalars['String']>;
|
|
1334
|
-
status: EntryPointEventStatus;
|
|
1335
|
-
};
|
|
1336
|
-
export type MutationEntryPointSetByOwnerArgs = {
|
|
1337
|
-
input: EntryPointSetInput;
|
|
1338
|
-
location: EntryPointLocation;
|
|
1339
|
-
ownerId: Scalars['ID'];
|
|
1340
|
-
shopDomain?: InputMaybe<Scalars['String']>;
|
|
1341
|
-
};
|
|
1342
|
-
export type MutationEntryPointSetByRuleArgs = {
|
|
1343
|
-
input: EntryPointSetInput;
|
|
1344
|
-
location: EntryPointLocation;
|
|
1345
|
-
shopDomain: Scalars['String'];
|
|
1346
|
-
visibilityRule: Scalars['String'];
|
|
1347
|
-
};
|
|
1348
312
|
export type MutationMiniCreateArgs = {
|
|
1349
313
|
name: Scalars['String'];
|
|
1350
314
|
organizationId: Scalars['ID'];
|
|
@@ -1405,51 +369,6 @@ export declare enum ProductEligibilityStatus {
|
|
|
1405
369
|
/** The product is ineligible to appear in Shop. */
|
|
1406
370
|
Ineligible = "INELIGIBLE"
|
|
1407
371
|
}
|
|
1408
|
-
/** An Product Offer Card entry point. */
|
|
1409
|
-
export type ProductOfferCardEntryPoint = EntryPoint & {
|
|
1410
|
-
__typename?: 'ProductOfferCardEntryPoint';
|
|
1411
|
-
/** The discounted price of the offered product. */
|
|
1412
|
-
discountedPrice: MoneyV2;
|
|
1413
|
-
/** The product offer expiration time. */
|
|
1414
|
-
expiresAt?: Maybe<Scalars['ISO8601DateTime']>;
|
|
1415
|
-
/** The ID of the entry point. */
|
|
1416
|
-
id?: Maybe<Scalars['ID']>;
|
|
1417
|
-
/** The image for the offered product. */
|
|
1418
|
-
image?: Maybe<Image>;
|
|
1419
|
-
/** The location of the entry point. */
|
|
1420
|
-
location?: Maybe<EntryPointLocation>;
|
|
1421
|
-
/** The original price of the offered product. */
|
|
1422
|
-
originalPrice: MoneyV2;
|
|
1423
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
1424
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
1425
|
-
/** The product ID of the offered product on the card. */
|
|
1426
|
-
productId: Scalars['ID'];
|
|
1427
|
-
/** The title of the offered product. */
|
|
1428
|
-
title?: Maybe<Scalars['String']>;
|
|
1429
|
-
/** The date and time when the entry point was updated. */
|
|
1430
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
1431
|
-
/** The variant ID of the offered product's variant on the card. */
|
|
1432
|
-
variantId?: Maybe<Scalars['ID']>;
|
|
1433
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
1434
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
1435
|
-
};
|
|
1436
|
-
/** The information needed to create a new product offer card entry point. */
|
|
1437
|
-
export type ProductOfferCardEntryPointSetInput = {
|
|
1438
|
-
/** The text for the product offer card entry point. */
|
|
1439
|
-
discountedPrice: MoneyInput;
|
|
1440
|
-
/** The event start time for the product offer card entry point. */
|
|
1441
|
-
expiresAt?: InputMaybe<Scalars['ISO8601DateTime']>;
|
|
1442
|
-
/** The image for the product offer card entry point. */
|
|
1443
|
-
image?: InputMaybe<ImageInput>;
|
|
1444
|
-
/** The text for the product offer card entry point. */
|
|
1445
|
-
originalPrice: MoneyInput;
|
|
1446
|
-
/** The product ID for the product offer card entry point. */
|
|
1447
|
-
productId: Scalars['ID'];
|
|
1448
|
-
/** The title for the product offer card entry point. */
|
|
1449
|
-
title?: InputMaybe<Scalars['String']>;
|
|
1450
|
-
/** The variant ID for the product offer card entry point. */
|
|
1451
|
-
variantId?: InputMaybe<Scalars['ID']>;
|
|
1452
|
-
};
|
|
1453
372
|
export type Query = {
|
|
1454
373
|
__typename?: 'Query';
|
|
1455
374
|
/** Lists all API keys. */
|
|
@@ -1461,16 +380,6 @@ export type Query = {
|
|
|
1461
380
|
* @deprecated No longer supported.
|
|
1462
381
|
*/
|
|
1463
382
|
developmentStores: DevelopmentStoreConnection;
|
|
1464
|
-
/**
|
|
1465
|
-
* Returns whether a given entry point visibility rule is valid.
|
|
1466
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1467
|
-
*/
|
|
1468
|
-
entryPointVisibilityRuleValidity: EntryPointVisibilityRuleValidity;
|
|
1469
|
-
/**
|
|
1470
|
-
* Returns a list of entry points given the filters.
|
|
1471
|
-
* @deprecated DEPRECATED - Entry points API is no longer supported.
|
|
1472
|
-
*/
|
|
1473
|
-
entryPoints: EntryPointConnection;
|
|
1474
383
|
/** Returns information about a Mini based on the provided API key. */
|
|
1475
384
|
mini?: Maybe<Mini>;
|
|
1476
385
|
/** Returns eligibilities for products within Shop. */
|
|
@@ -1491,6 +400,7 @@ export type QueryAttributionsArgs = {
|
|
|
1491
400
|
last?: InputMaybe<Scalars['Int']>;
|
|
1492
401
|
orderId?: InputMaybe<Scalars['ID']>;
|
|
1493
402
|
shopDomain?: InputMaybe<Scalars['String']>;
|
|
403
|
+
shopId?: InputMaybe<Scalars['ID']>;
|
|
1494
404
|
};
|
|
1495
405
|
export type QueryDevelopmentStoresArgs = {
|
|
1496
406
|
after?: InputMaybe<Scalars['String']>;
|
|
@@ -1498,19 +408,6 @@ export type QueryDevelopmentStoresArgs = {
|
|
|
1498
408
|
first?: InputMaybe<Scalars['Int']>;
|
|
1499
409
|
last?: InputMaybe<Scalars['Int']>;
|
|
1500
410
|
};
|
|
1501
|
-
export type QueryEntryPointVisibilityRuleValidityArgs = {
|
|
1502
|
-
rule: Scalars['String'];
|
|
1503
|
-
};
|
|
1504
|
-
export type QueryEntryPointsArgs = {
|
|
1505
|
-
after?: InputMaybe<Scalars['String']>;
|
|
1506
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1507
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1508
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1509
|
-
location?: InputMaybe<EntryPointLocation>;
|
|
1510
|
-
shopDomain: Scalars['String'];
|
|
1511
|
-
type?: InputMaybe<EntryPointType>;
|
|
1512
|
-
updatedAt?: InputMaybe<TimeRangeFilter>;
|
|
1513
|
-
};
|
|
1514
411
|
export type QueryProductEligibilitiesArgs = {
|
|
1515
412
|
productIds: Array<Scalars['ID']>;
|
|
1516
413
|
};
|
|
@@ -1524,6 +421,7 @@ export type QueryReportsArgs = {
|
|
|
1524
421
|
};
|
|
1525
422
|
export type QueryShopEligibilitiesArgs = {
|
|
1526
423
|
shopDomains?: InputMaybe<Array<Scalars['String']>>;
|
|
424
|
+
shopIds?: InputMaybe<Array<Scalars['ID']>>;
|
|
1527
425
|
};
|
|
1528
426
|
export type QuerySubmissionsArgs = {
|
|
1529
427
|
after?: InputMaybe<Scalars['String']>;
|
|
@@ -1577,6 +475,8 @@ export type ReportDownloadUserError = {
|
|
|
1577
475
|
};
|
|
1578
476
|
/** Possible error codes that can be returned by ReportDownloadUserError. */
|
|
1579
477
|
export declare enum ReportDownloadUserErrorCode {
|
|
478
|
+
/** The requested report type is no longer available. */
|
|
479
|
+
Deprecated = "DEPRECATED",
|
|
1580
480
|
/** The requested report could not be found. */
|
|
1581
481
|
NotFound = "NOT_FOUND"
|
|
1582
482
|
}
|
|
@@ -1590,9 +490,15 @@ export type ReportEdge = {
|
|
|
1590
490
|
};
|
|
1591
491
|
/** The type of report to retrieve. */
|
|
1592
492
|
export declare enum ReportTypeEnum {
|
|
1593
|
-
/**
|
|
493
|
+
/**
|
|
494
|
+
* Content impressions report.
|
|
495
|
+
* @deprecated Content impressions reports are no longer available.
|
|
496
|
+
*/
|
|
1594
497
|
ContentImpressions = "CONTENT_IMPRESSIONS",
|
|
1595
|
-
/**
|
|
498
|
+
/**
|
|
499
|
+
* Product impressions report.
|
|
500
|
+
* @deprecated Product impressions reports are no longer available.
|
|
501
|
+
*/
|
|
1596
502
|
ProductImpressions = "PRODUCT_IMPRESSIONS",
|
|
1597
503
|
/** Sales report. */
|
|
1598
504
|
Sales = "SALES",
|
|
@@ -1768,13 +674,6 @@ export declare enum SubmissionUploadCreateUserErrorCode {
|
|
|
1768
674
|
/** Error code when an invalid MIME type is provided. */
|
|
1769
675
|
InvalidMimeType = "INVALID_MIME_TYPE"
|
|
1770
676
|
}
|
|
1771
|
-
/** This filter selects objects that were updated within a specified time range. */
|
|
1772
|
-
export type TimeRangeFilter = {
|
|
1773
|
-
/** The maximum updated at date and time in the range. */
|
|
1774
|
-
max?: InputMaybe<Scalars['ISO8601DateTime']>;
|
|
1775
|
-
/** The minimum updated at date and time in the range. */
|
|
1776
|
-
min?: InputMaybe<Scalars['ISO8601DateTime']>;
|
|
1777
|
-
};
|
|
1778
677
|
/** A metafield definition for a Mini. */
|
|
1779
678
|
export type UserMetafieldDefinition = {
|
|
1780
679
|
__typename?: 'UserMetafieldDefinition';
|
|
@@ -1912,133 +811,6 @@ export declare enum UserTokenVerifyUserErrorCode {
|
|
|
1912
811
|
/** The user was not found. */
|
|
1913
812
|
UserNotFound = "USER_NOT_FOUND"
|
|
1914
813
|
}
|
|
1915
|
-
/** This is a Mini video collection entry point. */
|
|
1916
|
-
export type VideoCollectionEntryPoint = EntryPoint & {
|
|
1917
|
-
__typename?: 'VideoCollectionEntryPoint';
|
|
1918
|
-
/** The ID of the entry point. */
|
|
1919
|
-
id?: Maybe<Scalars['ID']>;
|
|
1920
|
-
/** The items for the entry point. */
|
|
1921
|
-
items: Array<VideoCollectionEntryPointItem>;
|
|
1922
|
-
/** The location of the entry point. */
|
|
1923
|
-
location?: Maybe<EntryPointLocation>;
|
|
1924
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
1925
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
1926
|
-
/** The date and time when the entry point was updated. */
|
|
1927
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
1928
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
1929
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
1930
|
-
};
|
|
1931
|
-
/** This is a Mini video collection entry point item. */
|
|
1932
|
-
export type VideoCollectionEntryPointItem = {
|
|
1933
|
-
__typename?: 'VideoCollectionEntryPointItem';
|
|
1934
|
-
/**
|
|
1935
|
-
* The content creator for the item.
|
|
1936
|
-
* @deprecated No longer used.
|
|
1937
|
-
*/
|
|
1938
|
-
contentCreator?: Maybe<ContentCreator>;
|
|
1939
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1940
|
-
externalId?: Maybe<Scalars['ID']>;
|
|
1941
|
-
/** The fallback image for the item. */
|
|
1942
|
-
fallbackImage: Image;
|
|
1943
|
-
/** The product ID for the item. */
|
|
1944
|
-
productId?: Maybe<Scalars['ID']>;
|
|
1945
|
-
/** The video for the item. */
|
|
1946
|
-
video?: Maybe<ExternalVideo>;
|
|
1947
|
-
};
|
|
1948
|
-
/** This is a Mini Video Collection entry point item. */
|
|
1949
|
-
export type VideoCollectionEntryPointItemInput = {
|
|
1950
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1951
|
-
externalId?: InputMaybe<Scalars['String']>;
|
|
1952
|
-
/** The fallback image for the entry point. */
|
|
1953
|
-
fallbackImage: ImageInput;
|
|
1954
|
-
/** The product ID for the entry point. */
|
|
1955
|
-
productId?: InputMaybe<Scalars['ID']>;
|
|
1956
|
-
/** The product variant ID for the entry point. */
|
|
1957
|
-
productVariantId?: InputMaybe<Scalars['ID']>;
|
|
1958
|
-
/** The video for the entry point. */
|
|
1959
|
-
video: ExternalVideoInput;
|
|
1960
|
-
};
|
|
1961
|
-
/** The information needed to create or update a video collection entry point. */
|
|
1962
|
-
export type VideoCollectionEntryPointSetInput = {
|
|
1963
|
-
/** The items for the entry point. It can't be empty. */
|
|
1964
|
-
items: Array<VideoCollectionEntryPointItemInput>;
|
|
1965
|
-
};
|
|
1966
|
-
/** This is a Mini video collection V2 entry point. */
|
|
1967
|
-
export type VideoCollectionV2EntryPoint = EntryPoint & {
|
|
1968
|
-
__typename?: 'VideoCollectionV2EntryPoint';
|
|
1969
|
-
/** The ID of the entry point. */
|
|
1970
|
-
id?: Maybe<Scalars['ID']>;
|
|
1971
|
-
/** The items for the entry point. */
|
|
1972
|
-
items: Array<VideoCollectionV2EntryPointItem>;
|
|
1973
|
-
/** The location of the entry point. */
|
|
1974
|
-
location?: Maybe<EntryPointLocation>;
|
|
1975
|
-
/** The ID of the owner of the entry point. Empty indicates the entry point has multiple owners set by the `visibilityRule` */
|
|
1976
|
-
ownerId?: Maybe<Scalars['ID']>;
|
|
1977
|
-
/** The date and time when the entry point was updated. */
|
|
1978
|
-
updatedAt: Scalars['ISO8601DateTime'];
|
|
1979
|
-
/** The visibility rule of the entry point. Empty indicates the entry point has a single owner set by the `ownerId`. */
|
|
1980
|
-
visibilityRule?: Maybe<Scalars['String']>;
|
|
1981
|
-
};
|
|
1982
|
-
/** This is a content creator that may appear next to a Mini entry point. */
|
|
1983
|
-
export type VideoCollectionV2EntryPointContentCreator = {
|
|
1984
|
-
__typename?: 'VideoCollectionV2EntryPointContentCreator';
|
|
1985
|
-
/** The avatar of the content creator. */
|
|
1986
|
-
avatar?: Maybe<Image>;
|
|
1987
|
-
/** The name of the content creator. */
|
|
1988
|
-
name: Scalars['String'];
|
|
1989
|
-
};
|
|
1990
|
-
/** This is a Mini video collection entry point item. */
|
|
1991
|
-
export type VideoCollectionV2EntryPointItem = {
|
|
1992
|
-
__typename?: 'VideoCollectionV2EntryPointItem';
|
|
1993
|
-
/**
|
|
1994
|
-
* The content creator for the item.
|
|
1995
|
-
* @deprecated No longer used.
|
|
1996
|
-
*/
|
|
1997
|
-
contentCreator?: Maybe<VideoCollectionV2EntryPointContentCreator>;
|
|
1998
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
1999
|
-
externalId: Scalars['ID'];
|
|
2000
|
-
/** The fallback image for the item. */
|
|
2001
|
-
fallbackImage: Image;
|
|
2002
|
-
/** The preview video to be used in the entry point. */
|
|
2003
|
-
previewVideo?: Maybe<ExternalVideo>;
|
|
2004
|
-
/** The list of products associated with this video. */
|
|
2005
|
-
relatedProducts: Array<VideoCollectionV2EntryPointRelatedProduct>;
|
|
2006
|
-
/** The video for the item. */
|
|
2007
|
-
video?: Maybe<ExternalVideo>;
|
|
2008
|
-
};
|
|
2009
|
-
/** This is a Mini Video Collection V2 entry point item. */
|
|
2010
|
-
export type VideoCollectionV2EntryPointItemInput = {
|
|
2011
|
-
/** The external ID for the item. Provided by the partner and opaque to the Shop app. */
|
|
2012
|
-
externalId: Scalars['String'];
|
|
2013
|
-
/** The fallback image for the entry point. */
|
|
2014
|
-
fallbackImage: ImageInput;
|
|
2015
|
-
/** The video to be shown in the entry point. Should be shorter and limited to the most important part. */
|
|
2016
|
-
previewVideo?: InputMaybe<ExternalVideoInput>;
|
|
2017
|
-
/** The list of products associated with this video. */
|
|
2018
|
-
relatedProducts: Array<VideoCollectionV2EntryPointItemRelatedProductInput>;
|
|
2019
|
-
/** The video for the entry point. */
|
|
2020
|
-
video: ExternalVideoInput;
|
|
2021
|
-
};
|
|
2022
|
-
/** This is a related product for the video. */
|
|
2023
|
-
export type VideoCollectionV2EntryPointItemRelatedProductInput = {
|
|
2024
|
-
/** The product ID for the entry point. */
|
|
2025
|
-
productId: Scalars['ID'];
|
|
2026
|
-
/** The product variant ID for the entry point. */
|
|
2027
|
-
productVariantId?: InputMaybe<Scalars['ID']>;
|
|
2028
|
-
};
|
|
2029
|
-
/** The related product item shown on the video. */
|
|
2030
|
-
export type VideoCollectionV2EntryPointRelatedProduct = {
|
|
2031
|
-
__typename?: 'VideoCollectionV2EntryPointRelatedProduct';
|
|
2032
|
-
/** The product ID for the entry point. */
|
|
2033
|
-
productId: Scalars['ID'];
|
|
2034
|
-
/** The product variant ID for the entry point. */
|
|
2035
|
-
productVariantId?: Maybe<Scalars['ID']>;
|
|
2036
|
-
};
|
|
2037
|
-
/** The information needed to create or update a video collection V2 entry point. */
|
|
2038
|
-
export type VideoCollectionV2EntryPointSetInput = {
|
|
2039
|
-
/** The items for the entry point. It can't be empty. */
|
|
2040
|
-
items: Array<VideoCollectionV2EntryPointItemInput>;
|
|
2041
|
-
};
|
|
2042
814
|
export type GenerateApiKeyMutationVariables = Exact<{
|
|
2043
815
|
miniHandle: Scalars['String'];
|
|
2044
816
|
partnersAccessToken: Scalars['String'];
|
|
@@ -2199,6 +971,16 @@ export type MiniCreateMutation = {
|
|
|
2199
971
|
}>;
|
|
2200
972
|
};
|
|
2201
973
|
};
|
|
974
|
+
export type MiniToggleMutationVariables = Exact<{
|
|
975
|
+
enable: Scalars['Boolean'];
|
|
976
|
+
}>;
|
|
977
|
+
export type MiniToggleMutation = {
|
|
978
|
+
__typename?: 'Mutation';
|
|
979
|
+
miniToggle: {
|
|
980
|
+
__typename?: 'MiniTogglePayload';
|
|
981
|
+
enabled?: boolean | null;
|
|
982
|
+
};
|
|
983
|
+
};
|
|
2202
984
|
export type MiniQueryVariables = Exact<{
|
|
2203
985
|
[key: string]: never;
|
|
2204
986
|
}>;
|
|
@@ -2297,6 +1079,9 @@ export declare const MiniCreateDocument: DocumentNode<MiniCreateMutation, Exact<
|
|
|
2297
1079
|
organizationId: Scalars['ID'];
|
|
2298
1080
|
partnersAccessToken: Scalars['String'];
|
|
2299
1081
|
}>>;
|
|
1082
|
+
export declare const MiniToggleDocument: DocumentNode<MiniToggleMutation, Exact<{
|
|
1083
|
+
enable: Scalars['Boolean'];
|
|
1084
|
+
}>>;
|
|
2300
1085
|
export declare const MiniDocument: DocumentNode<MiniQuery, Exact<{
|
|
2301
1086
|
[key: string]: never;
|
|
2302
1087
|
}>>;
|