@tripian/model 4.1.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.
- package/api/v3/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
- package/api/v3/enums/POI_CATEGORY_GROUP.d.ts +7 -7
- package/api/v3/enums/PROVIDER_ID.d.ts +7 -7
- package/api/v3/enums/PROVIDER_NAME.d.ts +7 -7
- package/api/v3/enums/REACTION.d.ts +5 -5
- package/api/v3/enums/REACTION_COMMENT.d.ts +4 -4
- package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +5 -5
- package/api/v3/index.d.ts +69 -69
- package/api/v3/models/Accommodation.d.ts +7 -7
- package/api/v3/models/Booking.d.ts +6 -6
- package/api/v3/models/BookingProduct.d.ts +13 -13
- package/api/v3/models/City.d.ts +15 -15
- package/api/v3/models/Companion.d.ts +8 -8
- package/api/v3/models/Continent.d.ts +3 -3
- package/api/v3/models/Coordinate.d.ts +4 -4
- package/api/v3/models/Country.d.ts +6 -6
- package/api/v3/models/Favorite.d.ts +6 -6
- package/api/v3/models/HourFormat.d.ts +4 -4
- package/api/v3/models/Image.d.ts +7 -7
- package/api/v3/models/ImageOwner.d.ts +5 -5
- package/api/v3/models/Option.d.ts +6 -6
- package/api/v3/models/Plan.d.ts +9 -9
- package/api/v3/models/Poi.d.ts +33 -33
- package/api/v3/models/PoiCategory.d.ts +7 -7
- package/api/v3/models/PoiCategoryGroup.d.ts +5 -5
- package/api/v3/models/PoiCategoryParent.d.ts +4 -4
- package/api/v3/models/PoiHours.d.ts +4 -4
- package/api/v3/models/PoiReference.d.ts +10 -10
- package/api/v3/models/Question.d.ts +10 -10
- package/api/v3/models/Recommendation.d.ts +5 -5
- package/api/v3/models/Step.d.ts +10 -10
- package/api/v3/models/StepHours.d.ts +4 -4
- package/api/v3/models/SubOption.d.ts +4 -4
- package/api/v3/models/TasteItem.d.ts +7 -7
- package/api/v3/models/TasteItemImage.d.ts +5 -5
- package/api/v3/models/Token.d.ts +4 -4
- package/api/v3/models/TokenPayload.d.ts +13 -13
- package/api/v3/models/TokenRefresh.d.ts +5 -5
- package/api/v3/models/TopTen.d.ts +6 -6
- package/api/v3/models/Trip.d.ts +5 -5
- package/api/v3/models/TripProfile.d.ts +14 -14
- package/api/v3/models/TripReference.d.ts +8 -8
- package/api/v3/models/User.d.ts +8 -8
- package/api/v3/models/UserProfile.d.ts +4 -4
- package/api/v3/models/UserReaction.d.ts +12 -12
- package/api/v3/models/UserReservation.d.ts +10 -10
- package/api/v3/requests/CompanionRequest.d.ts +6 -6
- package/api/v3/requests/Device.d.ts +7 -7
- package/api/v3/requests/FavoriteRequest.d.ts +4 -4
- package/api/v3/requests/FavoriteUpdateRequest.d.ts +4 -4
- package/api/v3/requests/LoginRequestEmail.d.ts +6 -6
- package/api/v3/requests/LoginRequestTripHash.d.ts +5 -5
- package/api/v3/requests/LoginRequestUsername.d.ts +5 -5
- package/api/v3/requests/PlanUpdateRequest.d.ts +5 -5
- package/api/v3/requests/PoisRequest.d.ts +12 -12
- package/api/v3/requests/PoisRequestCoordinate.d.ts +8 -8
- package/api/v3/requests/PoisRequestMustTry.d.ts +5 -5
- package/api/v3/requests/PoisRequestName.d.ts +7 -7
- package/api/v3/requests/RecommendationRequest.d.ts +14 -14
- package/api/v3/requests/RegisterRequestEmail.d.ts +8 -8
- package/api/v3/requests/RegisterRequestUsername.d.ts +7 -7
- package/api/v3/requests/StepRequest.d.ts +5 -5
- package/api/v3/requests/StepUpdateRequest.d.ts +4 -4
- package/api/v3/requests/TokenRefreshRequest.d.ts +3 -3
- package/api/v3/requests/UserProfileRequest.d.ts +4 -4
- package/api/v3/requests/UserReactionRequest.d.ts +8 -8
- package/api/v3/requests/UserReservationRequest.d.ts +7 -7
- package/api/v3/requests/UserUpdateRequest.d.ts +7 -7
- package/api/v3/responses/DataPayload.d.ts +5 -5
- package/api/v3/responses/ErrorResponse.d.ts +6 -6
- package/api/v3/responses/Pagination.d.ts +9 -9
- package/api/v3/responses/PaginationLinks.d.ts +4 -4
- package/api/v3/responses/SuccessResponse.d.ts +8 -8
- package/helper/index.d.ts +37 -37
- package/helper/plural.d.ts +1 -1
- package/index.d.ts +4 -4
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +21 -58
- package/providers/bb/ACTIVITY_THEMES.d.ts +14 -14
- package/providers/bb/Activity.d.ts +11 -11
- package/providers/bb/ActivityInfo.d.ts +16 -16
- package/providers/bb/ActivityInfoImage.d.ts +7 -7
- package/providers/bb/ActivityInfoLocation.d.ts +4 -4
- package/providers/bb/ActivityPoint.d.ts +9 -9
- package/providers/bb/AuthorizationResponse.d.ts +48 -48
- package/providers/bb/Offer.d.ts +58 -58
- package/providers/bb/OfferPoint.d.ts +6 -6
- package/providers/bb/Product.d.ts +19 -19
- package/providers/bb/SearchAccommodationResponse.d.ts +119 -0
- package/providers/bb/SearchActivitiesResponse.d.ts +20 -20
- package/providers/bb/SearchCarRentResponse.d.ts +99 -0
- package/providers/bb/index.d.ts +13 -11
- package/providers/glx/Booking.d.ts +16 -16
- package/providers/glx/BookingContact.d.ts +7 -7
- package/providers/glx/BookingInformation.d.ts +4 -4
- package/providers/glx/BookingLocation.d.ts +5 -5
- package/providers/glx/BookingPrice.d.ts +23 -23
- package/providers/glx/BookingRef.d.ts +24 -24
- package/providers/glx/BookingSearchResult.d.ts +10 -10
- package/providers/glx/BookingSearchResultAggregation.d.ts +18 -18
- package/providers/glx/BookingSubCategory.d.ts +4 -4
- package/providers/glx/BookingSupplier.d.ts +4 -4
- package/providers/glx/Catalog.d.ts +4 -4
- package/providers/glx/CatalogGroup.d.ts +10 -10
- package/providers/glx/Token.d.ts +5 -5
- package/providers/glx/TourRating.d.ts +5 -5
- package/providers/glx/TourReview.d.ts +6 -6
- package/providers/glx/index.d.ts +15 -15
- package/providers/gyg/CatalogGroup.d.ts +5 -5
- package/providers/gyg/Categories.d.ts +8 -8
- package/providers/gyg/Category.d.ts +6 -6
- package/providers/gyg/MetaData.d.ts +15 -15
- package/providers/gyg/PaymentConfiguration.d.ts +8 -8
- package/providers/gyg/PaymentConfigurations.d.ts +8 -8
- package/providers/gyg/Tour.d.ts +36 -36
- package/providers/gyg/TourAvailabilities.d.ts +8 -8
- package/providers/gyg/TourAvailability.d.ts +7 -7
- package/providers/gyg/TourBooking.d.ts +10 -10
- package/providers/gyg/TourBookingCart.d.ts +81 -81
- package/providers/gyg/TourBookingCartRequest.d.ts +49 -49
- package/providers/gyg/TourBookingCartWithDetails.d.ts +6 -6
- package/providers/gyg/TourBookingCarts.d.ts +6 -6
- package/providers/gyg/TourBookingInfo.d.ts +37 -37
- package/providers/gyg/TourBookingInfos.d.ts +8 -8
- package/providers/gyg/TourBookingRequest.d.ts +26 -26
- package/providers/gyg/TourBookings.d.ts +8 -8
- package/providers/gyg/TourCategories.d.ts +5 -5
- package/providers/gyg/TourCoordinates.d.ts +4 -4
- package/providers/gyg/TourDateRange.d.ts +4 -4
- package/providers/gyg/TourDurations.d.ts +4 -4
- package/providers/gyg/TourLocations.d.ts +13 -13
- package/providers/gyg/TourOption.d.ts +34 -34
- package/providers/gyg/TourOptionDetails.d.ts +8 -8
- package/providers/gyg/TourOptionPricing.d.ts +20 -20
- package/providers/gyg/TourOptionPricings.d.ts +8 -8
- package/providers/gyg/TourOptions.d.ts +8 -8
- package/providers/gyg/TourPictures.d.ts +6 -6
- package/providers/gyg/TourPrice.d.ts +11 -11
- package/providers/gyg/TourReservationDetails.d.ts +6 -6
- package/providers/gyg/TourShoppingFormData.d.ts +20 -20
- package/providers/gyg/TourViewport.d.ts +6 -6
- package/providers/gyg/Tours.d.ts +8 -8
- package/providers/gyg/index.d.ts +33 -33
- package/providers/index.d.ts +5 -5
- package/providers/yelp/Business.d.ts +31 -31
- package/providers/yelp/Hold.d.ts +10 -10
- package/providers/yelp/HoldRequest.d.ts +7 -7
- package/providers/yelp/Opening.d.ts +5 -5
- package/providers/yelp/OpeningTime.d.ts +4 -4
- package/providers/yelp/Openings.d.ts +4 -4
- package/providers/yelp/OpeningsRequest.d.ts +6 -6
- package/providers/yelp/Reservation.d.ts +5 -5
- package/providers/yelp/ReservationInfo.d.ts +8 -8
- package/providers/yelp/ReservationRequest.d.ts +12 -12
- package/providers/yelp/ReservationStatusResponse.d.ts +6 -6
- package/providers/yelp/index.d.ts +10 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type StepHours = {
|
|
2
|
-
from: string | null;
|
|
3
|
-
to: string | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type StepHours = {
|
|
2
|
+
from: string | null;
|
|
3
|
+
to: string | null;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type SubOption = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type SubOption = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TasteItemImage } from './TasteItemImage';
|
|
2
|
-
export declare type TasteItem = {
|
|
3
|
-
id: number;
|
|
4
|
-
description: string | null;
|
|
5
|
-
image: TasteItemImage;
|
|
6
|
-
name: string;
|
|
7
|
-
};
|
|
1
|
+
import { TasteItemImage } from './TasteItemImage';
|
|
2
|
+
export declare type TasteItem = {
|
|
3
|
+
id: number;
|
|
4
|
+
description: string | null;
|
|
5
|
+
image: TasteItemImage;
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type TasteItemImage = {
|
|
2
|
-
height: number | null;
|
|
3
|
-
url: string;
|
|
4
|
-
width: number | null;
|
|
5
|
-
};
|
|
1
|
+
export declare type TasteItemImage = {
|
|
2
|
+
height: number | null;
|
|
3
|
+
url: string;
|
|
4
|
+
width: number | null;
|
|
5
|
+
};
|
package/api/v3/models/Token.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TokenRefresh } from './TokenRefresh';
|
|
2
|
-
export declare type Token = TokenRefresh & {
|
|
3
|
-
refresh_token: string;
|
|
4
|
-
};
|
|
1
|
+
import { TokenRefresh } from './TokenRefresh';
|
|
2
|
+
export declare type Token = TokenRefresh & {
|
|
3
|
+
refresh_token: string;
|
|
4
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
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
|
+
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 +1,5 @@
|
|
|
1
|
-
export declare type TokenRefresh = {
|
|
2
|
-
access_token: string;
|
|
3
|
-
expires_in: number;
|
|
4
|
-
token_type: string;
|
|
5
|
-
};
|
|
1
|
+
export declare type TokenRefresh = {
|
|
2
|
+
access_token: string;
|
|
3
|
+
expires_in: number;
|
|
4
|
+
token_type: string;
|
|
5
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { PoiCategory } from './PoiCategory';
|
|
2
|
-
import { Poi } from './Poi';
|
|
3
|
-
export declare type TopTen = {
|
|
4
|
-
category: PoiCategory;
|
|
5
|
-
top_ten_poi: Poi[];
|
|
6
|
-
};
|
|
1
|
+
import { PoiCategory } from './PoiCategory';
|
|
2
|
+
import { Poi } from './Poi';
|
|
3
|
+
export declare type TopTen = {
|
|
4
|
+
category: PoiCategory;
|
|
5
|
+
top_ten_poi: Poi[];
|
|
6
|
+
};
|
package/api/v3/models/Trip.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TripReference } from './TripReference';
|
|
2
|
-
import { Plan } from './Plan';
|
|
3
|
-
export declare type Trip = TripReference & {
|
|
4
|
-
plans: Array<Plan>;
|
|
5
|
-
};
|
|
1
|
+
import { TripReference } from './TripReference';
|
|
2
|
+
import { Plan } from './Plan';
|
|
3
|
+
export declare type Trip = TripReference & {
|
|
4
|
+
plans: Array<Plan>;
|
|
5
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
+
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 +1,8 @@
|
|
|
1
|
-
import { City } from './City';
|
|
2
|
-
import { TripProfile } from './TripProfile';
|
|
3
|
-
export declare type TripReference = {
|
|
4
|
-
city: City;
|
|
5
|
-
id: number;
|
|
6
|
-
trip_hash: string;
|
|
7
|
-
trip_profile: TripProfile;
|
|
8
|
-
};
|
|
1
|
+
import { City } from './City';
|
|
2
|
+
import { TripProfile } from './TripProfile';
|
|
3
|
+
export declare type TripReference = {
|
|
4
|
+
city: City;
|
|
5
|
+
id: number;
|
|
6
|
+
trip_hash: string;
|
|
7
|
+
trip_profile: TripProfile;
|
|
8
|
+
};
|
package/api/v3/models/User.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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
|
+
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 +1,4 @@
|
|
|
1
|
-
export declare type UserProfile = {
|
|
2
|
-
age: number | null;
|
|
3
|
-
answers: Array<number>;
|
|
4
|
-
};
|
|
1
|
+
export declare type UserProfile = {
|
|
2
|
+
age: number | null;
|
|
3
|
+
answers: Array<number>;
|
|
4
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
+
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 +1,10 @@
|
|
|
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
|
+
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,6 +1,6 @@
|
|
|
1
|
-
export declare type CompanionRequest = {
|
|
2
|
-
age: number | null;
|
|
3
|
-
answers: number[];
|
|
4
|
-
name: string;
|
|
5
|
-
title: string;
|
|
6
|
-
};
|
|
1
|
+
export declare type CompanionRequest = {
|
|
2
|
+
age: number | null;
|
|
3
|
+
answers: number[];
|
|
4
|
+
name: string;
|
|
5
|
+
title: string;
|
|
6
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
+
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 +1,4 @@
|
|
|
1
|
-
export declare type FavoriteRequest = {
|
|
2
|
-
poi_id: number;
|
|
3
|
-
trip_hash: string | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type FavoriteRequest = {
|
|
2
|
+
poi_id: number;
|
|
3
|
+
trip_hash: string | null;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type FavoriteUpdateRequest = {
|
|
2
|
-
poi_id: number;
|
|
3
|
-
trip_hash: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type FavoriteUpdateRequest = {
|
|
2
|
+
poi_id: number;
|
|
3
|
+
trip_hash: string;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Device } from './Device';
|
|
2
|
-
export declare type LoginRequestEmail = {
|
|
3
|
-
device?: Device;
|
|
4
|
-
email: string;
|
|
5
|
-
password: string;
|
|
6
|
-
};
|
|
1
|
+
import { Device } from './Device';
|
|
2
|
+
export declare type LoginRequestEmail = {
|
|
3
|
+
device?: Device;
|
|
4
|
+
email: string;
|
|
5
|
+
password: string;
|
|
6
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Device } from './Device';
|
|
2
|
-
export declare type LoginRequestTripHash = {
|
|
3
|
-
device?: Device;
|
|
4
|
-
trip_hash: string;
|
|
5
|
-
};
|
|
1
|
+
import { Device } from './Device';
|
|
2
|
+
export declare type LoginRequestTripHash = {
|
|
3
|
+
device?: Device;
|
|
4
|
+
trip_hash: string;
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Device } from './Device';
|
|
2
|
-
export declare type LoginRequestUsername = {
|
|
3
|
-
device?: Device;
|
|
4
|
-
login_user: string;
|
|
5
|
-
};
|
|
1
|
+
import { Device } from './Device';
|
|
2
|
+
export declare type LoginRequestUsername = {
|
|
3
|
+
device?: Device;
|
|
4
|
+
login_user: string;
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type PlanUpdateRequest = {
|
|
2
|
-
end_time?: string | null;
|
|
3
|
-
orders?: Array<number>;
|
|
4
|
-
start_time?: string | null;
|
|
5
|
-
};
|
|
1
|
+
export declare type PlanUpdateRequest = {
|
|
2
|
+
end_time?: string | null;
|
|
3
|
+
orders?: Array<number>;
|
|
4
|
+
start_time?: string | null;
|
|
5
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
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
|
+
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 +1,8 @@
|
|
|
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
|
+
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,5 +1,5 @@
|
|
|
1
|
-
export declare type PoisRequestMustTry = {
|
|
2
|
-
cityId: number;
|
|
3
|
-
mustTryIds: number[];
|
|
4
|
-
limit: number;
|
|
5
|
-
};
|
|
1
|
+
export declare type PoisRequestMustTry = {
|
|
2
|
+
cityId: number;
|
|
3
|
+
mustTryIds: number[];
|
|
4
|
+
limit: number;
|
|
5
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare type PoisRequestName = {
|
|
2
|
-
cityId?: number;
|
|
3
|
-
name: string;
|
|
4
|
-
poiCategories?: number[];
|
|
5
|
-
limit?: number;
|
|
6
|
-
page?: number;
|
|
7
|
-
};
|
|
1
|
+
export declare type PoisRequestName = {
|
|
2
|
+
cityId?: number;
|
|
3
|
+
name: string;
|
|
4
|
+
poiCategories?: number[];
|
|
5
|
+
limit?: number;
|
|
6
|
+
page?: number;
|
|
7
|
+
};
|
|
@@ -1,14 +1,14 @@
|
|
|
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
|
+
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 +1,8 @@
|
|
|
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
|
+
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 +1,7 @@
|
|
|
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
|
+
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 +1,5 @@
|
|
|
1
|
-
export declare type StepRequest = {
|
|
2
|
-
order?: number;
|
|
3
|
-
plan_id: number;
|
|
4
|
-
poi_id: number;
|
|
5
|
-
};
|
|
1
|
+
export declare type StepRequest = {
|
|
2
|
+
order?: number;
|
|
3
|
+
plan_id: number;
|
|
4
|
+
poi_id: number;
|
|
5
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type StepUpdateRequest = {
|
|
2
|
-
order?: number;
|
|
3
|
-
poi_id: number;
|
|
4
|
-
};
|
|
1
|
+
export declare type StepUpdateRequest = {
|
|
2
|
+
order?: number;
|
|
3
|
+
poi_id: number;
|
|
4
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare type TokenRefreshRequest = {
|
|
2
|
-
refresh_token: string;
|
|
3
|
-
};
|
|
1
|
+
export declare type TokenRefreshRequest = {
|
|
2
|
+
refresh_token: string;
|
|
3
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type UserProfileRequest = {
|
|
2
|
-
age?: number | null;
|
|
3
|
-
answers?: number[];
|
|
4
|
-
};
|
|
1
|
+
export declare type UserProfileRequest = {
|
|
2
|
+
age?: number | null;
|
|
3
|
+
answers?: number[];
|
|
4
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
+
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 +1,7 @@
|
|
|
1
|
-
export declare type UserReservationRequest = {
|
|
2
|
-
key: string;
|
|
3
|
-
poi_id: number;
|
|
4
|
-
provider: string;
|
|
5
|
-
trip_hash?: string | null;
|
|
6
|
-
value: Object;
|
|
7
|
-
};
|
|
1
|
+
export declare type UserReservationRequest = {
|
|
2
|
+
key: string;
|
|
3
|
+
poi_id: number;
|
|
4
|
+
provider: string;
|
|
5
|
+
trip_hash?: string | null;
|
|
6
|
+
value: Object;
|
|
7
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
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
|
+
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,5 +1,5 @@
|
|
|
1
|
-
import { Pagination } from './Pagination';
|
|
2
|
-
export declare type DataPayload<T> = {
|
|
3
|
-
data: T;
|
|
4
|
-
pagination?: Pagination;
|
|
5
|
-
};
|
|
1
|
+
import { Pagination } from './Pagination';
|
|
2
|
+
export declare type DataPayload<T> = {
|
|
3
|
+
data: T;
|
|
4
|
+
pagination?: Pagination;
|
|
5
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type ErrorResponse = {
|
|
2
|
-
data: null;
|
|
3
|
-
success: false;
|
|
4
|
-
status: number;
|
|
5
|
-
message: string;
|
|
6
|
-
};
|
|
1
|
+
export declare type ErrorResponse = {
|
|
2
|
+
data: null;
|
|
3
|
+
success: false;
|
|
4
|
+
status: number;
|
|
5
|
+
message: string;
|
|
6
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { PaginationLinks } from './PaginationLinks';
|
|
2
|
-
export declare type Pagination = {
|
|
3
|
-
count: number;
|
|
4
|
-
current_page: number;
|
|
5
|
-
links: PaginationLinks;
|
|
6
|
-
per_page: number;
|
|
7
|
-
total_pages: number;
|
|
8
|
-
total: number;
|
|
9
|
-
};
|
|
1
|
+
import { PaginationLinks } from './PaginationLinks';
|
|
2
|
+
export declare type Pagination = {
|
|
3
|
+
count: number;
|
|
4
|
+
current_page: number;
|
|
5
|
+
links: PaginationLinks;
|
|
6
|
+
per_page: number;
|
|
7
|
+
total_pages: number;
|
|
8
|
+
total: number;
|
|
9
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type PaginationLinks = {
|
|
2
|
-
next: string | null;
|
|
3
|
-
previous: string | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type PaginationLinks = {
|
|
2
|
+
next: string | null;
|
|
3
|
+
previous: string | null;
|
|
4
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Pagination } from './Pagination';
|
|
2
|
-
export declare type SuccessResponse<T> = {
|
|
3
|
-
status: number;
|
|
4
|
-
success: boolean;
|
|
5
|
-
message: string;
|
|
6
|
-
data: T;
|
|
7
|
-
pagination?: Pagination;
|
|
8
|
-
};
|
|
1
|
+
import { Pagination } from './Pagination';
|
|
2
|
+
export declare type SuccessResponse<T> = {
|
|
3
|
+
status: number;
|
|
4
|
+
success: boolean;
|
|
5
|
+
message: string;
|
|
6
|
+
data: T;
|
|
7
|
+
pagination?: Pagination;
|
|
8
|
+
};
|