@teemill/product-catalog 1.81.2 → 1.83.1

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/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.81.2
8
+ * The version of the OpenAPI document: 1.83.1
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.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.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;
26
26
  const axios_1 = require("axios");
27
27
  // Some imports not used depending on template conditions
28
28
  // @ts-ignore
@@ -1109,6 +1109,131 @@ class ApplicationTechnologiesApi extends base_1.BaseAPI {
1109
1109
  }
1110
1110
  }
1111
1111
  exports.ApplicationTechnologiesApi = ApplicationTechnologiesApi;
1112
+ /**
1113
+ * ProductAnalyticsApi - axios parameter creator
1114
+ */
1115
+ const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1116
+ return {
1117
+ /**
1118
+ * Lists all product analytics items.
1119
+ * @summary List product analytics
1120
+ * @param {string} project What project it is
1121
+ * @param {number} [pageToken] Page reference token
1122
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \'enabled:true\', \'uuid:<id>\', \'name:\"product name\"\', \'tag:\"tag name\"\', and \'type:product,template,bundle\'. Multiple filters can be combined with spaces and commas.
1123
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1124
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1125
+ * @param {*} [options] Override http request option.
1126
+ * @throws {RequiredError}
1127
+ */
1128
+ listProductAnalytics: (project_1, pageToken_1, search_1, sortBy_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, pageSize_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, pageSize, options = {}) {
1129
+ // verify required parameter 'project' is not null or undefined
1130
+ (0, common_1.assertParamExists)('listProductAnalytics', 'project', project);
1131
+ const localVarPath = `/v1/catalog/analytics`;
1132
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1133
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1134
+ let baseOptions;
1135
+ if (configuration) {
1136
+ baseOptions = configuration.baseOptions;
1137
+ }
1138
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1139
+ const localVarHeaderParameter = {};
1140
+ const localVarQueryParameter = {};
1141
+ // authentication session-oauth required
1142
+ // oauth required
1143
+ yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
1144
+ // authentication api-key required
1145
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
1146
+ if (project !== undefined) {
1147
+ localVarQueryParameter['project'] = project;
1148
+ }
1149
+ if (pageToken !== undefined) {
1150
+ localVarQueryParameter['pageToken'] = pageToken;
1151
+ }
1152
+ if (search !== undefined) {
1153
+ localVarQueryParameter['search'] = search;
1154
+ }
1155
+ if (sortBy) {
1156
+ localVarQueryParameter['sortBy'] = sortBy;
1157
+ }
1158
+ if (pageSize !== undefined) {
1159
+ localVarQueryParameter['pageSize'] = pageSize;
1160
+ }
1161
+ localVarHeaderParameter['Accept'] = 'application/json';
1162
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1163
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1164
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1165
+ return {
1166
+ url: (0, common_1.toPathString)(localVarUrlObj),
1167
+ options: localVarRequestOptions,
1168
+ };
1169
+ }),
1170
+ };
1171
+ };
1172
+ exports.ProductAnalyticsApiAxiosParamCreator = ProductAnalyticsApiAxiosParamCreator;
1173
+ /**
1174
+ * ProductAnalyticsApi - functional programming interface
1175
+ */
1176
+ const ProductAnalyticsApiFp = function (configuration) {
1177
+ const localVarAxiosParamCreator = (0, exports.ProductAnalyticsApiAxiosParamCreator)(configuration);
1178
+ return {
1179
+ /**
1180
+ * Lists all product analytics items.
1181
+ * @summary List product analytics
1182
+ * @param {string} project What project it is
1183
+ * @param {number} [pageToken] Page reference token
1184
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, and \&#39;type:product,template,bundle\&#39;. Multiple filters can be combined with spaces and commas.
1185
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1186
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1187
+ * @param {*} [options] Override http request option.
1188
+ * @throws {RequiredError}
1189
+ */
1190
+ listProductAnalytics(project, pageToken, search, sortBy, pageSize, options) {
1191
+ return __awaiter(this, void 0, void 0, function* () {
1192
+ var _a, _b, _c;
1193
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductAnalytics(project, pageToken, search, sortBy, pageSize, options);
1194
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1195
+ 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;
1196
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1197
+ });
1198
+ },
1199
+ };
1200
+ };
1201
+ exports.ProductAnalyticsApiFp = ProductAnalyticsApiFp;
1202
+ /**
1203
+ * ProductAnalyticsApi - factory interface
1204
+ */
1205
+ const ProductAnalyticsApiFactory = function (configuration, basePath, axios) {
1206
+ const localVarFp = (0, exports.ProductAnalyticsApiFp)(configuration);
1207
+ return {
1208
+ /**
1209
+ * Lists all product analytics items.
1210
+ * @summary List product analytics
1211
+ * @param {ProductAnalyticsApiListProductAnalyticsRequest} requestParameters Request parameters.
1212
+ * @param {*} [options] Override http request option.
1213
+ * @throws {RequiredError}
1214
+ */
1215
+ listProductAnalytics(requestParameters, options) {
1216
+ return localVarFp.listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1217
+ },
1218
+ };
1219
+ };
1220
+ exports.ProductAnalyticsApiFactory = ProductAnalyticsApiFactory;
1221
+ /**
1222
+ * ProductAnalyticsApi - object-oriented interface
1223
+ */
1224
+ class ProductAnalyticsApi extends base_1.BaseAPI {
1225
+ /**
1226
+ * Lists all product analytics items.
1227
+ * @summary List product analytics
1228
+ * @param {ProductAnalyticsApiListProductAnalyticsRequest} requestParameters Request parameters.
1229
+ * @param {*} [options] Override http request option.
1230
+ * @throws {RequiredError}
1231
+ */
1232
+ listProductAnalytics(requestParameters, options) {
1233
+ return (0, exports.ProductAnalyticsApiFp)(this.configuration).listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1234
+ }
1235
+ }
1236
+ exports.ProductAnalyticsApi = ProductAnalyticsApi;
1112
1237
  /**
1113
1238
  * ProductsApi - axios parameter creator
1114
1239
  */
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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
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.81.2
8
+ * The version of the OpenAPI document: 1.83.1
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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
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.81.2
8
+ * The version of the OpenAPI document: 1.83.1
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.81.2
7
+ * The version of the OpenAPI document: 1.83.1
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 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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -19,6 +19,32 @@ export interface AdditionalFile {
19
19
  */
20
20
  'src'?: string;
21
21
  }
22
+ export interface AnalyticsItem {
23
+ /**
24
+ * Unique object identifier
25
+ */
26
+ 'id': string;
27
+ /**
28
+ * The number of sales in the last 30 days.
29
+ */
30
+ 'sales': number;
31
+ /**
32
+ * The traffic of the product.
33
+ */
34
+ 'traffic': number;
35
+ /**
36
+ * The conversion rate of the product.
37
+ */
38
+ 'conversionRate': number;
39
+ /**
40
+ * The add to basket rate of the product.
41
+ */
42
+ 'basketRate': number;
43
+ /**
44
+ * The revenue of the product.
45
+ */
46
+ 'revenue': number;
47
+ }
22
48
  export interface ApiError {
23
49
  'code'?: string;
24
50
  'message': string;
@@ -375,7 +401,7 @@ export interface BundleProduct {
375
401
  'slug'?: string;
376
402
  'brand'?: string;
377
403
  'enabled'?: boolean;
378
- 'seoMetadata'?: SEOMetadata;
404
+ 'seoMetadata'?: SEOMetadata1;
379
405
  'targetSearchPhraseData'?: TargetSearchPhraseData;
380
406
  'tags'?: Array<string>;
381
407
  'internalTags'?: Array<string>;
@@ -615,7 +641,7 @@ export interface CreateBundleProduct {
615
641
  * A custom URL slug for the product. This must be unique for each product on the project.
616
642
  */
617
643
  'slug'?: string;
618
- 'seoMetadata'?: UpdateProductsRequestProductsInnerSeoMetadata;
644
+ 'seoMetadata'?: CreateBundleProductSeoMetadata;
619
645
  /**
620
646
  * The primary target search phrase for the product that you wish to rank for in search engine results. **Note:** This field requires the website integration
621
647
  */
@@ -666,6 +692,16 @@ export interface CreateBundleProductBundleItemsInner {
666
692
  */
667
693
  'id'?: string;
668
694
  }
695
+ export interface CreateBundleProductSeoMetadata {
696
+ /**
697
+ * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
698
+ */
699
+ 'title'?: string;
700
+ /**
701
+ * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
702
+ */
703
+ 'description'?: string | null;
704
+ }
669
705
  export interface CreateProduct {
670
706
  /**
671
707
  * Reference to the product in the GFN catalog that will be used as a base for this product. A list of available products for the given project can be obtained from the GFN Catalog API.
@@ -1050,6 +1086,10 @@ export interface Product {
1050
1086
  */
1051
1087
  'showSaleBadge'?: boolean;
1052
1088
  'license'?: License;
1089
+ /**
1090
+ * The user ID of the user who created the product
1091
+ */
1092
+ 'createdBy'?: string | null;
1053
1093
  }
1054
1094
  export interface ProductAdditionalFilesInner {
1055
1095
  /**
@@ -1061,6 +1101,9 @@ export interface ProductAdditionalFilesInner {
1061
1101
  */
1062
1102
  'src'?: string;
1063
1103
  }
1104
+ export interface ProductAnalyticsResponse {
1105
+ 'analytics'?: Array<AnalyticsItem>;
1106
+ }
1064
1107
  export interface ProductApplicationSetsInner {
1065
1108
  /**
1066
1109
  * Unique object identifier
@@ -1089,7 +1132,7 @@ export interface ProductBundleItemsInner {
1089
1132
  'slug'?: string;
1090
1133
  'brand'?: string;
1091
1134
  'enabled'?: boolean;
1092
- 'seoMetadata'?: SEOMetadata;
1135
+ 'seoMetadata'?: SEOMetadata1;
1093
1136
  'targetSearchPhraseData'?: TargetSearchPhraseData;
1094
1137
  'tags'?: Array<string>;
1095
1138
  'internalTags'?: Array<string>;
@@ -1205,6 +1248,23 @@ export interface SEOMetadata {
1205
1248
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1206
1249
  */
1207
1250
  'description'?: string | null;
1251
+ /**
1252
+ * Whether to prevent the product from being indexed by search engines.
1253
+ */
1254
+ 'noIndex'?: boolean;
1255
+ }
1256
+ /**
1257
+ * SEO metadata for the product
1258
+ */
1259
+ export interface SEOMetadata1 {
1260
+ /**
1261
+ * Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used.
1262
+ */
1263
+ 'title'?: string;
1264
+ /**
1265
+ * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1266
+ */
1267
+ 'description'?: string | null;
1208
1268
  }
1209
1269
  /**
1210
1270
  * Discounted price including tax.
@@ -1612,6 +1672,10 @@ export interface UpdateProductsRequestProductsInnerSeoMetadata {
1612
1672
  * Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used.
1613
1673
  */
1614
1674
  'description'?: string | null;
1675
+ /**
1676
+ * Whether to prevent the product from being indexed by search engines.
1677
+ */
1678
+ 'noIndex'?: boolean;
1615
1679
  }
1616
1680
  export interface UpdateProductsRequestProductsInnerVariantsInner {
1617
1681
  /**
@@ -2411,6 +2475,91 @@ export declare class ApplicationTechnologiesApi extends BaseAPI {
2411
2475
  */
2412
2476
  listTechnologies(requestParameters: ApplicationTechnologiesApiListTechnologiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ApplicationTechnologiesResponse, any, {}>>;
2413
2477
  }
2478
+ /**
2479
+ * ProductAnalyticsApi - axios parameter creator
2480
+ */
2481
+ export declare const ProductAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
2482
+ /**
2483
+ * Lists all product analytics items.
2484
+ * @summary List product analytics
2485
+ * @param {string} project What project it is
2486
+ * @param {number} [pageToken] Page reference token
2487
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, and \&#39;type:product,template,bundle\&#39;. Multiple filters can be combined with spaces and commas.
2488
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2489
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2490
+ * @param {*} [options] Override http request option.
2491
+ * @throws {RequiredError}
2492
+ */
2493
+ listProductAnalytics: (project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2494
+ };
2495
+ /**
2496
+ * ProductAnalyticsApi - functional programming interface
2497
+ */
2498
+ export declare const ProductAnalyticsApiFp: (configuration?: Configuration) => {
2499
+ /**
2500
+ * Lists all product analytics items.
2501
+ * @summary List product analytics
2502
+ * @param {string} project What project it is
2503
+ * @param {number} [pageToken] Page reference token
2504
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, and \&#39;type:product,template,bundle\&#39;. Multiple filters can be combined with spaces and commas.
2505
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2506
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
2507
+ * @param {*} [options] Override http request option.
2508
+ * @throws {RequiredError}
2509
+ */
2510
+ listProductAnalytics(project: string, pageToken?: number, search?: string, sortBy?: Array<string>, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductAnalyticsResponse>>;
2511
+ };
2512
+ /**
2513
+ * ProductAnalyticsApi - factory interface
2514
+ */
2515
+ export declare const ProductAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2516
+ /**
2517
+ * Lists all product analytics items.
2518
+ * @summary List product analytics
2519
+ * @param {ProductAnalyticsApiListProductAnalyticsRequest} requestParameters Request parameters.
2520
+ * @param {*} [options] Override http request option.
2521
+ * @throws {RequiredError}
2522
+ */
2523
+ listProductAnalytics(requestParameters: ProductAnalyticsApiListProductAnalyticsRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProductAnalyticsResponse>;
2524
+ };
2525
+ /**
2526
+ * Request parameters for listProductAnalytics operation in ProductAnalyticsApi.
2527
+ */
2528
+ export interface ProductAnalyticsApiListProductAnalyticsRequest {
2529
+ /**
2530
+ * What project it is
2531
+ */
2532
+ readonly project: string;
2533
+ /**
2534
+ * Page reference token
2535
+ */
2536
+ readonly pageToken?: number;
2537
+ /**
2538
+ * Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, and \&#39;type:product,template,bundle\&#39;. Multiple filters can be combined with spaces and commas.
2539
+ */
2540
+ readonly search?: string;
2541
+ /**
2542
+ * An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
2543
+ */
2544
+ readonly sortBy?: Array<string>;
2545
+ /**
2546
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
2547
+ */
2548
+ readonly pageSize?: number;
2549
+ }
2550
+ /**
2551
+ * ProductAnalyticsApi - object-oriented interface
2552
+ */
2553
+ export declare class ProductAnalyticsApi extends BaseAPI {
2554
+ /**
2555
+ * Lists all product analytics items.
2556
+ * @summary List product analytics
2557
+ * @param {ProductAnalyticsApiListProductAnalyticsRequest} requestParameters Request parameters.
2558
+ * @param {*} [options] Override http request option.
2559
+ * @throws {RequiredError}
2560
+ */
2561
+ listProductAnalytics(requestParameters: ProductAnalyticsApiListProductAnalyticsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductAnalyticsResponse, any, {}>>;
2562
+ }
2414
2563
  /**
2415
2564
  * ProductsApi - axios parameter creator
2416
2565
  */
package/dist/esm/api.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.81.2
7
+ * The version of the OpenAPI document: 1.83.1
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1094,6 +1094,127 @@ export class ApplicationTechnologiesApi extends BaseAPI {
1094
1094
  return ApplicationTechnologiesApiFp(this.configuration).listTechnologies(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
1095
1095
  }
1096
1096
  }
1097
+ /**
1098
+ * ProductAnalyticsApi - axios parameter creator
1099
+ */
1100
+ export const ProductAnalyticsApiAxiosParamCreator = function (configuration) {
1101
+ return {
1102
+ /**
1103
+ * Lists all product analytics items.
1104
+ * @summary List product analytics
1105
+ * @param {string} project What project it is
1106
+ * @param {number} [pageToken] Page reference token
1107
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, and \&#39;type:product,template,bundle\&#39;. Multiple filters can be combined with spaces and commas.
1108
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1109
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1110
+ * @param {*} [options] Override http request option.
1111
+ * @throws {RequiredError}
1112
+ */
1113
+ listProductAnalytics: (project_1, pageToken_1, search_1, sortBy_1, pageSize_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, search_1, sortBy_1, pageSize_1, ...args_1], void 0, function* (project, pageToken, search, sortBy, pageSize, options = {}) {
1114
+ // verify required parameter 'project' is not null or undefined
1115
+ assertParamExists('listProductAnalytics', 'project', project);
1116
+ const localVarPath = `/v1/catalog/analytics`;
1117
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1118
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1119
+ let baseOptions;
1120
+ if (configuration) {
1121
+ baseOptions = configuration.baseOptions;
1122
+ }
1123
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
1124
+ const localVarHeaderParameter = {};
1125
+ const localVarQueryParameter = {};
1126
+ // authentication session-oauth required
1127
+ // oauth required
1128
+ yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
1129
+ // authentication api-key required
1130
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
1131
+ if (project !== undefined) {
1132
+ localVarQueryParameter['project'] = project;
1133
+ }
1134
+ if (pageToken !== undefined) {
1135
+ localVarQueryParameter['pageToken'] = pageToken;
1136
+ }
1137
+ if (search !== undefined) {
1138
+ localVarQueryParameter['search'] = search;
1139
+ }
1140
+ if (sortBy) {
1141
+ localVarQueryParameter['sortBy'] = sortBy;
1142
+ }
1143
+ if (pageSize !== undefined) {
1144
+ localVarQueryParameter['pageSize'] = pageSize;
1145
+ }
1146
+ localVarHeaderParameter['Accept'] = 'application/json';
1147
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1148
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1149
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1150
+ return {
1151
+ url: toPathString(localVarUrlObj),
1152
+ options: localVarRequestOptions,
1153
+ };
1154
+ }),
1155
+ };
1156
+ };
1157
+ /**
1158
+ * ProductAnalyticsApi - functional programming interface
1159
+ */
1160
+ export const ProductAnalyticsApiFp = function (configuration) {
1161
+ const localVarAxiosParamCreator = ProductAnalyticsApiAxiosParamCreator(configuration);
1162
+ return {
1163
+ /**
1164
+ * Lists all product analytics items.
1165
+ * @summary List product analytics
1166
+ * @param {string} project What project it is
1167
+ * @param {number} [pageToken] Page reference token
1168
+ * @param {string} [search] Search query string to filter results. Supports field-specific filters like \&#39;enabled:true\&#39;, \&#39;uuid:&lt;id&gt;\&#39;, \&#39;name:\&quot;product name\&quot;\&#39;, \&#39;tag:\&quot;tag name\&quot;\&#39;, and \&#39;type:product,template,bundle\&#39;. Multiple filters can be combined with spaces and commas.
1169
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
1170
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
1171
+ * @param {*} [options] Override http request option.
1172
+ * @throws {RequiredError}
1173
+ */
1174
+ listProductAnalytics(project, pageToken, search, sortBy, pageSize, options) {
1175
+ return __awaiter(this, void 0, void 0, function* () {
1176
+ var _a, _b, _c;
1177
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.listProductAnalytics(project, pageToken, search, sortBy, pageSize, options);
1178
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
1179
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ProductAnalyticsApi.listProductAnalytics']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
1180
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1181
+ });
1182
+ },
1183
+ };
1184
+ };
1185
+ /**
1186
+ * ProductAnalyticsApi - factory interface
1187
+ */
1188
+ export const ProductAnalyticsApiFactory = function (configuration, basePath, axios) {
1189
+ const localVarFp = ProductAnalyticsApiFp(configuration);
1190
+ return {
1191
+ /**
1192
+ * Lists all product analytics items.
1193
+ * @summary List product analytics
1194
+ * @param {ProductAnalyticsApiListProductAnalyticsRequest} requestParameters Request parameters.
1195
+ * @param {*} [options] Override http request option.
1196
+ * @throws {RequiredError}
1197
+ */
1198
+ listProductAnalytics(requestParameters, options) {
1199
+ return localVarFp.listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, options).then((request) => request(axios, basePath));
1200
+ },
1201
+ };
1202
+ };
1203
+ /**
1204
+ * ProductAnalyticsApi - object-oriented interface
1205
+ */
1206
+ export class ProductAnalyticsApi extends BaseAPI {
1207
+ /**
1208
+ * Lists all product analytics items.
1209
+ * @summary List product analytics
1210
+ * @param {ProductAnalyticsApiListProductAnalyticsRequest} requestParameters Request parameters.
1211
+ * @param {*} [options] Override http request option.
1212
+ * @throws {RequiredError}
1213
+ */
1214
+ listProductAnalytics(requestParameters, options) {
1215
+ return ProductAnalyticsApiFp(this.configuration).listProductAnalytics(requestParameters.project, requestParameters.pageToken, requestParameters.search, requestParameters.sortBy, requestParameters.pageSize, options).then((request) => request(this.axios, this.basePath));
1216
+ }
1217
+ }
1097
1218
  /**
1098
1219
  * ProductsApi - axios parameter creator
1099
1220
  */
@@ -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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
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 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.81.2
7
+ * The version of the OpenAPI document: 1.83.1
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 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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.81.2
7
+ * The version of the OpenAPI document: 1.83.1
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 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.81.2
5
+ * The version of the OpenAPI document: 1.83.1
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 API
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 warehouse product, plus listing information such as title, description and tags.
5
5
  *
6
- * The version of the OpenAPI document: 1.81.2
6
+ * The version of the OpenAPI document: 1.83.1
7
7
  *
8
8
  *
9
9
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).