@tripian/model 4.2.0 → 5.0.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/api/{v3 → v4}/enums/BOOKING_PRODUCT_INFO.d.ts +0 -0
- package/api/v4/enums/OFFER_CURRENCY.d.ts +4 -0
- package/api/v4/enums/OFFER_RECEIVE_METHOD.d.ts +4 -0
- package/api/v4/enums/OFFER_STATUS.d.ts +5 -0
- package/api/v4/enums/OFFER_TYPE.d.ts +5 -0
- package/api/{v3 → v4}/enums/POI_CATEGORY_GROUP.d.ts +0 -0
- package/api/v4/enums/PRODUCT_TYPE_NAME.d.ts +5 -0
- package/api/{v3 → v4}/enums/PROVIDER_ID.d.ts +0 -0
- package/api/{v3 → v4}/enums/PROVIDER_NAME.d.ts +0 -0
- package/api/v4/enums/QUESTIONS_CATEGORY.d.ts +5 -0
- package/api/v4/enums/REACTION.d.ts +5 -0
- package/api/{v3 → v4}/enums/REACTION_COMMENT.d.ts +0 -0
- package/api/v4/enums/RESPONSE_STATUS.d.ts +8 -0
- package/api/v4/enums/VERIFY_CHANNEL.d.ts +4 -0
- package/api/{v3 → v4}/index.d.ts +62 -39
- package/api/v4/models/Accommodation.d.ts +7 -0
- package/api/v4/models/Booking.d.ts +8 -0
- package/api/{v3 → v4}/models/BookingProduct.d.ts +7 -7
- package/api/v4/models/Business.d.ts +18 -0
- package/api/v4/models/BusinessInfoCategory.d.ts +6 -0
- package/api/v4/models/BusinessNameAddress.d.ts +4 -0
- package/api/v4/models/BusinessSearch.d.ts +7 -0
- package/api/v4/models/BusinessVerify.d.ts +4 -0
- package/api/{v3 → v4}/models/City.d.ts +6 -6
- package/api/{v3 → v4}/models/Companion.d.ts +3 -3
- package/api/{v3 → v4}/models/Continent.d.ts +1 -0
- package/api/{v3 → v4}/models/Coordinate.d.ts +0 -0
- package/api/{v3 → v4}/models/Country.d.ts +1 -1
- package/api/v4/models/Device.d.ts +7 -0
- package/api/v4/models/Favorite.d.ts +6 -0
- package/api/{v3 → v4}/models/HourFormat.d.ts +0 -0
- package/api/{v3 → v4}/models/Image.d.ts +2 -2
- package/api/{v3 → v4}/models/ImageOwner.d.ts +0 -1
- package/api/v4/models/Notification.d.ts +8 -0
- package/api/v4/models/NotificationMetaData.d.ts +4 -0
- package/api/v4/models/NotificationSettings.d.ts +6 -0
- package/api/v4/models/NotificationUnseen.d.ts +3 -0
- package/api/v4/models/Offer.d.ts +27 -0
- package/api/v4/models/OfferCustomer.d.ts +6 -0
- package/api/v4/models/OfferImage.d.ts +4 -0
- package/api/v4/models/OfferProductType.d.ts +7 -0
- package/api/{v3 → v4}/models/Plan.d.ts +4 -4
- package/api/{v3 → v4}/models/Poi.d.ts +23 -22
- package/api/{v3 → v4}/models/PoiCategory.d.ts +1 -1
- package/api/{v3 → v4}/models/PoiCategoryGroup.d.ts +0 -0
- package/api/v4/models/PoiCategoryParent.d.ts +5 -0
- package/api/{v3 → v4}/models/PoiReference.d.ts +4 -4
- package/api/v4/models/Question.d.ts +11 -0
- package/api/v4/models/QuestionAnswer.d.ts +6 -0
- package/api/{v3 → v4}/models/Recommendation.d.ts +2 -2
- package/api/{v3 → v4}/models/Step.d.ts +2 -4
- package/api/{v3/models/SubOption.d.ts → v4/models/SubAnswer.d.ts} +1 -1
- package/api/{v3 → v4}/models/TasteItem.d.ts +4 -3
- package/api/v4/models/TimeFrame.d.ts +4 -0
- package/api/{v3 → v4}/models/Token.d.ts +1 -1
- package/api/v4/models/TokenPayload.d.ts +28 -0
- package/api/v4/models/TokenRefresh.d.ts +5 -0
- package/api/{v3 → v4}/models/TopTen.d.ts +1 -1
- package/api/{v3 → v4}/models/Trip.d.ts +2 -2
- package/api/v4/models/TripProfile.d.ts +13 -0
- package/api/{v3 → v4}/models/TripReference.d.ts +4 -4
- package/api/v4/models/User.d.ts +6 -0
- package/api/v4/models/UserReaction.d.ts +9 -0
- package/api/{v3 → v4}/models/UserReservation.d.ts +5 -5
- package/api/v4/models/UserResetPassword.d.ts +6 -0
- package/api/{v3 → v4}/requests/CompanionRequest.d.ts +3 -3
- package/api/v4/requests/LoginRequest.d.ts +6 -0
- package/api/v4/requests/OfferAddRequest.d.ts +22 -0
- package/api/v4/requests/OfferRequest.d.ts +9 -0
- package/api/v4/requests/PlanUpdateRequest.d.ts +5 -0
- package/api/v4/requests/PoisRequest.d.ts +16 -0
- package/api/{v3 → v4}/requests/PoisRequestCoordinate.d.ts +2 -3
- package/api/{v3 → v4}/requests/PoisRequestMustTry.d.ts +1 -1
- package/api/{v3 → v4}/requests/PoisRequestName.d.ts +2 -2
- package/api/v4/requests/RegisterRequest.d.ts +11 -0
- package/api/v4/requests/TokenRefreshRequest.d.ts +5 -0
- package/api/v4/requests/UserReactionRequest.d.ts +7 -0
- package/api/{v3 → v4}/requests/UserReservationRequest.d.ts +3 -3
- package/api/v4/requests/UserUpdateRequest.d.ts +7 -0
- package/api/{v3 → v4}/responses/DataPayload.d.ts +0 -0
- package/api/v4/responses/DeleteUpdateResponse.d.ts +3 -0
- package/api/v4/responses/ErrorResponse.d.ts +7 -0
- package/api/v4/responses/Pagination.d.ts +7 -0
- package/api/{v3 → v4}/responses/SuccessResponse.d.ts +3 -1
- package/helper/index.d.ts +9 -9
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +2 -39
- package/providers/bb/SearchAccommodationResponse.d.ts +1 -1
- package/providers/bb/SearchCarRentResponse.d.ts +99 -0
- package/providers/bb/index.d.ts +1 -0
- package/api/v3/enums/REACTION.d.ts +0 -5
- package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +0 -5
- package/api/v3/models/Accommodation.d.ts +0 -7
- package/api/v3/models/Booking.d.ts +0 -6
- package/api/v3/models/Favorite.d.ts +0 -6
- package/api/v3/models/Option.d.ts +0 -6
- package/api/v3/models/PoiCategoryParent.d.ts +0 -4
- package/api/v3/models/PoiHours.d.ts +0 -4
- package/api/v3/models/Question.d.ts +0 -10
- package/api/v3/models/StepHours.d.ts +0 -4
- package/api/v3/models/TasteItemImage.d.ts +0 -5
- package/api/v3/models/TokenPayload.d.ts +0 -13
- package/api/v3/models/TokenRefresh.d.ts +0 -5
- package/api/v3/models/TripProfile.d.ts +0 -14
- package/api/v3/models/User.d.ts +0 -8
- package/api/v3/models/UserProfile.d.ts +0 -4
- package/api/v3/models/UserReaction.d.ts +0 -12
- package/api/v3/requests/Device.d.ts +0 -7
- package/api/v3/requests/FavoriteRequest.d.ts +0 -4
- package/api/v3/requests/FavoriteUpdateRequest.d.ts +0 -4
- package/api/v3/requests/LoginRequestEmail.d.ts +0 -6
- package/api/v3/requests/LoginRequestTripHash.d.ts +0 -5
- package/api/v3/requests/LoginRequestUsername.d.ts +0 -5
- package/api/v3/requests/PlanUpdateRequest.d.ts +0 -5
- package/api/v3/requests/PoisRequest.d.ts +0 -12
- package/api/v3/requests/RecommendationRequest.d.ts +0 -14
- package/api/v3/requests/RegisterRequestEmail.d.ts +0 -8
- package/api/v3/requests/RegisterRequestUsername.d.ts +0 -7
- package/api/v3/requests/StepRequest.d.ts +0 -5
- package/api/v3/requests/StepUpdateRequest.d.ts +0 -4
- package/api/v3/requests/TokenRefreshRequest.d.ts +0 -3
- package/api/v3/requests/UserProfileRequest.d.ts +0 -4
- package/api/v3/requests/UserReactionRequest.d.ts +0 -8
- package/api/v3/requests/UserUpdateRequest.d.ts +0 -7
- package/api/v3/responses/ErrorResponse.d.ts +0 -6
- package/api/v3/responses/Pagination.d.ts +0 -9
- package/api/v3/responses/PaginationLinks.d.ts +0 -4
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/api/{v3 → v4}/index.d.ts
RENAMED
|
@@ -1,69 +1,92 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Enum
|
|
3
|
+
*/
|
|
2
4
|
export * from './enums/BOOKING_PRODUCT_INFO';
|
|
5
|
+
export * from './enums/OFFER_CURRENCY';
|
|
6
|
+
export * from './enums/OFFER_RECEIVE_METHOD';
|
|
7
|
+
export * from './enums/OFFER_STATUS';
|
|
8
|
+
export * from './enums/OFFER_TYPE';
|
|
9
|
+
export * from './enums/POI_CATEGORY_GROUP';
|
|
10
|
+
export * from './enums/PRODUCT_TYPE_NAME';
|
|
11
|
+
export * from './enums/PROVIDER_ID';
|
|
12
|
+
export * from './enums/PROVIDER_NAME';
|
|
13
|
+
export * from './enums/REACTION';
|
|
14
|
+
export * from './enums/REACTION_COMMENT';
|
|
15
|
+
export * from './enums/RESPONSE_STATUS';
|
|
16
|
+
export * from './enums/QUESTIONS_CATEGORY';
|
|
17
|
+
export * from './enums/VERIFY_CHANNEL';
|
|
18
|
+
/**
|
|
19
|
+
* Models
|
|
20
|
+
*/
|
|
21
|
+
export * from './models/Accommodation';
|
|
3
22
|
export * from './models/Booking';
|
|
4
23
|
export * from './models/BookingProduct';
|
|
24
|
+
export * from './models/Business';
|
|
25
|
+
export * from './models/Business';
|
|
26
|
+
export * from './models/BusinessInfoCategory';
|
|
27
|
+
export * from './models/BusinessSearch';
|
|
28
|
+
export * from './models/BusinessVerify';
|
|
5
29
|
export * from './models/City';
|
|
6
30
|
export * from './models/Companion';
|
|
7
|
-
export * from './requests/CompanionRequest';
|
|
8
31
|
export * from './models/Continent';
|
|
9
32
|
export * from './models/Coordinate';
|
|
10
33
|
export * from './models/Country';
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './requests/Device';
|
|
13
|
-
export * from './responses/ErrorResponse';
|
|
34
|
+
export * from './models/Device';
|
|
14
35
|
export * from './models/Favorite';
|
|
15
|
-
export * from './requests/FavoriteRequest';
|
|
16
|
-
export * from './requests/FavoriteUpdateRequest';
|
|
17
36
|
export * from './models/Image';
|
|
18
37
|
export * from './models/ImageOwner';
|
|
19
|
-
export * from './models/
|
|
20
|
-
export * from './
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './models/
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
38
|
+
export * from './models/Notification';
|
|
39
|
+
export * from './models/NotificationMetaData';
|
|
40
|
+
export * from './models/NotificationSettings';
|
|
41
|
+
export * from './models/NotificationUnseen';
|
|
42
|
+
export * from './models/Offer';
|
|
43
|
+
export * from './models/OfferCustomer';
|
|
44
|
+
export * from './models/OfferImage';
|
|
45
|
+
export * from './models/OfferProductType';
|
|
26
46
|
export * from './models/Plan';
|
|
27
|
-
export * from './requests/PlanUpdateRequest';
|
|
28
47
|
export * from './models/Poi';
|
|
29
|
-
export * from './enums/POI_CATEGORY_GROUP';
|
|
30
48
|
export * from './models/PoiCategory';
|
|
31
|
-
export * from './models/
|
|
49
|
+
export * from './models/PoiCategoryParent';
|
|
32
50
|
export * from './models/PoiReference';
|
|
33
|
-
export * from './requests/PoisRequest';
|
|
34
|
-
export * from './requests/PoisRequestCoordinate';
|
|
35
|
-
export * from './requests/PoisRequestMustTry';
|
|
36
|
-
export * from './requests/PoisRequestName';
|
|
37
|
-
export * from './enums/PROVIDER_ID';
|
|
38
|
-
export * from './enums/PROVIDER_NAME';
|
|
39
51
|
export * from './models/Question';
|
|
40
|
-
export * from './enums/REACTION_COMMENT';
|
|
41
|
-
export * from './enums/REACTION';
|
|
42
52
|
export * from './models/Recommendation';
|
|
43
|
-
export * from './requests/RecommendationRequest';
|
|
44
|
-
export * from './requests/RegisterRequestEmail';
|
|
45
|
-
export * from './requests/RegisterRequestUsername';
|
|
46
53
|
export * from './models/Step';
|
|
47
|
-
export * from './models/
|
|
48
|
-
export * from './requests/StepRequest';
|
|
49
|
-
export * from './requests/StepUpdateRequest';
|
|
50
|
-
export * from './models/SubOption';
|
|
51
|
-
export * from './responses/SuccessResponse';
|
|
54
|
+
export * from './models/SubAnswer';
|
|
52
55
|
export * from './models/TasteItem';
|
|
53
|
-
export * from './models/
|
|
56
|
+
export * from './models/TimeFrame';
|
|
54
57
|
export * from './models/Token';
|
|
55
58
|
export * from './models/TokenPayload';
|
|
56
59
|
export * from './models/TokenRefresh';
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './enums/TRIP_PROFILE_PACE';
|
|
60
|
+
export * from './models/TopTen';
|
|
59
61
|
export * from './models/Trip';
|
|
60
62
|
export * from './models/TripProfile';
|
|
61
63
|
export * from './models/TripReference';
|
|
62
64
|
export * from './models/User';
|
|
63
|
-
export * from './models/UserProfile';
|
|
64
|
-
export * from './requests/UserProfileRequest';
|
|
65
65
|
export * from './models/UserReaction';
|
|
66
|
-
export * from './requests/UserReactionRequest';
|
|
67
66
|
export * from './models/UserReservation';
|
|
67
|
+
export * from './models/UserResetPassword';
|
|
68
|
+
/**
|
|
69
|
+
* Requests
|
|
70
|
+
*/
|
|
71
|
+
export * from './requests/CompanionRequest';
|
|
72
|
+
export * from './requests/LoginRequest';
|
|
73
|
+
export * from './requests/OfferAddRequest';
|
|
74
|
+
export * from './requests/OfferRequest';
|
|
75
|
+
export * from './requests/PlanUpdateRequest';
|
|
76
|
+
export * from './requests/PoisRequest';
|
|
77
|
+
export * from './requests/PoisRequestCoordinate';
|
|
78
|
+
export * from './requests/PoisRequestMustTry';
|
|
79
|
+
export * from './requests/PoisRequestName';
|
|
80
|
+
export * from './requests/RegisterRequest';
|
|
81
|
+
export * from './requests/TokenRefreshRequest';
|
|
82
|
+
export * from './requests/UserReactionRequest';
|
|
68
83
|
export * from './requests/UserReservationRequest';
|
|
69
84
|
export * from './requests/UserUpdateRequest';
|
|
85
|
+
/**
|
|
86
|
+
* Responses
|
|
87
|
+
*/
|
|
88
|
+
export * from './responses/DataPayload';
|
|
89
|
+
export * from './responses/DeleteUpdateResponse';
|
|
90
|
+
export * from './responses/ErrorResponse';
|
|
91
|
+
export * from './responses/Pagination';
|
|
92
|
+
export * from './responses/SuccessResponse';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { PROVIDER_ID } from '../enums/PROVIDER_ID';
|
|
2
|
+
import { PROVIDER_NAME } from '../enums/PROVIDER_NAME';
|
|
3
|
+
import { BookingProduct } from './BookingProduct';
|
|
4
|
+
export declare type Booking = {
|
|
5
|
+
providerId: PROVIDER_ID;
|
|
6
|
+
providerName: PROVIDER_NAME;
|
|
7
|
+
products: BookingProduct[];
|
|
8
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export declare type BookingProduct = {
|
|
2
|
-
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
3
4
|
currency: string | null;
|
|
4
|
-
duration: string | null;
|
|
5
|
-
id: string;
|
|
6
|
-
image: string | null;
|
|
7
5
|
price: number | null;
|
|
8
|
-
|
|
6
|
+
priceDescription: string | null;
|
|
7
|
+
image: string | null;
|
|
9
8
|
rating: number | null;
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
ratingCount: number | null;
|
|
10
|
+
duration: string | null;
|
|
12
11
|
url: string | null;
|
|
12
|
+
info: string[];
|
|
13
13
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BusinessNameAddress } from './BusinessNameAddress';
|
|
2
|
+
import { Coordinate } from './Coordinate';
|
|
3
|
+
import { Image } from './Image';
|
|
4
|
+
export declare type Business = BusinessNameAddress & {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
image: Image;
|
|
8
|
+
gallery: Image[];
|
|
9
|
+
coordinates: Coordinate;
|
|
10
|
+
businessHours: string | null;
|
|
11
|
+
price: number | null;
|
|
12
|
+
rating: number | null;
|
|
13
|
+
ratingCount: number | null;
|
|
14
|
+
web: string | null;
|
|
15
|
+
phone: string;
|
|
16
|
+
address: string;
|
|
17
|
+
isVerified: boolean;
|
|
18
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import { Image } from './Image';
|
|
1
2
|
import { Coordinate } from './Coordinate';
|
|
2
3
|
import { Country } from './Country';
|
|
3
|
-
import { Image } from './Image';
|
|
4
4
|
import { TasteItem } from './TasteItem';
|
|
5
5
|
export declare type City = {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
image: Image;
|
|
6
9
|
boundary: number[];
|
|
7
10
|
coordinate: Coordinate;
|
|
8
11
|
country: Country;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
image: Image;
|
|
12
|
-
name: string;
|
|
12
|
+
mustTries: TasteItem[];
|
|
13
|
+
description: string | null;
|
|
13
14
|
status: boolean;
|
|
14
|
-
tastes: TasteItem[];
|
|
15
15
|
};
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { OFFER_CURRENCY } from '../enums/OFFER_CURRENCY';
|
|
2
|
+
import { OFFER_STATUS } from '../enums/OFFER_STATUS';
|
|
3
|
+
import { OFFER_TYPE } from '../enums/OFFER_TYPE';
|
|
4
|
+
import { OfferImage } from './OfferImage';
|
|
5
|
+
import { OfferProductType } from './OfferProductType';
|
|
6
|
+
import { TimeFrame } from './TimeFrame';
|
|
7
|
+
export declare type Offer = {
|
|
8
|
+
id: number;
|
|
9
|
+
tripianPoiId: number;
|
|
10
|
+
businessId: number;
|
|
11
|
+
title: string;
|
|
12
|
+
description: string | null;
|
|
13
|
+
currency: OFFER_CURRENCY;
|
|
14
|
+
caption: string;
|
|
15
|
+
productName: string;
|
|
16
|
+
threshold: number;
|
|
17
|
+
discount: number;
|
|
18
|
+
discountedProductCount: number;
|
|
19
|
+
quantity: number;
|
|
20
|
+
timeframe: TimeFrame | null;
|
|
21
|
+
image: OfferImage;
|
|
22
|
+
productType: OfferProductType;
|
|
23
|
+
offerType: OFFER_TYPE;
|
|
24
|
+
usage: number;
|
|
25
|
+
optIn: boolean;
|
|
26
|
+
status: OFFER_STATUS;
|
|
27
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Step } from './Step';
|
|
2
2
|
export declare type Plan = {
|
|
3
|
-
date: string;
|
|
4
|
-
end_time: string;
|
|
5
|
-
generated_status: number;
|
|
6
3
|
id: number;
|
|
7
|
-
|
|
4
|
+
date: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
generatedStatus: number;
|
|
8
8
|
steps: Array<Step>;
|
|
9
9
|
};
|
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import { Image } from './Image';
|
|
2
2
|
import { Coordinate } from './Coordinate';
|
|
3
3
|
import { PoiCategory } from './PoiCategory';
|
|
4
|
-
import { Booking } from './Booking';
|
|
5
4
|
import { TasteItem } from './TasteItem';
|
|
5
|
+
import { Booking } from './Booking';
|
|
6
|
+
import { Offer } from './Offer';
|
|
6
7
|
export declare type Poi = {
|
|
7
|
-
address: string | null;
|
|
8
|
-
attention: string | null;
|
|
9
|
-
booking: Booking[];
|
|
10
|
-
category: PoiCategory[];
|
|
11
|
-
city_id: number;
|
|
12
|
-
closed: number[];
|
|
13
|
-
coordinate: Coordinate;
|
|
14
|
-
cuisines: string | null;
|
|
15
|
-
description: string | null;
|
|
16
|
-
distance: number | null;
|
|
17
|
-
gallery: Image[];
|
|
18
|
-
hours: string | null;
|
|
19
|
-
icon: string;
|
|
20
8
|
id: number;
|
|
21
|
-
|
|
22
|
-
marker_coordinate: Coordinate;
|
|
23
|
-
must_tries: TasteItem[];
|
|
9
|
+
cityId: number;
|
|
24
10
|
name: string;
|
|
25
|
-
|
|
11
|
+
image: Image;
|
|
12
|
+
gallery: Image[];
|
|
26
13
|
price: number | null;
|
|
27
14
|
rating: number | null;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
status: boolean;
|
|
31
|
-
tags: string[];
|
|
15
|
+
ratingCount: number | null;
|
|
16
|
+
description: string | null;
|
|
32
17
|
web: string | null;
|
|
18
|
+
phone: string | null;
|
|
19
|
+
address: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
coordinate: Coordinate;
|
|
22
|
+
bookings: Booking[];
|
|
23
|
+
category: PoiCategory[];
|
|
24
|
+
tags: string[];
|
|
25
|
+
mustTries: TasteItem[];
|
|
26
|
+
cuisines: string | null;
|
|
27
|
+
attention: string | null;
|
|
28
|
+
hours: string | null;
|
|
29
|
+
closed: number[];
|
|
30
|
+
distance: number | null;
|
|
31
|
+
safety: string[];
|
|
32
|
+
status: boolean;
|
|
33
|
+
offers: Offer[];
|
|
33
34
|
};
|
|
File without changes
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Coordinate } from './Coordinate';
|
|
2
|
-
import { Image } from './Image';
|
|
3
2
|
import { PoiCategory } from './PoiCategory';
|
|
3
|
+
import { Image } from './Image';
|
|
4
4
|
export declare type PoiReference = {
|
|
5
|
-
category: PoiCategory[];
|
|
6
5
|
id: number;
|
|
7
|
-
image: Image;
|
|
8
|
-
marker_coordinate: Coordinate;
|
|
9
6
|
name: string;
|
|
7
|
+
image: Image | null;
|
|
8
|
+
coordinate: Coordinate | null;
|
|
9
|
+
category: PoiCategory[];
|
|
10
10
|
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { QUESTIONS_CATEGORY } from '../enums/QUESTIONS_CATEGORY';
|
|
2
|
+
import { QuestionAnswer } from './QuestionAnswer';
|
|
3
|
+
export declare type Question = {
|
|
4
|
+
id: number;
|
|
5
|
+
skippable: boolean;
|
|
6
|
+
selectMultiple: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
category: QUESTIONS_CATEGORY;
|
|
9
|
+
order: number;
|
|
10
|
+
answers: QuestionAnswer[];
|
|
11
|
+
};
|
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { Poi } from './Poi';
|
|
2
|
-
import { StepHours } from './StepHours';
|
|
3
2
|
export declare type Step = {
|
|
4
|
-
alternatives: number[];
|
|
5
|
-
hours: StepHours;
|
|
6
3
|
id: number;
|
|
7
|
-
order: number;
|
|
8
4
|
poi: Poi;
|
|
9
5
|
score: number | null;
|
|
6
|
+
order: number;
|
|
7
|
+
alternatives: number[];
|
|
10
8
|
};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Image } from './Image';
|
|
2
2
|
export declare type TasteItem = {
|
|
3
3
|
id: number;
|
|
4
|
-
description: string | null;
|
|
5
|
-
image: TasteItemImage;
|
|
6
4
|
name: string;
|
|
5
|
+
poiCount: number | null;
|
|
6
|
+
description: string | null;
|
|
7
|
+
image: Image;
|
|
7
8
|
};
|