@wix/stores 1.0.13 → 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.
- package/build/cjs/src/stores-catalog-v1-collection.types.d.ts +5 -5
- package/build/cjs/src/stores-catalog-v1-collection.universal.d.ts +5 -5
- package/build/cjs/src/stores-catalog-v1-product-products.universal.d.ts +15 -14
- package/build/cjs/src/stores-catalog-v1-product-products.universal.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +15 -14
- package/build/cjs/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.types.d.ts +5 -5
- package/build/es/src/stores-catalog-v1-collection.universal.d.ts +5 -5
- package/build/es/src/stores-catalog-v1-product-products.universal.d.ts +15 -14
- package/build/es/src/stores-catalog-v1-product-products.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +15 -14
- package/build/es/src/stores-catalog-v1-product.types.js.map +1 -1
- package/package.json +2 -2
|
@@ -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 */
|
|
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 */
|
|
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
|
|
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 */
|
|
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
|
|
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
|
-
/**
|
|
675
|
+
/** ID of the collection to delete. */
|
|
674
676
|
_id: string;
|
|
675
677
|
}
|
|
676
678
|
export interface DeleteCollectionResponse {
|
|
@@ -1111,17 +1113,16 @@ export interface GetCollectionRequest {
|
|
|
1111
1113
|
* Defaults to false, in which case the value of `collection.numberOfProducts` will be 0.
|
|
1112
1114
|
*/
|
|
1113
1115
|
includeNumberOfProducts?: boolean;
|
|
1114
|
-
/** Include description in response. When False, description will be null */
|
|
1115
|
-
includeDescription?: boolean;
|
|
1116
1116
|
}
|
|
1117
1117
|
export interface GetCollectionResponse {
|
|
1118
1118
|
collection?: Collection;
|
|
1119
1119
|
}
|
|
1120
1120
|
export interface GetCollectionBySlugRequest {
|
|
1121
|
-
/** Slug
|
|
1121
|
+
/** Slug of the collection to retrieve. */
|
|
1122
1122
|
slug?: string;
|
|
1123
1123
|
}
|
|
1124
1124
|
export interface GetCollectionBySlugResponse {
|
|
1125
|
+
/** The requested collection. */
|
|
1125
1126
|
collection?: Collection;
|
|
1126
1127
|
}
|
|
1127
1128
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1215,7 +1216,7 @@ export interface StoreVariant {
|
|
|
1215
1216
|
* @readonly
|
|
1216
1217
|
*/
|
|
1217
1218
|
media?: PlatformMedia;
|
|
1218
|
-
/**
|
|
1219
|
+
/** Preorder information. */
|
|
1219
1220
|
preorderInfo?: PreorderInfo;
|
|
1220
1221
|
}
|
|
1221
1222
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1238,9 +1239,9 @@ export interface VideoResolution {
|
|
|
1238
1239
|
format?: string;
|
|
1239
1240
|
}
|
|
1240
1241
|
export interface PreorderInfo {
|
|
1241
|
-
/** Whether the item is
|
|
1242
|
+
/** Whether the item is available for preorder. */
|
|
1242
1243
|
enabled?: boolean;
|
|
1243
|
-
/** A message
|
|
1244
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1244
1245
|
message?: string | null;
|
|
1245
1246
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1246
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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Ae,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;
|
|
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;IACrB,oEAAqD,CAAA;IACrD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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
|
|
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 */
|
|
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
|
|
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
|
-
/**
|
|
669
|
+
/** ID of the collection to delete. */
|
|
668
670
|
id: string;
|
|
669
671
|
}
|
|
670
672
|
export interface DeleteCollectionResponse {
|
|
@@ -1105,17 +1107,16 @@ export interface GetCollectionRequest {
|
|
|
1105
1107
|
* Defaults to false, in which case the value of `collection.numberOfProducts` will be 0.
|
|
1106
1108
|
*/
|
|
1107
1109
|
includeNumberOfProducts?: boolean;
|
|
1108
|
-
/** Include description in response. When False, description will be null */
|
|
1109
|
-
includeDescription?: boolean;
|
|
1110
1110
|
}
|
|
1111
1111
|
export interface GetCollectionResponse {
|
|
1112
1112
|
collection?: Collection;
|
|
1113
1113
|
}
|
|
1114
1114
|
export interface GetCollectionBySlugRequest {
|
|
1115
|
-
/** Slug
|
|
1115
|
+
/** Slug of the collection to retrieve. */
|
|
1116
1116
|
slug?: string;
|
|
1117
1117
|
}
|
|
1118
1118
|
export interface GetCollectionBySlugResponse {
|
|
1119
|
+
/** The requested collection. */
|
|
1119
1120
|
collection?: Collection;
|
|
1120
1121
|
}
|
|
1121
1122
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1209,7 +1210,7 @@ export interface StoreVariant {
|
|
|
1209
1210
|
* @readonly
|
|
1210
1211
|
*/
|
|
1211
1212
|
media?: PlatformMedia;
|
|
1212
|
-
/**
|
|
1213
|
+
/** Preorder information. */
|
|
1213
1214
|
preorderInfo?: PreorderInfo;
|
|
1214
1215
|
}
|
|
1215
1216
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1269,9 +1270,9 @@ export interface VideoResolution {
|
|
|
1269
1270
|
format?: string;
|
|
1270
1271
|
}
|
|
1271
1272
|
export interface PreorderInfo {
|
|
1272
|
-
/** Whether the item is
|
|
1273
|
+
/** Whether the item is available for preorder. */
|
|
1273
1274
|
enabled?: boolean;
|
|
1274
|
-
/** A message
|
|
1275
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1275
1276
|
message?: string | null;
|
|
1276
1277
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1277
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;
|
|
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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;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 */
|
|
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 */
|
|
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
|
|
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 */
|
|
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
|
|
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
|
-
/**
|
|
675
|
+
/** ID of the collection to delete. */
|
|
674
676
|
_id: string;
|
|
675
677
|
}
|
|
676
678
|
export interface DeleteCollectionResponse {
|
|
@@ -1111,17 +1113,16 @@ export interface GetCollectionRequest {
|
|
|
1111
1113
|
* Defaults to false, in which case the value of `collection.numberOfProducts` will be 0.
|
|
1112
1114
|
*/
|
|
1113
1115
|
includeNumberOfProducts?: boolean;
|
|
1114
|
-
/** Include description in response. When False, description will be null */
|
|
1115
|
-
includeDescription?: boolean;
|
|
1116
1116
|
}
|
|
1117
1117
|
export interface GetCollectionResponse {
|
|
1118
1118
|
collection?: Collection;
|
|
1119
1119
|
}
|
|
1120
1120
|
export interface GetCollectionBySlugRequest {
|
|
1121
|
-
/** Slug
|
|
1121
|
+
/** Slug of the collection to retrieve. */
|
|
1122
1122
|
slug?: string;
|
|
1123
1123
|
}
|
|
1124
1124
|
export interface GetCollectionBySlugResponse {
|
|
1125
|
+
/** The requested collection. */
|
|
1125
1126
|
collection?: Collection;
|
|
1126
1127
|
}
|
|
1127
1128
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1215,7 +1216,7 @@ export interface StoreVariant {
|
|
|
1215
1216
|
* @readonly
|
|
1216
1217
|
*/
|
|
1217
1218
|
media?: PlatformMedia;
|
|
1218
|
-
/**
|
|
1219
|
+
/** Preorder information. */
|
|
1219
1220
|
preorderInfo?: PreorderInfo;
|
|
1220
1221
|
}
|
|
1221
1222
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1238,9 +1239,9 @@ export interface VideoResolution {
|
|
|
1238
1239
|
format?: string;
|
|
1239
1240
|
}
|
|
1240
1241
|
export interface PreorderInfo {
|
|
1241
|
-
/** Whether the item is
|
|
1242
|
+
/** Whether the item is available for preorder. */
|
|
1242
1243
|
enabled?: boolean;
|
|
1243
|
-
/** A message
|
|
1244
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1244
1245
|
message?: string | null;
|
|
1245
1246
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1246
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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,CAAA;IACjB,mCAAmB,CAAA;AACrB,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;
|
|
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,QAI1B;AA4ED,MAAM,CAAN,IAAY,eAuBX;AAvBD,WAAY,eAAe;IAC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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
|
|
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 */
|
|
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
|
|
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
|
-
/**
|
|
669
|
+
/** ID of the collection to delete. */
|
|
668
670
|
id: string;
|
|
669
671
|
}
|
|
670
672
|
export interface DeleteCollectionResponse {
|
|
@@ -1105,17 +1107,16 @@ export interface GetCollectionRequest {
|
|
|
1105
1107
|
* Defaults to false, in which case the value of `collection.numberOfProducts` will be 0.
|
|
1106
1108
|
*/
|
|
1107
1109
|
includeNumberOfProducts?: boolean;
|
|
1108
|
-
/** Include description in response. When False, description will be null */
|
|
1109
|
-
includeDescription?: boolean;
|
|
1110
1110
|
}
|
|
1111
1111
|
export interface GetCollectionResponse {
|
|
1112
1112
|
collection?: Collection;
|
|
1113
1113
|
}
|
|
1114
1114
|
export interface GetCollectionBySlugRequest {
|
|
1115
|
-
/** Slug
|
|
1115
|
+
/** Slug of the collection to retrieve. */
|
|
1116
1116
|
slug?: string;
|
|
1117
1117
|
}
|
|
1118
1118
|
export interface GetCollectionBySlugResponse {
|
|
1119
|
+
/** The requested collection. */
|
|
1119
1120
|
collection?: Collection;
|
|
1120
1121
|
}
|
|
1121
1122
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1209,7 +1210,7 @@ export interface StoreVariant {
|
|
|
1209
1210
|
* @readonly
|
|
1210
1211
|
*/
|
|
1211
1212
|
media?: PlatformMedia;
|
|
1212
|
-
/**
|
|
1213
|
+
/** Preorder information. */
|
|
1213
1214
|
preorderInfo?: PreorderInfo;
|
|
1214
1215
|
}
|
|
1215
1216
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1269,9 +1270,9 @@ export interface VideoResolution {
|
|
|
1269
1270
|
format?: string;
|
|
1270
1271
|
}
|
|
1271
1272
|
export interface PreorderInfo {
|
|
1272
|
-
/** Whether the item is
|
|
1273
|
+
/** Whether the item is available for preorder. */
|
|
1273
1274
|
enabled?: boolean;
|
|
1274
|
-
/** A message
|
|
1275
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1275
1276
|
message?: string | null;
|
|
1276
1277
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1277
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;
|
|
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.
|
|
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": "
|
|
36
|
+
"falconPackageHash": "88ec0979870a081ae2afbcfbaad4041d5e58523f20a215f35390d1c1"
|
|
37
37
|
}
|