@teemill/website 0.13.0 → 0.15.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 +780 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +482 -1
- package/dist/api.js +458 -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 +482 -1
- package/dist/esm/api.js +453 -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.15.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -282,6 +282,12 @@ export interface Collection {
|
|
|
282
282
|
* @memberof Collection
|
|
283
283
|
*/
|
|
284
284
|
'slug'?: string;
|
|
285
|
+
/**
|
|
286
|
+
*
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof Collection
|
|
289
|
+
*/
|
|
290
|
+
'longDescription'?: string;
|
|
285
291
|
/**
|
|
286
292
|
*
|
|
287
293
|
* @type {SeoMetadata}
|
|
@@ -294,6 +300,12 @@ export interface Collection {
|
|
|
294
300
|
* @memberof Collection
|
|
295
301
|
*/
|
|
296
302
|
'targetSearchPhraseData'?: TargetSearchPhraseData;
|
|
303
|
+
/**
|
|
304
|
+
* History of AI optimisations performed on the collection
|
|
305
|
+
* @type {Array<OptimisationHistoryItem>}
|
|
306
|
+
* @memberof Collection
|
|
307
|
+
*/
|
|
308
|
+
'optimisationHistory'?: Array<OptimisationHistoryItem>;
|
|
297
309
|
}
|
|
298
310
|
/**
|
|
299
311
|
*
|
|
@@ -314,6 +326,25 @@ export interface CollectionsResponse {
|
|
|
314
326
|
*/
|
|
315
327
|
'nextPageToken'?: number | null;
|
|
316
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @export
|
|
332
|
+
* @interface CreateSearchRedirectRequest
|
|
333
|
+
*/
|
|
334
|
+
export interface CreateSearchRedirectRequest {
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof CreateSearchRedirectRequest
|
|
339
|
+
*/
|
|
340
|
+
'searchTerm': string;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @type {string}
|
|
344
|
+
* @memberof CreateSearchRedirectRequest
|
|
345
|
+
*/
|
|
346
|
+
'destinationUrl': string;
|
|
347
|
+
}
|
|
317
348
|
/**
|
|
318
349
|
* Image description
|
|
319
350
|
* @export
|
|
@@ -457,6 +488,25 @@ export interface MetaField {
|
|
|
457
488
|
*/
|
|
458
489
|
'value': string;
|
|
459
490
|
}
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @export
|
|
494
|
+
* @interface OptimisationHistoryItem
|
|
495
|
+
*/
|
|
496
|
+
export interface OptimisationHistoryItem {
|
|
497
|
+
/**
|
|
498
|
+
* Unique object identifier
|
|
499
|
+
* @type {string}
|
|
500
|
+
* @memberof OptimisationHistoryItem
|
|
501
|
+
*/
|
|
502
|
+
'id'?: string;
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof OptimisationHistoryItem
|
|
507
|
+
*/
|
|
508
|
+
'createdAt'?: string;
|
|
509
|
+
}
|
|
460
510
|
/**
|
|
461
511
|
*
|
|
462
512
|
* @export
|
|
@@ -493,6 +543,12 @@ export interface Page {
|
|
|
493
543
|
* @memberof Page
|
|
494
544
|
*/
|
|
495
545
|
'targetSearchPhraseData'?: TargetSearchPhraseData;
|
|
546
|
+
/**
|
|
547
|
+
* History of AI optimisations performed on the page
|
|
548
|
+
* @type {Array<OptimisationHistoryItem>}
|
|
549
|
+
* @memberof Page
|
|
550
|
+
*/
|
|
551
|
+
'optimisationHistory'?: Array<OptimisationHistoryItem>;
|
|
496
552
|
}
|
|
497
553
|
/**
|
|
498
554
|
*
|
|
@@ -819,6 +875,56 @@ export interface Route {
|
|
|
819
875
|
*/
|
|
820
876
|
'published': boolean;
|
|
821
877
|
}
|
|
878
|
+
/**
|
|
879
|
+
*
|
|
880
|
+
* @export
|
|
881
|
+
* @interface SearchRedirect
|
|
882
|
+
*/
|
|
883
|
+
export interface SearchRedirect {
|
|
884
|
+
/**
|
|
885
|
+
* Unique object identifier
|
|
886
|
+
* @type {string}
|
|
887
|
+
* @memberof SearchRedirect
|
|
888
|
+
*/
|
|
889
|
+
'id': string;
|
|
890
|
+
/**
|
|
891
|
+
*
|
|
892
|
+
* @type {string}
|
|
893
|
+
* @memberof SearchRedirect
|
|
894
|
+
*/
|
|
895
|
+
'searchTerm': string;
|
|
896
|
+
/**
|
|
897
|
+
*
|
|
898
|
+
* @type {string}
|
|
899
|
+
* @memberof SearchRedirect
|
|
900
|
+
*/
|
|
901
|
+
'destinationUrl': string;
|
|
902
|
+
/**
|
|
903
|
+
*
|
|
904
|
+
* @type {string}
|
|
905
|
+
* @memberof SearchRedirect
|
|
906
|
+
*/
|
|
907
|
+
'createdAt': string;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
*
|
|
911
|
+
* @export
|
|
912
|
+
* @interface SearchRedirectsResponse
|
|
913
|
+
*/
|
|
914
|
+
export interface SearchRedirectsResponse {
|
|
915
|
+
/**
|
|
916
|
+
*
|
|
917
|
+
* @type {Array<SearchRedirect>}
|
|
918
|
+
* @memberof SearchRedirectsResponse
|
|
919
|
+
*/
|
|
920
|
+
'redirects': Array<SearchRedirect>;
|
|
921
|
+
/**
|
|
922
|
+
* The token referencing the next page number
|
|
923
|
+
* @type {number}
|
|
924
|
+
* @memberof SearchRedirectsResponse
|
|
925
|
+
*/
|
|
926
|
+
'nextPageToken': number | null;
|
|
927
|
+
}
|
|
822
928
|
/**
|
|
823
929
|
* SEO metadata for the product
|
|
824
930
|
* @export
|
|
@@ -1303,6 +1409,12 @@ export interface UpdateCollectionRequest {
|
|
|
1303
1409
|
* @memberof UpdateCollectionRequest
|
|
1304
1410
|
*/
|
|
1305
1411
|
'slug'?: string;
|
|
1412
|
+
/**
|
|
1413
|
+
* Long-form description for the collection used for SEO.
|
|
1414
|
+
* @type {string}
|
|
1415
|
+
* @memberof UpdateCollectionRequest
|
|
1416
|
+
*/
|
|
1417
|
+
'longDescription'?: string;
|
|
1306
1418
|
/**
|
|
1307
1419
|
*
|
|
1308
1420
|
* @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
|
|
@@ -1365,6 +1477,12 @@ export interface UpdateCollectionsRequestCollectionsInner {
|
|
|
1365
1477
|
* @memberof UpdateCollectionsRequestCollectionsInner
|
|
1366
1478
|
*/
|
|
1367
1479
|
'slug'?: string;
|
|
1480
|
+
/**
|
|
1481
|
+
* Long-form description for the collection used for SEO.
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof UpdateCollectionsRequestCollectionsInner
|
|
1484
|
+
*/
|
|
1485
|
+
'longDescription'?: string;
|
|
1368
1486
|
/**
|
|
1369
1487
|
*
|
|
1370
1488
|
* @type {UpdateCollectionsRequestCollectionsInnerSeoMetadata}
|
|
@@ -1785,6 +1903,25 @@ export interface UpdatePagesRequestPagesInner {
|
|
|
1785
1903
|
*/
|
|
1786
1904
|
'targetSearchPhraseSynonyms'?: Array<string>;
|
|
1787
1905
|
}
|
|
1906
|
+
/**
|
|
1907
|
+
*
|
|
1908
|
+
* @export
|
|
1909
|
+
* @interface UpdateSearchRedirectRequest
|
|
1910
|
+
*/
|
|
1911
|
+
export interface UpdateSearchRedirectRequest {
|
|
1912
|
+
/**
|
|
1913
|
+
*
|
|
1914
|
+
* @type {string}
|
|
1915
|
+
* @memberof UpdateSearchRedirectRequest
|
|
1916
|
+
*/
|
|
1917
|
+
'searchTerm'?: string;
|
|
1918
|
+
/**
|
|
1919
|
+
*
|
|
1920
|
+
* @type {string}
|
|
1921
|
+
* @memberof UpdateSearchRedirectRequest
|
|
1922
|
+
*/
|
|
1923
|
+
'destinationUrl'?: string;
|
|
1924
|
+
}
|
|
1788
1925
|
/**
|
|
1789
1926
|
*
|
|
1790
1927
|
* @export
|
|
@@ -3300,3 +3437,347 @@ export declare class RoutesApi extends BaseAPI {
|
|
|
3300
3437
|
*/
|
|
3301
3438
|
listRoutes(requestParameters: RoutesApiListRoutesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRoutesResponse, any>>;
|
|
3302
3439
|
}
|
|
3440
|
+
/**
|
|
3441
|
+
* SearchApi - axios parameter creator
|
|
3442
|
+
* @export
|
|
3443
|
+
*/
|
|
3444
|
+
export declare const SearchApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3445
|
+
/**
|
|
3446
|
+
*
|
|
3447
|
+
* @summary Create search redirect
|
|
3448
|
+
* @param {string} project What project it is
|
|
3449
|
+
* @param {number} [pageToken] Page reference token
|
|
3450
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3451
|
+
* @param {string} [search] Search term to filter results
|
|
3452
|
+
* @param {CreateSearchRedirectRequest} [createSearchRedirectRequest] Create search redirect
|
|
3453
|
+
* @param {*} [options] Override http request option.
|
|
3454
|
+
* @throws {RequiredError}
|
|
3455
|
+
*/
|
|
3456
|
+
createSearchRedirect: (project: string, pageToken?: number, pageSize?: number, search?: string, createSearchRedirectRequest?: CreateSearchRedirectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3457
|
+
/**
|
|
3458
|
+
*
|
|
3459
|
+
* @summary Delete search redirect
|
|
3460
|
+
* @param {string} project What project it is
|
|
3461
|
+
* @param {string} redirectId Redirect\'s unique identifier
|
|
3462
|
+
* @param {*} [options] Override http request option.
|
|
3463
|
+
* @throws {RequiredError}
|
|
3464
|
+
*/
|
|
3465
|
+
deleteSearchRedirect: (project: string, redirectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3466
|
+
/**
|
|
3467
|
+
*
|
|
3468
|
+
* @summary Get search redirect
|
|
3469
|
+
* @param {string} project What project it is
|
|
3470
|
+
* @param {string} redirectId Redirect\'s unique identifier
|
|
3471
|
+
* @param {*} [options] Override http request option.
|
|
3472
|
+
* @throws {RequiredError}
|
|
3473
|
+
*/
|
|
3474
|
+
getSearchRedirect: (project: string, redirectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3475
|
+
/**
|
|
3476
|
+
*
|
|
3477
|
+
* @summary List search redirects
|
|
3478
|
+
* @param {string} project What project it is
|
|
3479
|
+
* @param {number} [pageToken] Page reference token
|
|
3480
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3481
|
+
* @param {string} [search] Search term to filter results
|
|
3482
|
+
* @param {*} [options] Override http request option.
|
|
3483
|
+
* @throws {RequiredError}
|
|
3484
|
+
*/
|
|
3485
|
+
listSearchRedirects: (project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3486
|
+
/**
|
|
3487
|
+
*
|
|
3488
|
+
* @summary Update search redirect
|
|
3489
|
+
* @param {string} project What project it is
|
|
3490
|
+
* @param {string} redirectId Redirect\'s unique identifier
|
|
3491
|
+
* @param {UpdateSearchRedirectRequest} [updateSearchRedirectRequest] Update search redirect
|
|
3492
|
+
* @param {*} [options] Override http request option.
|
|
3493
|
+
* @throws {RequiredError}
|
|
3494
|
+
*/
|
|
3495
|
+
updateSearchRedirect: (project: string, redirectId: string, updateSearchRedirectRequest?: UpdateSearchRedirectRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3496
|
+
};
|
|
3497
|
+
/**
|
|
3498
|
+
* SearchApi - functional programming interface
|
|
3499
|
+
* @export
|
|
3500
|
+
*/
|
|
3501
|
+
export declare const SearchApiFp: (configuration?: Configuration) => {
|
|
3502
|
+
/**
|
|
3503
|
+
*
|
|
3504
|
+
* @summary Create search redirect
|
|
3505
|
+
* @param {string} project What project it is
|
|
3506
|
+
* @param {number} [pageToken] Page reference token
|
|
3507
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3508
|
+
* @param {string} [search] Search term to filter results
|
|
3509
|
+
* @param {CreateSearchRedirectRequest} [createSearchRedirectRequest] Create search redirect
|
|
3510
|
+
* @param {*} [options] Override http request option.
|
|
3511
|
+
* @throws {RequiredError}
|
|
3512
|
+
*/
|
|
3513
|
+
createSearchRedirect(project: string, pageToken?: number, pageSize?: number, search?: string, createSearchRedirectRequest?: CreateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirect>>;
|
|
3514
|
+
/**
|
|
3515
|
+
*
|
|
3516
|
+
* @summary Delete search redirect
|
|
3517
|
+
* @param {string} project What project it is
|
|
3518
|
+
* @param {string} redirectId Redirect\'s unique identifier
|
|
3519
|
+
* @param {*} [options] Override http request option.
|
|
3520
|
+
* @throws {RequiredError}
|
|
3521
|
+
*/
|
|
3522
|
+
deleteSearchRedirect(project: string, redirectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3523
|
+
/**
|
|
3524
|
+
*
|
|
3525
|
+
* @summary Get search redirect
|
|
3526
|
+
* @param {string} project What project it is
|
|
3527
|
+
* @param {string} redirectId Redirect\'s unique identifier
|
|
3528
|
+
* @param {*} [options] Override http request option.
|
|
3529
|
+
* @throws {RequiredError}
|
|
3530
|
+
*/
|
|
3531
|
+
getSearchRedirect(project: string, redirectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirect>>;
|
|
3532
|
+
/**
|
|
3533
|
+
*
|
|
3534
|
+
* @summary List search redirects
|
|
3535
|
+
* @param {string} project What project it is
|
|
3536
|
+
* @param {number} [pageToken] Page reference token
|
|
3537
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3538
|
+
* @param {string} [search] Search term to filter results
|
|
3539
|
+
* @param {*} [options] Override http request option.
|
|
3540
|
+
* @throws {RequiredError}
|
|
3541
|
+
*/
|
|
3542
|
+
listSearchRedirects(project: string, pageToken?: number, pageSize?: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirectsResponse>>;
|
|
3543
|
+
/**
|
|
3544
|
+
*
|
|
3545
|
+
* @summary Update search redirect
|
|
3546
|
+
* @param {string} project What project it is
|
|
3547
|
+
* @param {string} redirectId Redirect\'s unique identifier
|
|
3548
|
+
* @param {UpdateSearchRedirectRequest} [updateSearchRedirectRequest] Update search redirect
|
|
3549
|
+
* @param {*} [options] Override http request option.
|
|
3550
|
+
* @throws {RequiredError}
|
|
3551
|
+
*/
|
|
3552
|
+
updateSearchRedirect(project: string, redirectId: string, updateSearchRedirectRequest?: UpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SearchRedirect>>;
|
|
3553
|
+
};
|
|
3554
|
+
/**
|
|
3555
|
+
* SearchApi - factory interface
|
|
3556
|
+
* @export
|
|
3557
|
+
*/
|
|
3558
|
+
export declare const SearchApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3559
|
+
/**
|
|
3560
|
+
*
|
|
3561
|
+
* @summary Create search redirect
|
|
3562
|
+
* @param {SearchApiCreateSearchRedirectRequest} requestParameters Request parameters.
|
|
3563
|
+
* @param {*} [options] Override http request option.
|
|
3564
|
+
* @throws {RequiredError}
|
|
3565
|
+
*/
|
|
3566
|
+
createSearchRedirect(requestParameters: SearchApiCreateSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirect>;
|
|
3567
|
+
/**
|
|
3568
|
+
*
|
|
3569
|
+
* @summary Delete search redirect
|
|
3570
|
+
* @param {SearchApiDeleteSearchRedirectRequest} requestParameters Request parameters.
|
|
3571
|
+
* @param {*} [options] Override http request option.
|
|
3572
|
+
* @throws {RequiredError}
|
|
3573
|
+
*/
|
|
3574
|
+
deleteSearchRedirect(requestParameters: SearchApiDeleteSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3575
|
+
/**
|
|
3576
|
+
*
|
|
3577
|
+
* @summary Get search redirect
|
|
3578
|
+
* @param {SearchApiGetSearchRedirectRequest} requestParameters Request parameters.
|
|
3579
|
+
* @param {*} [options] Override http request option.
|
|
3580
|
+
* @throws {RequiredError}
|
|
3581
|
+
*/
|
|
3582
|
+
getSearchRedirect(requestParameters: SearchApiGetSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirect>;
|
|
3583
|
+
/**
|
|
3584
|
+
*
|
|
3585
|
+
* @summary List search redirects
|
|
3586
|
+
* @param {SearchApiListSearchRedirectsRequest} requestParameters Request parameters.
|
|
3587
|
+
* @param {*} [options] Override http request option.
|
|
3588
|
+
* @throws {RequiredError}
|
|
3589
|
+
*/
|
|
3590
|
+
listSearchRedirects(requestParameters: SearchApiListSearchRedirectsRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirectsResponse>;
|
|
3591
|
+
/**
|
|
3592
|
+
*
|
|
3593
|
+
* @summary Update search redirect
|
|
3594
|
+
* @param {SearchApiUpdateSearchRedirectRequest} requestParameters Request parameters.
|
|
3595
|
+
* @param {*} [options] Override http request option.
|
|
3596
|
+
* @throws {RequiredError}
|
|
3597
|
+
*/
|
|
3598
|
+
updateSearchRedirect(requestParameters: SearchApiUpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): AxiosPromise<SearchRedirect>;
|
|
3599
|
+
};
|
|
3600
|
+
/**
|
|
3601
|
+
* Request parameters for createSearchRedirect operation in SearchApi.
|
|
3602
|
+
* @export
|
|
3603
|
+
* @interface SearchApiCreateSearchRedirectRequest
|
|
3604
|
+
*/
|
|
3605
|
+
export interface SearchApiCreateSearchRedirectRequest {
|
|
3606
|
+
/**
|
|
3607
|
+
* What project it is
|
|
3608
|
+
* @type {string}
|
|
3609
|
+
* @memberof SearchApiCreateSearchRedirect
|
|
3610
|
+
*/
|
|
3611
|
+
readonly project: string;
|
|
3612
|
+
/**
|
|
3613
|
+
* Page reference token
|
|
3614
|
+
* @type {number}
|
|
3615
|
+
* @memberof SearchApiCreateSearchRedirect
|
|
3616
|
+
*/
|
|
3617
|
+
readonly pageToken?: number;
|
|
3618
|
+
/**
|
|
3619
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3620
|
+
* @type {number}
|
|
3621
|
+
* @memberof SearchApiCreateSearchRedirect
|
|
3622
|
+
*/
|
|
3623
|
+
readonly pageSize?: number;
|
|
3624
|
+
/**
|
|
3625
|
+
* Search term to filter results
|
|
3626
|
+
* @type {string}
|
|
3627
|
+
* @memberof SearchApiCreateSearchRedirect
|
|
3628
|
+
*/
|
|
3629
|
+
readonly search?: string;
|
|
3630
|
+
/**
|
|
3631
|
+
* Create search redirect
|
|
3632
|
+
* @type {CreateSearchRedirectRequest}
|
|
3633
|
+
* @memberof SearchApiCreateSearchRedirect
|
|
3634
|
+
*/
|
|
3635
|
+
readonly createSearchRedirectRequest?: CreateSearchRedirectRequest;
|
|
3636
|
+
}
|
|
3637
|
+
/**
|
|
3638
|
+
* Request parameters for deleteSearchRedirect operation in SearchApi.
|
|
3639
|
+
* @export
|
|
3640
|
+
* @interface SearchApiDeleteSearchRedirectRequest
|
|
3641
|
+
*/
|
|
3642
|
+
export interface SearchApiDeleteSearchRedirectRequest {
|
|
3643
|
+
/**
|
|
3644
|
+
* What project it is
|
|
3645
|
+
* @type {string}
|
|
3646
|
+
* @memberof SearchApiDeleteSearchRedirect
|
|
3647
|
+
*/
|
|
3648
|
+
readonly project: string;
|
|
3649
|
+
/**
|
|
3650
|
+
* Redirect\'s unique identifier
|
|
3651
|
+
* @type {string}
|
|
3652
|
+
* @memberof SearchApiDeleteSearchRedirect
|
|
3653
|
+
*/
|
|
3654
|
+
readonly redirectId: string;
|
|
3655
|
+
}
|
|
3656
|
+
/**
|
|
3657
|
+
* Request parameters for getSearchRedirect operation in SearchApi.
|
|
3658
|
+
* @export
|
|
3659
|
+
* @interface SearchApiGetSearchRedirectRequest
|
|
3660
|
+
*/
|
|
3661
|
+
export interface SearchApiGetSearchRedirectRequest {
|
|
3662
|
+
/**
|
|
3663
|
+
* What project it is
|
|
3664
|
+
* @type {string}
|
|
3665
|
+
* @memberof SearchApiGetSearchRedirect
|
|
3666
|
+
*/
|
|
3667
|
+
readonly project: string;
|
|
3668
|
+
/**
|
|
3669
|
+
* Redirect\'s unique identifier
|
|
3670
|
+
* @type {string}
|
|
3671
|
+
* @memberof SearchApiGetSearchRedirect
|
|
3672
|
+
*/
|
|
3673
|
+
readonly redirectId: string;
|
|
3674
|
+
}
|
|
3675
|
+
/**
|
|
3676
|
+
* Request parameters for listSearchRedirects operation in SearchApi.
|
|
3677
|
+
* @export
|
|
3678
|
+
* @interface SearchApiListSearchRedirectsRequest
|
|
3679
|
+
*/
|
|
3680
|
+
export interface SearchApiListSearchRedirectsRequest {
|
|
3681
|
+
/**
|
|
3682
|
+
* What project it is
|
|
3683
|
+
* @type {string}
|
|
3684
|
+
* @memberof SearchApiListSearchRedirects
|
|
3685
|
+
*/
|
|
3686
|
+
readonly project: string;
|
|
3687
|
+
/**
|
|
3688
|
+
* Page reference token
|
|
3689
|
+
* @type {number}
|
|
3690
|
+
* @memberof SearchApiListSearchRedirects
|
|
3691
|
+
*/
|
|
3692
|
+
readonly pageToken?: number;
|
|
3693
|
+
/**
|
|
3694
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
3695
|
+
* @type {number}
|
|
3696
|
+
* @memberof SearchApiListSearchRedirects
|
|
3697
|
+
*/
|
|
3698
|
+
readonly pageSize?: number;
|
|
3699
|
+
/**
|
|
3700
|
+
* Search term to filter results
|
|
3701
|
+
* @type {string}
|
|
3702
|
+
* @memberof SearchApiListSearchRedirects
|
|
3703
|
+
*/
|
|
3704
|
+
readonly search?: string;
|
|
3705
|
+
}
|
|
3706
|
+
/**
|
|
3707
|
+
* Request parameters for updateSearchRedirect operation in SearchApi.
|
|
3708
|
+
* @export
|
|
3709
|
+
* @interface SearchApiUpdateSearchRedirectRequest
|
|
3710
|
+
*/
|
|
3711
|
+
export interface SearchApiUpdateSearchRedirectRequest {
|
|
3712
|
+
/**
|
|
3713
|
+
* What project it is
|
|
3714
|
+
* @type {string}
|
|
3715
|
+
* @memberof SearchApiUpdateSearchRedirect
|
|
3716
|
+
*/
|
|
3717
|
+
readonly project: string;
|
|
3718
|
+
/**
|
|
3719
|
+
* Redirect\'s unique identifier
|
|
3720
|
+
* @type {string}
|
|
3721
|
+
* @memberof SearchApiUpdateSearchRedirect
|
|
3722
|
+
*/
|
|
3723
|
+
readonly redirectId: string;
|
|
3724
|
+
/**
|
|
3725
|
+
* Update search redirect
|
|
3726
|
+
* @type {UpdateSearchRedirectRequest}
|
|
3727
|
+
* @memberof SearchApiUpdateSearchRedirect
|
|
3728
|
+
*/
|
|
3729
|
+
readonly updateSearchRedirectRequest?: UpdateSearchRedirectRequest;
|
|
3730
|
+
}
|
|
3731
|
+
/**
|
|
3732
|
+
* SearchApi - object-oriented interface
|
|
3733
|
+
* @export
|
|
3734
|
+
* @class SearchApi
|
|
3735
|
+
* @extends {BaseAPI}
|
|
3736
|
+
*/
|
|
3737
|
+
export declare class SearchApi extends BaseAPI {
|
|
3738
|
+
/**
|
|
3739
|
+
*
|
|
3740
|
+
* @summary Create search redirect
|
|
3741
|
+
* @param {SearchApiCreateSearchRedirectRequest} requestParameters Request parameters.
|
|
3742
|
+
* @param {*} [options] Override http request option.
|
|
3743
|
+
* @throws {RequiredError}
|
|
3744
|
+
* @memberof SearchApi
|
|
3745
|
+
*/
|
|
3746
|
+
createSearchRedirect(requestParameters: SearchApiCreateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @summary Delete search redirect
|
|
3750
|
+
* @param {SearchApiDeleteSearchRedirectRequest} requestParameters Request parameters.
|
|
3751
|
+
* @param {*} [options] Override http request option.
|
|
3752
|
+
* @throws {RequiredError}
|
|
3753
|
+
* @memberof SearchApi
|
|
3754
|
+
*/
|
|
3755
|
+
deleteSearchRedirect(requestParameters: SearchApiDeleteSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3756
|
+
/**
|
|
3757
|
+
*
|
|
3758
|
+
* @summary Get search redirect
|
|
3759
|
+
* @param {SearchApiGetSearchRedirectRequest} requestParameters Request parameters.
|
|
3760
|
+
* @param {*} [options] Override http request option.
|
|
3761
|
+
* @throws {RequiredError}
|
|
3762
|
+
* @memberof SearchApi
|
|
3763
|
+
*/
|
|
3764
|
+
getSearchRedirect(requestParameters: SearchApiGetSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
|
|
3765
|
+
/**
|
|
3766
|
+
*
|
|
3767
|
+
* @summary List search redirects
|
|
3768
|
+
* @param {SearchApiListSearchRedirectsRequest} requestParameters Request parameters.
|
|
3769
|
+
* @param {*} [options] Override http request option.
|
|
3770
|
+
* @throws {RequiredError}
|
|
3771
|
+
* @memberof SearchApi
|
|
3772
|
+
*/
|
|
3773
|
+
listSearchRedirects(requestParameters: SearchApiListSearchRedirectsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirectsResponse, any>>;
|
|
3774
|
+
/**
|
|
3775
|
+
*
|
|
3776
|
+
* @summary Update search redirect
|
|
3777
|
+
* @param {SearchApiUpdateSearchRedirectRequest} requestParameters Request parameters.
|
|
3778
|
+
* @param {*} [options] Override http request option.
|
|
3779
|
+
* @throws {RequiredError}
|
|
3780
|
+
* @memberof SearchApi
|
|
3781
|
+
*/
|
|
3782
|
+
updateSearchRedirect(requestParameters: SearchApiUpdateSearchRedirectRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SearchRedirect, any>>;
|
|
3783
|
+
}
|