@teemill/website 0.19.0 → 0.20.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/esm/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.19.0
5
+ * The version of the OpenAPI document: 0.20.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -264,6 +264,19 @@ export interface BlogsResponse {
264
264
  */
265
265
  'nextPageToken'?: number | null;
266
266
  }
267
+ /**
268
+ *
269
+ * @export
270
+ * @interface Brand
271
+ */
272
+ export interface Brand {
273
+ /**
274
+ * The URL of the favicon
275
+ * @type {string}
276
+ * @memberof Brand
277
+ */
278
+ 'favicon'?: string;
279
+ }
267
280
  /**
268
281
  *
269
282
  * @export
@@ -376,6 +389,50 @@ export interface ExportPages202Response {
376
389
  */
377
390
  'message'?: string;
378
391
  }
392
+ /**
393
+ *
394
+ * @export
395
+ * @interface Footer
396
+ */
397
+ export interface Footer {
398
+ /**
399
+ *
400
+ * @type {Array<FooterItem>}
401
+ * @memberof Footer
402
+ */
403
+ 'items'?: Array<FooterItem>;
404
+ }
405
+ /**
406
+ *
407
+ * @export
408
+ * @interface FooterItem
409
+ */
410
+ export interface FooterItem {
411
+ /**
412
+ *
413
+ * @type {string}
414
+ * @memberof FooterItem
415
+ */
416
+ 'id'?: string;
417
+ /**
418
+ *
419
+ * @type {string}
420
+ * @memberof FooterItem
421
+ */
422
+ 'text'?: string;
423
+ /**
424
+ *
425
+ * @type {string}
426
+ * @memberof FooterItem
427
+ */
428
+ 'link'?: string;
429
+ /**
430
+ *
431
+ * @type {number}
432
+ * @memberof FooterItem
433
+ */
434
+ 'order'?: number;
435
+ }
379
436
  /**
380
437
  * Image description
381
438
  * @export
@@ -594,6 +651,13 @@ export interface Page {
594
651
  * @memberof Page
595
652
  */
596
653
  'id'?: string;
654
+ /**
655
+ * The legacy ID of the page
656
+ * @type {number}
657
+ * @memberof Page
658
+ * @deprecated
659
+ */
660
+ 'legacyId'?: number;
597
661
  /**
598
662
  *
599
663
  * @type {string}
@@ -1646,6 +1710,19 @@ export interface UpdateBlogsRequestBlogsInnerSeoMetadata {
1646
1710
  */
1647
1711
  'description'?: string | null;
1648
1712
  }
1713
+ /**
1714
+ *
1715
+ * @export
1716
+ * @interface UpdateBrandRequest
1717
+ */
1718
+ export interface UpdateBrandRequest {
1719
+ /**
1720
+ *
1721
+ * @type {string}
1722
+ * @memberof UpdateBrandRequest
1723
+ */
1724
+ 'favicon'?: string;
1725
+ }
1649
1726
  /**
1650
1727
  *
1651
1728
  * @export
@@ -1782,6 +1859,44 @@ export interface UpdateCollectionsRequestCollectionsInnerSeoMetadata {
1782
1859
  */
1783
1860
  'description'?: string | null;
1784
1861
  }
1862
+ /**
1863
+ *
1864
+ * @export
1865
+ * @interface UpdateFooterRequest
1866
+ */
1867
+ export interface UpdateFooterRequest {
1868
+ /**
1869
+ *
1870
+ * @type {Array<UpdateFooterRequestItemsInner>}
1871
+ * @memberof UpdateFooterRequest
1872
+ */
1873
+ 'items': Array<UpdateFooterRequestItemsInner>;
1874
+ }
1875
+ /**
1876
+ *
1877
+ * @export
1878
+ * @interface UpdateFooterRequestItemsInner
1879
+ */
1880
+ export interface UpdateFooterRequestItemsInner {
1881
+ /**
1882
+ *
1883
+ * @type {string}
1884
+ * @memberof UpdateFooterRequestItemsInner
1885
+ */
1886
+ 'text': string;
1887
+ /**
1888
+ *
1889
+ * @type {string}
1890
+ * @memberof UpdateFooterRequestItemsInner
1891
+ */
1892
+ 'link': string;
1893
+ /**
1894
+ *
1895
+ * @type {number}
1896
+ * @memberof UpdateFooterRequestItemsInner
1897
+ */
1898
+ 'order': number;
1899
+ }
1785
1900
  /**
1786
1901
  *
1787
1902
  * @export
@@ -3246,6 +3361,258 @@ export declare class CrossSellApi extends BaseAPI {
3246
3361
  */
3247
3362
  getCrossSellProducts(requestParameters: CrossSellApiGetCrossSellProductsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Product[], any>>;
3248
3363
  }
3364
+ /**
3365
+ * DefaultApi - axios parameter creator
3366
+ * @export
3367
+ */
3368
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
3369
+ /**
3370
+ * Get the brand for the project
3371
+ * @summary Get brand
3372
+ * @param {string} project What project it is
3373
+ * @param {*} [options] Override http request option.
3374
+ * @throws {RequiredError}
3375
+ */
3376
+ getBrand: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3377
+ /**
3378
+ * Update the brand for the project
3379
+ * @summary Update brand
3380
+ * @param {string} project What project it is
3381
+ * @param {UpdateBrandRequest} [updateBrandRequest] Update brand request
3382
+ * @param {*} [options] Override http request option.
3383
+ * @throws {RequiredError}
3384
+ */
3385
+ updateBrand: (project: string, updateBrandRequest?: UpdateBrandRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3386
+ };
3387
+ /**
3388
+ * DefaultApi - functional programming interface
3389
+ * @export
3390
+ */
3391
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
3392
+ /**
3393
+ * Get the brand for the project
3394
+ * @summary Get brand
3395
+ * @param {string} project What project it is
3396
+ * @param {*} [options] Override http request option.
3397
+ * @throws {RequiredError}
3398
+ */
3399
+ getBrand(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Brand>>;
3400
+ /**
3401
+ * Update the brand for the project
3402
+ * @summary Update brand
3403
+ * @param {string} project What project it is
3404
+ * @param {UpdateBrandRequest} [updateBrandRequest] Update brand request
3405
+ * @param {*} [options] Override http request option.
3406
+ * @throws {RequiredError}
3407
+ */
3408
+ updateBrand(project: string, updateBrandRequest?: UpdateBrandRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Brand>>;
3409
+ };
3410
+ /**
3411
+ * DefaultApi - factory interface
3412
+ * @export
3413
+ */
3414
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3415
+ /**
3416
+ * Get the brand for the project
3417
+ * @summary Get brand
3418
+ * @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
3419
+ * @param {*} [options] Override http request option.
3420
+ * @throws {RequiredError}
3421
+ */
3422
+ getBrand(requestParameters: DefaultApiGetBrandRequest, options?: RawAxiosRequestConfig): AxiosPromise<Brand>;
3423
+ /**
3424
+ * Update the brand for the project
3425
+ * @summary Update brand
3426
+ * @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
3427
+ * @param {*} [options] Override http request option.
3428
+ * @throws {RequiredError}
3429
+ */
3430
+ updateBrand(requestParameters: DefaultApiUpdateBrandRequest, options?: RawAxiosRequestConfig): AxiosPromise<Brand>;
3431
+ };
3432
+ /**
3433
+ * Request parameters for getBrand operation in DefaultApi.
3434
+ * @export
3435
+ * @interface DefaultApiGetBrandRequest
3436
+ */
3437
+ export interface DefaultApiGetBrandRequest {
3438
+ /**
3439
+ * What project it is
3440
+ * @type {string}
3441
+ * @memberof DefaultApiGetBrand
3442
+ */
3443
+ readonly project: string;
3444
+ }
3445
+ /**
3446
+ * Request parameters for updateBrand operation in DefaultApi.
3447
+ * @export
3448
+ * @interface DefaultApiUpdateBrandRequest
3449
+ */
3450
+ export interface DefaultApiUpdateBrandRequest {
3451
+ /**
3452
+ * What project it is
3453
+ * @type {string}
3454
+ * @memberof DefaultApiUpdateBrand
3455
+ */
3456
+ readonly project: string;
3457
+ /**
3458
+ * Update brand request
3459
+ * @type {UpdateBrandRequest}
3460
+ * @memberof DefaultApiUpdateBrand
3461
+ */
3462
+ readonly updateBrandRequest?: UpdateBrandRequest;
3463
+ }
3464
+ /**
3465
+ * DefaultApi - object-oriented interface
3466
+ * @export
3467
+ * @class DefaultApi
3468
+ * @extends {BaseAPI}
3469
+ */
3470
+ export declare class DefaultApi extends BaseAPI {
3471
+ /**
3472
+ * Get the brand for the project
3473
+ * @summary Get brand
3474
+ * @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
3475
+ * @param {*} [options] Override http request option.
3476
+ * @throws {RequiredError}
3477
+ * @memberof DefaultApi
3478
+ */
3479
+ getBrand(requestParameters: DefaultApiGetBrandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Brand, any>>;
3480
+ /**
3481
+ * Update the brand for the project
3482
+ * @summary Update brand
3483
+ * @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
3484
+ * @param {*} [options] Override http request option.
3485
+ * @throws {RequiredError}
3486
+ * @memberof DefaultApi
3487
+ */
3488
+ updateBrand(requestParameters: DefaultApiUpdateBrandRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Brand, any>>;
3489
+ }
3490
+ /**
3491
+ * FooterApi - axios parameter creator
3492
+ * @export
3493
+ */
3494
+ export declare const FooterApiAxiosParamCreator: (configuration?: Configuration) => {
3495
+ /**
3496
+ * Get the footer for the project
3497
+ * @summary Get footer
3498
+ * @param {string} project What project it is
3499
+ * @param {*} [options] Override http request option.
3500
+ * @throws {RequiredError}
3501
+ */
3502
+ getFooter: (project: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3503
+ /**
3504
+ * Update a footer
3505
+ * @summary Update footer
3506
+ * @param {string} project What project it is
3507
+ * @param {UpdateFooterRequest} [updateFooterRequest] Update footer
3508
+ * @param {*} [options] Override http request option.
3509
+ * @throws {RequiredError}
3510
+ */
3511
+ updateFooter: (project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3512
+ };
3513
+ /**
3514
+ * FooterApi - functional programming interface
3515
+ * @export
3516
+ */
3517
+ export declare const FooterApiFp: (configuration?: Configuration) => {
3518
+ /**
3519
+ * Get the footer for the project
3520
+ * @summary Get footer
3521
+ * @param {string} project What project it is
3522
+ * @param {*} [options] Override http request option.
3523
+ * @throws {RequiredError}
3524
+ */
3525
+ getFooter(project: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Footer>>>;
3526
+ /**
3527
+ * Update a footer
3528
+ * @summary Update footer
3529
+ * @param {string} project What project it is
3530
+ * @param {UpdateFooterRequest} [updateFooterRequest] Update footer
3531
+ * @param {*} [options] Override http request option.
3532
+ * @throws {RequiredError}
3533
+ */
3534
+ updateFooter(project: string, updateFooterRequest?: UpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Footer>>>;
3535
+ };
3536
+ /**
3537
+ * FooterApi - factory interface
3538
+ * @export
3539
+ */
3540
+ export declare const FooterApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3541
+ /**
3542
+ * Get the footer for the project
3543
+ * @summary Get footer
3544
+ * @param {FooterApiGetFooterRequest} requestParameters Request parameters.
3545
+ * @param {*} [options] Override http request option.
3546
+ * @throws {RequiredError}
3547
+ */
3548
+ getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Footer>>;
3549
+ /**
3550
+ * Update a footer
3551
+ * @summary Update footer
3552
+ * @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
3553
+ * @param {*} [options] Override http request option.
3554
+ * @throws {RequiredError}
3555
+ */
3556
+ updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<Footer>>;
3557
+ };
3558
+ /**
3559
+ * Request parameters for getFooter operation in FooterApi.
3560
+ * @export
3561
+ * @interface FooterApiGetFooterRequest
3562
+ */
3563
+ export interface FooterApiGetFooterRequest {
3564
+ /**
3565
+ * What project it is
3566
+ * @type {string}
3567
+ * @memberof FooterApiGetFooter
3568
+ */
3569
+ readonly project: string;
3570
+ }
3571
+ /**
3572
+ * Request parameters for updateFooter operation in FooterApi.
3573
+ * @export
3574
+ * @interface FooterApiUpdateFooterRequest
3575
+ */
3576
+ export interface FooterApiUpdateFooterRequest {
3577
+ /**
3578
+ * What project it is
3579
+ * @type {string}
3580
+ * @memberof FooterApiUpdateFooter
3581
+ */
3582
+ readonly project: string;
3583
+ /**
3584
+ * Update footer
3585
+ * @type {UpdateFooterRequest}
3586
+ * @memberof FooterApiUpdateFooter
3587
+ */
3588
+ readonly updateFooterRequest?: UpdateFooterRequest;
3589
+ }
3590
+ /**
3591
+ * FooterApi - object-oriented interface
3592
+ * @export
3593
+ * @class FooterApi
3594
+ * @extends {BaseAPI}
3595
+ */
3596
+ export declare class FooterApi extends BaseAPI {
3597
+ /**
3598
+ * Get the footer for the project
3599
+ * @summary Get footer
3600
+ * @param {FooterApiGetFooterRequest} requestParameters Request parameters.
3601
+ * @param {*} [options] Override http request option.
3602
+ * @throws {RequiredError}
3603
+ * @memberof FooterApi
3604
+ */
3605
+ getFooter(requestParameters: FooterApiGetFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer[], any>>;
3606
+ /**
3607
+ * Update a footer
3608
+ * @summary Update footer
3609
+ * @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
3610
+ * @param {*} [options] Override http request option.
3611
+ * @throws {RequiredError}
3612
+ * @memberof FooterApi
3613
+ */
3614
+ updateFooter(requestParameters: FooterApiUpdateFooterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Footer[], any>>;
3615
+ }
3249
3616
  /**
3250
3617
  * MenuApi - axios parameter creator
3251
3618
  * @export
@@ -3947,10 +4314,11 @@ export declare const ReviewsApiAxiosParamCreator: (configuration?: Configuration
3947
4314
  * @param {number} [pageToken] Page reference token
3948
4315
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3949
4316
  * @param {string} [search] Search term to filter results
4317
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
3950
4318
  * @param {*} [options] Override http request option.
3951
4319
  * @throws {RequiredError}
3952
4320
  */
3953
- listReviews: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4321
+ listReviews: (project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3954
4322
  /**
3955
4323
  *
3956
4324
  * @summary Moderate review
@@ -3983,10 +4351,11 @@ export declare const ReviewsApiFp: (configuration?: Configuration) => {
3983
4351
  * @param {number} [pageToken] Page reference token
3984
4352
  * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3985
4353
  * @param {string} [search] Search term to filter results
4354
+ * @param {Array<string>} [sortBy] An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
3986
4355
  * @param {*} [options] Override http request option.
3987
4356
  * @throws {RequiredError}
3988
4357
  */
3989
- listReviews(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewsResponse>>;
4358
+ listReviews(project: string, pageToken?: number, pageSize?: number, search?: string, sortBy?: Array<string>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ReviewsResponse>>;
3990
4359
  /**
3991
4360
  *
3992
4361
  * @summary Moderate review
@@ -4077,6 +4446,12 @@ export interface ReviewsApiListReviewsRequest {
4077
4446
  * @memberof ReviewsApiListReviews
4078
4447
  */
4079
4448
  readonly search?: string;
4449
+ /**
4450
+ * An array of fields to sort by, prefixed with a \&#39;-\&#39; for descending order or \&#39;+\&#39; for ascending. Default is ascending.
4451
+ * @type {Array<string>}
4452
+ * @memberof ReviewsApiListReviews
4453
+ */
4454
+ readonly sortBy?: Array<string>;
4080
4455
  }
4081
4456
  /**
4082
4457
  * Request parameters for moderateReview operation in ReviewsApi.