@tripian/model 6.0.36 → 6.0.39
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/v4/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
- package/api/v4/enums/BUSINESS_RESULT_ORIGIN.d.ts +4 -4
- package/api/v4/enums/LOCATION_TYPE.d.ts +4 -4
- package/api/v4/enums/NOTIFICATION_TYPE.d.ts +5 -5
- package/api/v4/enums/OFFER_CURRENCY.d.ts +4 -4
- package/api/v4/enums/OFFER_RECEIVE_METHOD.d.ts +4 -4
- package/api/v4/enums/OFFER_STATUS.d.ts +6 -6
- package/api/v4/enums/OFFER_TYPE.d.ts +6 -6
- package/api/v4/enums/PLAN_STATUS.d.ts +7 -7
- package/api/v4/enums/POI_CATEGORY_GROUP.d.ts +7 -7
- package/api/v4/enums/PRODUCT_TYPE_NAME.d.ts +5 -5
- package/api/v4/enums/PROVIDER_ID.d.ts +8 -7
- package/api/v4/enums/PROVIDER_NAME.d.ts +6 -6
- package/api/v4/enums/QUESTIONS_CATEGORY.d.ts +5 -5
- package/api/v4/enums/REACTION.d.ts +5 -5
- package/api/v4/enums/REACTION_COMMENT.d.ts +4 -4
- package/api/v4/enums/RESPONSE_STATUS.d.ts +8 -8
- package/api/v4/enums/VERIFY_CHANNEL.d.ts +4 -4
- package/api/v4/index.d.ts +100 -100
- package/api/v4/models/Accommodation.d.ts +9 -9
- package/api/v4/models/Booking.d.ts +8 -8
- package/api/v4/models/BookingProduct.d.ts +13 -13
- package/api/v4/models/Business.d.ts +17 -17
- package/api/v4/models/BusinessInfoCategory.d.ts +6 -6
- package/api/v4/models/BusinessNameAddress.d.ts +4 -4
- package/api/v4/models/BusinessSearch.d.ts +7 -7
- package/api/v4/models/BusinessVerify.d.ts +4 -4
- package/api/v4/models/City.d.ts +17 -17
- package/api/v4/models/Companion.d.ts +8 -8
- package/api/v4/models/ConfigList.d.ts +90 -89
- package/api/v4/models/Continent.d.ts +4 -4
- package/api/v4/models/Coordinate.d.ts +4 -4
- package/api/v4/models/Country.d.ts +6 -6
- package/api/v4/models/Device.d.ts +7 -7
- package/api/v4/models/Favorite.d.ts +6 -6
- package/api/v4/models/Feedbacks.d.ts +9 -9
- package/api/v4/models/HourFormat.d.ts +4 -4
- package/api/v4/models/Image.d.ts +7 -7
- package/api/v4/models/ImageOwner.d.ts +4 -4
- package/api/v4/models/Notification.d.ts +8 -8
- package/api/v4/models/NotificationMetaData.d.ts +4 -4
- package/api/v4/models/NotificationSettings.d.ts +6 -6
- package/api/v4/models/NotificationUnseen.d.ts +3 -3
- package/api/v4/models/Offer.d.ts +28 -28
- package/api/v4/models/OfferCustomer.d.ts +6 -6
- package/api/v4/models/OfferProductType.d.ts +7 -7
- package/api/v4/models/Plan.d.ts +9 -9
- package/api/v4/models/Poi.d.ts +34 -34
- package/api/v4/models/PoiCategory.d.ts +7 -7
- package/api/v4/models/PoiCategoryGroup.d.ts +5 -5
- package/api/v4/models/PoiCategoryParent.d.ts +5 -5
- package/api/v4/models/PoiReference.d.ts +10 -10
- package/api/v4/models/PreRegister.d.ts +7 -7
- package/api/v4/models/Question.d.ts +16 -16
- package/api/v4/models/QuestionAnswer.d.ts +7 -7
- package/api/v4/models/Recommendation.d.ts +5 -5
- package/api/v4/models/Step.d.ts +9 -9
- package/api/v4/models/SubAnswer.d.ts +4 -4
- package/api/v4/models/TasteItem.d.ts +8 -8
- package/api/v4/models/TimeFrame.d.ts +4 -4
- package/api/v4/models/Token.d.ts +4 -4
- package/api/v4/models/TokenPayload.d.ts +28 -28
- package/api/v4/models/TokenRefresh.d.ts +5 -5
- package/api/v4/models/TopTen.d.ts +6 -6
- package/api/v4/models/Trip.d.ts +5 -5
- package/api/v4/models/TripProfile.d.ts +13 -13
- package/api/v4/models/TripReference.d.ts +8 -8
- package/api/v4/models/User.d.ts +6 -6
- package/api/v4/models/UserFeedback.d.ts +14 -10
- package/api/v4/models/UserReaction.d.ts +9 -9
- package/api/v4/models/UserReservation.d.ts +10 -10
- package/api/v4/models/UserResetPassword.d.ts +6 -6
- package/api/v4/requests/CompanionRequest.d.ts +6 -6
- package/api/v4/requests/FeedbackRequest.d.ts +7 -7
- package/api/v4/requests/LoginRequest.d.ts +6 -6
- package/api/v4/requests/OfferAddRequest.d.ts +21 -21
- package/api/v4/requests/OfferRequest.d.ts +8 -8
- package/api/v4/requests/PlanUpdateRequest.d.ts +5 -5
- package/api/v4/requests/PoisRequest.d.ts +17 -17
- package/api/v4/requests/PoisRequestCoordinate.d.ts +7 -7
- package/api/v4/requests/PoisRequestMustTry.d.ts +5 -5
- package/api/v4/requests/PoisRequestName.d.ts +7 -7
- package/api/v4/requests/RegisterRequest.d.ts +11 -11
- package/api/v4/requests/TokenRefreshRequest.d.ts +5 -5
- package/api/v4/requests/UserReactionRequest.d.ts +7 -7
- package/api/v4/requests/UserReservationRequest.d.ts +7 -7
- package/api/v4/requests/UserUpdateRequest.d.ts +7 -7
- package/api/v4/responses/DataPayload.d.ts +5 -5
- package/api/v4/responses/DeleteUpdateResponse.d.ts +3 -3
- package/api/v4/responses/ErrorResponse.d.ts +7 -7
- package/api/v4/responses/Pagination.d.ts +7 -7
- package/api/v4/responses/SuccessResponse.d.ts +10 -10
- package/helper/index.d.ts +46 -46
- 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 -21
- 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 -119
- package/providers/bb/SearchActivitiesResponse.d.ts +20 -20
- package/providers/bb/SearchCarRentResponse.d.ts +99 -99
- package/providers/bb/index.d.ts +13 -13
- 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 +40 -40
- 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 +4 -4
- 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,5 +1,5 @@
|
|
|
1
|
-
import { Tour } from './Tour';
|
|
2
|
-
export type CatalogGroup = {
|
|
3
|
-
title: string;
|
|
4
|
-
items: Tour[];
|
|
5
|
-
};
|
|
1
|
+
import { Tour } from './Tour';
|
|
2
|
+
export declare type CatalogGroup = {
|
|
3
|
+
title: string;
|
|
4
|
+
items: Tour[];
|
|
5
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Category } from './Category';
|
|
2
|
-
import { MetaData } from './MetaData';
|
|
3
|
-
export type Categories = {
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
categories: Array<Category>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { Category } from './Category';
|
|
2
|
+
import { MetaData } from './MetaData';
|
|
3
|
+
export declare type Categories = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
categories: Array<Category>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type Category = {
|
|
2
|
-
category_id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
number_of_tours: number;
|
|
5
|
-
parent_id?: number;
|
|
6
|
-
};
|
|
1
|
+
export declare type Category = {
|
|
2
|
+
category_id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
number_of_tours: number;
|
|
5
|
+
parent_id?: number;
|
|
6
|
+
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export type MetaData = {
|
|
2
|
-
descriptor: string;
|
|
3
|
-
method: string;
|
|
4
|
-
date: string;
|
|
5
|
-
status: string;
|
|
6
|
-
query: string;
|
|
7
|
-
availableLanguages: any[];
|
|
8
|
-
exchange: {
|
|
9
|
-
rate: number;
|
|
10
|
-
currency: string;
|
|
11
|
-
};
|
|
12
|
-
totalCount: number;
|
|
13
|
-
limit: number;
|
|
14
|
-
offset: number;
|
|
15
|
-
};
|
|
1
|
+
export declare type MetaData = {
|
|
2
|
+
descriptor: string;
|
|
3
|
+
method: string;
|
|
4
|
+
date: string;
|
|
5
|
+
status: string;
|
|
6
|
+
query: string;
|
|
7
|
+
availableLanguages: any[];
|
|
8
|
+
exchange: {
|
|
9
|
+
rate: number;
|
|
10
|
+
currency: string;
|
|
11
|
+
};
|
|
12
|
+
totalCount: number;
|
|
13
|
+
limit: number;
|
|
14
|
+
offset: number;
|
|
15
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type PaymentConfiguration = {
|
|
2
|
-
name: string;
|
|
3
|
-
public_key: string;
|
|
4
|
-
brands: Array<{
|
|
5
|
-
name: string;
|
|
6
|
-
code?: string;
|
|
7
|
-
}>;
|
|
8
|
-
};
|
|
1
|
+
export declare type PaymentConfiguration = {
|
|
2
|
+
name: string;
|
|
3
|
+
public_key: string;
|
|
4
|
+
brands: Array<{
|
|
5
|
+
name: string;
|
|
6
|
+
code?: string;
|
|
7
|
+
}>;
|
|
8
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { PaymentConfiguration } from './PaymentConfiguration';
|
|
3
|
-
export type PaymentConfigurations = {
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
payment_methods: Array<PaymentConfiguration>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { PaymentConfiguration } from './PaymentConfiguration';
|
|
3
|
+
export declare type PaymentConfigurations = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
payment_methods: Array<PaymentConfiguration>;
|
|
7
|
+
};
|
|
8
|
+
};
|
package/providers/gyg/Tour.d.ts
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { TourDurations } from './TourDurations';
|
|
2
|
-
import { TourCategories } from './TourCategories';
|
|
3
|
-
import { TourCoordinates } from './TourCoordinates';
|
|
4
|
-
import { TourLocations } from './TourLocations';
|
|
5
|
-
import { TourPictures } from './TourPictures';
|
|
6
|
-
import { TourPrice } from './TourPrice';
|
|
7
|
-
export type Tour = {
|
|
8
|
-
tour_id: number;
|
|
9
|
-
tour_code: string;
|
|
10
|
-
cond_language: Array<string>;
|
|
11
|
-
title: string;
|
|
12
|
-
abstract: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
is_auto_translation?: boolean;
|
|
15
|
-
is_english_fallback?: boolean;
|
|
16
|
-
additional_information?: string;
|
|
17
|
-
bestseller?: boolean;
|
|
18
|
-
certified: boolean;
|
|
19
|
-
has_pick_up: boolean;
|
|
20
|
-
overall_rating: number;
|
|
21
|
-
number_of_ratings: number;
|
|
22
|
-
highlights?: Array<string>;
|
|
23
|
-
inclusions?: string;
|
|
24
|
-
exclusions?: string;
|
|
25
|
-
pictures: Array<TourPictures>;
|
|
26
|
-
coordinates: TourCoordinates;
|
|
27
|
-
price?: TourPrice;
|
|
28
|
-
categories: Array<TourCategories>;
|
|
29
|
-
health_advisory: Array<string | number>;
|
|
30
|
-
health_requirement: Array<string | number>;
|
|
31
|
-
locations: Array<TourLocations>;
|
|
32
|
-
url: string;
|
|
33
|
-
translations?: Array<string>;
|
|
34
|
-
free_sale?: boolean;
|
|
35
|
-
guide_type?: string;
|
|
36
|
-
mobile_voucher?: boolean;
|
|
37
|
-
supplier_id?: number;
|
|
38
|
-
durations: Array<TourDurations>;
|
|
39
|
-
cancellation_policy_text?: string;
|
|
40
|
-
};
|
|
1
|
+
import { TourDurations } from './TourDurations';
|
|
2
|
+
import { TourCategories } from './TourCategories';
|
|
3
|
+
import { TourCoordinates } from './TourCoordinates';
|
|
4
|
+
import { TourLocations } from './TourLocations';
|
|
5
|
+
import { TourPictures } from './TourPictures';
|
|
6
|
+
import { TourPrice } from './TourPrice';
|
|
7
|
+
export declare type Tour = {
|
|
8
|
+
tour_id: number;
|
|
9
|
+
tour_code: string;
|
|
10
|
+
cond_language: Array<string>;
|
|
11
|
+
title: string;
|
|
12
|
+
abstract: string;
|
|
13
|
+
description?: string;
|
|
14
|
+
is_auto_translation?: boolean;
|
|
15
|
+
is_english_fallback?: boolean;
|
|
16
|
+
additional_information?: string;
|
|
17
|
+
bestseller?: boolean;
|
|
18
|
+
certified: boolean;
|
|
19
|
+
has_pick_up: boolean;
|
|
20
|
+
overall_rating: number;
|
|
21
|
+
number_of_ratings: number;
|
|
22
|
+
highlights?: Array<string>;
|
|
23
|
+
inclusions?: string;
|
|
24
|
+
exclusions?: string;
|
|
25
|
+
pictures: Array<TourPictures>;
|
|
26
|
+
coordinates: TourCoordinates;
|
|
27
|
+
price?: TourPrice;
|
|
28
|
+
categories: Array<TourCategories>;
|
|
29
|
+
health_advisory: Array<string | number>;
|
|
30
|
+
health_requirement: Array<string | number>;
|
|
31
|
+
locations: Array<TourLocations>;
|
|
32
|
+
url: string;
|
|
33
|
+
translations?: Array<string>;
|
|
34
|
+
free_sale?: boolean;
|
|
35
|
+
guide_type?: string;
|
|
36
|
+
mobile_voucher?: boolean;
|
|
37
|
+
supplier_id?: number;
|
|
38
|
+
durations: Array<TourDurations>;
|
|
39
|
+
cancellation_policy_text?: string;
|
|
40
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { TourAvailability } from './TourAvailability';
|
|
3
|
-
export type TourAvailabilities = {
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
availabilities: Array<TourAvailability>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { TourAvailability } from './TourAvailability';
|
|
3
|
+
export declare type TourAvailabilities = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
availabilities: Array<TourAvailability>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type TourAvailability = {
|
|
2
|
-
start_time: string;
|
|
3
|
-
pricing_id: number;
|
|
4
|
-
vacancies: number;
|
|
5
|
-
discount?: number;
|
|
6
|
-
end_time?: string;
|
|
7
|
-
};
|
|
1
|
+
export declare type TourAvailability = {
|
|
2
|
+
start_time: string;
|
|
3
|
+
pricing_id: number;
|
|
4
|
+
vacancies: number;
|
|
5
|
+
discount?: number;
|
|
6
|
+
end_time?: string;
|
|
7
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type TourBooking = {
|
|
2
|
-
bookings: {
|
|
3
|
-
shopping_cart_id: number;
|
|
4
|
-
shopping_cart_hash: string;
|
|
5
|
-
booking_id: number;
|
|
6
|
-
booking_hash: string;
|
|
7
|
-
status: string;
|
|
8
|
-
return_code: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
1
|
+
export declare type TourBooking = {
|
|
2
|
+
bookings: {
|
|
3
|
+
shopping_cart_id: number;
|
|
4
|
+
shopping_cart_hash: string;
|
|
5
|
+
booking_id: number;
|
|
6
|
+
booking_hash: string;
|
|
7
|
+
status: string;
|
|
8
|
+
return_code: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -1,81 +1,81 @@
|
|
|
1
|
-
export 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
|
-
booking_reference: string;
|
|
60
|
-
voucher_information: string;
|
|
61
|
-
emergency_phone_number: string;
|
|
62
|
-
ticket_hash: string;
|
|
63
|
-
emergency_email: string;
|
|
64
|
-
ticket_url: string;
|
|
65
|
-
supplier_booking_codes: {
|
|
66
|
-
code: string;
|
|
67
|
-
ticket_hash: string;
|
|
68
|
-
label: string;
|
|
69
|
-
type: string;
|
|
70
|
-
}[];
|
|
71
|
-
};
|
|
72
|
-
}[];
|
|
73
|
-
payment_info: {
|
|
74
|
-
payment_currency: string;
|
|
75
|
-
total_price: number;
|
|
76
|
-
precoupon_price: number;
|
|
77
|
-
payment_method: string;
|
|
78
|
-
coupon_info?: string;
|
|
79
|
-
invoice_reference: string;
|
|
80
|
-
};
|
|
81
|
-
};
|
|
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
|
+
booking_reference: string;
|
|
60
|
+
voucher_information: string;
|
|
61
|
+
emergency_phone_number: string;
|
|
62
|
+
ticket_hash: string;
|
|
63
|
+
emergency_email: string;
|
|
64
|
+
ticket_url: string;
|
|
65
|
+
supplier_booking_codes: {
|
|
66
|
+
code: string;
|
|
67
|
+
ticket_hash: string;
|
|
68
|
+
label: string;
|
|
69
|
+
type: string;
|
|
70
|
+
}[];
|
|
71
|
+
};
|
|
72
|
+
}[];
|
|
73
|
+
payment_info: {
|
|
74
|
+
payment_currency: string;
|
|
75
|
+
total_price: number;
|
|
76
|
+
precoupon_price: number;
|
|
77
|
+
payment_method: string;
|
|
78
|
+
coupon_info?: string;
|
|
79
|
+
invoice_reference: string;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
export 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
|
+
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,6 +1,6 @@
|
|
|
1
|
-
import { TourBookingCart } from './TourBookingCart';
|
|
2
|
-
export type TourBookingCartWithDetails = TourBookingCart & {
|
|
3
|
-
tour_name: string;
|
|
4
|
-
city_name: string;
|
|
5
|
-
tour_image: string;
|
|
6
|
-
};
|
|
1
|
+
import { TourBookingCart } from './TourBookingCart';
|
|
2
|
+
export declare type TourBookingCartWithDetails = TourBookingCart & {
|
|
3
|
+
tour_name: string;
|
|
4
|
+
city_name: string;
|
|
5
|
+
tour_image: string;
|
|
6
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { TourBookingCart } from './TourBookingCart';
|
|
3
|
-
export type TourBookingCarts = {
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: TourBookingCart;
|
|
6
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { TourBookingCart } from './TourBookingCart';
|
|
3
|
+
export declare type TourBookingCarts = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: TourBookingCart;
|
|
6
|
+
};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
export 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
|
-
};
|
|
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
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { TourBookingInfo } from './TourBookingInfo';
|
|
3
|
-
export type TourBookingInfos = {
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
booking: Array<TourBookingInfo>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { TourBookingInfo } from './TourBookingInfo';
|
|
3
|
+
export declare type TourBookingInfos = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
booking: Array<TourBookingInfo>;
|
|
7
|
+
};
|
|
8
|
+
};
|