@teemill/website 0.22.1 → 0.23.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 +25 -2
- package/api.ts +878 -56
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +727 -22
- package/dist/api.js +175 -5
- 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 +727 -22
- package/dist/esm/api.js +175 -5
- 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/Banner.md +23 -0
- package/docs/BannerImage.md +22 -0
- package/docs/Collection.md +10 -6
- package/docs/CollectionProduct.md +24 -0
- package/docs/CollectionProductImage.md +22 -0
- package/docs/CollectionsApi.md +128 -0
- package/docs/CreateCollectionRequest.md +38 -0
- package/docs/CreateCollectionRequestBanner.md +22 -0
- package/docs/CreateCollectionRequestBannerImage.md +22 -0
- package/docs/CreateCollectionRequestBannerOverlay.md +26 -0
- package/docs/CreateCollectionRequestProductsInner.md +24 -0
- package/docs/CreateCollectionRequestSeoMetadata.md +24 -0
- package/docs/Footer.md +1 -1
- package/docs/FooterItem.md +4 -4
- package/docs/MetaImage.md +1 -1
- package/docs/NavigationTag.md +24 -0
- package/docs/NullableMetaImage.md +23 -0
- package/docs/Overlay.md +27 -0
- package/docs/UpdateCollectionRequest.md +7 -1
- package/docs/UpdateCollectionRequestBanner.md +22 -0
- package/docs/UpdateCollectionRequestBannerImage.md +22 -0
- package/docs/UpdateCollectionRequestProductsInner.md +24 -0
- package/docs/UpdateCollectionRequestSeoMetadata.md +24 -0
- package/docs/UpdateCollectionsRequestCollectionsInner.md +6 -0
- package/docs/UpdateCollectionsRequestCollectionsInnerBanner.md +22 -0
- package/docs/UpdateCollectionsRequestCollectionsInnerBannerImage.md +22 -0
- package/docs/UpdateCollectionsRequestCollectionsInnerBannerOverlay.md +26 -0
- package/docs/UpdateCollectionsRequestCollectionsInnerProductsInner.md +24 -0
- package/index.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CreateCollectionRequestBanner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**image** | [**CreateCollectionRequestBannerImage**](CreateCollectionRequestBannerImage.md) | | [default to undefined]
|
|
9
|
+
**overlay** | [**CreateCollectionRequestBannerOverlay**](CreateCollectionRequestBannerOverlay.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CreateCollectionRequestBanner } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: CreateCollectionRequestBanner = {
|
|
17
|
+
image,
|
|
18
|
+
overlay,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# CreateCollectionRequestBannerImage
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | The source of the image | [default to undefined]
|
|
9
|
+
**alt** | **string** | Alternative text for the image | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { CreateCollectionRequestBannerImage } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: CreateCollectionRequestBannerImage = {
|
|
17
|
+
src,
|
|
18
|
+
alt,
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# CreateCollectionRequestBannerOverlay
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**from** | **string** | The start color of the gradient | [optional] [default to undefined]
|
|
9
|
+
**to** | **string** | The end color of the gradient | [optional] [default to undefined]
|
|
10
|
+
**angle** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**opacity** | **number** | The opacity of the gradient | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { CreateCollectionRequestBannerOverlay } from '@teemill/website';
|
|
17
|
+
|
|
18
|
+
const instance: CreateCollectionRequestBannerOverlay = {
|
|
19
|
+
from,
|
|
20
|
+
to,
|
|
21
|
+
angle,
|
|
22
|
+
opacity,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# CreateCollectionRequestProductsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ref** | **string** | A reference to the catalog product | [default to undefined]
|
|
9
|
+
**order** | **number** | The sort order of the product in the collection | [default to undefined]
|
|
10
|
+
**src** | **string** | An image for the product to be used in the collection | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CreateCollectionRequestProductsInner } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: CreateCollectionRequestProductsInner = {
|
|
18
|
+
ref,
|
|
19
|
+
order,
|
|
20
|
+
src,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# CreateCollectionRequestSeoMetadata
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | Meta title for the collection. This appears in search engine results and social shares. If not provided, the collection title will be used. | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Meta description for the collection. This appears in search engine results and social shares. If not provided, the collection description will be used. | [optional] [default to undefined]
|
|
10
|
+
**image** | [**MetaImage**](MetaImage.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { CreateCollectionRequestSeoMetadata } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: CreateCollectionRequestSeoMetadata = {
|
|
18
|
+
title,
|
|
19
|
+
description,
|
|
20
|
+
image,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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/Footer.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**items** | [**Array<FooterItem>**](FooterItem.md) | | [
|
|
8
|
+
**items** | [**Array<FooterItem>**](FooterItem.md) | | [default to undefined]
|
|
9
9
|
|
|
10
10
|
## Example
|
|
11
11
|
|
package/docs/FooterItem.md
CHANGED
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | | [
|
|
9
|
-
**text** | **string** | | [
|
|
10
|
-
**link** | **string** | | [
|
|
11
|
-
**order** | **number** | | [
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**text** | **string** | | [default to undefined]
|
|
10
|
+
**link** | **string** | | [default to undefined]
|
|
11
|
+
**order** | **number** | | [default to undefined]
|
|
12
12
|
|
|
13
13
|
## Example
|
|
14
14
|
|
package/docs/MetaImage.md
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# NavigationTag
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**text** | **string** | | [default to undefined]
|
|
9
|
+
**link** | **string** | | [default to undefined]
|
|
10
|
+
**order** | **number** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { NavigationTag } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: NavigationTag = {
|
|
18
|
+
text,
|
|
19
|
+
link,
|
|
20
|
+
order,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# NullableMetaImage
|
|
2
|
+
|
|
3
|
+
The image that will be used in links shared on social media platforms
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**src** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**alt** | **string** | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { NullableMetaImage } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: NullableMetaImage = {
|
|
18
|
+
src,
|
|
19
|
+
alt,
|
|
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)
|
package/docs/Overlay.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Overlay
|
|
2
|
+
|
|
3
|
+
The overlay that is used to display the collection
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**from** | **string** | | [default to undefined]
|
|
10
|
+
**to** | **string** | | [default to undefined]
|
|
11
|
+
**angle** | **number** | | [default to undefined]
|
|
12
|
+
**opacity** | **number** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { Overlay } from '@teemill/website';
|
|
18
|
+
|
|
19
|
+
const instance: Overlay = {
|
|
20
|
+
from,
|
|
21
|
+
to,
|
|
22
|
+
angle,
|
|
23
|
+
opacity,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,13 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**banner** | [**UpdateCollectionRequestBanner**](UpdateCollectionRequestBanner.md) | | [optional] [default to undefined]
|
|
8
9
|
**title** | **string** | Collection title | [optional] [default to undefined]
|
|
9
10
|
**description** | **string** | Collection description | [optional] [default to undefined]
|
|
10
11
|
**slug** | **string** | URL slug. This must be unique for each collection on the website. Updating this will also break any existing links to this collection. | [optional] [default to undefined]
|
|
11
12
|
**longDescription** | **string** | Long-form description for the collection used for SEO. | [optional] [default to undefined]
|
|
12
|
-
**seoMetadata** | [**
|
|
13
|
+
**seoMetadata** | [**UpdateCollectionRequestSeoMetadata**](UpdateCollectionRequestSeoMetadata.md) | | [optional] [default to undefined]
|
|
13
14
|
**targetSearchPhrase** | **string** | The primary target search phrase for the collection that you wish to rank for in search engine results. | [optional] [default to undefined]
|
|
14
15
|
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. | [optional] [default to undefined]
|
|
16
|
+
**products** | [**Array<UpdateCollectionRequestProductsInner>**](UpdateCollectionRequestProductsInner.md) | A set of products to include in the collection. | [optional] [default to undefined]
|
|
17
|
+
**navigationTags** | [**Array<NavigationTag>**](NavigationTag.md) | Tags that are used to link to other collections, pages and products. | [optional] [default to undefined]
|
|
15
18
|
|
|
16
19
|
## Example
|
|
17
20
|
|
|
@@ -19,6 +22,7 @@ Name | Type | Description | Notes
|
|
|
19
22
|
import { UpdateCollectionRequest } from '@teemill/website';
|
|
20
23
|
|
|
21
24
|
const instance: UpdateCollectionRequest = {
|
|
25
|
+
banner,
|
|
22
26
|
title,
|
|
23
27
|
description,
|
|
24
28
|
slug,
|
|
@@ -26,6 +30,8 @@ const instance: UpdateCollectionRequest = {
|
|
|
26
30
|
seoMetadata,
|
|
27
31
|
targetSearchPhrase,
|
|
28
32
|
targetSearchPhraseSynonyms,
|
|
33
|
+
products,
|
|
34
|
+
navigationTags,
|
|
29
35
|
};
|
|
30
36
|
```
|
|
31
37
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateCollectionRequestBanner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**image** | [**UpdateCollectionRequestBannerImage**](UpdateCollectionRequestBannerImage.md) | | [optional] [default to undefined]
|
|
9
|
+
**overlay** | [**UpdateCollectionsRequestCollectionsInnerBannerOverlay**](UpdateCollectionsRequestCollectionsInnerBannerOverlay.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateCollectionRequestBanner } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateCollectionRequestBanner = {
|
|
17
|
+
image,
|
|
18
|
+
overlay,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateCollectionRequestBannerImage
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | Banner image source | [optional] [default to undefined]
|
|
9
|
+
**alt** | **string** | Banner image alt text | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateCollectionRequestBannerImage } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateCollectionRequestBannerImage = {
|
|
17
|
+
src,
|
|
18
|
+
alt,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UpdateCollectionRequestProductsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ref** | **string** | A reference to the catalog product | [optional] [default to undefined]
|
|
9
|
+
**order** | **number** | The sort order of the product in the collection | [optional] [default to undefined]
|
|
10
|
+
**src** | **string** | An image for the product to be used in the collection | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateCollectionRequestProductsInner } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateCollectionRequestProductsInner = {
|
|
18
|
+
ref,
|
|
19
|
+
order,
|
|
20
|
+
src,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UpdateCollectionRequestSeoMetadata
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | Meta title for the collection. This appears in search engine results and social shares. If not provided, the collection title will be used. | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Meta description for the collection. This appears in search engine results and social shares. If not provided, the collection description will be used. | [optional] [default to undefined]
|
|
10
|
+
**image** | [**MetaImage**](MetaImage.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateCollectionRequestSeoMetadata } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateCollectionRequestSeoMetadata = {
|
|
18
|
+
title,
|
|
19
|
+
description,
|
|
20
|
+
image,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**banner** | [**UpdateCollectionsRequestCollectionsInnerBanner**](UpdateCollectionsRequestCollectionsInnerBanner.md) | | [optional] [default to undefined]
|
|
9
10
|
**title** | **string** | Collection title | [optional] [default to undefined]
|
|
10
11
|
**description** | **string** | Collection description | [optional] [default to undefined]
|
|
11
12
|
**slug** | **string** | URL slug. This must be unique for each collection on the website. Updating this will also break any existing links to this collection. | [optional] [default to undefined]
|
|
@@ -13,6 +14,8 @@ Name | Type | Description | Notes
|
|
|
13
14
|
**seoMetadata** | [**UpdateCollectionsRequestCollectionsInnerSeoMetadata**](UpdateCollectionsRequestCollectionsInnerSeoMetadata.md) | | [optional] [default to undefined]
|
|
14
15
|
**targetSearchPhrase** | **string** | The primary target search phrase for the collection that you wish to rank for in search engine results. | [optional] [default to undefined]
|
|
15
16
|
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. | [optional] [default to undefined]
|
|
17
|
+
**products** | [**Array<UpdateCollectionsRequestCollectionsInnerProductsInner>**](UpdateCollectionsRequestCollectionsInnerProductsInner.md) | A set of products to include in the collection. | [optional] [default to undefined]
|
|
18
|
+
**navigationTags** | [**Array<NavigationTag>**](NavigationTag.md) | Tags that are used to link to other collections, pages and products. | [optional] [default to undefined]
|
|
16
19
|
|
|
17
20
|
## Example
|
|
18
21
|
|
|
@@ -21,6 +24,7 @@ import { UpdateCollectionsRequestCollectionsInner } from '@teemill/website';
|
|
|
21
24
|
|
|
22
25
|
const instance: UpdateCollectionsRequestCollectionsInner = {
|
|
23
26
|
id,
|
|
27
|
+
banner,
|
|
24
28
|
title,
|
|
25
29
|
description,
|
|
26
30
|
slug,
|
|
@@ -28,6 +32,8 @@ const instance: UpdateCollectionsRequestCollectionsInner = {
|
|
|
28
32
|
seoMetadata,
|
|
29
33
|
targetSearchPhrase,
|
|
30
34
|
targetSearchPhraseSynonyms,
|
|
35
|
+
products,
|
|
36
|
+
navigationTags,
|
|
31
37
|
};
|
|
32
38
|
```
|
|
33
39
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateCollectionsRequestCollectionsInnerBanner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**image** | [**UpdateCollectionsRequestCollectionsInnerBannerImage**](UpdateCollectionsRequestCollectionsInnerBannerImage.md) | | [optional] [default to undefined]
|
|
9
|
+
**overlay** | [**UpdateCollectionsRequestCollectionsInnerBannerOverlay**](UpdateCollectionsRequestCollectionsInnerBannerOverlay.md) | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateCollectionsRequestCollectionsInnerBanner } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateCollectionsRequestCollectionsInnerBanner = {
|
|
17
|
+
image,
|
|
18
|
+
overlay,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# UpdateCollectionsRequestCollectionsInnerBannerImage
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | Banner image source | [optional] [default to undefined]
|
|
9
|
+
**alt** | **string** | Alternative text for the image | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { UpdateCollectionsRequestCollectionsInnerBannerImage } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: UpdateCollectionsRequestCollectionsInnerBannerImage = {
|
|
17
|
+
src,
|
|
18
|
+
alt,
|
|
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)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# UpdateCollectionsRequestCollectionsInnerBannerOverlay
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**from** | **string** | The start color of the gradient | [optional] [default to undefined]
|
|
9
|
+
**to** | **string** | The end color of the gradient | [optional] [default to undefined]
|
|
10
|
+
**angle** | **number** | The angle of the gradient | [optional] [default to undefined]
|
|
11
|
+
**opacity** | **number** | The opacity of the gradient | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { UpdateCollectionsRequestCollectionsInnerBannerOverlay } from '@teemill/website';
|
|
17
|
+
|
|
18
|
+
const instance: UpdateCollectionsRequestCollectionsInnerBannerOverlay = {
|
|
19
|
+
from,
|
|
20
|
+
to,
|
|
21
|
+
angle,
|
|
22
|
+
opacity,
|
|
23
|
+
};
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# UpdateCollectionsRequestCollectionsInnerProductsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ref** | [**CollectionProduct**](CollectionProduct.md) | | [optional] [default to undefined]
|
|
9
|
+
**order** | **number** | The sort order of the product in the collection | [optional] [default to undefined]
|
|
10
|
+
**image** | [**NullableMetaImage**](NullableMetaImage.md) | | [optional] [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { UpdateCollectionsRequestCollectionsInnerProductsInner } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: UpdateCollectionsRequestCollectionsInnerProductsInner = {
|
|
18
|
+
ref,
|
|
19
|
+
order,
|
|
20
|
+
image,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[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/index.ts
CHANGED