@tripian/model 3.0.0 → 4.2.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.
Files changed (227) hide show
  1. package/api/v3/enums/BOOKING_PRODUCT_INFO.d.ts +1 -2
  2. package/api/v3/enums/POI_CATEGORY_GROUP.d.ts +1 -2
  3. package/api/v3/enums/PROVIDER_ID.d.ts +4 -3
  4. package/api/v3/enums/PROVIDER_NAME.d.ts +6 -5
  5. package/api/v3/enums/REACTION.d.ts +1 -2
  6. package/api/v3/enums/REACTION_COMMENT.d.ts +1 -2
  7. package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +1 -2
  8. package/api/v3/index.d.ts +69 -70
  9. package/api/v3/models/Accommodation.d.ts +7 -0
  10. package/api/v3/models/Booking.d.ts +6 -0
  11. package/api/v3/models/{IBookingProduct.d.ts → BookingProduct.d.ts} +2 -3
  12. package/api/v3/models/City.d.ts +15 -0
  13. package/api/v3/models/{ICompanion.d.ts → Companion.d.ts} +2 -3
  14. package/api/v3/models/Continent.d.ts +3 -0
  15. package/api/v3/models/Coordinate.d.ts +4 -0
  16. package/api/v3/models/Country.d.ts +6 -0
  17. package/api/v3/models/{IFavorite.d.ts → Favorite.d.ts} +2 -3
  18. package/api/v3/models/HourFormat.d.ts +4 -0
  19. package/api/v3/models/Image.d.ts +7 -0
  20. package/api/v3/models/{IImageOwner.d.ts → ImageOwner.d.ts} +2 -3
  21. package/api/v3/models/Option.d.ts +6 -0
  22. package/api/v3/models/{IPlan.d.ts → Plan.d.ts} +4 -5
  23. package/api/v3/models/{IPoi.d.ts → Poi.d.ts} +14 -15
  24. package/api/v3/models/PoiCategory.d.ts +7 -0
  25. package/api/v3/models/PoiCategoryGroup.d.ts +5 -0
  26. package/api/v3/models/PoiCategoryParent.d.ts +4 -0
  27. package/api/v3/models/PoiHours.d.ts +4 -0
  28. package/api/v3/models/PoiReference.d.ts +10 -0
  29. package/api/v3/models/{IQuestion.d.ts → Question.d.ts} +4 -5
  30. package/api/v3/models/Recommendation.d.ts +5 -0
  31. package/api/v3/models/Step.d.ts +10 -0
  32. package/api/v3/models/StepHours.d.ts +4 -0
  33. package/api/v3/models/SubOption.d.ts +4 -0
  34. package/api/v3/models/TasteItem.d.ts +7 -0
  35. package/api/v3/models/{ITasteItemImage.d.ts → TasteItemImage.d.ts} +2 -3
  36. package/api/v3/models/Token.d.ts +4 -0
  37. package/api/v3/models/{ITokenPayload.d.ts → TokenPayload.d.ts} +2 -3
  38. package/api/v3/models/{ITokenRefresh.d.ts → TokenRefresh.d.ts} +2 -3
  39. package/api/v3/models/TopTen.d.ts +6 -0
  40. package/api/v3/models/Trip.d.ts +5 -0
  41. package/api/v3/models/{ITripProfile.d.ts → TripProfile.d.ts} +4 -5
  42. package/api/v3/models/TripReference.d.ts +8 -0
  43. package/api/v3/models/User.d.ts +8 -0
  44. package/api/v3/models/UserProfile.d.ts +4 -0
  45. package/api/v3/models/{IUserReaction.d.ts → UserReaction.d.ts} +4 -5
  46. package/api/v3/models/{IUserReservation.d.ts → UserReservation.d.ts} +2 -3
  47. package/api/v3/requests/{ICompanionRequest.d.ts → CompanionRequest.d.ts} +2 -3
  48. package/api/v3/requests/{IDevice.d.ts → Device.d.ts} +2 -3
  49. package/api/v3/requests/FavoriteRequest.d.ts +4 -0
  50. package/api/v3/requests/FavoriteUpdateRequest.d.ts +4 -0
  51. package/api/v3/requests/LoginRequestEmail.d.ts +6 -0
  52. package/api/v3/requests/LoginRequestTripHash.d.ts +5 -0
  53. package/api/v3/requests/LoginRequestUsername.d.ts +5 -0
  54. package/api/v3/requests/{IPlanUpdateRequest.d.ts → PlanUpdateRequest.d.ts} +2 -3
  55. package/api/v3/requests/{IPoisRequest.d.ts → PoisRequest.d.ts} +2 -3
  56. package/api/v3/requests/PoisRequestCoordinate.d.ts +8 -0
  57. package/api/v3/requests/PoisRequestMustTry.d.ts +5 -0
  58. package/api/v3/requests/{IPoisRequestName.d.ts → PoisRequestName.d.ts} +2 -3
  59. package/api/v3/requests/{IRecommendationRequest.d.ts → RecommendationRequest.d.ts} +3 -4
  60. package/api/v3/requests/RegisterRequestEmail.d.ts +8 -0
  61. package/api/v3/requests/RegisterRequestUsername.d.ts +7 -0
  62. package/api/v3/requests/{IStepRequest.d.ts → StepRequest.d.ts} +2 -3
  63. package/api/v3/requests/StepUpdateRequest.d.ts +4 -0
  64. package/api/v3/requests/TokenRefreshRequest.d.ts +3 -0
  65. package/api/v3/requests/UserProfileRequest.d.ts +4 -0
  66. package/api/v3/requests/UserReactionRequest.d.ts +8 -0
  67. package/api/v3/requests/{IUserReservationRequest.d.ts → UserReservationRequest.d.ts} +2 -3
  68. package/api/v3/requests/UserUpdateRequest.d.ts +7 -0
  69. package/api/v3/responses/DataPayload.d.ts +5 -0
  70. package/api/v3/responses/{IErrorResponse.d.ts → ErrorResponse.d.ts} +2 -3
  71. package/api/v3/responses/Pagination.d.ts +9 -0
  72. package/api/v3/responses/PaginationLinks.d.ts +4 -0
  73. package/api/v3/responses/SuccessResponse.d.ts +8 -0
  74. package/helper/index.d.ts +28 -29
  75. package/helper/plural.d.ts +1 -2
  76. package/index.d.ts +2 -3
  77. package/index.js +1 -1
  78. package/index.js.map +1 -1
  79. package/package.json +1 -1
  80. package/providers/bb/ACTIVITY_THEMES.d.ts +14 -0
  81. package/providers/bb/Activity.d.ts +11 -0
  82. package/providers/bb/ActivityInfo.d.ts +16 -0
  83. package/providers/bb/ActivityInfoImage.d.ts +7 -0
  84. package/providers/bb/ActivityInfoLocation.d.ts +4 -0
  85. package/providers/bb/ActivityPoint.d.ts +9 -0
  86. package/providers/bb/AuthorizationResponse.d.ts +48 -0
  87. package/providers/bb/Offer.d.ts +58 -0
  88. package/providers/bb/OfferPoint.d.ts +6 -0
  89. package/providers/bb/Product.d.ts +19 -0
  90. package/providers/bb/SearchAccommodationResponse.d.ts +119 -0
  91. package/providers/bb/SearchActivitiesResponse.d.ts +20 -0
  92. package/providers/bb/index.d.ts +12 -0
  93. package/providers/glx/Booking.d.ts +16 -0
  94. package/providers/glx/{IBookingContact.d.ts → BookingContact.d.ts} +2 -3
  95. package/providers/glx/BookingInformation.d.ts +4 -0
  96. package/providers/glx/{IBookingLocation.d.ts → BookingLocation.d.ts} +2 -3
  97. package/providers/glx/{IBookingPrice.d.ts → BookingPrice.d.ts} +2 -3
  98. package/providers/glx/{IBookingRef.d.ts → BookingRef.d.ts} +9 -10
  99. package/providers/glx/BookingSearchResult.d.ts +10 -0
  100. package/providers/glx/BookingSearchResultAggregation.d.ts +18 -0
  101. package/providers/glx/BookingSubCategory.d.ts +4 -0
  102. package/providers/glx/BookingSupplier.d.ts +4 -0
  103. package/providers/glx/Catalog.d.ts +4 -0
  104. package/providers/glx/{ICatalogGroup.d.ts → CatalogGroup.d.ts} +4 -5
  105. package/providers/glx/{IToken.d.ts → Token.d.ts} +2 -3
  106. package/providers/glx/{ITourRating.d.ts → TourRating.d.ts} +2 -3
  107. package/providers/glx/{ITourReview.d.ts → TourReview.d.ts} +2 -3
  108. package/providers/glx/index.d.ts +15 -16
  109. package/providers/gyg/CatalogGroup.d.ts +5 -0
  110. package/providers/gyg/Categories.d.ts +8 -0
  111. package/providers/gyg/{ICategory.d.ts → Category.d.ts} +2 -3
  112. package/providers/gyg/{IMetaData.d.ts → MetaData.d.ts} +2 -3
  113. package/providers/gyg/{IPaymentConfiguration.d.ts → PaymentConfiguration.d.ts} +2 -3
  114. package/providers/gyg/PaymentConfigurations.d.ts +8 -0
  115. package/providers/gyg/{ITour.d.ts → Tour.d.ts} +14 -15
  116. package/providers/gyg/TourAvailabilities.d.ts +8 -0
  117. package/providers/gyg/{ITourAvailability.d.ts → TourAvailability.d.ts} +2 -3
  118. package/providers/gyg/{ITourBooking.d.ts → TourBooking.d.ts} +2 -3
  119. package/providers/gyg/{ITourBookingCart.d.ts → TourBookingCart.d.ts} +14 -6
  120. package/providers/gyg/{ITourBookingCartRequest.d.ts → TourBookingCartRequest.d.ts} +2 -3
  121. package/providers/gyg/TourBookingCartWithDetails.d.ts +6 -0
  122. package/providers/gyg/TourBookingCarts.d.ts +6 -0
  123. package/providers/gyg/{ITourBookingInfo.d.ts → TourBookingInfo.d.ts} +2 -3
  124. package/providers/gyg/TourBookingInfos.d.ts +8 -0
  125. package/providers/gyg/{ITourBookingRequest.d.ts → TourBookingRequest.d.ts} +8 -3
  126. package/providers/gyg/TourBookings.d.ts +8 -0
  127. package/providers/gyg/{ITourCategories.d.ts → TourCategories.d.ts} +2 -3
  128. package/providers/gyg/TourCoordinates.d.ts +4 -0
  129. package/providers/gyg/TourDateRange.d.ts +4 -0
  130. package/providers/gyg/TourDurations.d.ts +4 -0
  131. package/providers/gyg/TourLocations.d.ts +13 -0
  132. package/providers/gyg/{ITourOption.d.ts → TourOption.d.ts} +6 -7
  133. package/providers/gyg/TourOptionDetails.d.ts +8 -0
  134. package/providers/gyg/{ITourOptionPricing.d.ts → TourOptionPricing.d.ts} +2 -3
  135. package/providers/gyg/TourOptionPricings.d.ts +8 -0
  136. package/providers/gyg/TourOptions.d.ts +8 -0
  137. package/providers/gyg/{ITourPictures.d.ts → TourPictures.d.ts} +2 -3
  138. package/providers/gyg/{ITourPrice.d.ts → TourPrice.d.ts} +2 -3
  139. package/providers/gyg/TourReservationDetails.d.ts +6 -0
  140. package/providers/gyg/{IGygTourShoppingFormData.d.ts → TourShoppingFormData.d.ts} +2 -3
  141. package/providers/gyg/{ITourViewport.d.ts → TourViewport.d.ts} +2 -3
  142. package/providers/gyg/Tours.d.ts +8 -0
  143. package/providers/gyg/index.d.ts +33 -31
  144. package/providers/index.d.ts +3 -2
  145. package/providers/yelp/{IBusiness.d.ts → Business.d.ts} +2 -3
  146. package/providers/yelp/{IHold.d.ts → Hold.d.ts} +2 -3
  147. package/providers/yelp/{IHoldRequest.d.ts → HoldRequest.d.ts} +2 -3
  148. package/providers/yelp/Opening.d.ts +5 -0
  149. package/providers/yelp/OpeningTime.d.ts +4 -0
  150. package/providers/yelp/Openings.d.ts +4 -0
  151. package/providers/yelp/{IOpeningsRequest.d.ts → OpeningsRequest.d.ts} +2 -3
  152. package/providers/yelp/{IReservation.d.ts → Reservation.d.ts} +2 -3
  153. package/providers/yelp/ReservationInfo.d.ts +8 -0
  154. package/providers/yelp/{IReservationRequest.d.ts → ReservationRequest.d.ts} +2 -3
  155. package/providers/yelp/ReservationStatusResponse.d.ts +6 -0
  156. package/providers/yelp/index.d.ts +10 -11
  157. package/api/custom/IPoiCategoryGroup.d.ts +0 -6
  158. package/api/v3/models/IAccommodation.d.ts +0 -8
  159. package/api/v3/models/IBooking.d.ts +0 -7
  160. package/api/v3/models/ICity.d.ts +0 -16
  161. package/api/v3/models/IContinent.d.ts +0 -4
  162. package/api/v3/models/ICoordinate.d.ts +0 -5
  163. package/api/v3/models/ICountry.d.ts +0 -7
  164. package/api/v3/models/IHourFormat.d.ts +0 -5
  165. package/api/v3/models/IImage.d.ts +0 -8
  166. package/api/v3/models/IOption.d.ts +0 -7
  167. package/api/v3/models/IPoiCategory.d.ts +0 -8
  168. package/api/v3/models/IPoiCategoryParent.d.ts +0 -5
  169. package/api/v3/models/IPoiHours.d.ts +0 -5
  170. package/api/v3/models/IPoiReference.d.ts +0 -11
  171. package/api/v3/models/IRecommendation.d.ts +0 -6
  172. package/api/v3/models/IStep.d.ts +0 -11
  173. package/api/v3/models/IStepHours.d.ts +0 -5
  174. package/api/v3/models/ISubOption.d.ts +0 -5
  175. package/api/v3/models/ITasteItem.d.ts +0 -8
  176. package/api/v3/models/IToken.d.ts +0 -5
  177. package/api/v3/models/ITopTen.d.ts +0 -7
  178. package/api/v3/models/ITrip.d.ts +0 -6
  179. package/api/v3/models/ITripReference.d.ts +0 -9
  180. package/api/v3/models/IUser.d.ts +0 -9
  181. package/api/v3/models/IUserProfile.d.ts +0 -5
  182. package/api/v3/requests/IFavoriteRequest.d.ts +0 -5
  183. package/api/v3/requests/IFavoriteUpdateRequest.d.ts +0 -5
  184. package/api/v3/requests/ILoginRequestEmail.d.ts +0 -7
  185. package/api/v3/requests/ILoginRequestTripHash.d.ts +0 -6
  186. package/api/v3/requests/ILoginRequestUsername.d.ts +0 -6
  187. package/api/v3/requests/IPoisRequestCoordinate.d.ts +0 -9
  188. package/api/v3/requests/IPoisRequestMustTry.d.ts +0 -6
  189. package/api/v3/requests/IRegisterRequestEmail.d.ts +0 -9
  190. package/api/v3/requests/IRegisterRequestUsername.d.ts +0 -8
  191. package/api/v3/requests/IStepUpdateRequest.d.ts +0 -5
  192. package/api/v3/requests/ITokenRefreshRequest.d.ts +0 -4
  193. package/api/v3/requests/IUserProfileRequest.d.ts +0 -5
  194. package/api/v3/requests/IUserReactionRequest.d.ts +0 -9
  195. package/api/v3/requests/IUserUpdateRequest.d.ts +0 -8
  196. package/api/v3/responses/IDataPayload.d.ts +0 -6
  197. package/api/v3/responses/IPagination.d.ts +0 -10
  198. package/api/v3/responses/IPaginationLinks.d.ts +0 -5
  199. package/api/v3/responses/ISuccessResponse.d.ts +0 -9
  200. package/providers/glx/IBooking.d.ts +0 -17
  201. package/providers/glx/IBookingInformation.d.ts +0 -5
  202. package/providers/glx/IBookingSearchResult.d.ts +0 -11
  203. package/providers/glx/IBookingSearchResultAggregation.d.ts +0 -18
  204. package/providers/glx/IBookingSubCategory.d.ts +0 -5
  205. package/providers/glx/IBookingSupplier.d.ts +0 -5
  206. package/providers/glx/ICatalog.d.ts +0 -5
  207. package/providers/gyg/ICatalogGroup.d.ts +0 -6
  208. package/providers/gyg/ICategories.d.ts +0 -9
  209. package/providers/gyg/IPaymentConfigurations.d.ts +0 -9
  210. package/providers/gyg/ITourAvailabilities.d.ts +0 -9
  211. package/providers/gyg/ITourBookingCarts.d.ts +0 -7
  212. package/providers/gyg/ITourBookingInfos.d.ts +0 -9
  213. package/providers/gyg/ITourBookings.d.ts +0 -9
  214. package/providers/gyg/ITourCoordinates.d.ts +0 -5
  215. package/providers/gyg/ITourDurations.d.ts +0 -5
  216. package/providers/gyg/ITourLocations.d.ts +0 -14
  217. package/providers/gyg/ITourOptionPricings.d.ts +0 -9
  218. package/providers/gyg/ITourOptions.d.ts +0 -9
  219. package/providers/gyg/ITours.d.ts +0 -9
  220. package/providers/gyg/sampleData/categories.d.ts +0 -12
  221. package/providers/gyg/sampleData/tours-full.d.ts +0 -90
  222. package/providers/gyg/sampleData/tours.d.ts +0 -111
  223. package/providers/yelp/IOpening.d.ts +0 -6
  224. package/providers/yelp/IOpeningTime.d.ts +0 -5
  225. package/providers/yelp/IOpenings.d.ts +0 -5
  226. package/providers/yelp/IReservationInfo.d.ts +0 -9
  227. package/providers/yelp/IReservationStatusResponse.d.ts +0 -7
@@ -1,4 +1,3 @@
1
- declare enum BOOKING_PRODUCT_INFO {
1
+ export declare enum BOOKING_PRODUCT_INFO {
2
2
  TICKET = "ticket"
3
3
  }
4
- export default BOOKING_PRODUCT_INFO;
@@ -1,8 +1,7 @@
1
- declare enum POI_CATEGORY_GROUP {
1
+ export declare enum POI_CATEGORY_GROUP {
2
2
  ATTRACTION = "Attractions",
3
3
  RESTAURANT = "Restaurants",
4
4
  CAFE = "Cafes",
5
5
  NIGHTLIFE = "Nightlife",
6
6
  UNKNOWN = "Unknown"
7
7
  }
8
- export default POI_CATEGORY_GROUP;
@@ -1,6 +1,7 @@
1
- declare enum PROVIDER_ID {
1
+ export declare enum PROVIDER_ID {
2
2
  YELP = 2,
3
3
  GLX = 3,
4
- GYG = 4
4
+ GYG = 4,
5
+ OPEN_TABLE = 5,
6
+ BOOK_BARBADOS = 6
5
7
  }
6
- export default PROVIDER_ID;
@@ -1,6 +1,7 @@
1
- declare enum PROVIDER_NAME {
2
- YELP = "YELP",
3
- GLX = "GLX",
4
- GYG = "GYG"
1
+ export declare enum PROVIDER_NAME {
2
+ YELP = "Yelp",
3
+ GLX = "Glx",
4
+ GYG = "Gyg",
5
+ OPEN_TABLE = "OpenTable",
6
+ BOOK_BARBADOS = "BookBarbados"
5
7
  }
6
- export default PROVIDER_NAME;
@@ -1,6 +1,5 @@
1
- declare enum REACTION {
1
+ export declare enum REACTION {
2
2
  THUMBS_UP = "THUMBS UP",
3
3
  THUMBS_DOWN = "THUMBS DOWN",
4
4
  NEUTRAL = "NEUTRAL"
5
5
  }
6
- export default REACTION;
@@ -1,5 +1,4 @@
1
- declare enum REACTION_COMMENT {
1
+ export declare enum REACTION_COMMENT {
2
2
  I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
3
3
  I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
4
4
  }
5
- export default REACTION_COMMENT;
@@ -1,6 +1,5 @@
1
- declare enum TRIP_PROFILE_PACE {
1
+ export declare enum TRIP_PROFILE_PACE {
2
2
  SLOW = "SLOW",
3
3
  MODERATE = "NORMAL",
4
4
  PACKED = "FAST"
5
5
  }
6
- export default TRIP_PROFILE_PACE;
package/api/v3/index.d.ts CHANGED
@@ -1,70 +1,69 @@
1
- import Accommodation from './models/IAccommodation';
2
- import BOOKING_PRODUCT_INFO from './enums/BOOKING_PRODUCT_INFO';
3
- import Booking from './models/IBooking';
4
- import BookingProduct from './models/IBookingProduct';
5
- import City from './models/ICity';
6
- import Companion from './models/ICompanion';
7
- import CompanionRequest from './requests/ICompanionRequest';
8
- import Continent from './models/IContinent';
9
- import Coordinate from './models/ICoordinate';
10
- import Country from './models/ICountry';
11
- import DataPayload from './responses/IDataPayload';
12
- import Device from './requests/IDevice';
13
- import ErrorResponse from './responses/IErrorResponse';
14
- import Favorite from './models/IFavorite';
15
- import FavoriteRequest from './requests/IFavoriteRequest';
16
- import FavoriteUpdateRequest from './requests/IFavoriteUpdateRequest';
17
- import Image from './models/IImage';
18
- import ImageOwner from './models/IImageOwner';
19
- import TopTen from './models/ITopTen';
20
- import LoginRequestEmail from './requests/ILoginRequestEmail';
21
- import LoginRequestTripHash from './requests/ILoginRequestTripHash';
22
- import LoginRequestUsername from './requests/ILoginRequestUsername';
23
- import Option from './models/IOption';
24
- import Pagination from './responses/IPagination';
25
- import PaginationLinks from './responses/IPaginationLinks';
26
- import Plan from './models/IPlan';
27
- import PlanUpdateRequest from './requests/IPlanUpdateRequest';
28
- import Poi from './models/IPoi';
29
- import POI_CATEGORY_GROUP from './enums/POI_CATEGORY_GROUP';
30
- import PoiCategory from './models/IPoiCategory';
31
- import PoiHours from './models/IPoiHours';
32
- import PoiReference from './models/IPoiReference';
33
- import PoisRequest from './requests/IPoisRequest';
34
- import PoisRequestCoordinate from './requests/IPoisRequestCoordinate';
35
- import PoisRequestMustTry from './requests/IPoisRequestMustTry';
36
- import PoisRequestName from './requests/IPoisRequestName';
37
- import PROVIDER_ID from './enums/PROVIDER_ID';
38
- import PROVIDER_NAME from './enums/PROVIDER_NAME';
39
- import Question from './models/IQuestion';
40
- import REACTION_COMMENT from './enums/REACTION_COMMENT';
41
- import REACTION from './enums/REACTION';
42
- import Recommendation from './models/IRecommendation';
43
- import RecommendationRequest from './requests/IRecommendationRequest';
44
- import RegisterRequestEmail from './requests/IRegisterRequestEmail';
45
- import RegisterRequestUsername from './requests/IRegisterRequestUsername';
46
- import Step from './models/IStep';
47
- import StepHours from './models/IStepHours';
48
- import StepRequest from './requests/IStepRequest';
49
- import StepUpdateRequest from './requests/IStepUpdateRequest';
50
- import SubOption from './models/ISubOption';
51
- import SuccessResponse from './responses/ISuccessResponse';
52
- import TasteItem from './models/ITasteItem';
53
- import TasteItemImage from './models/ITasteItemImage';
54
- import Token from './models/IToken';
55
- import TokenPayload from './models/ITokenPayload';
56
- import TokenRefresh from './models/ITokenRefresh';
57
- import TokenRefreshRequest from './requests/ITokenRefreshRequest';
58
- import TRIP_PROFILE_PACE from './enums/TRIP_PROFILE_PACE';
59
- import Trip from './models/ITrip';
60
- import TripProfile from './models/ITripProfile';
61
- import TripReference from './models/ITripReference';
62
- import User from './models/IUser';
63
- import UserProfile from './models/IUserProfile';
64
- import UserProfileRequest from './requests/IUserProfileRequest';
65
- import UserReaction from './models/IUserReaction';
66
- import UserReactionRequest from './requests/IUserReactionRequest';
67
- import UserReservation from './models/IUserReservation';
68
- import UserReservationRequest from './requests/IUserReservationRequest';
69
- import UserUpdateRequest from './requests/IUserUpdateRequest';
70
- export { Accommodation, BOOKING_PRODUCT_INFO, Booking, BookingProduct, City, Companion, CompanionRequest, Continent, Coordinate, Country, DataPayload, Device, ErrorResponse, Favorite, FavoriteRequest, FavoriteUpdateRequest, Image, ImageOwner, LoginRequestEmail, LoginRequestTripHash, LoginRequestUsername, Option, Pagination, PaginationLinks, Plan, PlanUpdateRequest, Poi, POI_CATEGORY_GROUP, PoiCategory, PoiHours, PoiReference, PoisRequest, PoisRequestCoordinate, PoisRequestMustTry, PoisRequestName, PROVIDER_ID, PROVIDER_NAME, Question, REACTION_COMMENT, REACTION, Recommendation, RecommendationRequest, RegisterRequestEmail, RegisterRequestUsername, Step, StepHours, StepRequest, StepUpdateRequest, SubOption, SuccessResponse, TasteItem, TasteItemImage, Token, TokenPayload, TokenRefresh, TokenRefreshRequest, TopTen, TRIP_PROFILE_PACE, Trip, TripProfile, TripReference, User, UserProfile, UserProfileRequest, UserReaction, UserReactionRequest, UserReservation, UserReservationRequest, 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';
@@ -0,0 +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
+ };
@@ -0,0 +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,4 +1,4 @@
1
- interface IBookingProduct {
1
+ export declare type BookingProduct = {
2
2
  info?: string[] | null;
3
3
  currency: string | null;
4
4
  duration: string | null;
@@ -10,5 +10,4 @@ interface IBookingProduct {
10
10
  rating_count: number | null;
11
11
  title: string;
12
12
  url: string | null;
13
- }
14
- export default IBookingProduct;
13
+ };
@@ -0,0 +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,9 +1,8 @@
1
- interface ICompanion {
1
+ export declare type Companion = {
2
2
  age: number | null;
3
3
  answers: number[];
4
4
  id: number;
5
5
  name: string;
6
6
  title: string;
7
7
  trips: string[];
8
- }
9
- export default ICompanion;
8
+ };
@@ -0,0 +1,3 @@
1
+ export declare type Continent = {
2
+ name: string;
3
+ };
@@ -0,0 +1,4 @@
1
+ export declare type Coordinate = {
2
+ lat: number;
3
+ lng: number;
4
+ };
@@ -0,0 +1,6 @@
1
+ import { Continent } from './Continent';
2
+ export declare type Country = {
3
+ code: string;
4
+ continent: Continent;
5
+ name: string;
6
+ };
@@ -1,7 +1,6 @@
1
- interface IFavorite {
1
+ export declare type Favorite = {
2
2
  city_id: number;
3
3
  id: number;
4
4
  poi_id: number;
5
5
  trip_hash: string | null;
6
- }
7
- export default IFavorite;
6
+ };
@@ -0,0 +1,4 @@
1
+ export declare type HourFormat = {
2
+ day: string;
3
+ clock: string[];
4
+ };
@@ -0,0 +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,6 +1,5 @@
1
- interface IImageOwner {
1
+ export declare type ImageOwner = {
2
2
  avatar: string | null;
3
3
  title: string | null;
4
4
  url: string | null;
5
- }
6
- export default IImageOwner;
5
+ };
@@ -0,0 +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,10 +1,9 @@
1
- import IStep from './IStep';
2
- interface IPlan {
1
+ import { Step } from './Step';
2
+ export declare type Plan = {
3
3
  date: string;
4
4
  end_time: string;
5
5
  generated_status: number;
6
6
  id: number;
7
7
  start_time: string;
8
- steps: Array<IStep>;
9
- }
10
- export default IPlan;
8
+ steps: Array<Step>;
9
+ };
@@ -1,26 +1,26 @@
1
- import IImage from './IImage';
2
- import ICoordinate from './ICoordinate';
3
- import IPoiCategory from './IPoiCategory';
4
- import IBooking from './IBooking';
5
- import ITasteItem from './ITasteItem';
6
- interface IPoi {
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
7
  address: string | null;
8
8
  attention: string | null;
9
- booking: IBooking[];
10
- category: IPoiCategory[];
9
+ booking: Booking[];
10
+ category: PoiCategory[];
11
11
  city_id: number;
12
12
  closed: number[];
13
- coordinate: ICoordinate;
13
+ coordinate: Coordinate;
14
14
  cuisines: string | null;
15
15
  description: string | null;
16
16
  distance: number | null;
17
- gallery: IImage[];
17
+ gallery: Image[];
18
18
  hours: string | null;
19
19
  icon: string;
20
20
  id: number;
21
- image: IImage;
22
- marker_coordinate: ICoordinate;
23
- must_tries: ITasteItem[];
21
+ image: Image;
22
+ marker_coordinate: Coordinate;
23
+ must_tries: TasteItem[];
24
24
  name: string;
25
25
  phone: string | null;
26
26
  price: number | null;
@@ -30,5 +30,4 @@ interface IPoi {
30
30
  status: boolean;
31
31
  tags: string[];
32
32
  web: string | null;
33
- }
34
- export default IPoi;
33
+ };
@@ -0,0 +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
+ };
@@ -0,0 +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
+ };
@@ -0,0 +1,4 @@
1
+ export declare type PoiCategoryParent = {
2
+ id: number | null;
3
+ name: string | null;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare type PoiHours = {
2
+ day: string;
3
+ clock: string[];
4
+ };
@@ -0,0 +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,11 +1,10 @@
1
- import IOption from './IOption';
2
- interface IQuestion {
1
+ import { Option } from './Option';
2
+ export declare type Question = {
3
3
  category: string;
4
4
  id: number;
5
5
  name: string;
6
- options: Array<IOption>;
6
+ options: Array<Option>;
7
7
  order: number;
8
8
  select_multiple: boolean;
9
9
  skippable: boolean;
10
- }
11
- export default IQuestion;
10
+ };
@@ -0,0 +1,5 @@
1
+ import { PoiReference } from './PoiReference';
2
+ export declare type Recommendation = {
3
+ poi_ref: PoiReference;
4
+ score: number | null;
5
+ };
@@ -0,0 +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
+ };
@@ -0,0 +1,4 @@
1
+ export declare type StepHours = {
2
+ from: string | null;
3
+ to: string | null;
4
+ };
@@ -0,0 +1,4 @@
1
+ export declare type SubOption = {
2
+ id: number;
3
+ name: string;
4
+ };
@@ -0,0 +1,7 @@
1
+ import { TasteItemImage } from './TasteItemImage';
2
+ export declare type TasteItem = {
3
+ id: number;
4
+ description: string | null;
5
+ image: TasteItemImage;
6
+ name: string;
7
+ };
@@ -1,6 +1,5 @@
1
- interface ITasteItemImage {
1
+ export declare type TasteItemImage = {
2
2
  height: number | null;
3
3
  url: string;
4
4
  width: number | null;
5
- }
6
- export default ITasteItemImage;
5
+ };
@@ -0,0 +1,4 @@
1
+ import { TokenRefresh } from './TokenRefresh';
2
+ export declare type Token = TokenRefresh & {
3
+ refresh_token: string;
4
+ };
@@ -1,4 +1,4 @@
1
- interface ITokenPayload {
1
+ export declare type TokenPayload = {
2
2
  auth_time: number;
3
3
  client_id: string;
4
4
  event_id: string;
@@ -10,5 +10,4 @@ interface ITokenPayload {
10
10
  sub: string;
11
11
  token_use: string;
12
12
  username: string;
13
- }
14
- export default ITokenPayload;
13
+ };
@@ -1,6 +1,5 @@
1
- interface ITokenRefresh {
1
+ export declare type TokenRefresh = {
2
2
  access_token: string;
3
3
  expires_in: number;
4
4
  token_type: string;
5
- }
6
- export default ITokenRefresh;
5
+ };
@@ -0,0 +1,6 @@
1
+ import { PoiCategory } from './PoiCategory';
2
+ import { Poi } from './Poi';
3
+ export declare type TopTen = {
4
+ category: PoiCategory;
5
+ top_ten_poi: Poi[];
6
+ };
@@ -0,0 +1,5 @@
1
+ import { TripReference } from './TripReference';
2
+ import { Plan } from './Plan';
3
+ export declare type Trip = TripReference & {
4
+ plans: Array<Plan>;
5
+ };
@@ -1,6 +1,6 @@
1
- import IAccommodation from './IAccommodation';
2
- interface ITripProfile {
3
- accommodation: IAccommodation | null;
1
+ import { Accommodation } from './Accommodation';
2
+ export declare type TripProfile = {
3
+ accommodation: Accommodation | null;
4
4
  answers: Array<number>;
5
5
  arrival_datetime: string;
6
6
  city_id: number;
@@ -11,5 +11,4 @@ interface ITripProfile {
11
11
  number_of_children: number | null;
12
12
  owner: string | null;
13
13
  pace: string | null;
14
- }
15
- export default ITripProfile;
14
+ };
@@ -0,0 +1,8 @@
1
+ import { City } from './City';
2
+ import { TripProfile } from './TripProfile';
3
+ export declare type TripReference = {
4
+ city: City;
5
+ id: number;
6
+ trip_hash: string;
7
+ trip_profile: TripProfile;
8
+ };
@@ -0,0 +1,8 @@
1
+ import { UserProfile } from './UserProfile';
2
+ export declare type User = {
3
+ email: string;
4
+ first_name: string | null;
5
+ last_name: string | null;
6
+ profile: UserProfile;
7
+ username: string;
8
+ };
@@ -0,0 +1,4 @@
1
+ export declare type UserProfile = {
2
+ age: number | null;
3
+ answers: Array<number>;
4
+ };
@@ -1,6 +1,6 @@
1
- import REACTION from '../enums/REACTION';
2
- import REACTION_COMMENT from '../enums/REACTION_COMMENT';
3
- interface IUserReaction {
1
+ import { REACTION } from '../enums/REACTION';
2
+ import { REACTION_COMMENT } from '../enums/REACTION_COMMENT';
3
+ export declare type UserReaction = {
4
4
  comment?: REACTION_COMMENT;
5
5
  created_at?: string | null;
6
6
  id: number;
@@ -9,5 +9,4 @@ interface IUserReaction {
9
9
  step_id: number;
10
10
  trip_hash: string;
11
11
  updated_at?: string | null;
12
- }
13
- export default IUserReaction;
12
+ };
@@ -1,4 +1,4 @@
1
- interface IUserReservation {
1
+ export declare type UserReservation = {
2
2
  created_at?: string | null;
3
3
  id: number;
4
4
  key: string;
@@ -7,5 +7,4 @@ interface IUserReservation {
7
7
  provider: string;
8
8
  updated_at?: string | null;
9
9
  value: Object;
10
- }
11
- export default IUserReservation;
10
+ };