@wix/stores 1.0.168 → 1.0.169

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.
@@ -41,16 +41,18 @@ interface GetWishlistByIdResponse$1 {
41
41
  /** Object containing requested list data */
42
42
  wishlist?: WishlistData$1;
43
43
  }
44
+ interface WishlistItemNonNullableFields$1 {
45
+ id: string;
46
+ type: string;
47
+ origin: string;
48
+ }
49
+ interface WishlistDataNonNullableFields$1 {
50
+ ownerId: string;
51
+ items: WishlistItemNonNullableFields$1[];
52
+ totalCount: number;
53
+ }
44
54
  interface GetWishlistByIdResponseNonNullableFields$1 {
45
- wishlist?: {
46
- ownerId: string;
47
- items: {
48
- id: string;
49
- type: string;
50
- origin: string;
51
- }[];
52
- totalCount: number;
53
- };
55
+ wishlist?: WishlistDataNonNullableFields$1;
54
56
  }
55
57
 
56
58
  interface WishlistData {
@@ -96,16 +98,18 @@ interface GetWishlistByIdResponse {
96
98
  /** Object containing requested list data */
97
99
  wishlist?: WishlistData;
98
100
  }
101
+ interface WishlistItemNonNullableFields {
102
+ _id: string;
103
+ type: string;
104
+ origin: string;
105
+ }
106
+ interface WishlistDataNonNullableFields {
107
+ ownerId: string;
108
+ items: WishlistItemNonNullableFields[];
109
+ totalCount: number;
110
+ }
99
111
  interface GetWishlistByIdResponseNonNullableFields {
100
- wishlist?: {
101
- ownerId: string;
102
- items: {
103
- _id: string;
104
- type: string;
105
- origin: string;
106
- }[];
107
- totalCount: number;
108
- };
112
+ wishlist?: WishlistDataNonNullableFields;
109
113
  }
110
114
 
111
115
  type __PublicMethodMetaInfo$4<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -285,209 +289,58 @@ interface GetCollectionBySlugResponse$3 {
285
289
  /** The requested collection. */
286
290
  collection?: Collection$3;
287
291
  }
292
+ interface MediaItemUrlAndSizeNonNullableFields$3 {
293
+ url: string;
294
+ width: number;
295
+ height: number;
296
+ }
297
+ interface MediaItemVideoNonNullableFields$3 {
298
+ files: MediaItemUrlAndSizeNonNullableFields$3[];
299
+ stillFrameMediaId: string;
300
+ }
301
+ interface MediaItemNonNullableFields$3 {
302
+ image?: MediaItemUrlAndSizeNonNullableFields$3;
303
+ video?: MediaItemVideoNonNullableFields$3;
304
+ thumbnail?: MediaItemUrlAndSizeNonNullableFields$3;
305
+ mediaType: MediaItemType$3;
306
+ title: string;
307
+ id: string;
308
+ }
309
+ interface MediaNonNullableFields$3 {
310
+ mainMedia?: MediaItemNonNullableFields$3;
311
+ items: MediaItemNonNullableFields$3[];
312
+ }
313
+ interface TagNonNullableFields$3 {
314
+ type: string;
315
+ children: string;
316
+ custom: boolean;
317
+ disabled: boolean;
318
+ }
319
+ interface KeywordNonNullableFields$3 {
320
+ term: string;
321
+ isMain: boolean;
322
+ }
323
+ interface SettingsNonNullableFields$3 {
324
+ preventAutoRedirect: boolean;
325
+ keywords: KeywordNonNullableFields$3[];
326
+ }
327
+ interface SeoSchemaNonNullableFields$3 {
328
+ tags: TagNonNullableFields$3[];
329
+ settings?: SettingsNonNullableFields$3;
330
+ }
331
+ interface CollectionNonNullableFields$3 {
332
+ media?: MediaNonNullableFields$3;
333
+ numberOfProducts: number;
334
+ seoSchema?: SeoSchemaNonNullableFields$3;
335
+ }
288
336
  interface QueryCollectionsResponseNonNullableFields$1 {
289
- collections: {
290
- media?: {
291
- mainMedia?: {
292
- image?: {
293
- url: string;
294
- width: number;
295
- height: number;
296
- };
297
- video?: {
298
- files: {
299
- url: string;
300
- width: number;
301
- height: number;
302
- }[];
303
- stillFrameMediaId: string;
304
- };
305
- thumbnail?: {
306
- url: string;
307
- width: number;
308
- height: number;
309
- };
310
- mediaType: MediaItemType$3;
311
- title: string;
312
- id: string;
313
- };
314
- items: {
315
- image?: {
316
- url: string;
317
- width: number;
318
- height: number;
319
- };
320
- video?: {
321
- files: {
322
- url: string;
323
- width: number;
324
- height: number;
325
- }[];
326
- stillFrameMediaId: string;
327
- };
328
- thumbnail?: {
329
- url: string;
330
- width: number;
331
- height: number;
332
- };
333
- mediaType: MediaItemType$3;
334
- title: string;
335
- id: string;
336
- }[];
337
- };
338
- numberOfProducts: number;
339
- seoSchema?: {
340
- tags: {
341
- type: string;
342
- children: string;
343
- custom: boolean;
344
- disabled: boolean;
345
- }[];
346
- settings?: {
347
- preventAutoRedirect: boolean;
348
- keywords: {
349
- term: string;
350
- isMain: boolean;
351
- }[];
352
- };
353
- };
354
- }[];
337
+ collections: CollectionNonNullableFields$3[];
355
338
  }
356
339
  interface GetCollectionResponseNonNullableFields$1 {
357
- collection?: {
358
- media?: {
359
- mainMedia?: {
360
- image?: {
361
- url: string;
362
- width: number;
363
- height: number;
364
- };
365
- video?: {
366
- files: {
367
- url: string;
368
- width: number;
369
- height: number;
370
- }[];
371
- stillFrameMediaId: string;
372
- };
373
- thumbnail?: {
374
- url: string;
375
- width: number;
376
- height: number;
377
- };
378
- mediaType: MediaItemType$3;
379
- title: string;
380
- id: string;
381
- };
382
- items: {
383
- image?: {
384
- url: string;
385
- width: number;
386
- height: number;
387
- };
388
- video?: {
389
- files: {
390
- url: string;
391
- width: number;
392
- height: number;
393
- }[];
394
- stillFrameMediaId: string;
395
- };
396
- thumbnail?: {
397
- url: string;
398
- width: number;
399
- height: number;
400
- };
401
- mediaType: MediaItemType$3;
402
- title: string;
403
- id: string;
404
- }[];
405
- };
406
- numberOfProducts: number;
407
- seoSchema?: {
408
- tags: {
409
- type: string;
410
- children: string;
411
- custom: boolean;
412
- disabled: boolean;
413
- }[];
414
- settings?: {
415
- preventAutoRedirect: boolean;
416
- keywords: {
417
- term: string;
418
- isMain: boolean;
419
- }[];
420
- };
421
- };
422
- };
340
+ collection?: CollectionNonNullableFields$3;
423
341
  }
424
342
  interface GetCollectionBySlugResponseNonNullableFields$3 {
425
- collection?: {
426
- media?: {
427
- mainMedia?: {
428
- image?: {
429
- url: string;
430
- width: number;
431
- height: number;
432
- };
433
- video?: {
434
- files: {
435
- url: string;
436
- width: number;
437
- height: number;
438
- }[];
439
- stillFrameMediaId: string;
440
- };
441
- thumbnail?: {
442
- url: string;
443
- width: number;
444
- height: number;
445
- };
446
- mediaType: MediaItemType$3;
447
- title: string;
448
- id: string;
449
- };
450
- items: {
451
- image?: {
452
- url: string;
453
- width: number;
454
- height: number;
455
- };
456
- video?: {
457
- files: {
458
- url: string;
459
- width: number;
460
- height: number;
461
- }[];
462
- stillFrameMediaId: string;
463
- };
464
- thumbnail?: {
465
- url: string;
466
- width: number;
467
- height: number;
468
- };
469
- mediaType: MediaItemType$3;
470
- title: string;
471
- id: string;
472
- }[];
473
- };
474
- numberOfProducts: number;
475
- seoSchema?: {
476
- tags: {
477
- type: string;
478
- children: string;
479
- custom: boolean;
480
- disabled: boolean;
481
- }[];
482
- settings?: {
483
- preventAutoRedirect: boolean;
484
- keywords: {
485
- term: string;
486
- isMain: boolean;
487
- }[];
488
- };
489
- };
490
- };
343
+ collection?: CollectionNonNullableFields$3;
491
344
  }
492
345
 
493
346
  interface Collection$2 {
@@ -650,164 +503,58 @@ interface GetCollectionBySlugResponse$2 {
650
503
  /** The requested collection. */
651
504
  collection?: Collection$2;
652
505
  }
506
+ interface MediaItemUrlAndSizeNonNullableFields$2 {
507
+ url: string;
508
+ width: number;
509
+ height: number;
510
+ }
511
+ interface MediaItemVideoNonNullableFields$2 {
512
+ files: MediaItemUrlAndSizeNonNullableFields$2[];
513
+ stillFrameMediaId: string;
514
+ }
515
+ interface MediaItemNonNullableFields$2 {
516
+ image?: MediaItemUrlAndSizeNonNullableFields$2;
517
+ video?: MediaItemVideoNonNullableFields$2;
518
+ thumbnail?: MediaItemUrlAndSizeNonNullableFields$2;
519
+ mediaType: MediaItemType$2;
520
+ title: string;
521
+ _id: string;
522
+ }
523
+ interface MediaNonNullableFields$2 {
524
+ mainMedia?: MediaItemNonNullableFields$2;
525
+ items: MediaItemNonNullableFields$2[];
526
+ }
527
+ interface TagNonNullableFields$2 {
528
+ type: string;
529
+ children: string;
530
+ custom: boolean;
531
+ disabled: boolean;
532
+ }
533
+ interface KeywordNonNullableFields$2 {
534
+ term: string;
535
+ isMain: boolean;
536
+ }
537
+ interface SettingsNonNullableFields$2 {
538
+ preventAutoRedirect: boolean;
539
+ keywords: KeywordNonNullableFields$2[];
540
+ }
541
+ interface SeoSchemaNonNullableFields$2 {
542
+ tags: TagNonNullableFields$2[];
543
+ settings?: SettingsNonNullableFields$2;
544
+ }
545
+ interface CollectionNonNullableFields$2 {
546
+ media?: MediaNonNullableFields$2;
547
+ numberOfProducts: number;
548
+ seoSchema?: SeoSchemaNonNullableFields$2;
549
+ }
653
550
  interface QueryCollectionsResponseNonNullableFields {
654
- collections: {
655
- media?: {
656
- mainMedia?: {
657
- image?: {
658
- url: string;
659
- width: number;
660
- height: number;
661
- };
662
- video?: {
663
- files: {
664
- url: string;
665
- width: number;
666
- height: number;
667
- }[];
668
- stillFrameMediaId: string;
669
- };
670
- thumbnail?: {
671
- url: string;
672
- width: number;
673
- height: number;
674
- };
675
- mediaType: MediaItemType$2;
676
- title: string;
677
- _id: string;
678
- };
679
- items: {
680
- image?: {
681
- url: string;
682
- width: number;
683
- height: number;
684
- };
685
- video?: {
686
- files: {
687
- url: string;
688
- width: number;
689
- height: number;
690
- }[];
691
- stillFrameMediaId: string;
692
- };
693
- thumbnail?: {
694
- url: string;
695
- width: number;
696
- height: number;
697
- };
698
- mediaType: MediaItemType$2;
699
- title: string;
700
- _id: string;
701
- }[];
702
- };
703
- numberOfProducts: number;
704
- }[];
551
+ collections: CollectionNonNullableFields$2[];
705
552
  }
706
553
  interface GetCollectionResponseNonNullableFields {
707
- collection?: {
708
- media?: {
709
- mainMedia?: {
710
- image?: {
711
- url: string;
712
- width: number;
713
- height: number;
714
- };
715
- video?: {
716
- files: {
717
- url: string;
718
- width: number;
719
- height: number;
720
- }[];
721
- stillFrameMediaId: string;
722
- };
723
- thumbnail?: {
724
- url: string;
725
- width: number;
726
- height: number;
727
- };
728
- mediaType: MediaItemType$2;
729
- title: string;
730
- _id: string;
731
- };
732
- items: {
733
- image?: {
734
- url: string;
735
- width: number;
736
- height: number;
737
- };
738
- video?: {
739
- files: {
740
- url: string;
741
- width: number;
742
- height: number;
743
- }[];
744
- stillFrameMediaId: string;
745
- };
746
- thumbnail?: {
747
- url: string;
748
- width: number;
749
- height: number;
750
- };
751
- mediaType: MediaItemType$2;
752
- title: string;
753
- _id: string;
754
- }[];
755
- };
756
- numberOfProducts: number;
757
- };
554
+ collection?: CollectionNonNullableFields$2;
758
555
  }
759
556
  interface GetCollectionBySlugResponseNonNullableFields$2 {
760
- collection?: {
761
- media?: {
762
- mainMedia?: {
763
- image?: {
764
- url: string;
765
- width: number;
766
- height: number;
767
- };
768
- video?: {
769
- files: {
770
- url: string;
771
- width: number;
772
- height: number;
773
- }[];
774
- stillFrameMediaId: string;
775
- };
776
- thumbnail?: {
777
- url: string;
778
- width: number;
779
- height: number;
780
- };
781
- mediaType: MediaItemType$2;
782
- title: string;
783
- _id: string;
784
- };
785
- items: {
786
- image?: {
787
- url: string;
788
- width: number;
789
- height: number;
790
- };
791
- video?: {
792
- files: {
793
- url: string;
794
- width: number;
795
- height: number;
796
- }[];
797
- stillFrameMediaId: string;
798
- };
799
- thumbnail?: {
800
- url: string;
801
- width: number;
802
- height: number;
803
- };
804
- mediaType: MediaItemType$2;
805
- title: string;
806
- _id: string;
807
- }[];
808
- };
809
- numberOfProducts: number;
810
- };
557
+ collection?: CollectionNonNullableFields$2;
811
558
  }
812
559
 
813
560
  type __PublicMethodMetaInfo$3<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -1312,7 +1059,7 @@ interface Settings$1 {
1312
1059
  /** User-selected keyword terms for a specific page. */
1313
1060
  keywords?: Keyword$1[];
1314
1061
  }
1315
- declare enum FileType {
1062
+ declare enum FileType$1 {
1316
1063
  UNSPECIFIED = "UNSPECIFIED",
1317
1064
  SECURE_PICTURE = "SECURE_PICTURE",
1318
1065
  SECURE_VIDEO = "SECURE_VIDEO",
@@ -1960,1526 +1707,279 @@ interface GetStoreVariantResponse$1 {
1960
1707
  /** The requested store variant. */
1961
1708
  variant?: StoreVariant$1;
1962
1709
  }
1710
+ interface NumericPropertyRangeNonNullableFields$1 {
1711
+ minValue: number;
1712
+ maxValue: number;
1713
+ }
1714
+ interface StockNonNullableFields$1 {
1715
+ trackInventory: boolean;
1716
+ inStock: boolean;
1717
+ inventoryStatus: InventoryStatus$1;
1718
+ }
1719
+ interface FormattedPriceNonNullableFields$1 {
1720
+ price: string;
1721
+ discountedPrice: string;
1722
+ }
1723
+ interface PriceDataNonNullableFields$1 {
1724
+ currency: string;
1725
+ discountedPrice: number;
1726
+ formatted?: FormattedPriceNonNullableFields$1;
1727
+ }
1728
+ interface CostAndProfitDataNonNullableFields$1 {
1729
+ formattedItemCost: string;
1730
+ profit: number;
1731
+ formattedProfit: string;
1732
+ profitMargin: number;
1733
+ }
1734
+ interface PricePerUnitDataNonNullableFields$1 {
1735
+ totalQuantity: number;
1736
+ totalMeasurementUnit: MeasurementUnit$1;
1737
+ baseQuantity: number;
1738
+ baseMeasurementUnit: MeasurementUnit$1;
1739
+ }
1740
+ interface AdditionalInfoSectionNonNullableFields$1 {
1741
+ title: string;
1742
+ description: string;
1743
+ }
1744
+ interface RibbonNonNullableFields$1 {
1745
+ text: string;
1746
+ }
1747
+ interface MediaItemUrlAndSizeNonNullableFields$1 {
1748
+ url: string;
1749
+ width: number;
1750
+ height: number;
1751
+ }
1752
+ interface MediaItemVideoNonNullableFields$1 {
1753
+ files: MediaItemUrlAndSizeNonNullableFields$1[];
1754
+ stillFrameMediaId: string;
1755
+ }
1756
+ interface MediaItemNonNullableFields$1 {
1757
+ image?: MediaItemUrlAndSizeNonNullableFields$1;
1758
+ video?: MediaItemVideoNonNullableFields$1;
1759
+ thumbnail?: MediaItemUrlAndSizeNonNullableFields$1;
1760
+ mediaType: MediaItemType$1;
1761
+ title: string;
1762
+ id: string;
1763
+ }
1764
+ interface MediaNonNullableFields$1 {
1765
+ mainMedia?: MediaItemNonNullableFields$1;
1766
+ items: MediaItemNonNullableFields$1[];
1767
+ }
1768
+ interface CustomTextFieldNonNullableFields$1 {
1769
+ title: string;
1770
+ maxLength: number;
1771
+ mandatory: boolean;
1772
+ }
1773
+ interface ChoiceNonNullableFields$1 {
1774
+ value: string;
1775
+ description: string;
1776
+ media?: MediaNonNullableFields$1;
1777
+ inStock: boolean;
1778
+ visible: boolean;
1779
+ }
1780
+ interface ProductOptionNonNullableFields$1 {
1781
+ optionType: OptionType$1;
1782
+ name: string;
1783
+ choices: ChoiceNonNullableFields$1[];
1784
+ }
1785
+ interface PageUrlNonNullableFields$1 {
1786
+ base: string;
1787
+ path: string;
1788
+ }
1789
+ interface DiscountNonNullableFields$3 {
1790
+ type: DiscountType$3;
1791
+ value: number;
1792
+ }
1793
+ interface VariantDataWithNoStockNonNullableFields$1 {
1794
+ priceData?: PriceDataNonNullableFields$1;
1795
+ convertedPriceData?: PriceDataNonNullableFields$1;
1796
+ costAndProfitData?: CostAndProfitDataNonNullableFields$1;
1797
+ weight: number;
1798
+ sku: string;
1799
+ visible: boolean;
1800
+ }
1801
+ interface VariantStockNonNullableFields$1 {
1802
+ trackQuantity: boolean;
1803
+ inStock: boolean;
1804
+ }
1805
+ interface VariantNonNullableFields$1 {
1806
+ id: string;
1807
+ variant?: VariantDataWithNoStockNonNullableFields$1;
1808
+ stock?: VariantStockNonNullableFields$1;
1809
+ }
1810
+ interface TagNonNullableFields$1 {
1811
+ type: string;
1812
+ children: string;
1813
+ custom: boolean;
1814
+ disabled: boolean;
1815
+ }
1816
+ interface KeywordNonNullableFields$1 {
1817
+ term: string;
1818
+ isMain: boolean;
1819
+ }
1820
+ interface SettingsNonNullableFields$1 {
1821
+ preventAutoRedirect: boolean;
1822
+ keywords: KeywordNonNullableFields$1[];
1823
+ }
1824
+ interface SeoSchemaNonNullableFields$1 {
1825
+ tags: TagNonNullableFields$1[];
1826
+ settings?: SettingsNonNullableFields$1;
1827
+ }
1828
+ interface SecuredMediaNonNullableFields$1 {
1829
+ id: string;
1830
+ fileName: string;
1831
+ fileType: FileType$1;
1832
+ }
1833
+ interface ProductNonNullableFields$1 {
1834
+ id: string;
1835
+ slug: string;
1836
+ productType: ProductType$1;
1837
+ weightRange?: NumericPropertyRangeNonNullableFields$1;
1838
+ stock?: StockNonNullableFields$1;
1839
+ price?: PriceDataNonNullableFields$1;
1840
+ priceData?: PriceDataNonNullableFields$1;
1841
+ convertedPriceData?: PriceDataNonNullableFields$1;
1842
+ priceRange?: NumericPropertyRangeNonNullableFields$1;
1843
+ costAndProfitData?: CostAndProfitDataNonNullableFields$1;
1844
+ costRange?: NumericPropertyRangeNonNullableFields$1;
1845
+ pricePerUnitData?: PricePerUnitDataNonNullableFields$1;
1846
+ additionalInfoSections: AdditionalInfoSectionNonNullableFields$1[];
1847
+ ribbons: RibbonNonNullableFields$1[];
1848
+ media?: MediaNonNullableFields$1;
1849
+ customTextFields: CustomTextFieldNonNullableFields$1[];
1850
+ productOptions: ProductOptionNonNullableFields$1[];
1851
+ productPageUrl?: PageUrlNonNullableFields$1;
1852
+ numericId: string;
1853
+ inventoryItemId: string;
1854
+ discount?: DiscountNonNullableFields$3;
1855
+ collectionIds: string[];
1856
+ variants: VariantNonNullableFields$1[];
1857
+ seoData?: SeoSchemaNonNullableFields$1;
1858
+ exportProductId: string;
1859
+ digitalFile?: SecuredMediaNonNullableFields$1;
1860
+ }
1963
1861
  interface CreateProductResponseNonNullableFields$1 {
1964
- product?: {
1965
- id: string;
1966
- slug: string;
1967
- productType: ProductType$1;
1968
- weightRange?: {
1969
- minValue: number;
1970
- maxValue: number;
1971
- };
1972
- stock?: {
1973
- trackInventory: boolean;
1974
- inStock: boolean;
1975
- inventoryStatus: InventoryStatus$1;
1976
- };
1977
- price?: {
1978
- currency: string;
1979
- discountedPrice: number;
1980
- formatted?: {
1981
- price: string;
1982
- discountedPrice: string;
1983
- };
1984
- };
1985
- priceData?: {
1986
- currency: string;
1987
- discountedPrice: number;
1988
- formatted?: {
1989
- price: string;
1990
- discountedPrice: string;
1991
- };
1992
- };
1993
- convertedPriceData?: {
1994
- currency: string;
1995
- discountedPrice: number;
1996
- formatted?: {
1997
- price: string;
1998
- discountedPrice: string;
1999
- };
2000
- };
2001
- priceRange?: {
2002
- minValue: number;
2003
- maxValue: number;
2004
- };
2005
- costAndProfitData?: {
2006
- formattedItemCost: string;
2007
- profit: number;
2008
- formattedProfit: string;
2009
- profitMargin: number;
2010
- };
2011
- costRange?: {
2012
- minValue: number;
2013
- maxValue: number;
2014
- };
2015
- pricePerUnitData?: {
2016
- totalQuantity: number;
2017
- totalMeasurementUnit: MeasurementUnit$1;
2018
- baseQuantity: number;
2019
- baseMeasurementUnit: MeasurementUnit$1;
2020
- };
2021
- additionalInfoSections: {
2022
- title: string;
2023
- description: string;
2024
- }[];
2025
- ribbons: {
2026
- text: string;
2027
- }[];
2028
- media?: {
2029
- mainMedia?: {
2030
- image?: {
2031
- url: string;
2032
- width: number;
2033
- height: number;
2034
- };
2035
- video?: {
2036
- files: {
2037
- url: string;
2038
- width: number;
2039
- height: number;
2040
- }[];
2041
- stillFrameMediaId: string;
2042
- };
2043
- thumbnail?: {
2044
- url: string;
2045
- width: number;
2046
- height: number;
2047
- };
2048
- mediaType: MediaItemType$1;
2049
- title: string;
2050
- id: string;
2051
- };
2052
- items: {
2053
- image?: {
2054
- url: string;
2055
- width: number;
2056
- height: number;
2057
- };
2058
- video?: {
2059
- files: {
2060
- url: string;
2061
- width: number;
2062
- height: number;
2063
- }[];
2064
- stillFrameMediaId: string;
2065
- };
2066
- thumbnail?: {
2067
- url: string;
2068
- width: number;
2069
- height: number;
2070
- };
2071
- mediaType: MediaItemType$1;
2072
- title: string;
2073
- id: string;
2074
- }[];
2075
- };
2076
- customTextFields: {
2077
- title: string;
2078
- maxLength: number;
2079
- mandatory: boolean;
2080
- }[];
2081
- productOptions: {
2082
- optionType: OptionType$1;
2083
- name: string;
2084
- choices: {
2085
- value: string;
2086
- description: string;
2087
- media?: {
2088
- mainMedia?: {
2089
- image?: {
2090
- url: string;
2091
- width: number;
2092
- height: number;
2093
- };
2094
- video?: {
2095
- files: {
2096
- url: string;
2097
- width: number;
2098
- height: number;
2099
- }[];
2100
- stillFrameMediaId: string;
2101
- };
2102
- thumbnail?: {
2103
- url: string;
2104
- width: number;
2105
- height: number;
2106
- };
2107
- mediaType: MediaItemType$1;
2108
- title: string;
2109
- id: string;
2110
- };
2111
- items: {
2112
- image?: {
2113
- url: string;
2114
- width: number;
2115
- height: number;
2116
- };
2117
- video?: {
2118
- files: {
2119
- url: string;
2120
- width: number;
2121
- height: number;
2122
- }[];
2123
- stillFrameMediaId: string;
2124
- };
2125
- thumbnail?: {
2126
- url: string;
2127
- width: number;
2128
- height: number;
2129
- };
2130
- mediaType: MediaItemType$1;
2131
- title: string;
2132
- id: string;
2133
- }[];
2134
- };
2135
- inStock: boolean;
2136
- visible: boolean;
2137
- }[];
2138
- }[];
2139
- productPageUrl?: {
2140
- base: string;
2141
- path: string;
2142
- };
2143
- numericId: string;
2144
- inventoryItemId: string;
2145
- discount?: {
2146
- type: DiscountType$3;
2147
- value: number;
2148
- };
2149
- collectionIds: string[];
2150
- variants: {
2151
- id: string;
2152
- variant?: {
2153
- priceData?: {
2154
- currency: string;
2155
- discountedPrice: number;
2156
- formatted?: {
2157
- price: string;
2158
- discountedPrice: string;
2159
- };
2160
- };
2161
- convertedPriceData?: {
2162
- currency: string;
2163
- discountedPrice: number;
2164
- formatted?: {
2165
- price: string;
2166
- discountedPrice: string;
2167
- };
2168
- };
2169
- costAndProfitData?: {
2170
- formattedItemCost: string;
2171
- profit: number;
2172
- formattedProfit: string;
2173
- profitMargin: number;
2174
- };
2175
- weight: number;
2176
- sku: string;
2177
- visible: boolean;
2178
- };
2179
- stock?: {
2180
- trackQuantity: boolean;
2181
- inStock: boolean;
2182
- };
2183
- }[];
2184
- seoData?: {
2185
- tags: {
2186
- type: string;
2187
- children: string;
2188
- custom: boolean;
2189
- disabled: boolean;
2190
- }[];
2191
- settings?: {
2192
- preventAutoRedirect: boolean;
2193
- keywords: {
2194
- term: string;
2195
- isMain: boolean;
2196
- }[];
2197
- };
2198
- };
2199
- exportProductId: string;
2200
- digitalFile?: {
2201
- id: string;
2202
- fileName: string;
2203
- fileType: FileType;
2204
- };
2205
- };
1862
+ product?: ProductNonNullableFields$1;
2206
1863
  }
2207
1864
  interface UpdateProductResponseNonNullableFields$1 {
2208
- product?: {
2209
- id: string;
2210
- slug: string;
2211
- productType: ProductType$1;
2212
- weightRange?: {
2213
- minValue: number;
2214
- maxValue: number;
2215
- };
2216
- stock?: {
2217
- trackInventory: boolean;
2218
- inStock: boolean;
2219
- inventoryStatus: InventoryStatus$1;
2220
- };
2221
- price?: {
2222
- currency: string;
2223
- discountedPrice: number;
2224
- formatted?: {
2225
- price: string;
2226
- discountedPrice: string;
2227
- };
2228
- };
2229
- priceData?: {
2230
- currency: string;
2231
- discountedPrice: number;
2232
- formatted?: {
2233
- price: string;
2234
- discountedPrice: string;
2235
- };
2236
- };
2237
- convertedPriceData?: {
2238
- currency: string;
2239
- discountedPrice: number;
2240
- formatted?: {
2241
- price: string;
2242
- discountedPrice: string;
2243
- };
2244
- };
2245
- priceRange?: {
2246
- minValue: number;
2247
- maxValue: number;
2248
- };
2249
- costAndProfitData?: {
2250
- formattedItemCost: string;
2251
- profit: number;
2252
- formattedProfit: string;
2253
- profitMargin: number;
2254
- };
2255
- costRange?: {
2256
- minValue: number;
2257
- maxValue: number;
2258
- };
2259
- pricePerUnitData?: {
2260
- totalQuantity: number;
2261
- totalMeasurementUnit: MeasurementUnit$1;
2262
- baseQuantity: number;
2263
- baseMeasurementUnit: MeasurementUnit$1;
2264
- };
2265
- additionalInfoSections: {
2266
- title: string;
2267
- description: string;
2268
- }[];
2269
- ribbons: {
2270
- text: string;
2271
- }[];
2272
- media?: {
2273
- mainMedia?: {
2274
- image?: {
2275
- url: string;
2276
- width: number;
2277
- height: number;
2278
- };
2279
- video?: {
2280
- files: {
2281
- url: string;
2282
- width: number;
2283
- height: number;
2284
- }[];
2285
- stillFrameMediaId: string;
2286
- };
2287
- thumbnail?: {
2288
- url: string;
2289
- width: number;
2290
- height: number;
2291
- };
2292
- mediaType: MediaItemType$1;
2293
- title: string;
2294
- id: string;
2295
- };
2296
- items: {
2297
- image?: {
2298
- url: string;
2299
- width: number;
2300
- height: number;
2301
- };
2302
- video?: {
2303
- files: {
2304
- url: string;
2305
- width: number;
2306
- height: number;
2307
- }[];
2308
- stillFrameMediaId: string;
2309
- };
2310
- thumbnail?: {
2311
- url: string;
2312
- width: number;
2313
- height: number;
2314
- };
2315
- mediaType: MediaItemType$1;
2316
- title: string;
2317
- id: string;
2318
- }[];
2319
- };
2320
- customTextFields: {
2321
- title: string;
2322
- maxLength: number;
2323
- mandatory: boolean;
2324
- }[];
2325
- productOptions: {
2326
- optionType: OptionType$1;
2327
- name: string;
2328
- choices: {
2329
- value: string;
2330
- description: string;
2331
- media?: {
2332
- mainMedia?: {
2333
- image?: {
2334
- url: string;
2335
- width: number;
2336
- height: number;
2337
- };
2338
- video?: {
2339
- files: {
2340
- url: string;
2341
- width: number;
2342
- height: number;
2343
- }[];
2344
- stillFrameMediaId: string;
2345
- };
2346
- thumbnail?: {
2347
- url: string;
2348
- width: number;
2349
- height: number;
2350
- };
2351
- mediaType: MediaItemType$1;
2352
- title: string;
2353
- id: string;
2354
- };
2355
- items: {
2356
- image?: {
2357
- url: string;
2358
- width: number;
2359
- height: number;
2360
- };
2361
- video?: {
2362
- files: {
2363
- url: string;
2364
- width: number;
2365
- height: number;
2366
- }[];
2367
- stillFrameMediaId: string;
2368
- };
2369
- thumbnail?: {
2370
- url: string;
2371
- width: number;
2372
- height: number;
2373
- };
2374
- mediaType: MediaItemType$1;
2375
- title: string;
2376
- id: string;
2377
- }[];
2378
- };
2379
- inStock: boolean;
2380
- visible: boolean;
2381
- }[];
2382
- }[];
2383
- productPageUrl?: {
2384
- base: string;
2385
- path: string;
2386
- };
2387
- numericId: string;
2388
- inventoryItemId: string;
2389
- discount?: {
2390
- type: DiscountType$3;
2391
- value: number;
2392
- };
2393
- collectionIds: string[];
2394
- variants: {
2395
- id: string;
2396
- variant?: {
2397
- priceData?: {
2398
- currency: string;
2399
- discountedPrice: number;
2400
- formatted?: {
2401
- price: string;
2402
- discountedPrice: string;
2403
- };
2404
- };
2405
- convertedPriceData?: {
2406
- currency: string;
2407
- discountedPrice: number;
2408
- formatted?: {
2409
- price: string;
2410
- discountedPrice: string;
2411
- };
2412
- };
2413
- costAndProfitData?: {
2414
- formattedItemCost: string;
2415
- profit: number;
2416
- formattedProfit: string;
2417
- profitMargin: number;
2418
- };
2419
- weight: number;
2420
- sku: string;
2421
- visible: boolean;
2422
- };
2423
- stock?: {
2424
- trackQuantity: boolean;
2425
- inStock: boolean;
2426
- };
2427
- }[];
2428
- seoData?: {
2429
- tags: {
2430
- type: string;
2431
- children: string;
2432
- custom: boolean;
2433
- disabled: boolean;
2434
- }[];
2435
- settings?: {
2436
- preventAutoRedirect: boolean;
2437
- keywords: {
2438
- term: string;
2439
- isMain: boolean;
2440
- }[];
2441
- };
2442
- };
2443
- exportProductId: string;
2444
- digitalFile?: {
2445
- id: string;
2446
- fileName: string;
2447
- fileType: FileType;
2448
- };
2449
- };
1865
+ product?: ProductNonNullableFields$1;
2450
1866
  }
2451
1867
  interface UpdateVariantsResponseNonNullableFields$1 {
2452
- variants: {
2453
- id: string;
2454
- variant?: {
2455
- priceData?: {
2456
- currency: string;
2457
- discountedPrice: number;
2458
- formatted?: {
2459
- price: string;
2460
- discountedPrice: string;
2461
- };
2462
- };
2463
- convertedPriceData?: {
2464
- currency: string;
2465
- discountedPrice: number;
2466
- formatted?: {
2467
- price: string;
2468
- discountedPrice: string;
2469
- };
2470
- };
2471
- costAndProfitData?: {
2472
- formattedItemCost: string;
2473
- profit: number;
2474
- formattedProfit: string;
2475
- profitMargin: number;
2476
- };
2477
- weight: number;
2478
- sku: string;
2479
- visible: boolean;
2480
- };
2481
- stock?: {
2482
- trackQuantity: boolean;
2483
- inStock: boolean;
2484
- };
2485
- }[];
1868
+ variants: VariantNonNullableFields$1[];
1869
+ }
1870
+ interface CollectionNonNullableFields$1 {
1871
+ media?: MediaNonNullableFields$1;
1872
+ numberOfProducts: number;
1873
+ seoSchema?: SeoSchemaNonNullableFields$1;
2486
1874
  }
2487
1875
  interface CreateCollectionResponseNonNullableFields$1 {
2488
- collection?: {
2489
- media?: {
2490
- mainMedia?: {
2491
- image?: {
2492
- url: string;
2493
- width: number;
2494
- height: number;
2495
- };
2496
- video?: {
2497
- files: {
2498
- url: string;
2499
- width: number;
2500
- height: number;
2501
- }[];
2502
- stillFrameMediaId: string;
2503
- };
2504
- thumbnail?: {
2505
- url: string;
2506
- width: number;
2507
- height: number;
2508
- };
2509
- mediaType: MediaItemType$1;
2510
- title: string;
2511
- id: string;
2512
- };
2513
- items: {
2514
- image?: {
2515
- url: string;
2516
- width: number;
2517
- height: number;
2518
- };
2519
- video?: {
2520
- files: {
2521
- url: string;
2522
- width: number;
2523
- height: number;
2524
- }[];
2525
- stillFrameMediaId: string;
2526
- };
2527
- thumbnail?: {
2528
- url: string;
2529
- width: number;
2530
- height: number;
2531
- };
2532
- mediaType: MediaItemType$1;
2533
- title: string;
2534
- id: string;
2535
- }[];
2536
- };
2537
- numberOfProducts: number;
2538
- seoSchema?: {
2539
- tags: {
2540
- type: string;
2541
- children: string;
2542
- custom: boolean;
2543
- disabled: boolean;
2544
- }[];
2545
- settings?: {
2546
- preventAutoRedirect: boolean;
2547
- keywords: {
2548
- term: string;
2549
- isMain: boolean;
2550
- }[];
2551
- };
2552
- };
2553
- };
1876
+ collection?: CollectionNonNullableFields$1;
2554
1877
  }
2555
1878
  interface UpdateCollectionResponseNonNullableFields$1 {
2556
- collection?: {
2557
- media?: {
2558
- mainMedia?: {
2559
- image?: {
2560
- url: string;
2561
- width: number;
2562
- height: number;
2563
- };
2564
- video?: {
2565
- files: {
2566
- url: string;
2567
- width: number;
2568
- height: number;
2569
- }[];
2570
- stillFrameMediaId: string;
2571
- };
2572
- thumbnail?: {
2573
- url: string;
2574
- width: number;
2575
- height: number;
2576
- };
2577
- mediaType: MediaItemType$1;
2578
- title: string;
2579
- id: string;
2580
- };
2581
- items: {
2582
- image?: {
2583
- url: string;
2584
- width: number;
2585
- height: number;
2586
- };
2587
- video?: {
2588
- files: {
2589
- url: string;
2590
- width: number;
2591
- height: number;
2592
- }[];
2593
- stillFrameMediaId: string;
2594
- };
2595
- thumbnail?: {
2596
- url: string;
2597
- width: number;
2598
- height: number;
2599
- };
2600
- mediaType: MediaItemType$1;
2601
- title: string;
2602
- id: string;
2603
- }[];
2604
- };
2605
- numberOfProducts: number;
2606
- seoSchema?: {
2607
- tags: {
2608
- type: string;
2609
- children: string;
2610
- custom: boolean;
2611
- disabled: boolean;
2612
- }[];
2613
- settings?: {
2614
- preventAutoRedirect: boolean;
2615
- keywords: {
2616
- term: string;
2617
- isMain: boolean;
2618
- }[];
2619
- };
2620
- };
2621
- };
1879
+ collection?: CollectionNonNullableFields$1;
1880
+ }
1881
+ interface ApplicationErrorNonNullableFields$1 {
1882
+ code: string;
1883
+ description: string;
1884
+ }
1885
+ interface ItemMetadataNonNullableFields$1 {
1886
+ originalIndex: number;
1887
+ success: boolean;
1888
+ error?: ApplicationErrorNonNullableFields$1;
1889
+ }
1890
+ interface BulkProductResultNonNullableFields$1 {
1891
+ itemMetadata?: ItemMetadataNonNullableFields$1;
1892
+ }
1893
+ interface BulkActionMetadataNonNullableFields$1 {
1894
+ totalSuccesses: number;
1895
+ totalFailures: number;
1896
+ undetailedFailures: number;
2622
1897
  }
2623
1898
  interface BulkUpdateProductsResponseNonNullableFields$1 {
2624
- results: {
2625
- itemMetadata?: {
2626
- originalIndex: number;
2627
- success: boolean;
2628
- error?: {
2629
- code: string;
2630
- description: string;
2631
- };
2632
- };
2633
- }[];
2634
- bulkActionMetadata?: {
2635
- totalSuccesses: number;
2636
- totalFailures: number;
2637
- undetailedFailures: number;
2638
- };
1899
+ results: BulkProductResultNonNullableFields$1[];
1900
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
2639
1901
  }
2640
1902
  interface BulkAdjustProductPropertiesResponseNonNullableFields$1 {
2641
- results: {
2642
- itemMetadata?: {
2643
- originalIndex: number;
2644
- success: boolean;
2645
- error?: {
2646
- code: string;
2647
- description: string;
2648
- };
2649
- };
2650
- }[];
2651
- bulkActionMetadata?: {
2652
- totalSuccesses: number;
2653
- totalFailures: number;
2654
- undetailedFailures: number;
2655
- };
1903
+ results: BulkProductResultNonNullableFields$1[];
1904
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields$1;
2656
1905
  }
2657
1906
  interface QueryProductsPlatformizedResponseNonNullableFields$1 {
2658
- products: {
2659
- id: string;
2660
- slug: string;
2661
- productType: ProductType$1;
2662
- weightRange?: {
2663
- minValue: number;
2664
- maxValue: number;
2665
- };
2666
- stock?: {
2667
- trackInventory: boolean;
2668
- inStock: boolean;
2669
- inventoryStatus: InventoryStatus$1;
2670
- };
2671
- price?: {
2672
- currency: string;
2673
- discountedPrice: number;
2674
- formatted?: {
2675
- price: string;
2676
- discountedPrice: string;
2677
- };
2678
- };
2679
- priceData?: {
2680
- currency: string;
2681
- discountedPrice: number;
2682
- formatted?: {
2683
- price: string;
2684
- discountedPrice: string;
2685
- };
2686
- };
2687
- convertedPriceData?: {
2688
- currency: string;
2689
- discountedPrice: number;
2690
- formatted?: {
2691
- price: string;
2692
- discountedPrice: string;
2693
- };
2694
- };
2695
- priceRange?: {
2696
- minValue: number;
2697
- maxValue: number;
2698
- };
2699
- costAndProfitData?: {
2700
- formattedItemCost: string;
2701
- profit: number;
2702
- formattedProfit: string;
2703
- profitMargin: number;
2704
- };
2705
- costRange?: {
2706
- minValue: number;
2707
- maxValue: number;
2708
- };
2709
- pricePerUnitData?: {
2710
- totalQuantity: number;
2711
- totalMeasurementUnit: MeasurementUnit$1;
2712
- baseQuantity: number;
2713
- baseMeasurementUnit: MeasurementUnit$1;
2714
- };
2715
- additionalInfoSections: {
2716
- title: string;
2717
- description: string;
2718
- }[];
2719
- ribbons: {
2720
- text: string;
2721
- }[];
2722
- media?: {
2723
- mainMedia?: {
2724
- image?: {
2725
- url: string;
2726
- width: number;
2727
- height: number;
2728
- };
2729
- video?: {
2730
- files: {
2731
- url: string;
2732
- width: number;
2733
- height: number;
2734
- }[];
2735
- stillFrameMediaId: string;
2736
- };
2737
- thumbnail?: {
2738
- url: string;
2739
- width: number;
2740
- height: number;
2741
- };
2742
- mediaType: MediaItemType$1;
2743
- title: string;
2744
- id: string;
2745
- };
2746
- items: {
2747
- image?: {
2748
- url: string;
2749
- width: number;
2750
- height: number;
2751
- };
2752
- video?: {
2753
- files: {
2754
- url: string;
2755
- width: number;
2756
- height: number;
2757
- }[];
2758
- stillFrameMediaId: string;
2759
- };
2760
- thumbnail?: {
2761
- url: string;
2762
- width: number;
2763
- height: number;
2764
- };
2765
- mediaType: MediaItemType$1;
2766
- title: string;
2767
- id: string;
2768
- }[];
2769
- };
2770
- customTextFields: {
2771
- title: string;
2772
- maxLength: number;
2773
- mandatory: boolean;
2774
- }[];
2775
- productOptions: {
2776
- optionType: OptionType$1;
2777
- name: string;
2778
- choices: {
2779
- value: string;
2780
- description: string;
2781
- media?: {
2782
- mainMedia?: {
2783
- image?: {
2784
- url: string;
2785
- width: number;
2786
- height: number;
2787
- };
2788
- video?: {
2789
- files: {
2790
- url: string;
2791
- width: number;
2792
- height: number;
2793
- }[];
2794
- stillFrameMediaId: string;
2795
- };
2796
- thumbnail?: {
2797
- url: string;
2798
- width: number;
2799
- height: number;
2800
- };
2801
- mediaType: MediaItemType$1;
2802
- title: string;
2803
- id: string;
2804
- };
2805
- items: {
2806
- image?: {
2807
- url: string;
2808
- width: number;
2809
- height: number;
2810
- };
2811
- video?: {
2812
- files: {
2813
- url: string;
2814
- width: number;
2815
- height: number;
2816
- }[];
2817
- stillFrameMediaId: string;
2818
- };
2819
- thumbnail?: {
2820
- url: string;
2821
- width: number;
2822
- height: number;
2823
- };
2824
- mediaType: MediaItemType$1;
2825
- title: string;
2826
- id: string;
2827
- }[];
2828
- };
2829
- inStock: boolean;
2830
- visible: boolean;
2831
- }[];
2832
- }[];
2833
- productPageUrl?: {
2834
- base: string;
2835
- path: string;
2836
- };
2837
- numericId: string;
2838
- inventoryItemId: string;
2839
- discount?: {
2840
- type: DiscountType$3;
2841
- value: number;
2842
- };
2843
- collectionIds: string[];
2844
- variants: {
2845
- id: string;
2846
- variant?: {
2847
- priceData?: {
2848
- currency: string;
2849
- discountedPrice: number;
2850
- formatted?: {
2851
- price: string;
2852
- discountedPrice: string;
2853
- };
2854
- };
2855
- convertedPriceData?: {
2856
- currency: string;
2857
- discountedPrice: number;
2858
- formatted?: {
2859
- price: string;
2860
- discountedPrice: string;
2861
- };
2862
- };
2863
- costAndProfitData?: {
2864
- formattedItemCost: string;
2865
- profit: number;
2866
- formattedProfit: string;
2867
- profitMargin: number;
2868
- };
2869
- weight: number;
2870
- sku: string;
2871
- visible: boolean;
2872
- };
2873
- stock?: {
2874
- trackQuantity: boolean;
2875
- inStock: boolean;
2876
- };
2877
- }[];
2878
- seoData?: {
2879
- tags: {
2880
- type: string;
2881
- children: string;
2882
- custom: boolean;
2883
- disabled: boolean;
2884
- }[];
2885
- settings?: {
2886
- preventAutoRedirect: boolean;
2887
- keywords: {
2888
- term: string;
2889
- isMain: boolean;
2890
- }[];
2891
- };
2892
- };
2893
- exportProductId: string;
2894
- digitalFile?: {
2895
- id: string;
2896
- fileName: string;
2897
- fileType: FileType;
2898
- };
2899
- }[];
1907
+ products: ProductNonNullableFields$1[];
2900
1908
  }
2901
1909
  interface GetProductResponseNonNullableFields$1 {
2902
- product?: {
2903
- id: string;
2904
- slug: string;
2905
- productType: ProductType$1;
2906
- weightRange?: {
2907
- minValue: number;
2908
- maxValue: number;
2909
- };
2910
- stock?: {
2911
- trackInventory: boolean;
2912
- inStock: boolean;
2913
- inventoryStatus: InventoryStatus$1;
2914
- };
2915
- price?: {
2916
- currency: string;
2917
- discountedPrice: number;
2918
- formatted?: {
2919
- price: string;
2920
- discountedPrice: string;
2921
- };
2922
- };
2923
- priceData?: {
2924
- currency: string;
2925
- discountedPrice: number;
2926
- formatted?: {
2927
- price: string;
2928
- discountedPrice: string;
2929
- };
2930
- };
2931
- convertedPriceData?: {
2932
- currency: string;
2933
- discountedPrice: number;
2934
- formatted?: {
2935
- price: string;
2936
- discountedPrice: string;
2937
- };
2938
- };
2939
- priceRange?: {
2940
- minValue: number;
2941
- maxValue: number;
2942
- };
2943
- costAndProfitData?: {
2944
- formattedItemCost: string;
2945
- profit: number;
2946
- formattedProfit: string;
2947
- profitMargin: number;
2948
- };
2949
- costRange?: {
2950
- minValue: number;
2951
- maxValue: number;
2952
- };
2953
- pricePerUnitData?: {
2954
- totalQuantity: number;
2955
- totalMeasurementUnit: MeasurementUnit$1;
2956
- baseQuantity: number;
2957
- baseMeasurementUnit: MeasurementUnit$1;
2958
- };
2959
- additionalInfoSections: {
2960
- title: string;
2961
- description: string;
2962
- }[];
2963
- ribbons: {
2964
- text: string;
2965
- }[];
2966
- media?: {
2967
- mainMedia?: {
2968
- image?: {
2969
- url: string;
2970
- width: number;
2971
- height: number;
2972
- };
2973
- video?: {
2974
- files: {
2975
- url: string;
2976
- width: number;
2977
- height: number;
2978
- }[];
2979
- stillFrameMediaId: string;
2980
- };
2981
- thumbnail?: {
2982
- url: string;
2983
- width: number;
2984
- height: number;
2985
- };
2986
- mediaType: MediaItemType$1;
2987
- title: string;
2988
- id: string;
2989
- };
2990
- items: {
2991
- image?: {
2992
- url: string;
2993
- width: number;
2994
- height: number;
2995
- };
2996
- video?: {
2997
- files: {
2998
- url: string;
2999
- width: number;
3000
- height: number;
3001
- }[];
3002
- stillFrameMediaId: string;
3003
- };
3004
- thumbnail?: {
3005
- url: string;
3006
- width: number;
3007
- height: number;
3008
- };
3009
- mediaType: MediaItemType$1;
3010
- title: string;
3011
- id: string;
3012
- }[];
3013
- };
3014
- customTextFields: {
3015
- title: string;
3016
- maxLength: number;
3017
- mandatory: boolean;
3018
- }[];
3019
- productOptions: {
3020
- optionType: OptionType$1;
3021
- name: string;
3022
- choices: {
3023
- value: string;
3024
- description: string;
3025
- media?: {
3026
- mainMedia?: {
3027
- image?: {
3028
- url: string;
3029
- width: number;
3030
- height: number;
3031
- };
3032
- video?: {
3033
- files: {
3034
- url: string;
3035
- width: number;
3036
- height: number;
3037
- }[];
3038
- stillFrameMediaId: string;
3039
- };
3040
- thumbnail?: {
3041
- url: string;
3042
- width: number;
3043
- height: number;
3044
- };
3045
- mediaType: MediaItemType$1;
3046
- title: string;
3047
- id: string;
3048
- };
3049
- items: {
3050
- image?: {
3051
- url: string;
3052
- width: number;
3053
- height: number;
3054
- };
3055
- video?: {
3056
- files: {
3057
- url: string;
3058
- width: number;
3059
- height: number;
3060
- }[];
3061
- stillFrameMediaId: string;
3062
- };
3063
- thumbnail?: {
3064
- url: string;
3065
- width: number;
3066
- height: number;
3067
- };
3068
- mediaType: MediaItemType$1;
3069
- title: string;
3070
- id: string;
3071
- }[];
3072
- };
3073
- inStock: boolean;
3074
- visible: boolean;
3075
- }[];
3076
- }[];
3077
- productPageUrl?: {
3078
- base: string;
3079
- path: string;
3080
- };
3081
- numericId: string;
3082
- inventoryItemId: string;
3083
- discount?: {
3084
- type: DiscountType$3;
3085
- value: number;
3086
- };
3087
- collectionIds: string[];
3088
- variants: {
3089
- id: string;
3090
- variant?: {
3091
- priceData?: {
3092
- currency: string;
3093
- discountedPrice: number;
3094
- formatted?: {
3095
- price: string;
3096
- discountedPrice: string;
3097
- };
3098
- };
3099
- convertedPriceData?: {
3100
- currency: string;
3101
- discountedPrice: number;
3102
- formatted?: {
3103
- price: string;
3104
- discountedPrice: string;
3105
- };
3106
- };
3107
- costAndProfitData?: {
3108
- formattedItemCost: string;
3109
- profit: number;
3110
- formattedProfit: string;
3111
- profitMargin: number;
3112
- };
3113
- weight: number;
3114
- sku: string;
3115
- visible: boolean;
3116
- };
3117
- stock?: {
3118
- trackQuantity: boolean;
3119
- inStock: boolean;
3120
- };
3121
- }[];
3122
- seoData?: {
3123
- tags: {
3124
- type: string;
3125
- children: string;
3126
- custom: boolean;
3127
- disabled: boolean;
3128
- }[];
3129
- settings?: {
3130
- preventAutoRedirect: boolean;
3131
- keywords: {
3132
- term: string;
3133
- isMain: boolean;
3134
- }[];
3135
- };
3136
- };
3137
- exportProductId: string;
3138
- digitalFile?: {
3139
- id: string;
3140
- fileName: string;
3141
- fileType: FileType;
3142
- };
3143
- };
1910
+ product?: ProductNonNullableFields$1;
3144
1911
  }
3145
1912
  interface GetCollectionBySlugResponseNonNullableFields$1 {
3146
- collection?: {
3147
- media?: {
3148
- mainMedia?: {
3149
- image?: {
3150
- url: string;
3151
- width: number;
3152
- height: number;
3153
- };
3154
- video?: {
3155
- files: {
3156
- url: string;
3157
- width: number;
3158
- height: number;
3159
- }[];
3160
- stillFrameMediaId: string;
3161
- };
3162
- thumbnail?: {
3163
- url: string;
3164
- width: number;
3165
- height: number;
3166
- };
3167
- mediaType: MediaItemType$1;
3168
- title: string;
3169
- id: string;
3170
- };
3171
- items: {
3172
- image?: {
3173
- url: string;
3174
- width: number;
3175
- height: number;
3176
- };
3177
- video?: {
3178
- files: {
3179
- url: string;
3180
- width: number;
3181
- height: number;
3182
- }[];
3183
- stillFrameMediaId: string;
3184
- };
3185
- thumbnail?: {
3186
- url: string;
3187
- width: number;
3188
- height: number;
3189
- };
3190
- mediaType: MediaItemType$1;
3191
- title: string;
3192
- id: string;
3193
- }[];
3194
- };
3195
- numberOfProducts: number;
3196
- seoSchema?: {
3197
- tags: {
3198
- type: string;
3199
- children: string;
3200
- custom: boolean;
3201
- disabled: boolean;
3202
- }[];
3203
- settings?: {
3204
- preventAutoRedirect: boolean;
3205
- keywords: {
3206
- term: string;
3207
- isMain: boolean;
3208
- }[];
3209
- };
3210
- };
3211
- };
1913
+ collection?: CollectionNonNullableFields$1;
1914
+ }
1915
+ interface VariantDataNonNullableFields$1 {
1916
+ price?: PriceDataNonNullableFields$1;
1917
+ convertedPriceData?: PriceDataNonNullableFields$1;
1918
+ sku: string;
1919
+ inStock: boolean;
1920
+ visible: boolean;
1921
+ variantId: string;
3212
1922
  }
3213
1923
  interface ProductOptionsAvailabilityResponseNonNullableFields$1 {
3214
- selectedVariant?: {
3215
- price?: {
3216
- currency: string;
3217
- discountedPrice: number;
3218
- formatted?: {
3219
- price: string;
3220
- discountedPrice: string;
3221
- };
3222
- };
3223
- convertedPriceData?: {
3224
- currency: string;
3225
- discountedPrice: number;
3226
- formatted?: {
3227
- price: string;
3228
- discountedPrice: string;
3229
- };
3230
- };
3231
- sku: string;
3232
- inStock: boolean;
3233
- visible: boolean;
3234
- variantId: string;
3235
- };
3236
- media?: {
3237
- mainMedia?: {
3238
- image?: {
3239
- url: string;
3240
- width: number;
3241
- height: number;
3242
- };
3243
- video?: {
3244
- files: {
3245
- url: string;
3246
- width: number;
3247
- height: number;
3248
- }[];
3249
- stillFrameMediaId: string;
3250
- };
3251
- thumbnail?: {
3252
- url: string;
3253
- width: number;
3254
- height: number;
3255
- };
3256
- mediaType: MediaItemType$1;
3257
- title: string;
3258
- id: string;
3259
- };
3260
- items: {
3261
- image?: {
3262
- url: string;
3263
- width: number;
3264
- height: number;
3265
- };
3266
- video?: {
3267
- files: {
3268
- url: string;
3269
- width: number;
3270
- height: number;
3271
- }[];
3272
- stillFrameMediaId: string;
3273
- };
3274
- thumbnail?: {
3275
- url: string;
3276
- width: number;
3277
- height: number;
3278
- };
3279
- mediaType: MediaItemType$1;
3280
- title: string;
3281
- id: string;
3282
- }[];
3283
- };
3284
- productOptions: {
3285
- optionType: OptionType$1;
3286
- name: string;
3287
- choices: {
3288
- value: string;
3289
- description: string;
3290
- media?: {
3291
- mainMedia?: {
3292
- image?: {
3293
- url: string;
3294
- width: number;
3295
- height: number;
3296
- };
3297
- video?: {
3298
- files: {
3299
- url: string;
3300
- width: number;
3301
- height: number;
3302
- }[];
3303
- stillFrameMediaId: string;
3304
- };
3305
- thumbnail?: {
3306
- url: string;
3307
- width: number;
3308
- height: number;
3309
- };
3310
- mediaType: MediaItemType$1;
3311
- title: string;
3312
- id: string;
3313
- };
3314
- items: {
3315
- image?: {
3316
- url: string;
3317
- width: number;
3318
- height: number;
3319
- };
3320
- video?: {
3321
- files: {
3322
- url: string;
3323
- width: number;
3324
- height: number;
3325
- }[];
3326
- stillFrameMediaId: string;
3327
- };
3328
- thumbnail?: {
3329
- url: string;
3330
- width: number;
3331
- height: number;
3332
- };
3333
- mediaType: MediaItemType$1;
3334
- title: string;
3335
- id: string;
3336
- }[];
3337
- };
3338
- inStock: boolean;
3339
- visible: boolean;
3340
- }[];
3341
- }[];
1924
+ selectedVariant?: VariantDataNonNullableFields$1;
1925
+ media?: MediaNonNullableFields$1;
1926
+ productOptions: ProductOptionNonNullableFields$1[];
3342
1927
  availableForPurchase: boolean;
3343
1928
  managedProduct: boolean;
3344
1929
  }
1930
+ interface PagingMetadataNonNullableFields$3 {
1931
+ items: number;
1932
+ offset: number;
1933
+ }
3345
1934
  interface QueryProductVariantsResponseNonNullableFields$1 {
3346
- variants: {
3347
- id: string;
3348
- variant?: {
3349
- priceData?: {
3350
- currency: string;
3351
- discountedPrice: number;
3352
- formatted?: {
3353
- price: string;
3354
- discountedPrice: string;
3355
- };
3356
- };
3357
- convertedPriceData?: {
3358
- currency: string;
3359
- discountedPrice: number;
3360
- formatted?: {
3361
- price: string;
3362
- discountedPrice: string;
3363
- };
3364
- };
3365
- costAndProfitData?: {
3366
- formattedItemCost: string;
3367
- profit: number;
3368
- formattedProfit: string;
3369
- profitMargin: number;
3370
- };
3371
- weight: number;
3372
- sku: string;
3373
- visible: boolean;
3374
- };
3375
- stock?: {
3376
- trackQuantity: boolean;
3377
- inStock: boolean;
3378
- };
3379
- }[];
3380
- metadata?: {
3381
- items: number;
3382
- offset: number;
3383
- };
1935
+ variants: VariantNonNullableFields$1[];
1936
+ metadata?: PagingMetadataNonNullableFields$3;
3384
1937
  totalResults: number;
3385
1938
  }
1939
+ interface ImageNonNullableFields {
1940
+ id: string;
1941
+ url: string;
1942
+ height: number;
1943
+ width: number;
1944
+ }
1945
+ interface VideoResolutionNonNullableFields {
1946
+ url: string;
1947
+ height: number;
1948
+ width: number;
1949
+ poster?: ImageNonNullableFields;
1950
+ format: string;
1951
+ }
1952
+ interface VideoV2NonNullableFields {
1953
+ id: string;
1954
+ url: string;
1955
+ resolutions: VideoResolutionNonNullableFields[];
1956
+ posters: ImageNonNullableFields[];
1957
+ }
1958
+ interface PlatformMediaNonNullableFields$1 {
1959
+ image?: ImageNonNullableFields;
1960
+ video?: VideoV2NonNullableFields;
1961
+ }
1962
+ interface PreorderInfoNonNullableFields$3 {
1963
+ enabled: boolean;
1964
+ }
1965
+ interface StoreVariantNonNullableFields$1 {
1966
+ id: string;
1967
+ variantId: string;
1968
+ productId: string;
1969
+ variantName: string;
1970
+ productName: string;
1971
+ managedVariant: boolean;
1972
+ sku: string;
1973
+ stock?: VariantStockNonNullableFields$1;
1974
+ collectionIds: string[];
1975
+ media?: PlatformMediaNonNullableFields$1;
1976
+ preorderInfo?: PreorderInfoNonNullableFields$3;
1977
+ }
3386
1978
  interface QueryStoreVariantsResponseNonNullableFields$1 {
3387
- variants: {
3388
- id: string;
3389
- variantId: string;
3390
- productId: string;
3391
- variantName: string;
3392
- productName: string;
3393
- managedVariant: boolean;
3394
- sku: string;
3395
- stock?: {
3396
- trackQuantity: boolean;
3397
- inStock: boolean;
3398
- };
3399
- collectionIds: string[];
3400
- media?: {
3401
- image?: {
3402
- id: string;
3403
- url: string;
3404
- height: number;
3405
- width: number;
3406
- };
3407
- video?: {
3408
- id: string;
3409
- url: string;
3410
- resolutions: {
3411
- url: string;
3412
- height: number;
3413
- width: number;
3414
- poster?: {
3415
- id: string;
3416
- url: string;
3417
- height: number;
3418
- width: number;
3419
- };
3420
- format: string;
3421
- }[];
3422
- posters: {
3423
- id: string;
3424
- url: string;
3425
- height: number;
3426
- width: number;
3427
- }[];
3428
- };
3429
- };
3430
- preorderInfo?: {
3431
- enabled: boolean;
3432
- };
3433
- }[];
1979
+ variants: StoreVariantNonNullableFields$1[];
3434
1980
  }
3435
1981
  interface GetStoreVariantResponseNonNullableFields$1 {
3436
- variant?: {
3437
- id: string;
3438
- variantId: string;
3439
- productId: string;
3440
- variantName: string;
3441
- productName: string;
3442
- managedVariant: boolean;
3443
- sku: string;
3444
- stock?: {
3445
- trackQuantity: boolean;
3446
- inStock: boolean;
3447
- };
3448
- collectionIds: string[];
3449
- media?: {
3450
- image?: {
3451
- id: string;
3452
- url: string;
3453
- height: number;
3454
- width: number;
3455
- };
3456
- video?: {
3457
- id: string;
3458
- url: string;
3459
- resolutions: {
3460
- url: string;
3461
- height: number;
3462
- width: number;
3463
- poster?: {
3464
- id: string;
3465
- url: string;
3466
- height: number;
3467
- width: number;
3468
- };
3469
- format: string;
3470
- }[];
3471
- posters: {
3472
- id: string;
3473
- url: string;
3474
- height: number;
3475
- width: number;
3476
- }[];
3477
- };
3478
- };
3479
- preorderInfo?: {
3480
- enabled: boolean;
3481
- };
3482
- };
1982
+ variant?: StoreVariantNonNullableFields$1;
3483
1983
  }
3484
1984
 
3485
1985
  interface Product {
@@ -3960,6 +2460,14 @@ interface Settings {
3960
2460
  /** User-selected keyword terms for a specific page. */
3961
2461
  keywords?: Keyword[];
3962
2462
  }
2463
+ declare enum FileType {
2464
+ UNSPECIFIED = "UNSPECIFIED",
2465
+ SECURE_PICTURE = "SECURE_PICTURE",
2466
+ SECURE_VIDEO = "SECURE_VIDEO",
2467
+ SECURE_DOCUMENT = "SECURE_DOCUMENT",
2468
+ SECURE_MUSIC = "SECURE_MUSIC",
2469
+ SECURE_ARCHIVE = "SECURE_ARCHIVE"
2470
+ }
3963
2471
  interface CreateProductRequest {
3964
2472
  /** Product information. */
3965
2473
  product?: Product;
@@ -4549,1403 +3057,260 @@ interface GetStoreVariantResponse {
4549
3057
  /** The requested store variant. */
4550
3058
  variant?: StoreVariant;
4551
3059
  }
3060
+ interface NumericPropertyRangeNonNullableFields {
3061
+ minValue: number;
3062
+ maxValue: number;
3063
+ }
3064
+ interface StockNonNullableFields {
3065
+ trackInventory: boolean;
3066
+ inStock: boolean;
3067
+ inventoryStatus: InventoryStatus;
3068
+ }
3069
+ interface FormattedPriceNonNullableFields {
3070
+ price: string;
3071
+ discountedPrice: string;
3072
+ }
3073
+ interface PriceDataNonNullableFields {
3074
+ currency: string;
3075
+ discountedPrice: number;
3076
+ formatted?: FormattedPriceNonNullableFields;
3077
+ }
3078
+ interface CostAndProfitDataNonNullableFields {
3079
+ formattedItemCost: string;
3080
+ profit: number;
3081
+ formattedProfit: string;
3082
+ profitMargin: number;
3083
+ }
3084
+ interface PricePerUnitDataNonNullableFields {
3085
+ totalQuantity: number;
3086
+ totalMeasurementUnit: MeasurementUnit;
3087
+ baseQuantity: number;
3088
+ baseMeasurementUnit: MeasurementUnit;
3089
+ }
3090
+ interface AdditionalInfoSectionNonNullableFields {
3091
+ title: string;
3092
+ description: string;
3093
+ }
3094
+ interface RibbonNonNullableFields {
3095
+ text: string;
3096
+ }
3097
+ interface MediaItemUrlAndSizeNonNullableFields {
3098
+ url: string;
3099
+ width: number;
3100
+ height: number;
3101
+ }
3102
+ interface MediaItemVideoNonNullableFields {
3103
+ files: MediaItemUrlAndSizeNonNullableFields[];
3104
+ stillFrameMediaId: string;
3105
+ }
3106
+ interface MediaItemNonNullableFields {
3107
+ image?: MediaItemUrlAndSizeNonNullableFields;
3108
+ video?: MediaItemVideoNonNullableFields;
3109
+ thumbnail?: MediaItemUrlAndSizeNonNullableFields;
3110
+ mediaType: MediaItemType;
3111
+ title: string;
3112
+ _id: string;
3113
+ }
3114
+ interface MediaNonNullableFields {
3115
+ mainMedia?: MediaItemNonNullableFields;
3116
+ items: MediaItemNonNullableFields[];
3117
+ }
3118
+ interface CustomTextFieldNonNullableFields {
3119
+ title: string;
3120
+ maxLength: number;
3121
+ mandatory: boolean;
3122
+ }
3123
+ interface ChoiceNonNullableFields {
3124
+ value: string;
3125
+ description: string;
3126
+ media?: MediaNonNullableFields;
3127
+ inStock: boolean;
3128
+ visible: boolean;
3129
+ }
3130
+ interface ProductOptionNonNullableFields {
3131
+ optionType: OptionType;
3132
+ name: string;
3133
+ choices: ChoiceNonNullableFields[];
3134
+ }
3135
+ interface PageUrlNonNullableFields {
3136
+ base: string;
3137
+ path: string;
3138
+ }
3139
+ interface DiscountNonNullableFields$2 {
3140
+ type: DiscountType$2;
3141
+ value: number;
3142
+ }
3143
+ interface VariantDataWithNoStockNonNullableFields {
3144
+ priceData?: PriceDataNonNullableFields;
3145
+ convertedPriceData?: PriceDataNonNullableFields;
3146
+ costAndProfitData?: CostAndProfitDataNonNullableFields;
3147
+ weight: number;
3148
+ sku: string;
3149
+ visible: boolean;
3150
+ }
3151
+ interface VariantStockNonNullableFields {
3152
+ trackQuantity: boolean;
3153
+ inStock: boolean;
3154
+ }
3155
+ interface VariantNonNullableFields {
3156
+ _id: string;
3157
+ variant?: VariantDataWithNoStockNonNullableFields;
3158
+ stock?: VariantStockNonNullableFields;
3159
+ }
3160
+ interface TagNonNullableFields {
3161
+ type: string;
3162
+ children: string;
3163
+ custom: boolean;
3164
+ disabled: boolean;
3165
+ }
3166
+ interface KeywordNonNullableFields {
3167
+ term: string;
3168
+ isMain: boolean;
3169
+ }
3170
+ interface SettingsNonNullableFields {
3171
+ preventAutoRedirect: boolean;
3172
+ keywords: KeywordNonNullableFields[];
3173
+ }
3174
+ interface SeoSchemaNonNullableFields {
3175
+ tags: TagNonNullableFields[];
3176
+ settings?: SettingsNonNullableFields;
3177
+ }
3178
+ interface SecuredMediaNonNullableFields {
3179
+ _id: string;
3180
+ fileName: string;
3181
+ fileType: FileType;
3182
+ }
3183
+ interface ProductNonNullableFields {
3184
+ _id: string;
3185
+ slug: string;
3186
+ productType: ProductType;
3187
+ weightRange?: NumericPropertyRangeNonNullableFields;
3188
+ stock?: StockNonNullableFields;
3189
+ price?: PriceDataNonNullableFields;
3190
+ priceData?: PriceDataNonNullableFields;
3191
+ convertedPriceData?: PriceDataNonNullableFields;
3192
+ priceRange?: NumericPropertyRangeNonNullableFields;
3193
+ costAndProfitData?: CostAndProfitDataNonNullableFields;
3194
+ costRange?: NumericPropertyRangeNonNullableFields;
3195
+ pricePerUnitData?: PricePerUnitDataNonNullableFields;
3196
+ additionalInfoSections: AdditionalInfoSectionNonNullableFields[];
3197
+ ribbons: RibbonNonNullableFields[];
3198
+ media?: MediaNonNullableFields;
3199
+ customTextFields: CustomTextFieldNonNullableFields[];
3200
+ productOptions: ProductOptionNonNullableFields[];
3201
+ productPageUrl?: PageUrlNonNullableFields;
3202
+ numericId: string;
3203
+ inventoryItemId: string;
3204
+ discount?: DiscountNonNullableFields$2;
3205
+ collectionIds: string[];
3206
+ variants: VariantNonNullableFields[];
3207
+ seoData?: SeoSchemaNonNullableFields;
3208
+ exportProductId: string;
3209
+ digitalFile?: SecuredMediaNonNullableFields;
3210
+ }
4552
3211
  interface CreateProductResponseNonNullableFields {
4553
- product?: {
4554
- _id: string;
4555
- slug: string;
4556
- productType: ProductType;
4557
- weightRange?: {
4558
- minValue: number;
4559
- maxValue: number;
4560
- };
4561
- stock?: {
4562
- trackInventory: boolean;
4563
- inStock: boolean;
4564
- inventoryStatus: InventoryStatus;
4565
- };
4566
- price?: {
4567
- currency: string;
4568
- discountedPrice: number;
4569
- formatted?: {
4570
- price: string;
4571
- discountedPrice: string;
4572
- };
4573
- };
4574
- priceData?: {
4575
- currency: string;
4576
- discountedPrice: number;
4577
- formatted?: {
4578
- price: string;
4579
- discountedPrice: string;
4580
- };
4581
- };
4582
- convertedPriceData?: {
4583
- currency: string;
4584
- discountedPrice: number;
4585
- formatted?: {
4586
- price: string;
4587
- discountedPrice: string;
4588
- };
4589
- };
4590
- priceRange?: {
4591
- minValue: number;
4592
- maxValue: number;
4593
- };
4594
- costAndProfitData?: {
4595
- formattedItemCost: string;
4596
- profit: number;
4597
- formattedProfit: string;
4598
- profitMargin: number;
4599
- };
4600
- costRange?: {
4601
- minValue: number;
4602
- maxValue: number;
4603
- };
4604
- pricePerUnitData?: {
4605
- totalQuantity: number;
4606
- totalMeasurementUnit: MeasurementUnit;
4607
- baseQuantity: number;
4608
- baseMeasurementUnit: MeasurementUnit;
4609
- };
4610
- additionalInfoSections: {
4611
- title: string;
4612
- description: string;
4613
- }[];
4614
- ribbons: {
4615
- text: string;
4616
- }[];
4617
- media?: {
4618
- mainMedia?: {
4619
- image?: {
4620
- url: string;
4621
- width: number;
4622
- height: number;
4623
- };
4624
- video?: {
4625
- files: {
4626
- url: string;
4627
- width: number;
4628
- height: number;
4629
- }[];
4630
- stillFrameMediaId: string;
4631
- };
4632
- thumbnail?: {
4633
- url: string;
4634
- width: number;
4635
- height: number;
4636
- };
4637
- mediaType: MediaItemType;
4638
- title: string;
4639
- _id: string;
4640
- };
4641
- items: {
4642
- image?: {
4643
- url: string;
4644
- width: number;
4645
- height: number;
4646
- };
4647
- video?: {
4648
- files: {
4649
- url: string;
4650
- width: number;
4651
- height: number;
4652
- }[];
4653
- stillFrameMediaId: string;
4654
- };
4655
- thumbnail?: {
4656
- url: string;
4657
- width: number;
4658
- height: number;
4659
- };
4660
- mediaType: MediaItemType;
4661
- title: string;
4662
- _id: string;
4663
- }[];
4664
- };
4665
- customTextFields: {
4666
- title: string;
4667
- maxLength: number;
4668
- mandatory: boolean;
4669
- }[];
4670
- productOptions: {
4671
- optionType: OptionType;
4672
- name: string;
4673
- choices: {
4674
- value: string;
4675
- description: string;
4676
- media?: {
4677
- mainMedia?: {
4678
- image?: {
4679
- url: string;
4680
- width: number;
4681
- height: number;
4682
- };
4683
- video?: {
4684
- files: {
4685
- url: string;
4686
- width: number;
4687
- height: number;
4688
- }[];
4689
- stillFrameMediaId: string;
4690
- };
4691
- thumbnail?: {
4692
- url: string;
4693
- width: number;
4694
- height: number;
4695
- };
4696
- mediaType: MediaItemType;
4697
- title: string;
4698
- _id: string;
4699
- };
4700
- items: {
4701
- image?: {
4702
- url: string;
4703
- width: number;
4704
- height: number;
4705
- };
4706
- video?: {
4707
- files: {
4708
- url: string;
4709
- width: number;
4710
- height: number;
4711
- }[];
4712
- stillFrameMediaId: string;
4713
- };
4714
- thumbnail?: {
4715
- url: string;
4716
- width: number;
4717
- height: number;
4718
- };
4719
- mediaType: MediaItemType;
4720
- title: string;
4721
- _id: string;
4722
- }[];
4723
- };
4724
- inStock: boolean;
4725
- visible: boolean;
4726
- }[];
4727
- }[];
4728
- productPageUrl?: {
4729
- base: string;
4730
- path: string;
4731
- };
4732
- numericId: string;
4733
- inventoryItemId: string;
4734
- discount?: {
4735
- type: DiscountType$2;
4736
- value: number;
4737
- };
4738
- collectionIds: string[];
4739
- variants: {
4740
- _id: string;
4741
- variant?: {
4742
- priceData?: {
4743
- currency: string;
4744
- discountedPrice: number;
4745
- formatted?: {
4746
- price: string;
4747
- discountedPrice: string;
4748
- };
4749
- };
4750
- convertedPriceData?: {
4751
- currency: string;
4752
- discountedPrice: number;
4753
- formatted?: {
4754
- price: string;
4755
- discountedPrice: string;
4756
- };
4757
- };
4758
- costAndProfitData?: {
4759
- formattedItemCost: string;
4760
- profit: number;
4761
- formattedProfit: string;
4762
- profitMargin: number;
4763
- };
4764
- weight: number;
4765
- sku: string;
4766
- visible: boolean;
4767
- };
4768
- stock?: {
4769
- trackQuantity: boolean;
4770
- inStock: boolean;
4771
- };
4772
- }[];
4773
- seoData?: {
4774
- tags: {
4775
- type: string;
4776
- children: string;
4777
- custom: boolean;
4778
- disabled: boolean;
4779
- }[];
4780
- settings?: {
4781
- preventAutoRedirect: boolean;
4782
- keywords: {
4783
- term: string;
4784
- isMain: boolean;
4785
- }[];
4786
- };
4787
- };
4788
- };
3212
+ product?: ProductNonNullableFields;
4789
3213
  }
4790
3214
  interface UpdateProductResponseNonNullableFields {
4791
- product?: {
4792
- _id: string;
4793
- slug: string;
4794
- productType: ProductType;
4795
- weightRange?: {
4796
- minValue: number;
4797
- maxValue: number;
4798
- };
4799
- stock?: {
4800
- trackInventory: boolean;
4801
- inStock: boolean;
4802
- inventoryStatus: InventoryStatus;
4803
- };
4804
- price?: {
4805
- currency: string;
4806
- discountedPrice: number;
4807
- formatted?: {
4808
- price: string;
4809
- discountedPrice: string;
4810
- };
4811
- };
4812
- priceData?: {
4813
- currency: string;
4814
- discountedPrice: number;
4815
- formatted?: {
4816
- price: string;
4817
- discountedPrice: string;
4818
- };
4819
- };
4820
- convertedPriceData?: {
4821
- currency: string;
4822
- discountedPrice: number;
4823
- formatted?: {
4824
- price: string;
4825
- discountedPrice: string;
4826
- };
4827
- };
4828
- priceRange?: {
4829
- minValue: number;
4830
- maxValue: number;
4831
- };
4832
- costAndProfitData?: {
4833
- formattedItemCost: string;
4834
- profit: number;
4835
- formattedProfit: string;
4836
- profitMargin: number;
4837
- };
4838
- costRange?: {
4839
- minValue: number;
4840
- maxValue: number;
4841
- };
4842
- pricePerUnitData?: {
4843
- totalQuantity: number;
4844
- totalMeasurementUnit: MeasurementUnit;
4845
- baseQuantity: number;
4846
- baseMeasurementUnit: MeasurementUnit;
4847
- };
4848
- additionalInfoSections: {
4849
- title: string;
4850
- description: string;
4851
- }[];
4852
- ribbons: {
4853
- text: string;
4854
- }[];
4855
- media?: {
4856
- mainMedia?: {
4857
- image?: {
4858
- url: string;
4859
- width: number;
4860
- height: number;
4861
- };
4862
- video?: {
4863
- files: {
4864
- url: string;
4865
- width: number;
4866
- height: number;
4867
- }[];
4868
- stillFrameMediaId: string;
4869
- };
4870
- thumbnail?: {
4871
- url: string;
4872
- width: number;
4873
- height: number;
4874
- };
4875
- mediaType: MediaItemType;
4876
- title: string;
4877
- _id: string;
4878
- };
4879
- items: {
4880
- image?: {
4881
- url: string;
4882
- width: number;
4883
- height: number;
4884
- };
4885
- video?: {
4886
- files: {
4887
- url: string;
4888
- width: number;
4889
- height: number;
4890
- }[];
4891
- stillFrameMediaId: string;
4892
- };
4893
- thumbnail?: {
4894
- url: string;
4895
- width: number;
4896
- height: number;
4897
- };
4898
- mediaType: MediaItemType;
4899
- title: string;
4900
- _id: string;
4901
- }[];
4902
- };
4903
- customTextFields: {
4904
- title: string;
4905
- maxLength: number;
4906
- mandatory: boolean;
4907
- }[];
4908
- productOptions: {
4909
- optionType: OptionType;
4910
- name: string;
4911
- choices: {
4912
- value: string;
4913
- description: string;
4914
- media?: {
4915
- mainMedia?: {
4916
- image?: {
4917
- url: string;
4918
- width: number;
4919
- height: number;
4920
- };
4921
- video?: {
4922
- files: {
4923
- url: string;
4924
- width: number;
4925
- height: number;
4926
- }[];
4927
- stillFrameMediaId: string;
4928
- };
4929
- thumbnail?: {
4930
- url: string;
4931
- width: number;
4932
- height: number;
4933
- };
4934
- mediaType: MediaItemType;
4935
- title: string;
4936
- _id: string;
4937
- };
4938
- items: {
4939
- image?: {
4940
- url: string;
4941
- width: number;
4942
- height: number;
4943
- };
4944
- video?: {
4945
- files: {
4946
- url: string;
4947
- width: number;
4948
- height: number;
4949
- }[];
4950
- stillFrameMediaId: string;
4951
- };
4952
- thumbnail?: {
4953
- url: string;
4954
- width: number;
4955
- height: number;
4956
- };
4957
- mediaType: MediaItemType;
4958
- title: string;
4959
- _id: string;
4960
- }[];
4961
- };
4962
- inStock: boolean;
4963
- visible: boolean;
4964
- }[];
4965
- }[];
4966
- productPageUrl?: {
4967
- base: string;
4968
- path: string;
4969
- };
4970
- numericId: string;
4971
- inventoryItemId: string;
4972
- discount?: {
4973
- type: DiscountType$2;
4974
- value: number;
4975
- };
4976
- collectionIds: string[];
4977
- variants: {
4978
- _id: string;
4979
- variant?: {
4980
- priceData?: {
4981
- currency: string;
4982
- discountedPrice: number;
4983
- formatted?: {
4984
- price: string;
4985
- discountedPrice: string;
4986
- };
4987
- };
4988
- convertedPriceData?: {
4989
- currency: string;
4990
- discountedPrice: number;
4991
- formatted?: {
4992
- price: string;
4993
- discountedPrice: string;
4994
- };
4995
- };
4996
- costAndProfitData?: {
4997
- formattedItemCost: string;
4998
- profit: number;
4999
- formattedProfit: string;
5000
- profitMargin: number;
5001
- };
5002
- weight: number;
5003
- sku: string;
5004
- visible: boolean;
5005
- };
5006
- stock?: {
5007
- trackQuantity: boolean;
5008
- inStock: boolean;
5009
- };
5010
- }[];
5011
- seoData?: {
5012
- tags: {
5013
- type: string;
5014
- children: string;
5015
- custom: boolean;
5016
- disabled: boolean;
5017
- }[];
5018
- settings?: {
5019
- preventAutoRedirect: boolean;
5020
- keywords: {
5021
- term: string;
5022
- isMain: boolean;
5023
- }[];
5024
- };
5025
- };
5026
- };
3215
+ product?: ProductNonNullableFields;
5027
3216
  }
5028
3217
  interface UpdateVariantsResponseNonNullableFields {
5029
- variants: {
5030
- _id: string;
5031
- variant?: {
5032
- priceData?: {
5033
- currency: string;
5034
- discountedPrice: number;
5035
- formatted?: {
5036
- price: string;
5037
- discountedPrice: string;
5038
- };
5039
- };
5040
- convertedPriceData?: {
5041
- currency: string;
5042
- discountedPrice: number;
5043
- formatted?: {
5044
- price: string;
5045
- discountedPrice: string;
5046
- };
5047
- };
5048
- costAndProfitData?: {
5049
- formattedItemCost: string;
5050
- profit: number;
5051
- formattedProfit: string;
5052
- profitMargin: number;
5053
- };
5054
- weight: number;
5055
- sku: string;
5056
- visible: boolean;
5057
- };
5058
- stock?: {
5059
- trackQuantity: boolean;
5060
- inStock: boolean;
5061
- };
5062
- }[];
3218
+ variants: VariantNonNullableFields[];
3219
+ }
3220
+ interface CollectionNonNullableFields {
3221
+ media?: MediaNonNullableFields;
3222
+ numberOfProducts: number;
3223
+ seoSchema?: SeoSchemaNonNullableFields;
5063
3224
  }
5064
3225
  interface CreateCollectionResponseNonNullableFields {
5065
- collection?: {
5066
- media?: {
5067
- mainMedia?: {
5068
- image?: {
5069
- url: string;
5070
- width: number;
5071
- height: number;
5072
- };
5073
- video?: {
5074
- files: {
5075
- url: string;
5076
- width: number;
5077
- height: number;
5078
- }[];
5079
- stillFrameMediaId: string;
5080
- };
5081
- thumbnail?: {
5082
- url: string;
5083
- width: number;
5084
- height: number;
5085
- };
5086
- mediaType: MediaItemType;
5087
- title: string;
5088
- _id: string;
5089
- };
5090
- items: {
5091
- image?: {
5092
- url: string;
5093
- width: number;
5094
- height: number;
5095
- };
5096
- video?: {
5097
- files: {
5098
- url: string;
5099
- width: number;
5100
- height: number;
5101
- }[];
5102
- stillFrameMediaId: string;
5103
- };
5104
- thumbnail?: {
5105
- url: string;
5106
- width: number;
5107
- height: number;
5108
- };
5109
- mediaType: MediaItemType;
5110
- title: string;
5111
- _id: string;
5112
- }[];
5113
- };
5114
- numberOfProducts: number;
5115
- };
3226
+ collection?: CollectionNonNullableFields;
5116
3227
  }
5117
3228
  interface UpdateCollectionResponseNonNullableFields {
5118
- collection?: {
5119
- media?: {
5120
- mainMedia?: {
5121
- image?: {
5122
- url: string;
5123
- width: number;
5124
- height: number;
5125
- };
5126
- video?: {
5127
- files: {
5128
- url: string;
5129
- width: number;
5130
- height: number;
5131
- }[];
5132
- stillFrameMediaId: string;
5133
- };
5134
- thumbnail?: {
5135
- url: string;
5136
- width: number;
5137
- height: number;
5138
- };
5139
- mediaType: MediaItemType;
5140
- title: string;
5141
- _id: string;
5142
- };
5143
- items: {
5144
- image?: {
5145
- url: string;
5146
- width: number;
5147
- height: number;
5148
- };
5149
- video?: {
5150
- files: {
5151
- url: string;
5152
- width: number;
5153
- height: number;
5154
- }[];
5155
- stillFrameMediaId: string;
5156
- };
5157
- thumbnail?: {
5158
- url: string;
5159
- width: number;
5160
- height: number;
5161
- };
5162
- mediaType: MediaItemType;
5163
- title: string;
5164
- _id: string;
5165
- }[];
5166
- };
5167
- numberOfProducts: number;
5168
- };
3229
+ collection?: CollectionNonNullableFields;
3230
+ }
3231
+ interface ApplicationErrorNonNullableFields {
3232
+ code: string;
3233
+ description: string;
3234
+ }
3235
+ interface ItemMetadataNonNullableFields {
3236
+ originalIndex: number;
3237
+ success: boolean;
3238
+ error?: ApplicationErrorNonNullableFields;
3239
+ }
3240
+ interface BulkProductResultNonNullableFields {
3241
+ itemMetadata?: ItemMetadataNonNullableFields;
3242
+ }
3243
+ interface BulkActionMetadataNonNullableFields {
3244
+ totalSuccesses: number;
3245
+ totalFailures: number;
3246
+ undetailedFailures: number;
5169
3247
  }
5170
3248
  interface BulkUpdateProductsResponseNonNullableFields {
5171
- results: {
5172
- itemMetadata?: {
5173
- originalIndex: number;
5174
- success: boolean;
5175
- error?: {
5176
- code: string;
5177
- description: string;
5178
- };
5179
- };
5180
- }[];
5181
- bulkActionMetadata?: {
5182
- totalSuccesses: number;
5183
- totalFailures: number;
5184
- undetailedFailures: number;
5185
- };
3249
+ results: BulkProductResultNonNullableFields[];
3250
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields;
5186
3251
  }
5187
3252
  interface BulkAdjustProductPropertiesResponseNonNullableFields {
5188
- results: {
5189
- itemMetadata?: {
5190
- originalIndex: number;
5191
- success: boolean;
5192
- error?: {
5193
- code: string;
5194
- description: string;
5195
- };
5196
- };
5197
- }[];
5198
- bulkActionMetadata?: {
5199
- totalSuccesses: number;
5200
- totalFailures: number;
5201
- undetailedFailures: number;
5202
- };
3253
+ results: BulkProductResultNonNullableFields[];
3254
+ bulkActionMetadata?: BulkActionMetadataNonNullableFields;
5203
3255
  }
5204
3256
  interface QueryProductsPlatformizedResponseNonNullableFields {
5205
- products: {
5206
- _id: string;
5207
- slug: string;
5208
- productType: ProductType;
5209
- weightRange?: {
5210
- minValue: number;
5211
- maxValue: number;
5212
- };
5213
- stock?: {
5214
- trackInventory: boolean;
5215
- inStock: boolean;
5216
- inventoryStatus: InventoryStatus;
5217
- };
5218
- price?: {
5219
- currency: string;
5220
- discountedPrice: number;
5221
- formatted?: {
5222
- price: string;
5223
- discountedPrice: string;
5224
- };
5225
- };
5226
- priceData?: {
5227
- currency: string;
5228
- discountedPrice: number;
5229
- formatted?: {
5230
- price: string;
5231
- discountedPrice: string;
5232
- };
5233
- };
5234
- convertedPriceData?: {
5235
- currency: string;
5236
- discountedPrice: number;
5237
- formatted?: {
5238
- price: string;
5239
- discountedPrice: string;
5240
- };
5241
- };
5242
- priceRange?: {
5243
- minValue: number;
5244
- maxValue: number;
5245
- };
5246
- costAndProfitData?: {
5247
- formattedItemCost: string;
5248
- profit: number;
5249
- formattedProfit: string;
5250
- profitMargin: number;
5251
- };
5252
- costRange?: {
5253
- minValue: number;
5254
- maxValue: number;
5255
- };
5256
- pricePerUnitData?: {
5257
- totalQuantity: number;
5258
- totalMeasurementUnit: MeasurementUnit;
5259
- baseQuantity: number;
5260
- baseMeasurementUnit: MeasurementUnit;
5261
- };
5262
- additionalInfoSections: {
5263
- title: string;
5264
- description: string;
5265
- }[];
5266
- ribbons: {
5267
- text: string;
5268
- }[];
5269
- media?: {
5270
- mainMedia?: {
5271
- image?: {
5272
- url: string;
5273
- width: number;
5274
- height: number;
5275
- };
5276
- video?: {
5277
- files: {
5278
- url: string;
5279
- width: number;
5280
- height: number;
5281
- }[];
5282
- stillFrameMediaId: string;
5283
- };
5284
- thumbnail?: {
5285
- url: string;
5286
- width: number;
5287
- height: number;
5288
- };
5289
- mediaType: MediaItemType;
5290
- title: string;
5291
- _id: string;
5292
- };
5293
- items: {
5294
- image?: {
5295
- url: string;
5296
- width: number;
5297
- height: number;
5298
- };
5299
- video?: {
5300
- files: {
5301
- url: string;
5302
- width: number;
5303
- height: number;
5304
- }[];
5305
- stillFrameMediaId: string;
5306
- };
5307
- thumbnail?: {
5308
- url: string;
5309
- width: number;
5310
- height: number;
5311
- };
5312
- mediaType: MediaItemType;
5313
- title: string;
5314
- _id: string;
5315
- }[];
5316
- };
5317
- customTextFields: {
5318
- title: string;
5319
- maxLength: number;
5320
- mandatory: boolean;
5321
- }[];
5322
- productOptions: {
5323
- optionType: OptionType;
5324
- name: string;
5325
- choices: {
5326
- value: string;
5327
- description: string;
5328
- media?: {
5329
- mainMedia?: {
5330
- image?: {
5331
- url: string;
5332
- width: number;
5333
- height: number;
5334
- };
5335
- video?: {
5336
- files: {
5337
- url: string;
5338
- width: number;
5339
- height: number;
5340
- }[];
5341
- stillFrameMediaId: string;
5342
- };
5343
- thumbnail?: {
5344
- url: string;
5345
- width: number;
5346
- height: number;
5347
- };
5348
- mediaType: MediaItemType;
5349
- title: string;
5350
- _id: string;
5351
- };
5352
- items: {
5353
- image?: {
5354
- url: string;
5355
- width: number;
5356
- height: number;
5357
- };
5358
- video?: {
5359
- files: {
5360
- url: string;
5361
- width: number;
5362
- height: number;
5363
- }[];
5364
- stillFrameMediaId: string;
5365
- };
5366
- thumbnail?: {
5367
- url: string;
5368
- width: number;
5369
- height: number;
5370
- };
5371
- mediaType: MediaItemType;
5372
- title: string;
5373
- _id: string;
5374
- }[];
5375
- };
5376
- inStock: boolean;
5377
- visible: boolean;
5378
- }[];
5379
- }[];
5380
- productPageUrl?: {
5381
- base: string;
5382
- path: string;
5383
- };
5384
- numericId: string;
5385
- inventoryItemId: string;
5386
- discount?: {
5387
- type: DiscountType$2;
5388
- value: number;
5389
- };
5390
- collectionIds: string[];
5391
- variants: {
5392
- _id: string;
5393
- variant?: {
5394
- priceData?: {
5395
- currency: string;
5396
- discountedPrice: number;
5397
- formatted?: {
5398
- price: string;
5399
- discountedPrice: string;
5400
- };
5401
- };
5402
- convertedPriceData?: {
5403
- currency: string;
5404
- discountedPrice: number;
5405
- formatted?: {
5406
- price: string;
5407
- discountedPrice: string;
5408
- };
5409
- };
5410
- costAndProfitData?: {
5411
- formattedItemCost: string;
5412
- profit: number;
5413
- formattedProfit: string;
5414
- profitMargin: number;
5415
- };
5416
- weight: number;
5417
- sku: string;
5418
- visible: boolean;
5419
- };
5420
- stock?: {
5421
- trackQuantity: boolean;
5422
- inStock: boolean;
5423
- };
5424
- }[];
5425
- seoData?: {
5426
- tags: {
5427
- type: string;
5428
- children: string;
5429
- custom: boolean;
5430
- disabled: boolean;
5431
- }[];
5432
- settings?: {
5433
- preventAutoRedirect: boolean;
5434
- keywords: {
5435
- term: string;
5436
- isMain: boolean;
5437
- }[];
5438
- };
5439
- };
5440
- }[];
3257
+ products: ProductNonNullableFields[];
5441
3258
  }
5442
3259
  interface GetProductResponseNonNullableFields {
5443
- product?: {
5444
- _id: string;
5445
- slug: string;
5446
- productType: ProductType;
5447
- weightRange?: {
5448
- minValue: number;
5449
- maxValue: number;
5450
- };
5451
- stock?: {
5452
- trackInventory: boolean;
5453
- inStock: boolean;
5454
- inventoryStatus: InventoryStatus;
5455
- };
5456
- price?: {
5457
- currency: string;
5458
- discountedPrice: number;
5459
- formatted?: {
5460
- price: string;
5461
- discountedPrice: string;
5462
- };
5463
- };
5464
- priceData?: {
5465
- currency: string;
5466
- discountedPrice: number;
5467
- formatted?: {
5468
- price: string;
5469
- discountedPrice: string;
5470
- };
5471
- };
5472
- convertedPriceData?: {
5473
- currency: string;
5474
- discountedPrice: number;
5475
- formatted?: {
5476
- price: string;
5477
- discountedPrice: string;
5478
- };
5479
- };
5480
- priceRange?: {
5481
- minValue: number;
5482
- maxValue: number;
5483
- };
5484
- costAndProfitData?: {
5485
- formattedItemCost: string;
5486
- profit: number;
5487
- formattedProfit: string;
5488
- profitMargin: number;
5489
- };
5490
- costRange?: {
5491
- minValue: number;
5492
- maxValue: number;
5493
- };
5494
- pricePerUnitData?: {
5495
- totalQuantity: number;
5496
- totalMeasurementUnit: MeasurementUnit;
5497
- baseQuantity: number;
5498
- baseMeasurementUnit: MeasurementUnit;
5499
- };
5500
- additionalInfoSections: {
5501
- title: string;
5502
- description: string;
5503
- }[];
5504
- ribbons: {
5505
- text: string;
5506
- }[];
5507
- media?: {
5508
- mainMedia?: {
5509
- image?: {
5510
- url: string;
5511
- width: number;
5512
- height: number;
5513
- };
5514
- video?: {
5515
- files: {
5516
- url: string;
5517
- width: number;
5518
- height: number;
5519
- }[];
5520
- stillFrameMediaId: string;
5521
- };
5522
- thumbnail?: {
5523
- url: string;
5524
- width: number;
5525
- height: number;
5526
- };
5527
- mediaType: MediaItemType;
5528
- title: string;
5529
- _id: string;
5530
- };
5531
- items: {
5532
- image?: {
5533
- url: string;
5534
- width: number;
5535
- height: number;
5536
- };
5537
- video?: {
5538
- files: {
5539
- url: string;
5540
- width: number;
5541
- height: number;
5542
- }[];
5543
- stillFrameMediaId: string;
5544
- };
5545
- thumbnail?: {
5546
- url: string;
5547
- width: number;
5548
- height: number;
5549
- };
5550
- mediaType: MediaItemType;
5551
- title: string;
5552
- _id: string;
5553
- }[];
5554
- };
5555
- customTextFields: {
5556
- title: string;
5557
- maxLength: number;
5558
- mandatory: boolean;
5559
- }[];
5560
- productOptions: {
5561
- optionType: OptionType;
5562
- name: string;
5563
- choices: {
5564
- value: string;
5565
- description: string;
5566
- media?: {
5567
- mainMedia?: {
5568
- image?: {
5569
- url: string;
5570
- width: number;
5571
- height: number;
5572
- };
5573
- video?: {
5574
- files: {
5575
- url: string;
5576
- width: number;
5577
- height: number;
5578
- }[];
5579
- stillFrameMediaId: string;
5580
- };
5581
- thumbnail?: {
5582
- url: string;
5583
- width: number;
5584
- height: number;
5585
- };
5586
- mediaType: MediaItemType;
5587
- title: string;
5588
- _id: string;
5589
- };
5590
- items: {
5591
- image?: {
5592
- url: string;
5593
- width: number;
5594
- height: number;
5595
- };
5596
- video?: {
5597
- files: {
5598
- url: string;
5599
- width: number;
5600
- height: number;
5601
- }[];
5602
- stillFrameMediaId: string;
5603
- };
5604
- thumbnail?: {
5605
- url: string;
5606
- width: number;
5607
- height: number;
5608
- };
5609
- mediaType: MediaItemType;
5610
- title: string;
5611
- _id: string;
5612
- }[];
5613
- };
5614
- inStock: boolean;
5615
- visible: boolean;
5616
- }[];
5617
- }[];
5618
- productPageUrl?: {
5619
- base: string;
5620
- path: string;
5621
- };
5622
- numericId: string;
5623
- inventoryItemId: string;
5624
- discount?: {
5625
- type: DiscountType$2;
5626
- value: number;
5627
- };
5628
- collectionIds: string[];
5629
- variants: {
5630
- _id: string;
5631
- variant?: {
5632
- priceData?: {
5633
- currency: string;
5634
- discountedPrice: number;
5635
- formatted?: {
5636
- price: string;
5637
- discountedPrice: string;
5638
- };
5639
- };
5640
- convertedPriceData?: {
5641
- currency: string;
5642
- discountedPrice: number;
5643
- formatted?: {
5644
- price: string;
5645
- discountedPrice: string;
5646
- };
5647
- };
5648
- costAndProfitData?: {
5649
- formattedItemCost: string;
5650
- profit: number;
5651
- formattedProfit: string;
5652
- profitMargin: number;
5653
- };
5654
- weight: number;
5655
- sku: string;
5656
- visible: boolean;
5657
- };
5658
- stock?: {
5659
- trackQuantity: boolean;
5660
- inStock: boolean;
5661
- };
5662
- }[];
5663
- seoData?: {
5664
- tags: {
5665
- type: string;
5666
- children: string;
5667
- custom: boolean;
5668
- disabled: boolean;
5669
- }[];
5670
- settings?: {
5671
- preventAutoRedirect: boolean;
5672
- keywords: {
5673
- term: string;
5674
- isMain: boolean;
5675
- }[];
5676
- };
5677
- };
5678
- };
3260
+ product?: ProductNonNullableFields;
5679
3261
  }
5680
3262
  interface GetCollectionBySlugResponseNonNullableFields {
5681
- collection?: {
5682
- media?: {
5683
- mainMedia?: {
5684
- image?: {
5685
- url: string;
5686
- width: number;
5687
- height: number;
5688
- };
5689
- video?: {
5690
- files: {
5691
- url: string;
5692
- width: number;
5693
- height: number;
5694
- }[];
5695
- stillFrameMediaId: string;
5696
- };
5697
- thumbnail?: {
5698
- url: string;
5699
- width: number;
5700
- height: number;
5701
- };
5702
- mediaType: MediaItemType;
5703
- title: string;
5704
- _id: string;
5705
- };
5706
- items: {
5707
- image?: {
5708
- url: string;
5709
- width: number;
5710
- height: number;
5711
- };
5712
- video?: {
5713
- files: {
5714
- url: string;
5715
- width: number;
5716
- height: number;
5717
- }[];
5718
- stillFrameMediaId: string;
5719
- };
5720
- thumbnail?: {
5721
- url: string;
5722
- width: number;
5723
- height: number;
5724
- };
5725
- mediaType: MediaItemType;
5726
- title: string;
5727
- _id: string;
5728
- }[];
5729
- };
5730
- numberOfProducts: number;
5731
- };
3263
+ collection?: CollectionNonNullableFields;
3264
+ }
3265
+ interface VariantDataNonNullableFields {
3266
+ price?: PriceDataNonNullableFields;
3267
+ convertedPriceData?: PriceDataNonNullableFields;
3268
+ sku: string;
3269
+ inStock: boolean;
3270
+ visible: boolean;
3271
+ variantId: string;
5732
3272
  }
5733
3273
  interface ProductOptionsAvailabilityResponseNonNullableFields {
5734
- selectedVariant?: {
5735
- price?: {
5736
- currency: string;
5737
- discountedPrice: number;
5738
- formatted?: {
5739
- price: string;
5740
- discountedPrice: string;
5741
- };
5742
- };
5743
- convertedPriceData?: {
5744
- currency: string;
5745
- discountedPrice: number;
5746
- formatted?: {
5747
- price: string;
5748
- discountedPrice: string;
5749
- };
5750
- };
5751
- sku: string;
5752
- inStock: boolean;
5753
- visible: boolean;
5754
- };
5755
- media?: {
5756
- mainMedia?: {
5757
- image?: {
5758
- url: string;
5759
- width: number;
5760
- height: number;
5761
- };
5762
- video?: {
5763
- files: {
5764
- url: string;
5765
- width: number;
5766
- height: number;
5767
- }[];
5768
- stillFrameMediaId: string;
5769
- };
5770
- thumbnail?: {
5771
- url: string;
5772
- width: number;
5773
- height: number;
5774
- };
5775
- mediaType: MediaItemType;
5776
- title: string;
5777
- _id: string;
5778
- };
5779
- items: {
5780
- image?: {
5781
- url: string;
5782
- width: number;
5783
- height: number;
5784
- };
5785
- video?: {
5786
- files: {
5787
- url: string;
5788
- width: number;
5789
- height: number;
5790
- }[];
5791
- stillFrameMediaId: string;
5792
- };
5793
- thumbnail?: {
5794
- url: string;
5795
- width: number;
5796
- height: number;
5797
- };
5798
- mediaType: MediaItemType;
5799
- title: string;
5800
- _id: string;
5801
- }[];
5802
- };
5803
- productOptions: {
5804
- optionType: OptionType;
5805
- name: string;
5806
- choices: {
5807
- value: string;
5808
- description: string;
5809
- media?: {
5810
- mainMedia?: {
5811
- image?: {
5812
- url: string;
5813
- width: number;
5814
- height: number;
5815
- };
5816
- video?: {
5817
- files: {
5818
- url: string;
5819
- width: number;
5820
- height: number;
5821
- }[];
5822
- stillFrameMediaId: string;
5823
- };
5824
- thumbnail?: {
5825
- url: string;
5826
- width: number;
5827
- height: number;
5828
- };
5829
- mediaType: MediaItemType;
5830
- title: string;
5831
- _id: string;
5832
- };
5833
- items: {
5834
- image?: {
5835
- url: string;
5836
- width: number;
5837
- height: number;
5838
- };
5839
- video?: {
5840
- files: {
5841
- url: string;
5842
- width: number;
5843
- height: number;
5844
- }[];
5845
- stillFrameMediaId: string;
5846
- };
5847
- thumbnail?: {
5848
- url: string;
5849
- width: number;
5850
- height: number;
5851
- };
5852
- mediaType: MediaItemType;
5853
- title: string;
5854
- _id: string;
5855
- }[];
5856
- };
5857
- inStock: boolean;
5858
- visible: boolean;
5859
- }[];
5860
- }[];
3274
+ selectedVariant?: VariantDataNonNullableFields;
3275
+ media?: MediaNonNullableFields;
3276
+ productOptions: ProductOptionNonNullableFields[];
5861
3277
  availableForPurchase: boolean;
3278
+ managedProduct: boolean;
3279
+ }
3280
+ interface PagingMetadataNonNullableFields$2 {
3281
+ items: number;
3282
+ offset: number;
5862
3283
  }
5863
3284
  interface QueryProductVariantsResponseNonNullableFields {
5864
- variants: {
5865
- _id: string;
5866
- variant?: {
5867
- priceData?: {
5868
- currency: string;
5869
- discountedPrice: number;
5870
- formatted?: {
5871
- price: string;
5872
- discountedPrice: string;
5873
- };
5874
- };
5875
- convertedPriceData?: {
5876
- currency: string;
5877
- discountedPrice: number;
5878
- formatted?: {
5879
- price: string;
5880
- discountedPrice: string;
5881
- };
5882
- };
5883
- costAndProfitData?: {
5884
- formattedItemCost: string;
5885
- profit: number;
5886
- formattedProfit: string;
5887
- profitMargin: number;
5888
- };
5889
- weight: number;
5890
- sku: string;
5891
- visible: boolean;
5892
- };
5893
- stock?: {
5894
- trackQuantity: boolean;
5895
- inStock: boolean;
5896
- };
5897
- }[];
5898
- metadata?: {
5899
- items: number;
5900
- offset: number;
5901
- };
3285
+ variants: VariantNonNullableFields[];
3286
+ metadata?: PagingMetadataNonNullableFields$2;
5902
3287
  totalResults: number;
5903
3288
  }
3289
+ interface PlatformMediaNonNullableFields {
3290
+ image: string;
3291
+ video: string;
3292
+ }
3293
+ interface PreorderInfoNonNullableFields$2 {
3294
+ enabled: boolean;
3295
+ }
3296
+ interface StoreVariantNonNullableFields {
3297
+ _id: string;
3298
+ variantId: string;
3299
+ productId: string;
3300
+ variantName: string;
3301
+ productName: string;
3302
+ managedVariant: boolean;
3303
+ sku: string;
3304
+ stock?: VariantStockNonNullableFields;
3305
+ collectionIds: string[];
3306
+ media?: PlatformMediaNonNullableFields;
3307
+ preorderInfo?: PreorderInfoNonNullableFields$2;
3308
+ }
5904
3309
  interface QueryStoreVariantsResponseNonNullableFields {
5905
- variants: {
5906
- _id: string;
5907
- variantId: string;
5908
- productId: string;
5909
- variantName: string;
5910
- productName: string;
5911
- managedVariant: boolean;
5912
- sku: string;
5913
- stock?: {
5914
- trackQuantity: boolean;
5915
- inStock: boolean;
5916
- };
5917
- collectionIds: string[];
5918
- media?: {
5919
- image: string;
5920
- video: string;
5921
- };
5922
- preorderInfo?: {
5923
- enabled: boolean;
5924
- };
5925
- }[];
3310
+ variants: StoreVariantNonNullableFields[];
5926
3311
  }
5927
3312
  interface GetStoreVariantResponseNonNullableFields {
5928
- variant?: {
5929
- _id: string;
5930
- variantId: string;
5931
- productId: string;
5932
- variantName: string;
5933
- productName: string;
5934
- managedVariant: boolean;
5935
- sku: string;
5936
- stock?: {
5937
- trackQuantity: boolean;
5938
- inStock: boolean;
5939
- };
5940
- collectionIds: string[];
5941
- media?: {
5942
- image: string;
5943
- video: string;
5944
- };
5945
- preorderInfo?: {
5946
- enabled: boolean;
5947
- };
5948
- };
3313
+ variant?: StoreVariantNonNullableFields;
5949
3314
  }
5950
3315
 
5951
3316
  type __PublicMethodMetaInfo$2<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -6184,53 +3549,29 @@ interface AllowOneTimePurchasesRequest$1 {
6184
3549
  }
6185
3550
  interface AllowOneTimePurchasesResponse$1 {
6186
3551
  }
3552
+ interface SubscriptionSettingsNonNullableFields$1 {
3553
+ frequency: SubscriptionFrequency$1;
3554
+ autoRenewal: boolean;
3555
+ }
3556
+ interface DiscountNonNullableFields$1 {
3557
+ type: DiscountType$1;
3558
+ value: number;
3559
+ }
3560
+ interface SubscriptionOptionNonNullableFields$1 {
3561
+ subscriptionSettings?: SubscriptionSettingsNonNullableFields$1;
3562
+ discount?: DiscountNonNullableFields$1;
3563
+ }
6187
3564
  interface CreateSubscriptionOptionResponseNonNullableFields$1 {
6188
- subscriptionOption?: {
6189
- subscriptionSettings?: {
6190
- frequency: SubscriptionFrequency$1;
6191
- autoRenewal: boolean;
6192
- };
6193
- discount?: {
6194
- type: DiscountType$1;
6195
- value: number;
6196
- };
6197
- };
3565
+ subscriptionOption?: SubscriptionOptionNonNullableFields$1;
6198
3566
  }
6199
3567
  interface UpdateSubscriptionOptionResponseNonNullableFields$1 {
6200
- subscriptionOption?: {
6201
- subscriptionSettings?: {
6202
- frequency: SubscriptionFrequency$1;
6203
- autoRenewal: boolean;
6204
- };
6205
- discount?: {
6206
- type: DiscountType$1;
6207
- value: number;
6208
- };
6209
- };
3568
+ subscriptionOption?: SubscriptionOptionNonNullableFields$1;
6210
3569
  }
6211
3570
  interface BulkCreateSubscriptionOptionsResponseNonNullableFields$1 {
6212
- subscriptionOptions: {
6213
- subscriptionSettings?: {
6214
- frequency: SubscriptionFrequency$1;
6215
- autoRenewal: boolean;
6216
- };
6217
- discount?: {
6218
- type: DiscountType$1;
6219
- value: number;
6220
- };
6221
- }[];
3571
+ subscriptionOptions: SubscriptionOptionNonNullableFields$1[];
6222
3572
  }
6223
3573
  interface BulkUpdateSubscriptionOptionsResponseNonNullableFields$1 {
6224
- subscriptionOptions: {
6225
- subscriptionSettings?: {
6226
- frequency: SubscriptionFrequency$1;
6227
- autoRenewal: boolean;
6228
- };
6229
- discount?: {
6230
- type: DiscountType$1;
6231
- value: number;
6232
- };
6233
- }[];
3574
+ subscriptionOptions: SubscriptionOptionNonNullableFields$1[];
6234
3575
  }
6235
3576
 
6236
3577
  interface SubscriptionOption {
@@ -6362,53 +3703,29 @@ interface AllowOneTimePurchasesRequest {
6362
3703
  }
6363
3704
  interface AllowOneTimePurchasesResponse {
6364
3705
  }
3706
+ interface SubscriptionSettingsNonNullableFields {
3707
+ frequency: SubscriptionFrequency;
3708
+ autoRenewal: boolean;
3709
+ }
3710
+ interface DiscountNonNullableFields {
3711
+ type: DiscountType;
3712
+ value: number;
3713
+ }
3714
+ interface SubscriptionOptionNonNullableFields {
3715
+ subscriptionSettings?: SubscriptionSettingsNonNullableFields;
3716
+ discount?: DiscountNonNullableFields;
3717
+ }
6365
3718
  interface CreateSubscriptionOptionResponseNonNullableFields {
6366
- subscriptionOption?: {
6367
- subscriptionSettings?: {
6368
- frequency: SubscriptionFrequency;
6369
- autoRenewal: boolean;
6370
- };
6371
- discount?: {
6372
- type: DiscountType;
6373
- value: number;
6374
- };
6375
- };
3719
+ subscriptionOption?: SubscriptionOptionNonNullableFields;
6376
3720
  }
6377
3721
  interface UpdateSubscriptionOptionResponseNonNullableFields {
6378
- subscriptionOption?: {
6379
- subscriptionSettings?: {
6380
- frequency: SubscriptionFrequency;
6381
- autoRenewal: boolean;
6382
- };
6383
- discount?: {
6384
- type: DiscountType;
6385
- value: number;
6386
- };
6387
- };
3722
+ subscriptionOption?: SubscriptionOptionNonNullableFields;
6388
3723
  }
6389
3724
  interface BulkCreateSubscriptionOptionsResponseNonNullableFields {
6390
- subscriptionOptions: {
6391
- subscriptionSettings?: {
6392
- frequency: SubscriptionFrequency;
6393
- autoRenewal: boolean;
6394
- };
6395
- discount?: {
6396
- type: DiscountType;
6397
- value: number;
6398
- };
6399
- }[];
3725
+ subscriptionOptions: SubscriptionOptionNonNullableFields[];
6400
3726
  }
6401
3727
  interface BulkUpdateSubscriptionOptionsResponseNonNullableFields {
6402
- subscriptionOptions: {
6403
- subscriptionSettings?: {
6404
- frequency: SubscriptionFrequency;
6405
- autoRenewal: boolean;
6406
- };
6407
- discount?: {
6408
- type: DiscountType;
6409
- value: number;
6410
- };
6411
- }[];
3728
+ subscriptionOptions: SubscriptionOptionNonNullableFields[];
6412
3729
  }
6413
3730
 
6414
3731
  type __PublicMethodMetaInfo$1<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
@@ -6638,33 +3955,28 @@ interface IncrementDataIdOneOf$1 {
6638
3955
  }
6639
3956
  interface IncrementInventoryResponse$1 {
6640
3957
  }
3958
+ interface InventoryVariantV2NonNullableFields$1 {
3959
+ variantId: string;
3960
+ availableForPreorder: boolean;
3961
+ }
3962
+ interface PreorderInfoNonNullableFields$1 {
3963
+ enabled: boolean;
3964
+ }
3965
+ interface InventoryItemV2NonNullableFields$1 {
3966
+ variants: InventoryVariantV2NonNullableFields$1[];
3967
+ numericId: string;
3968
+ preorderInfo?: PreorderInfoNonNullableFields$1;
3969
+ }
6641
3970
  interface GetInventoryVariantsResponseNonNullableFields$1 {
6642
- inventoryItem?: {
6643
- variants: {
6644
- variantId: string;
6645
- availableForPreorder: boolean;
6646
- }[];
6647
- numericId: string;
6648
- preorderInfo?: {
6649
- enabled: boolean;
6650
- };
6651
- };
3971
+ inventoryItem?: InventoryItemV2NonNullableFields$1;
3972
+ }
3973
+ interface PagingMetadataNonNullableFields$1 {
3974
+ items: number;
3975
+ offset: number;
6652
3976
  }
6653
3977
  interface QueryInventoryResponseNonNullableFields$1 {
6654
- inventoryItems: {
6655
- variants: {
6656
- variantId: string;
6657
- availableForPreorder: boolean;
6658
- }[];
6659
- numericId: string;
6660
- preorderInfo?: {
6661
- enabled: boolean;
6662
- };
6663
- }[];
6664
- metadata?: {
6665
- items: number;
6666
- offset: number;
6667
- };
3978
+ inventoryItems: InventoryItemV2NonNullableFields$1[];
3979
+ metadata?: PagingMetadataNonNullableFields$1;
6668
3980
  totalResults: number;
6669
3981
  }
6670
3982
 
@@ -6865,33 +4177,28 @@ interface IncrementDataIdOneOf {
6865
4177
  }
6866
4178
  interface IncrementInventoryResponse {
6867
4179
  }
4180
+ interface InventoryVariantV2NonNullableFields {
4181
+ variantId: string;
4182
+ availableForPreorder: boolean;
4183
+ }
4184
+ interface PreorderInfoNonNullableFields {
4185
+ enabled: boolean;
4186
+ }
4187
+ interface InventoryItemV2NonNullableFields {
4188
+ variants: InventoryVariantV2NonNullableFields[];
4189
+ numericId: string;
4190
+ preorderInfo?: PreorderInfoNonNullableFields;
4191
+ }
6868
4192
  interface GetInventoryVariantsResponseNonNullableFields {
6869
- inventoryItem?: {
6870
- variants: {
6871
- variantId: string;
6872
- availableForPreorder: boolean;
6873
- }[];
6874
- numericId: string;
6875
- preorderInfo?: {
6876
- enabled: boolean;
6877
- };
6878
- };
4193
+ inventoryItem?: InventoryItemV2NonNullableFields;
4194
+ }
4195
+ interface PagingMetadataNonNullableFields {
4196
+ items: number;
4197
+ offset: number;
6879
4198
  }
6880
4199
  interface QueryInventoryResponseNonNullableFields {
6881
- inventoryItems: {
6882
- variants: {
6883
- variantId: string;
6884
- availableForPreorder: boolean;
6885
- }[];
6886
- numericId: string;
6887
- preorderInfo?: {
6888
- enabled: boolean;
6889
- };
6890
- }[];
6891
- metadata?: {
6892
- items: number;
6893
- offset: number;
6894
- };
4200
+ inventoryItems: InventoryItemV2NonNullableFields[];
4201
+ metadata?: PagingMetadataNonNullableFields;
6895
4202
  totalResults: number;
6896
4203
  }
6897
4204