@wix/stores 1.0.14 → 1.0.16
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 +23 -10
- package/build/cjs/src/stores-catalog-v1-collection.types.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-collection.universal.d.ts +23 -10
- package/build/cjs/src/stores-catalog-v1-collection.universal.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product-products.universal.d.ts +33 -17
- 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 +33 -17
- package/build/cjs/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.types.d.ts +23 -10
- package/build/es/src/stores-catalog-v1-collection.types.js.map +1 -1
- package/build/es/src/stores-catalog-v1-collection.universal.d.ts +23 -10
- package/build/es/src/stores-catalog-v1-collection.universal.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product-products.universal.d.ts +33 -17
- 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 +33 -17
- 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. Default
|
|
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 {
|
|
@@ -88,13 +88,21 @@ export interface SeoSchema {
|
|
|
88
88
|
settings?: Settings;
|
|
89
89
|
}
|
|
90
90
|
export interface Tag {
|
|
91
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* SEO tag type.
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
96
|
+
*/
|
|
92
97
|
type?: string;
|
|
93
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
100
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
101
|
+
*/
|
|
94
102
|
props?: Record<string, any> | null;
|
|
95
|
-
/**
|
|
103
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
96
104
|
meta?: Record<string, any> | null;
|
|
97
|
-
/**
|
|
105
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
98
106
|
children?: string;
|
|
99
107
|
/** Whether the tag is a custom tag. */
|
|
100
108
|
custom?: boolean;
|
|
@@ -102,7 +110,12 @@ export interface Tag {
|
|
|
102
110
|
disabled?: boolean;
|
|
103
111
|
}
|
|
104
112
|
export interface Settings {
|
|
105
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* Default: enabled
|
|
118
|
+
*/
|
|
106
119
|
preventAutoRedirect?: boolean;
|
|
107
120
|
}
|
|
108
121
|
export interface QueryCollectionsRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-collection.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.types.ts"],"names":[],"mappings":";;;AAqEA,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;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-collection.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.types.ts"],"names":[],"mappings":";;;AAqEA,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;AAoFD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -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
|
|
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 {
|
|
@@ -94,13 +94,21 @@ export interface SeoSchema {
|
|
|
94
94
|
settings?: Settings;
|
|
95
95
|
}
|
|
96
96
|
export interface Tag {
|
|
97
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* SEO tag type.
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
102
|
+
*/
|
|
98
103
|
type?: string;
|
|
99
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
106
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
107
|
+
*/
|
|
100
108
|
props?: Record<string, any> | null;
|
|
101
|
-
/**
|
|
109
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
102
110
|
meta?: Record<string, any> | null;
|
|
103
|
-
/**
|
|
111
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
104
112
|
children?: string;
|
|
105
113
|
/** Whether the tag is a custom tag. */
|
|
106
114
|
custom?: boolean;
|
|
@@ -108,7 +116,12 @@ export interface Tag {
|
|
|
108
116
|
disabled?: boolean;
|
|
109
117
|
}
|
|
110
118
|
export interface Settings {
|
|
111
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* Default: enabled
|
|
124
|
+
*/
|
|
112
125
|
preventAutoRedirect?: boolean;
|
|
113
126
|
}
|
|
114
127
|
export interface QueryCollectionsRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-collection.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,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;AAuE5B,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;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-collection.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E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,sCA4CC"}
|
|
@@ -433,13 +433,21 @@ export interface SeoSchema {
|
|
|
433
433
|
settings?: Settings;
|
|
434
434
|
}
|
|
435
435
|
export interface Tag {
|
|
436
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* SEO tag type.
|
|
438
|
+
*
|
|
439
|
+
*
|
|
440
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
441
|
+
*/
|
|
437
442
|
type?: string;
|
|
438
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
445
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
446
|
+
*/
|
|
439
447
|
props?: Record<string, any> | null;
|
|
440
|
-
/**
|
|
448
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
441
449
|
meta?: Record<string, any> | null;
|
|
442
|
-
/**
|
|
450
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
443
451
|
children?: string;
|
|
444
452
|
/** Whether the tag is a custom tag. */
|
|
445
453
|
custom?: boolean;
|
|
@@ -447,7 +455,12 @@ export interface Tag {
|
|
|
447
455
|
disabled?: boolean;
|
|
448
456
|
}
|
|
449
457
|
export interface Settings {
|
|
450
|
-
/**
|
|
458
|
+
/**
|
|
459
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
460
|
+
*
|
|
461
|
+
*
|
|
462
|
+
* Default: enabled
|
|
463
|
+
*/
|
|
451
464
|
preventAutoRedirect?: boolean;
|
|
452
465
|
}
|
|
453
466
|
export interface CreateProductRequest {
|
|
@@ -631,16 +644,16 @@ export interface BulkRemoveCustomFieldsRequest {
|
|
|
631
644
|
export interface BulkRemoveCustomFieldsResponse {
|
|
632
645
|
}
|
|
633
646
|
export interface CreateCollectionRequest {
|
|
634
|
-
/** Collection
|
|
647
|
+
/** Collection info. */
|
|
635
648
|
collection: Collection;
|
|
636
649
|
}
|
|
637
650
|
export interface Collection {
|
|
638
651
|
/**
|
|
639
|
-
* Collection ID (generated automatically by the catalog)
|
|
652
|
+
* Collection ID (generated automatically by the catalog).
|
|
640
653
|
* @readonly
|
|
641
654
|
*/
|
|
642
655
|
_id?: string | null;
|
|
643
|
-
/** Collection name */
|
|
656
|
+
/** Collection name. */
|
|
644
657
|
name?: string | null;
|
|
645
658
|
/**
|
|
646
659
|
* Media items (images, videos etc) associated with this collection. Read only.
|
|
@@ -652,25 +665,27 @@ export interface Collection {
|
|
|
652
665
|
* @readonly
|
|
653
666
|
*/
|
|
654
667
|
numberOfProducts?: number;
|
|
655
|
-
/** Collection description */
|
|
668
|
+
/** Collection description. */
|
|
656
669
|
description?: string | null;
|
|
657
|
-
/** Collection slug */
|
|
670
|
+
/** Collection slug. */
|
|
658
671
|
slug?: string | null;
|
|
659
|
-
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default
|
|
672
|
+
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
|
|
660
673
|
visible?: boolean | null;
|
|
661
674
|
}
|
|
662
675
|
export interface CreateCollectionResponse {
|
|
676
|
+
/** Collection. */
|
|
663
677
|
collection?: Collection;
|
|
664
678
|
}
|
|
665
679
|
export interface UpdateCollectionRequest {
|
|
666
|
-
/** Collection
|
|
680
|
+
/** Collection info. */
|
|
667
681
|
collection: Collection;
|
|
668
682
|
}
|
|
669
683
|
export interface UpdateCollectionResponse {
|
|
684
|
+
/** Updated collection. */
|
|
670
685
|
collection?: Collection;
|
|
671
686
|
}
|
|
672
687
|
export interface DeleteCollectionRequest {
|
|
673
|
-
/**
|
|
688
|
+
/** ID of the collection to delete. */
|
|
674
689
|
_id: string;
|
|
675
690
|
}
|
|
676
691
|
export interface DeleteCollectionResponse {
|
|
@@ -1116,10 +1131,11 @@ export interface GetCollectionResponse {
|
|
|
1116
1131
|
collection?: Collection;
|
|
1117
1132
|
}
|
|
1118
1133
|
export interface GetCollectionBySlugRequest {
|
|
1119
|
-
/** Slug
|
|
1134
|
+
/** Slug of the collection to retrieve. */
|
|
1120
1135
|
slug?: string;
|
|
1121
1136
|
}
|
|
1122
1137
|
export interface GetCollectionBySlugResponse {
|
|
1138
|
+
/** The requested collection. */
|
|
1123
1139
|
collection?: Collection;
|
|
1124
1140
|
}
|
|
1125
1141
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1213,7 +1229,7 @@ export interface StoreVariant {
|
|
|
1213
1229
|
* @readonly
|
|
1214
1230
|
*/
|
|
1215
1231
|
media?: PlatformMedia;
|
|
1216
|
-
/**
|
|
1232
|
+
/** Preorder information. */
|
|
1217
1233
|
preorderInfo?: PreorderInfo;
|
|
1218
1234
|
}
|
|
1219
1235
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1236,9 +1252,9 @@ export interface VideoResolution {
|
|
|
1236
1252
|
format?: string;
|
|
1237
1253
|
}
|
|
1238
1254
|
export interface PreorderInfo {
|
|
1239
|
-
/** Whether the item is
|
|
1255
|
+
/** Whether the item is available for preorder. */
|
|
1240
1256
|
enabled?: boolean;
|
|
1241
|
-
/** A message
|
|
1257
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1242
1258
|
message?: string | null;
|
|
1243
1259
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1244
1260
|
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,GAA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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,oCAAqB,CAAA;IACrB,kCAAmB,CAAA;AACrB,CAA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vB,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"}
|
|
@@ -427,13 +427,21 @@ export interface SeoSchema {
|
|
|
427
427
|
settings?: Settings;
|
|
428
428
|
}
|
|
429
429
|
export interface Tag {
|
|
430
|
-
/**
|
|
430
|
+
/**
|
|
431
|
+
* SEO tag type.
|
|
432
|
+
*
|
|
433
|
+
*
|
|
434
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
435
|
+
*/
|
|
431
436
|
type?: string;
|
|
432
|
-
/**
|
|
437
|
+
/**
|
|
438
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
439
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
440
|
+
*/
|
|
433
441
|
props?: Record<string, any> | null;
|
|
434
|
-
/**
|
|
442
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
435
443
|
meta?: Record<string, any> | null;
|
|
436
|
-
/**
|
|
444
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
437
445
|
children?: string;
|
|
438
446
|
/** Whether the tag is a custom tag. */
|
|
439
447
|
custom?: boolean;
|
|
@@ -441,7 +449,12 @@ export interface Tag {
|
|
|
441
449
|
disabled?: boolean;
|
|
442
450
|
}
|
|
443
451
|
export interface Settings {
|
|
444
|
-
/**
|
|
452
|
+
/**
|
|
453
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
454
|
+
*
|
|
455
|
+
*
|
|
456
|
+
* Default: enabled
|
|
457
|
+
*/
|
|
445
458
|
preventAutoRedirect?: boolean;
|
|
446
459
|
}
|
|
447
460
|
export interface CreateProductRequest {
|
|
@@ -625,16 +638,16 @@ export interface BulkRemoveCustomFieldsRequest {
|
|
|
625
638
|
export interface BulkRemoveCustomFieldsResponse {
|
|
626
639
|
}
|
|
627
640
|
export interface CreateCollectionRequest {
|
|
628
|
-
/** Collection
|
|
641
|
+
/** Collection info. */
|
|
629
642
|
collection: Collection;
|
|
630
643
|
}
|
|
631
644
|
export interface Collection {
|
|
632
645
|
/**
|
|
633
|
-
* Collection ID (generated automatically by the catalog)
|
|
646
|
+
* Collection ID (generated automatically by the catalog).
|
|
634
647
|
* @readonly
|
|
635
648
|
*/
|
|
636
649
|
id?: string | null;
|
|
637
|
-
/** Collection name */
|
|
650
|
+
/** Collection name. */
|
|
638
651
|
name?: string | null;
|
|
639
652
|
/**
|
|
640
653
|
* Media items (images, videos etc) associated with this collection. Read only.
|
|
@@ -646,25 +659,27 @@ export interface Collection {
|
|
|
646
659
|
* @readonly
|
|
647
660
|
*/
|
|
648
661
|
numberOfProducts?: number;
|
|
649
|
-
/** Collection description */
|
|
662
|
+
/** Collection description. */
|
|
650
663
|
description?: string | null;
|
|
651
|
-
/** Collection slug */
|
|
664
|
+
/** Collection slug. */
|
|
652
665
|
slug?: string | null;
|
|
653
|
-
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default
|
|
666
|
+
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
|
|
654
667
|
visible?: boolean | null;
|
|
655
668
|
}
|
|
656
669
|
export interface CreateCollectionResponse {
|
|
670
|
+
/** Collection. */
|
|
657
671
|
collection?: Collection;
|
|
658
672
|
}
|
|
659
673
|
export interface UpdateCollectionRequest {
|
|
660
|
-
/** Collection
|
|
674
|
+
/** Collection info. */
|
|
661
675
|
collection: Collection;
|
|
662
676
|
}
|
|
663
677
|
export interface UpdateCollectionResponse {
|
|
678
|
+
/** Updated collection. */
|
|
664
679
|
collection?: Collection;
|
|
665
680
|
}
|
|
666
681
|
export interface DeleteCollectionRequest {
|
|
667
|
-
/**
|
|
682
|
+
/** ID of the collection to delete. */
|
|
668
683
|
id: string;
|
|
669
684
|
}
|
|
670
685
|
export interface DeleteCollectionResponse {
|
|
@@ -1110,10 +1125,11 @@ export interface GetCollectionResponse {
|
|
|
1110
1125
|
collection?: Collection;
|
|
1111
1126
|
}
|
|
1112
1127
|
export interface GetCollectionBySlugRequest {
|
|
1113
|
-
/** Slug
|
|
1128
|
+
/** Slug of the collection to retrieve. */
|
|
1114
1129
|
slug?: string;
|
|
1115
1130
|
}
|
|
1116
1131
|
export interface GetCollectionBySlugResponse {
|
|
1132
|
+
/** The requested collection. */
|
|
1117
1133
|
collection?: Collection;
|
|
1118
1134
|
}
|
|
1119
1135
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1207,7 +1223,7 @@ export interface StoreVariant {
|
|
|
1207
1223
|
* @readonly
|
|
1208
1224
|
*/
|
|
1209
1225
|
media?: PlatformMedia;
|
|
1210
|
-
/**
|
|
1226
|
+
/** Preorder information. */
|
|
1211
1227
|
preorderInfo?: PreorderInfo;
|
|
1212
1228
|
}
|
|
1213
1229
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1267,9 +1283,9 @@ export interface VideoResolution {
|
|
|
1267
1283
|
format?: string;
|
|
1268
1284
|
}
|
|
1269
1285
|
export interface PreorderInfo {
|
|
1270
|
-
/** Whether the item is
|
|
1286
|
+
/** Whether the item is available for preorder. */
|
|
1271
1287
|
enabled?: boolean;
|
|
1272
|
-
/** A message
|
|
1288
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1273
1289
|
message?: string | null;
|
|
1274
1290
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1275
1291
|
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;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;AAwsBD,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
|
|
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 {
|
|
@@ -88,13 +88,21 @@ export interface SeoSchema {
|
|
|
88
88
|
settings?: Settings;
|
|
89
89
|
}
|
|
90
90
|
export interface Tag {
|
|
91
|
-
/**
|
|
91
|
+
/**
|
|
92
|
+
* SEO tag type.
|
|
93
|
+
*
|
|
94
|
+
*
|
|
95
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
96
|
+
*/
|
|
92
97
|
type?: string;
|
|
93
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
100
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
101
|
+
*/
|
|
94
102
|
props?: Record<string, any> | null;
|
|
95
|
-
/**
|
|
103
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
96
104
|
meta?: Record<string, any> | null;
|
|
97
|
-
/**
|
|
105
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
98
106
|
children?: string;
|
|
99
107
|
/** Whether the tag is a custom tag. */
|
|
100
108
|
custom?: boolean;
|
|
@@ -102,7 +110,12 @@ export interface Tag {
|
|
|
102
110
|
disabled?: boolean;
|
|
103
111
|
}
|
|
104
112
|
export interface Settings {
|
|
105
|
-
/**
|
|
113
|
+
/**
|
|
114
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
115
|
+
*
|
|
116
|
+
*
|
|
117
|
+
* Default: enabled
|
|
118
|
+
*/
|
|
106
119
|
preventAutoRedirect?: boolean;
|
|
107
120
|
}
|
|
108
121
|
export interface QueryCollectionsRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-collection.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.types.ts"],"names":[],"mappings":"AAqEA,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;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-collection.types.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.types.ts"],"names":[],"mappings":"AAqEA,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;AAoFD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB"}
|
|
@@ -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
|
|
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 {
|
|
@@ -94,13 +94,21 @@ export interface SeoSchema {
|
|
|
94
94
|
settings?: Settings;
|
|
95
95
|
}
|
|
96
96
|
export interface Tag {
|
|
97
|
-
/**
|
|
97
|
+
/**
|
|
98
|
+
* SEO tag type.
|
|
99
|
+
*
|
|
100
|
+
*
|
|
101
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
102
|
+
*/
|
|
98
103
|
type?: string;
|
|
99
|
-
/**
|
|
104
|
+
/**
|
|
105
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
106
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
107
|
+
*/
|
|
100
108
|
props?: Record<string, any> | null;
|
|
101
|
-
/**
|
|
109
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
102
110
|
meta?: Record<string, any> | null;
|
|
103
|
-
/**
|
|
111
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
104
112
|
children?: string;
|
|
105
113
|
/** Whether the tag is a custom tag. */
|
|
106
114
|
custom?: boolean;
|
|
@@ -108,7 +116,12 @@ export interface Tag {
|
|
|
108
116
|
disabled?: boolean;
|
|
109
117
|
}
|
|
110
118
|
export interface Settings {
|
|
111
|
-
/**
|
|
119
|
+
/**
|
|
120
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
121
|
+
*
|
|
122
|
+
*
|
|
123
|
+
* Default: enabled
|
|
124
|
+
*/
|
|
112
125
|
preventAutoRedirect?: boolean;
|
|
113
126
|
}
|
|
114
127
|
export interface QueryCollectionsRequest {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores-catalog-v1-collection.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,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;AAuE5B,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;
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-collection.universal.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,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;AAuE5B,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;AAoFD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAsDD,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,wBAAwB,GAAG,EAAE,CAAC;AACpC,MAAM,y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AAC,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;aACN,CAAC,CAAC;YAEH,MAAM,gBAAgB,CAAC;SACxB;IACH,CAAC;CAAA"}
|
|
@@ -433,13 +433,21 @@ export interface SeoSchema {
|
|
|
433
433
|
settings?: Settings;
|
|
434
434
|
}
|
|
435
435
|
export interface Tag {
|
|
436
|
-
/**
|
|
436
|
+
/**
|
|
437
|
+
* SEO tag type.
|
|
438
|
+
*
|
|
439
|
+
*
|
|
440
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
441
|
+
*/
|
|
437
442
|
type?: string;
|
|
438
|
-
/**
|
|
443
|
+
/**
|
|
444
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
445
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
446
|
+
*/
|
|
439
447
|
props?: Record<string, any> | null;
|
|
440
|
-
/**
|
|
448
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
441
449
|
meta?: Record<string, any> | null;
|
|
442
|
-
/**
|
|
450
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
443
451
|
children?: string;
|
|
444
452
|
/** Whether the tag is a custom tag. */
|
|
445
453
|
custom?: boolean;
|
|
@@ -447,7 +455,12 @@ export interface Tag {
|
|
|
447
455
|
disabled?: boolean;
|
|
448
456
|
}
|
|
449
457
|
export interface Settings {
|
|
450
|
-
/**
|
|
458
|
+
/**
|
|
459
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
460
|
+
*
|
|
461
|
+
*
|
|
462
|
+
* Default: enabled
|
|
463
|
+
*/
|
|
451
464
|
preventAutoRedirect?: boolean;
|
|
452
465
|
}
|
|
453
466
|
export interface CreateProductRequest {
|
|
@@ -631,16 +644,16 @@ export interface BulkRemoveCustomFieldsRequest {
|
|
|
631
644
|
export interface BulkRemoveCustomFieldsResponse {
|
|
632
645
|
}
|
|
633
646
|
export interface CreateCollectionRequest {
|
|
634
|
-
/** Collection
|
|
647
|
+
/** Collection info. */
|
|
635
648
|
collection: Collection;
|
|
636
649
|
}
|
|
637
650
|
export interface Collection {
|
|
638
651
|
/**
|
|
639
|
-
* Collection ID (generated automatically by the catalog)
|
|
652
|
+
* Collection ID (generated automatically by the catalog).
|
|
640
653
|
* @readonly
|
|
641
654
|
*/
|
|
642
655
|
_id?: string | null;
|
|
643
|
-
/** Collection name */
|
|
656
|
+
/** Collection name. */
|
|
644
657
|
name?: string | null;
|
|
645
658
|
/**
|
|
646
659
|
* Media items (images, videos etc) associated with this collection. Read only.
|
|
@@ -652,25 +665,27 @@ export interface Collection {
|
|
|
652
665
|
* @readonly
|
|
653
666
|
*/
|
|
654
667
|
numberOfProducts?: number;
|
|
655
|
-
/** Collection description */
|
|
668
|
+
/** Collection description. */
|
|
656
669
|
description?: string | null;
|
|
657
|
-
/** Collection slug */
|
|
670
|
+
/** Collection slug. */
|
|
658
671
|
slug?: string | null;
|
|
659
|
-
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default
|
|
672
|
+
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
|
|
660
673
|
visible?: boolean | null;
|
|
661
674
|
}
|
|
662
675
|
export interface CreateCollectionResponse {
|
|
676
|
+
/** Collection. */
|
|
663
677
|
collection?: Collection;
|
|
664
678
|
}
|
|
665
679
|
export interface UpdateCollectionRequest {
|
|
666
|
-
/** Collection
|
|
680
|
+
/** Collection info. */
|
|
667
681
|
collection: Collection;
|
|
668
682
|
}
|
|
669
683
|
export interface UpdateCollectionResponse {
|
|
684
|
+
/** Updated collection. */
|
|
670
685
|
collection?: Collection;
|
|
671
686
|
}
|
|
672
687
|
export interface DeleteCollectionRequest {
|
|
673
|
-
/**
|
|
688
|
+
/** ID of the collection to delete. */
|
|
674
689
|
_id: string;
|
|
675
690
|
}
|
|
676
691
|
export interface DeleteCollectionResponse {
|
|
@@ -1116,10 +1131,11 @@ export interface GetCollectionResponse {
|
|
|
1116
1131
|
collection?: Collection;
|
|
1117
1132
|
}
|
|
1118
1133
|
export interface GetCollectionBySlugRequest {
|
|
1119
|
-
/** Slug
|
|
1134
|
+
/** Slug of the collection to retrieve. */
|
|
1120
1135
|
slug?: string;
|
|
1121
1136
|
}
|
|
1122
1137
|
export interface GetCollectionBySlugResponse {
|
|
1138
|
+
/** The requested collection. */
|
|
1123
1139
|
collection?: Collection;
|
|
1124
1140
|
}
|
|
1125
1141
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1213,7 +1229,7 @@ export interface StoreVariant {
|
|
|
1213
1229
|
* @readonly
|
|
1214
1230
|
*/
|
|
1215
1231
|
media?: PlatformMedia;
|
|
1216
|
-
/**
|
|
1232
|
+
/** Preorder information. */
|
|
1217
1233
|
preorderInfo?: PreorderInfo;
|
|
1218
1234
|
}
|
|
1219
1235
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1236,9 +1252,9 @@ export interface VideoResolution {
|
|
|
1236
1252
|
format?: string;
|
|
1237
1253
|
}
|
|
1238
1254
|
export interface PreorderInfo {
|
|
1239
|
-
/** Whether the item is
|
|
1255
|
+
/** Whether the item is available for preorder. */
|
|
1240
1256
|
enabled?: boolean;
|
|
1241
|
-
/** A message
|
|
1257
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1242
1258
|
message?: string | null;
|
|
1243
1259
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1244
1260
|
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,EAC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P,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-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;A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
|
+
*
|
|
434
|
+
* Supported values: `title`, `meta`, `script`, `link`.
|
|
435
|
+
*/
|
|
431
436
|
type?: string;
|
|
432
|
-
/**
|
|
437
|
+
/**
|
|
438
|
+
* A `{'key':'value'} pair object where each SEO tag property (`'name'`, `'content'`, `'rel'`, `'href'`) contains a value.
|
|
439
|
+
* For example: `{'name': 'description', 'content': 'the description itself'}`.
|
|
440
|
+
*/
|
|
433
441
|
props?: Record<string, any> | null;
|
|
434
|
-
/**
|
|
442
|
+
/** SEO tag meta data. For example, `{height: 300, width: 240}`. */
|
|
435
443
|
meta?: Record<string, any> | null;
|
|
436
|
-
/**
|
|
444
|
+
/** SEO tag inner content. For example, `<title> inner content </title>`. */
|
|
437
445
|
children?: string;
|
|
438
446
|
/** Whether the tag is a custom tag. */
|
|
439
447
|
custom?: boolean;
|
|
@@ -441,7 +449,12 @@ export interface Tag {
|
|
|
441
449
|
disabled?: boolean;
|
|
442
450
|
}
|
|
443
451
|
export interface Settings {
|
|
444
|
-
/**
|
|
452
|
+
/**
|
|
453
|
+
* Whether the auto redirects feature creating `301 redirects` on a slug change is enabled.
|
|
454
|
+
*
|
|
455
|
+
*
|
|
456
|
+
* Default: enabled
|
|
457
|
+
*/
|
|
445
458
|
preventAutoRedirect?: boolean;
|
|
446
459
|
}
|
|
447
460
|
export interface CreateProductRequest {
|
|
@@ -625,16 +638,16 @@ export interface BulkRemoveCustomFieldsRequest {
|
|
|
625
638
|
export interface BulkRemoveCustomFieldsResponse {
|
|
626
639
|
}
|
|
627
640
|
export interface CreateCollectionRequest {
|
|
628
|
-
/** Collection
|
|
641
|
+
/** Collection info. */
|
|
629
642
|
collection: Collection;
|
|
630
643
|
}
|
|
631
644
|
export interface Collection {
|
|
632
645
|
/**
|
|
633
|
-
* Collection ID (generated automatically by the catalog)
|
|
646
|
+
* Collection ID (generated automatically by the catalog).
|
|
634
647
|
* @readonly
|
|
635
648
|
*/
|
|
636
649
|
id?: string | null;
|
|
637
|
-
/** Collection name */
|
|
650
|
+
/** Collection name. */
|
|
638
651
|
name?: string | null;
|
|
639
652
|
/**
|
|
640
653
|
* Media items (images, videos etc) associated with this collection. Read only.
|
|
@@ -646,25 +659,27 @@ export interface Collection {
|
|
|
646
659
|
* @readonly
|
|
647
660
|
*/
|
|
648
661
|
numberOfProducts?: number;
|
|
649
|
-
/** Collection description */
|
|
662
|
+
/** Collection description. */
|
|
650
663
|
description?: string | null;
|
|
651
|
-
/** Collection slug */
|
|
664
|
+
/** Collection slug. */
|
|
652
665
|
slug?: string | null;
|
|
653
|
-
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default
|
|
666
|
+
/** Collection visibility. Only impacts dynamic pages, no impact on static pages. Default: `true`. */
|
|
654
667
|
visible?: boolean | null;
|
|
655
668
|
}
|
|
656
669
|
export interface CreateCollectionResponse {
|
|
670
|
+
/** Collection. */
|
|
657
671
|
collection?: Collection;
|
|
658
672
|
}
|
|
659
673
|
export interface UpdateCollectionRequest {
|
|
660
|
-
/** Collection
|
|
674
|
+
/** Collection info. */
|
|
661
675
|
collection: Collection;
|
|
662
676
|
}
|
|
663
677
|
export interface UpdateCollectionResponse {
|
|
678
|
+
/** Updated collection. */
|
|
664
679
|
collection?: Collection;
|
|
665
680
|
}
|
|
666
681
|
export interface DeleteCollectionRequest {
|
|
667
|
-
/**
|
|
682
|
+
/** ID of the collection to delete. */
|
|
668
683
|
id: string;
|
|
669
684
|
}
|
|
670
685
|
export interface DeleteCollectionResponse {
|
|
@@ -1110,10 +1125,11 @@ export interface GetCollectionResponse {
|
|
|
1110
1125
|
collection?: Collection;
|
|
1111
1126
|
}
|
|
1112
1127
|
export interface GetCollectionBySlugRequest {
|
|
1113
|
-
/** Slug
|
|
1128
|
+
/** Slug of the collection to retrieve. */
|
|
1114
1129
|
slug?: string;
|
|
1115
1130
|
}
|
|
1116
1131
|
export interface GetCollectionBySlugResponse {
|
|
1132
|
+
/** The requested collection. */
|
|
1117
1133
|
collection?: Collection;
|
|
1118
1134
|
}
|
|
1119
1135
|
export interface ProductOptionsAvailabilityRequest {
|
|
@@ -1207,7 +1223,7 @@ export interface StoreVariant {
|
|
|
1207
1223
|
* @readonly
|
|
1208
1224
|
*/
|
|
1209
1225
|
media?: PlatformMedia;
|
|
1210
|
-
/**
|
|
1226
|
+
/** Preorder information. */
|
|
1211
1227
|
preorderInfo?: PreorderInfo;
|
|
1212
1228
|
}
|
|
1213
1229
|
export interface PlatformMedia extends PlatformMediaMediaOneOf {
|
|
@@ -1267,9 +1283,9 @@ export interface VideoResolution {
|
|
|
1267
1283
|
format?: string;
|
|
1268
1284
|
}
|
|
1269
1285
|
export interface PreorderInfo {
|
|
1270
|
-
/** Whether the item is
|
|
1286
|
+
/** Whether the item is available for preorder. */
|
|
1271
1287
|
enabled?: boolean;
|
|
1272
|
-
/** A message
|
|
1288
|
+
/** A message the buyer will see when the item is out of stock and preorder is enabled. */
|
|
1273
1289
|
message?: string | null;
|
|
1274
1290
|
/** Number of products that can be preordered after stock reaches zero. */
|
|
1275
1291
|
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;IAC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B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/stores",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
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": "74a6dc77ed602e2a35a72bffa4a5fded0e5105290709214c133087e9"
|
|
37
37
|
}
|