@tripian/model 1.0.0 → 4.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.
- package/api/v3/enums/BOOKING_PRODUCT_INFO.d.ts +3 -4
- package/api/v3/enums/POI_CATEGORY_GROUP.d.ts +7 -8
- package/api/v3/enums/PROVIDER_ID.d.ts +7 -6
- package/api/v3/enums/PROVIDER_NAME.d.ts +7 -6
- package/api/v3/enums/REACTION.d.ts +5 -6
- package/api/v3/enums/REACTION_COMMENT.d.ts +4 -5
- package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +5 -6
- package/api/v3/index.d.ts +69 -70
- package/api/v3/models/Accommodation.d.ts +7 -0
- package/api/v3/models/Booking.d.ts +6 -0
- package/api/v3/models/{IBookingProduct.d.ts → BookingProduct.d.ts} +13 -14
- package/api/v3/models/City.d.ts +15 -0
- package/api/v3/models/{ICompanion.d.ts → Companion.d.ts} +8 -9
- package/api/v3/models/Continent.d.ts +3 -0
- package/api/v3/models/Coordinate.d.ts +4 -0
- package/api/v3/models/Country.d.ts +6 -0
- package/api/v3/models/{IFavorite.d.ts → Favorite.d.ts} +6 -7
- package/api/v3/models/HourFormat.d.ts +4 -0
- package/api/v3/models/Image.d.ts +7 -0
- package/api/v3/models/{IImageOwner.d.ts → ImageOwner.d.ts} +5 -6
- package/api/v3/models/Option.d.ts +6 -0
- package/api/v3/models/{IPlan.d.ts → Plan.d.ts} +9 -10
- package/api/v3/models/{IPoi.d.ts → Poi.d.ts} +33 -34
- package/api/v3/models/PoiCategory.d.ts +7 -0
- package/api/v3/models/PoiCategoryGroup.d.ts +5 -0
- package/api/v3/models/PoiCategoryParent.d.ts +4 -0
- package/api/v3/models/PoiHours.d.ts +4 -0
- package/api/v3/models/PoiReference.d.ts +10 -0
- package/api/v3/models/{IQuestion.d.ts → Question.d.ts} +10 -11
- package/api/v3/models/Recommendation.d.ts +5 -0
- package/api/v3/models/Step.d.ts +10 -0
- package/api/v3/models/StepHours.d.ts +4 -0
- package/api/v3/models/SubOption.d.ts +4 -0
- package/api/v3/models/TasteItem.d.ts +7 -0
- package/api/v3/models/{ITasteItemImage.d.ts → TasteItemImage.d.ts} +5 -6
- package/api/v3/models/Token.d.ts +4 -0
- package/api/v3/models/{ITokenPayload.d.ts → TokenPayload.d.ts} +13 -14
- package/api/v3/models/{ITokenRefresh.d.ts → TokenRefresh.d.ts} +5 -6
- package/api/v3/models/TopTen.d.ts +6 -0
- package/api/v3/models/Trip.d.ts +5 -0
- package/api/v3/models/{ITripProfile.d.ts → TripProfile.d.ts} +14 -15
- package/api/v3/models/TripReference.d.ts +8 -0
- package/api/v3/models/User.d.ts +8 -0
- package/api/v3/models/UserProfile.d.ts +4 -0
- package/api/v3/models/{IUserReaction.d.ts → UserReaction.d.ts} +12 -13
- package/api/v3/models/{IUserReservation.d.ts → UserReservation.d.ts} +10 -11
- package/api/v3/requests/{ICompanionRequest.d.ts → CompanionRequest.d.ts} +6 -7
- package/api/v3/requests/{IDevice.d.ts → Device.d.ts} +7 -8
- package/api/v3/requests/FavoriteRequest.d.ts +4 -0
- package/api/v3/requests/FavoriteUpdateRequest.d.ts +4 -0
- package/api/v3/requests/LoginRequestEmail.d.ts +6 -0
- package/api/v3/requests/LoginRequestTripHash.d.ts +5 -0
- package/api/v3/requests/LoginRequestUsername.d.ts +5 -0
- package/api/v3/requests/{IPlanUpdateRequest.d.ts → PlanUpdateRequest.d.ts} +5 -6
- package/api/v3/requests/{IPoisRequest.d.ts → PoisRequest.d.ts} +12 -13
- package/api/v3/requests/PoisRequestCoordinate.d.ts +8 -0
- package/api/v3/requests/PoisRequestMustTry.d.ts +5 -0
- package/api/v3/requests/{IPoisRequestName.d.ts → PoisRequestName.d.ts} +7 -8
- package/api/v3/requests/{IRecommendationRequest.d.ts → RecommendationRequest.d.ts} +14 -15
- package/api/v3/requests/RegisterRequestEmail.d.ts +8 -0
- package/api/v3/requests/RegisterRequestUsername.d.ts +7 -0
- package/api/v3/requests/StepRequest.d.ts +5 -0
- package/api/v3/requests/StepUpdateRequest.d.ts +4 -0
- package/api/v3/requests/TokenRefreshRequest.d.ts +3 -0
- package/api/v3/requests/UserProfileRequest.d.ts +4 -0
- package/api/v3/requests/UserReactionRequest.d.ts +8 -0
- package/api/v3/requests/{IUserReservationRequest.d.ts → UserReservationRequest.d.ts} +7 -8
- package/api/v3/requests/UserUpdateRequest.d.ts +7 -0
- package/api/v3/responses/DataPayload.d.ts +5 -0
- package/api/v3/responses/{IErrorResponse.d.ts → ErrorResponse.d.ts} +6 -7
- package/api/v3/responses/Pagination.d.ts +9 -0
- package/api/v3/responses/PaginationLinks.d.ts +4 -0
- package/api/v3/responses/SuccessResponse.d.ts +8 -0
- package/helper/index.d.ts +37 -38
- package/helper/plural.d.ts +1 -2
- package/index.d.ts +4 -5
- package/index.js +1 -1
- package/index.js.map +1 -1
- package/package.json +58 -58
- package/providers/bb/ACTIVITY_THEMES.d.ts +14 -0
- package/providers/bb/Activity.d.ts +11 -0
- package/providers/bb/ActivityInfo.d.ts +16 -0
- package/providers/bb/ActivityInfoImage.d.ts +7 -0
- package/providers/bb/ActivityInfoLocation.d.ts +4 -0
- package/providers/bb/ActivityPoint.d.ts +9 -0
- package/providers/bb/AuthorizationResponse.d.ts +48 -0
- package/providers/bb/Offer.d.ts +58 -0
- package/providers/bb/OfferPoint.d.ts +6 -0
- package/providers/bb/Product.d.ts +19 -0
- package/providers/bb/SearchActivitiesResponse.d.ts +20 -0
- package/providers/bb/index.d.ts +11 -0
- package/providers/glx/Booking.d.ts +16 -0
- package/providers/glx/{IBookingContact.d.ts → BookingContact.d.ts} +7 -8
- package/providers/glx/BookingInformation.d.ts +4 -0
- package/providers/glx/BookingLocation.d.ts +5 -0
- package/providers/glx/{IBookingPrice.d.ts → BookingPrice.d.ts} +23 -24
- package/providers/glx/BookingRef.d.ts +24 -0
- package/providers/glx/BookingSearchResult.d.ts +10 -0
- package/providers/glx/BookingSearchResultAggregation.d.ts +18 -0
- package/providers/glx/BookingSubCategory.d.ts +4 -0
- package/providers/glx/BookingSupplier.d.ts +4 -0
- package/providers/glx/Catalog.d.ts +4 -0
- package/providers/glx/{ICatalogGroup.d.ts → CatalogGroup.d.ts} +10 -11
- package/providers/glx/{IToken.d.ts → Token.d.ts} +5 -6
- package/providers/glx/TourRating.d.ts +5 -0
- package/providers/glx/{ITourReview.d.ts → TourReview.d.ts} +6 -7
- package/providers/glx/index.d.ts +15 -16
- package/providers/gyg/CatalogGroup.d.ts +5 -0
- package/providers/gyg/Categories.d.ts +8 -0
- package/providers/gyg/{ICategory.d.ts → Category.d.ts} +6 -7
- package/providers/gyg/{IMetaData.d.ts → MetaData.d.ts} +15 -16
- package/providers/gyg/{IPaymentConfiguration.d.ts → PaymentConfiguration.d.ts} +8 -9
- package/providers/gyg/PaymentConfigurations.d.ts +8 -0
- package/providers/gyg/{ITour.d.ts → Tour.d.ts} +36 -37
- package/providers/gyg/TourAvailabilities.d.ts +8 -0
- package/providers/gyg/{ITourAvailability.d.ts → TourAvailability.d.ts} +7 -8
- package/providers/gyg/{ITourBooking.d.ts → TourBooking.d.ts} +10 -11
- package/providers/gyg/{ITourBookingCart.d.ts → TourBookingCart.d.ts} +72 -73
- package/providers/gyg/{ITourBookingCartRequest.d.ts → TourBookingCartRequest.d.ts} +49 -50
- package/providers/gyg/TourBookingCarts.d.ts +6 -0
- package/providers/gyg/{ITourBookingInfo.d.ts → TourBookingInfo.d.ts} +37 -38
- package/providers/gyg/TourBookingInfos.d.ts +8 -0
- package/providers/gyg/TourBookingRequest.d.ts +20 -0
- package/providers/gyg/TourBookings.d.ts +8 -0
- package/providers/gyg/TourCategories.d.ts +5 -0
- package/providers/gyg/TourCoordinates.d.ts +4 -0
- package/providers/gyg/TourDurations.d.ts +4 -0
- package/providers/gyg/TourLocations.d.ts +13 -0
- package/providers/gyg/{ITourOption.d.ts → TourOption.d.ts} +34 -35
- package/providers/gyg/TourOptionDetails.d.ts +8 -0
- package/providers/gyg/{ITourOptionPricing.d.ts → TourOptionPricing.d.ts} +20 -21
- package/providers/gyg/TourOptionPricings.d.ts +8 -0
- package/providers/gyg/TourOptions.d.ts +8 -0
- package/providers/gyg/{ITourPictures.d.ts → TourPictures.d.ts} +6 -7
- package/providers/gyg/{ITourPrice.d.ts → TourPrice.d.ts} +11 -12
- package/providers/gyg/TourShoppingFormData.d.ts +20 -0
- package/providers/gyg/{ITourViewport.d.ts → TourViewport.d.ts} +6 -7
- package/providers/gyg/Tours.d.ts +8 -0
- package/providers/gyg/index.d.ts +31 -30
- package/providers/index.d.ts +5 -4
- package/providers/yelp/{IBusiness.d.ts → Business.d.ts} +31 -32
- package/providers/yelp/{IHold.d.ts → Hold.d.ts} +10 -11
- package/providers/yelp/{IHoldRequest.d.ts → HoldRequest.d.ts} +7 -8
- package/providers/yelp/Opening.d.ts +5 -0
- package/providers/yelp/OpeningTime.d.ts +4 -0
- package/providers/yelp/Openings.d.ts +4 -0
- package/providers/yelp/{IOpeningsRequest.d.ts → OpeningsRequest.d.ts} +6 -7
- package/providers/yelp/{IReservation.d.ts → Reservation.d.ts} +5 -6
- package/providers/yelp/ReservationInfo.d.ts +8 -0
- package/providers/yelp/{IReservationRequest.d.ts → ReservationRequest.d.ts} +12 -13
- package/providers/yelp/ReservationStatusResponse.d.ts +6 -0
- package/providers/yelp/index.d.ts +10 -11
- package/api/custom/IPoiCategoryGroup.d.ts +0 -6
- package/api/v3/models/IAccommodation.d.ts +0 -8
- package/api/v3/models/IBooking.d.ts +0 -7
- package/api/v3/models/ICity.d.ts +0 -16
- package/api/v3/models/IContinent.d.ts +0 -4
- package/api/v3/models/ICoordinate.d.ts +0 -5
- package/api/v3/models/ICountry.d.ts +0 -7
- package/api/v3/models/IHourFormat.d.ts +0 -5
- package/api/v3/models/IImage.d.ts +0 -8
- package/api/v3/models/IOption.d.ts +0 -7
- package/api/v3/models/IPoiCategory.d.ts +0 -8
- package/api/v3/models/IPoiCategoryParent.d.ts +0 -5
- package/api/v3/models/IPoiHours.d.ts +0 -5
- package/api/v3/models/IPoiReference.d.ts +0 -11
- package/api/v3/models/IRecommendation.d.ts +0 -6
- package/api/v3/models/IStep.d.ts +0 -11
- package/api/v3/models/IStepHours.d.ts +0 -5
- package/api/v3/models/ISubOption.d.ts +0 -5
- package/api/v3/models/ITasteItem.d.ts +0 -8
- package/api/v3/models/IToken.d.ts +0 -5
- package/api/v3/models/ITopTen.d.ts +0 -7
- package/api/v3/models/ITrip.d.ts +0 -6
- package/api/v3/models/ITripReference.d.ts +0 -9
- package/api/v3/models/IUser.d.ts +0 -9
- package/api/v3/models/IUserProfile.d.ts +0 -5
- package/api/v3/requests/IFavoriteRequest.d.ts +0 -5
- package/api/v3/requests/IFavoriteUpdateRequest.d.ts +0 -5
- package/api/v3/requests/ILoginRequestEmail.d.ts +0 -7
- package/api/v3/requests/ILoginRequestTripHash.d.ts +0 -6
- package/api/v3/requests/ILoginRequestUsername.d.ts +0 -6
- package/api/v3/requests/IPoisRequestCoordinate.d.ts +0 -9
- package/api/v3/requests/IPoisRequestMustTry.d.ts +0 -6
- package/api/v3/requests/IRegisterRequestEmail.d.ts +0 -9
- package/api/v3/requests/IRegisterRequestUsername.d.ts +0 -8
- package/api/v3/requests/IStepRequest.d.ts +0 -6
- package/api/v3/requests/IStepUpdateRequest.d.ts +0 -5
- package/api/v3/requests/ITokenRefreshRequest.d.ts +0 -4
- package/api/v3/requests/IUserProfileRequest.d.ts +0 -5
- package/api/v3/requests/IUserReactionRequest.d.ts +0 -9
- package/api/v3/requests/IUserUpdateRequest.d.ts +0 -8
- package/api/v3/responses/IDataPayload.d.ts +0 -6
- package/api/v3/responses/IPagination.d.ts +0 -10
- package/api/v3/responses/IPaginationLinks.d.ts +0 -5
- package/api/v3/responses/ISuccessResponse.d.ts +0 -9
- package/providers/glx/IBooking.d.ts +0 -17
- package/providers/glx/IBookingInformation.d.ts +0 -5
- package/providers/glx/IBookingLocation.d.ts +0 -6
- package/providers/glx/IBookingRef.d.ts +0 -25
- package/providers/glx/IBookingSearchResult.d.ts +0 -11
- package/providers/glx/IBookingSearchResultAggregation.d.ts +0 -18
- package/providers/glx/IBookingSubCategory.d.ts +0 -5
- package/providers/glx/IBookingSupplier.d.ts +0 -5
- package/providers/glx/ICatalog.d.ts +0 -5
- package/providers/glx/ITourRating.d.ts +0 -6
- package/providers/gyg/ICatalogGroup.d.ts +0 -6
- package/providers/gyg/ICategories.d.ts +0 -9
- package/providers/gyg/IPaymentConfigurations.d.ts +0 -9
- package/providers/gyg/ITourAvailabilities.d.ts +0 -9
- package/providers/gyg/ITourBookingCarts.d.ts +0 -7
- package/providers/gyg/ITourBookingInfos.d.ts +0 -9
- package/providers/gyg/ITourBookingRequest.d.ts +0 -25
- package/providers/gyg/ITourBookings.d.ts +0 -9
- package/providers/gyg/ITourCategories.d.ts +0 -6
- package/providers/gyg/ITourCoordinates.d.ts +0 -5
- package/providers/gyg/ITourDurations.d.ts +0 -5
- package/providers/gyg/ITourLocations.d.ts +0 -14
- package/providers/gyg/ITourOptionPricings.d.ts +0 -9
- package/providers/gyg/ITourOptions.d.ts +0 -9
- package/providers/gyg/ITours.d.ts +0 -9
- package/providers/gyg/sampleData/categories.d.ts +0 -12
- package/providers/gyg/sampleData/tours-full.d.ts +0 -90
- package/providers/gyg/sampleData/tours.d.ts +0 -111
- package/providers/yelp/IOpening.d.ts +0 -6
- package/providers/yelp/IOpeningTime.d.ts +0 -5
- package/providers/yelp/IOpenings.d.ts +0 -5
- package/providers/yelp/IReservationInfo.d.ts +0 -9
- package/providers/yelp/IReservationStatusResponse.d.ts +0 -7
|
@@ -1,73 +1,72 @@
|
|
|
1
|
-
|
|
2
|
-
shopping_cart_id: number;
|
|
3
|
-
shopping_cart_hash: string;
|
|
4
|
-
billing: {
|
|
5
|
-
salutation_code: string;
|
|
6
|
-
first_name: string;
|
|
7
|
-
last_name: string;
|
|
8
|
-
email: string;
|
|
9
|
-
is_company: boolean;
|
|
10
|
-
company_name: string;
|
|
11
|
-
invoice: boolean;
|
|
12
|
-
address_line_1: string;
|
|
13
|
-
address_line_2: string;
|
|
14
|
-
city: string;
|
|
15
|
-
postal_code: string;
|
|
16
|
-
state: string;
|
|
17
|
-
country_code: string;
|
|
18
|
-
phone_number: string;
|
|
19
|
-
};
|
|
20
|
-
traveler: {
|
|
21
|
-
salutation_code: string;
|
|
22
|
-
first_name: string;
|
|
23
|
-
last_name: string;
|
|
24
|
-
email: string;
|
|
25
|
-
phone_number: string;
|
|
26
|
-
};
|
|
27
|
-
status: string;
|
|
28
|
-
bookings: {
|
|
29
|
-
booking_id: number;
|
|
30
|
-
booking_hash: string;
|
|
31
|
-
booking_status: string;
|
|
32
|
-
shopping_cart_id: number;
|
|
33
|
-
shopping_cart_hash: string;
|
|
34
|
-
bookable: {
|
|
35
|
-
tour_id: number;
|
|
36
|
-
option_id: number;
|
|
37
|
-
datetime: string;
|
|
38
|
-
datetime_utc: string;
|
|
39
|
-
datetime_type: string;
|
|
40
|
-
opening_hours: {
|
|
41
|
-
opening_time: string;
|
|
42
|
-
closing_time: string;
|
|
43
|
-
}[];
|
|
44
|
-
price: number;
|
|
45
|
-
categories: {
|
|
46
|
-
category_id: number;
|
|
47
|
-
name: string;
|
|
48
|
-
number_of_participants: number;
|
|
49
|
-
}[];
|
|
50
|
-
booking_parameters?: {
|
|
51
|
-
name: string;
|
|
52
|
-
value_1: string;
|
|
53
|
-
value_2: string;
|
|
54
|
-
};
|
|
55
|
-
valid_until: string;
|
|
56
|
-
cancellation_policy_text: string;
|
|
57
|
-
};
|
|
58
|
-
ticket?: {
|
|
59
|
-
code: string;
|
|
60
|
-
code_type: string;
|
|
61
|
-
category: string;
|
|
62
|
-
};
|
|
63
|
-
}[];
|
|
64
|
-
payment_info: {
|
|
65
|
-
payment_currency: string;
|
|
66
|
-
total_price: number;
|
|
67
|
-
precoupon_price: number;
|
|
68
|
-
payment_method: string;
|
|
69
|
-
coupon_info?: string;
|
|
70
|
-
invoice_reference: string;
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
export default ITourBookingCart;
|
|
1
|
+
export declare type TourBookingCart = {
|
|
2
|
+
shopping_cart_id: number;
|
|
3
|
+
shopping_cart_hash: string;
|
|
4
|
+
billing: {
|
|
5
|
+
salutation_code: string;
|
|
6
|
+
first_name: string;
|
|
7
|
+
last_name: string;
|
|
8
|
+
email: string;
|
|
9
|
+
is_company: boolean;
|
|
10
|
+
company_name: string;
|
|
11
|
+
invoice: boolean;
|
|
12
|
+
address_line_1: string;
|
|
13
|
+
address_line_2: string;
|
|
14
|
+
city: string;
|
|
15
|
+
postal_code: string;
|
|
16
|
+
state: string;
|
|
17
|
+
country_code: string;
|
|
18
|
+
phone_number: string;
|
|
19
|
+
};
|
|
20
|
+
traveler: {
|
|
21
|
+
salutation_code: string;
|
|
22
|
+
first_name: string;
|
|
23
|
+
last_name: string;
|
|
24
|
+
email: string;
|
|
25
|
+
phone_number: string;
|
|
26
|
+
};
|
|
27
|
+
status: string;
|
|
28
|
+
bookings: {
|
|
29
|
+
booking_id: number;
|
|
30
|
+
booking_hash: string;
|
|
31
|
+
booking_status: string;
|
|
32
|
+
shopping_cart_id: number;
|
|
33
|
+
shopping_cart_hash: string;
|
|
34
|
+
bookable: {
|
|
35
|
+
tour_id: number;
|
|
36
|
+
option_id: number;
|
|
37
|
+
datetime: string;
|
|
38
|
+
datetime_utc: string;
|
|
39
|
+
datetime_type: string;
|
|
40
|
+
opening_hours: {
|
|
41
|
+
opening_time: string;
|
|
42
|
+
closing_time: string;
|
|
43
|
+
}[];
|
|
44
|
+
price: number;
|
|
45
|
+
categories: {
|
|
46
|
+
category_id: number;
|
|
47
|
+
name: string;
|
|
48
|
+
number_of_participants: number;
|
|
49
|
+
}[];
|
|
50
|
+
booking_parameters?: {
|
|
51
|
+
name: string;
|
|
52
|
+
value_1: string;
|
|
53
|
+
value_2: string;
|
|
54
|
+
};
|
|
55
|
+
valid_until: string;
|
|
56
|
+
cancellation_policy_text: string;
|
|
57
|
+
};
|
|
58
|
+
ticket?: {
|
|
59
|
+
code: string;
|
|
60
|
+
code_type: string;
|
|
61
|
+
category: string;
|
|
62
|
+
};
|
|
63
|
+
}[];
|
|
64
|
+
payment_info: {
|
|
65
|
+
payment_currency: string;
|
|
66
|
+
total_price: number;
|
|
67
|
+
precoupon_price: number;
|
|
68
|
+
payment_method: string;
|
|
69
|
+
coupon_info?: string;
|
|
70
|
+
invoice_reference: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
base_data: {
|
|
3
|
-
cnt_language: string;
|
|
4
|
-
currency: string;
|
|
5
|
-
};
|
|
6
|
-
data: {
|
|
7
|
-
shopping_cart: {
|
|
8
|
-
shopping_cart_id:
|
|
9
|
-
billing: {
|
|
10
|
-
salutation_code: string;
|
|
11
|
-
first_name: string;
|
|
12
|
-
last_name: string;
|
|
13
|
-
email: string;
|
|
14
|
-
is_company: boolean;
|
|
15
|
-
company_name: string;
|
|
16
|
-
invoice: boolean;
|
|
17
|
-
address_line_1: string;
|
|
18
|
-
address_line_2: string;
|
|
19
|
-
city: string;
|
|
20
|
-
postal_code: string;
|
|
21
|
-
state: string;
|
|
22
|
-
country_code: string;
|
|
23
|
-
phone_number: string;
|
|
24
|
-
};
|
|
25
|
-
booking_data?: {
|
|
26
|
-
booking_id: number;
|
|
27
|
-
booking_hash: string;
|
|
28
|
-
booking_parameters?: {
|
|
29
|
-
name: string;
|
|
30
|
-
value_1: string;
|
|
31
|
-
value_2: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
traveler: {
|
|
35
|
-
salutation_code: string;
|
|
36
|
-
first_name: string;
|
|
37
|
-
last_name: string;
|
|
38
|
-
email: string;
|
|
39
|
-
phone_number: string;
|
|
40
|
-
};
|
|
41
|
-
payment: {
|
|
42
|
-
encrypted_credit_card: {
|
|
43
|
-
format: string;
|
|
44
|
-
data: string;
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
export default ITourBookingCartRequest;
|
|
1
|
+
export declare type TourBookingCartRequest = {
|
|
2
|
+
base_data: {
|
|
3
|
+
cnt_language: string;
|
|
4
|
+
currency: string;
|
|
5
|
+
};
|
|
6
|
+
data: {
|
|
7
|
+
shopping_cart: {
|
|
8
|
+
shopping_cart_id: number;
|
|
9
|
+
billing: {
|
|
10
|
+
salutation_code: string;
|
|
11
|
+
first_name: string;
|
|
12
|
+
last_name: string;
|
|
13
|
+
email: string;
|
|
14
|
+
is_company: boolean;
|
|
15
|
+
company_name: string;
|
|
16
|
+
invoice: boolean;
|
|
17
|
+
address_line_1: string;
|
|
18
|
+
address_line_2: string;
|
|
19
|
+
city: string;
|
|
20
|
+
postal_code: string;
|
|
21
|
+
state: string;
|
|
22
|
+
country_code: string;
|
|
23
|
+
phone_number: string;
|
|
24
|
+
};
|
|
25
|
+
booking_data?: {
|
|
26
|
+
booking_id: number;
|
|
27
|
+
booking_hash: string;
|
|
28
|
+
booking_parameters?: {
|
|
29
|
+
name: string;
|
|
30
|
+
value_1: string;
|
|
31
|
+
value_2: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
traveler: {
|
|
35
|
+
salutation_code: string;
|
|
36
|
+
first_name: string;
|
|
37
|
+
last_name: string;
|
|
38
|
+
email: string;
|
|
39
|
+
phone_number: string;
|
|
40
|
+
};
|
|
41
|
+
payment: {
|
|
42
|
+
encrypted_credit_card: {
|
|
43
|
+
format: string;
|
|
44
|
+
data: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
};
|
|
@@ -1,38 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
booking_id: number;
|
|
3
|
-
booking_hash: string;
|
|
4
|
-
booking_status: string;
|
|
5
|
-
shopping_cart_id: number;
|
|
6
|
-
shopping_cart_hash: string;
|
|
7
|
-
bookable: {
|
|
8
|
-
tour_id: number;
|
|
9
|
-
option_id: number;
|
|
10
|
-
datetime: string;
|
|
11
|
-
datetime_utc: string;
|
|
12
|
-
datetime_type: string;
|
|
13
|
-
opening_hours: {
|
|
14
|
-
opening_time: string;
|
|
15
|
-
closing_time: string;
|
|
16
|
-
}[];
|
|
17
|
-
ticket?: {
|
|
18
|
-
code: string;
|
|
19
|
-
code_type: string;
|
|
20
|
-
category: string;
|
|
21
|
-
}[];
|
|
22
|
-
price: number;
|
|
23
|
-
categories: {
|
|
24
|
-
category_id: number;
|
|
25
|
-
name: string;
|
|
26
|
-
number_of_participants: number;
|
|
27
|
-
}[];
|
|
28
|
-
booking_parameters: {
|
|
29
|
-
name?: string;
|
|
30
|
-
value_1?: string;
|
|
31
|
-
value_2?: string;
|
|
32
|
-
mandatory?: boolean;
|
|
33
|
-
}[];
|
|
34
|
-
valid_until: string;
|
|
35
|
-
cancellation_policy_text: string;
|
|
36
|
-
};
|
|
37
|
-
}
|
|
38
|
-
export default ITourBookingInfo;
|
|
1
|
+
export declare type TourBookingInfo = {
|
|
2
|
+
booking_id: number;
|
|
3
|
+
booking_hash: string;
|
|
4
|
+
booking_status: string;
|
|
5
|
+
shopping_cart_id: number;
|
|
6
|
+
shopping_cart_hash: string;
|
|
7
|
+
bookable: {
|
|
8
|
+
tour_id: number;
|
|
9
|
+
option_id: number;
|
|
10
|
+
datetime: string;
|
|
11
|
+
datetime_utc: string;
|
|
12
|
+
datetime_type: string;
|
|
13
|
+
opening_hours: {
|
|
14
|
+
opening_time: string;
|
|
15
|
+
closing_time: string;
|
|
16
|
+
}[];
|
|
17
|
+
ticket?: {
|
|
18
|
+
code: string;
|
|
19
|
+
code_type: string;
|
|
20
|
+
category: string;
|
|
21
|
+
}[];
|
|
22
|
+
price: number;
|
|
23
|
+
categories: {
|
|
24
|
+
category_id: number;
|
|
25
|
+
name: string;
|
|
26
|
+
number_of_participants: number;
|
|
27
|
+
}[];
|
|
28
|
+
booking_parameters: {
|
|
29
|
+
name?: string;
|
|
30
|
+
value_1?: string;
|
|
31
|
+
value_2?: string;
|
|
32
|
+
mandatory?: boolean;
|
|
33
|
+
}[];
|
|
34
|
+
valid_until: string;
|
|
35
|
+
cancellation_policy_text: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare type TourBookingRequest = {
|
|
2
|
+
base_data: {
|
|
3
|
+
cnt_language: string;
|
|
4
|
+
currency: string;
|
|
5
|
+
};
|
|
6
|
+
data: {
|
|
7
|
+
booking: {
|
|
8
|
+
bookable: {
|
|
9
|
+
external_reference_id: string;
|
|
10
|
+
option_id: number;
|
|
11
|
+
datetime: string;
|
|
12
|
+
price: number;
|
|
13
|
+
categories: {
|
|
14
|
+
category_id: number;
|
|
15
|
+
number_of_participants: number;
|
|
16
|
+
}[];
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { TourCoordinates } from './TourCoordinates';
|
|
2
|
+
import { TourViewport } from './TourViewport';
|
|
3
|
+
export declare type TourLocations = {
|
|
4
|
+
location_id: number;
|
|
5
|
+
type: string;
|
|
6
|
+
name: string;
|
|
7
|
+
english_name: string;
|
|
8
|
+
city?: string;
|
|
9
|
+
country: string;
|
|
10
|
+
coordinates: TourCoordinates;
|
|
11
|
+
parent_id?: number;
|
|
12
|
+
viewport: TourViewport;
|
|
13
|
+
};
|
|
@@ -1,35 +1,34 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
option_id: number;
|
|
5
|
-
tour_id: number;
|
|
6
|
-
title: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
pick_up?: string;
|
|
9
|
-
meeting_point: string;
|
|
10
|
-
drop_off?: string;
|
|
11
|
-
duration: number;
|
|
12
|
-
duration_unit: string;
|
|
13
|
-
cond_language: {
|
|
14
|
-
language_audio: string[];
|
|
15
|
-
language_booklet: string[];
|
|
16
|
-
language_live: string[];
|
|
17
|
-
};
|
|
18
|
-
booking_parameter: {
|
|
19
|
-
name: string;
|
|
20
|
-
value_1?: string;
|
|
21
|
-
value_2?: string;
|
|
22
|
-
description: string;
|
|
23
|
-
mandatory: boolean;
|
|
24
|
-
}[];
|
|
25
|
-
services: {
|
|
26
|
-
prt: boolean;
|
|
27
|
-
stl: boolean;
|
|
28
|
-
wlc: boolean;
|
|
29
|
-
}[];
|
|
30
|
-
coordinate_type: string;
|
|
31
|
-
coordinates:
|
|
32
|
-
price:
|
|
33
|
-
free_sale?: boolean;
|
|
34
|
-
}
|
|
35
|
-
export default ITourOption;
|
|
1
|
+
import { TourCoordinates } from './TourCoordinates';
|
|
2
|
+
import { TourPrice } from './TourPrice';
|
|
3
|
+
export declare type TourOption = {
|
|
4
|
+
option_id: number;
|
|
5
|
+
tour_id: number;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
pick_up?: string;
|
|
9
|
+
meeting_point: string;
|
|
10
|
+
drop_off?: string;
|
|
11
|
+
duration: number;
|
|
12
|
+
duration_unit: string;
|
|
13
|
+
cond_language: {
|
|
14
|
+
language_audio: string[];
|
|
15
|
+
language_booklet: string[];
|
|
16
|
+
language_live: string[];
|
|
17
|
+
};
|
|
18
|
+
booking_parameter: {
|
|
19
|
+
name: string;
|
|
20
|
+
value_1?: string;
|
|
21
|
+
value_2?: string;
|
|
22
|
+
description: string;
|
|
23
|
+
mandatory: boolean;
|
|
24
|
+
}[];
|
|
25
|
+
services: {
|
|
26
|
+
prt: boolean;
|
|
27
|
+
stl: boolean;
|
|
28
|
+
wlc: boolean;
|
|
29
|
+
}[];
|
|
30
|
+
coordinate_type: string;
|
|
31
|
+
coordinates: TourCoordinates;
|
|
32
|
+
price: TourPrice[];
|
|
33
|
+
free_sale?: boolean;
|
|
34
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { TourAvailability } from './TourAvailability';
|
|
2
|
+
import { TourOption } from './TourOption';
|
|
3
|
+
import { TourOptionPricing } from './TourOptionPricing';
|
|
4
|
+
export declare type TourOptionDetails = {
|
|
5
|
+
option: TourOption;
|
|
6
|
+
availabilities: TourAvailability[];
|
|
7
|
+
pricings?: TourOptionPricing;
|
|
8
|
+
};
|
|
@@ -1,21 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
pricing_id: number;
|
|
3
|
-
total_minimum_participants: number;
|
|
4
|
-
total_maximum_participants?: number;
|
|
5
|
-
categories: {
|
|
6
|
-
id: number;
|
|
7
|
-
name: string;
|
|
8
|
-
min_age: number;
|
|
9
|
-
max_age?: number;
|
|
10
|
-
stand_alone: boolean;
|
|
11
|
-
addon: boolean;
|
|
12
|
-
scale: {
|
|
13
|
-
min_participants: number;
|
|
14
|
-
max_participants: number;
|
|
15
|
-
retail_price: number;
|
|
16
|
-
net_price: number;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
}[];
|
|
20
|
-
}
|
|
21
|
-
export default ITourOptionPricing;
|
|
1
|
+
export declare type TourOptionPricing = {
|
|
2
|
+
pricing_id: number;
|
|
3
|
+
total_minimum_participants: number;
|
|
4
|
+
total_maximum_participants?: number;
|
|
5
|
+
categories: {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
min_age: number;
|
|
9
|
+
max_age?: number;
|
|
10
|
+
stand_alone: boolean;
|
|
11
|
+
addon: boolean;
|
|
12
|
+
scale: {
|
|
13
|
+
min_participants: number;
|
|
14
|
+
max_participants: number;
|
|
15
|
+
retail_price: number;
|
|
16
|
+
net_price: number;
|
|
17
|
+
type: string;
|
|
18
|
+
}[];
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
id: number;
|
|
3
|
-
url: string;
|
|
4
|
-
ssl_url: string;
|
|
5
|
-
verified: boolean;
|
|
6
|
-
}
|
|
7
|
-
export default ITourPictures;
|
|
1
|
+
export declare type TourPictures = {
|
|
2
|
+
id: number;
|
|
3
|
+
url: string;
|
|
4
|
+
ssl_url: string;
|
|
5
|
+
verified: boolean;
|
|
6
|
+
};
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
values: {
|
|
3
|
-
amount: number;
|
|
4
|
-
special?: {
|
|
5
|
-
original_price: number;
|
|
6
|
-
savings: number;
|
|
7
|
-
apps_only: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
description: string;
|
|
11
|
-
}
|
|
12
|
-
export default ITourPrice;
|
|
1
|
+
export declare type TourPrice = {
|
|
2
|
+
values: {
|
|
3
|
+
amount: number;
|
|
4
|
+
special?: {
|
|
5
|
+
original_price: number;
|
|
6
|
+
savings: number;
|
|
7
|
+
apps_only: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare type TourShoppingFormData = {
|
|
2
|
+
user: {
|
|
3
|
+
first_name: string;
|
|
4
|
+
last_name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
country_code: string;
|
|
7
|
+
phone_number: string;
|
|
8
|
+
address_line_1: string;
|
|
9
|
+
postal_code: string;
|
|
10
|
+
city: string;
|
|
11
|
+
};
|
|
12
|
+
creditCard: {
|
|
13
|
+
holderName: string;
|
|
14
|
+
number: string;
|
|
15
|
+
cvc: string;
|
|
16
|
+
expiryMonth: string;
|
|
17
|
+
expiryYear: string;
|
|
18
|
+
generationtime: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
sw_lat: number;
|
|
3
|
-
sw_long: number;
|
|
4
|
-
ne_lat: number;
|
|
5
|
-
ne_long: number;
|
|
6
|
-
}
|
|
7
|
-
export default ITourViewport;
|
|
1
|
+
export declare type TourViewport = {
|
|
2
|
+
sw_lat: number;
|
|
3
|
+
sw_long: number;
|
|
4
|
+
ne_lat: number;
|
|
5
|
+
ne_long: number;
|
|
6
|
+
};
|