@wix/stores 1.0.94 → 1.0.95
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/meta.d.ts +6 -0
- package/build/cjs/meta.js +29 -0
- package/build/cjs/meta.js.map +1 -0
- package/build/cjs/src/platform-v1-wishlist.meta.d.ts +13 -0
- package/build/cjs/src/platform-v1-wishlist.meta.js +43 -0
- package/build/cjs/src/platform-v1-wishlist.meta.js.map +1 -0
- package/build/cjs/src/stores-catalog-v1-collection.meta.d.ts +19 -0
- package/build/cjs/src/stores-catalog-v1-collection.meta.js +81 -0
- package/build/cjs/src/stores-catalog-v1-collection.meta.js.map +1 -0
- package/build/cjs/src/stores-catalog-v1-product.meta.d.ts +78 -0
- package/build/cjs/src/stores-catalog-v1-product.meta.js +518 -0
- package/build/cjs/src/stores-catalog-v1-product.meta.js.map +1 -0
- package/build/cjs/src/stores-catalog-v1-product.public.d.ts +1 -1
- package/build/cjs/src/stores-catalog-v1-product.types.d.ts +29 -0
- package/build/cjs/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/cjs/src/stores-catalog-v1-product.universal.d.ts +29 -0
- package/build/cjs/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/cjs/src/stores-v1-abandoned-cart.meta.d.ts +16 -0
- package/build/cjs/src/stores-v1-abandoned-cart.meta.js +62 -0
- package/build/cjs/src/stores-v1-abandoned-cart.meta.js.map +1 -0
- package/build/cjs/src/stores-v1-subscription-option.meta.d.ts +40 -0
- package/build/cjs/src/stores-v1-subscription-option.meta.js +254 -0
- package/build/cjs/src/stores-v1-subscription-option.meta.js.map +1 -0
- package/build/cjs/src/stores-v2-inventory.meta.d.ts +21 -0
- package/build/cjs/src/stores-v2-inventory.meta.js +121 -0
- package/build/cjs/src/stores-v2-inventory.meta.js.map +1 -0
- package/build/es/meta.d.ts +6 -0
- package/build/es/meta.js +7 -0
- package/build/es/meta.js.map +1 -0
- package/build/es/src/platform-v1-wishlist.meta.d.ts +13 -0
- package/build/es/src/platform-v1-wishlist.meta.js +20 -0
- package/build/es/src/platform-v1-wishlist.meta.js.map +1 -0
- package/build/es/src/stores-catalog-v1-collection.meta.d.ts +19 -0
- package/build/es/src/stores-catalog-v1-collection.meta.js +56 -0
- package/build/es/src/stores-catalog-v1-collection.meta.js.map +1 -0
- package/build/es/src/stores-catalog-v1-product.meta.d.ts +78 -0
- package/build/es/src/stores-catalog-v1-product.meta.js +470 -0
- package/build/es/src/stores-catalog-v1-product.meta.js.map +1 -0
- package/build/es/src/stores-catalog-v1-product.public.d.ts +1 -1
- package/build/es/src/stores-catalog-v1-product.types.d.ts +29 -0
- package/build/es/src/stores-catalog-v1-product.types.js.map +1 -1
- package/build/es/src/stores-catalog-v1-product.universal.d.ts +29 -0
- package/build/es/src/stores-catalog-v1-product.universal.js.map +1 -1
- package/build/es/src/stores-v1-abandoned-cart.meta.d.ts +16 -0
- package/build/es/src/stores-v1-abandoned-cart.meta.js +38 -0
- package/build/es/src/stores-v1-abandoned-cart.meta.js.map +1 -0
- package/build/es/src/stores-v1-subscription-option.meta.d.ts +40 -0
- package/build/es/src/stores-v1-subscription-option.meta.js +220 -0
- package/build/es/src/stores-v1-subscription-option.meta.js.map +1 -0
- package/build/es/src/stores-v2-inventory.meta.d.ts +21 -0
- package/build/es/src/stores-v2-inventory.meta.js +94 -0
- package/build/es/src/stores-v2-inventory.meta.js.map +1 -0
- package/meta/package.json +6 -0
- package/package.json +4 -3
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * as wishlist from './src/platform-v1-wishlist.meta';
|
|
2
|
+
export * as collections from './src/stores-catalog-v1-collection.meta';
|
|
3
|
+
export * as products from './src/stores-catalog-v1-product.meta';
|
|
4
|
+
export * as abandonedCarts from './src/stores-v1-abandoned-cart.meta';
|
|
5
|
+
export * as subscriptionOptions from './src/stores-v1-subscription-option.meta';
|
|
6
|
+
export * as inventory from './src/stores-v2-inventory.meta';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.inventory = exports.subscriptionOptions = exports.abandonedCarts = exports.products = exports.collections = exports.wishlist = void 0;
|
|
23
|
+
exports.wishlist = __importStar(require("./src/platform-v1-wishlist.meta"));
|
|
24
|
+
exports.collections = __importStar(require("./src/stores-catalog-v1-collection.meta"));
|
|
25
|
+
exports.products = __importStar(require("./src/stores-catalog-v1-product.meta"));
|
|
26
|
+
exports.abandonedCarts = __importStar(require("./src/stores-v1-abandoned-cart.meta"));
|
|
27
|
+
exports.subscriptionOptions = __importStar(require("./src/stores-v1-subscription-option.meta"));
|
|
28
|
+
exports.inventory = __importStar(require("./src/stores-v2-inventory.meta"));
|
|
29
|
+
//# sourceMappingURL=meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"meta.js","sourceRoot":"","sources":["../../meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,4EAA4D;AAC5D,uFAAuE;AACvE,iFAAiE;AACjE,sFAAsE;AACtE,gGAAgF;AAChF,4EAA4D"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as ambassadorWixPlatformV1WishlistTypes from './platform-v1-wishlist.types';
|
|
2
|
+
import * as ambassadorWixPlatformV1WishlistUniversalTypes from './platform-v1-wishlist.universal';
|
|
3
|
+
export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
+
getUrl: (context: any) => string;
|
|
5
|
+
httpMethod: K;
|
|
6
|
+
path: string;
|
|
7
|
+
pathParams: M;
|
|
8
|
+
__requestType: T;
|
|
9
|
+
__originalRequestType: S;
|
|
10
|
+
__responseType: Q;
|
|
11
|
+
__originalResponseType: R;
|
|
12
|
+
};
|
|
13
|
+
export declare function getWishlistById(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixPlatformV1WishlistUniversalTypes.GetWishlistByIdRequest, ambassadorWixPlatformV1WishlistTypes.GetWishlistByIdRequest, ambassadorWixPlatformV1WishlistUniversalTypes.GetWishlistByIdResponse & ambassadorWixPlatformV1WishlistUniversalTypes.GetWishlistByIdResponseNonNullableFields, ambassadorWixPlatformV1WishlistTypes.GetWishlistByIdResponse & ambassadorWixPlatformV1WishlistTypes.GetWishlistByIdResponseNonNullableFields>;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.getWishlistById = void 0;
|
|
23
|
+
const ambassadorWixPlatformV1Wishlist = __importStar(require("./platform-v1-wishlist.http"));
|
|
24
|
+
function getWishlistById() {
|
|
25
|
+
const payload = {};
|
|
26
|
+
const getRequestOptions = ambassadorWixPlatformV1Wishlist.getWishlistById(payload);
|
|
27
|
+
const getUrl = (context) => {
|
|
28
|
+
const { url } = getRequestOptions(context);
|
|
29
|
+
return url;
|
|
30
|
+
};
|
|
31
|
+
return {
|
|
32
|
+
getUrl,
|
|
33
|
+
httpMethod: 'POST',
|
|
34
|
+
path: '/v1/wishlists/get',
|
|
35
|
+
pathParams: {},
|
|
36
|
+
__requestType: null,
|
|
37
|
+
__originalRequestType: null,
|
|
38
|
+
__responseType: null,
|
|
39
|
+
__originalResponseType: null,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.getWishlistById = getWishlistById;
|
|
43
|
+
//# sourceMappingURL=platform-v1-wishlist.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"platform-v1-wishlist.meta.js","sourceRoot":"","sources":["../../../src/platform-v1-wishlist.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,6FAA+E;AAsB/E,SAAgB,eAAe;IAU7B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,+BAA+B,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;IAE3D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,mBAAmB;QACzB,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,0CA8BC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as ambassadorWixStoresCatalogV1CollectionTypes from './stores-catalog-v1-collection.types';
|
|
2
|
+
import * as ambassadorWixStoresCatalogV1CollectionUniversalTypes from './stores-catalog-v1-collection.universal';
|
|
3
|
+
export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
+
getUrl: (context: any) => string;
|
|
5
|
+
httpMethod: K;
|
|
6
|
+
path: string;
|
|
7
|
+
pathParams: M;
|
|
8
|
+
__requestType: T;
|
|
9
|
+
__originalRequestType: S;
|
|
10
|
+
__responseType: Q;
|
|
11
|
+
__originalResponseType: R;
|
|
12
|
+
};
|
|
13
|
+
export declare function queryCollections(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1CollectionUniversalTypes.QueryCollectionsRequest, ambassadorWixStoresCatalogV1CollectionTypes.QueryCollectionsRequest, ambassadorWixStoresCatalogV1CollectionUniversalTypes.QueryCollectionsResponse & ambassadorWixStoresCatalogV1CollectionUniversalTypes.QueryCollectionsResponseNonNullableFields, ambassadorWixStoresCatalogV1CollectionTypes.QueryCollectionsResponse & ambassadorWixStoresCatalogV1CollectionTypes.QueryCollectionsResponseNonNullableFields>;
|
|
14
|
+
export declare function getCollection(): __PublicMethodMetaInfo<'GET', {
|
|
15
|
+
id: string;
|
|
16
|
+
}, ambassadorWixStoresCatalogV1CollectionUniversalTypes.GetCollectionRequest, ambassadorWixStoresCatalogV1CollectionTypes.GetCollectionRequest, ambassadorWixStoresCatalogV1CollectionUniversalTypes.GetCollectionResponse & ambassadorWixStoresCatalogV1CollectionUniversalTypes.GetCollectionResponseNonNullableFields, ambassadorWixStoresCatalogV1CollectionTypes.GetCollectionResponse & ambassadorWixStoresCatalogV1CollectionTypes.GetCollectionResponseNonNullableFields>;
|
|
17
|
+
export declare function getCollectionBySlug(): __PublicMethodMetaInfo<'GET', {
|
|
18
|
+
slug: string;
|
|
19
|
+
}, ambassadorWixStoresCatalogV1CollectionUniversalTypes.GetCollectionBySlugRequest, ambassadorWixStoresCatalogV1CollectionTypes.GetCollectionBySlugRequest, ambassadorWixStoresCatalogV1CollectionUniversalTypes.GetCollectionBySlugResponse & ambassadorWixStoresCatalogV1CollectionUniversalTypes.GetCollectionBySlugResponseNonNullableFields, ambassadorWixStoresCatalogV1CollectionTypes.GetCollectionBySlugResponse & ambassadorWixStoresCatalogV1CollectionTypes.GetCollectionBySlugResponseNonNullableFields>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
+
}) : function(o, v) {
|
|
12
|
+
o["default"] = v;
|
|
13
|
+
});
|
|
14
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
+
if (mod && mod.__esModule) return mod;
|
|
16
|
+
var result = {};
|
|
17
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
+
__setModuleDefault(result, mod);
|
|
19
|
+
return result;
|
|
20
|
+
};
|
|
21
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
+
exports.getCollectionBySlug = exports.getCollection = exports.queryCollections = void 0;
|
|
23
|
+
const ambassadorWixStoresCatalogV1Collection = __importStar(require("./stores-catalog-v1-collection.http"));
|
|
24
|
+
function queryCollections() {
|
|
25
|
+
const payload = {};
|
|
26
|
+
const getRequestOptions = ambassadorWixStoresCatalogV1Collection.queryCollections(payload);
|
|
27
|
+
const getUrl = (context) => {
|
|
28
|
+
const { url } = getRequestOptions(context);
|
|
29
|
+
return url;
|
|
30
|
+
};
|
|
31
|
+
return {
|
|
32
|
+
getUrl,
|
|
33
|
+
httpMethod: 'POST',
|
|
34
|
+
path: '/v2/collections/query',
|
|
35
|
+
pathParams: {},
|
|
36
|
+
__requestType: null,
|
|
37
|
+
__originalRequestType: null,
|
|
38
|
+
__responseType: null,
|
|
39
|
+
__originalResponseType: null,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
exports.queryCollections = queryCollections;
|
|
43
|
+
function getCollection() {
|
|
44
|
+
const payload = { id: ':id' };
|
|
45
|
+
const getRequestOptions = ambassadorWixStoresCatalogV1Collection.getCollection(payload);
|
|
46
|
+
const getUrl = (context) => {
|
|
47
|
+
const { url } = getRequestOptions(context);
|
|
48
|
+
return url;
|
|
49
|
+
};
|
|
50
|
+
return {
|
|
51
|
+
getUrl,
|
|
52
|
+
httpMethod: 'GET',
|
|
53
|
+
path: '/v2/collections/{id}',
|
|
54
|
+
pathParams: { id: 'id' },
|
|
55
|
+
__requestType: null,
|
|
56
|
+
__originalRequestType: null,
|
|
57
|
+
__responseType: null,
|
|
58
|
+
__originalResponseType: null,
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
exports.getCollection = getCollection;
|
|
62
|
+
function getCollectionBySlug() {
|
|
63
|
+
const payload = { slug: ':slug' };
|
|
64
|
+
const getRequestOptions = ambassadorWixStoresCatalogV1Collection.getCollectionBySlug(payload);
|
|
65
|
+
const getUrl = (context) => {
|
|
66
|
+
const { url } = getRequestOptions(context);
|
|
67
|
+
return url;
|
|
68
|
+
};
|
|
69
|
+
return {
|
|
70
|
+
getUrl,
|
|
71
|
+
httpMethod: 'GET',
|
|
72
|
+
path: '/v2/collections/slug/{slug}',
|
|
73
|
+
pathParams: { slug: 'slug' },
|
|
74
|
+
__requestType: null,
|
|
75
|
+
__originalRequestType: null,
|
|
76
|
+
__responseType: null,
|
|
77
|
+
__originalResponseType: null,
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
exports.getCollectionBySlug = getCollectionBySlug;
|
|
81
|
+
//# sourceMappingURL=stores-catalog-v1-collection.meta.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stores-catalog-v1-collection.meta.js","sourceRoot":"","sources":["../../../src/stores-catalog-v1-collection.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,4GAA8F;AAsB9F,SAAgB,gBAAgB;IAU9B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,sCAAsC,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;IAEnE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,uBAAuB;QAC7B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,4CA8BC;AAED,SAAgB,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAE,EAAE,EAAE,KAAK,EAAS,CAAC;IAErC,MAAM,iBAAiB,GACrB,sCAAsC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAEhE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,sBAAsB;QAC5B,UAAU,EAAE,EAAE,EAAE,EAAE,IAAI,EAAE;QACxB,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,sCA8BC;AAED,SAAgB,mBAAmB;IAUjC,MAAM,OAAO,GAAG,EAAE,IAAI,EAAE,OAAO,EAAS,CAAC;IAEzC,MAAM,iBAAiB,GACrB,sCAAsC,CAAC,mBAAmB,CAAC,OAAO,CAAC,CAAC;IAEtE,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,6BAA6B;QACnC,UAAU,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE;QAC5B,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,kDA8BC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import * as ambassadorWixStoresCatalogV1ProductTypes from './stores-catalog-v1-product.types';
|
|
2
|
+
import * as ambassadorWixStoresCatalogV1ProductUniversalTypes from './stores-catalog-v1-product.universal';
|
|
3
|
+
export declare type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
|
|
4
|
+
getUrl: (context: any) => string;
|
|
5
|
+
httpMethod: K;
|
|
6
|
+
path: string;
|
|
7
|
+
pathParams: M;
|
|
8
|
+
__requestType: T;
|
|
9
|
+
__originalRequestType: S;
|
|
10
|
+
__responseType: Q;
|
|
11
|
+
__originalResponseType: R;
|
|
12
|
+
};
|
|
13
|
+
export declare function createProduct(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateProductRequest, ambassadorWixStoresCatalogV1ProductTypes.CreateProductRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateProductResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateProductResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.CreateProductResponse & ambassadorWixStoresCatalogV1ProductTypes.CreateProductResponseNonNullableFields>;
|
|
14
|
+
export declare function updateProduct(): __PublicMethodMetaInfo<'PATCH', {
|
|
15
|
+
productId: string;
|
|
16
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateProductRequest, ambassadorWixStoresCatalogV1ProductTypes.UpdateProductRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateProductResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateProductResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.UpdateProductResponse & ambassadorWixStoresCatalogV1ProductTypes.UpdateProductResponseNonNullableFields>;
|
|
17
|
+
export declare function deleteProduct(): __PublicMethodMetaInfo<'DELETE', {
|
|
18
|
+
id: string;
|
|
19
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductRequest, ambassadorWixStoresCatalogV1ProductTypes.DeleteProductRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductResponse, ambassadorWixStoresCatalogV1ProductTypes.DeleteProductResponse>;
|
|
20
|
+
export declare function updateProductVariants(): __PublicMethodMetaInfo<'PATCH', {
|
|
21
|
+
id: string;
|
|
22
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateVariantsRequest, ambassadorWixStoresCatalogV1ProductTypes.UpdateVariantsRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateVariantsResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateVariantsResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.UpdateVariantsResponse & ambassadorWixStoresCatalogV1ProductTypes.UpdateVariantsResponseNonNullableFields>;
|
|
23
|
+
export declare function resetAllProductVariantData(): __PublicMethodMetaInfo<'POST', {
|
|
24
|
+
id: string;
|
|
25
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.ResetAllVariantDataRequest, ambassadorWixStoresCatalogV1ProductTypes.ResetAllVariantDataRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.ResetAllVariantDataResponse, ambassadorWixStoresCatalogV1ProductTypes.ResetAllVariantDataResponse>;
|
|
26
|
+
export declare function addProductsToCollection(): __PublicMethodMetaInfo<'POST', {
|
|
27
|
+
id: string;
|
|
28
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductsToCollectionRequest, ambassadorWixStoresCatalogV1ProductTypes.AddProductsToCollectionRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductsToCollectionResponse, ambassadorWixStoresCatalogV1ProductTypes.AddProductsToCollectionResponse>;
|
|
29
|
+
export declare function removeProductsFromCollection(): __PublicMethodMetaInfo<'POST', {
|
|
30
|
+
id: string;
|
|
31
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductsFromCollectionRequest, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductsFromCollectionRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductsFromCollectionResponse, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductsFromCollectionResponse>;
|
|
32
|
+
export declare function addProductMedia(): __PublicMethodMetaInfo<'POST', {
|
|
33
|
+
id: string;
|
|
34
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaRequest, ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaResponse, ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaResponse>;
|
|
35
|
+
export declare function removeProductMedia(): __PublicMethodMetaInfo<'POST', {
|
|
36
|
+
id: string;
|
|
37
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaRequest, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaResponse, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaResponse>;
|
|
38
|
+
export declare function addProductMediaToChoices(): __PublicMethodMetaInfo<'PATCH', {
|
|
39
|
+
id: string;
|
|
40
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaToChoicesRequest, ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaToChoicesRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.AddProductMediaToChoicesResponse, ambassadorWixStoresCatalogV1ProductTypes.AddProductMediaToChoicesResponse>;
|
|
41
|
+
export declare function removeProductMediaFromChoices(): __PublicMethodMetaInfo<'POST', {
|
|
42
|
+
id: string;
|
|
43
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaFromChoicesRequest, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaFromChoicesRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductMediaFromChoicesResponse, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductMediaFromChoicesResponse>;
|
|
44
|
+
export declare function deleteProductOptions(): __PublicMethodMetaInfo<'DELETE', {
|
|
45
|
+
id: string;
|
|
46
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductOptionsRequest, ambassadorWixStoresCatalogV1ProductTypes.DeleteProductOptionsRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteProductOptionsResponse, ambassadorWixStoresCatalogV1ProductTypes.DeleteProductOptionsResponse>;
|
|
47
|
+
export declare function removeBrand(): __PublicMethodMetaInfo<'POST', {
|
|
48
|
+
id: string;
|
|
49
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductBrandRequest, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductBrandRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductBrandResponse, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductBrandResponse>;
|
|
50
|
+
export declare function createCollection(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateCollectionRequest, ambassadorWixStoresCatalogV1ProductTypes.CreateCollectionRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateCollectionResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.CreateCollectionResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.CreateCollectionResponse & ambassadorWixStoresCatalogV1ProductTypes.CreateCollectionResponseNonNullableFields>;
|
|
51
|
+
export declare function updateCollection(): __PublicMethodMetaInfo<'PATCH', {
|
|
52
|
+
collectionId: string;
|
|
53
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateCollectionRequest, ambassadorWixStoresCatalogV1ProductTypes.UpdateCollectionRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateCollectionResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.UpdateCollectionResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.UpdateCollectionResponse & ambassadorWixStoresCatalogV1ProductTypes.UpdateCollectionResponseNonNullableFields>;
|
|
54
|
+
export declare function deleteCollection(): __PublicMethodMetaInfo<'DELETE', {
|
|
55
|
+
id: string;
|
|
56
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteCollectionRequest, ambassadorWixStoresCatalogV1ProductTypes.DeleteCollectionRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.DeleteCollectionResponse, ambassadorWixStoresCatalogV1ProductTypes.DeleteCollectionResponse>;
|
|
57
|
+
export declare function removeRibbon(): __PublicMethodMetaInfo<'POST', {
|
|
58
|
+
id: string;
|
|
59
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductRibbonRequest, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductRibbonRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.RemoveProductRibbonResponse, ambassadorWixStoresCatalogV1ProductTypes.RemoveProductRibbonResponse>;
|
|
60
|
+
export declare function bulkUpdateProductsProperty(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkUpdateProductsRequest, ambassadorWixStoresCatalogV1ProductTypes.BulkUpdateProductsRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkUpdateProductsResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkUpdateProductsResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.BulkUpdateProductsResponse & ambassadorWixStoresCatalogV1ProductTypes.BulkUpdateProductsResponseNonNullableFields>;
|
|
61
|
+
export declare function bulkAdjustProductProperty(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkAdjustProductPropertiesRequest, ambassadorWixStoresCatalogV1ProductTypes.BulkAdjustProductPropertiesRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkAdjustProductPropertiesResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.BulkAdjustProductPropertiesResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.BulkAdjustProductPropertiesResponse & ambassadorWixStoresCatalogV1ProductTypes.BulkAdjustProductPropertiesResponseNonNullableFields>;
|
|
62
|
+
export declare function queryProducts(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductsPlatformizedRequest, ambassadorWixStoresCatalogV1ProductTypes.QueryProductsPlatformizedRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductsPlatformizedResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductsPlatformizedResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.QueryProductsPlatformizedResponse & ambassadorWixStoresCatalogV1ProductTypes.QueryProductsPlatformizedResponseNonNullableFields>;
|
|
63
|
+
export declare function getProduct(): __PublicMethodMetaInfo<'GET', {
|
|
64
|
+
id: string;
|
|
65
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.GetProductRequest, ambassadorWixStoresCatalogV1ProductTypes.GetProductRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.GetProductResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.GetProductResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.GetProductResponse & ambassadorWixStoresCatalogV1ProductTypes.GetProductResponseNonNullableFields>;
|
|
66
|
+
export declare function getCollectionBySlug(): __PublicMethodMetaInfo<'GET', {
|
|
67
|
+
slug: string;
|
|
68
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.GetCollectionBySlugRequest, ambassadorWixStoresCatalogV1ProductTypes.GetCollectionBySlugRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.GetCollectionBySlugResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.GetCollectionBySlugResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.GetCollectionBySlugResponse & ambassadorWixStoresCatalogV1ProductTypes.GetCollectionBySlugResponseNonNullableFields>;
|
|
69
|
+
export declare function getProductOptionsAvailability(): __PublicMethodMetaInfo<'POST', {
|
|
70
|
+
id: string;
|
|
71
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.ProductOptionsAvailabilityRequest, ambassadorWixStoresCatalogV1ProductTypes.ProductOptionsAvailabilityRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.ProductOptionsAvailabilityResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.ProductOptionsAvailabilityResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.ProductOptionsAvailabilityResponse & ambassadorWixStoresCatalogV1ProductTypes.ProductOptionsAvailabilityResponseNonNullableFields>;
|
|
72
|
+
export declare function queryProductVariants(): __PublicMethodMetaInfo<'POST', {
|
|
73
|
+
id: string;
|
|
74
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductVariantsRequest, ambassadorWixStoresCatalogV1ProductTypes.QueryProductVariantsRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductVariantsResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryProductVariantsResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.QueryProductVariantsResponse & ambassadorWixStoresCatalogV1ProductTypes.QueryProductVariantsResponseNonNullableFields>;
|
|
75
|
+
export declare function queryStoreVariants(): __PublicMethodMetaInfo<'POST', {}, ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryStoreVariantsRequest, ambassadorWixStoresCatalogV1ProductTypes.QueryStoreVariantsRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryStoreVariantsResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.QueryStoreVariantsResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.QueryStoreVariantsResponse & ambassadorWixStoresCatalogV1ProductTypes.QueryStoreVariantsResponseNonNullableFields>;
|
|
76
|
+
export declare function getStoreVariant(): __PublicMethodMetaInfo<'GET', {
|
|
77
|
+
id: string;
|
|
78
|
+
}, ambassadorWixStoresCatalogV1ProductUniversalTypes.GetStoreVariantRequest, ambassadorWixStoresCatalogV1ProductTypes.GetStoreVariantRequest, ambassadorWixStoresCatalogV1ProductUniversalTypes.GetStoreVariantResponse & ambassadorWixStoresCatalogV1ProductUniversalTypes.GetStoreVariantResponseNonNullableFields, ambassadorWixStoresCatalogV1ProductTypes.GetStoreVariantResponse & ambassadorWixStoresCatalogV1ProductTypes.GetStoreVariantResponseNonNullableFields>;
|