@tripian/model 8.3.0 → 9.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 (149) hide show
  1. package/api/v4/models/Accommodation.d.ts +1 -1
  2. package/api/v4/models/Booking.d.ts +1 -1
  3. package/api/v4/models/BookingProduct.d.ts +1 -1
  4. package/api/v4/models/Business.d.ts +1 -1
  5. package/api/v4/models/BusinessInfoCategory.d.ts +1 -1
  6. package/api/v4/models/BusinessNameAddress.d.ts +1 -1
  7. package/api/v4/models/BusinessReport.d.ts +2 -2
  8. package/api/v4/models/BusinessSearch.d.ts +1 -1
  9. package/api/v4/models/BusinessVerify.d.ts +1 -1
  10. package/api/v4/models/Campaign.d.ts +3 -3
  11. package/api/v4/models/CampaignCustomerReport.d.ts +2 -2
  12. package/api/v4/models/CampaignReport.d.ts +2 -2
  13. package/api/v4/models/City.d.ts +2 -2
  14. package/api/v4/models/Companion.d.ts +1 -1
  15. package/api/v4/models/ConfigList.d.ts +4 -4
  16. package/api/v4/models/Continent.d.ts +1 -1
  17. package/api/v4/models/Coordinate.d.ts +1 -1
  18. package/api/v4/models/Country.d.ts +1 -1
  19. package/api/v4/models/Coupon.d.ts +1 -1
  20. package/api/v4/models/CouponApplication.d.ts +5 -5
  21. package/api/v4/models/Device.d.ts +1 -1
  22. package/api/v4/models/Favorite.d.ts +1 -1
  23. package/api/v4/models/Feedbacks.d.ts +2 -2
  24. package/api/v4/models/HourFormat.d.ts +1 -1
  25. package/api/v4/models/Image.d.ts +1 -1
  26. package/api/v4/models/ImageOwner.d.ts +1 -1
  27. package/api/v4/models/Notification.d.ts +1 -1
  28. package/api/v4/models/NotificationMetaData.d.ts +1 -1
  29. package/api/v4/models/NotificationSettings.d.ts +1 -1
  30. package/api/v4/models/NotificationUnseen.d.ts +1 -1
  31. package/api/v4/models/Offer.d.ts +1 -1
  32. package/api/v4/models/OfferCustomer.d.ts +1 -1
  33. package/api/v4/models/OfferProductType.d.ts +1 -1
  34. package/api/v4/models/Plan.d.ts +1 -1
  35. package/api/v4/models/Poi.d.ts +1 -1
  36. package/api/v4/models/PoiCategory.d.ts +1 -1
  37. package/api/v4/models/PoiCategoryGroup.d.ts +1 -1
  38. package/api/v4/models/PoiCategoryParent.d.ts +1 -1
  39. package/api/v4/models/PoiReference.d.ts +1 -1
  40. package/api/v4/models/PreRegister.d.ts +1 -1
  41. package/api/v4/models/Question.d.ts +1 -1
  42. package/api/v4/models/QuestionAnswer.d.ts +1 -1
  43. package/api/v4/models/Recommendation.d.ts +1 -1
  44. package/api/v4/models/Step.d.ts +1 -1
  45. package/api/v4/models/SubAnswer.d.ts +1 -1
  46. package/api/v4/models/TasteItem.d.ts +1 -1
  47. package/api/v4/models/TimeFrame.d.ts +1 -1
  48. package/api/v4/models/Token.d.ts +1 -1
  49. package/api/v4/models/TokenPayload.d.ts +1 -1
  50. package/api/v4/models/TokenRefresh.d.ts +1 -1
  51. package/api/v4/models/TopTen.d.ts +1 -1
  52. package/api/v4/models/TourAndTickets.d.ts +1 -1
  53. package/api/v4/models/Trip.d.ts +1 -1
  54. package/api/v4/models/TripProfile.d.ts +1 -1
  55. package/api/v4/models/TripReference.d.ts +1 -1
  56. package/api/v4/models/User.d.ts +1 -1
  57. package/api/v4/models/UserFeedback.d.ts +1 -1
  58. package/api/v4/models/UserReaction.d.ts +1 -1
  59. package/api/v4/models/UserReservation.d.ts +1 -1
  60. package/api/v4/models/UserResetPassword.d.ts +1 -1
  61. package/api/v4/models/VoucherOffer.d.ts +1 -1
  62. package/api/v4/requests/CompanionRequest.d.ts +1 -1
  63. package/api/v4/requests/FeedbackRequest.d.ts +1 -1
  64. package/api/v4/requests/LoginRequest.d.ts +1 -1
  65. package/api/v4/requests/OfferAddRequest.d.ts +1 -1
  66. package/api/v4/requests/OfferRequest.d.ts +1 -1
  67. package/api/v4/requests/PlanUpdateRequest.d.ts +1 -1
  68. package/api/v4/requests/PoisRequest.d.ts +1 -1
  69. package/api/v4/requests/PoisRequestCoordinate.d.ts +1 -1
  70. package/api/v4/requests/PoisRequestMustTry.d.ts +1 -1
  71. package/api/v4/requests/PoisRequestName.d.ts +1 -1
  72. package/api/v4/requests/RegisterRequest.d.ts +1 -1
  73. package/api/v4/requests/TokenRefreshRequest.d.ts +1 -1
  74. package/api/v4/requests/UserReactionRequest.d.ts +1 -1
  75. package/api/v4/requests/UserReservationRequest.d.ts +1 -1
  76. package/api/v4/requests/UserUpdateRequest.d.ts +1 -1
  77. package/api/v4/requests/VoucherOfferAddRequest.d.ts +1 -1
  78. package/api/v4/responses/DataPayload.d.ts +1 -1
  79. package/api/v4/responses/DeleteUpdateResponse.d.ts +1 -1
  80. package/api/v4/responses/ErrorResponse.d.ts +1 -1
  81. package/api/v4/responses/Pagination.d.ts +1 -1
  82. package/api/v4/responses/SuccessResponse.d.ts +1 -1
  83. package/package.json +1 -1
  84. package/providers/bb/Activity.d.ts +1 -1
  85. package/providers/bb/ActivityInfo.d.ts +1 -1
  86. package/providers/bb/ActivityInfoImage.d.ts +1 -1
  87. package/providers/bb/ActivityInfoLocation.d.ts +1 -1
  88. package/providers/bb/ActivityPoint.d.ts +1 -1
  89. package/providers/bb/AuthorizationResponse.d.ts +1 -1
  90. package/providers/bb/CatalogGroup.d.ts +1 -1
  91. package/providers/bb/Offer.d.ts +1 -1
  92. package/providers/bb/OfferPoint.d.ts +1 -1
  93. package/providers/bb/Product.d.ts +1 -1
  94. package/providers/bb/SearchAccommodationResponse.d.ts +5 -5
  95. package/providers/bb/SearchActivitiesResponse.d.ts +1 -1
  96. package/providers/bb/SearchCarRentResponse.d.ts +11 -11
  97. package/providers/gyg/CatalogGroup.d.ts +1 -1
  98. package/providers/gyg/Categories.d.ts +1 -1
  99. package/providers/gyg/Category.d.ts +1 -1
  100. package/providers/gyg/MetaData.d.ts +1 -1
  101. package/providers/gyg/PaymentConfiguration.d.ts +1 -1
  102. package/providers/gyg/PaymentConfigurations.d.ts +1 -1
  103. package/providers/gyg/Tour.d.ts +1 -1
  104. package/providers/gyg/TourAvailabilities.d.ts +1 -1
  105. package/providers/gyg/TourAvailability.d.ts +1 -1
  106. package/providers/gyg/TourBooking.d.ts +1 -1
  107. package/providers/gyg/TourBookingCart.d.ts +1 -1
  108. package/providers/gyg/TourBookingCartRequest.d.ts +1 -1
  109. package/providers/gyg/TourBookingCartWithDetails.d.ts +1 -1
  110. package/providers/gyg/TourBookingCarts.d.ts +1 -1
  111. package/providers/gyg/TourBookingInfo.d.ts +1 -1
  112. package/providers/gyg/TourBookingInfos.d.ts +1 -1
  113. package/providers/gyg/TourBookingRequest.d.ts +1 -1
  114. package/providers/gyg/TourBookings.d.ts +1 -1
  115. package/providers/gyg/TourCategories.d.ts +1 -1
  116. package/providers/gyg/TourCoordinates.d.ts +1 -1
  117. package/providers/gyg/TourData.d.ts +1 -1
  118. package/providers/gyg/TourDataFormPersonsCategory.d.ts +1 -1
  119. package/providers/gyg/TourDataOption.d.ts +1 -1
  120. package/providers/gyg/TourDataOptionAvailability.d.ts +1 -1
  121. package/providers/gyg/TourDateRange.d.ts +1 -1
  122. package/providers/gyg/TourDurations.d.ts +1 -1
  123. package/providers/gyg/TourLocations.d.ts +1 -1
  124. package/providers/gyg/TourOption.d.ts +1 -1
  125. package/providers/gyg/TourOptionDetails.d.ts +1 -1
  126. package/providers/gyg/TourOptionPricing.d.ts +1 -1
  127. package/providers/gyg/TourOptionPricings.d.ts +1 -1
  128. package/providers/gyg/TourOptions.d.ts +1 -1
  129. package/providers/gyg/TourPictures.d.ts +1 -1
  130. package/providers/gyg/TourPrice.d.ts +1 -1
  131. package/providers/gyg/TourReservationDetails.d.ts +1 -1
  132. package/providers/gyg/TourShoppingFormData.d.ts +1 -1
  133. package/providers/gyg/TourViewport.d.ts +1 -1
  134. package/providers/gyg/Tours.d.ts +1 -1
  135. package/providers/viator/CatalogGroup.d.ts +1 -1
  136. package/providers/viator/Duration.d.ts +1 -1
  137. package/providers/viator/Product.d.ts +2 -2
  138. package/providers/viator/ProductInfo.d.ts +19 -19
  139. package/providers/yelp/Business.d.ts +1 -1
  140. package/providers/yelp/Hold.d.ts +1 -1
  141. package/providers/yelp/HoldRequest.d.ts +1 -1
  142. package/providers/yelp/Opening.d.ts +1 -1
  143. package/providers/yelp/OpeningTime.d.ts +1 -1
  144. package/providers/yelp/Openings.d.ts +1 -1
  145. package/providers/yelp/OpeningsRequest.d.ts +1 -1
  146. package/providers/yelp/Reservation.d.ts +1 -1
  147. package/providers/yelp/ReservationInfo.d.ts +1 -1
  148. package/providers/yelp/ReservationRequest.d.ts +1 -1
  149. package/providers/yelp/ReservationStatusResponse.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- export declare type PoisRequestCoordinate = {
1
+ export type PoisRequestCoordinate = {
2
2
  poiCategories?: string;
3
3
  coordinate?: string;
4
4
  distance?: number;
@@ -1,4 +1,4 @@
1
- export declare type PoisRequestMustTry = {
1
+ export type PoisRequestMustTry = {
2
2
  cityId: number;
3
3
  mustTryIds?: string;
4
4
  limit: number;
@@ -1,4 +1,4 @@
1
- export declare type PoisRequestName = {
1
+ export type PoisRequestName = {
2
2
  cityId?: number;
3
3
  search?: string;
4
4
  poiCategories?: string;
@@ -1,5 +1,5 @@
1
1
  import { Device } from '../models/Device';
2
- export declare type RegisterRequest = {
2
+ export type RegisterRequest = {
3
3
  firstName: string;
4
4
  lastName: string;
5
5
  email: string;
@@ -1,5 +1,5 @@
1
1
  import { Device } from '../models/Device';
2
- export declare type TokenRefreshRequest = {
2
+ export type TokenRefreshRequest = {
3
3
  refreshToken: string;
4
4
  device?: Device;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { REACTION } from '../enums/REACTION';
2
- export declare type UserReactionRequest = {
2
+ export type UserReactionRequest = {
3
3
  poiId: string;
4
4
  stepId?: number;
5
5
  reaction: REACTION;
@@ -1,4 +1,4 @@
1
- export declare type UserReservationRequest = {
1
+ export type UserReservationRequest = {
2
2
  key: string;
3
3
  value: Object;
4
4
  provider: string;
@@ -1,4 +1,4 @@
1
- export declare type UserUpdateRequest = {
1
+ export type UserUpdateRequest = {
2
2
  firstName?: string;
3
3
  lastName?: string;
4
4
  dateOfBirth?: string;
@@ -1,5 +1,5 @@
1
1
  import { OFFER_STATUS } from '../enums/OFFER_STATUS';
2
- export declare type VoucherOfferAddRequest = {
2
+ export type VoucherOfferAddRequest = {
3
3
  cityId: number;
4
4
  title: string;
5
5
  offerType: 'voucher';
@@ -1,5 +1,5 @@
1
1
  import { Pagination } from './Pagination';
2
- export declare type DataPayload<T> = {
2
+ export type DataPayload<T> = {
3
3
  data: T;
4
4
  pagination?: Pagination;
5
5
  };
@@ -1,3 +1,3 @@
1
- export declare type DeleteUpdateResponse = {
1
+ export type DeleteUpdateResponse = {
2
2
  updated: boolean;
3
3
  };
@@ -1,5 +1,5 @@
1
1
  import { RESPONSE_STATUS } from '../enums/RESPONSE_STATUS';
2
- export declare type ErrorResponse = {
2
+ export type ErrorResponse = {
3
3
  status: RESPONSE_STATUS;
4
4
  success: boolean;
5
5
  message: string;
@@ -1,4 +1,4 @@
1
- export declare type Pagination = {
1
+ export type Pagination = {
2
2
  total: number;
3
3
  perPage: number;
4
4
  totalPages: number;
@@ -1,6 +1,6 @@
1
1
  import { RESPONSE_STATUS } from '../enums/RESPONSE_STATUS';
2
2
  import { Pagination } from './Pagination';
3
- export declare type SuccessResponse<T> = {
3
+ export type SuccessResponse<T> = {
4
4
  status: RESPONSE_STATUS;
5
5
  success: boolean;
6
6
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tripian/model",
3
- "version": "8.3.0",
3
+ "version": "9.0.0",
4
4
  "description": "Tripian Inc web model",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -1,6 +1,6 @@
1
1
  import { ActivityPoint } from './ActivityPoint';
2
2
  import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
3
- export declare type Activity = {
3
+ export type Activity = {
4
4
  id: number;
5
5
  name: string;
6
6
  supplierCode: string;
@@ -1,7 +1,7 @@
1
1
  import { ActivityInfoImage } from './ActivityInfoImage';
2
2
  import { ActivityInfoLocation } from './ActivityInfoLocation';
3
3
  import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
4
- export declare type ActivityInfo = {
4
+ export type ActivityInfo = {
5
5
  name: string;
6
6
  shortDescription: string;
7
7
  fullDescription: string;
@@ -1,4 +1,4 @@
1
- export declare type ActivityInfoImage = {
1
+ export type ActivityInfoImage = {
2
2
  url: string;
3
3
  mainImage: boolean;
4
4
  orderNumber: number;
@@ -1,4 +1,4 @@
1
- export declare type ActivityInfoLocation = {
1
+ export type ActivityInfoLocation = {
2
2
  point: string;
3
3
  startTimes: any[];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type ActivityPoint = {
1
+ export type ActivityPoint = {
2
2
  countryId: number;
3
3
  countryName: string;
4
4
  cityId: number;
@@ -1,4 +1,4 @@
1
- export declare type AuthorizationResponse = {
1
+ export type AuthorizationResponse = {
2
2
  settings: {
3
3
  b2CPaymentWays: any[];
4
4
  b2CPaymentMethods: number[];
@@ -1,6 +1,6 @@
1
1
  import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
2
2
  import { Product } from './Product';
3
- export declare type CatalogGroup = {
3
+ export type CatalogGroup = {
4
4
  title: string;
5
5
  items: Product[];
6
6
  themes: ACTIVITY_THEMES[];
@@ -1,5 +1,5 @@
1
1
  import { OfferPoint } from './OfferPoint';
2
- export declare type Offer = {
2
+ export type Offer = {
3
3
  offerKey: string;
4
4
  taxesAndFeesIncluded: boolean;
5
5
  salesTerms: [
@@ -1,4 +1,4 @@
1
- export declare type OfferPoint = {
1
+ export type OfferPoint = {
2
2
  name: string;
3
3
  timeShift: string;
4
4
  latitude?: string;
@@ -1,6 +1,6 @@
1
1
  import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
2
2
  import { Offer } from './Offer';
3
- export declare type Product = {
3
+ export type Product = {
4
4
  info: {
5
5
  id: number;
6
6
  name: string;
@@ -1,4 +1,4 @@
1
- export declare type SearchAccommodationRoomOfferInfo = {
1
+ export type SearchAccommodationRoomOfferInfo = {
2
2
  roomType: string;
3
3
  roomTypeServiceId: number;
4
4
  roomTypeDescription: string;
@@ -20,7 +20,7 @@ export declare type SearchAccommodationRoomOfferInfo = {
20
20
  alternate: boolean;
21
21
  }[];
22
22
  };
23
- export declare type SearchAccommodationRoomOffer = {
23
+ export type SearchAccommodationRoomOffer = {
24
24
  offerKey: string;
25
25
  cancellations?: {
26
26
  convertedPrice: {
@@ -72,7 +72,7 @@ export declare type SearchAccommodationRoomOffer = {
72
72
  onExtraBed: any[];
73
73
  onWithoutPlace: any[];
74
74
  };
75
- export declare type SearchAccommodationHotelOfferInfo = {
75
+ export type SearchAccommodationHotelOfferInfo = {
76
76
  name: string;
77
77
  address: string;
78
78
  category: number;
@@ -105,12 +105,12 @@ export declare type SearchAccommodationHotelOfferInfo = {
105
105
  typeOTAName: string;
106
106
  recommended: boolean;
107
107
  };
108
- export declare type SearchAccommodationHotelOffer = {
108
+ export type SearchAccommodationHotelOffer = {
109
109
  info: SearchAccommodationHotelOfferInfo;
110
110
  roomOffers: SearchAccommodationRoomOffer[];
111
111
  bookAllowed: boolean;
112
112
  };
113
- export declare type SearchAccommodationResponse = {
113
+ export type SearchAccommodationResponse = {
114
114
  searchKey: string;
115
115
  offersCount: number;
116
116
  filters: any;
@@ -1,6 +1,6 @@
1
1
  import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
2
2
  import { Product } from './Product';
3
- export declare type SearchActivitiesResponse = {
3
+ export type SearchActivitiesResponse = {
4
4
  searchKey: string;
5
5
  offersCount: number;
6
6
  processed: boolean;
@@ -1,4 +1,4 @@
1
- export declare type SearchCarRentFilters = {
1
+ export type SearchCarRentFilters = {
2
2
  priceFrom: number;
3
3
  priceTo: number;
4
4
  modelNames: string[];
@@ -12,18 +12,18 @@ export declare type SearchCarRentFilters = {
12
12
  features: string[];
13
13
  carRentCompanyNames: string[];
14
14
  };
15
- export declare type SearchCarRentProductOfferSalesTermPrice = {
15
+ export type SearchCarRentProductOfferSalesTermPrice = {
16
16
  currency: string;
17
17
  amount: number;
18
18
  taxesAndFees?: (number | string)[];
19
19
  };
20
- export declare type SearchCarRentProductOfferSalesTerm = {
20
+ export type SearchCarRentProductOfferSalesTerm = {
21
21
  type: string;
22
22
  price: SearchCarRentProductOfferSalesTermPrice;
23
23
  originalSupplierCurrency: string;
24
24
  promoCodeApplied: boolean;
25
25
  };
26
- export declare type SearchCarRentProductOfferPoint = {
26
+ export type SearchCarRentProductOfferPoint = {
27
27
  locationCode: string;
28
28
  type: string;
29
29
  name: string;
@@ -31,14 +31,14 @@ export declare type SearchCarRentProductOfferPoint = {
31
31
  longitude?: number;
32
32
  latitude?: number;
33
33
  };
34
- export declare type SearchCarRentProductOfferCancellation = {
34
+ export type SearchCarRentProductOfferCancellation = {
35
35
  dateFrom: string;
36
36
  dateTo: string;
37
37
  price: SearchCarRentProductOfferSalesTermPrice;
38
38
  convertedPrice: SearchCarRentProductOfferSalesTermPrice;
39
39
  noShow: boolean;
40
40
  };
41
- export declare type SearchCarRentProductOffer = {
41
+ export type SearchCarRentProductOffer = {
42
42
  offerKey: string;
43
43
  loyaltyPoints?: number;
44
44
  cancellations?: SearchCarRentProductOfferCancellation[];
@@ -51,11 +51,11 @@ export declare type SearchCarRentProductOffer = {
51
51
  chargeDescriptions: (string | number | null)[];
52
52
  extraServices: boolean;
53
53
  };
54
- export declare type SearchCarRentProductInfoImage = {
54
+ export type SearchCarRentProductInfoImage = {
55
55
  url: string;
56
56
  mainImage: boolean;
57
57
  };
58
- export declare type SearchCarRentProductInfo = {
58
+ export type SearchCarRentProductInfo = {
59
59
  supplierCode: string;
60
60
  doorCount: number;
61
61
  passengerQuantity: number;
@@ -72,18 +72,18 @@ export declare type SearchCarRentProductInfo = {
72
72
  shortDescription: string;
73
73
  description?: string;
74
74
  };
75
- export declare type SearchCarRentProduct = {
75
+ export type SearchCarRentProduct = {
76
76
  offers: SearchCarRentProductOffer[];
77
77
  info: SearchCarRentProductInfo;
78
78
  };
79
- export declare type SearchCarRentResponse = {
79
+ export type SearchCarRentResponse = {
80
80
  searchKey: string;
81
81
  offersCount: number;
82
82
  processed: boolean;
83
83
  carFilters: SearchCarRentFilters;
84
84
  products: SearchCarRentProduct[];
85
85
  };
86
- export declare type SearchCarRentOffer = {
86
+ export type SearchCarRentOffer = {
87
87
  supplierCode: string;
88
88
  carRentCompanyName: string;
89
89
  images: string[];
@@ -1,5 +1,5 @@
1
1
  import { Tour } from './Tour';
2
- export declare type CatalogGroup = {
2
+ export type CatalogGroup = {
3
3
  title: string;
4
4
  items: Tour[];
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { Category } from './Category';
2
2
  import { MetaData } from './MetaData';
3
- export declare type Categories = {
3
+ export type Categories = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  categories: Array<Category>;
@@ -1,4 +1,4 @@
1
- export declare type Category = {
1
+ export type Category = {
2
2
  category_id: number;
3
3
  name: string;
4
4
  number_of_tours: number;
@@ -1,4 +1,4 @@
1
- export declare type MetaData = {
1
+ export type MetaData = {
2
2
  descriptor: string;
3
3
  method: string;
4
4
  date: string;
@@ -1,4 +1,4 @@
1
- export declare type PaymentConfiguration = {
1
+ export type PaymentConfiguration = {
2
2
  name: string;
3
3
  public_key: string;
4
4
  brands: Array<{
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { PaymentConfiguration } from './PaymentConfiguration';
3
- export declare type PaymentConfigurations = {
3
+ export type PaymentConfigurations = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  payment_methods: Array<PaymentConfiguration>;
@@ -4,7 +4,7 @@ import { TourCoordinates } from './TourCoordinates';
4
4
  import { TourLocations } from './TourLocations';
5
5
  import { TourPictures } from './TourPictures';
6
6
  import { TourPrice } from './TourPrice';
7
- export declare type Tour = {
7
+ export type Tour = {
8
8
  tour_id: number;
9
9
  tour_code: string;
10
10
  cond_language: Array<string>;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { TourAvailability } from './TourAvailability';
3
- export declare type TourAvailabilities = {
3
+ export type TourAvailabilities = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  availabilities: Array<TourAvailability>;
@@ -1,4 +1,4 @@
1
- export declare type TourAvailability = {
1
+ export type TourAvailability = {
2
2
  start_time: string;
3
3
  pricing_id: number;
4
4
  vacancies: number;
@@ -1,4 +1,4 @@
1
- export declare type TourBooking = {
1
+ export type TourBooking = {
2
2
  bookings: {
3
3
  shopping_cart_id: number;
4
4
  shopping_cart_hash: string;
@@ -1,4 +1,4 @@
1
- export declare type TourBookingCart = {
1
+ export type TourBookingCart = {
2
2
  shopping_cart_id: number;
3
3
  shopping_cart_hash: string;
4
4
  billing: {
@@ -1,4 +1,4 @@
1
- export declare type TourBookingCartRequest = {
1
+ export type TourBookingCartRequest = {
2
2
  base_data: {
3
3
  cnt_language: string;
4
4
  currency: string;
@@ -1,5 +1,5 @@
1
1
  import { TourBookingCart } from './TourBookingCart';
2
- export declare type TourBookingCartWithDetails = TourBookingCart & {
2
+ export type TourBookingCartWithDetails = TourBookingCart & {
3
3
  tour_name: string;
4
4
  city_name: string;
5
5
  tour_image: string;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { TourBookingCart } from './TourBookingCart';
3
- export declare type TourBookingCarts = {
3
+ export type TourBookingCarts = {
4
4
  metadata: MetaData;
5
5
  data: TourBookingCart;
6
6
  };
@@ -1,4 +1,4 @@
1
- export declare type TourBookingInfo = {
1
+ export type TourBookingInfo = {
2
2
  booking_id: number;
3
3
  booking_hash: string;
4
4
  booking_status: string;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { TourBookingInfo } from './TourBookingInfo';
3
- export declare type TourBookingInfos = {
3
+ export type TourBookingInfos = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  booking: Array<TourBookingInfo>;
@@ -1,4 +1,4 @@
1
- export declare type TourBookingRequest = {
1
+ export type TourBookingRequest = {
2
2
  base_data: {
3
3
  cnt_language: string;
4
4
  currency: string;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { TourBooking } from './TourBooking';
3
- export declare type TourBookings = {
3
+ export type TourBookings = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  bookings: Array<TourBooking>;
@@ -1,4 +1,4 @@
1
- export declare type TourCategories = {
1
+ export type TourCategories = {
2
2
  category_id: number;
3
3
  name: string;
4
4
  parent_id?: number;
@@ -1,4 +1,4 @@
1
- export declare type TourCoordinates = {
1
+ export type TourCoordinates = {
2
2
  lat: number;
3
3
  long: number;
4
4
  };
@@ -1,7 +1,7 @@
1
1
  import { Tour } from './Tour';
2
2
  import { TourDataFormPersonsCategory } from './TourDataFormPersonsCategory';
3
3
  import { TourDataOption } from './TourDataOption';
4
- export declare type TourData = {
4
+ export type TourData = {
5
5
  tour: Tour;
6
6
  availableDates: string[];
7
7
  formPersonsCategories: TourDataFormPersonsCategory[];
@@ -1,4 +1,4 @@
1
- export declare type TourDataFormPersonsCategory = {
1
+ export type TourDataFormPersonsCategory = {
2
2
  addon: boolean;
3
3
  id: number;
4
4
  max_age?: number;
@@ -1,5 +1,5 @@
1
1
  import { TourDataOptionAvailability } from './TourDataOptionAvailability';
2
2
  import { TourOption } from './TourOption';
3
- export declare type TourDataOption = TourOption & {
3
+ export type TourDataOption = TourOption & {
4
4
  availabilities: TourDataOptionAvailability[];
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { TourAvailability } from './TourAvailability';
2
2
  import { TourOptionPricing } from './TourOptionPricing';
3
- export declare type TourDataOptionAvailability = {
3
+ export type TourDataOptionAvailability = {
4
4
  availability_id: number;
5
5
  } & TourAvailability & TourOptionPricing;
@@ -1,4 +1,4 @@
1
- export declare type TourDateRange = {
1
+ export type TourDateRange = {
2
2
  start: string;
3
3
  end: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type TourDurations = {
1
+ export type TourDurations = {
2
2
  duration: number;
3
3
  unit: string;
4
4
  };
@@ -1,6 +1,6 @@
1
1
  import { TourCoordinates } from './TourCoordinates';
2
2
  import { TourViewport } from './TourViewport';
3
- export declare type TourLocations = {
3
+ export type TourLocations = {
4
4
  location_id: number;
5
5
  type: string;
6
6
  name: string;
@@ -1,6 +1,6 @@
1
1
  import { TourCoordinates } from './TourCoordinates';
2
2
  import { TourPrice } from './TourPrice';
3
- export declare type TourOption = {
3
+ export type TourOption = {
4
4
  option_id: number;
5
5
  tour_id: number;
6
6
  title: string;
@@ -1,7 +1,7 @@
1
1
  import { TourAvailability } from './TourAvailability';
2
2
  import { TourOption } from './TourOption';
3
3
  import { TourOptionPricing } from './TourOptionPricing';
4
- export declare type TourOptionDetails = {
4
+ export type TourOptionDetails = {
5
5
  option: TourOption;
6
6
  availabilities: TourAvailability[];
7
7
  pricings?: TourOptionPricing;
@@ -1,4 +1,4 @@
1
- export declare type TourOptionPricing = {
1
+ export type TourOptionPricing = {
2
2
  pricing_id: number;
3
3
  total_minimum_participants: number;
4
4
  total_maximum_participants?: number;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { TourOptionPricing } from './TourOptionPricing';
3
- export declare type TourOptionPricings = {
3
+ export type TourOptionPricings = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  pricing: Array<TourOptionPricing>;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { TourOption } from './TourOption';
3
- export declare type TourOptions = {
3
+ export type TourOptions = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  tour_options: Array<TourOption>;
@@ -1,4 +1,4 @@
1
- export declare type TourPictures = {
1
+ export type TourPictures = {
2
2
  id: number;
3
3
  url: string;
4
4
  ssl_url: string;
@@ -1,4 +1,4 @@
1
- export declare type TourPrice = {
1
+ export type TourPrice = {
2
2
  values: {
3
3
  amount: number;
4
4
  special?: {
@@ -1,5 +1,5 @@
1
1
  import { TourBookingCartWithDetails } from './TourBookingCartWithDetails';
2
- export declare type TourReservationDetails = {
2
+ export type TourReservationDetails = {
3
3
  data: {
4
4
  shopping_cart: TourBookingCartWithDetails;
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare type TourShoppingFormData = {
1
+ export type TourShoppingFormData = {
2
2
  user: {
3
3
  first_name: string;
4
4
  last_name: string;
@@ -1,4 +1,4 @@
1
- export declare type TourViewport = {
1
+ export type TourViewport = {
2
2
  sw_lat: number;
3
3
  sw_long: number;
4
4
  ne_lat: number;
@@ -1,6 +1,6 @@
1
1
  import { MetaData } from './MetaData';
2
2
  import { Tour } from './Tour';
3
- export declare type Tours = {
3
+ export type Tours = {
4
4
  metadata: MetaData;
5
5
  data: {
6
6
  tours: Array<Tour>;