@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/README.md +7 -2
- package/api.ts +233 -4
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +153 -4
- package/dist/api.js +127 -2
- 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 +153 -4
- package/dist/esm/api.js +122 -1
- 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/AnalyticsItem.md +30 -0
- package/docs/BundleProduct.md +1 -1
- package/docs/CreateBundleProduct.md +1 -1
- package/docs/CreateBundleProductSeoMetadata.md +22 -0
- package/docs/CreateProductRequest.md +1 -1
- package/docs/Product.md +2 -0
- package/docs/ProductAnalyticsApi.md +75 -0
- package/docs/ProductAnalyticsResponse.md +20 -0
- package/docs/ProductBundleItemsInner.md +1 -1
- package/docs/SEOMetadata.md +2 -0
- package/docs/SEOMetadata1.md +23 -0
- package/docs/UpdateProductsRequestProductsInnerSeoMetadata.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/index.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.83.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Product Catalog 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.83.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Product Catalog 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.83.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.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.83.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# AnalyticsItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**sales** | **number** | The number of sales in the last 30 days. | [default to undefined]
|
|
10
|
+
**traffic** | **number** | The traffic of the product. | [default to undefined]
|
|
11
|
+
**conversionRate** | **number** | The conversion rate of the product. | [default to undefined]
|
|
12
|
+
**basketRate** | **number** | The add to basket rate of the product. | [default to undefined]
|
|
13
|
+
**revenue** | **number** | The revenue of the product. | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { AnalyticsItem } from '@teemill/product-catalog';
|
|
19
|
+
|
|
20
|
+
const instance: AnalyticsItem = {
|
|
21
|
+
id,
|
|
22
|
+
sales,
|
|
23
|
+
traffic,
|
|
24
|
+
conversionRate,
|
|
25
|
+
basketRate,
|
|
26
|
+
revenue,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/BundleProduct.md
CHANGED
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**slug** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
13
|
**brand** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
15
|
-
**seoMetadata** | [**
|
|
15
|
+
**seoMetadata** | [**SEOMetadata1**](SEOMetadata1.md) | | [optional] [default to undefined]
|
|
16
16
|
**targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
|
|
17
17
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
18
|
**internalTags** | **Array<string>** | | [optional] [default to undefined]
|
|
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**description** | **string** | Product description | [optional] [default to undefined]
|
|
10
10
|
**enabled** | **boolean** | Whether the product is enabled upon creation. | [optional] [default to undefined]
|
|
11
11
|
**slug** | **string** | A custom URL slug for the product. This must be unique for each product on the project. | [optional] [default to undefined]
|
|
12
|
-
**seoMetadata** | [**
|
|
12
|
+
**seoMetadata** | [**CreateBundleProductSeoMetadata**](CreateBundleProductSeoMetadata.md) | | [optional] [default to undefined]
|
|
13
13
|
**targetSearchPhrase** | **string** | 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 | [optional] [default to undefined]
|
|
14
14
|
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
15
15
|
**tags** | **Array<string>** | Additional product tags used for searching and filtering. | [optional] [default to undefined]
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CreateBundleProductSeoMetadata
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used. | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CreateBundleProductSeoMetadata } from '@teemill/product-catalog';
|
|
15
|
+
|
|
16
|
+
const instance: CreateBundleProductSeoMetadata = {
|
|
17
|
+
title,
|
|
18
|
+
description,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**enabled** | **boolean** | Whether the product is enabled upon creation. | [optional] [default to undefined]
|
|
12
12
|
**slug** | **string** | A custom URL slug for the product. This must be unique for each product on the project. | [optional] [default to undefined]
|
|
13
13
|
**brand** | **string** | The brand of the product. | [optional] [default to undefined]
|
|
14
|
-
**seoMetadata** | [**
|
|
14
|
+
**seoMetadata** | [**CreateBundleProductSeoMetadata**](CreateBundleProductSeoMetadata.md) | | [optional] [default to undefined]
|
|
15
15
|
**targetSearchPhrase** | **string** | 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 | [optional] [default to undefined]
|
|
16
16
|
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. **Note:** This field requires the website integration | [optional] [default to undefined]
|
|
17
17
|
**tags** | **Array<string>** | Additional product tags used for searching and filtering. | [optional] [default to undefined]
|
package/docs/Product.md
CHANGED
|
@@ -42,6 +42,7 @@ Name | Type | Description | Notes
|
|
|
42
42
|
**integrationConnections** | [**Array<UpdateProductsRequestProductsInnerIntegrationConnectionsInner>**](UpdateProductsRequestProductsInnerIntegrationConnectionsInner.md) | | [optional] [default to undefined]
|
|
43
43
|
**showSaleBadge** | **boolean** | Whether to show a sale badge on the product | [optional] [default to undefined]
|
|
44
44
|
**license** | [**License**](License.md) | | [optional] [default to undefined]
|
|
45
|
+
**createdBy** | **string** | The user ID of the user who created the product | [optional] [default to undefined]
|
|
45
46
|
|
|
46
47
|
## Example
|
|
47
48
|
|
|
@@ -86,6 +87,7 @@ const instance: Product = {
|
|
|
86
87
|
integrationConnections,
|
|
87
88
|
showSaleBadge,
|
|
88
89
|
license,
|
|
90
|
+
createdBy,
|
|
89
91
|
};
|
|
90
92
|
```
|
|
91
93
|
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# ProductAnalyticsApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.podos.io*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**listProductAnalytics**](#listproductanalytics) | **GET** /v1/catalog/analytics | List product analytics|
|
|
8
|
+
|
|
9
|
+
# **listProductAnalytics**
|
|
10
|
+
> ProductAnalyticsResponse listProductAnalytics()
|
|
11
|
+
|
|
12
|
+
Lists all product analytics items.
|
|
13
|
+
|
|
14
|
+
### Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import {
|
|
18
|
+
ProductAnalyticsApi,
|
|
19
|
+
Configuration
|
|
20
|
+
} from '@teemill/product-catalog';
|
|
21
|
+
|
|
22
|
+
const configuration = new Configuration();
|
|
23
|
+
const apiInstance = new ProductAnalyticsApi(configuration);
|
|
24
|
+
|
|
25
|
+
let project: string; //What project it is (default to undefined)
|
|
26
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
27
|
+
let search: string; //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. (optional) (default to 'enabled:true')
|
|
28
|
+
let sortBy: Array<string>; //An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. (optional) (default to undefined)
|
|
29
|
+
let pageSize: number; //Max page size. This is the maximum page size that will be returned, but it might be smaller. (optional) (default to 100)
|
|
30
|
+
|
|
31
|
+
const { status, data } = await apiInstance.listProductAnalytics(
|
|
32
|
+
project,
|
|
33
|
+
pageToken,
|
|
34
|
+
search,
|
|
35
|
+
sortBy,
|
|
36
|
+
pageSize
|
|
37
|
+
);
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
### Parameters
|
|
41
|
+
|
|
42
|
+
|Name | Type | Description | Notes|
|
|
43
|
+
|------------- | ------------- | ------------- | -------------|
|
|
44
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
45
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
46
|
+
| **search** | [**string**] | 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. | (optional) defaults to 'enabled:true'|
|
|
47
|
+
| **sortBy** | **Array<string>** | An array of fields to sort by, prefixed with a \'-\' for descending order or \'+\' for ascending. Default is ascending. | (optional) defaults to undefined|
|
|
48
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
### Return type
|
|
52
|
+
|
|
53
|
+
**ProductAnalyticsResponse**
|
|
54
|
+
|
|
55
|
+
### Authorization
|
|
56
|
+
|
|
57
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
58
|
+
|
|
59
|
+
### HTTP request headers
|
|
60
|
+
|
|
61
|
+
- **Content-Type**: Not defined
|
|
62
|
+
- **Accept**: application/json
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
### HTTP response details
|
|
66
|
+
| Status code | Description | Response headers |
|
|
67
|
+
|-------------|-------------|------------------|
|
|
68
|
+
|**200** | Successfully retrieved product analytics items. | - |
|
|
69
|
+
|**400** | Failed validation. | - |
|
|
70
|
+
|**401** | Not authorised to access this resource. | - |
|
|
71
|
+
|**403** | Refuse to authorize. | - |
|
|
72
|
+
|**500** | Unknown server error. | - |
|
|
73
|
+
|
|
74
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
75
|
+
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ProductAnalyticsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**analytics** | [**Array<AnalyticsItem>**](AnalyticsItem.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ProductAnalyticsResponse } from '@teemill/product-catalog';
|
|
14
|
+
|
|
15
|
+
const instance: ProductAnalyticsResponse = {
|
|
16
|
+
analytics,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**slug** | **string** | | [optional] [readonly] [default to undefined]
|
|
13
13
|
**brand** | **string** | | [optional] [default to undefined]
|
|
14
14
|
**enabled** | **boolean** | | [optional] [default to undefined]
|
|
15
|
-
**seoMetadata** | [**
|
|
15
|
+
**seoMetadata** | [**SEOMetadata1**](SEOMetadata1.md) | | [optional] [default to undefined]
|
|
16
16
|
**targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
|
|
17
17
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
18
|
**internalTags** | **Array<string>** | | [optional] [default to undefined]
|
package/docs/SEOMetadata.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
------------ | ------------- | ------------- | -------------
|
|
9
9
|
**title** | **string** | Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used. | [optional] [default to undefined]
|
|
10
10
|
**description** | **string** | Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used. | [optional] [default to undefined]
|
|
11
|
+
**noIndex** | **boolean** | Whether to prevent the product from being indexed by search engines. | [optional] [default to false]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -17,6 +18,7 @@ import { SEOMetadata } from '@teemill/product-catalog';
|
|
|
17
18
|
const instance: SEOMetadata = {
|
|
18
19
|
title,
|
|
19
20
|
description,
|
|
21
|
+
noIndex,
|
|
20
22
|
};
|
|
21
23
|
```
|
|
22
24
|
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SEOMetadata1
|
|
2
|
+
|
|
3
|
+
SEO metadata for the product
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**title** | **string** | Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used. | [optional] [default to undefined]
|
|
10
|
+
**description** | **string** | Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used. | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SEOMetadata1 } from '@teemill/product-catalog';
|
|
16
|
+
|
|
17
|
+
const instance: SEOMetadata1 = {
|
|
18
|
+
title,
|
|
19
|
+
description,
|
|
20
|
+
};
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**title** | **string** | Meta title for the product. This appears in search engine results and social shares. If not provided, the product title will be used. | [optional] [default to undefined]
|
|
9
9
|
**description** | **string** | Meta description for the product. This appears in search engine results and social shares. If not provided, the product description will be used. | [optional] [default to undefined]
|
|
10
|
+
**noIndex** | **boolean** | Whether to prevent the product from being indexed by search engines. | [optional] [default to false]
|
|
10
11
|
|
|
11
12
|
## Example
|
|
12
13
|
|
|
@@ -16,6 +17,7 @@ import { UpdateProductsRequestProductsInnerSeoMetadata } from '@teemill/product-
|
|
|
16
17
|
const instance: UpdateProductsRequestProductsInnerSeoMetadata = {
|
|
17
18
|
title,
|
|
18
19
|
description,
|
|
20
|
+
noIndex,
|
|
19
21
|
};
|
|
20
22
|
```
|
|
21
23
|
|
package/index.ts
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.83.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|