@teemill/product-catalog 1.86.0 → 1.87.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/README.md +6 -2
- package/api.ts +266 -17
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +144 -11
- package/dist/api.js +178 -17
- 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 +144 -11
- package/dist/esm/api.js +172 -15
- 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/ProductAnalyticsApi.md +30 -6
- package/docs/ProductCreatorsApi.md +63 -0
- package/docs/UserList.md +20 -0
- package/docs/UserListCreatorsInner.md +24 -0
- package/docs/UserListCreatorsInnerAvatar.md +22 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Product Catalog API
|
|
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 warehouse product, 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.87.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.VariantsApi = void 0;
|
|
25
|
+
exports.ExportProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductTypesApi = exports.ProductTypesApiFactory = exports.ProductTypesApiFp = exports.ProductTypesApiAxiosParamCreator = exports.ProductCreatorsApi = exports.ProductCreatorsApiFactory = exports.ProductCreatorsApiFp = exports.ProductCreatorsApiAxiosParamCreator = exports.ProductAnalyticsApi = exports.ProductAnalyticsApiFactory = exports.ProductAnalyticsApiFp = exports.ProductAnalyticsApiAxiosParamCreator = exports.ApplicationTechnologiesApi = exports.ApplicationTechnologiesApiFactory = exports.ApplicationTechnologiesApiFp = exports.ApplicationTechnologiesApiAxiosParamCreator = exports.ApplicationSetsApi = exports.ApplicationSetsApiFactory = exports.ApplicationSetsApiFp = exports.ApplicationSetsApiAxiosParamCreator = exports.ApplicationGroupsApi = exports.ApplicationGroupsApiFactory = exports.ApplicationGroupsApiFp = exports.ApplicationGroupsApiAxiosParamCreator = exports.UpdateProductsRequestProductsInnerVariantsInnerSalePriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerRetailPriceCurrencyCodeEnum = exports.UpdateProductsRequestProductsInnerVariantsInnerAttributesInnerNameEnum = exports.TextApplicationPropertiesPersonalizationTypeEnum = exports.TextApplicationPropertiesFontStyleEnum = exports.TextApplicationPropertiesFontWeightEnum = exports.SalePriceCurrencyCodeEnum = exports.RequiredPriceCurrencyCodeEnum = exports.RecommendationPriorityEnum = exports.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = exports.ActionImpactEnum = void 0;
|
|
26
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -1130,7 +1130,7 @@ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1130
1130
|
* @summary Export product analytics
|
|
1131
1131
|
* @param {string} project What project it is
|
|
1132
1132
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1133
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'
|
|
1133
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'productType:<id>\', \'Multiple filters can be combined with spaces and commas.\'
|
|
1134
1134
|
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
1135
1135
|
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
1136
1136
|
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
@@ -1141,10 +1141,14 @@ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1141
1141
|
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
1142
1142
|
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
1143
1143
|
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
1144
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
1145
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
1146
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
1147
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
1144
1148
|
* @param {*} [options] Override http request option.
|
|
1145
1149
|
* @throws {RequiredError}
|
|
1146
1150
|
*/
|
|
1147
|
-
exportProductAnalytics: (project_1, sortBy_1, search_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1) => __awaiter(this, [project_1, sortBy_1, search_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1], void 0, function* (project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options = {}) {
|
|
1151
|
+
exportProductAnalytics: (project_1, sortBy_1, search_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, sortBy_1, search_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, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options = {}) {
|
|
1148
1152
|
// verify required parameter 'project' is not null or undefined
|
|
1149
1153
|
(0, common_1.assertParamExists)('exportProductAnalytics', 'project', project);
|
|
1150
1154
|
const localVarPath = `/v1/catalog/analytics/export`;
|
|
@@ -1205,6 +1209,26 @@ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1205
1209
|
if (maximumTraffic !== undefined) {
|
|
1206
1210
|
localVarQueryParameter['maximumTraffic'] = maximumTraffic;
|
|
1207
1211
|
}
|
|
1212
|
+
if (createdBefore !== undefined) {
|
|
1213
|
+
localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
|
|
1214
|
+
createdBefore.toISOString() :
|
|
1215
|
+
createdBefore;
|
|
1216
|
+
}
|
|
1217
|
+
if (createdAfter !== undefined) {
|
|
1218
|
+
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
1219
|
+
createdAfter.toISOString() :
|
|
1220
|
+
createdAfter;
|
|
1221
|
+
}
|
|
1222
|
+
if (updatedBefore !== undefined) {
|
|
1223
|
+
localVarQueryParameter['updatedBefore'] = (updatedBefore instanceof Date) ?
|
|
1224
|
+
updatedBefore.toISOString() :
|
|
1225
|
+
updatedBefore;
|
|
1226
|
+
}
|
|
1227
|
+
if (updatedAfter !== undefined) {
|
|
1228
|
+
localVarQueryParameter['updatedAfter'] = (updatedAfter instanceof Date) ?
|
|
1229
|
+
updatedAfter.toISOString() :
|
|
1230
|
+
updatedAfter;
|
|
1231
|
+
}
|
|
1208
1232
|
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
1209
1233
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1210
1234
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1257,7 +1281,7 @@ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1257
1281
|
* @param {string} project What project it is
|
|
1258
1282
|
* @param {number} [pageToken] Page reference token
|
|
1259
1283
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1260
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'
|
|
1284
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'productType:<id>\', \'Multiple filters can be combined with spaces and commas.\'
|
|
1261
1285
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1262
1286
|
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
1263
1287
|
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
@@ -1269,10 +1293,14 @@ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1269
1293
|
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
1270
1294
|
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
1271
1295
|
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
1296
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
1297
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
1298
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
1299
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
1272
1300
|
* @param {*} [options] Override http request option.
|
|
1273
1301
|
* @throws {RequiredError}
|
|
1274
1302
|
*/
|
|
1275
|
-
listProductAnalytics: (project_1, pageToken_1, pageSize_1, search_1, sortBy_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, sortBy_1, dateRangeStartDate_1, dateRangeEndDate_1, minimumRevenue_1, maximumRevenue_1, minimumSales_1, maximumSales_1, minimumBasketPercent_1, maximumBasketPercent_1, minimumTraffic_1, maximumTraffic_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options = {}) {
|
|
1303
|
+
listProductAnalytics: (project_1, pageToken_1, pageSize_1, search_1, sortBy_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, pageSize_1, search_1, sortBy_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, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options = {}) {
|
|
1276
1304
|
// verify required parameter 'project' is not null or undefined
|
|
1277
1305
|
(0, common_1.assertParamExists)('listProductAnalytics', 'project', project);
|
|
1278
1306
|
const localVarPath = `/v1/catalog/analytics`;
|
|
@@ -1339,6 +1367,26 @@ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
|
1339
1367
|
if (maximumTraffic !== undefined) {
|
|
1340
1368
|
localVarQueryParameter['maximumTraffic'] = maximumTraffic;
|
|
1341
1369
|
}
|
|
1370
|
+
if (createdBefore !== undefined) {
|
|
1371
|
+
localVarQueryParameter['createdBefore'] = (createdBefore instanceof Date) ?
|
|
1372
|
+
createdBefore.toISOString() :
|
|
1373
|
+
createdBefore;
|
|
1374
|
+
}
|
|
1375
|
+
if (createdAfter !== undefined) {
|
|
1376
|
+
localVarQueryParameter['createdAfter'] = (createdAfter instanceof Date) ?
|
|
1377
|
+
createdAfter.toISOString() :
|
|
1378
|
+
createdAfter;
|
|
1379
|
+
}
|
|
1380
|
+
if (updatedBefore !== undefined) {
|
|
1381
|
+
localVarQueryParameter['updatedBefore'] = (updatedBefore instanceof Date) ?
|
|
1382
|
+
updatedBefore.toISOString() :
|
|
1383
|
+
updatedBefore;
|
|
1384
|
+
}
|
|
1385
|
+
if (updatedAfter !== undefined) {
|
|
1386
|
+
localVarQueryParameter['updatedAfter'] = (updatedAfter instanceof Date) ?
|
|
1387
|
+
updatedAfter.toISOString() :
|
|
1388
|
+
updatedAfter;
|
|
1389
|
+
}
|
|
1342
1390
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1343
1391
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1344
1392
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1362,7 +1410,7 @@ const ProductAnalyticsApiFp = function (configuration) {
|
|
|
1362
1410
|
* @summary Export product analytics
|
|
1363
1411
|
* @param {string} project What project it is
|
|
1364
1412
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1365
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'
|
|
1413
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'productType:<id>\', \'Multiple filters can be combined with spaces and commas.\'
|
|
1366
1414
|
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
1367
1415
|
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
1368
1416
|
* @param {number} [minimumRevenue] Filter to only include products with total revenue greater than or equal to this amount
|
|
@@ -1373,13 +1421,17 @@ const ProductAnalyticsApiFp = function (configuration) {
|
|
|
1373
1421
|
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
1374
1422
|
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
1375
1423
|
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
1424
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
1425
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
1426
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
1427
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
1376
1428
|
* @param {*} [options] Override http request option.
|
|
1377
1429
|
* @throws {RequiredError}
|
|
1378
1430
|
*/
|
|
1379
|
-
exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options) {
|
|
1431
|
+
exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options) {
|
|
1380
1432
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1381
1433
|
var _a, _b, _c;
|
|
1382
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options);
|
|
1434
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProductAnalytics(project, sortBy, search, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options);
|
|
1383
1435
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1384
1436
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductAnalyticsApi.exportProductAnalytics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1385
1437
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1407,7 +1459,7 @@ const ProductAnalyticsApiFp = function (configuration) {
|
|
|
1407
1459
|
* @param {string} project What project it is
|
|
1408
1460
|
* @param {number} [pageToken] Page reference token
|
|
1409
1461
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1410
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'
|
|
1462
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'productType:<id>\', \'Multiple filters can be combined with spaces and commas.\'
|
|
1411
1463
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1412
1464
|
* @param {string} [dateRangeStartDate] Start date for the date range filter (ISO 8601 format)
|
|
1413
1465
|
* @param {string} [dateRangeEndDate] End date for the date range filter (ISO 8601 format)
|
|
@@ -1419,13 +1471,17 @@ const ProductAnalyticsApiFp = function (configuration) {
|
|
|
1419
1471
|
* @param {number} [maximumBasketPercent] Filter to only include products where the average basket percentage is less than or equal to this value
|
|
1420
1472
|
* @param {number} [minimumTraffic] Filter to only include products with total traffic greater than or equal to this number
|
|
1421
1473
|
* @param {number} [maximumTraffic] Filter to only include products with total traffic less than or equal to this number
|
|
1474
|
+
* @param {string} [createdBefore] Filter to only include products created before the given date
|
|
1475
|
+
* @param {string} [createdAfter] Filter to only include products created after the given date
|
|
1476
|
+
* @param {string} [updatedBefore] Filter to only include products updated before the given date
|
|
1477
|
+
* @param {string} [updatedAfter] Filter to only include products updated after the given date
|
|
1422
1478
|
* @param {*} [options] Override http request option.
|
|
1423
1479
|
* @throws {RequiredError}
|
|
1424
1480
|
*/
|
|
1425
|
-
listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options) {
|
|
1481
|
+
listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options) {
|
|
1426
1482
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1427
1483
|
var _a, _b, _c;
|
|
1428
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, options);
|
|
1484
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductAnalytics(project, pageToken, pageSize, search, sortBy, dateRangeStartDate, dateRangeEndDate, minimumRevenue, maximumRevenue, minimumSales, maximumSales, minimumBasketPercent, maximumBasketPercent, minimumTraffic, maximumTraffic, createdBefore, createdAfter, updatedBefore, updatedAfter, options);
|
|
1429
1485
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1430
1486
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductAnalyticsApi.listProductAnalytics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1431
1487
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1448,7 +1504,7 @@ const ProductAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
1448
1504
|
* @throws {RequiredError}
|
|
1449
1505
|
*/
|
|
1450
1506
|
exportProductAnalytics(requestParameters, options) {
|
|
1451
|
-
return localVarFp.exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(axios, basePath));
|
|
1507
|
+
return localVarFp.exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, 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));
|
|
1452
1508
|
},
|
|
1453
1509
|
/**
|
|
1454
1510
|
* Get the AI-generated summary of the product analytics for the given project.
|
|
@@ -1468,7 +1524,7 @@ const ProductAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
|
1468
1524
|
* @throws {RequiredError}
|
|
1469
1525
|
*/
|
|
1470
1526
|
listProductAnalytics(requestParameters, options) {
|
|
1471
|
-
return localVarFp.listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(axios, basePath));
|
|
1527
|
+
return localVarFp.listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, 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));
|
|
1472
1528
|
},
|
|
1473
1529
|
};
|
|
1474
1530
|
};
|
|
@@ -1485,7 +1541,7 @@ class ProductAnalyticsApi extends base_1.BaseAPI {
|
|
|
1485
1541
|
* @throws {RequiredError}
|
|
1486
1542
|
*/
|
|
1487
1543
|
exportProductAnalytics(requestParameters, options) {
|
|
1488
|
-
return (0, exports.ProductAnalyticsApiFp)(this.configuration).exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(this.axios, this.basePath));
|
|
1544
|
+
return (0, exports.ProductAnalyticsApiFp)(this.configuration).exportProductAnalytics(requestParameters.project, requestParameters.sortBy, requestParameters.search, 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));
|
|
1489
1545
|
}
|
|
1490
1546
|
/**
|
|
1491
1547
|
* Get the AI-generated summary of the product analytics for the given project.
|
|
@@ -1505,10 +1561,115 @@ class ProductAnalyticsApi extends base_1.BaseAPI {
|
|
|
1505
1561
|
* @throws {RequiredError}
|
|
1506
1562
|
*/
|
|
1507
1563
|
listProductAnalytics(requestParameters, options) {
|
|
1508
|
-
return (0, exports.ProductAnalyticsApiFp)(this.configuration).listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.dateRangeStartDate, requestParameters.dateRangeEndDate, requestParameters.minimumRevenue, requestParameters.maximumRevenue, requestParameters.minimumSales, requestParameters.maximumSales, requestParameters.minimumBasketPercent, requestParameters.maximumBasketPercent, requestParameters.minimumTraffic, requestParameters.maximumTraffic, options).then((request) => request(this.axios, this.basePath));
|
|
1564
|
+
return (0, exports.ProductAnalyticsApiFp)(this.configuration).listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, 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));
|
|
1509
1565
|
}
|
|
1510
1566
|
}
|
|
1511
1567
|
exports.ProductAnalyticsApi = ProductAnalyticsApi;
|
|
1568
|
+
/**
|
|
1569
|
+
* ProductCreatorsApi - axios parameter creator
|
|
1570
|
+
*/
|
|
1571
|
+
const ProductCreatorsApiAxiosParamCreator = function (configuration) {
|
|
1572
|
+
return {
|
|
1573
|
+
/**
|
|
1574
|
+
* Lists all the unique users that have created products for the given project.
|
|
1575
|
+
* @summary List product creators
|
|
1576
|
+
* @param {string} project What project it is
|
|
1577
|
+
* @param {*} [options] Override http request option.
|
|
1578
|
+
* @throws {RequiredError}
|
|
1579
|
+
*/
|
|
1580
|
+
listProductCreators: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1581
|
+
// verify required parameter 'project' is not null or undefined
|
|
1582
|
+
(0, common_1.assertParamExists)('listProductCreators', 'project', project);
|
|
1583
|
+
const localVarPath = `/v1/catalog/creators`;
|
|
1584
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1585
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1586
|
+
let baseOptions;
|
|
1587
|
+
if (configuration) {
|
|
1588
|
+
baseOptions = configuration.baseOptions;
|
|
1589
|
+
}
|
|
1590
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1591
|
+
const localVarHeaderParameter = {};
|
|
1592
|
+
const localVarQueryParameter = {};
|
|
1593
|
+
// authentication session-oauth required
|
|
1594
|
+
// oauth required
|
|
1595
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1596
|
+
// authentication api-key required
|
|
1597
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1598
|
+
if (project !== undefined) {
|
|
1599
|
+
localVarQueryParameter['project'] = project;
|
|
1600
|
+
}
|
|
1601
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1602
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1603
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1604
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1605
|
+
return {
|
|
1606
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1607
|
+
options: localVarRequestOptions,
|
|
1608
|
+
};
|
|
1609
|
+
}),
|
|
1610
|
+
};
|
|
1611
|
+
};
|
|
1612
|
+
exports.ProductCreatorsApiAxiosParamCreator = ProductCreatorsApiAxiosParamCreator;
|
|
1613
|
+
/**
|
|
1614
|
+
* ProductCreatorsApi - functional programming interface
|
|
1615
|
+
*/
|
|
1616
|
+
const ProductCreatorsApiFp = function (configuration) {
|
|
1617
|
+
const localVarAxiosParamCreator = (0, exports.ProductCreatorsApiAxiosParamCreator)(configuration);
|
|
1618
|
+
return {
|
|
1619
|
+
/**
|
|
1620
|
+
* Lists all the unique users that have created products for the given project.
|
|
1621
|
+
* @summary List product creators
|
|
1622
|
+
* @param {string} project What project it is
|
|
1623
|
+
* @param {*} [options] Override http request option.
|
|
1624
|
+
* @throws {RequiredError}
|
|
1625
|
+
*/
|
|
1626
|
+
listProductCreators(project, options) {
|
|
1627
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1628
|
+
var _a, _b, _c;
|
|
1629
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductCreators(project, options);
|
|
1630
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1631
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductCreatorsApi.listProductCreators']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1632
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1633
|
+
});
|
|
1634
|
+
},
|
|
1635
|
+
};
|
|
1636
|
+
};
|
|
1637
|
+
exports.ProductCreatorsApiFp = ProductCreatorsApiFp;
|
|
1638
|
+
/**
|
|
1639
|
+
* ProductCreatorsApi - factory interface
|
|
1640
|
+
*/
|
|
1641
|
+
const ProductCreatorsApiFactory = function (configuration, basePath, axios) {
|
|
1642
|
+
const localVarFp = (0, exports.ProductCreatorsApiFp)(configuration);
|
|
1643
|
+
return {
|
|
1644
|
+
/**
|
|
1645
|
+
* Lists all the unique users that have created products for the given project.
|
|
1646
|
+
* @summary List product creators
|
|
1647
|
+
* @param {ProductCreatorsApiListProductCreatorsRequest} requestParameters Request parameters.
|
|
1648
|
+
* @param {*} [options] Override http request option.
|
|
1649
|
+
* @throws {RequiredError}
|
|
1650
|
+
*/
|
|
1651
|
+
listProductCreators(requestParameters, options) {
|
|
1652
|
+
return localVarFp.listProductCreators(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1653
|
+
},
|
|
1654
|
+
};
|
|
1655
|
+
};
|
|
1656
|
+
exports.ProductCreatorsApiFactory = ProductCreatorsApiFactory;
|
|
1657
|
+
/**
|
|
1658
|
+
* ProductCreatorsApi - object-oriented interface
|
|
1659
|
+
*/
|
|
1660
|
+
class ProductCreatorsApi extends base_1.BaseAPI {
|
|
1661
|
+
/**
|
|
1662
|
+
* Lists all the unique users that have created products for the given project.
|
|
1663
|
+
* @summary List product creators
|
|
1664
|
+
* @param {ProductCreatorsApiListProductCreatorsRequest} requestParameters Request parameters.
|
|
1665
|
+
* @param {*} [options] Override http request option.
|
|
1666
|
+
* @throws {RequiredError}
|
|
1667
|
+
*/
|
|
1668
|
+
listProductCreators(requestParameters, options) {
|
|
1669
|
+
return (0, exports.ProductCreatorsApiFp)(this.configuration).listProductCreators(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1670
|
+
}
|
|
1671
|
+
}
|
|
1672
|
+
exports.ProductCreatorsApi = ProductCreatorsApi;
|
|
1512
1673
|
/**
|
|
1513
1674
|
* ProductTypesApi - axios parameter creator
|
|
1514
1675
|
*/
|
package/dist/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog API
|
|
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 warehouse product, 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.87.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 API
|
|
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 warehouse product, 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.87.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 API
|
|
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 warehouse product, 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.87.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 API
|
|
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 warehouse product, 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.87.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 API
|
|
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 warehouse product, 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.87.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 API
|
|
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 warehouse product, 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.87.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|