nextemos 3.8.8 → 3.9.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.
|
@@ -2,6 +2,9 @@ import { IResponse } from './response';
|
|
|
2
2
|
export interface IRouteResponse extends IResponse {
|
|
3
3
|
route?: Route;
|
|
4
4
|
}
|
|
5
|
+
export interface IGetCommonPagesResponse extends IResponse {
|
|
6
|
+
commonPages?: ICommonPage[];
|
|
7
|
+
}
|
|
5
8
|
export interface Part {
|
|
6
9
|
id: number;
|
|
7
10
|
path?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IApiResponse,
|
|
1
|
+
import { IApiResponse, IGetCommonPagesResponse, IRequestInit, IRouteResponse } from '../..';
|
|
2
2
|
export interface IGetRouteInfoRequest {
|
|
3
3
|
baseUrl: string;
|
|
4
4
|
queryString?: string;
|
|
@@ -12,5 +12,5 @@ export interface IRouteService {
|
|
|
12
12
|
ServiceUrl: string;
|
|
13
13
|
Prefix: string;
|
|
14
14
|
GetRouteInfo: (data: IGetRouteInfoRequest, options?: IRequestInit) => Promise<IApiResponse<IRouteResponse>>;
|
|
15
|
-
GetCommonPages: (data?: IGetCommonPagesRequest, options?: IRequestInit) => Promise<IApiResponse<
|
|
15
|
+
GetCommonPages: (data?: IGetCommonPagesRequest, options?: IRequestInit) => Promise<IApiResponse<IGetCommonPagesResponse>>;
|
|
16
16
|
}
|
package/dist/services/urls.js
CHANGED
|
@@ -27,8 +27,8 @@ exports.default = {
|
|
|
27
27
|
GetCommonPages: '/{language}/Route/v1/GetCommonPages',
|
|
28
28
|
},
|
|
29
29
|
Prediction: {
|
|
30
|
-
Autocomplete: '/live/{language}/autocomplete',
|
|
31
|
-
Didyoumean: '/live/{language}/didyoumean',
|
|
30
|
+
Autocomplete: '/live/{language}/Predictions/v1/autocomplete',
|
|
31
|
+
Didyoumean: '/live/{language}/Predictions/v1/didyoumean',
|
|
32
32
|
},
|
|
33
33
|
Product: {
|
|
34
34
|
Product: '/live/{language}/Product/v1/{id}',
|