@teemill/website 0.12.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/README.md +2 -2
- package/api.ts +858 -10
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +510 -11
- package/dist/api.js +535 -2
- 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 +510 -11
- package/dist/esm/api.js +530 -1
- 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/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
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
|
|
@@ -841,26 +910,39 @@ export interface SeoMetadata {
|
|
|
841
910
|
/**
|
|
842
911
|
*
|
|
843
912
|
* @export
|
|
844
|
-
* @interface
|
|
913
|
+
* @interface SeoOptimiseCollectionsRequest
|
|
845
914
|
*/
|
|
846
|
-
export interface
|
|
915
|
+
export interface SeoOptimiseCollectionsRequest {
|
|
916
|
+
/**
|
|
917
|
+
* A set of collection IDs to AI SEO optimise.
|
|
918
|
+
* @type {Array<string>}
|
|
919
|
+
* @memberof SeoOptimiseCollectionsRequest
|
|
920
|
+
*/
|
|
921
|
+
'ids'?: Array<string>;
|
|
922
|
+
}
|
|
923
|
+
/**
|
|
924
|
+
*
|
|
925
|
+
* @export
|
|
926
|
+
* @interface SeoOptimisePages202Response
|
|
927
|
+
*/
|
|
928
|
+
export interface SeoOptimisePages202Response {
|
|
847
929
|
/**
|
|
848
930
|
* A message describing the optimisation status
|
|
849
931
|
* @type {string}
|
|
850
|
-
* @memberof
|
|
932
|
+
* @memberof SeoOptimisePages202Response
|
|
851
933
|
*/
|
|
852
934
|
'message'?: string;
|
|
853
935
|
}
|
|
854
936
|
/**
|
|
855
937
|
*
|
|
856
938
|
* @export
|
|
857
|
-
* @interface
|
|
939
|
+
* @interface SeoOptimisePagesRequest
|
|
858
940
|
*/
|
|
859
|
-
export interface
|
|
941
|
+
export interface SeoOptimisePagesRequest {
|
|
860
942
|
/**
|
|
861
|
-
* A set of
|
|
943
|
+
* A set of page IDs to AI SEO optimise.
|
|
862
944
|
* @type {Array<string>}
|
|
863
|
-
* @memberof
|
|
945
|
+
* @memberof SeoOptimisePagesRequest
|
|
864
946
|
*/
|
|
865
947
|
'ids'?: Array<string>;
|
|
866
948
|
}
|
|
@@ -1772,6 +1854,25 @@ export interface UpdatePagesRequestPagesInner {
|
|
|
1772
1854
|
*/
|
|
1773
1855
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1774
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
|
+
}
|
|
1775
1876
|
/**
|
|
1776
1877
|
*
|
|
1777
1878
|
* @export
|
|
@@ -2251,7 +2352,7 @@ export declare const CollectionsApiFp: (configuration?: Configuration) => {
|
|
|
2251
2352
|
* @param {*} [options] Override http request option.
|
|
2252
2353
|
* @throws {RequiredError}
|
|
2253
2354
|
*/
|
|
2254
|
-
seoOptimiseCollections(project: string, seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2355
|
+
seoOptimiseCollections(project: string, seoOptimiseCollectionsRequest?: SeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimisePages202Response>>;
|
|
2255
2356
|
/**
|
|
2256
2357
|
*
|
|
2257
2358
|
* @summary Update website collection
|
|
@@ -2295,7 +2396,7 @@ export declare const CollectionsApiFactory: (configuration?: Configuration, base
|
|
|
2295
2396
|
* @param {*} [options] Override http request option.
|
|
2296
2397
|
* @throws {RequiredError}
|
|
2297
2398
|
*/
|
|
2298
|
-
seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2399
|
+
seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimisePages202Response>;
|
|
2299
2400
|
/**
|
|
2300
2401
|
*
|
|
2301
2402
|
* @summary Update website collection
|
|
@@ -2449,7 +2550,7 @@ export declare class CollectionsApi extends BaseAPI {
|
|
|
2449
2550
|
* @throws {RequiredError}
|
|
2450
2551
|
* @memberof CollectionsApi
|
|
2451
2552
|
*/
|
|
2452
|
-
seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
2553
|
+
seoOptimiseCollections(requestParameters: CollectionsApiSeoOptimiseCollectionsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimisePages202Response, any>>;
|
|
2453
2554
|
/**
|
|
2454
2555
|
*
|
|
2455
2556
|
* @summary Update website collection
|
|
@@ -2753,6 +2854,15 @@ export declare const PagesApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2753
2854
|
* @throws {RequiredError}
|
|
2754
2855
|
*/
|
|
2755
2856
|
listPages: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2857
|
+
/**
|
|
2858
|
+
* AI SEO optimises pages by a set of given IDs.
|
|
2859
|
+
* @summary AI SEO optimise pages.
|
|
2860
|
+
* @param {string} project What project it is
|
|
2861
|
+
* @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
|
|
2862
|
+
* @param {*} [options] Override http request option.
|
|
2863
|
+
* @throws {RequiredError}
|
|
2864
|
+
*/
|
|
2865
|
+
seoOptimisePages: (project: string, seoOptimisePagesRequest?: SeoOptimisePagesRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2756
2866
|
/**
|
|
2757
2867
|
*
|
|
2758
2868
|
* @summary Update website page
|
|
@@ -2792,6 +2902,15 @@ export declare const PagesApiFp: (configuration?: Configuration) => {
|
|
|
2792
2902
|
* @throws {RequiredError}
|
|
2793
2903
|
*/
|
|
2794
2904
|
listPages(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PagesResponse>>;
|
|
2905
|
+
/**
|
|
2906
|
+
* AI SEO optimises pages by a set of given IDs.
|
|
2907
|
+
* @summary AI SEO optimise pages.
|
|
2908
|
+
* @param {string} project What project it is
|
|
2909
|
+
* @param {SeoOptimisePagesRequest} [seoOptimisePagesRequest] A set of page IDs to AI SEO optimise.
|
|
2910
|
+
* @param {*} [options] Override http request option.
|
|
2911
|
+
* @throws {RequiredError}
|
|
2912
|
+
*/
|
|
2913
|
+
seoOptimisePages(project: string, seoOptimisePagesRequest?: SeoOptimisePagesRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SeoOptimisePages202Response>>;
|
|
2795
2914
|
/**
|
|
2796
2915
|
*
|
|
2797
2916
|
* @summary Update website page
|
|
@@ -2828,6 +2947,14 @@ export declare const PagesApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2828
2947
|
* @throws {RequiredError}
|
|
2829
2948
|
*/
|
|
2830
2949
|
listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<PagesResponse>;
|
|
2950
|
+
/**
|
|
2951
|
+
* AI SEO optimises pages by a set of given IDs.
|
|
2952
|
+
* @summary AI SEO optimise pages.
|
|
2953
|
+
* @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
|
|
2954
|
+
* @param {*} [options] Override http request option.
|
|
2955
|
+
* @throws {RequiredError}
|
|
2956
|
+
*/
|
|
2957
|
+
seoOptimisePages(requestParameters: PagesApiSeoOptimisePagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<SeoOptimisePages202Response>;
|
|
2831
2958
|
/**
|
|
2832
2959
|
*
|
|
2833
2960
|
* @summary Update website page
|
|
@@ -2876,6 +3003,25 @@ export interface PagesApiListPagesRequest {
|
|
|
2876
3003
|
*/
|
|
2877
3004
|
readonly search?: string;
|
|
2878
3005
|
}
|
|
3006
|
+
/**
|
|
3007
|
+
* Request parameters for seoOptimisePages operation in PagesApi.
|
|
3008
|
+
* @export
|
|
3009
|
+
* @interface PagesApiSeoOptimisePagesRequest
|
|
3010
|
+
*/
|
|
3011
|
+
export interface PagesApiSeoOptimisePagesRequest {
|
|
3012
|
+
/**
|
|
3013
|
+
* What project it is
|
|
3014
|
+
* @type {string}
|
|
3015
|
+
* @memberof PagesApiSeoOptimisePages
|
|
3016
|
+
*/
|
|
3017
|
+
readonly project: string;
|
|
3018
|
+
/**
|
|
3019
|
+
* A set of page IDs to AI SEO optimise.
|
|
3020
|
+
* @type {SeoOptimisePagesRequest}
|
|
3021
|
+
* @memberof PagesApiSeoOptimisePages
|
|
3022
|
+
*/
|
|
3023
|
+
readonly seoOptimisePagesRequest?: SeoOptimisePagesRequest;
|
|
3024
|
+
}
|
|
2879
3025
|
/**
|
|
2880
3026
|
* Request parameters for updatePage operation in PagesApi.
|
|
2881
3027
|
* @export
|
|
@@ -2954,6 +3100,15 @@ export declare class PagesApi extends BaseAPI {
|
|
|
2954
3100
|
* @memberof PagesApi
|
|
2955
3101
|
*/
|
|
2956
3102
|
listPages(requestParameters: PagesApiListPagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PagesResponse, any>>;
|
|
3103
|
+
/**
|
|
3104
|
+
* AI SEO optimises pages by a set of given IDs.
|
|
3105
|
+
* @summary AI SEO optimise pages.
|
|
3106
|
+
* @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
|
|
3107
|
+
* @param {*} [options] Override http request option.
|
|
3108
|
+
* @throws {RequiredError}
|
|
3109
|
+
* @memberof PagesApi
|
|
3110
|
+
*/
|
|
3111
|
+
seoOptimisePages(requestParameters: PagesApiSeoOptimisePagesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SeoOptimisePages202Response, any>>;
|
|
2957
3112
|
/**
|
|
2958
3113
|
*
|
|
2959
3114
|
* @summary Update website page
|
|
@@ -3233,3 +3388,347 @@ export declare class RoutesApi extends BaseAPI {
|
|
|
3233
3388
|
*/
|
|
3234
3389
|
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRoutesResponse, any>>;
|
|
3235
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\'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\'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\'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\'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\'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\'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\'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\'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\'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
|
+
}
|