@tripian/model 4.6.0 → 5.0.2
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 +3 -3
- 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 +7 -7
- package/api/v4/enums/PRODUCT_TYPE_NAME.d.ts +5 -0
- package/api/{v3 → v4}/enums/PROVIDER_ID.d.ts +7 -7
- package/api/{v3 → v4}/enums/PROVIDER_NAME.d.ts +7 -7
- 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 +4 -4
- 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 +92 -69
- 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 +13 -13
- 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 +15 -15
- package/api/{v3 → v4}/models/Companion.d.ts +8 -8
- package/api/{v3 → v4}/models/Continent.d.ts +4 -3
- package/api/{v3 → v4}/models/Coordinate.d.ts +4 -4
- package/api/{v3 → v4}/models/Country.d.ts +6 -6
- 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 +4 -4
- package/api/{v3 → v4}/models/Image.d.ts +7 -7
- package/api/{v3 → v4}/models/ImageOwner.d.ts +4 -5
- 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 +9 -9
- package/api/{v3 → v4}/models/Poi.d.ts +34 -33
- package/api/{v3 → v4}/models/PoiCategory.d.ts +7 -7
- package/api/{v3 → v4}/models/PoiCategoryGroup.d.ts +5 -5
- package/api/v4/models/PoiCategoryParent.d.ts +5 -0
- package/api/{v3 → v4}/models/PoiReference.d.ts +10 -10
- 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 +5 -5
- package/api/{v3 → v4}/models/Step.d.ts +8 -10
- package/api/v4/models/SubAnswer.d.ts +4 -0
- package/api/{v3 → v4}/models/TasteItem.d.ts +8 -7
- package/api/v4/models/TimeFrame.d.ts +4 -0
- package/api/{v3 → v4}/models/Token.d.ts +4 -4
- 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 +6 -6
- package/api/{v3 → v4}/models/Trip.d.ts +5 -5
- package/api/v4/models/TripProfile.d.ts +13 -0
- package/api/{v3 → v4}/models/TripReference.d.ts +8 -8
- package/api/v4/models/User.d.ts +6 -0
- package/api/v4/models/UserReaction.d.ts +9 -0
- package/api/v4/models/UserReservation.d.ts +10 -0
- package/api/v4/models/UserResetPassword.d.ts +6 -0
- package/api/{v3 → v4}/requests/CompanionRequest.d.ts +6 -6
- 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 +8 -0
- package/api/v4/requests/PlanUpdateRequest.d.ts +5 -0
- package/api/v4/requests/PoisRequest.d.ts +17 -0
- package/api/v4/requests/PoisRequestCoordinate.d.ts +7 -0
- package/api/{v3 → v4}/requests/PoisRequestMustTry.d.ts +5 -5
- package/api/{v3 → v4}/requests/PoisRequestName.d.ts +7 -7
- 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 +7 -7
- package/api/v4/requests/UserUpdateRequest.d.ts +7 -0
- package/api/{v3 → v4}/responses/DataPayload.d.ts +5 -5
- 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 +10 -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 -99
- package/providers/bb/index.d.ts +13 -13
- 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
- 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/SubOption.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/models/UserReservation.d.ts +0 -10
- 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/PoisRequestCoordinate.d.ts +0 -8
- 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
|
@@ -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,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
|
+
}
|
package/api/{v3 → v4}/index.d.ts
RENAMED
|
@@ -1,69 +1,92 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export * from './
|
|
5
|
-
export * from './
|
|
6
|
-
export * from './
|
|
7
|
-
export * from './
|
|
8
|
-
export * from './
|
|
9
|
-
export * from './
|
|
10
|
-
export * from './
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './
|
|
13
|
-
export * from './
|
|
14
|
-
export * from './
|
|
15
|
-
export * from './
|
|
16
|
-
export * from './
|
|
17
|
-
export * from './
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
export * from './
|
|
22
|
-
export * from './
|
|
23
|
-
export * from './models/
|
|
24
|
-
export * from './
|
|
25
|
-
export * from './
|
|
26
|
-
export * from './models/
|
|
27
|
-
export * from './
|
|
28
|
-
export * from './models/
|
|
29
|
-
export * from './
|
|
30
|
-
export * from './models/
|
|
31
|
-
export * from './models/
|
|
32
|
-
export * from './models/
|
|
33
|
-
export * from './
|
|
34
|
-
export * from './
|
|
35
|
-
export * from './
|
|
36
|
-
export * from './
|
|
37
|
-
export * from './
|
|
38
|
-
export * from './
|
|
39
|
-
export * from './models/
|
|
40
|
-
export * from './
|
|
41
|
-
export * from './
|
|
42
|
-
export * from './models/
|
|
43
|
-
export * from './
|
|
44
|
-
export * from './
|
|
45
|
-
export * from './
|
|
46
|
-
export * from './models/
|
|
47
|
-
export * from './models/
|
|
48
|
-
export * from './
|
|
49
|
-
export * from './
|
|
50
|
-
export * from './models/
|
|
51
|
-
export * from './
|
|
52
|
-
export * from './models/
|
|
53
|
-
export * from './models/
|
|
54
|
-
export * from './models/
|
|
55
|
-
export * from './models/
|
|
56
|
-
export * from './models/
|
|
57
|
-
export * from './
|
|
58
|
-
export * from './
|
|
59
|
-
export * from './models/
|
|
60
|
-
export * from './models/
|
|
61
|
-
export * from './models/
|
|
62
|
-
export * from './models/
|
|
63
|
-
export * from './models/
|
|
64
|
-
export * from './
|
|
65
|
-
export * from './models/UserReaction';
|
|
66
|
-
export * from './
|
|
67
|
-
export * from './models/
|
|
68
|
-
|
|
69
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Enum
|
|
3
|
+
*/
|
|
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';
|
|
22
|
+
export * from './models/Booking';
|
|
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';
|
|
29
|
+
export * from './models/City';
|
|
30
|
+
export * from './models/Companion';
|
|
31
|
+
export * from './models/Continent';
|
|
32
|
+
export * from './models/Coordinate';
|
|
33
|
+
export * from './models/Country';
|
|
34
|
+
export * from './models/Device';
|
|
35
|
+
export * from './models/Favorite';
|
|
36
|
+
export * from './models/Image';
|
|
37
|
+
export * from './models/ImageOwner';
|
|
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';
|
|
46
|
+
export * from './models/Plan';
|
|
47
|
+
export * from './models/Poi';
|
|
48
|
+
export * from './models/PoiCategory';
|
|
49
|
+
export * from './models/PoiCategoryParent';
|
|
50
|
+
export * from './models/PoiReference';
|
|
51
|
+
export * from './models/Question';
|
|
52
|
+
export * from './models/Recommendation';
|
|
53
|
+
export * from './models/Step';
|
|
54
|
+
export * from './models/SubAnswer';
|
|
55
|
+
export * from './models/TasteItem';
|
|
56
|
+
export * from './models/TimeFrame';
|
|
57
|
+
export * from './models/Token';
|
|
58
|
+
export * from './models/TokenPayload';
|
|
59
|
+
export * from './models/TokenRefresh';
|
|
60
|
+
export * from './models/TopTen';
|
|
61
|
+
export * from './models/Trip';
|
|
62
|
+
export * from './models/TripProfile';
|
|
63
|
+
export * from './models/TripReference';
|
|
64
|
+
export * from './models/User';
|
|
65
|
+
export * from './models/UserReaction';
|
|
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';
|
|
83
|
+
export * from './requests/UserReservationRequest';
|
|
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
|
-
export declare type BookingProduct = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
};
|
|
1
|
+
export declare type BookingProduct = {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
currency: string | null;
|
|
5
|
+
price: number | null;
|
|
6
|
+
priceDescription: string | null;
|
|
7
|
+
image: string | null;
|
|
8
|
+
rating: number | null;
|
|
9
|
+
ratingCount: number | null;
|
|
10
|
+
duration: string | null;
|
|
11
|
+
url: string | null;
|
|
12
|
+
info: string[];
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { TasteItem } from './TasteItem';
|
|
5
|
-
export declare type City = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
};
|
|
1
|
+
import { Image } from './Image';
|
|
2
|
+
import { Coordinate } from './Coordinate';
|
|
3
|
+
import { Country } from './Country';
|
|
4
|
+
import { TasteItem } from './TasteItem';
|
|
5
|
+
export declare type City = {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
image: Image;
|
|
9
|
+
boundary: number[];
|
|
10
|
+
coordinate: Coordinate;
|
|
11
|
+
country: Country;
|
|
12
|
+
mustTries: TasteItem[];
|
|
13
|
+
description: string | null;
|
|
14
|
+
status: boolean;
|
|
15
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare type Companion = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
};
|
|
1
|
+
export declare type Companion = {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
name: string;
|
|
5
|
+
answers: number[];
|
|
6
|
+
age: number;
|
|
7
|
+
memberOfTrip: boolean;
|
|
8
|
+
};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export declare type Continent = {
|
|
2
|
-
name: string;
|
|
3
|
-
|
|
1
|
+
export declare type Continent = {
|
|
2
|
+
name: string;
|
|
3
|
+
slug: string;
|
|
4
|
+
};
|
|
@@ -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
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
1
|
+
import { Continent } from './Continent';
|
|
2
|
+
export declare type Country = {
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
continent: Continent;
|
|
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
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageOwner } from './ImageOwner';
|
|
2
|
-
export declare type Image = {
|
|
3
|
-
|
|
4
|
-
height: number | null;
|
|
5
|
-
url: string;
|
|
6
|
-
|
|
7
|
-
};
|
|
1
|
+
import { ImageOwner } from './ImageOwner';
|
|
2
|
+
export declare type Image = {
|
|
3
|
+
width: number | null;
|
|
4
|
+
height: number | null;
|
|
5
|
+
url: string;
|
|
6
|
+
imageOwner: ImageOwner | null;
|
|
7
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export declare type ImageOwner = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
};
|
|
1
|
+
export declare type ImageOwner = {
|
|
2
|
+
title: string | null;
|
|
3
|
+
url: string | null;
|
|
4
|
+
};
|
|
@@ -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
|
-
import { Step } from './Step';
|
|
2
|
-
export declare type Plan = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
steps: Array<Step>;
|
|
9
|
-
};
|
|
1
|
+
import { Step } from './Step';
|
|
2
|
+
export declare type Plan = {
|
|
3
|
+
id: number;
|
|
4
|
+
date: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
generatedStatus: number;
|
|
8
|
+
steps: Array<Step>;
|
|
9
|
+
};
|