@teemill/website 0.13.0 → 0.14.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/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Website API
5
5
  * Manage your PodOS Website
6
6
  *
7
- * The version of the OpenAPI document: 0.13.0
7
+ * The version of the OpenAPI document: 0.14.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.13.0
5
+ * The version of the OpenAPI document: 0.14.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -314,6 +314,25 @@ export interface CollectionsResponse {
314
314
  */
315
315
  'nextPageToken'?: number | null;
316
316
  }
317
+ /**
318
+ *
319
+ * @export
320
+ * @interface CreateSearchRedirectRequest
321
+ */
322
+ export interface CreateSearchRedirectRequest {
323
+ /**
324
+ *
325
+ * @type {string}
326
+ * @memberof CreateSearchRedirectRequest
327
+ */
328
+ 'searchTerm': string;
329
+ /**
330
+ *
331
+ * @type {string}
332
+ * @memberof CreateSearchRedirectRequest
333
+ */
334
+ 'destinationUrl': string;
335
+ }
317
336
  /**
318
337
  * Image description
319
338
  * @export
@@ -819,6 +838,56 @@ export interface Route {
819
838
  */
820
839
  'published': boolean;
821
840
  }
841
+ /**
842
+ *
843
+ * @export
844
+ * @interface SearchRedirect
845
+ */
846
+ export interface SearchRedirect {
847
+ /**
848
+ * Unique object identifier
849
+ * @type {string}
850
+ * @memberof SearchRedirect
851
+ */
852
+ 'id': string;
853
+ /**
854
+ *
855
+ * @type {string}
856
+ * @memberof SearchRedirect
857
+ */
858
+ 'searchTerm': string;
859
+ /**
860
+ *
861
+ * @type {string}
862
+ * @memberof SearchRedirect
863
+ */
864
+ 'destinationUrl': string;
865
+ /**
866
+ *
867
+ * @type {string}
868
+ * @memberof SearchRedirect
869
+ */
870
+ 'createdAt': string;
871
+ }
872
+ /**
873
+ *
874
+ * @export
875
+ * @interface SearchRedirectsResponse
876
+ */
877
+ export interface SearchRedirectsResponse {
878
+ /**
879
+ *
880
+ * @type {Array<SearchRedirect>}
881
+ * @memberof SearchRedirectsResponse
882
+ */
883
+ 'redirects': Array<SearchRedirect>;
884
+ /**
885
+ * The token referencing the next page number
886
+ * @type {number}
887
+ * @memberof SearchRedirectsResponse
888
+ */
889
+ 'nextPageToken': number | null;
890
+ }
822
891
  /**
823
892
  * SEO metadata for the product
824
893
  * @export
@@ -1785,6 +1854,25 @@ export interface UpdatePagesRequestPagesInner {
1785
1854
  */
1786
1855
  'targetSearchPhraseSynonyms'?: Array<string>;
1787
1856
  }
1857
+ /**
1858
+ *
1859
+ * @export
1860
+ * @interface UpdateSearchRedirectRequest
1861
+ */
1862
+ export interface UpdateSearchRedirectRequest {
1863
+ /**
1864
+ *
1865
+ * @type {string}
1866
+ * @memberof UpdateSearchRedirectRequest
1867
+ */
1868
+ 'searchTerm'?: string;
1869
+ /**
1870
+ *
1871
+ * @type {string}
1872
+ * @memberof UpdateSearchRedirectRequest
1873
+ */
1874
+ 'destinationUrl'?: string;
1875
+ }
1788
1876
  /**
1789
1877
  *
1790
1878
  * @export
@@ -3300,3 +3388,347 @@ export declare class RoutesApi extends BaseAPI {
3300
3388
  */
3301
3389
  listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRoutesResponse, any>>;
3302
3390
  }
3391
+ /**
3392
+ * SearchApi - axios parameter creator
3393
+ * @export
3394
+ */
3395
+ export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) => {
3396
+ /**
3397
+ *
3398
+ * @summary Create search redirect
3399
+ * @param {string} project What project it is
3400
+ * @param {number} [pageToken] Page reference token
3401
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3402
+ * @param {string} [search] Search term to filter results
3403
+ * @param {CreateSearchRedirectRequest} [createSearchRedirectRequest] Create search redirect
3404
+ * @param {*} [options] Override http request option.
3405
+ * @throws {RequiredError}
3406
+ */
3407
+ createSearchRedirect: (project: string, pageToken?: number, pageSize?: number, search?: string, createSearchRedirectRequest?: CreateSearchRedirectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3408
+ /**
3409
+ *
3410
+ * @summary Delete search redirect
3411
+ * @param {string} project What project it is
3412
+ * @param {string} redirectId Redirect\&#39;s unique identifier
3413
+ * @param {*} [options] Override http request option.
3414
+ * @throws {RequiredError}
3415
+ */
3416
+ deleteSearchRedirect: (project: string, redirectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3417
+ /**
3418
+ *
3419
+ * @summary Get search redirect
3420
+ * @param {string} project What project it is
3421
+ * @param {string} redirectId Redirect\&#39;s unique identifier
3422
+ * @param {*} [options] Override http request option.
3423
+ * @throws {RequiredError}
3424
+ */
3425
+ getSearchRedirect: (project: string, redirectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3426
+ /**
3427
+ *
3428
+ * @summary List search redirects
3429
+ * @param {string} project What project it is
3430
+ * @param {number} [pageToken] Page reference token
3431
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3432
+ * @param {string} [search] Search term to filter results
3433
+ * @param {*} [options] Override http request option.
3434
+ * @throws {RequiredError}
3435
+ */
3436
+ listSearchRedirects: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3437
+ /**
3438
+ *
3439
+ * @summary Update search redirect
3440
+ * @param {string} project What project it is
3441
+ * @param {string} redirectId Redirect\&#39;s unique identifier
3442
+ * @param {UpdateSearchRedirectRequest} [updateSearchRedirectRequest] Update search redirect
3443
+ * @param {*} [options] Override http request option.
3444
+ * @throws {RequiredError}
3445
+ */
3446
+ updateSearchRedirect: (project: string, redirectId: string, updateSearchRedirectRequest?: UpdateSearchRedirectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3447
+ };
3448
+ /**
3449
+ * SearchApi - functional programming interface
3450
+ * @export
3451
+ */
3452
+ export declare const SearchApiFp: (configuration?: Configuration) => {
3453
+ /**
3454
+ *
3455
+ * @summary Create search redirect
3456
+ * @param {string} project What project it is
3457
+ * @param {number} [pageToken] Page reference token
3458
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3459
+ * @param {string} [search] Search term to filter results
3460
+ * @param {CreateSearchRedirectRequest} [createSearchRedirectRequest] Create search redirect
3461
+ * @param {*} [options] Override http request option.
3462
+ * @throws {RequiredError}
3463
+ */
3464
+ createSearchRedirect(project: string, pageToken?: number, pageSize?: number, search?: string, createSearchRedirectRequest?: CreateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirect>>;
3465
+ /**
3466
+ *
3467
+ * @summary Delete search redirect
3468
+ * @param {string} project What project it is
3469
+ * @param {string} redirectId Redirect\&#39;s unique identifier
3470
+ * @param {*} [options] Override http request option.
3471
+ * @throws {RequiredError}
3472
+ */
3473
+ deleteSearchRedirect(project: string, redirectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
3474
+ /**
3475
+ *
3476
+ * @summary Get search redirect
3477
+ * @param {string} project What project it is
3478
+ * @param {string} redirectId Redirect\&#39;s unique identifier
3479
+ * @param {*} [options] Override http request option.
3480
+ * @throws {RequiredError}
3481
+ */
3482
+ getSearchRedirect(project: string, redirectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirect>>;
3483
+ /**
3484
+ *
3485
+ * @summary List search redirects
3486
+ * @param {string} project What project it is
3487
+ * @param {number} [pageToken] Page reference token
3488
+ * @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
3489
+ * @param {string} [search] Search term to filter results
3490
+ * @param {*} [options] Override http request option.
3491
+ * @throws {RequiredError}
3492
+ */
3493
+ listSearchRedirects(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirectsResponse>>;
3494
+ /**
3495
+ *
3496
+ * @summary Update search redirect
3497
+ * @param {string} project What project it is
3498
+ * @param {string} redirectId Redirect\&#39;s unique identifier
3499
+ * @param {UpdateSearchRedirectRequest} [updateSearchRedirectRequest] Update search redirect
3500
+ * @param {*} [options] Override http request option.
3501
+ * @throws {RequiredError}
3502
+ */
3503
+ updateSearchRedirect(project: string, redirectId: string, updateSearchRedirectRequest?: UpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirect>>;
3504
+ };
3505
+ /**
3506
+ * SearchApi - factory interface
3507
+ * @export
3508
+ */
3509
+ export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
3510
+ /**
3511
+ *
3512
+ * @summary Create search redirect
3513
+ * @param {SearchApiCreateSearchRedirectRequest} requestParameters Request parameters.
3514
+ * @param {*} [options] Override http request option.
3515
+ * @throws {RequiredError}
3516
+ */
3517
+ createSearchRedirect(requestParameters: SearchApiCreateSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirect>;
3518
+ /**
3519
+ *
3520
+ * @summary Delete search redirect
3521
+ * @param {SearchApiDeleteSearchRedirectRequest} requestParameters Request parameters.
3522
+ * @param {*} [options] Override http request option.
3523
+ * @throws {RequiredError}
3524
+ */
3525
+ deleteSearchRedirect(requestParameters: SearchApiDeleteSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
3526
+ /**
3527
+ *
3528
+ * @summary Get search redirect
3529
+ * @param {SearchApiGetSearchRedirectRequest} requestParameters Request parameters.
3530
+ * @param {*} [options] Override http request option.
3531
+ * @throws {RequiredError}
3532
+ */
3533
+ getSearchRedirect(requestParameters: SearchApiGetSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirect>;
3534
+ /**
3535
+ *
3536
+ * @summary List search redirects
3537
+ * @param {SearchApiListSearchRedirectsRequest} requestParameters Request parameters.
3538
+ * @param {*} [options] Override http request option.
3539
+ * @throws {RequiredError}
3540
+ */
3541
+ listSearchRedirects(requestParameters: SearchApiListSearchRedirectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirectsResponse>;
3542
+ /**
3543
+ *
3544
+ * @summary Update search redirect
3545
+ * @param {SearchApiUpdateSearchRedirectRequest} requestParameters Request parameters.
3546
+ * @param {*} [options] Override http request option.
3547
+ * @throws {RequiredError}
3548
+ */
3549
+ updateSearchRedirect(requestParameters: SearchApiUpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirect>;
3550
+ };
3551
+ /**
3552
+ * Request parameters for createSearchRedirect operation in SearchApi.
3553
+ * @export
3554
+ * @interface SearchApiCreateSearchRedirectRequest
3555
+ */
3556
+ export interface SearchApiCreateSearchRedirectRequest {
3557
+ /**
3558
+ * What project it is
3559
+ * @type {string}
3560
+ * @memberof SearchApiCreateSearchRedirect
3561
+ */
3562
+ readonly project: string;
3563
+ /**
3564
+ * Page reference token
3565
+ * @type {number}
3566
+ * @memberof SearchApiCreateSearchRedirect
3567
+ */
3568
+ readonly pageToken?: number;
3569
+ /**
3570
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
3571
+ * @type {number}
3572
+ * @memberof SearchApiCreateSearchRedirect
3573
+ */
3574
+ readonly pageSize?: number;
3575
+ /**
3576
+ * Search term to filter results
3577
+ * @type {string}
3578
+ * @memberof SearchApiCreateSearchRedirect
3579
+ */
3580
+ readonly search?: string;
3581
+ /**
3582
+ * Create search redirect
3583
+ * @type {CreateSearchRedirectRequest}
3584
+ * @memberof SearchApiCreateSearchRedirect
3585
+ */
3586
+ readonly createSearchRedirectRequest?: CreateSearchRedirectRequest;
3587
+ }
3588
+ /**
3589
+ * Request parameters for deleteSearchRedirect operation in SearchApi.
3590
+ * @export
3591
+ * @interface SearchApiDeleteSearchRedirectRequest
3592
+ */
3593
+ export interface SearchApiDeleteSearchRedirectRequest {
3594
+ /**
3595
+ * What project it is
3596
+ * @type {string}
3597
+ * @memberof SearchApiDeleteSearchRedirect
3598
+ */
3599
+ readonly project: string;
3600
+ /**
3601
+ * Redirect\&#39;s unique identifier
3602
+ * @type {string}
3603
+ * @memberof SearchApiDeleteSearchRedirect
3604
+ */
3605
+ readonly redirectId: string;
3606
+ }
3607
+ /**
3608
+ * Request parameters for getSearchRedirect operation in SearchApi.
3609
+ * @export
3610
+ * @interface SearchApiGetSearchRedirectRequest
3611
+ */
3612
+ export interface SearchApiGetSearchRedirectRequest {
3613
+ /**
3614
+ * What project it is
3615
+ * @type {string}
3616
+ * @memberof SearchApiGetSearchRedirect
3617
+ */
3618
+ readonly project: string;
3619
+ /**
3620
+ * Redirect\&#39;s unique identifier
3621
+ * @type {string}
3622
+ * @memberof SearchApiGetSearchRedirect
3623
+ */
3624
+ readonly redirectId: string;
3625
+ }
3626
+ /**
3627
+ * Request parameters for listSearchRedirects operation in SearchApi.
3628
+ * @export
3629
+ * @interface SearchApiListSearchRedirectsRequest
3630
+ */
3631
+ export interface SearchApiListSearchRedirectsRequest {
3632
+ /**
3633
+ * What project it is
3634
+ * @type {string}
3635
+ * @memberof SearchApiListSearchRedirects
3636
+ */
3637
+ readonly project: string;
3638
+ /**
3639
+ * Page reference token
3640
+ * @type {number}
3641
+ * @memberof SearchApiListSearchRedirects
3642
+ */
3643
+ readonly pageToken?: number;
3644
+ /**
3645
+ * Max page size. This is the maximum page size that will be returned, but it might be smaller.
3646
+ * @type {number}
3647
+ * @memberof SearchApiListSearchRedirects
3648
+ */
3649
+ readonly pageSize?: number;
3650
+ /**
3651
+ * Search term to filter results
3652
+ * @type {string}
3653
+ * @memberof SearchApiListSearchRedirects
3654
+ */
3655
+ readonly search?: string;
3656
+ }
3657
+ /**
3658
+ * Request parameters for updateSearchRedirect operation in SearchApi.
3659
+ * @export
3660
+ * @interface SearchApiUpdateSearchRedirectRequest
3661
+ */
3662
+ export interface SearchApiUpdateSearchRedirectRequest {
3663
+ /**
3664
+ * What project it is
3665
+ * @type {string}
3666
+ * @memberof SearchApiUpdateSearchRedirect
3667
+ */
3668
+ readonly project: string;
3669
+ /**
3670
+ * Redirect\&#39;s unique identifier
3671
+ * @type {string}
3672
+ * @memberof SearchApiUpdateSearchRedirect
3673
+ */
3674
+ readonly redirectId: string;
3675
+ /**
3676
+ * Update search redirect
3677
+ * @type {UpdateSearchRedirectRequest}
3678
+ * @memberof SearchApiUpdateSearchRedirect
3679
+ */
3680
+ readonly updateSearchRedirectRequest?: UpdateSearchRedirectRequest;
3681
+ }
3682
+ /**
3683
+ * SearchApi - object-oriented interface
3684
+ * @export
3685
+ * @class SearchApi
3686
+ * @extends {BaseAPI}
3687
+ */
3688
+ export declare class SearchApi extends BaseAPI {
3689
+ /**
3690
+ *
3691
+ * @summary Create search redirect
3692
+ * @param {SearchApiCreateSearchRedirectRequest} requestParameters Request parameters.
3693
+ * @param {*} [options] Override http request option.
3694
+ * @throws {RequiredError}
3695
+ * @memberof SearchApi
3696
+ */
3697
+ createSearchRedirect(requestParameters: SearchApiCreateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
3698
+ /**
3699
+ *
3700
+ * @summary Delete search redirect
3701
+ * @param {SearchApiDeleteSearchRedirectRequest} requestParameters Request parameters.
3702
+ * @param {*} [options] Override http request option.
3703
+ * @throws {RequiredError}
3704
+ * @memberof SearchApi
3705
+ */
3706
+ deleteSearchRedirect(requestParameters: SearchApiDeleteSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3707
+ /**
3708
+ *
3709
+ * @summary Get search redirect
3710
+ * @param {SearchApiGetSearchRedirectRequest} requestParameters Request parameters.
3711
+ * @param {*} [options] Override http request option.
3712
+ * @throws {RequiredError}
3713
+ * @memberof SearchApi
3714
+ */
3715
+ getSearchRedirect(requestParameters: SearchApiGetSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
3716
+ /**
3717
+ *
3718
+ * @summary List search redirects
3719
+ * @param {SearchApiListSearchRedirectsRequest} requestParameters Request parameters.
3720
+ * @param {*} [options] Override http request option.
3721
+ * @throws {RequiredError}
3722
+ * @memberof SearchApi
3723
+ */
3724
+ listSearchRedirects(requestParameters: SearchApiListSearchRedirectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirectsResponse, any>>;
3725
+ /**
3726
+ *
3727
+ * @summary Update search redirect
3728
+ * @param {SearchApiUpdateSearchRedirectRequest} requestParameters Request parameters.
3729
+ * @param {*} [options] Override http request option.
3730
+ * @throws {RequiredError}
3731
+ * @memberof SearchApi
3732
+ */
3733
+ updateSearchRedirect(requestParameters: SearchApiUpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
3734
+ }