@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
|
@@ -0,0 +1,319 @@
|
|
|
1
|
+
# SearchApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *https://api.localhost:8080*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**createSearchRedirect**](#createsearchredirect) | **POST** /v1/website/search/redirects | Create search redirect|
|
|
8
|
+
|[**deleteSearchRedirect**](#deletesearchredirect) | **DELETE** /v1/website/search/redirects/{redirectId} | Delete search redirect|
|
|
9
|
+
|[**getSearchRedirect**](#getsearchredirect) | **GET** /v1/website/search/redirects/{redirectId} | Get search redirect|
|
|
10
|
+
|[**listSearchRedirects**](#listsearchredirects) | **GET** /v1/website/search/redirects | List search redirects|
|
|
11
|
+
|[**updateSearchRedirect**](#updatesearchredirect) | **PATCH** /v1/website/search/redirects/{redirectId} | Update search redirect|
|
|
12
|
+
|
|
13
|
+
# **createSearchRedirect**
|
|
14
|
+
> SearchRedirect createSearchRedirect()
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import {
|
|
21
|
+
SearchApi,
|
|
22
|
+
Configuration,
|
|
23
|
+
CreateSearchRedirectRequest
|
|
24
|
+
} from '@teemill/website';
|
|
25
|
+
|
|
26
|
+
const configuration = new Configuration();
|
|
27
|
+
const apiInstance = new SearchApi(configuration);
|
|
28
|
+
|
|
29
|
+
let project: string; //What project it is (default to undefined)
|
|
30
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
31
|
+
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)
|
|
32
|
+
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
33
|
+
let createSearchRedirectRequest: CreateSearchRedirectRequest; //Create search redirect (optional)
|
|
34
|
+
|
|
35
|
+
const { status, data } = await apiInstance.createSearchRedirect(
|
|
36
|
+
project,
|
|
37
|
+
pageToken,
|
|
38
|
+
pageSize,
|
|
39
|
+
search,
|
|
40
|
+
createSearchRedirectRequest
|
|
41
|
+
);
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Parameters
|
|
45
|
+
|
|
46
|
+
|Name | Type | Description | Notes|
|
|
47
|
+
|------------- | ------------- | ------------- | -------------|
|
|
48
|
+
| **createSearchRedirectRequest** | **CreateSearchRedirectRequest**| Create search redirect | |
|
|
49
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
50
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
51
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
52
|
+
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Return type
|
|
56
|
+
|
|
57
|
+
**SearchRedirect**
|
|
58
|
+
|
|
59
|
+
### Authorization
|
|
60
|
+
|
|
61
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
62
|
+
|
|
63
|
+
### HTTP request headers
|
|
64
|
+
|
|
65
|
+
- **Content-Type**: application/json
|
|
66
|
+
- **Accept**: application/json
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### HTTP response details
|
|
70
|
+
| Status code | Description | Response headers |
|
|
71
|
+
|-------------|-------------|------------------|
|
|
72
|
+
|**201** | Successfully retrieved a search redirect | - |
|
|
73
|
+
|**400** | Failed validation | - |
|
|
74
|
+
|**401** | Not authorised to access this resource | - |
|
|
75
|
+
|**403** | Refuse to authorize | - |
|
|
76
|
+
|**404** | Resource not found | - |
|
|
77
|
+
|**500** | Unknown server error | - |
|
|
78
|
+
|
|
79
|
+
[[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)
|
|
80
|
+
|
|
81
|
+
# **deleteSearchRedirect**
|
|
82
|
+
> deleteSearchRedirect()
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
### Example
|
|
86
|
+
|
|
87
|
+
```typescript
|
|
88
|
+
import {
|
|
89
|
+
SearchApi,
|
|
90
|
+
Configuration
|
|
91
|
+
} from '@teemill/website';
|
|
92
|
+
|
|
93
|
+
const configuration = new Configuration();
|
|
94
|
+
const apiInstance = new SearchApi(configuration);
|
|
95
|
+
|
|
96
|
+
let project: string; //What project it is (default to undefined)
|
|
97
|
+
let redirectId: string; //Redirect\'s unique identifier (default to undefined)
|
|
98
|
+
|
|
99
|
+
const { status, data } = await apiInstance.deleteSearchRedirect(
|
|
100
|
+
project,
|
|
101
|
+
redirectId
|
|
102
|
+
);
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Parameters
|
|
106
|
+
|
|
107
|
+
|Name | Type | Description | Notes|
|
|
108
|
+
|------------- | ------------- | ------------- | -------------|
|
|
109
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
110
|
+
| **redirectId** | [**string**] | Redirect\'s unique identifier | defaults to undefined|
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
### Return type
|
|
114
|
+
|
|
115
|
+
void (empty response body)
|
|
116
|
+
|
|
117
|
+
### Authorization
|
|
118
|
+
|
|
119
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
120
|
+
|
|
121
|
+
### HTTP request headers
|
|
122
|
+
|
|
123
|
+
- **Content-Type**: Not defined
|
|
124
|
+
- **Accept**: application/json
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### HTTP response details
|
|
128
|
+
| Status code | Description | Response headers |
|
|
129
|
+
|-------------|-------------|------------------|
|
|
130
|
+
|**204** | Search redirect deleted | - |
|
|
131
|
+
|**401** | Not authorised to access this resource | - |
|
|
132
|
+
|**403** | Refuse to authorize | - |
|
|
133
|
+
|**404** | Resource not found | - |
|
|
134
|
+
|**500** | Unknown server error | - |
|
|
135
|
+
|
|
136
|
+
[[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)
|
|
137
|
+
|
|
138
|
+
# **getSearchRedirect**
|
|
139
|
+
> SearchRedirect getSearchRedirect()
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Example
|
|
143
|
+
|
|
144
|
+
```typescript
|
|
145
|
+
import {
|
|
146
|
+
SearchApi,
|
|
147
|
+
Configuration
|
|
148
|
+
} from '@teemill/website';
|
|
149
|
+
|
|
150
|
+
const configuration = new Configuration();
|
|
151
|
+
const apiInstance = new SearchApi(configuration);
|
|
152
|
+
|
|
153
|
+
let project: string; //What project it is (default to undefined)
|
|
154
|
+
let redirectId: string; //Redirect\'s unique identifier (default to undefined)
|
|
155
|
+
|
|
156
|
+
const { status, data } = await apiInstance.getSearchRedirect(
|
|
157
|
+
project,
|
|
158
|
+
redirectId
|
|
159
|
+
);
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Parameters
|
|
163
|
+
|
|
164
|
+
|Name | Type | Description | Notes|
|
|
165
|
+
|------------- | ------------- | ------------- | -------------|
|
|
166
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
167
|
+
| **redirectId** | [**string**] | Redirect\'s unique identifier | defaults to undefined|
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
### Return type
|
|
171
|
+
|
|
172
|
+
**SearchRedirect**
|
|
173
|
+
|
|
174
|
+
### Authorization
|
|
175
|
+
|
|
176
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
177
|
+
|
|
178
|
+
### HTTP request headers
|
|
179
|
+
|
|
180
|
+
- **Content-Type**: Not defined
|
|
181
|
+
- **Accept**: application/json
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
### HTTP response details
|
|
185
|
+
| Status code | Description | Response headers |
|
|
186
|
+
|-------------|-------------|------------------|
|
|
187
|
+
|**200** | Successfully retrieved a search redirect | - |
|
|
188
|
+
|**401** | Not authorised to access this resource | - |
|
|
189
|
+
|**403** | Refuse to authorize | - |
|
|
190
|
+
|**404** | Resource not found | - |
|
|
191
|
+
|**500** | Unknown server error | - |
|
|
192
|
+
|
|
193
|
+
[[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)
|
|
194
|
+
|
|
195
|
+
# **listSearchRedirects**
|
|
196
|
+
> SearchRedirectsResponse listSearchRedirects()
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
### Example
|
|
200
|
+
|
|
201
|
+
```typescript
|
|
202
|
+
import {
|
|
203
|
+
SearchApi,
|
|
204
|
+
Configuration
|
|
205
|
+
} from '@teemill/website';
|
|
206
|
+
|
|
207
|
+
const configuration = new Configuration();
|
|
208
|
+
const apiInstance = new SearchApi(configuration);
|
|
209
|
+
|
|
210
|
+
let project: string; //What project it is (default to undefined)
|
|
211
|
+
let pageToken: number; //Page reference token (optional) (default to 1)
|
|
212
|
+
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)
|
|
213
|
+
let search: string; //Search term to filter results (optional) (default to undefined)
|
|
214
|
+
|
|
215
|
+
const { status, data } = await apiInstance.listSearchRedirects(
|
|
216
|
+
project,
|
|
217
|
+
pageToken,
|
|
218
|
+
pageSize,
|
|
219
|
+
search
|
|
220
|
+
);
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### Parameters
|
|
224
|
+
|
|
225
|
+
|Name | Type | Description | Notes|
|
|
226
|
+
|------------- | ------------- | ------------- | -------------|
|
|
227
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
228
|
+
| **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
|
|
229
|
+
| **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
|
|
230
|
+
| **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
### Return type
|
|
234
|
+
|
|
235
|
+
**SearchRedirectsResponse**
|
|
236
|
+
|
|
237
|
+
### Authorization
|
|
238
|
+
|
|
239
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
240
|
+
|
|
241
|
+
### HTTP request headers
|
|
242
|
+
|
|
243
|
+
- **Content-Type**: Not defined
|
|
244
|
+
- **Accept**: application/json
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
### HTTP response details
|
|
248
|
+
| Status code | Description | Response headers |
|
|
249
|
+
|-------------|-------------|------------------|
|
|
250
|
+
|**200** | A list of search redirects | - |
|
|
251
|
+
|**401** | Not authorised to access this resource | - |
|
|
252
|
+
|**403** | Refuse to authorize | - |
|
|
253
|
+
|**404** | Resource not found | - |
|
|
254
|
+
|**500** | Unknown server error | - |
|
|
255
|
+
|
|
256
|
+
[[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)
|
|
257
|
+
|
|
258
|
+
# **updateSearchRedirect**
|
|
259
|
+
> SearchRedirect updateSearchRedirect()
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
### Example
|
|
263
|
+
|
|
264
|
+
```typescript
|
|
265
|
+
import {
|
|
266
|
+
SearchApi,
|
|
267
|
+
Configuration,
|
|
268
|
+
UpdateSearchRedirectRequest
|
|
269
|
+
} from '@teemill/website';
|
|
270
|
+
|
|
271
|
+
const configuration = new Configuration();
|
|
272
|
+
const apiInstance = new SearchApi(configuration);
|
|
273
|
+
|
|
274
|
+
let project: string; //What project it is (default to undefined)
|
|
275
|
+
let redirectId: string; //Redirect\'s unique identifier (default to undefined)
|
|
276
|
+
let updateSearchRedirectRequest: UpdateSearchRedirectRequest; //Update search redirect (optional)
|
|
277
|
+
|
|
278
|
+
const { status, data } = await apiInstance.updateSearchRedirect(
|
|
279
|
+
project,
|
|
280
|
+
redirectId,
|
|
281
|
+
updateSearchRedirectRequest
|
|
282
|
+
);
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Parameters
|
|
286
|
+
|
|
287
|
+
|Name | Type | Description | Notes|
|
|
288
|
+
|------------- | ------------- | ------------- | -------------|
|
|
289
|
+
| **updateSearchRedirectRequest** | **UpdateSearchRedirectRequest**| Update search redirect | |
|
|
290
|
+
| **project** | [**string**] | What project it is | defaults to undefined|
|
|
291
|
+
| **redirectId** | [**string**] | Redirect\'s unique identifier | defaults to undefined|
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### Return type
|
|
295
|
+
|
|
296
|
+
**SearchRedirect**
|
|
297
|
+
|
|
298
|
+
### Authorization
|
|
299
|
+
|
|
300
|
+
[session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
|
|
301
|
+
|
|
302
|
+
### HTTP request headers
|
|
303
|
+
|
|
304
|
+
- **Content-Type**: application/json
|
|
305
|
+
- **Accept**: application/json
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
### HTTP response details
|
|
309
|
+
| Status code | Description | Response headers |
|
|
310
|
+
|-------------|-------------|------------------|
|
|
311
|
+
|**200** | Successfully retrieved a search redirect | - |
|
|
312
|
+
|**400** | Failed validation | - |
|
|
313
|
+
|**401** | Not authorised to access this resource | - |
|
|
314
|
+
|**403** | Refuse to authorize | - |
|
|
315
|
+
|**404** | Resource not found | - |
|
|
316
|
+
|**500** | Unknown server error | - |
|
|
317
|
+
|
|
318
|
+
[[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)
|
|
319
|
+
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# SearchRedirect
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | Unique object identifier | [default to undefined]
|
|
9
|
+
**searchTerm** | **string** | | [default to undefined]
|
|
10
|
+
**destinationUrl** | **string** | | [default to undefined]
|
|
11
|
+
**createdAt** | **string** | | [default to undefined]
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import { SearchRedirect } from '@teemill/website';
|
|
17
|
+
|
|
18
|
+
const instance: SearchRedirect = {
|
|
19
|
+
id,
|
|
20
|
+
searchTerm,
|
|
21
|
+
destinationUrl,
|
|
22
|
+
createdAt,
|
|
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,22 @@
|
|
|
1
|
+
# SearchRedirectsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**redirects** | [**Array<SearchRedirect>**](SearchRedirect.md) | | [default to undefined]
|
|
9
|
+
**nextPageToken** | **number** | The token referencing the next page number | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SearchRedirectsResponse } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: SearchRedirectsResponse = {
|
|
17
|
+
redirects,
|
|
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)
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# SeoMetadata
|
|
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 { SeoMetadata } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: SeoMetadata = {
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# SeoOptimiseCollectionsRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ids** | **Array<string>** | A set of collection IDs to AI SEO optimise. | [optional] [default to undefined]
|
|
9
|
+
**fields** | **Array<string>** | If provided, only the specified fields will be updated. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SeoOptimiseCollectionsRequest } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: SeoOptimiseCollectionsRequest = {
|
|
17
|
+
ids,
|
|
18
|
+
fields,
|
|
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,20 @@
|
|
|
1
|
+
# SeoOptimisePages202Response
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**message** | **string** | A message describing the optimisation status | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { SeoOptimisePages202Response } from '@teemill/website';
|
|
14
|
+
|
|
15
|
+
const instance: SeoOptimisePages202Response = {
|
|
16
|
+
message,
|
|
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
|
+
# SeoOptimisePagesRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**ids** | **Array<string>** | A set of page IDs to AI SEO optimise. | [optional] [default to undefined]
|
|
9
|
+
**fields** | **Array<string>** | If provided, only the specified fields will be updated. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { SeoOptimisePagesRequest } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: SeoOptimisePagesRequest = {
|
|
17
|
+
ids,
|
|
18
|
+
fields,
|
|
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/Stock.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Stock
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**level** | **number** | | [optional] [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { Stock } from '@teemill/website';
|
|
14
|
+
|
|
15
|
+
const instance: Stock = {
|
|
16
|
+
level,
|
|
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,32 @@
|
|
|
1
|
+
# SubmenuInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**title** | **string** | | [default to undefined]
|
|
10
|
+
**link** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**image** | [**SubmenuInnerImage**](SubmenuInnerImage.md) | | [default to undefined]
|
|
12
|
+
**order** | **number** | | [default to undefined]
|
|
13
|
+
**items** | [**Array<SubmenuItem>**](SubmenuItem.md) | | [default to undefined]
|
|
14
|
+
**mode** | **string** | | [optional] [default to undefined]
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```typescript
|
|
19
|
+
import { SubmenuInner } from '@teemill/website';
|
|
20
|
+
|
|
21
|
+
const instance: SubmenuInner = {
|
|
22
|
+
id,
|
|
23
|
+
title,
|
|
24
|
+
link,
|
|
25
|
+
image,
|
|
26
|
+
order,
|
|
27
|
+
items,
|
|
28
|
+
mode,
|
|
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,36 @@
|
|
|
1
|
+
# SubmenuInnerImage
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**src** | **string** | | [default to undefined]
|
|
9
|
+
**title** | **string** | | [default to undefined]
|
|
10
|
+
**description** | **string** | | [default to undefined]
|
|
11
|
+
**link** | **string** | | [default to undefined]
|
|
12
|
+
**overlay** | **boolean** | | [default to false]
|
|
13
|
+
**borderRadius** | **string** | | [default to undefined]
|
|
14
|
+
**ratio** | **string** | | [default to undefined]
|
|
15
|
+
**text** | [**SubmenuInnerImageText**](SubmenuInnerImageText.md) | | [default to undefined]
|
|
16
|
+
**button** | [**SubmenuInnerImageButton**](SubmenuInnerImageButton.md) | | [default to undefined]
|
|
17
|
+
|
|
18
|
+
## Example
|
|
19
|
+
|
|
20
|
+
```typescript
|
|
21
|
+
import { SubmenuInnerImage } from '@teemill/website';
|
|
22
|
+
|
|
23
|
+
const instance: SubmenuInnerImage = {
|
|
24
|
+
src,
|
|
25
|
+
title,
|
|
26
|
+
description,
|
|
27
|
+
link,
|
|
28
|
+
overlay,
|
|
29
|
+
borderRadius,
|
|
30
|
+
ratio,
|
|
31
|
+
text,
|
|
32
|
+
button,
|
|
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)
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# SubmenuInnerImageButton
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**text** | **string** | | [default to undefined]
|
|
9
|
+
**textColor** | **string** | | [default to undefined]
|
|
10
|
+
**backgroundColor** | **string** | | [default to undefined]
|
|
11
|
+
**borderColor** | **string** | | [default to undefined]
|
|
12
|
+
**borderRadius** | **string** | | [default to undefined]
|
|
13
|
+
**width** | **string** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SubmenuInnerImageButton } from '@teemill/website';
|
|
19
|
+
|
|
20
|
+
const instance: SubmenuInnerImageButton = {
|
|
21
|
+
text,
|
|
22
|
+
textColor,
|
|
23
|
+
backgroundColor,
|
|
24
|
+
borderColor,
|
|
25
|
+
borderRadius,
|
|
26
|
+
width,
|
|
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)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# SubmenuInnerImageText
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**alignment** | **string** | | [default to undefined]
|
|
9
|
+
**color** | **string** | | [default to undefined]
|
|
10
|
+
**shadow** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { SubmenuInnerImageText } from '@teemill/website';
|
|
16
|
+
|
|
17
|
+
const instance: SubmenuInnerImageText = {
|
|
18
|
+
alignment,
|
|
19
|
+
color,
|
|
20
|
+
shadow,
|
|
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,30 @@
|
|
|
1
|
+
# SubmenuItem
|
|
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
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { SubmenuItem } from '@teemill/website';
|
|
19
|
+
|
|
20
|
+
const instance: SubmenuItem = {
|
|
21
|
+
id,
|
|
22
|
+
text,
|
|
23
|
+
link,
|
|
24
|
+
color,
|
|
25
|
+
backgroundColor,
|
|
26
|
+
order,
|
|
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)
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# TargetSearchPhraseData
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**targetSearchPhrase** | **string** | The primary target search phrase for a page that you wish to rank for in search engine results. | [optional] [default to undefined]
|
|
9
|
+
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { TargetSearchPhraseData } from '@teemill/website';
|
|
15
|
+
|
|
16
|
+
const instance: TargetSearchPhraseData = {
|
|
17
|
+
targetSearchPhrase,
|
|
18
|
+
targetSearchPhraseSynonyms,
|
|
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,30 @@
|
|
|
1
|
+
# UpdateBlogRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**title** | **string** | Blog title | [optional] [default to undefined]
|
|
9
|
+
**description** | **string** | Blog description | [optional] [default to undefined]
|
|
10
|
+
**slug** | **string** | URL slug. This must be unique for each blog post on the website. Updating this will also break any existing links to this blog post. | [optional] [default to undefined]
|
|
11
|
+
**seoMetadata** | [**UpdateBlogsRequestBlogsInnerSeoMetadata**](UpdateBlogsRequestBlogsInnerSeoMetadata.md) | | [optional] [default to undefined]
|
|
12
|
+
**targetSearchPhrase** | **string** | The primary target search phrase for the blog post that you wish to rank for in search engine results. | [optional] [default to undefined]
|
|
13
|
+
**targetSearchPhraseSynonyms** | **Array<string>** | Synonyms for the target search phrase. | [optional] [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { UpdateBlogRequest } from '@teemill/website';
|
|
19
|
+
|
|
20
|
+
const instance: UpdateBlogRequest = {
|
|
21
|
+
title,
|
|
22
|
+
description,
|
|
23
|
+
slug,
|
|
24
|
+
seoMetadata,
|
|
25
|
+
targetSearchPhrase,
|
|
26
|
+
targetSearchPhraseSynonyms,
|
|
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)
|