@shopify/shop-minis-cli 0.3.1 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/build/commands/create/examples/default/AGENTS.md +3 -1
  2. package/build/commands/create/examples/default/src/manifest.json +1 -1
  3. package/build/commands/disable/index.d.ts +2 -0
  4. package/build/commands/disable/index.js +30 -0
  5. package/build/commands/disable/index.js.map +1 -0
  6. package/build/commands/enable/index.d.ts +2 -0
  7. package/build/commands/enable/index.js +30 -0
  8. package/build/commands/enable/index.js.map +1 -0
  9. package/build/data/mini-toggle.d.ts +6 -0
  10. package/build/data/mini-toggle.js +14 -0
  11. package/build/data/mini-toggle.js.map +1 -0
  12. package/build/data/types/autogenerated/shop-minis-admin-api/gql.d.ts +7 -0
  13. package/build/data/types/autogenerated/shop-minis-admin-api/gql.js +1 -0
  14. package/build/data/types/autogenerated/shop-minis-admin-api/gql.js.map +1 -1
  15. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.d.ts +29 -1244
  16. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js +55 -560
  17. package/build/data/types/autogenerated/shop-minis-admin-api/graphql.js.map +1 -1
  18. package/build/program.js +4 -0
  19. package/build/program.js.map +1 -1
  20. package/build/utils/scopes-validation.d.ts +8 -2
  21. package/build/utils/scopes-validation.js +27 -3
  22. package/build/utils/scopes-validation.js.map +1 -1
  23. package/dashboard/node_modules/.bin/marked +2 -2
  24. package/dashboard/node_modules/.bin/tsc +2 -2
  25. package/dashboard/node_modules/.bin/tsserver +2 -2
  26. package/dashboard/node_modules/.bin/vite +2 -2
  27. package/dashboard/node_modules/.modules.yaml +1 -1
  28. package/dashboard/node_modules/.pnpm/@babel+core@7.28.6/node_modules/@babel/core/node_modules/.bin/json5 +2 -2
  29. package/dashboard/node_modules/.pnpm/@babel+core@7.28.6/node_modules/@babel/core/node_modules/.bin/parser +2 -2
  30. package/dashboard/node_modules/.pnpm/@babel+core@7.28.6/node_modules/@babel/core/node_modules/.bin/semver +2 -2
  31. package/dashboard/node_modules/.pnpm/@babel+generator@7.28.6/node_modules/@babel/generator/node_modules/.bin/jsesc +2 -2
  32. package/dashboard/node_modules/.pnpm/@babel+generator@7.28.6/node_modules/@babel/generator/node_modules/.bin/parser +2 -2
  33. package/dashboard/node_modules/.pnpm/@babel+helper-compilation-targets@7.28.6/node_modules/@babel/helper-compilation-targets/node_modules/.bin/browserslist +2 -2
  34. package/dashboard/node_modules/.pnpm/@babel+helper-compilation-targets@7.28.6/node_modules/@babel/helper-compilation-targets/node_modules/.bin/semver +2 -2
  35. package/dashboard/node_modules/.pnpm/@babel+template@7.28.6/node_modules/@babel/template/node_modules/.bin/parser +2 -2
  36. package/dashboard/node_modules/.pnpm/@babel+traverse@7.28.6/node_modules/@babel/traverse/node_modules/.bin/parser +2 -2
  37. package/dashboard/node_modules/.pnpm/@types+babel__core@7.20.5/node_modules/@types/babel__core/node_modules/.bin/parser +2 -2
  38. package/dashboard/node_modules/.pnpm/@types+babel__template@7.4.4/node_modules/@types/babel__template/node_modules/.bin/parser +2 -2
  39. package/dashboard/node_modules/.pnpm/@vitejs+plugin-react@4.7.0_vite@5.4.21/node_modules/@vitejs/plugin-react/node_modules/.bin/vite +2 -2
  40. package/dashboard/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules/.bin/baseline-browser-mapping +2 -2
  41. package/dashboard/node_modules/.pnpm/browserslist@4.28.1/node_modules/browserslist/node_modules/.bin/update-browserslist-db +2 -2
  42. package/dashboard/node_modules/.pnpm/node_modules/.bin/baseline-browser-mapping +2 -2
  43. package/dashboard/node_modules/.pnpm/node_modules/.bin/browserslist +2 -2
  44. package/dashboard/node_modules/.pnpm/node_modules/.bin/esbuild +2 -2
  45. package/dashboard/node_modules/.pnpm/node_modules/.bin/jsesc +2 -2
  46. package/dashboard/node_modules/.pnpm/node_modules/.bin/json5 +2 -2
  47. package/dashboard/node_modules/.pnpm/node_modules/.bin/loose-envify +2 -2
  48. package/dashboard/node_modules/.pnpm/node_modules/.bin/nanoid +2 -2
  49. package/dashboard/node_modules/.pnpm/node_modules/.bin/parser +2 -2
  50. package/dashboard/node_modules/.pnpm/node_modules/.bin/rollup +2 -2
  51. package/dashboard/node_modules/.pnpm/node_modules/.bin/semver +2 -2
  52. package/dashboard/node_modules/.pnpm/node_modules/.bin/update-browserslist-db +2 -2
  53. package/dashboard/node_modules/.pnpm/postcss@8.5.6/node_modules/postcss/node_modules/.bin/nanoid +2 -2
  54. package/dashboard/node_modules/.pnpm/react-dom@18.3.1_react@18.3.1/node_modules/react-dom/node_modules/.bin/loose-envify +2 -2
  55. package/dashboard/node_modules/.pnpm/react@18.3.1/node_modules/react/node_modules/.bin/loose-envify +2 -2
  56. package/dashboard/node_modules/.pnpm/scheduler@0.23.2/node_modules/scheduler/node_modules/.bin/loose-envify +2 -2
  57. package/dashboard/node_modules/.pnpm/update-browserslist-db@1.2.3_browserslist@4.28.1/node_modules/update-browserslist-db/node_modules/.bin/browserslist +2 -2
  58. package/dashboard/node_modules/.pnpm/vite@5.4.21/node_modules/vite/node_modules/.bin/esbuild +2 -2
  59. package/dashboard/node_modules/.pnpm/vite@5.4.21/node_modules/vite/node_modules/.bin/rollup +2 -2
  60. package/dashboard/node_modules/.pnpm-workspace-state-v1.json +1 -1
  61. package/package.json +1 -1
  62. package/scripts/graphql-codegen.ts +13 -1
@@ -32,564 +32,6 @@ export var ContentStatus;
32
32
  /** Content has been rejected. */
33
33
  ContentStatus["Rejected"] = "REJECTED";
34
34
  })(ContentStatus || (ContentStatus = {}));
35
- /** ISO currency code. */
36
- export var CurrencyCode;
37
- (function (CurrencyCode) {
38
- /** United Arab Emirates Dirham. */
39
- CurrencyCode["Aed"] = "AED";
40
- /** Afghan Afghani. */
41
- CurrencyCode["Afn"] = "AFN";
42
- /** Albanian Lek. */
43
- CurrencyCode["All"] = "ALL";
44
- /** Armenian Dram. */
45
- CurrencyCode["Amd"] = "AMD";
46
- /** Netherlands Antillean Gulden. */
47
- CurrencyCode["Ang"] = "ANG";
48
- /** Angolan Kwanza. */
49
- CurrencyCode["Aoa"] = "AOA";
50
- /** Argentine Peso. */
51
- CurrencyCode["Ars"] = "ARS";
52
- /** Australian Dollar. */
53
- CurrencyCode["Aud"] = "AUD";
54
- /** Aruban Florin. */
55
- CurrencyCode["Awg"] = "AWG";
56
- /** Azerbaijani Manat. */
57
- CurrencyCode["Azn"] = "AZN";
58
- /** Bosnia and Herzegovina Convertible Mark. */
59
- CurrencyCode["Bam"] = "BAM";
60
- /** Barbadian Dollar. */
61
- CurrencyCode["Bbd"] = "BBD";
62
- /** Bangladeshi Taka. */
63
- CurrencyCode["Bdt"] = "BDT";
64
- /** Bulgarian Lev. */
65
- CurrencyCode["Bgn"] = "BGN";
66
- /** Bahraini Dinar. */
67
- CurrencyCode["Bhd"] = "BHD";
68
- /** Burundian Franc. */
69
- CurrencyCode["Bif"] = "BIF";
70
- /** Bermudian Dollar. */
71
- CurrencyCode["Bmd"] = "BMD";
72
- /** Brunei Dollar. */
73
- CurrencyCode["Bnd"] = "BND";
74
- /** Bolivian Boliviano. */
75
- CurrencyCode["Bob"] = "BOB";
76
- /** Brazilian Real. */
77
- CurrencyCode["Brl"] = "BRL";
78
- /** Bahamian Dollar. */
79
- CurrencyCode["Bsd"] = "BSD";
80
- /** Bhutanese Ngultrum. */
81
- CurrencyCode["Btn"] = "BTN";
82
- /** Botswana Pula. */
83
- CurrencyCode["Bwp"] = "BWP";
84
- /** Belarusian Ruble. */
85
- CurrencyCode["Byn"] = "BYN";
86
- /** Belarusian Ruble. */
87
- CurrencyCode["Byr"] = "BYR";
88
- /** Belize Dollar. */
89
- CurrencyCode["Bzd"] = "BZD";
90
- /** Canadian Dollar. */
91
- CurrencyCode["Cad"] = "CAD";
92
- /** Congolese Franc. */
93
- CurrencyCode["Cdf"] = "CDF";
94
- /** Swiss Franc. */
95
- CurrencyCode["Chf"] = "CHF";
96
- /** Unidad de Fomento. */
97
- CurrencyCode["Clf"] = "CLF";
98
- /** Chilean Peso. */
99
- CurrencyCode["Clp"] = "CLP";
100
- /** Chinese Renminbi Yuan. */
101
- CurrencyCode["Cny"] = "CNY";
102
- /** Colombian Peso. */
103
- CurrencyCode["Cop"] = "COP";
104
- /** Costa Rican Colón. */
105
- CurrencyCode["Crc"] = "CRC";
106
- /** Cuban Convertible Peso. */
107
- CurrencyCode["Cuc"] = "CUC";
108
- /** Cuban Peso. */
109
- CurrencyCode["Cup"] = "CUP";
110
- /** Cape Verdean Escudo. */
111
- CurrencyCode["Cve"] = "CVE";
112
- /** Cypriot pound. */
113
- CurrencyCode["Cyp"] = "CYP";
114
- /** Czech Koruna. */
115
- CurrencyCode["Czk"] = "CZK";
116
- /** Djiboutian Franc. */
117
- CurrencyCode["Djf"] = "DJF";
118
- /** Danish Krone. */
119
- CurrencyCode["Dkk"] = "DKK";
120
- /** Dominican Peso. */
121
- CurrencyCode["Dop"] = "DOP";
122
- /** Algerian Dinar. */
123
- CurrencyCode["Dzd"] = "DZD";
124
- /** Estonian Kroon. */
125
- CurrencyCode["Eek"] = "EEK";
126
- /** Egyptian Pound. */
127
- CurrencyCode["Egp"] = "EGP";
128
- /** Eritrean Nakfa. */
129
- CurrencyCode["Ern"] = "ERN";
130
- /** Ethiopian Birr. */
131
- CurrencyCode["Etb"] = "ETB";
132
- /** Euro. */
133
- CurrencyCode["Eur"] = "EUR";
134
- /** Fijian Dollar. */
135
- CurrencyCode["Fjd"] = "FJD";
136
- /** Falkland Pound. */
137
- CurrencyCode["Fkp"] = "FKP";
138
- /** British Pound. */
139
- CurrencyCode["Gbp"] = "GBP";
140
- /** British Penny. */
141
- CurrencyCode["Gbx"] = "GBX";
142
- /** Georgian Lari. */
143
- CurrencyCode["Gel"] = "GEL";
144
- /** Guernsey Pound. */
145
- CurrencyCode["Ggp"] = "GGP";
146
- /** Ghanaian Cedi. */
147
- CurrencyCode["Ghc"] = "GHC";
148
- /** Ghanaian Cedi. */
149
- CurrencyCode["Ghs"] = "GHS";
150
- /** Gibraltar Pound. */
151
- CurrencyCode["Gip"] = "GIP";
152
- /** Gambian Dalasi. */
153
- CurrencyCode["Gmd"] = "GMD";
154
- /** Guinean Franc. */
155
- CurrencyCode["Gnf"] = "GNF";
156
- /** Guatemalan Quetzal. */
157
- CurrencyCode["Gtq"] = "GTQ";
158
- /** Guyanese Dollar. */
159
- CurrencyCode["Gyd"] = "GYD";
160
- /** Hong Kong Dollar. */
161
- CurrencyCode["Hkd"] = "HKD";
162
- /** Honduran Lempira. */
163
- CurrencyCode["Hnl"] = "HNL";
164
- /** Croatian Kuna. */
165
- CurrencyCode["Hrk"] = "HRK";
166
- /** Haitian Gourde. */
167
- CurrencyCode["Htg"] = "HTG";
168
- /** Hungarian Forint. */
169
- CurrencyCode["Huf"] = "HUF";
170
- /** Indonesian Rupiah. */
171
- CurrencyCode["Idr"] = "IDR";
172
- /** Israeli New Sheqel. */
173
- CurrencyCode["Ils"] = "ILS";
174
- /** Isle of Man Pound. */
175
- CurrencyCode["Imp"] = "IMP";
176
- /** Indian Rupee. */
177
- CurrencyCode["Inr"] = "INR";
178
- /** Iraqi Dinar. */
179
- CurrencyCode["Iqd"] = "IQD";
180
- /** Iranian Rial. */
181
- CurrencyCode["Irr"] = "IRR";
182
- /** Icelandic Króna. */
183
- CurrencyCode["Isk"] = "ISK";
184
- /** Jersey Pound. */
185
- CurrencyCode["Jep"] = "JEP";
186
- /** Jamaican Dollar. */
187
- CurrencyCode["Jmd"] = "JMD";
188
- /** Jordanian Dinar. */
189
- CurrencyCode["Jod"] = "JOD";
190
- /** Japanese Yen. */
191
- CurrencyCode["Jpy"] = "JPY";
192
- /** Kenyan Shilling. */
193
- CurrencyCode["Kes"] = "KES";
194
- /** Kyrgyzstani Som. */
195
- CurrencyCode["Kgs"] = "KGS";
196
- /** Cambodian Riel. */
197
- CurrencyCode["Khr"] = "KHR";
198
- /** Kiribati Dollar. */
199
- CurrencyCode["Kid"] = "KID";
200
- /** Comorian Franc. */
201
- CurrencyCode["Kmf"] = "KMF";
202
- /** North Korean Won. */
203
- CurrencyCode["Kpw"] = "KPW";
204
- /** South Korean Won. */
205
- CurrencyCode["Krw"] = "KRW";
206
- /** Kuwaiti Dinar. */
207
- CurrencyCode["Kwd"] = "KWD";
208
- /** Cayman Islands Dollar. */
209
- CurrencyCode["Kyd"] = "KYD";
210
- /** Kazakhstani Tenge. */
211
- CurrencyCode["Kzt"] = "KZT";
212
- /** Lao Kip. */
213
- CurrencyCode["Lak"] = "LAK";
214
- /** Lebanese Pound. */
215
- CurrencyCode["Lbp"] = "LBP";
216
- /** Sri Lankan Rupee. */
217
- CurrencyCode["Lkr"] = "LKR";
218
- /** Liberian Dollar. */
219
- CurrencyCode["Lrd"] = "LRD";
220
- /** Lesotho Loti. */
221
- CurrencyCode["Lsl"] = "LSL";
222
- /** Lithuanian Litas. */
223
- CurrencyCode["Ltl"] = "LTL";
224
- /** Latvian Lats. */
225
- CurrencyCode["Lvl"] = "LVL";
226
- /** Libyan Dinar. */
227
- CurrencyCode["Lyd"] = "LYD";
228
- /** Moroccan Dirham. */
229
- CurrencyCode["Mad"] = "MAD";
230
- /** Moldovan Leu. */
231
- CurrencyCode["Mdl"] = "MDL";
232
- /** Malagasy Ariary. */
233
- CurrencyCode["Mga"] = "MGA";
234
- /** Macedonian Denar. */
235
- CurrencyCode["Mkd"] = "MKD";
236
- /** Myanmar Kyat. */
237
- CurrencyCode["Mmk"] = "MMK";
238
- /** Mongolian Tögrög. */
239
- CurrencyCode["Mnt"] = "MNT";
240
- /** Macanese Pataca. */
241
- CurrencyCode["Mop"] = "MOP";
242
- /** Mauritanian Ouguiya. */
243
- CurrencyCode["Mro"] = "MRO";
244
- /** Mauritanian New Ouguiya. */
245
- CurrencyCode["Mru"] = "MRU";
246
- /** Maltese Lira. */
247
- CurrencyCode["Mtl"] = "MTL";
248
- /** Mauritian Rupee. */
249
- CurrencyCode["Mur"] = "MUR";
250
- /** Maldivian Rufiyaa. */
251
- CurrencyCode["Mvr"] = "MVR";
252
- /** Malawian Kwacha. */
253
- CurrencyCode["Mwk"] = "MWK";
254
- /** Mexican Peso. */
255
- CurrencyCode["Mxn"] = "MXN";
256
- /** Malaysian Ringgit. */
257
- CurrencyCode["Myr"] = "MYR";
258
- /** Mozambican Metical. */
259
- CurrencyCode["Mzn"] = "MZN";
260
- /** Namibian Dollar. */
261
- CurrencyCode["Nad"] = "NAD";
262
- /** Nigerian Naira. */
263
- CurrencyCode["Ngn"] = "NGN";
264
- /** Nicaraguan Córdoba. */
265
- CurrencyCode["Nio"] = "NIO";
266
- /** Norwegian Krone. */
267
- CurrencyCode["Nok"] = "NOK";
268
- /** Nepalese Rupee. */
269
- CurrencyCode["Npr"] = "NPR";
270
- /** New Zealand Dollar. */
271
- CurrencyCode["Nzd"] = "NZD";
272
- /** Omani Rial. */
273
- CurrencyCode["Omr"] = "OMR";
274
- /** Panamanian Balboa. */
275
- CurrencyCode["Pab"] = "PAB";
276
- /** Peruvian Sol. */
277
- CurrencyCode["Pen"] = "PEN";
278
- /** Papua New Guinean Kina. */
279
- CurrencyCode["Pgk"] = "PGK";
280
- /** Philippine Peso. */
281
- CurrencyCode["Php"] = "PHP";
282
- /** Pakistani Rupee. */
283
- CurrencyCode["Pkr"] = "PKR";
284
- /** Polish Złoty. */
285
- CurrencyCode["Pln"] = "PLN";
286
- /** Paraguayan Guaraní. */
287
- CurrencyCode["Pyg"] = "PYG";
288
- /** Qatari Riyal. */
289
- CurrencyCode["Qar"] = "QAR";
290
- /** Romanian Leu. */
291
- CurrencyCode["Ron"] = "RON";
292
- /** Serbian Dinar. */
293
- CurrencyCode["Rsd"] = "RSD";
294
- /** Russian Ruble. */
295
- CurrencyCode["Rub"] = "RUB";
296
- /** Rwandan Franc. */
297
- CurrencyCode["Rwf"] = "RWF";
298
- /** Saudi Riyal. */
299
- CurrencyCode["Sar"] = "SAR";
300
- /** Solomon Islands Dollar. */
301
- CurrencyCode["Sbd"] = "SBD";
302
- /** Seychellois Rupee. */
303
- CurrencyCode["Scr"] = "SCR";
304
- /** Sudanese Pound. */
305
- CurrencyCode["Sdg"] = "SDG";
306
- /** Swedish Krona. */
307
- CurrencyCode["Sek"] = "SEK";
308
- /** Singapore Dollar. */
309
- CurrencyCode["Sgd"] = "SGD";
310
- /** Saint Helenian Pound. */
311
- CurrencyCode["Shp"] = "SHP";
312
- /** Slovak Koruna. */
313
- CurrencyCode["Skk"] = "SKK";
314
- /** Sierra Leonean Leone. */
315
- CurrencyCode["Sll"] = "SLL";
316
- /** Somali Shilling. */
317
- CurrencyCode["Sos"] = "SOS";
318
- /** Surinamese Dollar. */
319
- CurrencyCode["Srd"] = "SRD";
320
- /** South Sudanese Pound. */
321
- CurrencyCode["Ssp"] = "SSP";
322
- /** São Tomé and Príncipe Dobra. */
323
- CurrencyCode["Std"] = "STD";
324
- /** São Tomé and Príncipe Dobra. */
325
- CurrencyCode["Stn"] = "STN";
326
- /** Salvadoran Colón. */
327
- CurrencyCode["Svc"] = "SVC";
328
- /** Syrian Pound. */
329
- CurrencyCode["Syp"] = "SYP";
330
- /** Swazi Lilangeni. */
331
- CurrencyCode["Szl"] = "SZL";
332
- /** Thai Baht. */
333
- CurrencyCode["Thb"] = "THB";
334
- /** Tajikistani Somoni. */
335
- CurrencyCode["Tjs"] = "TJS";
336
- /** Turkmenistani Manat. */
337
- CurrencyCode["Tmm"] = "TMM";
338
- /** Turkmenistani Manat. */
339
- CurrencyCode["Tmt"] = "TMT";
340
- /** Tunisian Dinar. */
341
- CurrencyCode["Tnd"] = "TND";
342
- /** Tongan Paʻanga. */
343
- CurrencyCode["Top"] = "TOP";
344
- /** Turkish Lira. */
345
- CurrencyCode["Try"] = "TRY";
346
- /** Trinidad and Tobago Dollar. */
347
- CurrencyCode["Ttd"] = "TTD";
348
- /** New Taiwan Dollar. */
349
- CurrencyCode["Twd"] = "TWD";
350
- /** Tanzanian Shilling. */
351
- CurrencyCode["Tzs"] = "TZS";
352
- /** Ukrainian Hryvnia. */
353
- CurrencyCode["Uah"] = "UAH";
354
- /** Ugandan Shilling. */
355
- CurrencyCode["Ugx"] = "UGX";
356
- /** United States Dollar. */
357
- CurrencyCode["Usd"] = "USD";
358
- /** Uruguayan Peso. */
359
- CurrencyCode["Uyu"] = "UYU";
360
- /** Uzbekistan Som. */
361
- CurrencyCode["Uzs"] = "UZS";
362
- /** Venezuelan Bolívar. */
363
- CurrencyCode["Veb"] = "VEB";
364
- /** Venezuelan Bolívar soberano. */
365
- CurrencyCode["Ved"] = "VED";
366
- /** Venezuelan Bolívar fuerte. */
367
- CurrencyCode["Vef"] = "VEF";
368
- /** Venezuelan Bolívar soberano. */
369
- CurrencyCode["Ves"] = "VES";
370
- /** Vietnamese Đồng. */
371
- CurrencyCode["Vnd"] = "VND";
372
- /** Vanuatu Vatu. */
373
- CurrencyCode["Vuv"] = "VUV";
374
- /** Samoan Tala. */
375
- CurrencyCode["Wst"] = "WST";
376
- /** Central African Cfa Franc. */
377
- CurrencyCode["Xaf"] = "XAF";
378
- /** Silver (Troy Ounce). */
379
- CurrencyCode["Xag"] = "XAG";
380
- /** Gold (Troy Ounce). */
381
- CurrencyCode["Xau"] = "XAU";
382
- /** European Composite Unit. */
383
- CurrencyCode["Xba"] = "XBA";
384
- /** European Monetary Unit. */
385
- CurrencyCode["Xbb"] = "XBB";
386
- /** European Unit of Account 9. */
387
- CurrencyCode["Xbc"] = "XBC";
388
- /** European Unit of Account 17. */
389
- CurrencyCode["Xbd"] = "XBD";
390
- /** East Caribbean Dollar. */
391
- CurrencyCode["Xcd"] = "XCD";
392
- /** Special Drawing Rights. */
393
- CurrencyCode["Xdr"] = "XDR";
394
- /** UIC Franc. */
395
- CurrencyCode["Xfu"] = "XFU";
396
- /** West African Cfa Franc. */
397
- CurrencyCode["Xof"] = "XOF";
398
- /** Palladium. */
399
- CurrencyCode["Xpd"] = "XPD";
400
- /** Cfp Franc. */
401
- CurrencyCode["Xpf"] = "XPF";
402
- /** Platinum. */
403
- CurrencyCode["Xpt"] = "XPT";
404
- /** Codes specifically reserved for testing purposes. */
405
- CurrencyCode["Xts"] = "XTS";
406
- /** Yemeni Rial. */
407
- CurrencyCode["Yer"] = "YER";
408
- /** South African Rand. */
409
- CurrencyCode["Zar"] = "ZAR";
410
- /** Zambian Kwacha. */
411
- CurrencyCode["Zmk"] = "ZMK";
412
- /** Zambian Kwacha. */
413
- CurrencyCode["Zmw"] = "ZMW";
414
- /** Zimbabwean Dollar. */
415
- CurrencyCode["Zwd"] = "ZWD";
416
- /** Zimbabwean Dollar. */
417
- CurrencyCode["Zwl"] = "ZWL";
418
- /** Zimbabwean Dollar. */
419
- CurrencyCode["Zwn"] = "ZWN";
420
- /** Zimbabwean Dollar. */
421
- CurrencyCode["Zwr"] = "ZWR";
422
- })(CurrencyCode || (CurrencyCode = {}));
423
- /** Possible error codes that can be returned by EntryPointDeleteAllUserError. */
424
- export var EntryPointDeleteAllUserErrorCode;
425
- (function (EntryPointDeleteAllUserErrorCode) {
426
- /** Error code when the shop is not found. */
427
- EntryPointDeleteAllUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
428
- })(EntryPointDeleteAllUserErrorCode || (EntryPointDeleteAllUserErrorCode = {}));
429
- /** Possible error codes that can be returned by EntryPointDeleteByOwnerUserError. */
430
- export var EntryPointDeleteByOwnerUserErrorCode;
431
- (function (EntryPointDeleteByOwnerUserErrorCode) {
432
- /** Error code when the entry point definition is not found from the manifest. */
433
- EntryPointDeleteByOwnerUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
434
- /** Error code when the entry point to be deleted is not found. */
435
- EntryPointDeleteByOwnerUserErrorCode["EntryPointNotFound"] = "ENTRY_POINT_NOT_FOUND";
436
- })(EntryPointDeleteByOwnerUserErrorCode || (EntryPointDeleteByOwnerUserErrorCode = {}));
437
- /** Possible error codes that can be returned by EntryPointDeleteByRuleUserError. */
438
- export var EntryPointDeleteByRuleUserErrorCode;
439
- (function (EntryPointDeleteByRuleUserErrorCode) {
440
- /** Error code when the entry point definition is not found from the manifest. */
441
- EntryPointDeleteByRuleUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
442
- /** Error code when the entry point to be deleted is not found. */
443
- EntryPointDeleteByRuleUserErrorCode["EntryPointNotFound"] = "ENTRY_POINT_NOT_FOUND";
444
- /** Error code when the shop is not found. */
445
- EntryPointDeleteByRuleUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
446
- })(EntryPointDeleteByRuleUserErrorCode || (EntryPointDeleteByRuleUserErrorCode = {}));
447
- /** The event status enum for an entry point. */
448
- export var EntryPointEventStatus;
449
- (function (EntryPointEventStatus) {
450
- /** The active status for Mini entry point event type. */
451
- EntryPointEventStatus["Active"] = "ACTIVE";
452
- /** The post active status for Mini entry point event type. */
453
- EntryPointEventStatus["PostActive"] = "POST_ACTIVE";
454
- /** The pre active status for Mini entry point event type. */
455
- EntryPointEventStatus["PreActive"] = "PRE_ACTIVE";
456
- })(EntryPointEventStatus || (EntryPointEventStatus = {}));
457
- /** Possible error codes that can be returned by EntryPointEventStatusUpdateUserError. */
458
- export var EntryPointEventStatusUpdateUserErrorCode;
459
- (function (EntryPointEventStatusUpdateUserErrorCode) {
460
- /** Error code when the product is not found. */
461
- EntryPointEventStatusUpdateUserErrorCode["ProductNotFound"] = "PRODUCT_NOT_FOUND";
462
- /** Error code when the shop is not found. */
463
- EntryPointEventStatusUpdateUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
464
- })(EntryPointEventStatusUpdateUserErrorCode || (EntryPointEventStatusUpdateUserErrorCode = {}));
465
- /** The entry point location of a Mini. */
466
- export var EntryPointLocation;
467
- (function (EntryPointLocation) {
468
- /** The Mini should be displayed on the home feed. */
469
- EntryPointLocation["HomeFeed"] = "HOME_FEED";
470
- /** The Mini should be displayed on the order confirmation page. */
471
- EntryPointLocation["OrderConfirmationPage"] = "ORDER_CONFIRMATION_PAGE";
472
- /** The Mini should be displayed on the order management page. */
473
- EntryPointLocation["OrderManagementPage"] = "ORDER_MANAGEMENT_PAGE";
474
- /** The Mini should be displayed on the product page. */
475
- EntryPointLocation["ProductPage"] = "PRODUCT_PAGE";
476
- /** The Mini should be displayed on the product details page context menu. */
477
- EntryPointLocation["ProductPageContextMenu"] = "PRODUCT_PAGE_CONTEXT_MENU";
478
- /** The Mini should be displayed on the store page. */
479
- EntryPointLocation["StorePage"] = "STORE_PAGE";
480
- /** The Mini should be displayed on the store page context menu. */
481
- EntryPointLocation["StorePageContextMenu"] = "STORE_PAGE_CONTEXT_MENU";
482
- })(EntryPointLocation || (EntryPointLocation = {}));
483
- /** Possible error codes that can be returned by EntryPointSetByOwnerUserError. */
484
- export var EntryPointSetByOwnerUserErrorCode;
485
- (function (EntryPointSetByOwnerUserErrorCode) {
486
- /** Error code when the entry point definition is not found from the manifest. */
487
- EntryPointSetByOwnerUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
488
- /** Error code when an item is invalid for the home feed. */
489
- EntryPointSetByOwnerUserErrorCode["InvalidHomeFeedItem"] = "INVALID_HOME_FEED_ITEM";
490
- /** Error code when the mini is not eligible for using entry points. */
491
- EntryPointSetByOwnerUserErrorCode["MiniNotEligible"] = "MINI_NOT_ELIGIBLE";
492
- /** Error code when all entry point items are invalid. */
493
- EntryPointSetByOwnerUserErrorCode["NoValidItems"] = "NO_VALID_ITEMS";
494
- /** Error code when the product is not eligible for Shop Minis. */
495
- EntryPointSetByOwnerUserErrorCode["ProductNotEligible"] = "PRODUCT_NOT_ELIGIBLE";
496
- /** Error code when the shop does not have any Shopify App installed for the associated Shop Mini. */
497
- EntryPointSetByOwnerUserErrorCode["ShopifyAppNotInstalled"] = "SHOPIFY_APP_NOT_INSTALLED";
498
- /** Error code when the shop domain argument is not provided. */
499
- EntryPointSetByOwnerUserErrorCode["ShopDomainNotProvided"] = "SHOP_DOMAIN_NOT_PROVIDED";
500
- /** Error code when the shop is not eligible for Shop Minis. */
501
- EntryPointSetByOwnerUserErrorCode["ShopNotEligible"] = "SHOP_NOT_ELIGIBLE";
502
- /** Error code when the shop is not found. */
503
- EntryPointSetByOwnerUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
504
- /** Error code when the entry point owner is not the expected type for the given entry point location. */
505
- EntryPointSetByOwnerUserErrorCode["UnexpectedOwnerId"] = "UNEXPECTED_OWNER_ID";
506
- })(EntryPointSetByOwnerUserErrorCode || (EntryPointSetByOwnerUserErrorCode = {}));
507
- /** Possible error codes that can be returned by EntryPointSetByRuleUserError. */
508
- export var EntryPointSetByRuleUserErrorCode;
509
- (function (EntryPointSetByRuleUserErrorCode) {
510
- /** The entry point definition is not found from the manifest. */
511
- EntryPointSetByRuleUserErrorCode["DefinitionNotFound"] = "DEFINITION_NOT_FOUND";
512
- /** The visibility rule is invalid. */
513
- EntryPointSetByRuleUserErrorCode["InvalidVisibilityRule"] = "INVALID_VISIBILITY_RULE";
514
- /** The mini is not eligible for using entry points. */
515
- EntryPointSetByRuleUserErrorCode["MiniNotEligible"] = "MINI_NOT_ELIGIBLE";
516
- /** Error code when the shop does not have any Shopify App installed for the associated Shop Mini. */
517
- EntryPointSetByRuleUserErrorCode["ShopifyAppNotInstalled"] = "SHOPIFY_APP_NOT_INSTALLED";
518
- /** Error code when the shop domain argument is not provided. */
519
- EntryPointSetByRuleUserErrorCode["ShopDomainNotProvided"] = "SHOP_DOMAIN_NOT_PROVIDED";
520
- /** The shop is not eligible for Shop Minis. */
521
- EntryPointSetByRuleUserErrorCode["ShopNotEligible"] = "SHOP_NOT_ELIGIBLE";
522
- /** The shop is not found. */
523
- EntryPointSetByRuleUserErrorCode["ShopNotFound"] = "SHOP_NOT_FOUND";
524
- })(EntryPointSetByRuleUserErrorCode || (EntryPointSetByRuleUserErrorCode = {}));
525
- /** The entry point type of a Mini. */
526
- export var EntryPointType;
527
- (function (EntryPointType) {
528
- /** The Mini should be displayed as an action button. */
529
- EntryPointType["ActionButton"] = "ACTION_BUTTON";
530
- /** The Mini should be displayed as a card with content. */
531
- EntryPointType["ContentCard"] = "CONTENT_CARD";
532
- /** The Mini should be displayed as a card with content. */
533
- EntryPointType["DefaultCard"] = "DEFAULT_CARD";
534
- /** The Mini should be displayed as a card with a reminder button. */
535
- EntryPointType["EventCard"] = "EVENT_CARD";
536
- /** The Mini should be displayed as a card with a reminder button. */
537
- EntryPointType["EventCardV2"] = "EVENT_CARD_V2";
538
- /** The Mini should be displayed as a collection of images. */
539
- EntryPointType["ImageCollection"] = "IMAGE_COLLECTION";
540
- /** The Mini should be displayed as a collection of images with related products. */
541
- EntryPointType["ImageCollectionV2"] = "IMAGE_COLLECTION_V2";
542
- /** The Mini should be displayed as a link. */
543
- EntryPointType["Link"] = "LINK";
544
- /** The Mini should be displayed as a product offer card. */
545
- EntryPointType["ProductOfferCard"] = "PRODUCT_OFFER_CARD";
546
- /** The Mini should be displayed as a collection of videos. */
547
- EntryPointType["VideoCollection"] = "VIDEO_COLLECTION";
548
- /** The Mini should be displayed as a collection of videos. */
549
- EntryPointType["VideoCollectionV2"] = "VIDEO_COLLECTION_V2";
550
- })(EntryPointType || (EntryPointType = {}));
551
- /** The error code for an entry point visibility rule error. */
552
- export var EntryPointVisibilityRuleValidityErrorCode;
553
- (function (EntryPointVisibilityRuleValidityErrorCode) {
554
- /** Rules cannot be applied to all fields. Please specify the field name. */
555
- EntryPointVisibilityRuleValidityErrorCode["FieldsUnspecified"] = "FIELDS_UNSPECIFIED";
556
- /** Incompatible comparator found for the given fields. */
557
- EntryPointVisibilityRuleValidityErrorCode["IncompatibleComparators"] = "INCOMPATIBLE_COMPARATORS";
558
- /** Incompatible values given to the fields. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
559
- EntryPointVisibilityRuleValidityErrorCode["IncompatibleQueryTypes"] = "INCOMPATIBLE_QUERY_TYPES";
560
- /** Rule is not parseable. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
561
- EntryPointVisibilityRuleValidityErrorCode["IncorrectSyntax"] = "INCORRECT_SYNTAX";
562
- /** Rule is too long. Please refer to https://shopify.dev/api/usage/search-syntax for more information. */
563
- EntryPointVisibilityRuleValidityErrorCode["MaximumLengthExceeded"] = "MAXIMUM_LENGTH_EXCEEDED";
564
- /** 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. */
565
- EntryPointVisibilityRuleValidityErrorCode["UnsupportedFields"] = "UNSUPPORTED_FIELDS";
566
- })(EntryPointVisibilityRuleValidityErrorCode || (EntryPointVisibilityRuleValidityErrorCode = {}));
567
- /** The validity status of an entry point visibility rule. */
568
- export var EntryPointVisibilityRuleValidityStatus;
569
- (function (EntryPointVisibilityRuleValidityStatus) {
570
- /** The rule is not valid. */
571
- EntryPointVisibilityRuleValidityStatus["Invalid"] = "INVALID";
572
- /** The rule is valid. */
573
- EntryPointVisibilityRuleValidityStatus["Valid"] = "VALID";
574
- })(EntryPointVisibilityRuleValidityStatus || (EntryPointVisibilityRuleValidityStatus = {}));
575
- /** The event status of the Mini event card entry point. */
576
- export var EventCardV2EntryPointEventStatus;
577
- (function (EventCardV2EntryPointEventStatus) {
578
- /** The active status for Mini entry point event type. */
579
- EventCardV2EntryPointEventStatus["Active"] = "ACTIVE";
580
- /** The post active status for Mini entry point event type. */
581
- EventCardV2EntryPointEventStatus["PostActive"] = "POST_ACTIVE";
582
- /** The pre active status for Mini entry point event type. */
583
- EventCardV2EntryPointEventStatus["PreActive"] = "PRE_ACTIVE";
584
- })(EventCardV2EntryPointEventStatus || (EventCardV2EntryPointEventStatus = {}));
585
- /** The layout of the Mini Image Collection entry point. */
586
- export var ImageCollectionEntryPointLayout;
587
- (function (ImageCollectionEntryPointLayout) {
588
- /** The layout is a carousel. */
589
- ImageCollectionEntryPointLayout["Carousel"] = "CAROUSEL";
590
- /** The layout is a grid. */
591
- ImageCollectionEntryPointLayout["Grid"] = "GRID";
592
- })(ImageCollectionEntryPointLayout || (ImageCollectionEntryPointLayout = {}));
593
35
  /** Possible error codes that can be returned by MiniCreateUserError. */
594
36
  export var MiniCreateUserErrorCode;
595
37
  (function (MiniCreateUserErrorCode) {
@@ -611,15 +53,23 @@ export var ProductEligibilityStatus;
611
53
  /** Possible error codes that can be returned by ReportDownloadUserError. */
612
54
  export var ReportDownloadUserErrorCode;
613
55
  (function (ReportDownloadUserErrorCode) {
56
+ /** The requested report type is no longer available. */
57
+ ReportDownloadUserErrorCode["Deprecated"] = "DEPRECATED";
614
58
  /** The requested report could not be found. */
615
59
  ReportDownloadUserErrorCode["NotFound"] = "NOT_FOUND";
616
60
  })(ReportDownloadUserErrorCode || (ReportDownloadUserErrorCode = {}));
617
61
  /** The type of report to retrieve. */
618
62
  export var ReportTypeEnum;
619
63
  (function (ReportTypeEnum) {
620
- /** Content impressions report. */
64
+ /**
65
+ * Content impressions report.
66
+ * @deprecated Content impressions reports are no longer available.
67
+ */
621
68
  ReportTypeEnum["ContentImpressions"] = "CONTENT_IMPRESSIONS";
622
- /** Product impressions report. */
69
+ /**
70
+ * Product impressions report.
71
+ * @deprecated Product impressions reports are no longer available.
72
+ */
623
73
  ReportTypeEnum["ProductImpressions"] = "PRODUCT_IMPRESSIONS";
624
74
  /** Sales report. */
625
75
  ReportTypeEnum["Sales"] = "SALES";
@@ -1373,6 +823,51 @@ export const MiniCreateDocument = {
1373
823
  },
1374
824
  ],
1375
825
  };
826
+ export const MiniToggleDocument = {
827
+ kind: 'Document',
828
+ definitions: [
829
+ {
830
+ kind: 'OperationDefinition',
831
+ operation: 'mutation',
832
+ name: { kind: 'Name', value: 'MiniToggle' },
833
+ variableDefinitions: [
834
+ {
835
+ kind: 'VariableDefinition',
836
+ variable: { kind: 'Variable', name: { kind: 'Name', value: 'enable' } },
837
+ type: {
838
+ kind: 'NonNullType',
839
+ type: { kind: 'NamedType', name: { kind: 'Name', value: 'Boolean' } },
840
+ },
841
+ },
842
+ ],
843
+ selectionSet: {
844
+ kind: 'SelectionSet',
845
+ selections: [
846
+ {
847
+ kind: 'Field',
848
+ name: { kind: 'Name', value: 'miniToggle' },
849
+ arguments: [
850
+ {
851
+ kind: 'Argument',
852
+ name: { kind: 'Name', value: 'enable' },
853
+ value: {
854
+ kind: 'Variable',
855
+ name: { kind: 'Name', value: 'enable' },
856
+ },
857
+ },
858
+ ],
859
+ selectionSet: {
860
+ kind: 'SelectionSet',
861
+ selections: [
862
+ { kind: 'Field', name: { kind: 'Name', value: 'enabled' } },
863
+ ],
864
+ },
865
+ },
866
+ ],
867
+ },
868
+ },
869
+ ],
870
+ };
1376
871
  export const MiniDocument = {
1377
872
  kind: 'Document',
1378
873
  definitions: [