@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.
Files changed (116) hide show
  1. package/README.md +151 -2
  2. package/api.ts +924 -145
  3. package/base.ts +1 -1
  4. package/common.ts +1 -1
  5. package/configuration.ts +1 -1
  6. package/dist/api.d.ts +485 -3
  7. package/dist/api.js +485 -8
  8. package/dist/base.d.ts +1 -1
  9. package/dist/base.js +1 -1
  10. package/dist/common.d.ts +1 -1
  11. package/dist/common.js +1 -1
  12. package/dist/configuration.d.ts +1 -1
  13. package/dist/configuration.js +1 -1
  14. package/dist/esm/api.d.ts +485 -3
  15. package/dist/esm/api.js +475 -6
  16. package/dist/esm/base.d.ts +1 -1
  17. package/dist/esm/base.js +1 -1
  18. package/dist/esm/common.d.ts +1 -1
  19. package/dist/esm/common.js +1 -1
  20. package/dist/esm/configuration.d.ts +1 -1
  21. package/dist/esm/configuration.js +1 -1
  22. package/dist/esm/index.d.ts +1 -1
  23. package/dist/esm/index.js +1 -1
  24. package/dist/index.d.ts +1 -1
  25. package/dist/index.js +1 -1
  26. package/docs/ApiError.md +22 -0
  27. package/docs/Application.md +28 -0
  28. package/docs/ApplicationMockup.md +22 -0
  29. package/docs/AttachCrossSellProductsRequest.md +20 -0
  30. package/docs/Attribute.md +26 -0
  31. package/docs/AttributeThumbnail.md +23 -0
  32. package/docs/AuthorizeStripe200Response.md +20 -0
  33. package/docs/Blog.md +34 -0
  34. package/docs/BlogsApi.md +317 -0
  35. package/docs/BlogsResponse.md +22 -0
  36. package/docs/Brand.md +20 -0
  37. package/docs/Collection.md +36 -0
  38. package/docs/CollectionsApi.md +378 -0
  39. package/docs/CollectionsResponse.md +22 -0
  40. package/docs/CreateSearchRedirectRequest.md +22 -0
  41. package/docs/CrossSellApi.md +128 -0
  42. package/docs/DefaultApi.md +123 -0
  43. package/docs/ExportPages202Response.md +20 -0
  44. package/docs/Footer.md +20 -0
  45. package/docs/FooterApi.md +123 -0
  46. package/docs/FooterItem.md +26 -0
  47. package/docs/Image.md +35 -0
  48. package/docs/ListRoutesResponse.md +22 -0
  49. package/docs/Menu.md +20 -0
  50. package/docs/MenuApi.md +122 -0
  51. package/docs/MenuItem.md +32 -0
  52. package/docs/MetaField.md +23 -0
  53. package/docs/MetaImage.md +23 -0
  54. package/docs/ModerateReviewRequest.md +20 -0
  55. package/docs/OptimisationHistoryItem.md +22 -0
  56. package/docs/Page.md +36 -0
  57. package/docs/PagesApi.md +378 -0
  58. package/docs/PagesResponse.md +22 -0
  59. package/docs/PaymentAccount.md +24 -0
  60. package/docs/PaymentApi.md +178 -0
  61. package/docs/Price.md +23 -0
  62. package/docs/Product.md +66 -0
  63. package/docs/ProductAdditionalFilesInner.md +22 -0
  64. package/docs/ProductApplicationSetsInner.md +24 -0
  65. package/docs/ProductWarehouseProduct.md +22 -0
  66. package/docs/Review.md +38 -0
  67. package/docs/ReviewAuthor.md +22 -0
  68. package/docs/ReviewImagesInner.md +22 -0
  69. package/docs/ReviewProduct.md +23 -0
  70. package/docs/ReviewReply.md +26 -0
  71. package/docs/ReviewReplyAuthor.md +20 -0
  72. package/docs/ReviewsApi.md +263 -0
  73. package/docs/ReviewsResponse.md +22 -0
  74. package/docs/Route.md +28 -0
  75. package/docs/RoutesApi.md +70 -0
  76. package/docs/SearchApi.md +319 -0
  77. package/docs/SearchRedirect.md +26 -0
  78. package/docs/SearchRedirectsResponse.md +22 -0
  79. package/docs/SeoMetadata.md +23 -0
  80. package/docs/SeoOptimiseCollectionsRequest.md +22 -0
  81. package/docs/SeoOptimisePages202Response.md +20 -0
  82. package/docs/SeoOptimisePagesRequest.md +22 -0
  83. package/docs/Stock.md +20 -0
  84. package/docs/SubmenuInner.md +32 -0
  85. package/docs/SubmenuInnerImage.md +36 -0
  86. package/docs/SubmenuInnerImageButton.md +30 -0
  87. package/docs/SubmenuInnerImageText.md +24 -0
  88. package/docs/SubmenuItem.md +30 -0
  89. package/docs/TargetSearchPhraseData.md +22 -0
  90. package/docs/UpdateBlogRequest.md +30 -0
  91. package/docs/UpdateBlogsRequest.md +20 -0
  92. package/docs/UpdateBlogsRequestBlogsInner.md +32 -0
  93. package/docs/UpdateBlogsRequestBlogsInnerSeoMetadata.md +22 -0
  94. package/docs/UpdateBrandRequest.md +20 -0
  95. package/docs/UpdateCollectionRequest.md +32 -0
  96. package/docs/UpdateCollectionsRequest.md +20 -0
  97. package/docs/UpdateCollectionsRequestCollectionsInner.md +34 -0
  98. package/docs/UpdateCollectionsRequestCollectionsInnerSeoMetadata.md +22 -0
  99. package/docs/UpdateFooterRequest.md +20 -0
  100. package/docs/UpdateFooterRequestItemsInner.md +24 -0
  101. package/docs/UpdateMenuRequest.md +20 -0
  102. package/docs/UpdateMenuRequestItem.md +32 -0
  103. package/docs/UpdateMenuRequestItemSubmenuInner.md +32 -0
  104. package/docs/UpdateMenuRequestItemSubmenuInnerImage.md +36 -0
  105. package/docs/UpdateMenuRequestItemSubmenuInnerImageButton.md +30 -0
  106. package/docs/UpdateMenuRequestItemSubmenuInnerImageText.md +24 -0
  107. package/docs/UpdateMenuRequestSubmenuItem.md +30 -0
  108. package/docs/UpdatePageRequest.md +28 -0
  109. package/docs/UpdatePagesRequest.md +20 -0
  110. package/docs/UpdatePagesRequestPagesInner.md +30 -0
  111. package/docs/UpdateSearchRedirectRequest.md +22 -0
  112. package/docs/Variant.md +52 -0
  113. package/docs/VariantProduct.md +22 -0
  114. package/docs/Video.md +31 -0
  115. package/index.ts +1 -1
  116. package/package.json +1 -1
@@ -0,0 +1,22 @@
1
+ # ApiError
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **code** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ApiError } from '@teemill/website';
15
+
16
+ const instance: ApiError = {
17
+ code,
18
+ message,
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,28 @@
1
+ # Application
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
+ **technology** | **string** | Technology to use for the application. | [default to undefined]
10
+ **placement** | **string** | Placement of the application. Available placements depend on the chosen product and technology. | [default to undefined]
11
+ **src** | **string** | Publicly available design file URL. This will fill the design area of the warehouse product. It will be centered horizontally and aligned to the top of the design area. Accepts PNG and JPEG files. | [default to undefined]
12
+ **mockup** | [**ApplicationMockup**](ApplicationMockup.md) | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { Application } from '@teemill/website';
18
+
19
+ const instance: Application = {
20
+ id,
21
+ technology,
22
+ placement,
23
+ src,
24
+ mockup,
25
+ };
26
+ ```
27
+
28
+ [[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
+ # ApplicationMockup
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **file** | **string** | Drive image URL. If provided, this will be used as the mockup image for the variant application rather than generating a new one. | [default to undefined]
9
+ **preview** | **string** | Publicly available mockup image URL. This is a preview of the mockup image for the given application. | [optional] [readonly] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ApplicationMockup } from '@teemill/website';
15
+
16
+ const instance: ApplicationMockup = {
17
+ file,
18
+ preview,
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
+ # AttachCrossSellProductsRequest
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **products** | **Array<string>** | A list of product IDs to attach as cross-sell products. The order in which they are sent is the order they will be saved in. | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AttachCrossSellProductsRequest } from '@teemill/website';
14
+
15
+ const instance: AttachCrossSellProductsRequest = {
16
+ products,
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,26 @@
1
+ # Attribute
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | Attribute name | [default to undefined]
9
+ **value** | **string** | Attribute value | [default to undefined]
10
+ **thumbnail** | [**AttributeThumbnail**](AttributeThumbnail.md) | | [optional] [default to undefined]
11
+ **tags** | **Array<string>** | Attribute tags | [optional] [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { Attribute } from '@teemill/website';
17
+
18
+ const instance: Attribute = {
19
+ name,
20
+ value,
21
+ thumbnail,
22
+ tags,
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,23 @@
1
+ # AttributeThumbnail
2
+
3
+ Attribute thumbnail, intended for interfaces like storefront colour selector.
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **type** | **string** | | [optional] [default to undefined]
10
+ **value** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { AttributeThumbnail } from '@teemill/website';
16
+
17
+ const instance: AttributeThumbnail = {
18
+ type,
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,20 @@
1
+ # AuthorizeStripe200Response
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **redirect_url** | **string** | The URL to redirect to | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { AuthorizeStripe200Response } from '@teemill/website';
14
+
15
+ const instance: AuthorizeStripe200Response = {
16
+ redirect_url,
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/Blog.md ADDED
@@ -0,0 +1,34 @@
1
+ # Blog
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **slug** | **string** | | [optional] [default to undefined]
12
+ **seoMetadata** | [**SeoMetadata**](SeoMetadata.md) | | [optional] [default to undefined]
13
+ **targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
14
+ **metaImage** | [**MetaImage**](MetaImage.md) | | [optional] [default to undefined]
15
+ **publishedAt** | **string** | | [optional] [default to undefined]
16
+
17
+ ## Example
18
+
19
+ ```typescript
20
+ import { Blog } from '@teemill/website';
21
+
22
+ const instance: Blog = {
23
+ id,
24
+ title,
25
+ description,
26
+ slug,
27
+ seoMetadata,
28
+ targetSearchPhraseData,
29
+ metaImage,
30
+ publishedAt,
31
+ };
32
+ ```
33
+
34
+ [[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,317 @@
1
+ # BlogsApi
2
+
3
+ All URIs are relative to *https://api.localhost:8080*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**exportBlogs**](#exportblogs) | **GET** /v1/website/blogs/export | Export blogs|
8
+ |[**getBlog**](#getblog) | **GET** /v1/website/blogs/{blogId} | Get website blog post|
9
+ |[**listBlogs**](#listblogs) | **GET** /v1/website/blogs | List website blog posts|
10
+ |[**updateBlog**](#updateblog) | **PATCH** /v1/website/blogs/{blogId} | Update website blog post|
11
+ |[**updateBlogs**](#updateblogs) | **PATCH** /v1/website/blogs | Update website blog posts|
12
+
13
+ # **exportBlogs**
14
+ > File exportBlogs()
15
+
16
+ Export blogs as a CSV file.
17
+
18
+ ### Example
19
+
20
+ ```typescript
21
+ import {
22
+ BlogsApi,
23
+ Configuration
24
+ } from '@teemill/website';
25
+
26
+ const configuration = new Configuration();
27
+ const apiInstance = new BlogsApi(configuration);
28
+
29
+ let project: string; //What project it is (default to undefined)
30
+
31
+ const { status, data } = await apiInstance.exportBlogs(
32
+ project
33
+ );
34
+ ```
35
+
36
+ ### Parameters
37
+
38
+ |Name | Type | Description | Notes|
39
+ |------------- | ------------- | ------------- | -------------|
40
+ | **project** | [**string**] | What project it is | defaults to undefined|
41
+
42
+
43
+ ### Return type
44
+
45
+ **File**
46
+
47
+ ### Authorization
48
+
49
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
50
+
51
+ ### HTTP request headers
52
+
53
+ - **Content-Type**: Not defined
54
+ - **Accept**: text/csv; charset=utf-8, application/json
55
+
56
+
57
+ ### HTTP response details
58
+ | Status code | Description | Response headers |
59
+ |-------------|-------------|------------------|
60
+ |**200** | Returns the CSV export | - |
61
+ |**202** | Export started. When complete, the export will be available for download from a notification within PodOS Dashboard. | - |
62
+ |**400** | Failed validation | - |
63
+ |**401** | Not authorised to access this resource | - |
64
+ |**403** | Refuse to authorize | - |
65
+ |**500** | Unknown server error | - |
66
+
67
+ [[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)
68
+
69
+ # **getBlog**
70
+ > Blog getBlog()
71
+
72
+
73
+ ### Example
74
+
75
+ ```typescript
76
+ import {
77
+ BlogsApi,
78
+ Configuration
79
+ } from '@teemill/website';
80
+
81
+ const configuration = new Configuration();
82
+ const apiInstance = new BlogsApi(configuration);
83
+
84
+ let project: string; //What project it is (default to undefined)
85
+ let blogId: string; //Blog\'s unique identifier (default to undefined)
86
+
87
+ const { status, data } = await apiInstance.getBlog(
88
+ project,
89
+ blogId
90
+ );
91
+ ```
92
+
93
+ ### Parameters
94
+
95
+ |Name | Type | Description | Notes|
96
+ |------------- | ------------- | ------------- | -------------|
97
+ | **project** | [**string**] | What project it is | defaults to undefined|
98
+ | **blogId** | [**string**] | Blog\'s unique identifier | defaults to undefined|
99
+
100
+
101
+ ### Return type
102
+
103
+ **Blog**
104
+
105
+ ### Authorization
106
+
107
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
108
+
109
+ ### HTTP request headers
110
+
111
+ - **Content-Type**: Not defined
112
+ - **Accept**: application/json
113
+
114
+
115
+ ### HTTP response details
116
+ | Status code | Description | Response headers |
117
+ |-------------|-------------|------------------|
118
+ |**200** | Successfully retrieved a website blog post. | - |
119
+ |**401** | Not authorised to access this resource | - |
120
+ |**403** | Refuse to authorize | - |
121
+ |**404** | Resource not found | - |
122
+ |**500** | Unknown server error | - |
123
+
124
+ [[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)
125
+
126
+ # **listBlogs**
127
+ > BlogsResponse listBlogs()
128
+
129
+
130
+ ### Example
131
+
132
+ ```typescript
133
+ import {
134
+ BlogsApi,
135
+ Configuration
136
+ } from '@teemill/website';
137
+
138
+ const configuration = new Configuration();
139
+ const apiInstance = new BlogsApi(configuration);
140
+
141
+ let project: string; //What project it is (default to undefined)
142
+ let pageToken: number; //Page reference token (optional) (default to 1)
143
+ 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)
144
+ let search: string; //Search term to filter results (optional) (default to undefined)
145
+
146
+ const { status, data } = await apiInstance.listBlogs(
147
+ project,
148
+ pageToken,
149
+ pageSize,
150
+ search
151
+ );
152
+ ```
153
+
154
+ ### Parameters
155
+
156
+ |Name | Type | Description | Notes|
157
+ |------------- | ------------- | ------------- | -------------|
158
+ | **project** | [**string**] | What project it is | defaults to undefined|
159
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
160
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
161
+ | **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
162
+
163
+
164
+ ### Return type
165
+
166
+ **BlogsResponse**
167
+
168
+ ### Authorization
169
+
170
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
171
+
172
+ ### HTTP request headers
173
+
174
+ - **Content-Type**: Not defined
175
+ - **Accept**: application/json
176
+
177
+
178
+ ### HTTP response details
179
+ | Status code | Description | Response headers |
180
+ |-------------|-------------|------------------|
181
+ |**200** | Successfully retrieved all website blog posts. | - |
182
+ |**401** | Not authorised to access this resource | - |
183
+ |**403** | Refuse to authorize | - |
184
+ |**500** | Unknown server error | - |
185
+
186
+ [[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)
187
+
188
+ # **updateBlog**
189
+ > Blog updateBlog()
190
+
191
+
192
+ ### Example
193
+
194
+ ```typescript
195
+ import {
196
+ BlogsApi,
197
+ Configuration,
198
+ UpdateBlogRequest
199
+ } from '@teemill/website';
200
+
201
+ const configuration = new Configuration();
202
+ const apiInstance = new BlogsApi(configuration);
203
+
204
+ let project: string; //What project it is (default to undefined)
205
+ let blogId: string; //Blog\'s unique identifier (default to undefined)
206
+ let updateBlogRequest: UpdateBlogRequest; // (optional)
207
+
208
+ const { status, data } = await apiInstance.updateBlog(
209
+ project,
210
+ blogId,
211
+ updateBlogRequest
212
+ );
213
+ ```
214
+
215
+ ### Parameters
216
+
217
+ |Name | Type | Description | Notes|
218
+ |------------- | ------------- | ------------- | -------------|
219
+ | **updateBlogRequest** | **UpdateBlogRequest**| | |
220
+ | **project** | [**string**] | What project it is | defaults to undefined|
221
+ | **blogId** | [**string**] | Blog\'s unique identifier | defaults to undefined|
222
+
223
+
224
+ ### Return type
225
+
226
+ **Blog**
227
+
228
+ ### Authorization
229
+
230
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
231
+
232
+ ### HTTP request headers
233
+
234
+ - **Content-Type**: application/json
235
+ - **Accept**: application/json
236
+
237
+
238
+ ### HTTP response details
239
+ | Status code | Description | Response headers |
240
+ |-------------|-------------|------------------|
241
+ |**200** | Successfully retrieved a website blog post. | - |
242
+ |**400** | Failed validation | - |
243
+ |**401** | Not authorised to access this resource | - |
244
+ |**403** | Refuse to authorize | - |
245
+ |**404** | Resource not found | - |
246
+ |**500** | Unknown server error | - |
247
+
248
+ [[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)
249
+
250
+ # **updateBlogs**
251
+ > BlogsResponse updateBlogs()
252
+
253
+
254
+ ### Example
255
+
256
+ ```typescript
257
+ import {
258
+ BlogsApi,
259
+ Configuration,
260
+ UpdateBlogsRequest
261
+ } from '@teemill/website';
262
+
263
+ const configuration = new Configuration();
264
+ const apiInstance = new BlogsApi(configuration);
265
+
266
+ let project: string; //What project it is (default to undefined)
267
+ let pageToken: number; //Page reference token (optional) (default to 1)
268
+ 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)
269
+ let search: string; //Search term to filter results (optional) (default to undefined)
270
+ let updateBlogsRequest: UpdateBlogsRequest; //Update blogs in bulk. (optional)
271
+
272
+ const { status, data } = await apiInstance.updateBlogs(
273
+ project,
274
+ pageToken,
275
+ pageSize,
276
+ search,
277
+ updateBlogsRequest
278
+ );
279
+ ```
280
+
281
+ ### Parameters
282
+
283
+ |Name | Type | Description | Notes|
284
+ |------------- | ------------- | ------------- | -------------|
285
+ | **updateBlogsRequest** | **UpdateBlogsRequest**| Update blogs in bulk. | |
286
+ | **project** | [**string**] | What project it is | defaults to undefined|
287
+ | **pageToken** | [**number**] | Page reference token | (optional) defaults to 1|
288
+ | **pageSize** | [**number**] | Max page size. This is the maximum page size that will be returned, but it might be smaller. | (optional) defaults to 100|
289
+ | **search** | [**string**] | Search term to filter results | (optional) defaults to undefined|
290
+
291
+
292
+ ### Return type
293
+
294
+ **BlogsResponse**
295
+
296
+ ### Authorization
297
+
298
+ [session-oauth](../README.md#session-oauth), [api-key](../README.md#api-key)
299
+
300
+ ### HTTP request headers
301
+
302
+ - **Content-Type**: application/json
303
+ - **Accept**: application/json
304
+
305
+
306
+ ### HTTP response details
307
+ | Status code | Description | Response headers |
308
+ |-------------|-------------|------------------|
309
+ |**200** | Successfully retrieved all website blog posts. | - |
310
+ |**400** | Failed validation | - |
311
+ |**401** | Not authorised to access this resource | - |
312
+ |**403** | Refuse to authorize | - |
313
+ |**404** | Resource not found | - |
314
+ |**500** | Unknown server error | - |
315
+
316
+ [[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)
317
+
@@ -0,0 +1,22 @@
1
+ # BlogsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **blogs** | [**Array<Blog>**](Blog.md) | | [optional] [default to undefined]
9
+ **nextPageToken** | **number** | The token referencing the next page number | [optional] [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { BlogsResponse } from '@teemill/website';
15
+
16
+ const instance: BlogsResponse = {
17
+ blogs,
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/Brand.md ADDED
@@ -0,0 +1,20 @@
1
+ # Brand
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **favicon** | **string** | The URL of the favicon | [optional] [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { Brand } from '@teemill/website';
14
+
15
+ const instance: Brand = {
16
+ favicon,
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,36 @@
1
+ # Collection
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | Unique object identifier | [optional] [default to undefined]
9
+ **title** | **string** | | [optional] [default to undefined]
10
+ **description** | **string** | | [optional] [default to undefined]
11
+ **slug** | **string** | | [optional] [default to undefined]
12
+ **longDescription** | **string** | | [optional] [default to undefined]
13
+ **seoMetadata** | [**SeoMetadata**](SeoMetadata.md) | | [optional] [default to undefined]
14
+ **targetSearchPhraseData** | [**TargetSearchPhraseData**](TargetSearchPhraseData.md) | | [optional] [default to undefined]
15
+ **optimisationHistory** | [**Array<OptimisationHistoryItem>**](OptimisationHistoryItem.md) | History of AI optimisations performed on the collection | [optional] [default to undefined]
16
+ **metaImage** | [**MetaImage**](MetaImage.md) | | [optional] [default to undefined]
17
+
18
+ ## Example
19
+
20
+ ```typescript
21
+ import { Collection } from '@teemill/website';
22
+
23
+ const instance: Collection = {
24
+ id,
25
+ title,
26
+ description,
27
+ slug,
28
+ longDescription,
29
+ seoMetadata,
30
+ targetSearchPhraseData,
31
+ optimisationHistory,
32
+ metaImage,
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)