@tripian/model 4.3.0 → 4.6.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/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
- package/api/v3/enums/POI_CATEGORY_GROUP.d.ts +7 -7
- package/api/v3/enums/PROVIDER_ID.d.ts +7 -7
- package/api/v3/enums/PROVIDER_NAME.d.ts +7 -7
- package/api/v3/enums/REACTION.d.ts +5 -5
- package/api/v3/enums/REACTION_COMMENT.d.ts +4 -4
- package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +5 -5
- package/api/v3/index.d.ts +69 -69
- package/api/v3/models/Accommodation.d.ts +7 -7
- package/api/v3/models/Booking.d.ts +6 -6
- package/api/v3/models/BookingProduct.d.ts +13 -13
- package/api/v3/models/City.d.ts +15 -15
- package/api/v3/models/Companion.d.ts +8 -8
- package/api/v3/models/Continent.d.ts +3 -3
- package/api/v3/models/Coordinate.d.ts +4 -4
- package/api/v3/models/Country.d.ts +6 -6
- package/api/v3/models/Favorite.d.ts +6 -6
- package/api/v3/models/HourFormat.d.ts +4 -4
- package/api/v3/models/Image.d.ts +7 -7
- package/api/v3/models/ImageOwner.d.ts +5 -5
- package/api/v3/models/Option.d.ts +6 -6
- package/api/v3/models/Plan.d.ts +9 -9
- package/api/v3/models/Poi.d.ts +33 -33
- package/api/v3/models/PoiCategory.d.ts +7 -7
- package/api/v3/models/PoiCategoryGroup.d.ts +5 -5
- package/api/v3/models/PoiCategoryParent.d.ts +4 -4
- package/api/v3/models/PoiHours.d.ts +4 -4
- package/api/v3/models/PoiReference.d.ts +10 -10
- package/api/v3/models/Question.d.ts +10 -10
- package/api/v3/models/Recommendation.d.ts +5 -5
- package/api/v3/models/Step.d.ts +10 -10
- package/api/v3/models/StepHours.d.ts +4 -4
- package/api/v3/models/SubOption.d.ts +4 -4
- package/api/v3/models/TasteItem.d.ts +7 -7
- package/api/v3/models/TasteItemImage.d.ts +5 -5
- package/api/v3/models/Token.d.ts +4 -4
- package/api/v3/models/TokenPayload.d.ts +13 -13
- package/api/v3/models/TokenRefresh.d.ts +5 -5
- package/api/v3/models/TopTen.d.ts +6 -6
- package/api/v3/models/Trip.d.ts +5 -5
- package/api/v3/models/TripProfile.d.ts +14 -14
- package/api/v3/models/TripReference.d.ts +8 -8
- package/api/v3/models/User.d.ts +8 -8
- package/api/v3/models/UserProfile.d.ts +4 -4
- package/api/v3/models/UserReaction.d.ts +12 -12
- package/api/v3/models/UserReservation.d.ts +10 -10
- package/api/v3/requests/CompanionRequest.d.ts +6 -6
- package/api/v3/requests/Device.d.ts +7 -7
- package/api/v3/requests/FavoriteRequest.d.ts +4 -4
- package/api/v3/requests/FavoriteUpdateRequest.d.ts +4 -4
- package/api/v3/requests/LoginRequestEmail.d.ts +6 -6
- package/api/v3/requests/LoginRequestTripHash.d.ts +5 -5
- package/api/v3/requests/LoginRequestUsername.d.ts +5 -5
- package/api/v3/requests/PlanUpdateRequest.d.ts +5 -5
- package/api/v3/requests/PoisRequest.d.ts +12 -12
- package/api/v3/requests/PoisRequestCoordinate.d.ts +8 -8
- package/api/v3/requests/PoisRequestMustTry.d.ts +5 -5
- package/api/v3/requests/PoisRequestName.d.ts +7 -7
- package/api/v3/requests/RecommendationRequest.d.ts +14 -14
- package/api/v3/requests/RegisterRequestEmail.d.ts +8 -8
- package/api/v3/requests/RegisterRequestUsername.d.ts +7 -7
- package/api/v3/requests/StepRequest.d.ts +5 -5
- package/api/v3/requests/StepUpdateRequest.d.ts +4 -4
- package/api/v3/requests/TokenRefreshRequest.d.ts +3 -3
- package/api/v3/requests/UserProfileRequest.d.ts +4 -4
- package/api/v3/requests/UserReactionRequest.d.ts +8 -8
- package/api/v3/requests/UserReservationRequest.d.ts +7 -7
- package/api/v3/requests/UserUpdateRequest.d.ts +7 -7
- package/api/v3/responses/DataPayload.d.ts +5 -5
- package/api/v3/responses/ErrorResponse.d.ts +6 -6
- package/api/v3/responses/Pagination.d.ts +9 -9
- package/api/v3/responses/PaginationLinks.d.ts +4 -4
- package/api/v3/responses/SuccessResponse.d.ts +8 -8
- package/helper/index.d.ts +37 -37
- package/helper/plural.d.ts +1 -1
- package/index.d.ts +4 -4
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +21 -21
- package/providers/bb/ACTIVITY_THEMES.d.ts +14 -14
- package/providers/bb/Activity.d.ts +11 -11
- package/providers/bb/ActivityInfo.d.ts +16 -16
- package/providers/bb/ActivityInfoImage.d.ts +7 -7
- package/providers/bb/ActivityInfoLocation.d.ts +4 -4
- package/providers/bb/ActivityPoint.d.ts +9 -9
- package/providers/bb/AuthorizationResponse.d.ts +48 -48
- package/providers/bb/Offer.d.ts +58 -58
- package/providers/bb/OfferPoint.d.ts +6 -6
- package/providers/bb/Product.d.ts +19 -19
- package/providers/bb/SearchAccommodationResponse.d.ts +119 -119
- package/providers/bb/SearchActivitiesResponse.d.ts +20 -20
- package/providers/bb/SearchCarRentResponse.d.ts +99 -0
- package/providers/bb/index.d.ts +13 -12
- package/providers/glx/Booking.d.ts +16 -16
- package/providers/glx/BookingContact.d.ts +7 -7
- package/providers/glx/BookingInformation.d.ts +4 -4
- package/providers/glx/BookingLocation.d.ts +5 -5
- package/providers/glx/BookingPrice.d.ts +23 -23
- package/providers/glx/BookingRef.d.ts +24 -24
- package/providers/glx/BookingSearchResult.d.ts +10 -10
- package/providers/glx/BookingSearchResultAggregation.d.ts +18 -18
- package/providers/glx/BookingSubCategory.d.ts +4 -4
- package/providers/glx/BookingSupplier.d.ts +4 -4
- package/providers/glx/Catalog.d.ts +4 -4
- package/providers/glx/CatalogGroup.d.ts +10 -10
- package/providers/glx/Token.d.ts +5 -5
- package/providers/glx/TourRating.d.ts +5 -5
- package/providers/glx/TourReview.d.ts +6 -6
- package/providers/glx/index.d.ts +15 -15
- package/providers/gyg/CatalogGroup.d.ts +5 -5
- package/providers/gyg/Categories.d.ts +8 -8
- package/providers/gyg/Category.d.ts +6 -6
- package/providers/gyg/MetaData.d.ts +15 -15
- package/providers/gyg/PaymentConfiguration.d.ts +8 -8
- package/providers/gyg/PaymentConfigurations.d.ts +8 -8
- package/providers/gyg/Tour.d.ts +36 -36
- package/providers/gyg/TourAvailabilities.d.ts +8 -8
- package/providers/gyg/TourAvailability.d.ts +7 -7
- package/providers/gyg/TourBooking.d.ts +10 -10
- package/providers/gyg/TourBookingCart.d.ts +81 -81
- package/providers/gyg/TourBookingCartRequest.d.ts +49 -49
- package/providers/gyg/TourBookingCartWithDetails.d.ts +6 -6
- package/providers/gyg/TourBookingCarts.d.ts +6 -6
- package/providers/gyg/TourBookingInfo.d.ts +37 -37
- package/providers/gyg/TourBookingInfos.d.ts +8 -8
- package/providers/gyg/TourBookingRequest.d.ts +26 -26
- package/providers/gyg/TourBookings.d.ts +8 -8
- package/providers/gyg/TourCategories.d.ts +5 -5
- package/providers/gyg/TourCoordinates.d.ts +4 -4
- package/providers/gyg/TourDateRange.d.ts +4 -4
- package/providers/gyg/TourDurations.d.ts +4 -4
- package/providers/gyg/TourLocations.d.ts +13 -13
- package/providers/gyg/TourOption.d.ts +34 -34
- package/providers/gyg/TourOptionDetails.d.ts +8 -8
- package/providers/gyg/TourOptionPricing.d.ts +20 -20
- package/providers/gyg/TourOptionPricings.d.ts +8 -8
- package/providers/gyg/TourOptions.d.ts +8 -8
- package/providers/gyg/TourPictures.d.ts +6 -6
- package/providers/gyg/TourPrice.d.ts +11 -11
- package/providers/gyg/TourReservationDetails.d.ts +6 -6
- package/providers/gyg/TourShoppingFormData.d.ts +20 -20
- package/providers/gyg/TourViewport.d.ts +6 -6
- package/providers/gyg/Tours.d.ts +8 -8
- package/providers/gyg/index.d.ts +33 -33
- package/providers/index.d.ts +5 -5
- package/providers/yelp/Business.d.ts +31 -31
- package/providers/yelp/Hold.d.ts +10 -10
- package/providers/yelp/HoldRequest.d.ts +7 -7
- package/providers/yelp/Opening.d.ts +5 -5
- package/providers/yelp/OpeningTime.d.ts +4 -4
- package/providers/yelp/Openings.d.ts +4 -4
- package/providers/yelp/OpeningsRequest.d.ts +6 -6
- package/providers/yelp/Reservation.d.ts +5 -5
- package/providers/yelp/ReservationInfo.d.ts +8 -8
- package/providers/yelp/ReservationRequest.d.ts +12 -12
- package/providers/yelp/ReservationStatusResponse.d.ts +6 -6
- package/providers/yelp/index.d.ts +10 -10
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare enum BOOKING_PRODUCT_INFO {
|
|
2
|
-
TICKET = "ticket"
|
|
3
|
-
}
|
|
1
|
+
export declare enum BOOKING_PRODUCT_INFO {
|
|
2
|
+
TICKET = "ticket"
|
|
3
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum POI_CATEGORY_GROUP {
|
|
2
|
-
ATTRACTION = "Attractions",
|
|
3
|
-
RESTAURANT = "Restaurants",
|
|
4
|
-
CAFE = "Cafes",
|
|
5
|
-
NIGHTLIFE = "Nightlife",
|
|
6
|
-
UNKNOWN = "Unknown"
|
|
7
|
-
}
|
|
1
|
+
export declare enum POI_CATEGORY_GROUP {
|
|
2
|
+
ATTRACTION = "Attractions",
|
|
3
|
+
RESTAURANT = "Restaurants",
|
|
4
|
+
CAFE = "Cafes",
|
|
5
|
+
NIGHTLIFE = "Nightlife",
|
|
6
|
+
UNKNOWN = "Unknown"
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum PROVIDER_ID {
|
|
2
|
-
YELP = 2,
|
|
3
|
-
GLX = 3,
|
|
4
|
-
GYG = 4,
|
|
5
|
-
OPEN_TABLE = 5,
|
|
6
|
-
BOOK_BARBADOS = 6
|
|
7
|
-
}
|
|
1
|
+
export declare enum PROVIDER_ID {
|
|
2
|
+
YELP = 2,
|
|
3
|
+
GLX = 3,
|
|
4
|
+
GYG = 4,
|
|
5
|
+
OPEN_TABLE = 5,
|
|
6
|
+
BOOK_BARBADOS = 6
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum PROVIDER_NAME {
|
|
2
|
-
YELP = "Yelp",
|
|
3
|
-
GLX = "Glx",
|
|
4
|
-
GYG = "Gyg",
|
|
5
|
-
OPEN_TABLE = "OpenTable",
|
|
6
|
-
BOOK_BARBADOS = "BookBarbados"
|
|
7
|
-
}
|
|
1
|
+
export declare enum PROVIDER_NAME {
|
|
2
|
+
YELP = "Yelp",
|
|
3
|
+
GLX = "Glx",
|
|
4
|
+
GYG = "Gyg",
|
|
5
|
+
OPEN_TABLE = "OpenTable",
|
|
6
|
+
BOOK_BARBADOS = "BookBarbados"
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum REACTION {
|
|
2
|
-
THUMBS_UP = "THUMBS UP",
|
|
3
|
-
THUMBS_DOWN = "THUMBS DOWN",
|
|
4
|
-
NEUTRAL = "NEUTRAL"
|
|
5
|
-
}
|
|
1
|
+
export declare enum REACTION {
|
|
2
|
+
THUMBS_UP = "THUMBS UP",
|
|
3
|
+
THUMBS_DOWN = "THUMBS DOWN",
|
|
4
|
+
NEUTRAL = "NEUTRAL"
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum REACTION_COMMENT {
|
|
2
|
-
I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
|
|
3
|
-
I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
|
|
4
|
-
}
|
|
1
|
+
export declare enum REACTION_COMMENT {
|
|
2
|
+
I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
|
|
3
|
+
I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum TRIP_PROFILE_PACE {
|
|
2
|
-
SLOW = "SLOW",
|
|
3
|
-
MODERATE = "NORMAL",
|
|
4
|
-
PACKED = "FAST"
|
|
5
|
-
}
|
|
1
|
+
export declare enum TRIP_PROFILE_PACE {
|
|
2
|
+
SLOW = "SLOW",
|
|
3
|
+
MODERATE = "NORMAL",
|
|
4
|
+
PACKED = "FAST"
|
|
5
|
+
}
|
package/api/v3/index.d.ts
CHANGED
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
export * from './models/Accommodation';
|
|
2
|
-
export * from './enums/BOOKING_PRODUCT_INFO';
|
|
3
|
-
export * from './models/Booking';
|
|
4
|
-
export * from './models/BookingProduct';
|
|
5
|
-
export * from './models/City';
|
|
6
|
-
export * from './models/Companion';
|
|
7
|
-
export * from './requests/CompanionRequest';
|
|
8
|
-
export * from './models/Continent';
|
|
9
|
-
export * from './models/Coordinate';
|
|
10
|
-
export * from './models/Country';
|
|
11
|
-
export * from './responses/DataPayload';
|
|
12
|
-
export * from './requests/Device';
|
|
13
|
-
export * from './responses/ErrorResponse';
|
|
14
|
-
export * from './models/Favorite';
|
|
15
|
-
export * from './requests/FavoriteRequest';
|
|
16
|
-
export * from './requests/FavoriteUpdateRequest';
|
|
17
|
-
export * from './models/Image';
|
|
18
|
-
export * from './models/ImageOwner';
|
|
19
|
-
export * from './models/TopTen';
|
|
20
|
-
export * from './requests/LoginRequestEmail';
|
|
21
|
-
export * from './requests/LoginRequestTripHash';
|
|
22
|
-
export * from './requests/LoginRequestUsername';
|
|
23
|
-
export * from './models/Option';
|
|
24
|
-
export * from './responses/Pagination';
|
|
25
|
-
export * from './responses/PaginationLinks';
|
|
26
|
-
export * from './models/Plan';
|
|
27
|
-
export * from './requests/PlanUpdateRequest';
|
|
28
|
-
export * from './models/Poi';
|
|
29
|
-
export * from './enums/POI_CATEGORY_GROUP';
|
|
30
|
-
export * from './models/PoiCategory';
|
|
31
|
-
export * from './models/PoiHours';
|
|
32
|
-
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
|
-
export * from './models/Question';
|
|
40
|
-
export * from './enums/REACTION_COMMENT';
|
|
41
|
-
export * from './enums/REACTION';
|
|
42
|
-
export * from './models/Recommendation';
|
|
43
|
-
export * from './requests/RecommendationRequest';
|
|
44
|
-
export * from './requests/RegisterRequestEmail';
|
|
45
|
-
export * from './requests/RegisterRequestUsername';
|
|
46
|
-
export * from './models/Step';
|
|
47
|
-
export * from './models/StepHours';
|
|
48
|
-
export * from './requests/StepRequest';
|
|
49
|
-
export * from './requests/StepUpdateRequest';
|
|
50
|
-
export * from './models/SubOption';
|
|
51
|
-
export * from './responses/SuccessResponse';
|
|
52
|
-
export * from './models/TasteItem';
|
|
53
|
-
export * from './models/TasteItemImage';
|
|
54
|
-
export * from './models/Token';
|
|
55
|
-
export * from './models/TokenPayload';
|
|
56
|
-
export * from './models/TokenRefresh';
|
|
57
|
-
export * from './requests/TokenRefreshRequest';
|
|
58
|
-
export * from './enums/TRIP_PROFILE_PACE';
|
|
59
|
-
export * from './models/Trip';
|
|
60
|
-
export * from './models/TripProfile';
|
|
61
|
-
export * from './models/TripReference';
|
|
62
|
-
export * from './models/User';
|
|
63
|
-
export * from './models/UserProfile';
|
|
64
|
-
export * from './requests/UserProfileRequest';
|
|
65
|
-
export * from './models/UserReaction';
|
|
66
|
-
export * from './requests/UserReactionRequest';
|
|
67
|
-
export * from './models/UserReservation';
|
|
68
|
-
export * from './requests/UserReservationRequest';
|
|
69
|
-
export * from './requests/UserUpdateRequest';
|
|
1
|
+
export * from './models/Accommodation';
|
|
2
|
+
export * from './enums/BOOKING_PRODUCT_INFO';
|
|
3
|
+
export * from './models/Booking';
|
|
4
|
+
export * from './models/BookingProduct';
|
|
5
|
+
export * from './models/City';
|
|
6
|
+
export * from './models/Companion';
|
|
7
|
+
export * from './requests/CompanionRequest';
|
|
8
|
+
export * from './models/Continent';
|
|
9
|
+
export * from './models/Coordinate';
|
|
10
|
+
export * from './models/Country';
|
|
11
|
+
export * from './responses/DataPayload';
|
|
12
|
+
export * from './requests/Device';
|
|
13
|
+
export * from './responses/ErrorResponse';
|
|
14
|
+
export * from './models/Favorite';
|
|
15
|
+
export * from './requests/FavoriteRequest';
|
|
16
|
+
export * from './requests/FavoriteUpdateRequest';
|
|
17
|
+
export * from './models/Image';
|
|
18
|
+
export * from './models/ImageOwner';
|
|
19
|
+
export * from './models/TopTen';
|
|
20
|
+
export * from './requests/LoginRequestEmail';
|
|
21
|
+
export * from './requests/LoginRequestTripHash';
|
|
22
|
+
export * from './requests/LoginRequestUsername';
|
|
23
|
+
export * from './models/Option';
|
|
24
|
+
export * from './responses/Pagination';
|
|
25
|
+
export * from './responses/PaginationLinks';
|
|
26
|
+
export * from './models/Plan';
|
|
27
|
+
export * from './requests/PlanUpdateRequest';
|
|
28
|
+
export * from './models/Poi';
|
|
29
|
+
export * from './enums/POI_CATEGORY_GROUP';
|
|
30
|
+
export * from './models/PoiCategory';
|
|
31
|
+
export * from './models/PoiHours';
|
|
32
|
+
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
|
+
export * from './models/Question';
|
|
40
|
+
export * from './enums/REACTION_COMMENT';
|
|
41
|
+
export * from './enums/REACTION';
|
|
42
|
+
export * from './models/Recommendation';
|
|
43
|
+
export * from './requests/RecommendationRequest';
|
|
44
|
+
export * from './requests/RegisterRequestEmail';
|
|
45
|
+
export * from './requests/RegisterRequestUsername';
|
|
46
|
+
export * from './models/Step';
|
|
47
|
+
export * from './models/StepHours';
|
|
48
|
+
export * from './requests/StepRequest';
|
|
49
|
+
export * from './requests/StepUpdateRequest';
|
|
50
|
+
export * from './models/SubOption';
|
|
51
|
+
export * from './responses/SuccessResponse';
|
|
52
|
+
export * from './models/TasteItem';
|
|
53
|
+
export * from './models/TasteItemImage';
|
|
54
|
+
export * from './models/Token';
|
|
55
|
+
export * from './models/TokenPayload';
|
|
56
|
+
export * from './models/TokenRefresh';
|
|
57
|
+
export * from './requests/TokenRefreshRequest';
|
|
58
|
+
export * from './enums/TRIP_PROFILE_PACE';
|
|
59
|
+
export * from './models/Trip';
|
|
60
|
+
export * from './models/TripProfile';
|
|
61
|
+
export * from './models/TripReference';
|
|
62
|
+
export * from './models/User';
|
|
63
|
+
export * from './models/UserProfile';
|
|
64
|
+
export * from './requests/UserProfileRequest';
|
|
65
|
+
export * from './models/UserReaction';
|
|
66
|
+
export * from './requests/UserReactionRequest';
|
|
67
|
+
export * from './models/UserReservation';
|
|
68
|
+
export * from './requests/UserReservationRequest';
|
|
69
|
+
export * from './requests/UserUpdateRequest';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Coordinate } from './Coordinate';
|
|
2
|
-
export declare type Accommodation = {
|
|
3
|
-
address?: string | null;
|
|
4
|
-
coordinate?: Coordinate | null;
|
|
5
|
-
name?: string | null;
|
|
6
|
-
ref_id?: string | null;
|
|
7
|
-
};
|
|
1
|
+
import { Coordinate } from './Coordinate';
|
|
2
|
+
export declare type Accommodation = {
|
|
3
|
+
address?: string | null;
|
|
4
|
+
coordinate?: Coordinate | null;
|
|
5
|
+
name?: string | null;
|
|
6
|
+
ref_id?: string | null;
|
|
7
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { BookingProduct } from './BookingProduct';
|
|
2
|
-
export declare type Booking = {
|
|
3
|
-
product: BookingProduct;
|
|
4
|
-
provider_id: number;
|
|
5
|
-
provider_name: string;
|
|
6
|
-
};
|
|
1
|
+
import { BookingProduct } from './BookingProduct';
|
|
2
|
+
export declare type Booking = {
|
|
3
|
+
product: BookingProduct;
|
|
4
|
+
provider_id: number;
|
|
5
|
+
provider_name: string;
|
|
6
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export declare type BookingProduct = {
|
|
2
|
-
info?: string[] | null;
|
|
3
|
-
currency: string | null;
|
|
4
|
-
duration: string | null;
|
|
5
|
-
id: string;
|
|
6
|
-
image: string | null;
|
|
7
|
-
price: number | null;
|
|
8
|
-
price_description: string | null;
|
|
9
|
-
rating: number | null;
|
|
10
|
-
rating_count: number | null;
|
|
11
|
-
title: string;
|
|
12
|
-
url: string | null;
|
|
13
|
-
};
|
|
1
|
+
export declare type BookingProduct = {
|
|
2
|
+
info?: string[] | null;
|
|
3
|
+
currency: string | null;
|
|
4
|
+
duration: string | null;
|
|
5
|
+
id: string;
|
|
6
|
+
image: string | null;
|
|
7
|
+
price: number | null;
|
|
8
|
+
price_description: string | null;
|
|
9
|
+
rating: number | null;
|
|
10
|
+
rating_count: number | null;
|
|
11
|
+
title: string;
|
|
12
|
+
url: string | null;
|
|
13
|
+
};
|
package/api/v3/models/City.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Coordinate } from './Coordinate';
|
|
2
|
-
import { Country } from './Country';
|
|
3
|
-
import { Image } from './Image';
|
|
4
|
-
import { TasteItem } from './TasteItem';
|
|
5
|
-
export declare type City = {
|
|
6
|
-
boundary: number[];
|
|
7
|
-
coordinate: Coordinate;
|
|
8
|
-
country: Country;
|
|
9
|
-
description: string;
|
|
10
|
-
id: number;
|
|
11
|
-
image: Image;
|
|
12
|
-
name: string;
|
|
13
|
-
status: boolean;
|
|
14
|
-
tastes: TasteItem[];
|
|
15
|
-
};
|
|
1
|
+
import { Coordinate } from './Coordinate';
|
|
2
|
+
import { Country } from './Country';
|
|
3
|
+
import { Image } from './Image';
|
|
4
|
+
import { TasteItem } from './TasteItem';
|
|
5
|
+
export declare type City = {
|
|
6
|
+
boundary: number[];
|
|
7
|
+
coordinate: Coordinate;
|
|
8
|
+
country: Country;
|
|
9
|
+
description: string;
|
|
10
|
+
id: number;
|
|
11
|
+
image: Image;
|
|
12
|
+
name: string;
|
|
13
|
+
status: boolean;
|
|
14
|
+
tastes: TasteItem[];
|
|
15
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare type Companion = {
|
|
2
|
-
age: number | null;
|
|
3
|
-
answers: number[];
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
title: string;
|
|
7
|
-
trips: string[];
|
|
8
|
-
};
|
|
1
|
+
export declare type Companion = {
|
|
2
|
+
age: number | null;
|
|
3
|
+
answers: number[];
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
title: string;
|
|
7
|
+
trips: string[];
|
|
8
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare type Continent = {
|
|
2
|
-
name: string;
|
|
3
|
-
};
|
|
1
|
+
export declare type Continent = {
|
|
2
|
+
name: string;
|
|
3
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type Coordinate = {
|
|
2
|
-
lat: number;
|
|
3
|
-
lng: number;
|
|
4
|
-
};
|
|
1
|
+
export declare type Coordinate = {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Continent } from './Continent';
|
|
2
|
-
export declare type Country = {
|
|
3
|
-
code: string;
|
|
4
|
-
continent: Continent;
|
|
5
|
-
name: string;
|
|
6
|
-
};
|
|
1
|
+
import { Continent } from './Continent';
|
|
2
|
+
export declare type Country = {
|
|
3
|
+
code: string;
|
|
4
|
+
continent: Continent;
|
|
5
|
+
name: string;
|
|
6
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type Favorite = {
|
|
2
|
-
city_id: number;
|
|
3
|
-
id: number;
|
|
4
|
-
poi_id: number;
|
|
5
|
-
trip_hash: string | null;
|
|
6
|
-
};
|
|
1
|
+
export declare type Favorite = {
|
|
2
|
+
city_id: number;
|
|
3
|
+
id: number;
|
|
4
|
+
poi_id: number;
|
|
5
|
+
trip_hash: string | null;
|
|
6
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type HourFormat = {
|
|
2
|
-
day: string;
|
|
3
|
-
clock: string[];
|
|
4
|
-
};
|
|
1
|
+
export declare type HourFormat = {
|
|
2
|
+
day: string;
|
|
3
|
+
clock: string[];
|
|
4
|
+
};
|
package/api/v3/models/Image.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageOwner } from './ImageOwner';
|
|
2
|
-
export declare type Image = {
|
|
3
|
-
image_owner: ImageOwner | null;
|
|
4
|
-
height: number | null;
|
|
5
|
-
url: string;
|
|
6
|
-
width: number | null;
|
|
7
|
-
};
|
|
1
|
+
import { ImageOwner } from './ImageOwner';
|
|
2
|
+
export declare type Image = {
|
|
3
|
+
image_owner: ImageOwner | null;
|
|
4
|
+
height: number | null;
|
|
5
|
+
url: string;
|
|
6
|
+
width: number | null;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type ImageOwner = {
|
|
2
|
-
avatar: string | null;
|
|
3
|
-
title: string | null;
|
|
4
|
-
url: string | null;
|
|
5
|
-
};
|
|
1
|
+
export declare type ImageOwner = {
|
|
2
|
+
avatar: string | null;
|
|
3
|
+
title: string | null;
|
|
4
|
+
url: string | null;
|
|
5
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SubOption } from './SubOption';
|
|
2
|
-
export declare type Option = {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
sub_options: null | Array<SubOption>;
|
|
6
|
-
};
|
|
1
|
+
import { SubOption } from './SubOption';
|
|
2
|
+
export declare type Option = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
sub_options: null | Array<SubOption>;
|
|
6
|
+
};
|
package/api/v3/models/Plan.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Step } from './Step';
|
|
2
|
-
export declare type Plan = {
|
|
3
|
-
date: string;
|
|
4
|
-
end_time: string;
|
|
5
|
-
generated_status: number;
|
|
6
|
-
id: number;
|
|
7
|
-
start_time: string;
|
|
8
|
-
steps: Array<Step>;
|
|
9
|
-
};
|
|
1
|
+
import { Step } from './Step';
|
|
2
|
+
export declare type Plan = {
|
|
3
|
+
date: string;
|
|
4
|
+
end_time: string;
|
|
5
|
+
generated_status: number;
|
|
6
|
+
id: number;
|
|
7
|
+
start_time: string;
|
|
8
|
+
steps: Array<Step>;
|
|
9
|
+
};
|
package/api/v3/models/Poi.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { Image } from './Image';
|
|
2
|
-
import { Coordinate } from './Coordinate';
|
|
3
|
-
import { PoiCategory } from './PoiCategory';
|
|
4
|
-
import { Booking } from './Booking';
|
|
5
|
-
import { TasteItem } from './TasteItem';
|
|
6
|
-
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
|
-
id: number;
|
|
21
|
-
image: Image;
|
|
22
|
-
marker_coordinate: Coordinate;
|
|
23
|
-
must_tries: TasteItem[];
|
|
24
|
-
name: string;
|
|
25
|
-
phone: string | null;
|
|
26
|
-
price: number | null;
|
|
27
|
-
rating: number | null;
|
|
28
|
-
rating_count: number | null;
|
|
29
|
-
safety: string[] | null;
|
|
30
|
-
status: boolean;
|
|
31
|
-
tags: string[];
|
|
32
|
-
web: string | null;
|
|
33
|
-
};
|
|
1
|
+
import { Image } from './Image';
|
|
2
|
+
import { Coordinate } from './Coordinate';
|
|
3
|
+
import { PoiCategory } from './PoiCategory';
|
|
4
|
+
import { Booking } from './Booking';
|
|
5
|
+
import { TasteItem } from './TasteItem';
|
|
6
|
+
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
|
+
id: number;
|
|
21
|
+
image: Image;
|
|
22
|
+
marker_coordinate: Coordinate;
|
|
23
|
+
must_tries: TasteItem[];
|
|
24
|
+
name: string;
|
|
25
|
+
phone: string | null;
|
|
26
|
+
price: number | null;
|
|
27
|
+
rating: number | null;
|
|
28
|
+
rating_count: number | null;
|
|
29
|
+
safety: string[] | null;
|
|
30
|
+
status: boolean;
|
|
31
|
+
tags: string[];
|
|
32
|
+
web: string | null;
|
|
33
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PoiCategoryParent } from './PoiCategoryParent';
|
|
2
|
-
export declare type PoiCategory = {
|
|
3
|
-
description: string | null;
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
parent: PoiCategoryParent | null;
|
|
7
|
-
};
|
|
1
|
+
import { PoiCategoryParent } from './PoiCategoryParent';
|
|
2
|
+
export declare type PoiCategory = {
|
|
3
|
+
description: string | null;
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
parent: PoiCategoryParent | null;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
|
|
2
|
-
export declare type PoiCategoryGroup = {
|
|
3
|
-
ids: number[];
|
|
4
|
-
group: POI_CATEGORY_GROUP;
|
|
5
|
-
};
|
|
1
|
+
import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
|
|
2
|
+
export declare type PoiCategoryGroup = {
|
|
3
|
+
ids: number[];
|
|
4
|
+
group: POI_CATEGORY_GROUP;
|
|
5
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type PoiCategoryParent = {
|
|
2
|
-
id: number | null;
|
|
3
|
-
name: string | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type PoiCategoryParent = {
|
|
2
|
+
id: number | null;
|
|
3
|
+
name: string | null;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type PoiHours = {
|
|
2
|
-
day: string;
|
|
3
|
-
clock: string[];
|
|
4
|
-
};
|
|
1
|
+
export declare type PoiHours = {
|
|
2
|
+
day: string;
|
|
3
|
+
clock: string[];
|
|
4
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Coordinate } from './Coordinate';
|
|
2
|
-
import { Image } from './Image';
|
|
3
|
-
import { PoiCategory } from './PoiCategory';
|
|
4
|
-
export declare type PoiReference = {
|
|
5
|
-
category: PoiCategory[];
|
|
6
|
-
id: number;
|
|
7
|
-
image: Image;
|
|
8
|
-
marker_coordinate: Coordinate;
|
|
9
|
-
name: string;
|
|
10
|
-
};
|
|
1
|
+
import { Coordinate } from './Coordinate';
|
|
2
|
+
import { Image } from './Image';
|
|
3
|
+
import { PoiCategory } from './PoiCategory';
|
|
4
|
+
export declare type PoiReference = {
|
|
5
|
+
category: PoiCategory[];
|
|
6
|
+
id: number;
|
|
7
|
+
image: Image;
|
|
8
|
+
marker_coordinate: Coordinate;
|
|
9
|
+
name: string;
|
|
10
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Option } from './Option';
|
|
2
|
-
export declare type Question = {
|
|
3
|
-
category: string;
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
options: Array<Option>;
|
|
7
|
-
order: number;
|
|
8
|
-
select_multiple: boolean;
|
|
9
|
-
skippable: boolean;
|
|
10
|
-
};
|
|
1
|
+
import { Option } from './Option';
|
|
2
|
+
export declare type Question = {
|
|
3
|
+
category: string;
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
options: Array<Option>;
|
|
7
|
+
order: number;
|
|
8
|
+
select_multiple: boolean;
|
|
9
|
+
skippable: boolean;
|
|
10
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PoiReference } from './PoiReference';
|
|
2
|
-
export declare type Recommendation = {
|
|
3
|
-
poi_ref: PoiReference;
|
|
4
|
-
score: number | null;
|
|
5
|
-
};
|
|
1
|
+
import { PoiReference } from './PoiReference';
|
|
2
|
+
export declare type Recommendation = {
|
|
3
|
+
poi_ref: PoiReference;
|
|
4
|
+
score: number | null;
|
|
5
|
+
};
|
package/api/v3/models/Step.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Poi } from './Poi';
|
|
2
|
-
import { StepHours } from './StepHours';
|
|
3
|
-
export declare type Step = {
|
|
4
|
-
alternatives: number[];
|
|
5
|
-
hours: StepHours;
|
|
6
|
-
id: number;
|
|
7
|
-
order: number;
|
|
8
|
-
poi: Poi;
|
|
9
|
-
score: number | null;
|
|
10
|
-
};
|
|
1
|
+
import { Poi } from './Poi';
|
|
2
|
+
import { StepHours } from './StepHours';
|
|
3
|
+
export declare type Step = {
|
|
4
|
+
alternatives: number[];
|
|
5
|
+
hours: StepHours;
|
|
6
|
+
id: number;
|
|
7
|
+
order: number;
|
|
8
|
+
poi: Poi;
|
|
9
|
+
score: number | null;
|
|
10
|
+
};
|