@teemill/product-catalog 1.90.2 → 1.91.0
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/.openapi-generator/FILES +1 -0
- package/README.md +3 -2
- package/api.ts +198 -6
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +113 -3
- package/dist/api.js +88 -6
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +113 -3
- package/dist/esm/api.js +88 -6
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Product.md +2 -0
- package/docs/ProductAnalytics.md +29 -0
- package/docs/ProductsApi.md +43 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog
|
|
6
6
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.91.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2123,10 +2123,24 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2123
2123
|
* @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
|
|
2124
2124
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2125
2125
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2126
|
+
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
2127
|
+
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
2128
|
+
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
2129
|
+
* @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
|
|
2130
|
+
* @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
|
|
2131
|
+
* @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
|
|
2132
|
+
* @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
2133
|
+
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
2134
|
+
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
2135
|
+
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
2136
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
2137
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
2138
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
2139
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
2126
2140
|
* @param {*} [options] Override http request option.
|
|
2127
2141
|
* @throws {RequiredError}
|
|
2128
2142
|
*/
|
|
2129
|
-
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options = {}) {
|
|
2143
|
+
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options = {}) {
|
|
2130
2144
|
// verify required parameter 'project' is not null or undefined
|
|
2131
2145
|
(0, common_1.assertParamExists)('listProducts', 'project', project);
|
|
2132
2146
|
const localVarPath = `/v1/catalog/products`;
|
|
@@ -2181,6 +2195,60 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2181
2195
|
if (fields !== undefined) {
|
|
2182
2196
|
localVarQueryParameter['fields'] = fields;
|
|
2183
2197
|
}
|
|
2198
|
+
if (dateRangeStartDate !== undefined) {
|
|
2199
|
+
localVarQueryParameter['dateRangeStartDate'] = (dateRangeStartDate instanceof Date) ?
|
|
2200
|
+
dateRangeStartDate.toISOString() :
|
|
2201
|
+
dateRangeStartDate;
|
|
2202
|
+
}
|
|
2203
|
+
if (dateRangeEndDate !== undefined) {
|
|
2204
|
+
localVarQueryParameter['dateRangeEndDate'] = (dateRangeEndDate instanceof Date) ?
|
|
2205
|
+
dateRangeEndDate.toISOString() :
|
|
2206
|
+
dateRangeEndDate;
|
|
2207
|
+
}
|
|
2208
|
+
if (minimumRevenue !== undefined) {
|
|
2209
|
+
localVarQueryParameter['minimumRevenue'] = minimumRevenue;
|
|
2210
|
+
}
|
|
2211
|
+
if (maximumRevenue !== undefined) {
|
|
2212
|
+
localVarQueryParameter['maximumRevenue'] = maximumRevenue;
|
|
2213
|
+
}
|
|
2214
|
+
if (minimumSales !== undefined) {
|
|
2215
|
+
localVarQueryParameter['minimumSales'] = minimumSales;
|
|
2216
|
+
}
|
|
2217
|
+
if (maximumSales !== undefined) {
|
|
2218
|
+
localVarQueryParameter['maximumSales'] = maximumSales;
|
|
2219
|
+
}
|
|
2220
|
+
if (minimumBasketPercent !== undefined) {
|
|
2221
|
+
localVarQueryParameter['minimumBasketPercent'] = minimumBasketPercent;
|
|
2222
|
+
}
|
|
2223
|
+
if (maximumBasketPercent !== undefined) {
|
|
2224
|
+
localVarQueryParameter['maximumBasketPercent'] = maximumBasketPercent;
|
|
2225
|
+
}
|
|
2226
|
+
if (minimumTraffic !== undefined) {
|
|
2227
|
+
localVarQueryParameter['minimumTraffic'] = minimumTraffic;
|
|
2228
|
+
}
|
|
2229
|
+
if (maximumTraffic !== undefined) {
|
|
2230
|
+
localVarQueryParameter['maximumTraffic'] = maximumTraffic;
|
|
2231
|
+
}
|
|
2232
|
+
if (createdBefore !== undefined) {
|
|
2233
|
+
localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
|
|
2234
|
+
createdBefore.toISOString() :
|
|
2235
|
+
createdBefore;
|
|
2236
|
+
}
|
|
2237
|
+
if (createdAfter !== undefined) {
|
|
2238
|
+
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
2239
|
+
createdAfter.toISOString() :
|
|
2240
|
+
createdAfter;
|
|
2241
|
+
}
|
|
2242
|
+
if (updatedBefore !== undefined) {
|
|
2243
|
+
localVarQueryParameter['updatedBefore'] = (updatedBefore instanceof Date) ?
|
|
2244
|
+
updatedBefore.toISOString() :
|
|
2245
|
+
updatedBefore;
|
|
2246
|
+
}
|
|
2247
|
+
if (updatedAfter !== undefined) {
|
|
2248
|
+
localVarQueryParameter['updatedAfter'] = (updatedAfter instanceof Date) ?
|
|
2249
|
+
updatedAfter.toISOString() :
|
|
2250
|
+
updatedAfter;
|
|
2251
|
+
}
|
|
2184
2252
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2185
2253
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2186
2254
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2464,13 +2532,27 @@ const ProductsApiFp = function (configuration) {
|
|
|
2464
2532
|
* @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
|
|
2465
2533
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2466
2534
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2535
|
+
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
2536
|
+
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
2537
|
+
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
2538
|
+
* @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
|
|
2539
|
+
* @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
|
|
2540
|
+
* @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
|
|
2541
|
+
* @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
2542
|
+
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
2543
|
+
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
2544
|
+
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
2545
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
2546
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
2547
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
2548
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
2467
2549
|
* @param {*} [options] Override http request option.
|
|
2468
2550
|
* @throws {RequiredError}
|
|
2469
2551
|
*/
|
|
2470
|
-
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options) {
|
|
2552
|
+
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options) {
|
|
2471
2553
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2472
2554
|
var _a, _b, _c;
|
|
2473
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options);
|
|
2555
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options);
|
|
2474
2556
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2475
2557
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.listProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2476
2558
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2615,7 +2697,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2615
2697
|
* @throws {RequiredError}
|
|
2616
2698
|
*/
|
|
2617
2699
|
listProducts(requestParameters, options) {
|
|
2618
|
-
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
2700
|
+
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(axios, basePath));
|
|
2619
2701
|
},
|
|
2620
2702
|
/**
|
|
2621
2703
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -2732,7 +2814,7 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
2732
2814
|
* @throws {RequiredError}
|
|
2733
2815
|
*/
|
|
2734
2816
|
listProducts(requestParameters, options) {
|
|
2735
|
-
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
2817
|
+
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(this.axios, this.basePath));
|
|
2736
2818
|
}
|
|
2737
2819
|
/**
|
|
2738
2820
|
* AI SEO optimises products by a set of given IDs.
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog
|
|
6
6
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.91.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog
|
|
6
6
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.
|
|
8
|
+
* The version of the OpenAPI document: 1.91.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.91.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1199,6 +1199,7 @@ export interface Product {
|
|
|
1199
1199
|
* Whether the product is digital
|
|
1200
1200
|
*/
|
|
1201
1201
|
'isDigital'?: boolean;
|
|
1202
|
+
'analytics'?: ProductAnalytics;
|
|
1202
1203
|
}
|
|
1203
1204
|
export interface ProductAdditionalFilesInner {
|
|
1204
1205
|
/**
|
|
@@ -1210,6 +1211,31 @@ export interface ProductAdditionalFilesInner {
|
|
|
1210
1211
|
*/
|
|
1211
1212
|
'src'?: string;
|
|
1212
1213
|
}
|
|
1214
|
+
/**
|
|
1215
|
+
* Product analytics metrics. Only present when \'analytics\' is included in the fields query parameter.
|
|
1216
|
+
*/
|
|
1217
|
+
export interface ProductAnalytics {
|
|
1218
|
+
/**
|
|
1219
|
+
* Total revenue for this product within the date range
|
|
1220
|
+
*/
|
|
1221
|
+
'revenue'?: number;
|
|
1222
|
+
/**
|
|
1223
|
+
* Total number of sales for this product within the date range
|
|
1224
|
+
*/
|
|
1225
|
+
'sales'?: number;
|
|
1226
|
+
/**
|
|
1227
|
+
* Total page views for this product within the date range
|
|
1228
|
+
*/
|
|
1229
|
+
'traffic'?: number;
|
|
1230
|
+
/**
|
|
1231
|
+
* Conversion rate as a percentage (sales / traffic * 100)
|
|
1232
|
+
*/
|
|
1233
|
+
'conversionRate'?: number;
|
|
1234
|
+
/**
|
|
1235
|
+
* Basket rate as a percentage (cart adds / traffic * 100)
|
|
1236
|
+
*/
|
|
1237
|
+
'basketRate'?: number;
|
|
1238
|
+
}
|
|
1213
1239
|
export interface ProductAnalyticsResponse {
|
|
1214
1240
|
'analytics'?: Array<AnalyticsItem>;
|
|
1215
1241
|
}
|
|
@@ -3277,10 +3303,24 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
3277
3303
|
* @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
|
|
3278
3304
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3279
3305
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
3306
|
+
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
3307
|
+
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
3308
|
+
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
3309
|
+
* @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
|
|
3310
|
+
* @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
|
|
3311
|
+
* @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
|
|
3312
|
+
* @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
3313
|
+
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
3314
|
+
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
3315
|
+
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
3316
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
3317
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
3318
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
3319
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
3280
3320
|
* @param {*} [options] Override http request option.
|
|
3281
3321
|
* @throws {RequiredError}
|
|
3282
3322
|
*/
|
|
3283
|
-
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3323
|
+
listProducts: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, pageSize?: number, fields?: string, dateRangeStartDate?: string, dateRangeEndDate?: string, minimumRevenue?: number, maximumRevenue?: number, minimumSales?: number, maximumSales?: number, minimumBasketPercent?: number, maximumBasketPercent?: number, minimumTraffic?: number, maximumTraffic?: number, createdBefore?: string, createdAfter?: string, updatedBefore?: string, updatedAfter?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3284
3324
|
/**
|
|
3285
3325
|
* AI SEO optimises products by a set of given IDs.
|
|
3286
3326
|
* @summary AI SEO optimise products.
|
|
@@ -3397,10 +3437,24 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
3397
3437
|
* @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
|
|
3398
3438
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3399
3439
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
3440
|
+
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
3441
|
+
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
3442
|
+
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
3443
|
+
* @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
|
|
3444
|
+
* @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
|
|
3445
|
+
* @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
|
|
3446
|
+
* @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
3447
|
+
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
3448
|
+
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
3449
|
+
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
3450
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
3451
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
3452
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
3453
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
3400
3454
|
* @param {*} [options] Override http request option.
|
|
3401
3455
|
* @throws {RequiredError}
|
|
3402
3456
|
*/
|
|
3403
|
-
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, pageSize?: number, fields?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
3457
|
+
listProducts(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, start?: string, end?: string, dateFilterType?: ListProductsDateFilterTypeEnum, maxRetailPrice?: number, minRetailPrice?: number, pageSize?: number, fields?: string, dateRangeStartDate?: string, dateRangeEndDate?: string, minimumRevenue?: number, maximumRevenue?: number, minimumSales?: number, maximumSales?: number, minimumBasketPercent?: number, maximumBasketPercent?: number, minimumTraffic?: number, maximumTraffic?: number, createdBefore?: string, createdAfter?: string, updatedBefore?: string, updatedAfter?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductsResponse>>;
|
|
3404
3458
|
/**
|
|
3405
3459
|
* AI SEO optimises products by a set of given IDs.
|
|
3406
3460
|
* @summary AI SEO optimise products.
|
|
@@ -3683,6 +3737,62 @@ export interface ProductsApiListProductsRequest {
|
|
|
3683
3737
|
* Filter response fields to only include a subset of the resource.
|
|
3684
3738
|
*/
|
|
3685
3739
|
readonly fields?: string;
|
|
3740
|
+
/**
|
|
3741
|
+
* Start date for the date range filter (ISO 8601 format)
|
|
3742
|
+
*/
|
|
3743
|
+
readonly dateRangeStartDate?: string;
|
|
3744
|
+
/**
|
|
3745
|
+
* End date for the date range filter (ISO 8601 format)
|
|
3746
|
+
*/
|
|
3747
|
+
readonly dateRangeEndDate?: string;
|
|
3748
|
+
/**
|
|
3749
|
+
* Filter to only include products with total revenue greater than or equal to this amount
|
|
3750
|
+
*/
|
|
3751
|
+
readonly minimumRevenue?: number;
|
|
3752
|
+
/**
|
|
3753
|
+
* Filter to only include products with total revenue less than or equal to this amount
|
|
3754
|
+
*/
|
|
3755
|
+
readonly maximumRevenue?: number;
|
|
3756
|
+
/**
|
|
3757
|
+
* Filter to only include products with total sales greater than or equal to this number
|
|
3758
|
+
*/
|
|
3759
|
+
readonly minimumSales?: number;
|
|
3760
|
+
/**
|
|
3761
|
+
* Filter to only include products with total sales less than or equal to this number
|
|
3762
|
+
*/
|
|
3763
|
+
readonly maximumSales?: number;
|
|
3764
|
+
/**
|
|
3765
|
+
* Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
3766
|
+
*/
|
|
3767
|
+
readonly minimumBasketPercent?: number;
|
|
3768
|
+
/**
|
|
3769
|
+
* Filter to only include products where the average basket percentage is less than or equal to this value
|
|
3770
|
+
*/
|
|
3771
|
+
readonly maximumBasketPercent?: number;
|
|
3772
|
+
/**
|
|
3773
|
+
* Filter to only include products with total traffic greater than or equal to this number
|
|
3774
|
+
*/
|
|
3775
|
+
readonly minimumTraffic?: number;
|
|
3776
|
+
/**
|
|
3777
|
+
* Filter to only include products with total traffic less than or equal to this number
|
|
3778
|
+
*/
|
|
3779
|
+
readonly maximumTraffic?: number;
|
|
3780
|
+
/**
|
|
3781
|
+
* Filter to only include products created before the given date
|
|
3782
|
+
*/
|
|
3783
|
+
readonly createdBefore?: string;
|
|
3784
|
+
/**
|
|
3785
|
+
* Filter to only include products created after the given date
|
|
3786
|
+
*/
|
|
3787
|
+
readonly createdAfter?: string;
|
|
3788
|
+
/**
|
|
3789
|
+
* Filter to only include products updated before the given date
|
|
3790
|
+
*/
|
|
3791
|
+
readonly updatedBefore?: string;
|
|
3792
|
+
/**
|
|
3793
|
+
* Filter to only include products updated after the given date
|
|
3794
|
+
*/
|
|
3795
|
+
readonly updatedAfter?: string;
|
|
3686
3796
|
}
|
|
3687
3797
|
/**
|
|
3688
3798
|
* Request parameters for seoOptimiseProducts operation in ProductsApi.
|
package/dist/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.91.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2095,10 +2095,24 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2095
2095
|
* @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
|
|
2096
2096
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2097
2097
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2098
|
+
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
2099
|
+
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
2100
|
+
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
2101
|
+
* @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
|
|
2102
|
+
* @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
|
|
2103
|
+
* @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
|
|
2104
|
+
* @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
2105
|
+
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
2106
|
+
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
2107
|
+
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
2108
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
2109
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
2110
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
2111
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
2098
2112
|
* @param {*} [options] Override http request option.
|
|
2099
2113
|
* @throws {RequiredError}
|
|
2100
2114
|
*/
|
|
2101
|
-
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options = {}) {
|
|
2115
|
+
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, pageSize_1, fields_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, createdBefore_1, createdAfter_1, updatedBefore_1, updatedAfter_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options = {}) {
|
|
2102
2116
|
// verify required parameter 'project' is not null or undefined
|
|
2103
2117
|
assertParamExists('listProducts', 'project', project);
|
|
2104
2118
|
const localVarPath = `/v1/catalog/products`;
|
|
@@ -2153,6 +2167,60 @@ export const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
2153
2167
|
if (fields !== undefined) {
|
|
2154
2168
|
localVarQueryParameter['fields'] = fields;
|
|
2155
2169
|
}
|
|
2170
|
+
if (dateRangeStartDate !== undefined) {
|
|
2171
|
+
localVarQueryParameter['dateRangeStartDate'] = (dateRangeStartDate instanceof Date) ?
|
|
2172
|
+
dateRangeStartDate.toISOString() :
|
|
2173
|
+
dateRangeStartDate;
|
|
2174
|
+
}
|
|
2175
|
+
if (dateRangeEndDate !== undefined) {
|
|
2176
|
+
localVarQueryParameter['dateRangeEndDate'] = (dateRangeEndDate instanceof Date) ?
|
|
2177
|
+
dateRangeEndDate.toISOString() :
|
|
2178
|
+
dateRangeEndDate;
|
|
2179
|
+
}
|
|
2180
|
+
if (minimumRevenue !== undefined) {
|
|
2181
|
+
localVarQueryParameter['minimumRevenue'] = minimumRevenue;
|
|
2182
|
+
}
|
|
2183
|
+
if (maximumRevenue !== undefined) {
|
|
2184
|
+
localVarQueryParameter['maximumRevenue'] = maximumRevenue;
|
|
2185
|
+
}
|
|
2186
|
+
if (minimumSales !== undefined) {
|
|
2187
|
+
localVarQueryParameter['minimumSales'] = minimumSales;
|
|
2188
|
+
}
|
|
2189
|
+
if (maximumSales !== undefined) {
|
|
2190
|
+
localVarQueryParameter['maximumSales'] = maximumSales;
|
|
2191
|
+
}
|
|
2192
|
+
if (minimumBasketPercent !== undefined) {
|
|
2193
|
+
localVarQueryParameter['minimumBasketPercent'] = minimumBasketPercent;
|
|
2194
|
+
}
|
|
2195
|
+
if (maximumBasketPercent !== undefined) {
|
|
2196
|
+
localVarQueryParameter['maximumBasketPercent'] = maximumBasketPercent;
|
|
2197
|
+
}
|
|
2198
|
+
if (minimumTraffic !== undefined) {
|
|
2199
|
+
localVarQueryParameter['minimumTraffic'] = minimumTraffic;
|
|
2200
|
+
}
|
|
2201
|
+
if (maximumTraffic !== undefined) {
|
|
2202
|
+
localVarQueryParameter['maximumTraffic'] = maximumTraffic;
|
|
2203
|
+
}
|
|
2204
|
+
if (createdBefore !== undefined) {
|
|
2205
|
+
localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
|
|
2206
|
+
createdBefore.toISOString() :
|
|
2207
|
+
createdBefore;
|
|
2208
|
+
}
|
|
2209
|
+
if (createdAfter !== undefined) {
|
|
2210
|
+
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
2211
|
+
createdAfter.toISOString() :
|
|
2212
|
+
createdAfter;
|
|
2213
|
+
}
|
|
2214
|
+
if (updatedBefore !== undefined) {
|
|
2215
|
+
localVarQueryParameter['updatedBefore'] = (updatedBefore instanceof Date) ?
|
|
2216
|
+
updatedBefore.toISOString() :
|
|
2217
|
+
updatedBefore;
|
|
2218
|
+
}
|
|
2219
|
+
if (updatedAfter !== undefined) {
|
|
2220
|
+
localVarQueryParameter['updatedAfter'] = (updatedAfter instanceof Date) ?
|
|
2221
|
+
updatedAfter.toISOString() :
|
|
2222
|
+
updatedAfter;
|
|
2223
|
+
}
|
|
2156
2224
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2157
2225
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2158
2226
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2435,13 +2503,27 @@ export const ProductsApiFp = function (configuration) {
|
|
|
2435
2503
|
* @param {number} [minRetailPrice] Specify the minimum retail price to filter by. Products will be included so long as either at least one variant or the product itself (in the case of bundles) has a retail price greater than or equal to the specified value.
|
|
2436
2504
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2437
2505
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
2506
|
+
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
2507
|
+
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
2508
|
+
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
2509
|
+
* @param {number} [maximumRevenue] Filter to only include products with total revenue less than or equal to this amount
|
|
2510
|
+
* @param {number} [minimumSales] Filter to only include products with total sales greater than or equal to this number
|
|
2511
|
+
* @param {number} [maximumSales] Filter to only include products with total sales less than or equal to this number
|
|
2512
|
+
* @param {number} [minimumBasketPercent] Filter to only include products where the average basket percentage is greater than or equal to this value
|
|
2513
|
+
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
2514
|
+
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
2515
|
+
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
2516
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
2517
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
2518
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
2519
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
2438
2520
|
* @param {*} [options] Override http request option.
|
|
2439
2521
|
* @throws {RequiredError}
|
|
2440
2522
|
*/
|
|
2441
|
-
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options) {
|
|
2523
|
+
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options) {
|
|
2442
2524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2443
2525
|
var _a, _b, _c;
|
|
2444
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options);
|
|
2526
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options);
|
|
2445
2527
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2446
2528
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductsApi.listProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2447
2529
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2585,7 +2667,7 @@ export const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2585
2667
|
* @throws {RequiredError}
|
|
2586
2668
|
*/
|
|
2587
2669
|
listProducts(requestParameters, options) {
|
|
2588
|
-
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
2670
|
+
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(axios, basePath));
|
|
2589
2671
|
},
|
|
2590
2672
|
/**
|
|
2591
2673
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -2701,7 +2783,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
2701
2783
|
* @throws {RequiredError}
|
|
2702
2784
|
*/
|
|
2703
2785
|
listProducts(requestParameters, options) {
|
|
2704
|
-
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
2786
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, requestParameters.pageSize, requestParameters.fields, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, requestParameters.createdBefore, requestParameters.createdAfter, requestParameters.updatedBefore, requestParameters.updatedAfter, options).then((request) => request(this.axios, this.basePath));
|
|
2705
2787
|
}
|
|
2706
2788
|
/**
|
|
2707
2789
|
* AI SEO optimises products by a set of given IDs.
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.91.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.91.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Product Catalog
|
|
4
4
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 1.
|
|
6
|
+
* The version of the OpenAPI document: 1.91.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog
|
|
5
5
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.
|
|
7
|
+
* The version of the OpenAPI document: 1.91.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog
|
|
3
3
|
* Manage your Product Catalog. A catalog product is an object that represents a product listing that can be purchased from the given project. It contains a combination of design applications and a product from the GFN Catalog, plus listing information such as title, description and tags.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.91.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|