@tripian/model 4.3.0 → 4.6.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 (157) hide show
  1. package/api/v3/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
  2. package/api/v3/enums/POI_CATEGORY_GROUP.d.ts +7 -7
  3. package/api/v3/enums/PROVIDER_ID.d.ts +7 -7
  4. package/api/v3/enums/PROVIDER_NAME.d.ts +7 -7
  5. package/api/v3/enums/REACTION.d.ts +5 -5
  6. package/api/v3/enums/REACTION_COMMENT.d.ts +4 -4
  7. package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +5 -5
  8. package/api/v3/index.d.ts +69 -69
  9. package/api/v3/models/Accommodation.d.ts +7 -7
  10. package/api/v3/models/Booking.d.ts +6 -6
  11. package/api/v3/models/BookingProduct.d.ts +13 -13
  12. package/api/v3/models/City.d.ts +15 -15
  13. package/api/v3/models/Companion.d.ts +8 -8
  14. package/api/v3/models/Continent.d.ts +3 -3
  15. package/api/v3/models/Coordinate.d.ts +4 -4
  16. package/api/v3/models/Country.d.ts +6 -6
  17. package/api/v3/models/Favorite.d.ts +6 -6
  18. package/api/v3/models/HourFormat.d.ts +4 -4
  19. package/api/v3/models/Image.d.ts +7 -7
  20. package/api/v3/models/ImageOwner.d.ts +5 -5
  21. package/api/v3/models/Option.d.ts +6 -6
  22. package/api/v3/models/Plan.d.ts +9 -9
  23. package/api/v3/models/Poi.d.ts +33 -33
  24. package/api/v3/models/PoiCategory.d.ts +7 -7
  25. package/api/v3/models/PoiCategoryGroup.d.ts +5 -5
  26. package/api/v3/models/PoiCategoryParent.d.ts +4 -4
  27. package/api/v3/models/PoiHours.d.ts +4 -4
  28. package/api/v3/models/PoiReference.d.ts +10 -10
  29. package/api/v3/models/Question.d.ts +10 -10
  30. package/api/v3/models/Recommendation.d.ts +5 -5
  31. package/api/v3/models/Step.d.ts +10 -10
  32. package/api/v3/models/StepHours.d.ts +4 -4
  33. package/api/v3/models/SubOption.d.ts +4 -4
  34. package/api/v3/models/TasteItem.d.ts +7 -7
  35. package/api/v3/models/TasteItemImage.d.ts +5 -5
  36. package/api/v3/models/Token.d.ts +4 -4
  37. package/api/v3/models/TokenPayload.d.ts +13 -13
  38. package/api/v3/models/TokenRefresh.d.ts +5 -5
  39. package/api/v3/models/TopTen.d.ts +6 -6
  40. package/api/v3/models/Trip.d.ts +5 -5
  41. package/api/v3/models/TripProfile.d.ts +14 -14
  42. package/api/v3/models/TripReference.d.ts +8 -8
  43. package/api/v3/models/User.d.ts +8 -8
  44. package/api/v3/models/UserProfile.d.ts +4 -4
  45. package/api/v3/models/UserReaction.d.ts +12 -12
  46. package/api/v3/models/UserReservation.d.ts +10 -10
  47. package/api/v3/requests/CompanionRequest.d.ts +6 -6
  48. package/api/v3/requests/Device.d.ts +7 -7
  49. package/api/v3/requests/FavoriteRequest.d.ts +4 -4
  50. package/api/v3/requests/FavoriteUpdateRequest.d.ts +4 -4
  51. package/api/v3/requests/LoginRequestEmail.d.ts +6 -6
  52. package/api/v3/requests/LoginRequestTripHash.d.ts +5 -5
  53. package/api/v3/requests/LoginRequestUsername.d.ts +5 -5
  54. package/api/v3/requests/PlanUpdateRequest.d.ts +5 -5
  55. package/api/v3/requests/PoisRequest.d.ts +12 -12
  56. package/api/v3/requests/PoisRequestCoordinate.d.ts +8 -8
  57. package/api/v3/requests/PoisRequestMustTry.d.ts +5 -5
  58. package/api/v3/requests/PoisRequestName.d.ts +7 -7
  59. package/api/v3/requests/RecommendationRequest.d.ts +14 -14
  60. package/api/v3/requests/RegisterRequestEmail.d.ts +8 -8
  61. package/api/v3/requests/RegisterRequestUsername.d.ts +7 -7
  62. package/api/v3/requests/StepRequest.d.ts +5 -5
  63. package/api/v3/requests/StepUpdateRequest.d.ts +4 -4
  64. package/api/v3/requests/TokenRefreshRequest.d.ts +3 -3
  65. package/api/v3/requests/UserProfileRequest.d.ts +4 -4
  66. package/api/v3/requests/UserReactionRequest.d.ts +8 -8
  67. package/api/v3/requests/UserReservationRequest.d.ts +7 -7
  68. package/api/v3/requests/UserUpdateRequest.d.ts +7 -7
  69. package/api/v3/responses/DataPayload.d.ts +5 -5
  70. package/api/v3/responses/ErrorResponse.d.ts +6 -6
  71. package/api/v3/responses/Pagination.d.ts +9 -9
  72. package/api/v3/responses/PaginationLinks.d.ts +4 -4
  73. package/api/v3/responses/SuccessResponse.d.ts +8 -8
  74. package/helper/index.d.ts +37 -37
  75. package/helper/plural.d.ts +1 -1
  76. package/index.d.ts +4 -4
  77. package/index.js +1 -1
  78. package/index.js.map +1 -1
  79. package/package.json +21 -21
  80. package/providers/bb/ACTIVITY_THEMES.d.ts +14 -14
  81. package/providers/bb/Activity.d.ts +11 -11
  82. package/providers/bb/ActivityInfo.d.ts +16 -16
  83. package/providers/bb/ActivityInfoImage.d.ts +7 -7
  84. package/providers/bb/ActivityInfoLocation.d.ts +4 -4
  85. package/providers/bb/ActivityPoint.d.ts +9 -9
  86. package/providers/bb/AuthorizationResponse.d.ts +48 -48
  87. package/providers/bb/Offer.d.ts +58 -58
  88. package/providers/bb/OfferPoint.d.ts +6 -6
  89. package/providers/bb/Product.d.ts +19 -19
  90. package/providers/bb/SearchAccommodationResponse.d.ts +119 -119
  91. package/providers/bb/SearchActivitiesResponse.d.ts +20 -20
  92. package/providers/bb/SearchCarRentResponse.d.ts +99 -0
  93. package/providers/bb/index.d.ts +13 -12
  94. package/providers/glx/Booking.d.ts +16 -16
  95. package/providers/glx/BookingContact.d.ts +7 -7
  96. package/providers/glx/BookingInformation.d.ts +4 -4
  97. package/providers/glx/BookingLocation.d.ts +5 -5
  98. package/providers/glx/BookingPrice.d.ts +23 -23
  99. package/providers/glx/BookingRef.d.ts +24 -24
  100. package/providers/glx/BookingSearchResult.d.ts +10 -10
  101. package/providers/glx/BookingSearchResultAggregation.d.ts +18 -18
  102. package/providers/glx/BookingSubCategory.d.ts +4 -4
  103. package/providers/glx/BookingSupplier.d.ts +4 -4
  104. package/providers/glx/Catalog.d.ts +4 -4
  105. package/providers/glx/CatalogGroup.d.ts +10 -10
  106. package/providers/glx/Token.d.ts +5 -5
  107. package/providers/glx/TourRating.d.ts +5 -5
  108. package/providers/glx/TourReview.d.ts +6 -6
  109. package/providers/glx/index.d.ts +15 -15
  110. package/providers/gyg/CatalogGroup.d.ts +5 -5
  111. package/providers/gyg/Categories.d.ts +8 -8
  112. package/providers/gyg/Category.d.ts +6 -6
  113. package/providers/gyg/MetaData.d.ts +15 -15
  114. package/providers/gyg/PaymentConfiguration.d.ts +8 -8
  115. package/providers/gyg/PaymentConfigurations.d.ts +8 -8
  116. package/providers/gyg/Tour.d.ts +36 -36
  117. package/providers/gyg/TourAvailabilities.d.ts +8 -8
  118. package/providers/gyg/TourAvailability.d.ts +7 -7
  119. package/providers/gyg/TourBooking.d.ts +10 -10
  120. package/providers/gyg/TourBookingCart.d.ts +81 -81
  121. package/providers/gyg/TourBookingCartRequest.d.ts +49 -49
  122. package/providers/gyg/TourBookingCartWithDetails.d.ts +6 -6
  123. package/providers/gyg/TourBookingCarts.d.ts +6 -6
  124. package/providers/gyg/TourBookingInfo.d.ts +37 -37
  125. package/providers/gyg/TourBookingInfos.d.ts +8 -8
  126. package/providers/gyg/TourBookingRequest.d.ts +26 -26
  127. package/providers/gyg/TourBookings.d.ts +8 -8
  128. package/providers/gyg/TourCategories.d.ts +5 -5
  129. package/providers/gyg/TourCoordinates.d.ts +4 -4
  130. package/providers/gyg/TourDateRange.d.ts +4 -4
  131. package/providers/gyg/TourDurations.d.ts +4 -4
  132. package/providers/gyg/TourLocations.d.ts +13 -13
  133. package/providers/gyg/TourOption.d.ts +34 -34
  134. package/providers/gyg/TourOptionDetails.d.ts +8 -8
  135. package/providers/gyg/TourOptionPricing.d.ts +20 -20
  136. package/providers/gyg/TourOptionPricings.d.ts +8 -8
  137. package/providers/gyg/TourOptions.d.ts +8 -8
  138. package/providers/gyg/TourPictures.d.ts +6 -6
  139. package/providers/gyg/TourPrice.d.ts +11 -11
  140. package/providers/gyg/TourReservationDetails.d.ts +6 -6
  141. package/providers/gyg/TourShoppingFormData.d.ts +20 -20
  142. package/providers/gyg/TourViewport.d.ts +6 -6
  143. package/providers/gyg/Tours.d.ts +8 -8
  144. package/providers/gyg/index.d.ts +33 -33
  145. package/providers/index.d.ts +5 -5
  146. package/providers/yelp/Business.d.ts +31 -31
  147. package/providers/yelp/Hold.d.ts +10 -10
  148. package/providers/yelp/HoldRequest.d.ts +7 -7
  149. package/providers/yelp/Opening.d.ts +5 -5
  150. package/providers/yelp/OpeningTime.d.ts +4 -4
  151. package/providers/yelp/Openings.d.ts +4 -4
  152. package/providers/yelp/OpeningsRequest.d.ts +6 -6
  153. package/providers/yelp/Reservation.d.ts +5 -5
  154. package/providers/yelp/ReservationInfo.d.ts +8 -8
  155. package/providers/yelp/ReservationRequest.d.ts +12 -12
  156. package/providers/yelp/ReservationStatusResponse.d.ts +6 -6
  157. package/providers/yelp/index.d.ts +10 -10
@@ -1,3 +1,3 @@
1
- export declare enum BOOKING_PRODUCT_INFO {
2
- TICKET = "ticket"
3
- }
1
+ export declare enum BOOKING_PRODUCT_INFO {
2
+ TICKET = "ticket"
3
+ }
@@ -1,7 +1,7 @@
1
- export declare enum POI_CATEGORY_GROUP {
2
- ATTRACTION = "Attractions",
3
- RESTAURANT = "Restaurants",
4
- CAFE = "Cafes",
5
- NIGHTLIFE = "Nightlife",
6
- UNKNOWN = "Unknown"
7
- }
1
+ export declare enum POI_CATEGORY_GROUP {
2
+ ATTRACTION = "Attractions",
3
+ RESTAURANT = "Restaurants",
4
+ CAFE = "Cafes",
5
+ NIGHTLIFE = "Nightlife",
6
+ UNKNOWN = "Unknown"
7
+ }
@@ -1,7 +1,7 @@
1
- export declare enum PROVIDER_ID {
2
- YELP = 2,
3
- GLX = 3,
4
- GYG = 4,
5
- OPEN_TABLE = 5,
6
- BOOK_BARBADOS = 6
7
- }
1
+ export declare enum PROVIDER_ID {
2
+ YELP = 2,
3
+ GLX = 3,
4
+ GYG = 4,
5
+ OPEN_TABLE = 5,
6
+ BOOK_BARBADOS = 6
7
+ }
@@ -1,7 +1,7 @@
1
- export declare enum PROVIDER_NAME {
2
- YELP = "Yelp",
3
- GLX = "Glx",
4
- GYG = "Gyg",
5
- OPEN_TABLE = "OpenTable",
6
- BOOK_BARBADOS = "BookBarbados"
7
- }
1
+ export declare enum PROVIDER_NAME {
2
+ YELP = "Yelp",
3
+ GLX = "Glx",
4
+ GYG = "Gyg",
5
+ OPEN_TABLE = "OpenTable",
6
+ BOOK_BARBADOS = "BookBarbados"
7
+ }
@@ -1,5 +1,5 @@
1
- export declare enum REACTION {
2
- THUMBS_UP = "THUMBS UP",
3
- THUMBS_DOWN = "THUMBS DOWN",
4
- NEUTRAL = "NEUTRAL"
5
- }
1
+ export declare enum REACTION {
2
+ THUMBS_UP = "THUMBS UP",
3
+ THUMBS_DOWN = "THUMBS DOWN",
4
+ NEUTRAL = "NEUTRAL"
5
+ }
@@ -1,4 +1,4 @@
1
- export declare enum REACTION_COMMENT {
2
- I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
3
- I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
4
- }
1
+ export declare enum REACTION_COMMENT {
2
+ I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
3
+ I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
4
+ }
@@ -1,5 +1,5 @@
1
- export declare enum TRIP_PROFILE_PACE {
2
- SLOW = "SLOW",
3
- MODERATE = "NORMAL",
4
- PACKED = "FAST"
5
- }
1
+ export declare enum TRIP_PROFILE_PACE {
2
+ SLOW = "SLOW",
3
+ MODERATE = "NORMAL",
4
+ PACKED = "FAST"
5
+ }
package/api/v3/index.d.ts CHANGED
@@ -1,69 +1,69 @@
1
- export * from './models/Accommodation';
2
- export * from './enums/BOOKING_PRODUCT_INFO';
3
- export * from './models/Booking';
4
- export * from './models/BookingProduct';
5
- export * from './models/City';
6
- export * from './models/Companion';
7
- export * from './requests/CompanionRequest';
8
- export * from './models/Continent';
9
- export * from './models/Coordinate';
10
- export * from './models/Country';
11
- export * from './responses/DataPayload';
12
- export * from './requests/Device';
13
- export * from './responses/ErrorResponse';
14
- export * from './models/Favorite';
15
- export * from './requests/FavoriteRequest';
16
- export * from './requests/FavoriteUpdateRequest';
17
- export * from './models/Image';
18
- export * from './models/ImageOwner';
19
- export * from './models/TopTen';
20
- export * from './requests/LoginRequestEmail';
21
- export * from './requests/LoginRequestTripHash';
22
- export * from './requests/LoginRequestUsername';
23
- export * from './models/Option';
24
- export * from './responses/Pagination';
25
- export * from './responses/PaginationLinks';
26
- export * from './models/Plan';
27
- export * from './requests/PlanUpdateRequest';
28
- export * from './models/Poi';
29
- export * from './enums/POI_CATEGORY_GROUP';
30
- export * from './models/PoiCategory';
31
- export * from './models/PoiHours';
32
- export * from './models/PoiReference';
33
- export * from './requests/PoisRequest';
34
- export * from './requests/PoisRequestCoordinate';
35
- export * from './requests/PoisRequestMustTry';
36
- export * from './requests/PoisRequestName';
37
- export * from './enums/PROVIDER_ID';
38
- export * from './enums/PROVIDER_NAME';
39
- export * from './models/Question';
40
- export * from './enums/REACTION_COMMENT';
41
- export * from './enums/REACTION';
42
- export * from './models/Recommendation';
43
- export * from './requests/RecommendationRequest';
44
- export * from './requests/RegisterRequestEmail';
45
- export * from './requests/RegisterRequestUsername';
46
- export * from './models/Step';
47
- export * from './models/StepHours';
48
- export * from './requests/StepRequest';
49
- export * from './requests/StepUpdateRequest';
50
- export * from './models/SubOption';
51
- export * from './responses/SuccessResponse';
52
- export * from './models/TasteItem';
53
- export * from './models/TasteItemImage';
54
- export * from './models/Token';
55
- export * from './models/TokenPayload';
56
- export * from './models/TokenRefresh';
57
- export * from './requests/TokenRefreshRequest';
58
- export * from './enums/TRIP_PROFILE_PACE';
59
- export * from './models/Trip';
60
- export * from './models/TripProfile';
61
- export * from './models/TripReference';
62
- export * from './models/User';
63
- export * from './models/UserProfile';
64
- export * from './requests/UserProfileRequest';
65
- export * from './models/UserReaction';
66
- export * from './requests/UserReactionRequest';
67
- export * from './models/UserReservation';
68
- export * from './requests/UserReservationRequest';
69
- export * from './requests/UserUpdateRequest';
1
+ export * from './models/Accommodation';
2
+ export * from './enums/BOOKING_PRODUCT_INFO';
3
+ export * from './models/Booking';
4
+ export * from './models/BookingProduct';
5
+ export * from './models/City';
6
+ export * from './models/Companion';
7
+ export * from './requests/CompanionRequest';
8
+ export * from './models/Continent';
9
+ export * from './models/Coordinate';
10
+ export * from './models/Country';
11
+ export * from './responses/DataPayload';
12
+ export * from './requests/Device';
13
+ export * from './responses/ErrorResponse';
14
+ export * from './models/Favorite';
15
+ export * from './requests/FavoriteRequest';
16
+ export * from './requests/FavoriteUpdateRequest';
17
+ export * from './models/Image';
18
+ export * from './models/ImageOwner';
19
+ export * from './models/TopTen';
20
+ export * from './requests/LoginRequestEmail';
21
+ export * from './requests/LoginRequestTripHash';
22
+ export * from './requests/LoginRequestUsername';
23
+ export * from './models/Option';
24
+ export * from './responses/Pagination';
25
+ export * from './responses/PaginationLinks';
26
+ export * from './models/Plan';
27
+ export * from './requests/PlanUpdateRequest';
28
+ export * from './models/Poi';
29
+ export * from './enums/POI_CATEGORY_GROUP';
30
+ export * from './models/PoiCategory';
31
+ export * from './models/PoiHours';
32
+ export * from './models/PoiReference';
33
+ export * from './requests/PoisRequest';
34
+ export * from './requests/PoisRequestCoordinate';
35
+ export * from './requests/PoisRequestMustTry';
36
+ export * from './requests/PoisRequestName';
37
+ export * from './enums/PROVIDER_ID';
38
+ export * from './enums/PROVIDER_NAME';
39
+ export * from './models/Question';
40
+ export * from './enums/REACTION_COMMENT';
41
+ export * from './enums/REACTION';
42
+ export * from './models/Recommendation';
43
+ export * from './requests/RecommendationRequest';
44
+ export * from './requests/RegisterRequestEmail';
45
+ export * from './requests/RegisterRequestUsername';
46
+ export * from './models/Step';
47
+ export * from './models/StepHours';
48
+ export * from './requests/StepRequest';
49
+ export * from './requests/StepUpdateRequest';
50
+ export * from './models/SubOption';
51
+ export * from './responses/SuccessResponse';
52
+ export * from './models/TasteItem';
53
+ export * from './models/TasteItemImage';
54
+ export * from './models/Token';
55
+ export * from './models/TokenPayload';
56
+ export * from './models/TokenRefresh';
57
+ export * from './requests/TokenRefreshRequest';
58
+ export * from './enums/TRIP_PROFILE_PACE';
59
+ export * from './models/Trip';
60
+ export * from './models/TripProfile';
61
+ export * from './models/TripReference';
62
+ export * from './models/User';
63
+ export * from './models/UserProfile';
64
+ export * from './requests/UserProfileRequest';
65
+ export * from './models/UserReaction';
66
+ export * from './requests/UserReactionRequest';
67
+ export * from './models/UserReservation';
68
+ export * from './requests/UserReservationRequest';
69
+ export * from './requests/UserUpdateRequest';
@@ -1,7 +1,7 @@
1
- import { Coordinate } from './Coordinate';
2
- export declare type Accommodation = {
3
- address?: string | null;
4
- coordinate?: Coordinate | null;
5
- name?: string | null;
6
- ref_id?: string | null;
7
- };
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 +1,6 @@
1
- import { BookingProduct } from './BookingProduct';
2
- export declare type Booking = {
3
- product: BookingProduct;
4
- provider_id: number;
5
- provider_name: string;
6
- };
1
+ import { BookingProduct } from './BookingProduct';
2
+ export declare type Booking = {
3
+ product: BookingProduct;
4
+ provider_id: number;
5
+ provider_name: string;
6
+ };
@@ -1,13 +1,13 @@
1
- export declare type BookingProduct = {
2
- info?: string[] | null;
3
- currency: string | null;
4
- duration: string | null;
5
- id: string;
6
- image: string | null;
7
- price: number | null;
8
- price_description: string | null;
9
- rating: number | null;
10
- rating_count: number | null;
11
- title: string;
12
- url: string | null;
13
- };
1
+ export declare type BookingProduct = {
2
+ info?: string[] | null;
3
+ currency: string | null;
4
+ duration: string | null;
5
+ id: string;
6
+ image: string | null;
7
+ price: number | null;
8
+ price_description: string | null;
9
+ rating: number | null;
10
+ rating_count: number | null;
11
+ title: string;
12
+ url: string | null;
13
+ };
@@ -1,15 +1,15 @@
1
- import { Coordinate } from './Coordinate';
2
- import { Country } from './Country';
3
- import { Image } from './Image';
4
- import { TasteItem } from './TasteItem';
5
- export declare type City = {
6
- boundary: number[];
7
- coordinate: Coordinate;
8
- country: Country;
9
- description: string;
10
- id: number;
11
- image: Image;
12
- name: string;
13
- status: boolean;
14
- tastes: TasteItem[];
15
- };
1
+ import { Coordinate } from './Coordinate';
2
+ import { Country } from './Country';
3
+ import { Image } from './Image';
4
+ import { TasteItem } from './TasteItem';
5
+ export declare type City = {
6
+ boundary: number[];
7
+ coordinate: Coordinate;
8
+ country: Country;
9
+ description: string;
10
+ id: number;
11
+ image: Image;
12
+ name: string;
13
+ status: boolean;
14
+ tastes: TasteItem[];
15
+ };
@@ -1,8 +1,8 @@
1
- export declare type Companion = {
2
- age: number | null;
3
- answers: number[];
4
- id: number;
5
- name: string;
6
- title: string;
7
- trips: string[];
8
- };
1
+ export declare type Companion = {
2
+ age: number | null;
3
+ answers: number[];
4
+ id: number;
5
+ name: string;
6
+ title: string;
7
+ trips: string[];
8
+ };
@@ -1,3 +1,3 @@
1
- export declare type Continent = {
2
- name: string;
3
- };
1
+ export declare type Continent = {
2
+ name: string;
3
+ };
@@ -1,4 +1,4 @@
1
- export declare type Coordinate = {
2
- lat: number;
3
- lng: number;
4
- };
1
+ export declare type Coordinate = {
2
+ lat: number;
3
+ lng: number;
4
+ };
@@ -1,6 +1,6 @@
1
- import { Continent } from './Continent';
2
- export declare type Country = {
3
- code: string;
4
- continent: Continent;
5
- name: string;
6
- };
1
+ import { Continent } from './Continent';
2
+ export declare type Country = {
3
+ code: string;
4
+ continent: Continent;
5
+ name: string;
6
+ };
@@ -1,6 +1,6 @@
1
- export declare type Favorite = {
2
- city_id: number;
3
- id: number;
4
- poi_id: number;
5
- trip_hash: string | null;
6
- };
1
+ export declare type Favorite = {
2
+ city_id: number;
3
+ id: number;
4
+ poi_id: number;
5
+ trip_hash: string | null;
6
+ };
@@ -1,4 +1,4 @@
1
- export declare type HourFormat = {
2
- day: string;
3
- clock: string[];
4
- };
1
+ export declare type HourFormat = {
2
+ day: string;
3
+ clock: string[];
4
+ };
@@ -1,7 +1,7 @@
1
- import { ImageOwner } from './ImageOwner';
2
- export declare type Image = {
3
- image_owner: ImageOwner | null;
4
- height: number | null;
5
- url: string;
6
- width: number | null;
7
- };
1
+ import { ImageOwner } from './ImageOwner';
2
+ export declare type Image = {
3
+ image_owner: ImageOwner | null;
4
+ height: number | null;
5
+ url: string;
6
+ width: number | null;
7
+ };
@@ -1,5 +1,5 @@
1
- export declare type ImageOwner = {
2
- avatar: string | null;
3
- title: string | null;
4
- url: string | null;
5
- };
1
+ export declare type ImageOwner = {
2
+ avatar: string | null;
3
+ title: string | null;
4
+ url: string | null;
5
+ };
@@ -1,6 +1,6 @@
1
- import { SubOption } from './SubOption';
2
- export declare type Option = {
3
- id: number;
4
- name: string;
5
- sub_options: null | Array<SubOption>;
6
- };
1
+ import { SubOption } from './SubOption';
2
+ export declare type Option = {
3
+ id: number;
4
+ name: string;
5
+ sub_options: null | Array<SubOption>;
6
+ };
@@ -1,9 +1,9 @@
1
- import { Step } from './Step';
2
- export declare type Plan = {
3
- date: string;
4
- end_time: string;
5
- generated_status: number;
6
- id: number;
7
- start_time: string;
8
- steps: Array<Step>;
9
- };
1
+ import { Step } from './Step';
2
+ export declare type Plan = {
3
+ date: string;
4
+ end_time: string;
5
+ generated_status: number;
6
+ id: number;
7
+ start_time: string;
8
+ steps: Array<Step>;
9
+ };
@@ -1,33 +1,33 @@
1
- import { Image } from './Image';
2
- import { Coordinate } from './Coordinate';
3
- import { PoiCategory } from './PoiCategory';
4
- import { Booking } from './Booking';
5
- import { TasteItem } from './TasteItem';
6
- export declare type Poi = {
7
- address: string | null;
8
- attention: string | null;
9
- booking: Booking[];
10
- category: PoiCategory[];
11
- city_id: number;
12
- closed: number[];
13
- coordinate: Coordinate;
14
- cuisines: string | null;
15
- description: string | null;
16
- distance: number | null;
17
- gallery: Image[];
18
- hours: string | null;
19
- icon: string;
20
- id: number;
21
- image: Image;
22
- marker_coordinate: Coordinate;
23
- must_tries: TasteItem[];
24
- name: string;
25
- phone: string | null;
26
- price: number | null;
27
- rating: number | null;
28
- rating_count: number | null;
29
- safety: string[] | null;
30
- status: boolean;
31
- tags: string[];
32
- web: string | null;
33
- };
1
+ import { Image } from './Image';
2
+ import { Coordinate } from './Coordinate';
3
+ import { PoiCategory } from './PoiCategory';
4
+ import { Booking } from './Booking';
5
+ import { TasteItem } from './TasteItem';
6
+ export declare type Poi = {
7
+ address: string | null;
8
+ attention: string | null;
9
+ booking: Booking[];
10
+ category: PoiCategory[];
11
+ city_id: number;
12
+ closed: number[];
13
+ coordinate: Coordinate;
14
+ cuisines: string | null;
15
+ description: string | null;
16
+ distance: number | null;
17
+ gallery: Image[];
18
+ hours: string | null;
19
+ icon: string;
20
+ id: number;
21
+ image: Image;
22
+ marker_coordinate: Coordinate;
23
+ must_tries: TasteItem[];
24
+ name: string;
25
+ phone: string | null;
26
+ price: number | null;
27
+ rating: number | null;
28
+ rating_count: number | null;
29
+ safety: string[] | null;
30
+ status: boolean;
31
+ tags: string[];
32
+ web: string | null;
33
+ };
@@ -1,7 +1,7 @@
1
- import { PoiCategoryParent } from './PoiCategoryParent';
2
- export declare type PoiCategory = {
3
- description: string | null;
4
- id: number;
5
- name: string;
6
- parent: PoiCategoryParent | null;
7
- };
1
+ import { PoiCategoryParent } from './PoiCategoryParent';
2
+ export declare type PoiCategory = {
3
+ description: string | null;
4
+ id: number;
5
+ name: string;
6
+ parent: PoiCategoryParent | null;
7
+ };
@@ -1,5 +1,5 @@
1
- import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
2
- export declare type PoiCategoryGroup = {
3
- ids: number[];
4
- group: POI_CATEGORY_GROUP;
5
- };
1
+ import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
2
+ export declare type PoiCategoryGroup = {
3
+ ids: number[];
4
+ group: POI_CATEGORY_GROUP;
5
+ };
@@ -1,4 +1,4 @@
1
- export declare type PoiCategoryParent = {
2
- id: number | null;
3
- name: string | null;
4
- };
1
+ export declare type PoiCategoryParent = {
2
+ id: number | null;
3
+ name: string | null;
4
+ };
@@ -1,4 +1,4 @@
1
- export declare type PoiHours = {
2
- day: string;
3
- clock: string[];
4
- };
1
+ export declare type PoiHours = {
2
+ day: string;
3
+ clock: string[];
4
+ };
@@ -1,10 +1,10 @@
1
- import { Coordinate } from './Coordinate';
2
- import { Image } from './Image';
3
- import { PoiCategory } from './PoiCategory';
4
- export declare type PoiReference = {
5
- category: PoiCategory[];
6
- id: number;
7
- image: Image;
8
- marker_coordinate: Coordinate;
9
- name: string;
10
- };
1
+ import { Coordinate } from './Coordinate';
2
+ import { Image } from './Image';
3
+ import { PoiCategory } from './PoiCategory';
4
+ export declare type PoiReference = {
5
+ category: PoiCategory[];
6
+ id: number;
7
+ image: Image;
8
+ marker_coordinate: Coordinate;
9
+ name: string;
10
+ };
@@ -1,10 +1,10 @@
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
+ 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,5 +1,5 @@
1
- import { PoiReference } from './PoiReference';
2
- export declare type Recommendation = {
3
- poi_ref: PoiReference;
4
- score: number | null;
5
- };
1
+ import { PoiReference } from './PoiReference';
2
+ export declare type Recommendation = {
3
+ poi_ref: PoiReference;
4
+ score: number | null;
5
+ };
@@ -1,10 +1,10 @@
1
- import { Poi } from './Poi';
2
- import { StepHours } from './StepHours';
3
- export declare type Step = {
4
- alternatives: number[];
5
- hours: StepHours;
6
- id: number;
7
- order: number;
8
- poi: Poi;
9
- score: number | null;
10
- };
1
+ import { Poi } from './Poi';
2
+ import { StepHours } from './StepHours';
3
+ export declare type Step = {
4
+ alternatives: number[];
5
+ hours: StepHours;
6
+ id: number;
7
+ order: number;
8
+ poi: Poi;
9
+ score: number | null;
10
+ };