@teemill/website 0.19.1 → 0.21.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 +151 -2
- package/api.ts +924 -145
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +485 -3
- package/dist/api.js +485 -8
- 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 +485 -3
- package/dist/esm/api.js +475 -6
- 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/ApiError.md +22 -0
- package/docs/Application.md +28 -0
- package/docs/ApplicationMockup.md +22 -0
- package/docs/AttachCrossSellProductsRequest.md +20 -0
- package/docs/Attribute.md +26 -0
- package/docs/AttributeThumbnail.md +23 -0
- package/docs/AuthorizeStripe200Response.md +20 -0
- package/docs/Blog.md +34 -0
- package/docs/BlogsApi.md +317 -0
- package/docs/BlogsResponse.md +22 -0
- package/docs/Brand.md +20 -0
- package/docs/Collection.md +36 -0
- package/docs/CollectionsApi.md +378 -0
- package/docs/CollectionsResponse.md +22 -0
- package/docs/CreateSearchRedirectRequest.md +22 -0
- package/docs/CrossSellApi.md +128 -0
- package/docs/DefaultApi.md +123 -0
- package/docs/ExportPages202Response.md +20 -0
- package/docs/Footer.md +20 -0
- package/docs/FooterApi.md +123 -0
- package/docs/FooterItem.md +26 -0
- package/docs/Image.md +35 -0
- package/docs/ListRoutesResponse.md +22 -0
- package/docs/Menu.md +20 -0
- package/docs/MenuApi.md +122 -0
- package/docs/MenuItem.md +32 -0
- package/docs/MetaField.md +23 -0
- package/docs/MetaImage.md +23 -0
- package/docs/ModerateReviewRequest.md +20 -0
- package/docs/OptimisationHistoryItem.md +22 -0
- package/docs/Page.md +36 -0
- package/docs/PagesApi.md +378 -0
- package/docs/PagesResponse.md +22 -0
- package/docs/PaymentAccount.md +24 -0
- package/docs/PaymentApi.md +178 -0
- package/docs/Price.md +23 -0
- package/docs/Product.md +66 -0
- package/docs/ProductAdditionalFilesInner.md +22 -0
- package/docs/ProductApplicationSetsInner.md +24 -0
- package/docs/ProductWarehouseProduct.md +22 -0
- package/docs/Review.md +38 -0
- package/docs/ReviewAuthor.md +22 -0
- package/docs/ReviewImagesInner.md +22 -0
- package/docs/ReviewProduct.md +23 -0
- package/docs/ReviewReply.md +26 -0
- package/docs/ReviewReplyAuthor.md +20 -0
- package/docs/ReviewsApi.md +263 -0
- package/docs/ReviewsResponse.md +22 -0
- package/docs/Route.md +28 -0
- package/docs/RoutesApi.md +70 -0
- package/docs/SearchApi.md +319 -0
- package/docs/SearchRedirect.md +26 -0
- package/docs/SearchRedirectsResponse.md +22 -0
- package/docs/SeoMetadata.md +23 -0
- package/docs/SeoOptimiseCollectionsRequest.md +22 -0
- package/docs/SeoOptimisePages202Response.md +20 -0
- package/docs/SeoOptimisePagesRequest.md +22 -0
- package/docs/Stock.md +20 -0
- package/docs/SubmenuInner.md +32 -0
- package/docs/SubmenuInnerImage.md +36 -0
- package/docs/SubmenuInnerImageButton.md +30 -0
- package/docs/SubmenuInnerImageText.md +24 -0
- package/docs/SubmenuItem.md +30 -0
- package/docs/TargetSearchPhraseData.md +22 -0
- package/docs/UpdateBlogRequest.md +30 -0
- package/docs/UpdateBlogsRequest.md +20 -0
- package/docs/UpdateBlogsRequestBlogsInner.md +32 -0
- package/docs/UpdateBlogsRequestBlogsInnerSeoMetadata.md +22 -0
- package/docs/UpdateBrandRequest.md +20 -0
- package/docs/UpdateCollectionRequest.md +32 -0
- package/docs/UpdateCollectionsRequest.md +20 -0
- package/docs/UpdateCollectionsRequestCollectionsInner.md +34 -0
- package/docs/UpdateCollectionsRequestCollectionsInnerSeoMetadata.md +22 -0
- package/docs/UpdateFooterRequest.md +20 -0
- package/docs/UpdateFooterRequestItemsInner.md +24 -0
- package/docs/UpdateMenuRequest.md +20 -0
- package/docs/UpdateMenuRequestItem.md +32 -0
- package/docs/UpdateMenuRequestItemSubmenuInner.md +32 -0
- package/docs/UpdateMenuRequestItemSubmenuInnerImage.md +36 -0
- package/docs/UpdateMenuRequestItemSubmenuInnerImageButton.md +30 -0
- package/docs/UpdateMenuRequestItemSubmenuInnerImageText.md +24 -0
- package/docs/UpdateMenuRequestSubmenuItem.md +30 -0
- package/docs/UpdatePageRequest.md +28 -0
- package/docs/UpdatePagesRequest.md +20 -0
- package/docs/UpdatePagesRequestPagesInner.md +30 -0
- package/docs/UpdateSearchRedirectRequest.md +22 -0
- package/docs/Variant.md +52 -0
- package/docs/VariantProduct.md +22 -0
- package/docs/Video.md +31 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/docs/Footer.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Footer
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<FooterItem>**](FooterItem.md) | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { Footer } from '@teemill/website';
|
|
14
|
+
|
|
15
|
+
const instance: Footer = {
|
|
16
|
+
items,
|
|
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)
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# FooterApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getFooter**](#getfooter) | **GET** /v1/website/footer | Get footer|
|
|
8
|
+
|[**updateFooter**](#updatefooter) | **PUT** /v1/website/footer | Update footer|
|
|
9
|
+
|
|
10
|
+
# **getFooter**
|
|
11
|
+
> Array<Footer> getFooter()
|
|
12
|
+
|
|
13
|
+
Get the footer for the project
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
FooterApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@teemill/website';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new FooterApi(configuration);
|
|
25
|
+
|
|
26
|
+
let project: string; //What project it is (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.getFooter(
|
|
29
|
+
project
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**Array<Footer>**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Footer | - |
|
|
58
|
+
|**401** | Not authorised to access this resource | - |
|
|
59
|
+
|**403** | Refuse to authorize | - |
|
|
60
|
+
|**404** | Resource not found | - |
|
|
61
|
+
|**500** | Unknown server error | - |
|
|
62
|
+
|
|
63
|
+
[[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)
|
|
64
|
+
|
|
65
|
+
# **updateFooter**
|
|
66
|
+
> Array<Footer> updateFooter()
|
|
67
|
+
|
|
68
|
+
Update a footer
|
|
69
|
+
|
|
70
|
+
### Example
|
|
71
|
+
|
|
72
|
+
```typescript
|
|
73
|
+
import {
|
|
74
|
+
FooterApi,
|
|
75
|
+
Configuration,
|
|
76
|
+
UpdateFooterRequest
|
|
77
|
+
} from '@teemill/website';
|
|
78
|
+
|
|
79
|
+
const configuration = new Configuration();
|
|
80
|
+
const apiInstance = new FooterApi(configuration);
|
|
81
|
+
|
|
82
|
+
let project: string; //What project it is (default to undefined)
|
|
83
|
+
let updateFooterRequest: UpdateFooterRequest; //Update footer (optional)
|
|
84
|
+
|
|
85
|
+
const { status, data } = await apiInstance.updateFooter(
|
|
86
|
+
project,
|
|
87
|
+
updateFooterRequest
|
|
88
|
+
);
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### Parameters
|
|
92
|
+
|
|
93
|
+
|Name | Type | Description | Notes|
|
|
94
|
+
|------------- | ------------- | ------------- | -------------|
|
|
95
|
+
| **updateFooterRequest** | **UpdateFooterRequest**| Update footer | |
|
|
96
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
### Return type
|
|
100
|
+
|
|
101
|
+
**Array<Footer>**
|
|
102
|
+
|
|
103
|
+
### Authorization
|
|
104
|
+
|
|
105
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
106
|
+
|
|
107
|
+
### HTTP request headers
|
|
108
|
+
|
|
109
|
+
- **Content-Type**: application/json
|
|
110
|
+
- **Accept**: application/json
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### HTTP response details
|
|
114
|
+
| Status code | Description | Response headers |
|
|
115
|
+
|-------------|-------------|------------------|
|
|
116
|
+
|**200** | Footer | - |
|
|
117
|
+
|**401** | Not authorised to access this resource | - |
|
|
118
|
+
|**403** | Refuse to authorize | - |
|
|
119
|
+
|**400** | Failed validation | - |
|
|
120
|
+
|**500** | Unknown server error | - |
|
|
121
|
+
|
|
122
|
+
[[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)
|
|
123
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# FooterItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**text** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**link** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**order** | **number** | | [optional] [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { FooterItem } from '@teemill/website';
|
|
17
|
+
|
|
18
|
+
const instance: FooterItem = {
|
|
19
|
+
id,
|
|
20
|
+
text,
|
|
21
|
+
link,
|
|
22
|
+
order,
|
|
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)
|
package/docs/Image.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# Image
|
|
2
|
+
|
|
3
|
+
Image description
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
10
|
+
**src** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**type** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**alt** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**variantIds** | **Array<string>** | List of variant Ids | [optional] [default to undefined]
|
|
14
|
+
**sortOrder** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
16
|
+
**updatedAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Image } from '@teemill/website';
|
|
22
|
+
|
|
23
|
+
const instance: Image = {
|
|
24
|
+
id,
|
|
25
|
+
src,
|
|
26
|
+
type,
|
|
27
|
+
alt,
|
|
28
|
+
variantIds,
|
|
29
|
+
sortOrder,
|
|
30
|
+
createdAt,
|
|
31
|
+
updatedAt,
|
|
32
|
+
};
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
[[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
|
+
# ListRoutesResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**routes** | [**Array<Route>**](Route.md) | | [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { ListRoutesResponse } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: ListRoutesResponse = {
|
|
17
|
+
routes,
|
|
18
|
+
nextPageToken,
|
|
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)
|
package/docs/Menu.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Menu
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**items** | [**Array<MenuItem>**](MenuItem.md) | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { Menu } from '@teemill/website';
|
|
14
|
+
|
|
15
|
+
const instance: Menu = {
|
|
16
|
+
items,
|
|
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)
|
package/docs/MenuApi.md
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# MenuApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**getMenu**](#getmenu) | **GET** /v1/website/menu | Get menu|
|
|
8
|
+
|[**updateMenu**](#updatemenu) | **PUT** /v1/website/menu | Update menu|
|
|
9
|
+
|
|
10
|
+
# **getMenu**
|
|
11
|
+
> Menu getMenu()
|
|
12
|
+
|
|
13
|
+
Get menu
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import {
|
|
19
|
+
MenuApi,
|
|
20
|
+
Configuration
|
|
21
|
+
} from '@teemill/website';
|
|
22
|
+
|
|
23
|
+
const configuration = new Configuration();
|
|
24
|
+
const apiInstance = new MenuApi(configuration);
|
|
25
|
+
|
|
26
|
+
let project: string; //What project it is (default to undefined)
|
|
27
|
+
|
|
28
|
+
const { status, data } = await apiInstance.getMenu(
|
|
29
|
+
project
|
|
30
|
+
);
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
### Parameters
|
|
34
|
+
|
|
35
|
+
|Name | Type | Description | Notes|
|
|
36
|
+
|------------- | ------------- | ------------- | -------------|
|
|
37
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
### Return type
|
|
41
|
+
|
|
42
|
+
**Menu**
|
|
43
|
+
|
|
44
|
+
### Authorization
|
|
45
|
+
|
|
46
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
47
|
+
|
|
48
|
+
### HTTP request headers
|
|
49
|
+
|
|
50
|
+
- **Content-Type**: Not defined
|
|
51
|
+
- **Accept**: application/json
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
### HTTP response details
|
|
55
|
+
| Status code | Description | Response headers |
|
|
56
|
+
|-------------|-------------|------------------|
|
|
57
|
+
|**200** | Website menu | - |
|
|
58
|
+
|**401** | Not authorised to access this resource | - |
|
|
59
|
+
|**403** | Refuse to authorize | - |
|
|
60
|
+
|**500** | Unknown server error | - |
|
|
61
|
+
|
|
62
|
+
[[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)
|
|
63
|
+
|
|
64
|
+
# **updateMenu**
|
|
65
|
+
> Menu updateMenu()
|
|
66
|
+
|
|
67
|
+
Update menu
|
|
68
|
+
|
|
69
|
+
### Example
|
|
70
|
+
|
|
71
|
+
```typescript
|
|
72
|
+
import {
|
|
73
|
+
MenuApi,
|
|
74
|
+
Configuration,
|
|
75
|
+
UpdateMenuRequest
|
|
76
|
+
} from '@teemill/website';
|
|
77
|
+
|
|
78
|
+
const configuration = new Configuration();
|
|
79
|
+
const apiInstance = new MenuApi(configuration);
|
|
80
|
+
|
|
81
|
+
let project: string; //What project it is (default to undefined)
|
|
82
|
+
let updateMenuRequest: UpdateMenuRequest; //Update menu request (optional)
|
|
83
|
+
|
|
84
|
+
const { status, data } = await apiInstance.updateMenu(
|
|
85
|
+
project,
|
|
86
|
+
updateMenuRequest
|
|
87
|
+
);
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Parameters
|
|
91
|
+
|
|
92
|
+
|Name | Type | Description | Notes|
|
|
93
|
+
|------------- | ------------- | ------------- | -------------|
|
|
94
|
+
| **updateMenuRequest** | **UpdateMenuRequest**| Update menu request | |
|
|
95
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
### Return type
|
|
99
|
+
|
|
100
|
+
**Menu**
|
|
101
|
+
|
|
102
|
+
### Authorization
|
|
103
|
+
|
|
104
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
105
|
+
|
|
106
|
+
### HTTP request headers
|
|
107
|
+
|
|
108
|
+
- **Content-Type**: application/json
|
|
109
|
+
- **Accept**: application/json
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
### HTTP response details
|
|
113
|
+
| Status code | Description | Response headers |
|
|
114
|
+
|-------------|-------------|------------------|
|
|
115
|
+
|**200** | Website menu | - |
|
|
116
|
+
|**401** | Not authorised to access this resource | - |
|
|
117
|
+
|**403** | Refuse to authorize | - |
|
|
118
|
+
|**422** | Failed validation | - |
|
|
119
|
+
|**500** | Unknown server error | - |
|
|
120
|
+
|
|
121
|
+
[[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)
|
|
122
|
+
|
package/docs/MenuItem.md
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# MenuItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**text** | **string** | | [default to undefined]
|
|
10
|
+
**link** | **string** | | [default to undefined]
|
|
11
|
+
**color** | **string** | | [default to undefined]
|
|
12
|
+
**backgroundColor** | **string** | | [default to undefined]
|
|
13
|
+
**order** | **number** | | [default to undefined]
|
|
14
|
+
**submenu** | [**Array<SubmenuInner>**](SubmenuInner.md) | | [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { MenuItem } from '@teemill/website';
|
|
20
|
+
|
|
21
|
+
const instance: MenuItem = {
|
|
22
|
+
id,
|
|
23
|
+
text,
|
|
24
|
+
link,
|
|
25
|
+
color,
|
|
26
|
+
backgroundColor,
|
|
27
|
+
order,
|
|
28
|
+
submenu,
|
|
29
|
+
};
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[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
|
+
# MetaField
|
|
2
|
+
|
|
3
|
+
Key/value pairs that can be used to store additional information on the product
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**key** | **string** | The key of the property | [default to undefined]
|
|
10
|
+
**value** | **string** | The string value of the property | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { MetaField } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: MetaField = {
|
|
18
|
+
key,
|
|
19
|
+
value,
|
|
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)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# MetaImage
|
|
2
|
+
|
|
3
|
+
The image that will 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 { MetaImage } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: MetaImage = {
|
|
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)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# ModerateReviewRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**enabled** | **boolean** | Whether the review has been approved or not. If the review is not enabled, it will not be visible to the public. | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { ModerateReviewRequest } from '@teemill/website';
|
|
14
|
+
|
|
15
|
+
const instance: ModerateReviewRequest = {
|
|
16
|
+
enabled,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# OptimisationHistoryItem
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { OptimisationHistoryItem } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: OptimisationHistoryItem = {
|
|
17
|
+
id,
|
|
18
|
+
createdAt,
|
|
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)
|
package/docs/Page.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Page
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [optional] [default to undefined]
|
|
9
|
+
**legacyId** | **number** | The legacy ID of the page | [optional] [default to undefined]
|
|
10
|
+
**title** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**description** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**slug** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
|
|
14
|
+
**optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the page | [optional] [default to undefined]
|
|
15
|
+
**metaImage** | [**MetaImage**](MetaImage.md) | | [optional] [default to undefined]
|
|
16
|
+
**publishedAt** | **string** | | [optional] [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { Page } from '@teemill/website';
|
|
22
|
+
|
|
23
|
+
const instance: Page = {
|
|
24
|
+
id,
|
|
25
|
+
legacyId,
|
|
26
|
+
title,
|
|
27
|
+
description,
|
|
28
|
+
slug,
|
|
29
|
+
targetSearchPhraseData,
|
|
30
|
+
optimisationHistory,
|
|
31
|
+
metaImage,
|
|
32
|
+
publishedAt,
|
|
33
|
+
};
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|