@teemill/product-catalog 1.83.1 → 1.84.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 +368 -23
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +201 -17
- package/dist/api.js +256 -20
- 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 +201 -17
- package/dist/esm/api.js +251 -19
- 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/ApplicationSetsApi.md +2 -2
- package/docs/ProductAnalyticsApi.md +58 -2
- package/docs/ProductType.md +22 -0
- package/docs/ProductTypeListResponse.md +22 -0
- package/docs/ProductTypesApi.md +69 -0
- package/docs/ProductsApi.md +27 -3
- package/docs/VariantsApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +2 -2
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.84.0
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = 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.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
25
|
+
exports.VariantsApi = exports.VariantsApiFactory = exports.VariantsApiFp = exports.VariantsApiAxiosParamCreator = exports.ListProductsDateFilterTypeEnum = exports.ExportProductsDateFilterTypeEnum = exports.ProductsApi = exports.ProductsApiFactory = exports.ProductsApiFp = exports.ProductsApiAxiosParamCreator = exports.ProductTypesApi = exports.ProductTypesApiFactory = exports.ProductTypesApiFp = exports.ProductTypesApiAxiosParamCreator = 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.PriceCurrencyCodeEnum = exports.CreateApplicationPropertiesFontStyleEnum = exports.CreateApplicationPropertiesFontWeightEnum = exports.CreateApplicationPlacementEnum = exports.CreateApplicationTechnologyEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPropertiesPropertiesFontStyleEnum = exports.ApplicationPropertiesPropertiesFontWeightEnum = exports.ApplicationPropertiesPersonalizationRulesFitEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -701,7 +701,7 @@ const ApplicationSetsApiAxiosParamCreator = function (configuration) {
|
|
|
701
701
|
* @summary List application sets
|
|
702
702
|
* @param {string} project What project it is
|
|
703
703
|
* @param {number} [pageToken] Page reference token
|
|
704
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
704
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
705
705
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
706
706
|
* @param {*} [options] Override http request option.
|
|
707
707
|
* @throws {RequiredError}
|
|
@@ -854,7 +854,7 @@ const ApplicationSetsApiFp = function (configuration) {
|
|
|
854
854
|
* @summary List application sets
|
|
855
855
|
* @param {string} project What project it is
|
|
856
856
|
* @param {number} [pageToken] Page reference token
|
|
857
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
857
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
858
858
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
859
859
|
* @param {*} [options] Override http request option.
|
|
860
860
|
* @throws {RequiredError}
|
|
@@ -1114,12 +1114,49 @@ exports.ApplicationTechnologiesApi = ApplicationTechnologiesApi;
|
|
|
1114
1114
|
*/
|
|
1115
1115
|
const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
|
|
1116
1116
|
return {
|
|
1117
|
+
/**
|
|
1118
|
+
* Exports all products with analytics data in a CSV file.
|
|
1119
|
+
* @summary Export product analytics
|
|
1120
|
+
* @param {string} project What project it is
|
|
1121
|
+
* @param {*} [options] Override http request option.
|
|
1122
|
+
* @throws {RequiredError}
|
|
1123
|
+
*/
|
|
1124
|
+
exportProductAnalytics: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1125
|
+
// verify required parameter 'project' is not null or undefined
|
|
1126
|
+
(0, common_1.assertParamExists)('exportProductAnalytics', 'project', project);
|
|
1127
|
+
const localVarPath = `/v1/catalog/analytics/export`;
|
|
1128
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1129
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1130
|
+
let baseOptions;
|
|
1131
|
+
if (configuration) {
|
|
1132
|
+
baseOptions = configuration.baseOptions;
|
|
1133
|
+
}
|
|
1134
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1135
|
+
const localVarHeaderParameter = {};
|
|
1136
|
+
const localVarQueryParameter = {};
|
|
1137
|
+
// authentication session-oauth required
|
|
1138
|
+
// oauth required
|
|
1139
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1140
|
+
// authentication api-key required
|
|
1141
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1142
|
+
if (project !== undefined) {
|
|
1143
|
+
localVarQueryParameter['project'] = project;
|
|
1144
|
+
}
|
|
1145
|
+
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
1146
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1147
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1148
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1149
|
+
return {
|
|
1150
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1151
|
+
options: localVarRequestOptions,
|
|
1152
|
+
};
|
|
1153
|
+
}),
|
|
1117
1154
|
/**
|
|
1118
1155
|
* Lists all product analytics items.
|
|
1119
1156
|
* @summary List product analytics
|
|
1120
1157
|
* @param {string} project What project it is
|
|
1121
1158
|
* @param {number} [pageToken] Page reference token
|
|
1122
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
1159
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
1123
1160
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1124
1161
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1125
1162
|
* @param {*} [options] Override http request option.
|
|
@@ -1176,12 +1213,28 @@ exports.ProductAnalyticsApiAxiosParamCreator = ProductAnalyticsApiAxiosParamCrea
|
|
|
1176
1213
|
const ProductAnalyticsApiFp = function (configuration) {
|
|
1177
1214
|
const localVarAxiosParamCreator = (0, exports.ProductAnalyticsApiAxiosParamCreator)(configuration);
|
|
1178
1215
|
return {
|
|
1216
|
+
/**
|
|
1217
|
+
* Exports all products with analytics data in a CSV file.
|
|
1218
|
+
* @summary Export product analytics
|
|
1219
|
+
* @param {string} project What project it is
|
|
1220
|
+
* @param {*} [options] Override http request option.
|
|
1221
|
+
* @throws {RequiredError}
|
|
1222
|
+
*/
|
|
1223
|
+
exportProductAnalytics(project, options) {
|
|
1224
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1225
|
+
var _a, _b, _c;
|
|
1226
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProductAnalytics(project, options);
|
|
1227
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1228
|
+
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;
|
|
1229
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1230
|
+
});
|
|
1231
|
+
},
|
|
1179
1232
|
/**
|
|
1180
1233
|
* Lists all product analytics items.
|
|
1181
1234
|
* @summary List product analytics
|
|
1182
1235
|
* @param {string} project What project it is
|
|
1183
1236
|
* @param {number} [pageToken] Page reference token
|
|
1184
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
1237
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
1185
1238
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1186
1239
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1187
1240
|
* @param {*} [options] Override http request option.
|
|
@@ -1205,6 +1258,16 @@ exports.ProductAnalyticsApiFp = ProductAnalyticsApiFp;
|
|
|
1205
1258
|
const ProductAnalyticsApiFactory = function (configuration, basePath, axios) {
|
|
1206
1259
|
const localVarFp = (0, exports.ProductAnalyticsApiFp)(configuration);
|
|
1207
1260
|
return {
|
|
1261
|
+
/**
|
|
1262
|
+
* Exports all products with analytics data in a CSV file.
|
|
1263
|
+
* @summary Export product analytics
|
|
1264
|
+
* @param {ProductAnalyticsApiExportProductAnalyticsRequest} requestParameters Request parameters.
|
|
1265
|
+
* @param {*} [options] Override http request option.
|
|
1266
|
+
* @throws {RequiredError}
|
|
1267
|
+
*/
|
|
1268
|
+
exportProductAnalytics(requestParameters, options) {
|
|
1269
|
+
return localVarFp.exportProductAnalytics(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1270
|
+
},
|
|
1208
1271
|
/**
|
|
1209
1272
|
* Lists all product analytics items.
|
|
1210
1273
|
* @summary List product analytics
|
|
@@ -1222,6 +1285,16 @@ exports.ProductAnalyticsApiFactory = ProductAnalyticsApiFactory;
|
|
|
1222
1285
|
* ProductAnalyticsApi - object-oriented interface
|
|
1223
1286
|
*/
|
|
1224
1287
|
class ProductAnalyticsApi extends base_1.BaseAPI {
|
|
1288
|
+
/**
|
|
1289
|
+
* Exports all products with analytics data in a CSV file.
|
|
1290
|
+
* @summary Export product analytics
|
|
1291
|
+
* @param {ProductAnalyticsApiExportProductAnalyticsRequest} requestParameters Request parameters.
|
|
1292
|
+
* @param {*} [options] Override http request option.
|
|
1293
|
+
* @throws {RequiredError}
|
|
1294
|
+
*/
|
|
1295
|
+
exportProductAnalytics(requestParameters, options) {
|
|
1296
|
+
return (0, exports.ProductAnalyticsApiFp)(this.configuration).exportProductAnalytics(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1297
|
+
}
|
|
1225
1298
|
/**
|
|
1226
1299
|
* Lists all product analytics items.
|
|
1227
1300
|
* @summary List product analytics
|
|
@@ -1234,6 +1307,121 @@ class ProductAnalyticsApi extends base_1.BaseAPI {
|
|
|
1234
1307
|
}
|
|
1235
1308
|
}
|
|
1236
1309
|
exports.ProductAnalyticsApi = ProductAnalyticsApi;
|
|
1310
|
+
/**
|
|
1311
|
+
* ProductTypesApi - axios parameter creator
|
|
1312
|
+
*/
|
|
1313
|
+
const ProductTypesApiAxiosParamCreator = function (configuration) {
|
|
1314
|
+
return {
|
|
1315
|
+
/**
|
|
1316
|
+
* Lists the product types used by the given project\'s catalog.
|
|
1317
|
+
* @summary List product types
|
|
1318
|
+
* @param {string} project What project it is
|
|
1319
|
+
* @param {number} [pageToken] Page reference token
|
|
1320
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1321
|
+
* @param {*} [options] Override http request option.
|
|
1322
|
+
* @throws {RequiredError}
|
|
1323
|
+
*/
|
|
1324
|
+
listProductTypes: (project_1, pageToken_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, ...args_1], void 0, function* (project, pageToken, pageSize, options = {}) {
|
|
1325
|
+
// verify required parameter 'project' is not null or undefined
|
|
1326
|
+
(0, common_1.assertParamExists)('listProductTypes', 'project', project);
|
|
1327
|
+
const localVarPath = `/v1/catalog/product-types`;
|
|
1328
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1329
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1330
|
+
let baseOptions;
|
|
1331
|
+
if (configuration) {
|
|
1332
|
+
baseOptions = configuration.baseOptions;
|
|
1333
|
+
}
|
|
1334
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1335
|
+
const localVarHeaderParameter = {};
|
|
1336
|
+
const localVarQueryParameter = {};
|
|
1337
|
+
// authentication session-oauth required
|
|
1338
|
+
// oauth required
|
|
1339
|
+
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
1340
|
+
// authentication api-key required
|
|
1341
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
1342
|
+
if (project !== undefined) {
|
|
1343
|
+
localVarQueryParameter['project'] = project;
|
|
1344
|
+
}
|
|
1345
|
+
if (pageToken !== undefined) {
|
|
1346
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1347
|
+
}
|
|
1348
|
+
if (pageSize !== undefined) {
|
|
1349
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1350
|
+
}
|
|
1351
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1352
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1353
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1354
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1355
|
+
return {
|
|
1356
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1357
|
+
options: localVarRequestOptions,
|
|
1358
|
+
};
|
|
1359
|
+
}),
|
|
1360
|
+
};
|
|
1361
|
+
};
|
|
1362
|
+
exports.ProductTypesApiAxiosParamCreator = ProductTypesApiAxiosParamCreator;
|
|
1363
|
+
/**
|
|
1364
|
+
* ProductTypesApi - functional programming interface
|
|
1365
|
+
*/
|
|
1366
|
+
const ProductTypesApiFp = function (configuration) {
|
|
1367
|
+
const localVarAxiosParamCreator = (0, exports.ProductTypesApiAxiosParamCreator)(configuration);
|
|
1368
|
+
return {
|
|
1369
|
+
/**
|
|
1370
|
+
* Lists the product types used by the given project\'s catalog.
|
|
1371
|
+
* @summary List product types
|
|
1372
|
+
* @param {string} project What project it is
|
|
1373
|
+
* @param {number} [pageToken] Page reference token
|
|
1374
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1375
|
+
* @param {*} [options] Override http request option.
|
|
1376
|
+
* @throws {RequiredError}
|
|
1377
|
+
*/
|
|
1378
|
+
listProductTypes(project, pageToken, pageSize, options) {
|
|
1379
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1380
|
+
var _a, _b, _c;
|
|
1381
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductTypes(project, pageToken, pageSize, options);
|
|
1382
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1383
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductTypesApi.listProductTypes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1384
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1385
|
+
});
|
|
1386
|
+
},
|
|
1387
|
+
};
|
|
1388
|
+
};
|
|
1389
|
+
exports.ProductTypesApiFp = ProductTypesApiFp;
|
|
1390
|
+
/**
|
|
1391
|
+
* ProductTypesApi - factory interface
|
|
1392
|
+
*/
|
|
1393
|
+
const ProductTypesApiFactory = function (configuration, basePath, axios) {
|
|
1394
|
+
const localVarFp = (0, exports.ProductTypesApiFp)(configuration);
|
|
1395
|
+
return {
|
|
1396
|
+
/**
|
|
1397
|
+
* Lists the product types used by the given project\'s catalog.
|
|
1398
|
+
* @summary List product types
|
|
1399
|
+
* @param {ProductTypesApiListProductTypesRequest} requestParameters Request parameters.
|
|
1400
|
+
* @param {*} [options] Override http request option.
|
|
1401
|
+
* @throws {RequiredError}
|
|
1402
|
+
*/
|
|
1403
|
+
listProductTypes(requestParameters, options) {
|
|
1404
|
+
return localVarFp.listProductTypes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(axios, basePath));
|
|
1405
|
+
},
|
|
1406
|
+
};
|
|
1407
|
+
};
|
|
1408
|
+
exports.ProductTypesApiFactory = ProductTypesApiFactory;
|
|
1409
|
+
/**
|
|
1410
|
+
* ProductTypesApi - object-oriented interface
|
|
1411
|
+
*/
|
|
1412
|
+
class ProductTypesApi extends base_1.BaseAPI {
|
|
1413
|
+
/**
|
|
1414
|
+
* Lists the product types used by the given project\'s catalog.
|
|
1415
|
+
* @summary List product types
|
|
1416
|
+
* @param {ProductTypesApiListProductTypesRequest} requestParameters Request parameters.
|
|
1417
|
+
* @param {*} [options] Override http request option.
|
|
1418
|
+
* @throws {RequiredError}
|
|
1419
|
+
*/
|
|
1420
|
+
listProductTypes(requestParameters, options) {
|
|
1421
|
+
return (0, exports.ProductTypesApiFp)(this.configuration).listProductTypes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
exports.ProductTypesApi = ProductTypesApi;
|
|
1237
1425
|
/**
|
|
1238
1426
|
* ProductsApi - axios parameter creator
|
|
1239
1427
|
*/
|
|
@@ -1406,10 +1594,16 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1406
1594
|
* Export the project\'s products and variants as a CSV file.
|
|
1407
1595
|
* @summary Export products
|
|
1408
1596
|
* @param {string} project What project it is
|
|
1597
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
1598
|
+
* @param {string} [start] Start of date range to filter
|
|
1599
|
+
* @param {string} [end] End of date range to filter
|
|
1600
|
+
* @param {ExportProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
1601
|
+
* @param {number} [maxRetailPrice] Specify the maximum 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 less than or equal to the specified value.
|
|
1602
|
+
* @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.
|
|
1409
1603
|
* @param {*} [options] Override http request option.
|
|
1410
1604
|
* @throws {RequiredError}
|
|
1411
1605
|
*/
|
|
1412
|
-
exportProducts: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
1606
|
+
exportProducts: (project_1, search_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, ...args_1) => __awaiter(this, [project_1, search_1, start_1, end_1, dateFilterType_1, maxRetailPrice_1, minRetailPrice_1, ...args_1], void 0, function* (project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, options = {}) {
|
|
1413
1607
|
// verify required parameter 'project' is not null or undefined
|
|
1414
1608
|
(0, common_1.assertParamExists)('exportProducts', 'project', project);
|
|
1415
1609
|
const localVarPath = `/v1/catalog/products/export`;
|
|
@@ -1430,6 +1624,28 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1430
1624
|
if (project !== undefined) {
|
|
1431
1625
|
localVarQueryParameter['project'] = project;
|
|
1432
1626
|
}
|
|
1627
|
+
if (search !== undefined) {
|
|
1628
|
+
localVarQueryParameter['search'] = search;
|
|
1629
|
+
}
|
|
1630
|
+
if (start !== undefined) {
|
|
1631
|
+
localVarQueryParameter['start'] = (start instanceof Date) ?
|
|
1632
|
+
start.toISOString() :
|
|
1633
|
+
start;
|
|
1634
|
+
}
|
|
1635
|
+
if (end !== undefined) {
|
|
1636
|
+
localVarQueryParameter['end'] = (end instanceof Date) ?
|
|
1637
|
+
end.toISOString() :
|
|
1638
|
+
end;
|
|
1639
|
+
}
|
|
1640
|
+
if (dateFilterType !== undefined) {
|
|
1641
|
+
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
1642
|
+
}
|
|
1643
|
+
if (maxRetailPrice !== undefined) {
|
|
1644
|
+
localVarQueryParameter['maxRetailPrice'] = maxRetailPrice;
|
|
1645
|
+
}
|
|
1646
|
+
if (minRetailPrice !== undefined) {
|
|
1647
|
+
localVarQueryParameter['minRetailPrice'] = minRetailPrice;
|
|
1648
|
+
}
|
|
1433
1649
|
localVarHeaderParameter['Accept'] = 'text/csv; charset=utf-8,application/json';
|
|
1434
1650
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1435
1651
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1529,17 +1745,19 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1529
1745
|
* @summary List products
|
|
1530
1746
|
* @param {string} project What project it is
|
|
1531
1747
|
* @param {number} [pageToken] Page reference token
|
|
1532
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
1748
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
1533
1749
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1534
1750
|
* @param {string} [start] Start of date range to filter
|
|
1535
1751
|
* @param {string} [end] End of date range to filter
|
|
1536
1752
|
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
1753
|
+
* @param {number} [maxRetailPrice] Specify the maximum 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 less than or equal to the specified value.
|
|
1754
|
+
* @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.
|
|
1537
1755
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1538
1756
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1539
1757
|
* @param {*} [options] Override http request option.
|
|
1540
1758
|
* @throws {RequiredError}
|
|
1541
1759
|
*/
|
|
1542
|
-
listProducts: (project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, start_1, end_1, dateFilterType_1, pageSize_1, fields_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options = {}) {
|
|
1760
|
+
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 = {}) {
|
|
1543
1761
|
// verify required parameter 'project' is not null or undefined
|
|
1544
1762
|
(0, common_1.assertParamExists)('listProducts', 'project', project);
|
|
1545
1763
|
const localVarPath = `/v1/catalog/products`;
|
|
@@ -1582,6 +1800,12 @@ const ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
1582
1800
|
if (dateFilterType !== undefined) {
|
|
1583
1801
|
localVarQueryParameter['dateFilterType'] = dateFilterType;
|
|
1584
1802
|
}
|
|
1803
|
+
if (maxRetailPrice !== undefined) {
|
|
1804
|
+
localVarQueryParameter['maxRetailPrice'] = maxRetailPrice;
|
|
1805
|
+
}
|
|
1806
|
+
if (minRetailPrice !== undefined) {
|
|
1807
|
+
localVarQueryParameter['minRetailPrice'] = minRetailPrice;
|
|
1808
|
+
}
|
|
1585
1809
|
if (pageSize !== undefined) {
|
|
1586
1810
|
localVarQueryParameter['pageSize'] = pageSize;
|
|
1587
1811
|
}
|
|
@@ -1804,13 +2028,19 @@ const ProductsApiFp = function (configuration) {
|
|
|
1804
2028
|
* Export the project\'s products and variants as a CSV file.
|
|
1805
2029
|
* @summary Export products
|
|
1806
2030
|
* @param {string} project What project it is
|
|
2031
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
2032
|
+
* @param {string} [start] Start of date range to filter
|
|
2033
|
+
* @param {string} [end] End of date range to filter
|
|
2034
|
+
* @param {ExportProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2035
|
+
* @param {number} [maxRetailPrice] Specify the maximum 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 less than or equal to the specified value.
|
|
2036
|
+
* @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.
|
|
1807
2037
|
* @param {*} [options] Override http request option.
|
|
1808
2038
|
* @throws {RequiredError}
|
|
1809
2039
|
*/
|
|
1810
|
-
exportProducts(project, options) {
|
|
2040
|
+
exportProducts(project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, options) {
|
|
1811
2041
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1812
2042
|
var _a, _b, _c;
|
|
1813
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, options);
|
|
2043
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportProducts(project, search, start, end, dateFilterType, maxRetailPrice, minRetailPrice, options);
|
|
1814
2044
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1815
2045
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ProductsApi.exportProducts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1816
2046
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1856,20 +2086,22 @@ const ProductsApiFp = function (configuration) {
|
|
|
1856
2086
|
* @summary List products
|
|
1857
2087
|
* @param {string} project What project it is
|
|
1858
2088
|
* @param {number} [pageToken] Page reference token
|
|
1859
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
2089
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
1860
2090
|
* @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending.
|
|
1861
2091
|
* @param {string} [start] Start of date range to filter
|
|
1862
2092
|
* @param {string} [end] End of date range to filter
|
|
1863
2093
|
* @param {ListProductsDateFilterTypeEnum} [dateFilterType] Specifies the type of date range filter to apply. Determines which date field the `start` and `end` fields should query.
|
|
2094
|
+
* @param {number} [maxRetailPrice] Specify the maximum 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 less than or equal to the specified value.
|
|
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.
|
|
1864
2096
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1865
2097
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
1866
2098
|
* @param {*} [options] Override http request option.
|
|
1867
2099
|
* @throws {RequiredError}
|
|
1868
2100
|
*/
|
|
1869
|
-
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options) {
|
|
2101
|
+
listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options) {
|
|
1870
2102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1871
2103
|
var _a, _b, _c;
|
|
1872
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, pageSize, fields, options);
|
|
2104
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listProducts(project, pageToken, search, sortBy, start, end, dateFilterType, maxRetailPrice, minRetailPrice, pageSize, fields, options);
|
|
1873
2105
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1874
2106
|
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;
|
|
1875
2107
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -1984,7 +2216,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
1984
2216
|
* @throws {RequiredError}
|
|
1985
2217
|
*/
|
|
1986
2218
|
exportProducts(requestParameters, options) {
|
|
1987
|
-
return localVarFp.exportProducts(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
2219
|
+
return localVarFp.exportProducts(requestParameters.project, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, options).then((request) => request(axios, basePath));
|
|
1988
2220
|
},
|
|
1989
2221
|
/**
|
|
1990
2222
|
* Gets a product by a given ID.
|
|
@@ -2014,7 +2246,7 @@ const ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
2014
2246
|
* @throws {RequiredError}
|
|
2015
2247
|
*/
|
|
2016
2248
|
listProducts(requestParameters, options) {
|
|
2017
|
-
return localVarFp.listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(axios, basePath));
|
|
2249
|
+
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));
|
|
2018
2250
|
},
|
|
2019
2251
|
/**
|
|
2020
2252
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -2101,7 +2333,7 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
2101
2333
|
* @throws {RequiredError}
|
|
2102
2334
|
*/
|
|
2103
2335
|
exportProducts(requestParameters, options) {
|
|
2104
|
-
return (0, exports.ProductsApiFp)(this.configuration).exportProducts(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
2336
|
+
return (0, exports.ProductsApiFp)(this.configuration).exportProducts(requestParameters.project, requestParameters.search, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.maxRetailPrice, requestParameters.minRetailPrice, options).then((request) => request(this.axios, this.basePath));
|
|
2105
2337
|
}
|
|
2106
2338
|
/**
|
|
2107
2339
|
* Gets a product by a given ID.
|
|
@@ -2131,7 +2363,7 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
2131
2363
|
* @throws {RequiredError}
|
|
2132
2364
|
*/
|
|
2133
2365
|
listProducts(requestParameters, options) {
|
|
2134
|
-
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, requestParameters.dateFilterType, requestParameters.pageSize, requestParameters.fields, options).then((request) => request(this.axios, this.basePath));
|
|
2366
|
+
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));
|
|
2135
2367
|
}
|
|
2136
2368
|
/**
|
|
2137
2369
|
* AI SEO optimises products by a set of given IDs.
|
|
@@ -2165,6 +2397,10 @@ class ProductsApi extends base_1.BaseAPI {
|
|
|
2165
2397
|
}
|
|
2166
2398
|
}
|
|
2167
2399
|
exports.ProductsApi = ProductsApi;
|
|
2400
|
+
exports.ExportProductsDateFilterTypeEnum = {
|
|
2401
|
+
CreatedAt: 'createdAt',
|
|
2402
|
+
UpdatedAt: 'updatedAt'
|
|
2403
|
+
};
|
|
2168
2404
|
exports.ListProductsDateFilterTypeEnum = {
|
|
2169
2405
|
CreatedAt: 'createdAt',
|
|
2170
2406
|
UpdatedAt: 'updatedAt'
|
|
@@ -2223,7 +2459,7 @@ const VariantsApiAxiosParamCreator = function (configuration) {
|
|
|
2223
2459
|
* Lists all variants that belong to enabled products attached to the given project.
|
|
2224
2460
|
* @summary List variants
|
|
2225
2461
|
* @param {string} project What project it is
|
|
2226
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
2462
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
2227
2463
|
* @param {number} [pageToken] Page reference token
|
|
2228
2464
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2229
2465
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
|
@@ -2303,7 +2539,7 @@ const VariantsApiFp = function (configuration) {
|
|
|
2303
2539
|
* Lists all variants that belong to enabled products attached to the given project.
|
|
2304
2540
|
* @summary List variants
|
|
2305
2541
|
* @param {string} project What project it is
|
|
2306
|
-
* @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'
|
|
2542
|
+
* @param {string} [search] Search query string to filter results. Supports field-specific filters like: \'enabled:true\', \'gfn_product_ids:<id>\', \'tag:\"tag name\"\', \'internal_tag:\"internal tag name\"\', \'includeArchived:false\', \'hasSearchPhrase:false\', \'inDataFeeds:true\', \'aiOptimised:true\', \'productType:<id>\', \'genderGroup:\"male,female,unisex\"\', \'hasBarcode:true\', \'onSale:true\', \'type:product,template,bundle\', \'collection:<id>\'. Multiple filters can be combined with spaces and commas.
|
|
2307
2543
|
* @param {number} [pageToken] Page reference token
|
|
2308
2544
|
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
2309
2545
|
* @param {string} [fields] Filter response fields to only include a subset of the resource.
|
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.84.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.84.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.84.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.84.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.84.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.84.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|