@tripian/model 4.6.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (208) hide show
  1. package/api/{v3 → v4}/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
  2. package/api/v4/enums/OFFER_CURRENCY.d.ts +4 -0
  3. package/api/v4/enums/OFFER_RECEIVE_METHOD.d.ts +4 -0
  4. package/api/v4/enums/OFFER_STATUS.d.ts +5 -0
  5. package/api/v4/enums/OFFER_TYPE.d.ts +5 -0
  6. package/api/{v3 → v4}/enums/POI_CATEGORY_GROUP.d.ts +7 -7
  7. package/api/v4/enums/PRODUCT_TYPE_NAME.d.ts +5 -0
  8. package/api/{v3 → v4}/enums/PROVIDER_ID.d.ts +7 -7
  9. package/api/{v3 → v4}/enums/PROVIDER_NAME.d.ts +7 -7
  10. package/api/v4/enums/QUESTIONS_CATEGORY.d.ts +5 -0
  11. package/api/v4/enums/REACTION.d.ts +5 -0
  12. package/api/{v3 → v4}/enums/REACTION_COMMENT.d.ts +4 -4
  13. package/api/v4/enums/RESPONSE_STATUS.d.ts +8 -0
  14. package/api/v4/enums/VERIFY_CHANNEL.d.ts +4 -0
  15. package/api/{v3 → v4}/index.d.ts +92 -69
  16. package/api/v4/models/Accommodation.d.ts +7 -0
  17. package/api/v4/models/Booking.d.ts +8 -0
  18. package/api/{v3 → v4}/models/BookingProduct.d.ts +13 -13
  19. package/api/v4/models/Business.d.ts +18 -0
  20. package/api/v4/models/BusinessInfoCategory.d.ts +6 -0
  21. package/api/v4/models/BusinessNameAddress.d.ts +4 -0
  22. package/api/v4/models/BusinessSearch.d.ts +7 -0
  23. package/api/v4/models/BusinessVerify.d.ts +4 -0
  24. package/api/{v3 → v4}/models/City.d.ts +15 -15
  25. package/api/{v3 → v4}/models/Companion.d.ts +8 -8
  26. package/api/{v3 → v4}/models/Continent.d.ts +4 -3
  27. package/api/{v3 → v4}/models/Coordinate.d.ts +4 -4
  28. package/api/{v3 → v4}/models/Country.d.ts +6 -6
  29. package/api/v4/models/Device.d.ts +7 -0
  30. package/api/v4/models/Favorite.d.ts +6 -0
  31. package/api/{v3 → v4}/models/HourFormat.d.ts +4 -4
  32. package/api/{v3 → v4}/models/Image.d.ts +7 -7
  33. package/api/{v3 → v4}/models/ImageOwner.d.ts +4 -5
  34. package/api/v4/models/Notification.d.ts +8 -0
  35. package/api/v4/models/NotificationMetaData.d.ts +4 -0
  36. package/api/v4/models/NotificationSettings.d.ts +6 -0
  37. package/api/v4/models/NotificationUnseen.d.ts +3 -0
  38. package/api/v4/models/Offer.d.ts +27 -0
  39. package/api/v4/models/OfferCustomer.d.ts +6 -0
  40. package/api/v4/models/OfferImage.d.ts +4 -0
  41. package/api/v4/models/OfferProductType.d.ts +7 -0
  42. package/api/{v3 → v4}/models/Plan.d.ts +9 -9
  43. package/api/{v3 → v4}/models/Poi.d.ts +34 -33
  44. package/api/{v3 → v4}/models/PoiCategory.d.ts +7 -7
  45. package/api/{v3 → v4}/models/PoiCategoryGroup.d.ts +5 -5
  46. package/api/v4/models/PoiCategoryParent.d.ts +5 -0
  47. package/api/{v3 → v4}/models/PoiReference.d.ts +10 -10
  48. package/api/v4/models/Question.d.ts +11 -0
  49. package/api/v4/models/QuestionAnswer.d.ts +6 -0
  50. package/api/{v3 → v4}/models/Recommendation.d.ts +5 -5
  51. package/api/{v3 → v4}/models/Step.d.ts +8 -10
  52. package/api/v4/models/SubAnswer.d.ts +4 -0
  53. package/api/{v3 → v4}/models/TasteItem.d.ts +8 -7
  54. package/api/v4/models/TimeFrame.d.ts +4 -0
  55. package/api/{v3 → v4}/models/Token.d.ts +4 -4
  56. package/api/v4/models/TokenPayload.d.ts +28 -0
  57. package/api/v4/models/TokenRefresh.d.ts +5 -0
  58. package/api/{v3 → v4}/models/TopTen.d.ts +6 -6
  59. package/api/{v3 → v4}/models/Trip.d.ts +5 -5
  60. package/api/v4/models/TripProfile.d.ts +13 -0
  61. package/api/{v3 → v4}/models/TripReference.d.ts +8 -8
  62. package/api/v4/models/User.d.ts +6 -0
  63. package/api/v4/models/UserReaction.d.ts +9 -0
  64. package/api/v4/models/UserReservation.d.ts +10 -0
  65. package/api/v4/models/UserResetPassword.d.ts +6 -0
  66. package/api/{v3 → v4}/requests/CompanionRequest.d.ts +6 -6
  67. package/api/v4/requests/LoginRequest.d.ts +6 -0
  68. package/api/v4/requests/OfferAddRequest.d.ts +22 -0
  69. package/api/v4/requests/OfferRequest.d.ts +9 -0
  70. package/api/v4/requests/PlanUpdateRequest.d.ts +5 -0
  71. package/api/v4/requests/PoisRequest.d.ts +16 -0
  72. package/api/v4/requests/PoisRequestCoordinate.d.ts +7 -0
  73. package/api/{v3 → v4}/requests/PoisRequestMustTry.d.ts +5 -5
  74. package/api/{v3 → v4}/requests/PoisRequestName.d.ts +7 -7
  75. package/api/v4/requests/RegisterRequest.d.ts +11 -0
  76. package/api/v4/requests/TokenRefreshRequest.d.ts +5 -0
  77. package/api/v4/requests/UserReactionRequest.d.ts +7 -0
  78. package/api/{v3 → v4}/requests/UserReservationRequest.d.ts +7 -7
  79. package/api/v4/requests/UserUpdateRequest.d.ts +7 -0
  80. package/api/{v3 → v4}/responses/DataPayload.d.ts +5 -5
  81. package/api/v4/responses/DeleteUpdateResponse.d.ts +3 -0
  82. package/api/v4/responses/ErrorResponse.d.ts +7 -0
  83. package/api/v4/responses/Pagination.d.ts +7 -0
  84. package/api/{v3 → v4}/responses/SuccessResponse.d.ts +10 -8
  85. package/helper/index.d.ts +37 -37
  86. package/helper/plural.d.ts +1 -1
  87. package/index.d.ts +4 -4
  88. package/index.js +1 -1
  89. package/index.js.map +1 -1
  90. package/package.json +21 -21
  91. package/providers/bb/ACTIVITY_THEMES.d.ts +14 -14
  92. package/providers/bb/Activity.d.ts +11 -11
  93. package/providers/bb/ActivityInfo.d.ts +16 -16
  94. package/providers/bb/ActivityInfoImage.d.ts +7 -7
  95. package/providers/bb/ActivityInfoLocation.d.ts +4 -4
  96. package/providers/bb/ActivityPoint.d.ts +9 -9
  97. package/providers/bb/AuthorizationResponse.d.ts +48 -48
  98. package/providers/bb/Offer.d.ts +58 -58
  99. package/providers/bb/OfferPoint.d.ts +6 -6
  100. package/providers/bb/Product.d.ts +19 -19
  101. package/providers/bb/SearchAccommodationResponse.d.ts +119 -119
  102. package/providers/bb/SearchActivitiesResponse.d.ts +20 -20
  103. package/providers/bb/SearchCarRentResponse.d.ts +99 -99
  104. package/providers/bb/index.d.ts +13 -13
  105. package/providers/glx/Booking.d.ts +16 -16
  106. package/providers/glx/BookingContact.d.ts +7 -7
  107. package/providers/glx/BookingInformation.d.ts +4 -4
  108. package/providers/glx/BookingLocation.d.ts +5 -5
  109. package/providers/glx/BookingPrice.d.ts +23 -23
  110. package/providers/glx/BookingRef.d.ts +24 -24
  111. package/providers/glx/BookingSearchResult.d.ts +10 -10
  112. package/providers/glx/BookingSearchResultAggregation.d.ts +18 -18
  113. package/providers/glx/BookingSubCategory.d.ts +4 -4
  114. package/providers/glx/BookingSupplier.d.ts +4 -4
  115. package/providers/glx/Catalog.d.ts +4 -4
  116. package/providers/glx/CatalogGroup.d.ts +10 -10
  117. package/providers/glx/Token.d.ts +5 -5
  118. package/providers/glx/TourRating.d.ts +5 -5
  119. package/providers/glx/TourReview.d.ts +6 -6
  120. package/providers/glx/index.d.ts +15 -15
  121. package/providers/gyg/CatalogGroup.d.ts +5 -5
  122. package/providers/gyg/Categories.d.ts +8 -8
  123. package/providers/gyg/Category.d.ts +6 -6
  124. package/providers/gyg/MetaData.d.ts +15 -15
  125. package/providers/gyg/PaymentConfiguration.d.ts +8 -8
  126. package/providers/gyg/PaymentConfigurations.d.ts +8 -8
  127. package/providers/gyg/Tour.d.ts +36 -36
  128. package/providers/gyg/TourAvailabilities.d.ts +8 -8
  129. package/providers/gyg/TourAvailability.d.ts +7 -7
  130. package/providers/gyg/TourBooking.d.ts +10 -10
  131. package/providers/gyg/TourBookingCart.d.ts +81 -81
  132. package/providers/gyg/TourBookingCartRequest.d.ts +49 -49
  133. package/providers/gyg/TourBookingCartWithDetails.d.ts +6 -6
  134. package/providers/gyg/TourBookingCarts.d.ts +6 -6
  135. package/providers/gyg/TourBookingInfo.d.ts +37 -37
  136. package/providers/gyg/TourBookingInfos.d.ts +8 -8
  137. package/providers/gyg/TourBookingRequest.d.ts +26 -26
  138. package/providers/gyg/TourBookings.d.ts +8 -8
  139. package/providers/gyg/TourCategories.d.ts +5 -5
  140. package/providers/gyg/TourCoordinates.d.ts +4 -4
  141. package/providers/gyg/TourDateRange.d.ts +4 -4
  142. package/providers/gyg/TourDurations.d.ts +4 -4
  143. package/providers/gyg/TourLocations.d.ts +13 -13
  144. package/providers/gyg/TourOption.d.ts +34 -34
  145. package/providers/gyg/TourOptionDetails.d.ts +8 -8
  146. package/providers/gyg/TourOptionPricing.d.ts +20 -20
  147. package/providers/gyg/TourOptionPricings.d.ts +8 -8
  148. package/providers/gyg/TourOptions.d.ts +8 -8
  149. package/providers/gyg/TourPictures.d.ts +6 -6
  150. package/providers/gyg/TourPrice.d.ts +11 -11
  151. package/providers/gyg/TourReservationDetails.d.ts +6 -6
  152. package/providers/gyg/TourShoppingFormData.d.ts +20 -20
  153. package/providers/gyg/TourViewport.d.ts +6 -6
  154. package/providers/gyg/Tours.d.ts +8 -8
  155. package/providers/gyg/index.d.ts +33 -33
  156. package/providers/index.d.ts +5 -5
  157. package/providers/yelp/Business.d.ts +31 -31
  158. package/providers/yelp/Hold.d.ts +10 -10
  159. package/providers/yelp/HoldRequest.d.ts +7 -7
  160. package/providers/yelp/Opening.d.ts +5 -5
  161. package/providers/yelp/OpeningTime.d.ts +4 -4
  162. package/providers/yelp/Openings.d.ts +4 -4
  163. package/providers/yelp/OpeningsRequest.d.ts +6 -6
  164. package/providers/yelp/Reservation.d.ts +5 -5
  165. package/providers/yelp/ReservationInfo.d.ts +8 -8
  166. package/providers/yelp/ReservationRequest.d.ts +12 -12
  167. package/providers/yelp/ReservationStatusResponse.d.ts +6 -6
  168. package/providers/yelp/index.d.ts +10 -10
  169. package/api/v3/enums/REACTION.d.ts +0 -5
  170. package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +0 -5
  171. package/api/v3/models/Accommodation.d.ts +0 -7
  172. package/api/v3/models/Booking.d.ts +0 -6
  173. package/api/v3/models/Favorite.d.ts +0 -6
  174. package/api/v3/models/Option.d.ts +0 -6
  175. package/api/v3/models/PoiCategoryParent.d.ts +0 -4
  176. package/api/v3/models/PoiHours.d.ts +0 -4
  177. package/api/v3/models/Question.d.ts +0 -10
  178. package/api/v3/models/StepHours.d.ts +0 -4
  179. package/api/v3/models/SubOption.d.ts +0 -4
  180. package/api/v3/models/TasteItemImage.d.ts +0 -5
  181. package/api/v3/models/TokenPayload.d.ts +0 -13
  182. package/api/v3/models/TokenRefresh.d.ts +0 -5
  183. package/api/v3/models/TripProfile.d.ts +0 -14
  184. package/api/v3/models/User.d.ts +0 -8
  185. package/api/v3/models/UserProfile.d.ts +0 -4
  186. package/api/v3/models/UserReaction.d.ts +0 -12
  187. package/api/v3/models/UserReservation.d.ts +0 -10
  188. package/api/v3/requests/Device.d.ts +0 -7
  189. package/api/v3/requests/FavoriteRequest.d.ts +0 -4
  190. package/api/v3/requests/FavoriteUpdateRequest.d.ts +0 -4
  191. package/api/v3/requests/LoginRequestEmail.d.ts +0 -6
  192. package/api/v3/requests/LoginRequestTripHash.d.ts +0 -5
  193. package/api/v3/requests/LoginRequestUsername.d.ts +0 -5
  194. package/api/v3/requests/PlanUpdateRequest.d.ts +0 -5
  195. package/api/v3/requests/PoisRequest.d.ts +0 -12
  196. package/api/v3/requests/PoisRequestCoordinate.d.ts +0 -8
  197. package/api/v3/requests/RecommendationRequest.d.ts +0 -14
  198. package/api/v3/requests/RegisterRequestEmail.d.ts +0 -8
  199. package/api/v3/requests/RegisterRequestUsername.d.ts +0 -7
  200. package/api/v3/requests/StepRequest.d.ts +0 -5
  201. package/api/v3/requests/StepUpdateRequest.d.ts +0 -4
  202. package/api/v3/requests/TokenRefreshRequest.d.ts +0 -3
  203. package/api/v3/requests/UserProfileRequest.d.ts +0 -4
  204. package/api/v3/requests/UserReactionRequest.d.ts +0 -8
  205. package/api/v3/requests/UserUpdateRequest.d.ts +0 -7
  206. package/api/v3/responses/ErrorResponse.d.ts +0 -6
  207. package/api/v3/responses/Pagination.d.ts +0 -9
  208. package/api/v3/responses/PaginationLinks.d.ts +0 -4
@@ -1,10 +1,10 @@
1
- import { BookingRef } from './BookingRef';
2
- import { BookingSearchResultAggregation } from './BookingSearchResultAggregation';
3
- export declare type BookingSearchResult = {
4
- aggregation: BookingSearchResultAggregation;
5
- items: BookingRef[];
6
- skip: number;
7
- take: number;
8
- parameters: any;
9
- total: number;
10
- };
1
+ import { BookingRef } from './BookingRef';
2
+ import { BookingSearchResultAggregation } from './BookingSearchResultAggregation';
3
+ export declare type BookingSearchResult = {
4
+ aggregation: BookingSearchResultAggregation;
5
+ items: BookingRef[];
6
+ skip: number;
7
+ take: number;
8
+ parameters: any;
9
+ total: number;
10
+ };
@@ -1,18 +1,18 @@
1
- import { BookingPrice } from './BookingPrice';
2
- declare type BookingSearchResultAggregationCity = {
3
- label: string;
4
- count: number;
5
- };
6
- declare type BookingSearchResultAggregationCategory = {
7
- label: string;
8
- count: number;
9
- };
10
- export declare type BookingSearchResultAggregation = {
11
- price: {
12
- max: BookingPrice;
13
- min: BookingPrice;
14
- };
15
- cities: BookingSearchResultAggregationCity[];
16
- categories: BookingSearchResultAggregationCategory[];
17
- };
18
- export {};
1
+ import { BookingPrice } from './BookingPrice';
2
+ declare type BookingSearchResultAggregationCity = {
3
+ label: string;
4
+ count: number;
5
+ };
6
+ declare type BookingSearchResultAggregationCategory = {
7
+ label: string;
8
+ count: number;
9
+ };
10
+ export declare type BookingSearchResultAggregation = {
11
+ price: {
12
+ max: BookingPrice;
13
+ min: BookingPrice;
14
+ };
15
+ cities: BookingSearchResultAggregationCity[];
16
+ categories: BookingSearchResultAggregationCategory[];
17
+ };
18
+ export {};
@@ -1,4 +1,4 @@
1
- export declare type BookingSubCategory = {
2
- id: string;
3
- label: string;
4
- };
1
+ export declare type BookingSubCategory = {
2
+ id: string;
3
+ label: string;
4
+ };
@@ -1,4 +1,4 @@
1
- export declare type BookingSupplier = {
2
- name: string;
3
- trademark: string | null;
4
- };
1
+ export declare type BookingSupplier = {
2
+ name: string;
3
+ trademark: string | null;
4
+ };
@@ -1,4 +1,4 @@
1
- import { CatalogGroup } from './CatalogGroup';
2
- export declare type Catalog = {
3
- groups: CatalogGroup[];
4
- };
1
+ import { CatalogGroup } from './CatalogGroup';
2
+ export declare type Catalog = {
3
+ groups: CatalogGroup[];
4
+ };
@@ -1,10 +1,10 @@
1
- import { BookingRef } from './BookingRef';
2
- export declare type CatalogGroup = {
3
- type: string;
4
- title: string;
5
- subTitle: string | null;
6
- description: string;
7
- featured: boolean;
8
- items: BookingRef[];
9
- groupSearch: any | null;
10
- };
1
+ import { BookingRef } from './BookingRef';
2
+ export declare type CatalogGroup = {
3
+ type: string;
4
+ title: string;
5
+ subTitle: string | null;
6
+ description: string;
7
+ featured: boolean;
8
+ items: BookingRef[];
9
+ groupSearch: any | null;
10
+ };
@@ -1,5 +1,5 @@
1
- export declare type Token = {
2
- created: string;
3
- expires: string;
4
- token: string;
5
- };
1
+ export declare type Token = {
2
+ created: string;
3
+ expires: string;
4
+ token: string;
5
+ };
@@ -1,5 +1,5 @@
1
- export declare type TourRating = {
2
- id: string;
3
- rate: number;
4
- rateCount: number;
5
- };
1
+ export declare type TourRating = {
2
+ id: string;
3
+ rate: number;
4
+ rateCount: number;
5
+ };
@@ -1,6 +1,6 @@
1
- export declare type TourReview = {
2
- id: string;
3
- rate: number;
4
- username: string;
5
- comment: string;
6
- };
1
+ export declare type TourReview = {
2
+ id: string;
3
+ rate: number;
4
+ username: string;
5
+ comment: string;
6
+ };
@@ -1,15 +1,15 @@
1
- export * from './Token';
2
- export * from './TourRating';
3
- export * from './TourReview';
4
- export * from './BookingContact';
5
- export * from './BookingInformation';
6
- export * from './BookingLocation';
7
- export * from './BookingPrice';
8
- export * from './BookingSubCategory';
9
- export * from './BookingSupplier';
10
- export * from './BookingRef';
11
- export * from './Booking';
12
- export * from './BookingSearchResultAggregation';
13
- export * from './BookingSearchResult';
14
- export * from './CatalogGroup';
15
- export * from './Catalog';
1
+ export * from './Token';
2
+ export * from './TourRating';
3
+ export * from './TourReview';
4
+ export * from './BookingContact';
5
+ export * from './BookingInformation';
6
+ export * from './BookingLocation';
7
+ export * from './BookingPrice';
8
+ export * from './BookingSubCategory';
9
+ export * from './BookingSupplier';
10
+ export * from './BookingRef';
11
+ export * from './Booking';
12
+ export * from './BookingSearchResultAggregation';
13
+ export * from './BookingSearchResult';
14
+ export * from './CatalogGroup';
15
+ export * from './Catalog';
@@ -1,5 +1,5 @@
1
- import { Tour } from './Tour';
2
- export declare type CatalogGroup = {
3
- title: string;
4
- items: Tour[];
5
- };
1
+ import { Tour } from './Tour';
2
+ export declare type CatalogGroup = {
3
+ title: string;
4
+ items: Tour[];
5
+ };
@@ -1,8 +1,8 @@
1
- import { Category } from './Category';
2
- import { MetaData } from './MetaData';
3
- export declare type Categories = {
4
- metadata: MetaData;
5
- data: {
6
- categories: Array<Category>;
7
- };
8
- };
1
+ import { Category } from './Category';
2
+ import { MetaData } from './MetaData';
3
+ export declare type Categories = {
4
+ metadata: MetaData;
5
+ data: {
6
+ categories: Array<Category>;
7
+ };
8
+ };
@@ -1,6 +1,6 @@
1
- export declare type Category = {
2
- category_id: number;
3
- name: string;
4
- number_of_tours: number;
5
- parent_id?: number;
6
- };
1
+ export declare type Category = {
2
+ category_id: number;
3
+ name: string;
4
+ number_of_tours: number;
5
+ parent_id?: number;
6
+ };
@@ -1,15 +1,15 @@
1
- export declare type MetaData = {
2
- descriptor: string;
3
- method: string;
4
- date: string;
5
- status: string;
6
- query: string;
7
- availableLanguages: any[];
8
- exchange: {
9
- rate: number;
10
- currency: string;
11
- };
12
- totalCount: number;
13
- limit: number;
14
- offset: number;
15
- };
1
+ export declare type MetaData = {
2
+ descriptor: string;
3
+ method: string;
4
+ date: string;
5
+ status: string;
6
+ query: string;
7
+ availableLanguages: any[];
8
+ exchange: {
9
+ rate: number;
10
+ currency: string;
11
+ };
12
+ totalCount: number;
13
+ limit: number;
14
+ offset: number;
15
+ };
@@ -1,8 +1,8 @@
1
- export declare type PaymentConfiguration = {
2
- name: string;
3
- public_key: string;
4
- brands: Array<{
5
- name: string;
6
- code?: string;
7
- }>;
8
- };
1
+ export declare type PaymentConfiguration = {
2
+ name: string;
3
+ public_key: string;
4
+ brands: Array<{
5
+ name: string;
6
+ code?: string;
7
+ }>;
8
+ };
@@ -1,8 +1,8 @@
1
- import { MetaData } from './MetaData';
2
- import { PaymentConfiguration } from './PaymentConfiguration';
3
- export declare type PaymentConfigurations = {
4
- metadata: MetaData;
5
- data: {
6
- payment_methods: Array<PaymentConfiguration>;
7
- };
8
- };
1
+ import { MetaData } from './MetaData';
2
+ import { PaymentConfiguration } from './PaymentConfiguration';
3
+ export declare type PaymentConfigurations = {
4
+ metadata: MetaData;
5
+ data: {
6
+ payment_methods: Array<PaymentConfiguration>;
7
+ };
8
+ };
@@ -1,36 +1,36 @@
1
- import { TourDurations } from './TourDurations';
2
- import { TourCategories } from './TourCategories';
3
- import { TourCoordinates } from './TourCoordinates';
4
- import { TourLocations } from './TourLocations';
5
- import { TourPictures } from './TourPictures';
6
- import { TourPrice } from './TourPrice';
7
- export declare type Tour = {
8
- tour_id: number;
9
- tour_code: string;
10
- cond_language: Array<string>;
11
- title: string;
12
- abstract: string;
13
- description?: string;
14
- is_auto_translation?: boolean;
15
- is_english_fallback?: boolean;
16
- additional_information?: string;
17
- bestseller?: boolean;
18
- certified: boolean;
19
- overall_rating: number;
20
- number_of_ratings: number;
21
- highlights?: Array<string>;
22
- inclusions?: string;
23
- exclusions?: string;
24
- pictures: Array<TourPictures>;
25
- coordinates: TourCoordinates;
26
- price?: TourPrice;
27
- categories: Array<TourCategories>;
28
- locations: Array<TourLocations>;
29
- url: string;
30
- translations?: Array<string>;
31
- free_sale?: boolean;
32
- mobile_voucher?: boolean;
33
- supplier_id?: number;
34
- durations: Array<TourDurations>;
35
- cancellation_policy_text?: string;
36
- };
1
+ import { TourDurations } from './TourDurations';
2
+ import { TourCategories } from './TourCategories';
3
+ import { TourCoordinates } from './TourCoordinates';
4
+ import { TourLocations } from './TourLocations';
5
+ import { TourPictures } from './TourPictures';
6
+ import { TourPrice } from './TourPrice';
7
+ export declare type Tour = {
8
+ tour_id: number;
9
+ tour_code: string;
10
+ cond_language: Array<string>;
11
+ title: string;
12
+ abstract: string;
13
+ description?: string;
14
+ is_auto_translation?: boolean;
15
+ is_english_fallback?: boolean;
16
+ additional_information?: string;
17
+ bestseller?: boolean;
18
+ certified: boolean;
19
+ overall_rating: number;
20
+ number_of_ratings: number;
21
+ highlights?: Array<string>;
22
+ inclusions?: string;
23
+ exclusions?: string;
24
+ pictures: Array<TourPictures>;
25
+ coordinates: TourCoordinates;
26
+ price?: TourPrice;
27
+ categories: Array<TourCategories>;
28
+ locations: Array<TourLocations>;
29
+ url: string;
30
+ translations?: Array<string>;
31
+ free_sale?: boolean;
32
+ mobile_voucher?: boolean;
33
+ supplier_id?: number;
34
+ durations: Array<TourDurations>;
35
+ cancellation_policy_text?: string;
36
+ };
@@ -1,8 +1,8 @@
1
- import { MetaData } from './MetaData';
2
- import { TourAvailability } from './TourAvailability';
3
- export declare type TourAvailabilities = {
4
- metadata: MetaData;
5
- data: {
6
- availabilities: Array<TourAvailability>;
7
- };
8
- };
1
+ import { MetaData } from './MetaData';
2
+ import { TourAvailability } from './TourAvailability';
3
+ export declare type TourAvailabilities = {
4
+ metadata: MetaData;
5
+ data: {
6
+ availabilities: Array<TourAvailability>;
7
+ };
8
+ };
@@ -1,7 +1,7 @@
1
- export declare type TourAvailability = {
2
- start_time: string;
3
- pricing_id: number;
4
- vacancies: number;
5
- discount?: number;
6
- end_time?: string;
7
- };
1
+ export declare type TourAvailability = {
2
+ start_time: string;
3
+ pricing_id: number;
4
+ vacancies: number;
5
+ discount?: number;
6
+ end_time?: string;
7
+ };
@@ -1,10 +1,10 @@
1
- export declare type TourBooking = {
2
- bookings: {
3
- shopping_cart_id: number;
4
- shopping_cart_hash: string;
5
- booking_id: number;
6
- booking_hash: string;
7
- status: string;
8
- return_code: number;
9
- };
10
- };
1
+ export declare type TourBooking = {
2
+ bookings: {
3
+ shopping_cart_id: number;
4
+ shopping_cart_hash: string;
5
+ booking_id: number;
6
+ booking_hash: string;
7
+ status: string;
8
+ return_code: number;
9
+ };
10
+ };
@@ -1,81 +1,81 @@
1
- export declare type TourBookingCart = {
2
- shopping_cart_id: number;
3
- shopping_cart_hash: string;
4
- billing: {
5
- salutation_code: string;
6
- first_name: string;
7
- last_name: string;
8
- email: string;
9
- is_company: boolean;
10
- company_name: string;
11
- invoice: boolean;
12
- address_line_1: string;
13
- address_line_2: string;
14
- city: string;
15
- postal_code: string;
16
- state: string;
17
- country_code: string;
18
- phone_number: string;
19
- };
20
- traveler: {
21
- salutation_code: string;
22
- first_name: string;
23
- last_name: string;
24
- email: string;
25
- phone_number: string;
26
- };
27
- status: string;
28
- bookings: {
29
- booking_id: number;
30
- booking_hash: string;
31
- booking_status: string;
32
- shopping_cart_id: number;
33
- shopping_cart_hash: string;
34
- bookable: {
35
- tour_id: number;
36
- option_id: number;
37
- datetime: string;
38
- datetime_utc: string;
39
- datetime_type: string;
40
- opening_hours: {
41
- opening_time: string;
42
- closing_time: string;
43
- }[];
44
- price: number;
45
- categories: {
46
- category_id: number;
47
- name: string;
48
- number_of_participants: number;
49
- }[];
50
- booking_parameters?: {
51
- name: string;
52
- value_1: string;
53
- value_2: string;
54
- };
55
- valid_until: string;
56
- cancellation_policy_text: string;
57
- };
58
- ticket?: {
59
- booking_reference: string;
60
- voucher_information: string;
61
- emergency_phone_number: string;
62
- ticket_hash: string;
63
- emergency_email: string;
64
- ticket_url: string;
65
- supplier_booking_codes: {
66
- code: string;
67
- ticket_hash: string;
68
- label: string;
69
- type: string;
70
- }[];
71
- };
72
- }[];
73
- payment_info: {
74
- payment_currency: string;
75
- total_price: number;
76
- precoupon_price: number;
77
- payment_method: string;
78
- coupon_info?: string;
79
- invoice_reference: string;
80
- };
81
- };
1
+ export declare type TourBookingCart = {
2
+ shopping_cart_id: number;
3
+ shopping_cart_hash: string;
4
+ billing: {
5
+ salutation_code: string;
6
+ first_name: string;
7
+ last_name: string;
8
+ email: string;
9
+ is_company: boolean;
10
+ company_name: string;
11
+ invoice: boolean;
12
+ address_line_1: string;
13
+ address_line_2: string;
14
+ city: string;
15
+ postal_code: string;
16
+ state: string;
17
+ country_code: string;
18
+ phone_number: string;
19
+ };
20
+ traveler: {
21
+ salutation_code: string;
22
+ first_name: string;
23
+ last_name: string;
24
+ email: string;
25
+ phone_number: string;
26
+ };
27
+ status: string;
28
+ bookings: {
29
+ booking_id: number;
30
+ booking_hash: string;
31
+ booking_status: string;
32
+ shopping_cart_id: number;
33
+ shopping_cart_hash: string;
34
+ bookable: {
35
+ tour_id: number;
36
+ option_id: number;
37
+ datetime: string;
38
+ datetime_utc: string;
39
+ datetime_type: string;
40
+ opening_hours: {
41
+ opening_time: string;
42
+ closing_time: string;
43
+ }[];
44
+ price: number;
45
+ categories: {
46
+ category_id: number;
47
+ name: string;
48
+ number_of_participants: number;
49
+ }[];
50
+ booking_parameters?: {
51
+ name: string;
52
+ value_1: string;
53
+ value_2: string;
54
+ };
55
+ valid_until: string;
56
+ cancellation_policy_text: string;
57
+ };
58
+ ticket?: {
59
+ booking_reference: string;
60
+ voucher_information: string;
61
+ emergency_phone_number: string;
62
+ ticket_hash: string;
63
+ emergency_email: string;
64
+ ticket_url: string;
65
+ supplier_booking_codes: {
66
+ code: string;
67
+ ticket_hash: string;
68
+ label: string;
69
+ type: string;
70
+ }[];
71
+ };
72
+ }[];
73
+ payment_info: {
74
+ payment_currency: string;
75
+ total_price: number;
76
+ precoupon_price: number;
77
+ payment_method: string;
78
+ coupon_info?: string;
79
+ invoice_reference: string;
80
+ };
81
+ };