@tripian/model 4.6.0 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +8 -0
  70. package/api/v4/requests/PlanUpdateRequest.d.ts +5 -0
  71. package/api/v4/requests/PoisRequest.d.ts +17 -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,33 +1,33 @@
1
- export * from './CatalogGroup';
2
- export * from './Category';
3
- export * from './Categories';
4
- export * from './MetaData';
5
- export * from './PaymentConfiguration';
6
- export * from './PaymentConfigurations';
7
- export * from './Tour';
8
- export * from './TourAvailability';
9
- export * from './TourAvailabilities';
10
- export * from './TourBookingInfo';
11
- export * from './TourBookingInfos';
12
- export * from './TourBooking';
13
- export * from './TourBookingCart';
14
- export * from './TourBookingCarts';
15
- export * from './TourBookingCartRequest';
16
- export * from './TourBookings';
17
- export * from './TourBookingRequest';
18
- export * from './TourCategories';
19
- export * from './TourCoordinates';
20
- export * from './TourDateRange';
21
- export * from './TourDurations';
22
- export * from './TourLocations';
23
- export * from './TourPictures';
24
- export * from './TourPrice';
25
- export * from './TourShoppingFormData';
26
- export * from './TourOptionDetails';
27
- export * from './TourOptionPricing';
28
- export * from './TourOptionPricings';
29
- export * from './TourOption';
30
- export * from './TourOptions';
31
- export * from './TourViewport';
32
- export * from './TourReservationDetails';
33
- export * from './Tours';
1
+ export * from './CatalogGroup';
2
+ export * from './Category';
3
+ export * from './Categories';
4
+ export * from './MetaData';
5
+ export * from './PaymentConfiguration';
6
+ export * from './PaymentConfigurations';
7
+ export * from './Tour';
8
+ export * from './TourAvailability';
9
+ export * from './TourAvailabilities';
10
+ export * from './TourBookingInfo';
11
+ export * from './TourBookingInfos';
12
+ export * from './TourBooking';
13
+ export * from './TourBookingCart';
14
+ export * from './TourBookingCarts';
15
+ export * from './TourBookingCartRequest';
16
+ export * from './TourBookings';
17
+ export * from './TourBookingRequest';
18
+ export * from './TourCategories';
19
+ export * from './TourCoordinates';
20
+ export * from './TourDateRange';
21
+ export * from './TourDurations';
22
+ export * from './TourLocations';
23
+ export * from './TourPictures';
24
+ export * from './TourPrice';
25
+ export * from './TourShoppingFormData';
26
+ export * from './TourOptionDetails';
27
+ export * from './TourOptionPricing';
28
+ export * from './TourOptionPricings';
29
+ export * from './TourOption';
30
+ export * from './TourOptions';
31
+ export * from './TourViewport';
32
+ export * from './TourReservationDetails';
33
+ export * from './Tours';
@@ -1,5 +1,5 @@
1
- import * as Yelp from './yelp';
2
- import * as Glx from './glx';
3
- import * as Gyg from './gyg';
4
- import * as Bb from './bb';
5
- export { Yelp, Glx, Gyg, Bb };
1
+ import * as Yelp from './yelp';
2
+ import * as Glx from './glx';
3
+ import * as Gyg from './gyg';
4
+ import * as Bb from './bb';
5
+ export { Yelp, Glx, Gyg, Bb };
@@ -1,31 +1,31 @@
1
- export declare type Business = {
2
- id: string;
3
- alias: string;
4
- name: string;
5
- image_url: string;
6
- is_closed: boolean;
7
- url: string;
8
- review_count: number;
9
- categories: Array<{
10
- alias: string;
11
- title: string;
12
- }>;
13
- rating: number;
14
- coordinates: {
15
- latitude: number;
16
- longitude: number;
17
- };
18
- transactions: Array<string>;
19
- location: {
20
- address1?: string | null;
21
- address2?: string | null;
22
- address3?: string | null;
23
- city: string;
24
- zip_code: string;
25
- country: string;
26
- state: string;
27
- display_address: Array<string>;
28
- };
29
- phone: string;
30
- display_phone: string;
31
- };
1
+ export declare type Business = {
2
+ id: string;
3
+ alias: string;
4
+ name: string;
5
+ image_url: string;
6
+ is_closed: boolean;
7
+ url: string;
8
+ review_count: number;
9
+ categories: Array<{
10
+ alias: string;
11
+ title: string;
12
+ }>;
13
+ rating: number;
14
+ coordinates: {
15
+ latitude: number;
16
+ longitude: number;
17
+ };
18
+ transactions: Array<string>;
19
+ location: {
20
+ address1?: string | null;
21
+ address2?: string | null;
22
+ address3?: string | null;
23
+ city: string;
24
+ zip_code: string;
25
+ country: string;
26
+ state: string;
27
+ display_address: Array<string>;
28
+ };
29
+ phone: string;
30
+ display_phone: string;
31
+ };
@@ -1,10 +1,10 @@
1
- export declare type Hold = {
2
- cancellation_policy: string;
3
- credit_card_hold: boolean;
4
- expires_at: number;
5
- hold_id: string;
6
- is_editable: boolean;
7
- last_cancellation_date: number;
8
- notes: string;
9
- reserve_url: string;
10
- };
1
+ export declare type Hold = {
2
+ cancellation_policy: string;
3
+ credit_card_hold: boolean;
4
+ expires_at: number;
5
+ hold_id: string;
6
+ is_editable: boolean;
7
+ last_cancellation_date: number;
8
+ notes: string;
9
+ reserve_url: string;
10
+ };
@@ -1,7 +1,7 @@
1
- export declare type HoldRequest = {
2
- businessId: string;
3
- date: string;
4
- time: string;
5
- covers: number;
6
- uniqueId: string;
7
- };
1
+ export declare type HoldRequest = {
2
+ businessId: string;
3
+ date: string;
4
+ time: string;
5
+ covers: number;
6
+ uniqueId: string;
7
+ };
@@ -1,5 +1,5 @@
1
- import { OpeningTime } from './OpeningTime';
2
- export declare type Opening = {
3
- date: string;
4
- times: OpeningTime[];
5
- };
1
+ import { OpeningTime } from './OpeningTime';
2
+ export declare type Opening = {
3
+ date: string;
4
+ times: OpeningTime[];
5
+ };
@@ -1,4 +1,4 @@
1
- export declare type OpeningTime = {
2
- credit_card_required: boolean;
3
- time: string;
4
- };
1
+ export declare type OpeningTime = {
2
+ credit_card_required: boolean;
3
+ time: string;
4
+ };
@@ -1,4 +1,4 @@
1
- import { Opening } from './Opening';
2
- export declare type Openings = {
3
- reservation_times: Opening[];
4
- };
1
+ import { Opening } from './Opening';
2
+ export declare type Openings = {
3
+ reservation_times: Opening[];
4
+ };
@@ -1,6 +1,6 @@
1
- export declare type OpeningsRequest = {
2
- businessId: string;
3
- date: string;
4
- time: string;
5
- covers: number;
6
- };
1
+ export declare type OpeningsRequest = {
2
+ businessId: string;
3
+ date: string;
4
+ time: string;
5
+ covers: number;
6
+ };
@@ -1,5 +1,5 @@
1
- export declare type Reservation = {
2
- confirmation_url: string;
3
- notes: string;
4
- reservation_id: string;
5
- };
1
+ export declare type Reservation = {
2
+ confirmation_url: string;
3
+ notes: string;
4
+ reservation_id: string;
5
+ };
@@ -1,8 +1,8 @@
1
- import { ReservationRequest } from './ReservationRequest';
2
- export declare type ReservationInfo = {
3
- confirm_url: string;
4
- reservation_id: string;
5
- reservation_details: ReservationRequest;
6
- restaurant_name: string;
7
- restaurant_image: string;
8
- };
1
+ import { ReservationRequest } from './ReservationRequest';
2
+ export declare type ReservationInfo = {
3
+ confirm_url: string;
4
+ reservation_id: string;
5
+ reservation_details: ReservationRequest;
6
+ restaurant_name: string;
7
+ restaurant_image: string;
8
+ };
@@ -1,12 +1,12 @@
1
- export declare type ReservationRequest = {
2
- businessId: string;
3
- date: string;
4
- time: string;
5
- covers: number;
6
- uniqueId: string;
7
- holdId: string;
8
- firstName: string;
9
- lastName: string;
10
- email: string;
11
- phone: string;
12
- };
1
+ export declare type ReservationRequest = {
2
+ businessId: string;
3
+ date: string;
4
+ time: string;
5
+ covers: number;
6
+ uniqueId: string;
7
+ holdId: string;
8
+ firstName: string;
9
+ lastName: string;
10
+ email: string;
11
+ phone: string;
12
+ };
@@ -1,6 +1,6 @@
1
- export declare type ReservationStatusResponse = {
2
- active: boolean;
3
- date: string;
4
- time: string;
5
- covers: number;
6
- };
1
+ export declare type ReservationStatusResponse = {
2
+ active: boolean;
3
+ date: string;
4
+ time: string;
5
+ covers: number;
6
+ };
@@ -1,10 +1,10 @@
1
- export * from './Business';
2
- export * from './Hold';
3
- export * from './HoldRequest';
4
- export * from './Openings';
5
- export * from './OpeningsRequest';
6
- export * from './OpeningTime';
7
- export * from './Reservation';
8
- export * from './ReservationInfo';
9
- export * from './ReservationRequest';
10
- export * from './ReservationStatusResponse';
1
+ export * from './Business';
2
+ export * from './Hold';
3
+ export * from './HoldRequest';
4
+ export * from './Openings';
5
+ export * from './OpeningsRequest';
6
+ export * from './OpeningTime';
7
+ export * from './Reservation';
8
+ export * from './ReservationInfo';
9
+ export * from './ReservationRequest';
10
+ export * from './ReservationStatusResponse';
@@ -1,5 +0,0 @@
1
- export declare enum REACTION {
2
- THUMBS_UP = "THUMBS UP",
3
- THUMBS_DOWN = "THUMBS DOWN",
4
- NEUTRAL = "NEUTRAL"
5
- }
@@ -1,5 +0,0 @@
1
- export declare enum TRIP_PROFILE_PACE {
2
- SLOW = "SLOW",
3
- MODERATE = "NORMAL",
4
- PACKED = "FAST"
5
- }
@@ -1,7 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
1
- import { BookingProduct } from './BookingProduct';
2
- export declare type Booking = {
3
- product: BookingProduct;
4
- provider_id: number;
5
- provider_name: string;
6
- };
@@ -1,6 +0,0 @@
1
- export declare type Favorite = {
2
- city_id: number;
3
- id: number;
4
- poi_id: number;
5
- trip_hash: string | null;
6
- };
@@ -1,6 +0,0 @@
1
- import { SubOption } from './SubOption';
2
- export declare type Option = {
3
- id: number;
4
- name: string;
5
- sub_options: null | Array<SubOption>;
6
- };
@@ -1,4 +0,0 @@
1
- export declare type PoiCategoryParent = {
2
- id: number | null;
3
- name: string | null;
4
- };
@@ -1,4 +0,0 @@
1
- export declare type PoiHours = {
2
- day: string;
3
- clock: string[];
4
- };
@@ -1,10 +0,0 @@
1
- import { Option } from './Option';
2
- export declare type Question = {
3
- category: string;
4
- id: number;
5
- name: string;
6
- options: Array<Option>;
7
- order: number;
8
- select_multiple: boolean;
9
- skippable: boolean;
10
- };
@@ -1,4 +0,0 @@
1
- export declare type StepHours = {
2
- from: string | null;
3
- to: string | null;
4
- };
@@ -1,4 +0,0 @@
1
- export declare type SubOption = {
2
- id: number;
3
- name: string;
4
- };
@@ -1,5 +0,0 @@
1
- export declare type TasteItemImage = {
2
- height: number | null;
3
- url: string;
4
- width: number | null;
5
- };
@@ -1,13 +0,0 @@
1
- export declare type TokenPayload = {
2
- auth_time: number;
3
- client_id: string;
4
- event_id: string;
5
- exp: number;
6
- iat: number;
7
- iss: string;
8
- jti: string;
9
- scope: string;
10
- sub: string;
11
- token_use: string;
12
- username: string;
13
- };
@@ -1,5 +0,0 @@
1
- export declare type TokenRefresh = {
2
- access_token: string;
3
- expires_in: number;
4
- token_type: string;
5
- };
@@ -1,14 +0,0 @@
1
- import { Accommodation } from './Accommodation';
2
- export declare type TripProfile = {
3
- accommodation: Accommodation | null;
4
- answers: Array<number>;
5
- arrival_datetime: string;
6
- city_id: number;
7
- companion_ids: Array<number>;
8
- departure_datetime: string;
9
- do_not_generate: number;
10
- number_of_adults: number;
11
- number_of_children: number | null;
12
- owner: string | null;
13
- pace: string | null;
14
- };
@@ -1,8 +0,0 @@
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
- };
@@ -1,4 +0,0 @@
1
- export declare type UserProfile = {
2
- age: number | null;
3
- answers: Array<number>;
4
- };
@@ -1,12 +0,0 @@
1
- import { REACTION } from '../enums/REACTION';
2
- import { REACTION_COMMENT } from '../enums/REACTION_COMMENT';
3
- export declare type UserReaction = {
4
- comment?: REACTION_COMMENT;
5
- created_at?: string | null;
6
- id: number;
7
- poi_id: number;
8
- reaction: REACTION;
9
- step_id: number;
10
- trip_hash: string;
11
- updated_at?: string | null;
12
- };
@@ -1,10 +0,0 @@
1
- export declare type UserReservation = {
2
- created_at?: string | null;
3
- id: number;
4
- key: string;
5
- trip_hash?: string | null;
6
- poi_id: number;
7
- provider: string;
8
- updated_at?: string | null;
9
- value: Object;
10
- };
@@ -1,7 +0,0 @@
1
- export declare type Device = {
2
- bundle_id: string | null;
3
- device_id: string | null;
4
- device_os: string | null;
5
- firebase_token: string | null;
6
- os_version: string | null;
7
- };
@@ -1,4 +0,0 @@
1
- export declare type FavoriteRequest = {
2
- poi_id: number;
3
- trip_hash: string | null;
4
- };
@@ -1,4 +0,0 @@
1
- export declare type FavoriteUpdateRequest = {
2
- poi_id: number;
3
- trip_hash: string;
4
- };
@@ -1,6 +0,0 @@
1
- import { Device } from './Device';
2
- export declare type LoginRequestEmail = {
3
- device?: Device;
4
- email: string;
5
- password: string;
6
- };
@@ -1,5 +0,0 @@
1
- import { Device } from './Device';
2
- export declare type LoginRequestTripHash = {
3
- device?: Device;
4
- trip_hash: string;
5
- };
@@ -1,5 +0,0 @@
1
- import { Device } from './Device';
2
- export declare type LoginRequestUsername = {
3
- device?: Device;
4
- login_user: string;
5
- };
@@ -1,5 +0,0 @@
1
- export declare type PlanUpdateRequest = {
2
- end_time?: string | null;
3
- orders?: Array<number>;
4
- start_time?: string | null;
5
- };
@@ -1,12 +0,0 @@
1
- export declare type PoisRequest = {
2
- city_id?: number;
3
- coordinate?: string;
4
- distance?: number;
5
- must_try_ids?: string;
6
- page?: number;
7
- poi_ids?: string;
8
- poi_categories?: string;
9
- search?: string;
10
- limit?: number;
11
- bounds?: string;
12
- };
@@ -1,8 +0,0 @@
1
- import { Coordinate } from '../models/Coordinate';
2
- export declare type PoisRequestCoordinate = {
3
- poiCategories?: number[];
4
- coordinate?: Coordinate;
5
- distance?: number;
6
- bounds?: string;
7
- limit: number;
8
- };
@@ -1,14 +0,0 @@
1
- import { Coordinate } from '../models/Coordinate';
2
- export declare type RecommendationRequest = {
3
- hash?: string;
4
- cityId?: number;
5
- coordinate?: Coordinate;
6
- answers?: number[];
7
- poiCategoryIds?: number[];
8
- adults?: number;
9
- children?: number;
10
- adultAgeAverage?: number;
11
- childrenAgeAverage?: number;
12
- limit?: number;
13
- page?: number;
14
- };
@@ -1,8 +0,0 @@
1
- import { UserProfile } from '../models/UserProfile';
2
- export declare type RegisterRequestEmail = {
3
- email: string;
4
- first_name: string | null;
5
- last_name: string | null;
6
- password: string;
7
- profile: UserProfile;
8
- };
@@ -1,7 +0,0 @@
1
- import { UserProfile } from '../models/UserProfile';
2
- export declare type RegisterRequestUsername = {
3
- first_name: string | null;
4
- last_name: string | null;
5
- login_user: string;
6
- profile: UserProfile;
7
- };
@@ -1,5 +0,0 @@
1
- export declare type StepRequest = {
2
- order?: number;
3
- plan_id: number;
4
- poi_id: number;
5
- };
@@ -1,4 +0,0 @@
1
- export declare type StepUpdateRequest = {
2
- order?: number;
3
- poi_id: number;
4
- };
@@ -1,3 +0,0 @@
1
- export declare type TokenRefreshRequest = {
2
- refresh_token: string;
3
- };
@@ -1,4 +0,0 @@
1
- export declare type UserProfileRequest = {
2
- age?: number | null;
3
- answers?: number[];
4
- };
@@ -1,8 +0,0 @@
1
- import { REACTION } from '../enums/REACTION';
2
- import { REACTION_COMMENT } from '../enums/REACTION_COMMENT';
3
- export declare type UserReactionRequest = {
4
- comment?: REACTION_COMMENT;
5
- poi_id: number;
6
- reaction: REACTION;
7
- step_id: number;
8
- };
@@ -1,7 +0,0 @@
1
- import { UserProfileRequest } from './UserProfileRequest';
2
- export declare type UserUpdateRequest = {
3
- first_name?: string | null;
4
- last_name?: string | null;
5
- password?: string;
6
- profile?: UserProfileRequest;
7
- };
@@ -1,6 +0,0 @@
1
- export declare type ErrorResponse = {
2
- data: null;
3
- success: false;
4
- status: number;
5
- message: string;
6
- };