@teemill/website 0.15.0 → 0.17.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/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Website API
3
3
  * Manage your PodOS Website
4
4
  *
5
- * The version of the OpenAPI document: 0.15.0
5
+ * The version of the OpenAPI document: 0.17.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -232,6 +232,18 @@ export interface Blog {
232
232
  * @memberof Blog
233
233
  */
234
234
  'targetSearchPhraseData'?: TargetSearchPhraseData;
235
+ /**
236
+ *
237
+ * @type {MetaImage}
238
+ * @memberof Blog
239
+ */
240
+ 'metaImage'?: MetaImage;
241
+ /**
242
+ *
243
+ * @type {string}
244
+ * @memberof Blog
245
+ */
246
+ 'publishedAt'?: string | null;
235
247
  }
236
248
  /**
237
249
  *
@@ -306,6 +318,12 @@ export interface Collection {
306
318
  * @memberof Collection
307
319
  */
308
320
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
321
+ /**
322
+ *
323
+ * @type {MetaImage}
324
+ * @memberof Collection
325
+ */
326
+ 'metaImage'?: MetaImage;
309
327
  }
310
328
  /**
311
329
  *
@@ -456,6 +474,18 @@ export interface MenuItem {
456
474
  * @memberof MenuItem
457
475
  */
458
476
  'link': string;
477
+ /**
478
+ *
479
+ * @type {string}
480
+ * @memberof MenuItem
481
+ */
482
+ 'color': string | null;
483
+ /**
484
+ *
485
+ * @type {string}
486
+ * @memberof MenuItem
487
+ */
488
+ 'backgroundColor': string | null;
459
489
  /**
460
490
  *
461
491
  * @type {number}
@@ -488,6 +518,25 @@ export interface MetaField {
488
518
  */
489
519
  'value': string;
490
520
  }
521
+ /**
522
+ * The image that will in links shared on social media platforms
523
+ * @export
524
+ * @interface MetaImage
525
+ */
526
+ export interface MetaImage {
527
+ /**
528
+ *
529
+ * @type {string}
530
+ * @memberof MetaImage
531
+ */
532
+ 'src'?: string;
533
+ /**
534
+ *
535
+ * @type {string}
536
+ * @memberof MetaImage
537
+ */
538
+ 'alt'?: string;
539
+ }
491
540
  /**
492
541
  *
493
542
  * @export
@@ -549,6 +598,18 @@ export interface Page {
549
598
  * @memberof Page
550
599
  */
551
600
  'optimisationHistory'?: Array<OptimisationHistoryItem>;
601
+ /**
602
+ *
603
+ * @type {MetaImage}
604
+ * @memberof Page
605
+ */
606
+ 'metaImage'?: MetaImage;
607
+ /**
608
+ *
609
+ * @type {string}
610
+ * @memberof Page
611
+ */
612
+ 'publishedAt'?: string | null;
552
613
  }
553
614
  /**
554
615
  *
@@ -1235,6 +1296,18 @@ export interface SubmenuItem {
1235
1296
  * @memberof SubmenuItem
1236
1297
  */
1237
1298
  'link': string;
1299
+ /**
1300
+ *
1301
+ * @type {string}
1302
+ * @memberof SubmenuItem
1303
+ */
1304
+ 'color': string | null;
1305
+ /**
1306
+ *
1307
+ * @type {string}
1308
+ * @memberof SubmenuItem
1309
+ */
1310
+ 'backgroundColor': string | null;
1238
1311
  /**
1239
1312
  *
1240
1313
  * @type {number}
@@ -1558,6 +1631,18 @@ export interface UpdateMenuRequestItem {
1558
1631
  * @memberof UpdateMenuRequestItem
1559
1632
  */
1560
1633
  'link': string;
1634
+ /**
1635
+ *
1636
+ * @type {string}
1637
+ * @memberof UpdateMenuRequestItem
1638
+ */
1639
+ 'color'?: string | null;
1640
+ /**
1641
+ *
1642
+ * @type {string}
1643
+ * @memberof UpdateMenuRequestItem
1644
+ */
1645
+ 'backgroundColor'?: string | null;
1561
1646
  /**
1562
1647
  *
1563
1648
  * @type {number}
@@ -1803,6 +1888,18 @@ export interface UpdateMenuRequestSubmenuItem {
1803
1888
  * @memberof UpdateMenuRequestSubmenuItem
1804
1889
  */
1805
1890
  'link': string;
1891
+ /**
1892
+ *
1893
+ * @type {string}
1894
+ * @memberof UpdateMenuRequestSubmenuItem
1895
+ */
1896
+ 'color'?: string | null;
1897
+ /**
1898
+ *
1899
+ * @type {string}
1900
+ * @memberof UpdateMenuRequestSubmenuItem
1901
+ */
1902
+ 'backgroundColor'?: string | null;
1806
1903
  /**
1807
1904
  *
1808
1905
  * @type {number}
@@ -2098,6 +2195,15 @@ export interface Video {
2098
2195
  * @export
2099
2196
  */
2100
2197
  export declare const BlogsApiAxiosParamCreator: (configuration?: Configuration) => {
2198
+ /**
2199
+ *
2200
+ * @summary Get website blog post
2201
+ * @param {string} project What project it is
2202
+ * @param {string} blogId Blog\&#39;s unique identifier
2203
+ * @param {*} [options] Override http request option.
2204
+ * @throws {RequiredError}
2205
+ */
2206
+ getBlog: (project: string, blogId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2101
2207
  /**
2102
2208
  *
2103
2209
  * @summary List website blog posts
@@ -2137,6 +2243,15 @@ export declare const BlogsApiAxiosParamCreator: (configuration?: Configuration)
2137
2243
  * @export
2138
2244
  */
2139
2245
  export declare const BlogsApiFp: (configuration?: Configuration) => {
2246
+ /**
2247
+ *
2248
+ * @summary Get website blog post
2249
+ * @param {string} project What project it is
2250
+ * @param {string} blogId Blog\&#39;s unique identifier
2251
+ * @param {*} [options] Override http request option.
2252
+ * @throws {RequiredError}
2253
+ */
2254
+ getBlog(project: string, blogId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Blog>>;
2140
2255
  /**
2141
2256
  *
2142
2257
  * @summary List website blog posts
@@ -2176,6 +2291,14 @@ export declare const BlogsApiFp: (configuration?: Configuration) => {
2176
2291
  * @export
2177
2292
  */
2178
2293
  export declare const BlogsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2294
+ /**
2295
+ *
2296
+ * @summary Get website blog post
2297
+ * @param {BlogsApiGetBlogRequest} requestParameters Request parameters.
2298
+ * @param {*} [options] Override http request option.
2299
+ * @throws {RequiredError}
2300
+ */
2301
+ getBlog(requestParameters: BlogsApiGetBlogRequest, options?: RawAxiosRequestConfig): AxiosPromise<Blog>;
2179
2302
  /**
2180
2303
  *
2181
2304
  * @summary List website blog posts
@@ -2201,6 +2324,25 @@ export declare const BlogsApiFactory: (configuration?: Configuration, basePath?:
2201
2324
  */
2202
2325
  updateBlogs(requestParameters: BlogsApiUpdateBlogsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BlogsResponse>;
2203
2326
  };
2327
+ /**
2328
+ * Request parameters for getBlog operation in BlogsApi.
2329
+ * @export
2330
+ * @interface BlogsApiGetBlogRequest
2331
+ */
2332
+ export interface BlogsApiGetBlogRequest {
2333
+ /**
2334
+ * What project it is
2335
+ * @type {string}
2336
+ * @memberof BlogsApiGetBlog
2337
+ */
2338
+ readonly project: string;
2339
+ /**
2340
+ * Blog\&#39;s unique identifier
2341
+ * @type {string}
2342
+ * @memberof BlogsApiGetBlog
2343
+ */
2344
+ readonly blogId: string;
2345
+ }
2204
2346
  /**
2205
2347
  * Request parameters for listBlogs operation in BlogsApi.
2206
2348
  * @export
@@ -2301,6 +2443,15 @@ export interface BlogsApiUpdateBlogsRequest {
2301
2443
  * @extends {BaseAPI}
2302
2444
  */
2303
2445
  export declare class BlogsApi extends BaseAPI {
2446
+ /**
2447
+ *
2448
+ * @summary Get website blog post
2449
+ * @param {BlogsApiGetBlogRequest} requestParameters Request parameters.
2450
+ * @param {*} [options] Override http request option.
2451
+ * @throws {RequiredError}
2452
+ * @memberof BlogsApi
2453
+ */
2454
+ getBlog(requestParameters: BlogsApiGetBlogRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Blog, any>>;
2304
2455
  /**
2305
2456
  *
2306
2457
  * @summary List website blog posts
@@ -2334,6 +2485,15 @@ export declare class BlogsApi extends BaseAPI {
2334
2485
  * @export
2335
2486
  */
2336
2487
  export declare const CollectionsApiAxiosParamCreator: (configuration?: Configuration) => {
2488
+ /**
2489
+ *
2490
+ * @summary Get website collection
2491
+ * @param {string} project What project it is
2492
+ * @param {string} collectionId Collection\&#39;s unique identifier
2493
+ * @param {*} [options] Override http request option.
2494
+ * @throws {RequiredError}
2495
+ */
2496
+ getCollection: (project: string, collectionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2337
2497
  /**
2338
2498
  *
2339
2499
  * @summary List website collections
@@ -2382,6 +2542,15 @@ export declare const CollectionsApiAxiosParamCreator: (configuration?: Configura
2382
2542
  * @export
2383
2543
  */
2384
2544
  export declare const CollectionsApiFp: (configuration?: Configuration) => {
2545
+ /**
2546
+ *
2547
+ * @summary Get website collection
2548
+ * @param {string} project What project it is
2549
+ * @param {string} collectionId Collection\&#39;s unique identifier
2550
+ * @param {*} [options] Override http request option.
2551
+ * @throws {RequiredError}
2552
+ */
2553
+ getCollection(project: string, collectionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Collection>>;
2385
2554
  /**
2386
2555
  *
2387
2556
  * @summary List website collections
@@ -2430,6 +2599,14 @@ export declare const CollectionsApiFp: (configuration?: Configuration) => {
2430
2599
  * @export
2431
2600
  */
2432
2601
  export declare const CollectionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2602
+ /**
2603
+ *
2604
+ * @summary Get website collection
2605
+ * @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
2606
+ * @param {*} [options] Override http request option.
2607
+ * @throws {RequiredError}
2608
+ */
2609
+ getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: RawAxiosRequestConfig): AxiosPromise<Collection>;
2433
2610
  /**
2434
2611
  *
2435
2612
  * @summary List website collections
@@ -2463,6 +2640,25 @@ export declare const CollectionsApiFactory: (configuration?: Configuration, base
2463
2640
  */
2464
2641
  updateCollections(requestParameters: CollectionsApiUpdateCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<CollectionsResponse>;
2465
2642
  };
2643
+ /**
2644
+ * Request parameters for getCollection operation in CollectionsApi.
2645
+ * @export
2646
+ * @interface CollectionsApiGetCollectionRequest
2647
+ */
2648
+ export interface CollectionsApiGetCollectionRequest {
2649
+ /**
2650
+ * What project it is
2651
+ * @type {string}
2652
+ * @memberof CollectionsApiGetCollection
2653
+ */
2654
+ readonly project: string;
2655
+ /**
2656
+ * Collection\&#39;s unique identifier
2657
+ * @type {string}
2658
+ * @memberof CollectionsApiGetCollection
2659
+ */
2660
+ readonly collectionId: string;
2661
+ }
2466
2662
  /**
2467
2663
  * Request parameters for listCollections operation in CollectionsApi.
2468
2664
  * @export
@@ -2582,6 +2778,15 @@ export interface CollectionsApiUpdateCollectionsRequest {
2582
2778
  * @extends {BaseAPI}
2583
2779
  */
2584
2780
  export declare class CollectionsApi extends BaseAPI {
2781
+ /**
2782
+ *
2783
+ * @summary Get website collection
2784
+ * @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
2785
+ * @param {*} [options] Override http request option.
2786
+ * @throws {RequiredError}
2787
+ * @memberof CollectionsApi
2788
+ */
2789
+ getCollection(requestParameters: CollectionsApiGetCollectionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Collection, any>>;
2585
2790
  /**
2586
2791
  *
2587
2792
  * @summary List website collections
@@ -2892,6 +3097,15 @@ export declare class MenuApi extends BaseAPI {
2892
3097
  * @export
2893
3098
  */
2894
3099
  export declare const PagesApiAxiosParamCreator: (configuration?: Configuration) => {
3100
+ /**
3101
+ *
3102
+ * @summary Get website page
3103
+ * @param {string} project What project it is
3104
+ * @param {string} pageId Page\&#39;s unique identifier
3105
+ * @param {*} [options] Override http request option.
3106
+ * @throws {RequiredError}
3107
+ */
3108
+ getPage: (project: string, pageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2895
3109
  /**
2896
3110
  *
2897
3111
  * @summary List website pages
@@ -2940,6 +3154,15 @@ export declare const PagesApiAxiosParamCreator: (configuration?: Configuration)
2940
3154
  * @export
2941
3155
  */
2942
3156
  export declare const PagesApiFp: (configuration?: Configuration) => {
3157
+ /**
3158
+ *
3159
+ * @summary Get website page
3160
+ * @param {string} project What project it is
3161
+ * @param {string} pageId Page\&#39;s unique identifier
3162
+ * @param {*} [options] Override http request option.
3163
+ * @throws {RequiredError}
3164
+ */
3165
+ getPage(project: string, pageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Page>>;
2943
3166
  /**
2944
3167
  *
2945
3168
  * @summary List website pages
@@ -2988,6 +3211,14 @@ export declare const PagesApiFp: (configuration?: Configuration) => {
2988
3211
  * @export
2989
3212
  */
2990
3213
  export declare const PagesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3214
+ /**
3215
+ *
3216
+ * @summary Get website page
3217
+ * @param {PagesApiGetPageRequest} requestParameters Request parameters.
3218
+ * @param {*} [options] Override http request option.
3219
+ * @throws {RequiredError}
3220
+ */
3221
+ getPage(requestParameters: PagesApiGetPageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Page>;
2991
3222
  /**
2992
3223
  *
2993
3224
  * @summary List website pages
@@ -3021,6 +3252,25 @@ export declare const PagesApiFactory: (configuration?: Configuration, basePath?:
3021
3252
  */
3022
3253
  updatePages(requestParameters: PagesApiUpdatePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PagesResponse>;
3023
3254
  };
3255
+ /**
3256
+ * Request parameters for getPage operation in PagesApi.
3257
+ * @export
3258
+ * @interface PagesApiGetPageRequest
3259
+ */
3260
+ export interface PagesApiGetPageRequest {
3261
+ /**
3262
+ * What project it is
3263
+ * @type {string}
3264
+ * @memberof PagesApiGetPage
3265
+ */
3266
+ readonly project: string;
3267
+ /**
3268
+ * Page\&#39;s unique identifier
3269
+ * @type {string}
3270
+ * @memberof PagesApiGetPage
3271
+ */
3272
+ readonly pageId: string;
3273
+ }
3024
3274
  /**
3025
3275
  * Request parameters for listPages operation in PagesApi.
3026
3276
  * @export
@@ -3140,6 +3390,15 @@ export interface PagesApiUpdatePagesRequest {
3140
3390
  * @extends {BaseAPI}
3141
3391
  */
3142
3392
  export declare class PagesApi extends BaseAPI {
3393
+ /**
3394
+ *
3395
+ * @summary Get website page
3396
+ * @param {PagesApiGetPageRequest} requestParameters Request parameters.
3397
+ * @param {*} [options] Override http request option.
3398
+ * @throws {RequiredError}
3399
+ * @memberof PagesApi
3400
+ */
3401
+ getPage(requestParameters: PagesApiGetPageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Page, any>>;
3143
3402
  /**
3144
3403
  *
3145
3404
  * @summary List website pages