@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,18 +0,0 @@
1
- import IBookingPrice from './IBookingPrice';
2
- interface IBookingSearchResultAggregationCity {
3
- label: string;
4
- count: number;
5
- }
6
- interface IBookingSearchResultAggregationCategory {
7
- label: string;
8
- count: number;
9
- }
10
- interface IBookingSearchResultAggregation {
11
- price: {
12
- max: IBookingPrice;
13
- min: IBookingPrice;
14
- };
15
- cities: IBookingSearchResultAggregationCity[];
16
- categories: IBookingSearchResultAggregationCategory[];
17
- }
18
- export default IBookingSearchResultAggregation;
@@ -1,5 +0,0 @@
1
- interface IBookingSubCategory {
2
- id: string;
3
- label: string;
4
- }
5
- export default IBookingSubCategory;
@@ -1,5 +0,0 @@
1
- interface IBookingSupplier {
2
- name: string;
3
- trademark: string | null;
4
- }
5
- export default IBookingSupplier;
@@ -1,5 +0,0 @@
1
- import ICatalogGroup from './ICatalogGroup';
2
- interface ICatalog {
3
- groups: ICatalogGroup[];
4
- }
5
- export default ICatalog;
@@ -1,6 +0,0 @@
1
- import ITour from './ITour';
2
- interface ICatalogGroup {
3
- title: string;
4
- items: ITour[];
5
- }
6
- export default ICatalogGroup;
@@ -1,9 +0,0 @@
1
- import ICategory from './ICategory';
2
- import IMetaData from './IMetaData';
3
- interface ICategories {
4
- metadata: IMetaData;
5
- data: {
6
- categories: Array<ICategory>;
7
- };
8
- }
9
- export default ICategories;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import IPaymentConfiguration from './IPaymentConfiguration';
3
- interface IPaymentConfigurations {
4
- metadata: IMetaData;
5
- data: {
6
- payment_methods: Array<IPaymentConfiguration>;
7
- };
8
- }
9
- export default IPaymentConfigurations;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITourAvailability from './ITourAvailability';
3
- interface ITourAvailabilities {
4
- metadata: IMetaData;
5
- data: {
6
- availabilities: Array<ITourAvailability>;
7
- };
8
- }
9
- export default ITourAvailabilities;
@@ -1,7 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITourBookingCart from './ITourBookingCart';
3
- interface ITourBookingCarts {
4
- metadata: IMetaData;
5
- data: ITourBookingCart;
6
- }
7
- export default ITourBookingCarts;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITourBookingInfo from './ITourBookingInfo';
3
- interface ITourBookingInfos {
4
- metadata: IMetaData;
5
- data: {
6
- booking: Array<ITourBookingInfo>;
7
- };
8
- }
9
- export default ITourBookingInfos;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITourBookingBooking from './ITourBooking';
3
- interface ITourBookings {
4
- metadata: IMetaData;
5
- data: {
6
- bookings: Array<ITourBookingBooking>;
7
- };
8
- }
9
- export default ITourBookings;
@@ -1,5 +0,0 @@
1
- interface ITourCoordinates {
2
- lat: number;
3
- long: number;
4
- }
5
- export default ITourCoordinates;
@@ -1,5 +0,0 @@
1
- interface ITourDurations {
2
- duration: number;
3
- unit: string;
4
- }
5
- export default ITourDurations;
@@ -1,14 +0,0 @@
1
- import ITourCoordinates from './ITourCoordinates';
2
- import ITourViewport from './ITourViewport';
3
- interface ITourLocations {
4
- location_id: number;
5
- type: string;
6
- name: string;
7
- english_name: string;
8
- city?: string;
9
- country: string;
10
- coordinates: ITourCoordinates;
11
- parent_id?: number;
12
- viewport: ITourViewport;
13
- }
14
- export default ITourLocations;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITourOptionPricing from './ITourOptionPricing';
3
- interface ITourOptionPricings {
4
- metadata: IMetaData;
5
- data: {
6
- pricing: Array<ITourOptionPricing>;
7
- };
8
- }
9
- export default ITourOptionPricings;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITourOption from './ITourOption';
3
- interface ITourOptions {
4
- metadata: IMetaData;
5
- data: {
6
- tour_options: Array<ITourOption>;
7
- };
8
- }
9
- export default ITourOptions;
@@ -1,9 +0,0 @@
1
- import IMetaData from './IMetaData';
2
- import ITour from './ITour';
3
- interface ITours {
4
- metadata: IMetaData;
5
- data: {
6
- tours: Array<ITour>;
7
- };
8
- }
9
- export default ITours;
@@ -1,12 +0,0 @@
1
- declare const categories: ({
2
- category_id: number;
3
- name: string;
4
- number_of_tours: number;
5
- parent_id?: undefined;
6
- } | {
7
- category_id: number;
8
- name: string;
9
- parent_id: number;
10
- number_of_tours: number;
11
- })[];
12
- export default categories;
@@ -1,90 +0,0 @@
1
- declare const tours: {
2
- tour_id: number;
3
- tour_code: string;
4
- cond_language: never[];
5
- title: string;
6
- abstract: string;
7
- description: string;
8
- is_auto_translation: boolean;
9
- is_english_fallback: boolean;
10
- additional_information: string;
11
- bestseller: boolean;
12
- certified: boolean;
13
- overall_rating: number;
14
- number_of_ratings: number;
15
- highlights: string[];
16
- inclusions: string;
17
- exclusions: string;
18
- pictures: {
19
- id: number;
20
- url: string;
21
- ssl_url: string;
22
- verified: boolean;
23
- }[];
24
- coordinates: {
25
- lat: number;
26
- long: number;
27
- };
28
- price: {
29
- values: {
30
- amount: number;
31
- };
32
- description: string;
33
- };
34
- categories: ({
35
- category_id: number;
36
- name: string;
37
- parent_id: number;
38
- } | {
39
- category_id: number;
40
- name: string;
41
- parent_id?: undefined;
42
- })[];
43
- locations: ({
44
- location_id: number;
45
- type: string;
46
- name: string;
47
- english_name: string;
48
- city: string;
49
- country: string;
50
- coordinates: {
51
- lat: number;
52
- long: number;
53
- };
54
- parent_id: number;
55
- viewport: {
56
- sw_lat: number;
57
- sw_long: number;
58
- ne_lat: number;
59
- ne_long: number;
60
- };
61
- } | {
62
- location_id: number;
63
- type: string;
64
- name: string;
65
- english_name: string;
66
- country: string;
67
- coordinates: {
68
- lat: number;
69
- long: number;
70
- };
71
- viewport: {
72
- sw_lat: number;
73
- sw_long: number;
74
- ne_lat: number;
75
- ne_long: number;
76
- };
77
- city?: undefined;
78
- parent_id?: undefined;
79
- })[];
80
- url: string;
81
- translations: string[];
82
- free_sale: boolean;
83
- supplier_id: number;
84
- durations: {
85
- duration: number;
86
- unit: string;
87
- }[];
88
- cancellation_policy_text: string;
89
- }[];
90
- export default tours;
@@ -1,111 +0,0 @@
1
- declare const tours: ({
2
- tour_id: number;
3
- tour_code: string;
4
- cond_language: string[];
5
- title: string;
6
- abstract: string;
7
- bestseller: boolean;
8
- certified: boolean;
9
- overall_rating: number;
10
- number_of_ratings: number;
11
- pictures: {
12
- id: number;
13
- url: string;
14
- ssl_url: string;
15
- verified: boolean;
16
- }[];
17
- coordinates: {
18
- lat: number;
19
- long: number;
20
- };
21
- price: {
22
- values: {
23
- amount: number;
24
- };
25
- description: string;
26
- };
27
- categories: {
28
- category_id: number;
29
- name: string;
30
- }[];
31
- locations: {
32
- location_id: number;
33
- type: string;
34
- name: string;
35
- english_name: string;
36
- city: string;
37
- country: string;
38
- coordinates: {
39
- lat: number;
40
- long: number;
41
- };
42
- parent_id: number;
43
- viewport: {
44
- sw_lat: number;
45
- sw_long: number;
46
- ne_lat: number;
47
- ne_long: number;
48
- };
49
- }[];
50
- url: string;
51
- durations: {
52
- duration: number;
53
- unit: string;
54
- }[];
55
- } | {
56
- tour_id: number;
57
- tour_code: string;
58
- cond_language: string[];
59
- title: string;
60
- abstract: string;
61
- bestseller: boolean;
62
- certified: boolean;
63
- overall_rating: number;
64
- number_of_ratings: number;
65
- pictures: {
66
- id: number;
67
- url: string;
68
- ssl_url: string;
69
- verified: boolean;
70
- }[];
71
- coordinates: {
72
- lat: number;
73
- long: number;
74
- };
75
- price: {
76
- values: {
77
- amount: number;
78
- };
79
- description: string;
80
- };
81
- categories: {
82
- category_id: number;
83
- name: string;
84
- parent_id: number;
85
- }[];
86
- locations: {
87
- location_id: number;
88
- type: string;
89
- name: string;
90
- english_name: string;
91
- city: string;
92
- country: string;
93
- coordinates: {
94
- lat: number;
95
- long: number;
96
- };
97
- parent_id: number;
98
- viewport: {
99
- sw_lat: number;
100
- sw_long: number;
101
- ne_lat: number;
102
- ne_long: number;
103
- };
104
- }[];
105
- url: string;
106
- durations: {
107
- duration: number;
108
- unit: string;
109
- }[];
110
- })[];
111
- export default tours;
@@ -1,6 +0,0 @@
1
- import IOpeningTime from './IOpeningTime';
2
- interface IOpening {
3
- date: string;
4
- times: IOpeningTime[];
5
- }
6
- export default IOpening;
@@ -1,5 +0,0 @@
1
- interface IOpeningTime {
2
- credit_card_required: boolean;
3
- time: string;
4
- }
5
- export default IOpeningTime;
@@ -1,5 +0,0 @@
1
- import IOpening from './IOpening';
2
- interface IOpenings {
3
- reservation_times: IOpening[];
4
- }
5
- export default IOpenings;
@@ -1,9 +0,0 @@
1
- import IReservationRequest from './IReservationRequest';
2
- interface IReservationInfo {
3
- confirm_url: string;
4
- reservation_id: string;
5
- reservation_details: IReservationRequest;
6
- restaurant_name: string;
7
- restaurant_image: string;
8
- }
9
- export default IReservationInfo;
@@ -1,7 +0,0 @@
1
- interface IReservationStatusResponse {
2
- active: boolean;
3
- date: string;
4
- time: string;
5
- covers: number;
6
- }
7
- export default IReservationStatusResponse;