@wix/stores 1.0.14 → 1.0.15

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.
@@ -1,10 +1,10 @@
1
1
  export interface Collection {
2
2
  /**
3
- * Collection ID (generated automatically by the catalog)
3
+ * Collection ID (generated automatically by the catalog).
4
4
  * @readonly
5
5
  */
6
6
  id?: string | null;
7
- /** Collection name */
7
+ /** Collection name. */
8
8
  name?: string | null;
9
9
  /**
10
10
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -16,11 +16,11 @@ export interface Collection {
16
16
  * @readonly
17
17
  */
18
18
  numberOfProducts?: number;
19
- /** Collection description */
19
+ /** Collection description. */
20
20
  description?: string | null;
21
- /** Collection slug */
21
+ /** Collection slug. */
22
22
  slug?: string | null;
23
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
23
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
24
24
  visible?: boolean | null;
25
25
  }
26
26
  export interface Media {
@@ -6,11 +6,11 @@ export declare const __debug: {
6
6
  };
7
7
  export interface Collection {
8
8
  /**
9
- * Collection ID (generated automatically by the catalog)
9
+ * Collection ID (generated automatically by the catalog).
10
10
  * @readonly
11
11
  */
12
12
  _id?: string | null;
13
- /** Collection name */
13
+ /** Collection name. */
14
14
  name?: string | null;
15
15
  /**
16
16
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -22,11 +22,11 @@ export interface Collection {
22
22
  * @readonly
23
23
  */
24
24
  numberOfProducts?: number;
25
- /** Collection description */
25
+ /** Collection description. */
26
26
  description?: string | null;
27
- /** Collection slug */
27
+ /** Collection slug. */
28
28
  slug?: string | null;
29
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
29
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
30
30
  visible?: boolean | null;
31
31
  }
32
32
  export interface Media {
@@ -631,16 +631,16 @@ export interface BulkRemoveCustomFieldsRequest {
631
631
  export interface BulkRemoveCustomFieldsResponse {
632
632
  }
633
633
  export interface CreateCollectionRequest {
634
- /** Collection information. */
634
+ /** Collection info. */
635
635
  collection: Collection;
636
636
  }
637
637
  export interface Collection {
638
638
  /**
639
- * Collection ID (generated automatically by the catalog)
639
+ * Collection ID (generated automatically by the catalog).
640
640
  * @readonly
641
641
  */
642
642
  _id?: string | null;
643
- /** Collection name */
643
+ /** Collection name. */
644
644
  name?: string | null;
645
645
  /**
646
646
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -652,25 +652,27 @@ export interface Collection {
652
652
  * @readonly
653
653
  */
654
654
  numberOfProducts?: number;
655
- /** Collection description */
655
+ /** Collection description. */
656
656
  description?: string | null;
657
- /** Collection slug */
657
+ /** Collection slug. */
658
658
  slug?: string | null;
659
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
659
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
660
660
  visible?: boolean | null;
661
661
  }
662
662
  export interface CreateCollectionResponse {
663
+ /** Collection. */
663
664
  collection?: Collection;
664
665
  }
665
666
  export interface UpdateCollectionRequest {
666
- /** Collection information. */
667
+ /** Collection info. */
667
668
  collection: Collection;
668
669
  }
669
670
  export interface UpdateCollectionResponse {
671
+ /** Updated collection. */
670
672
  collection?: Collection;
671
673
  }
672
674
  export interface DeleteCollectionRequest {
673
- /** Collection ID. */
675
+ /** ID of the collection to delete. */
674
676
  _id: string;
675
677
  }
676
678
  export interface DeleteCollectionResponse {
@@ -1116,10 +1118,11 @@ export interface GetCollectionResponse {
1116
1118
  collection?: Collection;
1117
1119
  }
1118
1120
  export interface GetCollectionBySlugRequest {
1119
- /** Slug with which to retrieve collection */
1121
+ /** Slug of the collection to retrieve. */
1120
1122
  slug?: string;
1121
1123
  }
1122
1124
  export interface GetCollectionBySlugResponse {
1125
+ /** The requested collection. */
1123
1126
  collection?: Collection;
1124
1127
  }
1125
1128
  export interface ProductOptionsAvailabilityRequest {
@@ -1213,7 +1216,7 @@ export interface StoreVariant {
1213
1216
  * @readonly
1214
1217
  */
1215
1218
  media?: PlatformMedia;
1216
- /** preorder information. */
1219
+ /** Preorder information. */
1217
1220
  preorderInfo?: PreorderInfo;
1218
1221
  }
1219
1222
  export interface PlatformMedia extends PlatformMediaMediaOneOf {
@@ -1236,9 +1239,9 @@ export interface VideoResolution {
1236
1239
  format?: string;
1237
1240
  }
1238
1241
  export interface PreorderInfo {
1239
- /** Whether the item is set to allow preordering. */
1242
+ /** Whether the item is available for preorder. */
1240
1243
  enabled?: boolean;
1241
- /** A message that buyer will see when the item is out of stock and preorder enabled */
1244
+ /** A message the buyer will see when the item is out of stock and preorder is enabled. */
1242
1245
  message?: string | null;
1243
1246
  /** Number of products that can be preordered after stock reaches zero. */
1244
1247
  limit?: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"stores-catalog-v1-product-products.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product-products.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,sGAAwF;AACxF,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAgI5B,IAAY,WAIX;AAJD,WAAY,WAAW;IAC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kB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACvB,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;QAEpD,MAAM,OAAO,GAAG,mCAAmC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,sCAAsC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAElE,IAAI;YACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAEnD,OAAO,QAAQ,CAAC,IAAI,CAAQ,CAAC;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;gBACL,SAAS;aACV,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA;AAnDD,gCAmDC"}
1
+ {"version":3,"file":"stores-catalog-v1-product-products.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product-products.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,sGAAwF;AACxF,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QA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EAAE;gBACT,cAAc,EAAE,eAAe;aAChC;YACD,oBAAoB,EAAE,qBAAqB;SAC5C,CAAC,CAAC;QAEH,MAAM,EAAE,QAAQ,EAAE,GAAG,iBAAU,CAAC;YAC9B,UAAU,EAAE,mBAAmB;YAC/B,UAAU,EAAE,EAAE;YACd,kBAAkB,EAAE;gBAClB,KAAK,EAAE,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACvB,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;QAEpD,MAAM,OAAO,GAAG,mCAAmC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,sCAAsC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAElE,IAAI;YACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAEnD,OAAO,QAAQ,CAAC,IAAI,CAAQ,CAAC;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,qBAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;gBACL,SAAS;aACV,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA;AAnDD,gCAmDC"}
@@ -625,16 +625,16 @@ export interface BulkRemoveCustomFieldsRequest {
625
625
  export interface BulkRemoveCustomFieldsResponse {
626
626
  }
627
627
  export interface CreateCollectionRequest {
628
- /** Collection information. */
628
+ /** Collection info. */
629
629
  collection: Collection;
630
630
  }
631
631
  export interface Collection {
632
632
  /**
633
- * Collection ID (generated automatically by the catalog)
633
+ * Collection ID (generated automatically by the catalog).
634
634
  * @readonly
635
635
  */
636
636
  id?: string | null;
637
- /** Collection name */
637
+ /** Collection name. */
638
638
  name?: string | null;
639
639
  /**
640
640
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -646,25 +646,27 @@ export interface Collection {
646
646
  * @readonly
647
647
  */
648
648
  numberOfProducts?: number;
649
- /** Collection description */
649
+ /** Collection description. */
650
650
  description?: string | null;
651
- /** Collection slug */
651
+ /** Collection slug. */
652
652
  slug?: string | null;
653
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
653
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
654
654
  visible?: boolean | null;
655
655
  }
656
656
  export interface CreateCollectionResponse {
657
+ /** Collection. */
657
658
  collection?: Collection;
658
659
  }
659
660
  export interface UpdateCollectionRequest {
660
- /** Collection information. */
661
+ /** Collection info. */
661
662
  collection: Collection;
662
663
  }
663
664
  export interface UpdateCollectionResponse {
665
+ /** Updated collection. */
664
666
  collection?: Collection;
665
667
  }
666
668
  export interface DeleteCollectionRequest {
667
- /** Collection ID. */
669
+ /** ID of the collection to delete. */
668
670
  id: string;
669
671
  }
670
672
  export interface DeleteCollectionResponse {
@@ -1110,10 +1112,11 @@ export interface GetCollectionResponse {
1110
1112
  collection?: Collection;
1111
1113
  }
1112
1114
  export interface GetCollectionBySlugRequest {
1113
- /** Slug with which to retrieve collection */
1115
+ /** Slug of the collection to retrieve. */
1114
1116
  slug?: string;
1115
1117
  }
1116
1118
  export interface GetCollectionBySlugResponse {
1119
+ /** The requested collection. */
1117
1120
  collection?: Collection;
1118
1121
  }
1119
1122
  export interface ProductOptionsAvailabilityRequest {
@@ -1207,7 +1210,7 @@ export interface StoreVariant {
1207
1210
  * @readonly
1208
1211
  */
1209
1212
  media?: PlatformMedia;
1210
- /** preorder information. */
1213
+ /** Preorder information. */
1211
1214
  preorderInfo?: PreorderInfo;
1212
1215
  }
1213
1216
  export interface PlatformMedia extends PlatformMediaMediaOneOf {
@@ -1267,9 +1270,9 @@ export interface VideoResolution {
1267
1270
  format?: string;
1268
1271
  }
1269
1272
  export interface PreorderInfo {
1270
- /** Whether the item is set to allow preordering. */
1273
+ /** Whether the item is available for preorder. */
1271
1274
  enabled?: boolean;
1272
- /** A message that buyer will see when the item is out of stock and preorder enabled */
1275
+ /** A message the buyer will see when the item is out of stock and preorder is enabled. */
1273
1276
  message?: string | null;
1274
1277
  /** Number of products that can be preordered after stock reaches zero. */
1275
1278
  limit?: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"stores-catalog-v1-product.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.types.ts"],"names":[],"mappings":";;;AA8HA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA4BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AA4ED,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;AACf,CAAC,EAvBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuB1B;AAyDD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB;AA8BD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAsCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AAyrBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
1
+ {"version":3,"file":"stores-catalog-v1-product.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.types.ts"],"names":[],"mappings":";;;AA8HA,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAItB;AA4BD,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAI1B;AA4ED,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;AACf,CAAC,EAvBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAuB1B;AAyDD,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB;AA8BD,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAIrB;AAsCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AA2rBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
@@ -1,10 +1,10 @@
1
1
  export interface Collection {
2
2
  /**
3
- * Collection ID (generated automatically by the catalog)
3
+ * Collection ID (generated automatically by the catalog).
4
4
  * @readonly
5
5
  */
6
6
  id?: string | null;
7
- /** Collection name */
7
+ /** Collection name. */
8
8
  name?: string | null;
9
9
  /**
10
10
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -16,11 +16,11 @@ export interface Collection {
16
16
  * @readonly
17
17
  */
18
18
  numberOfProducts?: number;
19
- /** Collection description */
19
+ /** Collection description. */
20
20
  description?: string | null;
21
- /** Collection slug */
21
+ /** Collection slug. */
22
22
  slug?: string | null;
23
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
23
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
24
24
  visible?: boolean | null;
25
25
  }
26
26
  export interface Media {
@@ -6,11 +6,11 @@ export declare const __debug: {
6
6
  };
7
7
  export interface Collection {
8
8
  /**
9
- * Collection ID (generated automatically by the catalog)
9
+ * Collection ID (generated automatically by the catalog).
10
10
  * @readonly
11
11
  */
12
12
  _id?: string | null;
13
- /** Collection name */
13
+ /** Collection name. */
14
14
  name?: string | null;
15
15
  /**
16
16
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -22,11 +22,11 @@ export interface Collection {
22
22
  * @readonly
23
23
  */
24
24
  numberOfProducts?: number;
25
- /** Collection description */
25
+ /** Collection description. */
26
26
  description?: string | null;
27
- /** Collection slug */
27
+ /** Collection slug. */
28
28
  slug?: string | null;
29
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
29
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
30
30
  visible?: boolean | null;
31
31
  }
32
32
  export interface Media {
@@ -631,16 +631,16 @@ export interface BulkRemoveCustomFieldsRequest {
631
631
  export interface BulkRemoveCustomFieldsResponse {
632
632
  }
633
633
  export interface CreateCollectionRequest {
634
- /** Collection information. */
634
+ /** Collection info. */
635
635
  collection: Collection;
636
636
  }
637
637
  export interface Collection {
638
638
  /**
639
- * Collection ID (generated automatically by the catalog)
639
+ * Collection ID (generated automatically by the catalog).
640
640
  * @readonly
641
641
  */
642
642
  _id?: string | null;
643
- /** Collection name */
643
+ /** Collection name. */
644
644
  name?: string | null;
645
645
  /**
646
646
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -652,25 +652,27 @@ export interface Collection {
652
652
  * @readonly
653
653
  */
654
654
  numberOfProducts?: number;
655
- /** Collection description */
655
+ /** Collection description. */
656
656
  description?: string | null;
657
- /** Collection slug */
657
+ /** Collection slug. */
658
658
  slug?: string | null;
659
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
659
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
660
660
  visible?: boolean | null;
661
661
  }
662
662
  export interface CreateCollectionResponse {
663
+ /** Collection. */
663
664
  collection?: Collection;
664
665
  }
665
666
  export interface UpdateCollectionRequest {
666
- /** Collection information. */
667
+ /** Collection info. */
667
668
  collection: Collection;
668
669
  }
669
670
  export interface UpdateCollectionResponse {
671
+ /** Updated collection. */
670
672
  collection?: Collection;
671
673
  }
672
674
  export interface DeleteCollectionRequest {
673
- /** Collection ID. */
675
+ /** ID of the collection to delete. */
674
676
  _id: string;
675
677
  }
676
678
  export interface DeleteCollectionResponse {
@@ -1116,10 +1118,11 @@ export interface GetCollectionResponse {
1116
1118
  collection?: Collection;
1117
1119
  }
1118
1120
  export interface GetCollectionBySlugRequest {
1119
- /** Slug with which to retrieve collection */
1121
+ /** Slug of the collection to retrieve. */
1120
1122
  slug?: string;
1121
1123
  }
1122
1124
  export interface GetCollectionBySlugResponse {
1125
+ /** The requested collection. */
1123
1126
  collection?: Collection;
1124
1127
  }
1125
1128
  export interface ProductOptionsAvailabilityRequest {
@@ -1213,7 +1216,7 @@ export interface StoreVariant {
1213
1216
  * @readonly
1214
1217
  */
1215
1218
  media?: PlatformMedia;
1216
- /** preorder information. */
1219
+ /** Preorder information. */
1217
1220
  preorderInfo?: PreorderInfo;
1218
1221
  }
1219
1222
  export interface PlatformMedia extends PlatformMediaMediaOneOf {
@@ -1236,9 +1239,9 @@ export interface VideoResolution {
1236
1239
  format?: string;
1237
1240
  }
1238
1241
  export interface PreorderInfo {
1239
- /** Whether the item is set to allow preordering. */
1242
+ /** Whether the item is available for preorder. */
1240
1243
  enabled?: boolean;
1241
- /** A message that buyer will see when the item is out of stock and preorder enabled */
1244
+ /** A message the buyer will see when the item is out of stock and preorder is enabled. */
1242
1245
  message?: string | null;
1243
1246
  /** Number of products that can be preordered after stock reaches zero. */
1244
1247
  limit?: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"stores-catalog-v1-product-products.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product-products.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,mCAAmC,MAAM,kCAAkC,CAAC;AACxF,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAgI5B,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AA4BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,KAAf,eAAe,QA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C;QAExE,KAAK,CAAC,sCAAsC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAElE,IAAI;YACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAEnD,OAAO,QAAQ,CAAC,IAAI,CAAQ,CAAC;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;gBACL,SAAS;aACV,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA"}
1
+ {"version":3,"file":"stores-catalog-v1-product-products.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product-products.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,mCAAmC,MAAM,kCAAkC,CAAC;AACxF,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAgI5B,MAAM,CAAN,IAAY,WAIX;AAJD,W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,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;gBACvB,cAAc,EAAE,aAAa;aAC9B;YACD,oBAAoB,EAAE,sBAAsB;SAC7C,CAAC,CAAC;QAEH,MAAM,OAAO,GAAG,mBAAmB,CAAC,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;QAEpD,MAAM,OAAO,GAAG,mCAAmC,CAAC,UAAU,CAAC,OAAO,CAAC,CAAC;QAExE,KAAK,CAAC,sCAAsC,SAAS,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC;QAElE,IAAI;YACF,MAAM,EAAE,IAAI,EAAE,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YAEnD,OAAO,QAAQ,CAAC,IAAI,CAAQ,CAAC;SAC9B;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,KAAK;gBACL,SAAS;aACV,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA"}
@@ -625,16 +625,16 @@ export interface BulkRemoveCustomFieldsRequest {
625
625
  export interface BulkRemoveCustomFieldsResponse {
626
626
  }
627
627
  export interface CreateCollectionRequest {
628
- /** Collection information. */
628
+ /** Collection info. */
629
629
  collection: Collection;
630
630
  }
631
631
  export interface Collection {
632
632
  /**
633
- * Collection ID (generated automatically by the catalog)
633
+ * Collection ID (generated automatically by the catalog).
634
634
  * @readonly
635
635
  */
636
636
  id?: string | null;
637
- /** Collection name */
637
+ /** Collection name. */
638
638
  name?: string | null;
639
639
  /**
640
640
  * Media items (images, videos etc) associated with this collection. Read only.
@@ -646,25 +646,27 @@ export interface Collection {
646
646
  * @readonly
647
647
  */
648
648
  numberOfProducts?: number;
649
- /** Collection description */
649
+ /** Collection description. */
650
650
  description?: string | null;
651
- /** Collection slug */
651
+ /** Collection slug. */
652
652
  slug?: string | null;
653
- /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default is `true` */
653
+ /** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
654
654
  visible?: boolean | null;
655
655
  }
656
656
  export interface CreateCollectionResponse {
657
+ /** Collection. */
657
658
  collection?: Collection;
658
659
  }
659
660
  export interface UpdateCollectionRequest {
660
- /** Collection information. */
661
+ /** Collection info. */
661
662
  collection: Collection;
662
663
  }
663
664
  export interface UpdateCollectionResponse {
665
+ /** Updated collection. */
664
666
  collection?: Collection;
665
667
  }
666
668
  export interface DeleteCollectionRequest {
667
- /** Collection ID. */
669
+ /** ID of the collection to delete. */
668
670
  id: string;
669
671
  }
670
672
  export interface DeleteCollectionResponse {
@@ -1110,10 +1112,11 @@ export interface GetCollectionResponse {
1110
1112
  collection?: Collection;
1111
1113
  }
1112
1114
  export interface GetCollectionBySlugRequest {
1113
- /** Slug with which to retrieve collection */
1115
+ /** Slug of the collection to retrieve. */
1114
1116
  slug?: string;
1115
1117
  }
1116
1118
  export interface GetCollectionBySlugResponse {
1119
+ /** The requested collection. */
1117
1120
  collection?: Collection;
1118
1121
  }
1119
1122
  export interface ProductOptionsAvailabilityRequest {
@@ -1207,7 +1210,7 @@ export interface StoreVariant {
1207
1210
  * @readonly
1208
1211
  */
1209
1212
  media?: PlatformMedia;
1210
- /** preorder information. */
1213
+ /** Preorder information. */
1211
1214
  preorderInfo?: PreorderInfo;
1212
1215
  }
1213
1216
  export interface PlatformMedia extends PlatformMediaMediaOneOf {
@@ -1267,9 +1270,9 @@ export interface VideoResolution {
1267
1270
  format?: string;
1268
1271
  }
1269
1272
  export interface PreorderInfo {
1270
- /** Whether the item is set to allow preordering. */
1273
+ /** Whether the item is available for preorder. */
1271
1274
  enabled?: boolean;
1272
- /** A message that buyer will see when the item is out of stock and preorder enabled */
1275
+ /** A message the buyer will see when the item is out of stock and preorder is enabled. */
1273
1276
  message?: string | null;
1274
1277
  /** Number of products that can be preordered after stock reaches zero. */
1275
1278
  limit?: number | null;
@@ -1 +1 @@
1
- {"version":3,"file":"stores-catalog-v1-product.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.types.ts"],"names":[],"mappings":"AA8HA,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AA4BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AA4ED,MAAM,CAAN,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;AACf,CAAC,EAvBW,eAAe,KAAf,eAAe,QAuB1B;AAyDD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA8BD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAsCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAyrBD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
1
+ {"version":3,"file":"stores-catalog-v1-product.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-product.types.ts"],"names":[],"mappings":"AA8HA,MAAM,CAAN,IAAY,WAIX;AAJD,WAAY,WAAW;IACrB,oEAAqD,CAAA;IACrD,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAAC,EAJW,WAAW,KAAX,WAAW,QAItB;AA4BD,MAAM,CAAN,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,wCAAqB,CAAA;IACrB,gDAA6B,CAAA;IAC7B,oEAAiD,CAAA;AACnD,CAAC,EAJW,eAAe,KAAf,eAAe,QAI1B;AA4ED,MAAM,CAAN,IAAY,eAuBX;AAvBD,WAAY,eAAe;IACzB,8CAA2B,CAAA;IAC3B,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,0BAAO,CAAA;IACP,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;IACb,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,8BAAW,CAAA;IACX,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,4BAAS,CAAA;IACT,gCAAa,CAAA;AACf,CAAC,EAvBW,eAAe,KAAf,eAAe,QAuB1B;AAyDD,MAAM,CAAN,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,4EAA2D,CAAA;IAC3D,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,4BAAW,CAAA;AACb,CAAC,EAPW,aAAa,KAAb,aAAa,QAOxB;AA8BD,MAAM,CAAN,IAAY,UAIX;AAJD,WAAY,UAAU;IACpB,iEAAmD,CAAA;IACnD,qCAAuB,CAAA;IACvB,6BAAe,CAAA;AACjB,CAAC,EAJW,UAAU,KAAV,UAAU,QAIrB;AAsCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,kBAAkB;IAClB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AA2rBD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/stores",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/",
6
6
  "access": "public"
@@ -33,5 +33,5 @@
33
33
  "groupId": "com.wixpress.public-sdk-autogen"
34
34
  }
35
35
  },
36
- "falconPackageHash": "bb4aa844baedb0b3aae125ddfbd1c1643437d62807d3db4cdd865766"
36
+ "falconPackageHash": "88ec0979870a081ae2afbcfbaad4041d5e58523f20a215f35390d1c1"
37
37
  }