@tripian/model 6.0.34 → 6.0.36
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 +7 -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 -99
- 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 +89 -87
- 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 +10 -0
- 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
package/providers/bb/Offer.d.ts
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { OfferPoint } from './OfferPoint';
|
|
2
|
-
export
|
|
3
|
-
offerKey: string;
|
|
4
|
-
taxesAndFeesIncluded: boolean;
|
|
5
|
-
salesTerms: [
|
|
6
|
-
{
|
|
7
|
-
type: string;
|
|
8
|
-
price: {
|
|
9
|
-
currency: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
commission: {
|
|
12
|
-
currency: string;
|
|
13
|
-
amount: number;
|
|
14
|
-
percent: number;
|
|
15
|
-
};
|
|
16
|
-
taxesAndFees: [];
|
|
17
|
-
};
|
|
18
|
-
originalSupplierCurrency: string;
|
|
19
|
-
promoCodeApplied: boolean;
|
|
20
|
-
}
|
|
21
|
-
];
|
|
22
|
-
available: boolean;
|
|
23
|
-
nonRefundable: boolean;
|
|
24
|
-
date: string;
|
|
25
|
-
duration: number;
|
|
26
|
-
languages: [
|
|
27
|
-
{
|
|
28
|
-
langCode: string;
|
|
29
|
-
type: string;
|
|
30
|
-
}
|
|
31
|
-
];
|
|
32
|
-
startTimes: string[];
|
|
33
|
-
serviceName: string;
|
|
34
|
-
tariffName: string;
|
|
35
|
-
serviceCode: string;
|
|
36
|
-
pickUpPoints: OfferPoint[];
|
|
37
|
-
dropOffPoints: OfferPoint[];
|
|
38
|
-
availableTicketQuantity: [];
|
|
39
|
-
touristsQuantityRestrictions: {
|
|
40
|
-
minTourists: number;
|
|
41
|
-
maxTourists: number;
|
|
42
|
-
};
|
|
43
|
-
priceBreakDowns: [
|
|
44
|
-
{
|
|
45
|
-
touristType: string;
|
|
46
|
-
touristTypeId: number;
|
|
47
|
-
touristTypeName: string;
|
|
48
|
-
quantity: number;
|
|
49
|
-
price: {
|
|
50
|
-
currency: string;
|
|
51
|
-
amount: number;
|
|
52
|
-
originalCurrency: string;
|
|
53
|
-
originalAmount: number;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
serviceDescription?: string;
|
|
58
|
-
};
|
|
1
|
+
import { OfferPoint } from './OfferPoint';
|
|
2
|
+
export type Offer = {
|
|
3
|
+
offerKey: string;
|
|
4
|
+
taxesAndFeesIncluded: boolean;
|
|
5
|
+
salesTerms: [
|
|
6
|
+
{
|
|
7
|
+
type: string;
|
|
8
|
+
price: {
|
|
9
|
+
currency: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
commission: {
|
|
12
|
+
currency: string;
|
|
13
|
+
amount: number;
|
|
14
|
+
percent: number;
|
|
15
|
+
};
|
|
16
|
+
taxesAndFees: [];
|
|
17
|
+
};
|
|
18
|
+
originalSupplierCurrency: string;
|
|
19
|
+
promoCodeApplied: boolean;
|
|
20
|
+
}
|
|
21
|
+
];
|
|
22
|
+
available: boolean;
|
|
23
|
+
nonRefundable: boolean;
|
|
24
|
+
date: string;
|
|
25
|
+
duration: number;
|
|
26
|
+
languages: [
|
|
27
|
+
{
|
|
28
|
+
langCode: string;
|
|
29
|
+
type: string;
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
startTimes: string[];
|
|
33
|
+
serviceName: string;
|
|
34
|
+
tariffName: string;
|
|
35
|
+
serviceCode: string;
|
|
36
|
+
pickUpPoints: OfferPoint[];
|
|
37
|
+
dropOffPoints: OfferPoint[];
|
|
38
|
+
availableTicketQuantity: [];
|
|
39
|
+
touristsQuantityRestrictions: {
|
|
40
|
+
minTourists: number;
|
|
41
|
+
maxTourists: number;
|
|
42
|
+
};
|
|
43
|
+
priceBreakDowns: [
|
|
44
|
+
{
|
|
45
|
+
touristType: string;
|
|
46
|
+
touristTypeId: number;
|
|
47
|
+
touristTypeName: string;
|
|
48
|
+
quantity: number;
|
|
49
|
+
price: {
|
|
50
|
+
currency: string;
|
|
51
|
+
amount: number;
|
|
52
|
+
originalCurrency: string;
|
|
53
|
+
originalAmount: number;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
serviceDescription?: string;
|
|
58
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
name: string;
|
|
3
|
-
timeShift: string;
|
|
4
|
-
latitude?: string;
|
|
5
|
-
longitude?: string;
|
|
6
|
-
};
|
|
1
|
+
export type OfferPoint = {
|
|
2
|
+
name: string;
|
|
3
|
+
timeShift: string;
|
|
4
|
+
latitude?: string;
|
|
5
|
+
longitude?: string;
|
|
6
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
2
|
-
import { Offer } from './Offer';
|
|
3
|
-
export
|
|
4
|
-
info: {
|
|
5
|
-
id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
};
|
|
8
|
-
shortDescription: string;
|
|
9
|
-
fullDescription: string;
|
|
10
|
-
themes: ACTIVITY_THEMES[];
|
|
11
|
-
supplierId: string;
|
|
12
|
-
activityCompanyName: string;
|
|
13
|
-
mainImage: string;
|
|
14
|
-
productType: string;
|
|
15
|
-
type: string;
|
|
16
|
-
transportationType: string;
|
|
17
|
-
offers: Offer[];
|
|
18
|
-
recommended: boolean;
|
|
19
|
-
};
|
|
1
|
+
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
2
|
+
import { Offer } from './Offer';
|
|
3
|
+
export type Product = {
|
|
4
|
+
info: {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
shortDescription: string;
|
|
9
|
+
fullDescription: string;
|
|
10
|
+
themes: ACTIVITY_THEMES[];
|
|
11
|
+
supplierId: string;
|
|
12
|
+
activityCompanyName: string;
|
|
13
|
+
mainImage: string;
|
|
14
|
+
productType: string;
|
|
15
|
+
type: string;
|
|
16
|
+
transportationType: string;
|
|
17
|
+
offers: Offer[];
|
|
18
|
+
recommended: boolean;
|
|
19
|
+
};
|
|
@@ -1,119 +1,119 @@
|
|
|
1
|
-
export
|
|
2
|
-
roomType: string;
|
|
3
|
-
roomTypeServiceId: number;
|
|
4
|
-
roomTypeDescription: string;
|
|
5
|
-
mealTypes: {
|
|
6
|
-
otaCode: number;
|
|
7
|
-
otaName: string;
|
|
8
|
-
standardCode: string;
|
|
9
|
-
standardName: string;
|
|
10
|
-
name: string;
|
|
11
|
-
id: number;
|
|
12
|
-
}[];
|
|
13
|
-
mealOptionsAvailable: boolean;
|
|
14
|
-
supplierRoomTypeCode: string;
|
|
15
|
-
bedroomsQuantity: number;
|
|
16
|
-
bathroomsQuantity: number;
|
|
17
|
-
bedTypes: {
|
|
18
|
-
type: string;
|
|
19
|
-
quantity: number;
|
|
20
|
-
alternate: boolean;
|
|
21
|
-
}[];
|
|
22
|
-
};
|
|
23
|
-
export
|
|
24
|
-
offerKey: string;
|
|
25
|
-
cancellations?: {
|
|
26
|
-
convertedPrice: {
|
|
27
|
-
amount: number;
|
|
28
|
-
currency: string;
|
|
29
|
-
};
|
|
30
|
-
dateFrom?: string;
|
|
31
|
-
dateTo?: string;
|
|
32
|
-
noShow: boolean;
|
|
33
|
-
price: {
|
|
34
|
-
amount: number;
|
|
35
|
-
currency: string;
|
|
36
|
-
};
|
|
37
|
-
}[];
|
|
38
|
-
taxesAndFeesIncluded: boolean;
|
|
39
|
-
salesTerms: {
|
|
40
|
-
originalSupplierCurrency: string;
|
|
41
|
-
price: {
|
|
42
|
-
amount: number;
|
|
43
|
-
currency: string;
|
|
44
|
-
taxesAndFees: any[];
|
|
45
|
-
};
|
|
46
|
-
priceBreakDowns: any[];
|
|
47
|
-
promoCodeApplied: boolean;
|
|
48
|
-
type: string;
|
|
49
|
-
}[];
|
|
50
|
-
rph: string;
|
|
51
|
-
guests: {
|
|
52
|
-
adults: number;
|
|
53
|
-
ages: number[];
|
|
54
|
-
};
|
|
55
|
-
available: boolean;
|
|
56
|
-
availableRooms: number;
|
|
57
|
-
info: SearchAccommodationRoomOfferInfo;
|
|
58
|
-
nonRefundable: boolean;
|
|
59
|
-
roomServices: string[];
|
|
60
|
-
extraServices: boolean;
|
|
61
|
-
packageOnly: boolean;
|
|
62
|
-
hotelCode: string;
|
|
63
|
-
hotelSupplierCode: string;
|
|
64
|
-
hotelSupplierId: number;
|
|
65
|
-
promoCode: boolean;
|
|
66
|
-
hotDeal: boolean;
|
|
67
|
-
percentDiscount: boolean;
|
|
68
|
-
specialOffer: boolean;
|
|
69
|
-
externalDiscount: boolean;
|
|
70
|
-
freeNightsDiscount: boolean;
|
|
71
|
-
cardGuarantee: boolean;
|
|
72
|
-
onExtraBed: any[];
|
|
73
|
-
onWithoutPlace: any[];
|
|
74
|
-
};
|
|
75
|
-
export
|
|
76
|
-
name: string;
|
|
77
|
-
address: string;
|
|
78
|
-
category: number;
|
|
79
|
-
supplierCode: string;
|
|
80
|
-
cityId: number;
|
|
81
|
-
cityCode: string;
|
|
82
|
-
cityName: string;
|
|
83
|
-
countryName: string;
|
|
84
|
-
hotelCode: string;
|
|
85
|
-
latitude: string;
|
|
86
|
-
longitude: string;
|
|
87
|
-
mainImageUrl: string;
|
|
88
|
-
hotelType: string;
|
|
89
|
-
offerServicesForFilter: any[];
|
|
90
|
-
ratings: {
|
|
91
|
-
ratingSource: string;
|
|
92
|
-
rating: number;
|
|
93
|
-
reviewsURL?: string;
|
|
94
|
-
}[];
|
|
95
|
-
hotelServices: {
|
|
96
|
-
supplierServiceName: string;
|
|
97
|
-
groupName: string;
|
|
98
|
-
}[];
|
|
99
|
-
hotelClassifications: {
|
|
100
|
-
groupName: string;
|
|
101
|
-
otaCode: string;
|
|
102
|
-
supplierClassificationName: string;
|
|
103
|
-
}[];
|
|
104
|
-
type: string;
|
|
105
|
-
typeOTAName: string;
|
|
106
|
-
recommended: boolean;
|
|
107
|
-
};
|
|
108
|
-
export
|
|
109
|
-
info: SearchAccommodationHotelOfferInfo;
|
|
110
|
-
roomOffers: SearchAccommodationRoomOffer[];
|
|
111
|
-
bookAllowed: boolean;
|
|
112
|
-
};
|
|
113
|
-
export
|
|
114
|
-
searchKey: string;
|
|
115
|
-
offersCount: number;
|
|
116
|
-
filters: any;
|
|
117
|
-
processed: boolean;
|
|
118
|
-
hotelOffers: SearchAccommodationHotelOffer[];
|
|
119
|
-
};
|
|
1
|
+
export type SearchAccommodationRoomOfferInfo = {
|
|
2
|
+
roomType: string;
|
|
3
|
+
roomTypeServiceId: number;
|
|
4
|
+
roomTypeDescription: string;
|
|
5
|
+
mealTypes: {
|
|
6
|
+
otaCode: number;
|
|
7
|
+
otaName: string;
|
|
8
|
+
standardCode: string;
|
|
9
|
+
standardName: string;
|
|
10
|
+
name: string;
|
|
11
|
+
id: number;
|
|
12
|
+
}[];
|
|
13
|
+
mealOptionsAvailable: boolean;
|
|
14
|
+
supplierRoomTypeCode: string;
|
|
15
|
+
bedroomsQuantity: number;
|
|
16
|
+
bathroomsQuantity: number;
|
|
17
|
+
bedTypes: {
|
|
18
|
+
type: string;
|
|
19
|
+
quantity: number;
|
|
20
|
+
alternate: boolean;
|
|
21
|
+
}[];
|
|
22
|
+
};
|
|
23
|
+
export type SearchAccommodationRoomOffer = {
|
|
24
|
+
offerKey: string;
|
|
25
|
+
cancellations?: {
|
|
26
|
+
convertedPrice: {
|
|
27
|
+
amount: number;
|
|
28
|
+
currency: string;
|
|
29
|
+
};
|
|
30
|
+
dateFrom?: string;
|
|
31
|
+
dateTo?: string;
|
|
32
|
+
noShow: boolean;
|
|
33
|
+
price: {
|
|
34
|
+
amount: number;
|
|
35
|
+
currency: string;
|
|
36
|
+
};
|
|
37
|
+
}[];
|
|
38
|
+
taxesAndFeesIncluded: boolean;
|
|
39
|
+
salesTerms: {
|
|
40
|
+
originalSupplierCurrency: string;
|
|
41
|
+
price: {
|
|
42
|
+
amount: number;
|
|
43
|
+
currency: string;
|
|
44
|
+
taxesAndFees: any[];
|
|
45
|
+
};
|
|
46
|
+
priceBreakDowns: any[];
|
|
47
|
+
promoCodeApplied: boolean;
|
|
48
|
+
type: string;
|
|
49
|
+
}[];
|
|
50
|
+
rph: string;
|
|
51
|
+
guests: {
|
|
52
|
+
adults: number;
|
|
53
|
+
ages: number[];
|
|
54
|
+
};
|
|
55
|
+
available: boolean;
|
|
56
|
+
availableRooms: number;
|
|
57
|
+
info: SearchAccommodationRoomOfferInfo;
|
|
58
|
+
nonRefundable: boolean;
|
|
59
|
+
roomServices: string[];
|
|
60
|
+
extraServices: boolean;
|
|
61
|
+
packageOnly: boolean;
|
|
62
|
+
hotelCode: string;
|
|
63
|
+
hotelSupplierCode: string;
|
|
64
|
+
hotelSupplierId: number;
|
|
65
|
+
promoCode: boolean;
|
|
66
|
+
hotDeal: boolean;
|
|
67
|
+
percentDiscount: boolean;
|
|
68
|
+
specialOffer: boolean;
|
|
69
|
+
externalDiscount: boolean;
|
|
70
|
+
freeNightsDiscount: boolean;
|
|
71
|
+
cardGuarantee: boolean;
|
|
72
|
+
onExtraBed: any[];
|
|
73
|
+
onWithoutPlace: any[];
|
|
74
|
+
};
|
|
75
|
+
export type SearchAccommodationHotelOfferInfo = {
|
|
76
|
+
name: string;
|
|
77
|
+
address: string;
|
|
78
|
+
category: number;
|
|
79
|
+
supplierCode: string;
|
|
80
|
+
cityId: number;
|
|
81
|
+
cityCode: string;
|
|
82
|
+
cityName: string;
|
|
83
|
+
countryName: string;
|
|
84
|
+
hotelCode: string;
|
|
85
|
+
latitude: string;
|
|
86
|
+
longitude: string;
|
|
87
|
+
mainImageUrl: string;
|
|
88
|
+
hotelType: string;
|
|
89
|
+
offerServicesForFilter: any[];
|
|
90
|
+
ratings: {
|
|
91
|
+
ratingSource: string;
|
|
92
|
+
rating: number;
|
|
93
|
+
reviewsURL?: string;
|
|
94
|
+
}[];
|
|
95
|
+
hotelServices: {
|
|
96
|
+
supplierServiceName: string;
|
|
97
|
+
groupName: string;
|
|
98
|
+
}[];
|
|
99
|
+
hotelClassifications: {
|
|
100
|
+
groupName: string;
|
|
101
|
+
otaCode: string;
|
|
102
|
+
supplierClassificationName: string;
|
|
103
|
+
}[];
|
|
104
|
+
type: string;
|
|
105
|
+
typeOTAName: string;
|
|
106
|
+
recommended: boolean;
|
|
107
|
+
};
|
|
108
|
+
export type SearchAccommodationHotelOffer = {
|
|
109
|
+
info: SearchAccommodationHotelOfferInfo;
|
|
110
|
+
roomOffers: SearchAccommodationRoomOffer[];
|
|
111
|
+
bookAllowed: boolean;
|
|
112
|
+
};
|
|
113
|
+
export type SearchAccommodationResponse = {
|
|
114
|
+
searchKey: string;
|
|
115
|
+
offersCount: number;
|
|
116
|
+
filters: any;
|
|
117
|
+
processed: boolean;
|
|
118
|
+
hotelOffers: SearchAccommodationHotelOffer[];
|
|
119
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
2
|
-
import { Product } from './Product';
|
|
3
|
-
export
|
|
4
|
-
searchKey: string;
|
|
5
|
-
offersCount: number;
|
|
6
|
-
processed: boolean;
|
|
7
|
-
activityFilters: {
|
|
8
|
-
priceFrom: number;
|
|
9
|
-
priceTo: number;
|
|
10
|
-
activityNames: string[];
|
|
11
|
-
languages: string[];
|
|
12
|
-
dates: string[];
|
|
13
|
-
startTimeFrom: string;
|
|
14
|
-
startTimeTo: string;
|
|
15
|
-
durationFrom: number;
|
|
16
|
-
durationTo: number;
|
|
17
|
-
themes: ACTIVITY_THEMES[];
|
|
18
|
-
};
|
|
19
|
-
products: Product[];
|
|
20
|
-
};
|
|
1
|
+
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
2
|
+
import { Product } from './Product';
|
|
3
|
+
export type SearchActivitiesResponse = {
|
|
4
|
+
searchKey: string;
|
|
5
|
+
offersCount: number;
|
|
6
|
+
processed: boolean;
|
|
7
|
+
activityFilters: {
|
|
8
|
+
priceFrom: number;
|
|
9
|
+
priceTo: number;
|
|
10
|
+
activityNames: string[];
|
|
11
|
+
languages: string[];
|
|
12
|
+
dates: string[];
|
|
13
|
+
startTimeFrom: string;
|
|
14
|
+
startTimeTo: string;
|
|
15
|
+
durationFrom: number;
|
|
16
|
+
durationTo: number;
|
|
17
|
+
themes: ACTIVITY_THEMES[];
|
|
18
|
+
};
|
|
19
|
+
products: Product[];
|
|
20
|
+
};
|
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
export
|
|
2
|
-
priceFrom: number;
|
|
3
|
-
priceTo: number;
|
|
4
|
-
modelNames: string[];
|
|
5
|
-
vehicleCategories: string[];
|
|
6
|
-
vehicleClasses: string[];
|
|
7
|
-
transmissionTypes: string[];
|
|
8
|
-
fuelTypes: string[];
|
|
9
|
-
doorCount: number[];
|
|
10
|
-
passengerQuantity: number[];
|
|
11
|
-
baggageQuantity: number[];
|
|
12
|
-
features: string[];
|
|
13
|
-
carRentCompanyNames: string[];
|
|
14
|
-
};
|
|
15
|
-
export
|
|
16
|
-
currency: string;
|
|
17
|
-
amount: number;
|
|
18
|
-
taxesAndFees?: (number | string)[];
|
|
19
|
-
};
|
|
20
|
-
export
|
|
21
|
-
type: string;
|
|
22
|
-
price: SearchCarRentProductOfferSalesTermPrice;
|
|
23
|
-
originalSupplierCurrency: string;
|
|
24
|
-
promoCodeApplied: boolean;
|
|
25
|
-
};
|
|
26
|
-
export
|
|
27
|
-
locationCode: string;
|
|
28
|
-
type: string;
|
|
29
|
-
name: string;
|
|
30
|
-
address: string;
|
|
31
|
-
longitude?: number;
|
|
32
|
-
latitude?: number;
|
|
33
|
-
};
|
|
34
|
-
export
|
|
35
|
-
dateFrom: string;
|
|
36
|
-
dateTo: string;
|
|
37
|
-
price: SearchCarRentProductOfferSalesTermPrice;
|
|
38
|
-
convertedPrice: SearchCarRentProductOfferSalesTermPrice;
|
|
39
|
-
noShow: boolean;
|
|
40
|
-
};
|
|
41
|
-
export
|
|
42
|
-
offerKey: string;
|
|
43
|
-
loyaltyPoints?: number;
|
|
44
|
-
cancellations?: SearchCarRentProductOfferCancellation[];
|
|
45
|
-
taxesAndFeesIncluded: boolean;
|
|
46
|
-
salesTerms: SearchCarRentProductOfferSalesTerm[];
|
|
47
|
-
available: boolean;
|
|
48
|
-
rateName: string;
|
|
49
|
-
pickUpPoints: SearchCarRentProductOfferPoint[];
|
|
50
|
-
returnPoints: SearchCarRentProductOfferPoint[];
|
|
51
|
-
chargeDescriptions: (string | number | null)[];
|
|
52
|
-
extraServices: boolean;
|
|
53
|
-
};
|
|
54
|
-
export
|
|
55
|
-
url: string;
|
|
56
|
-
mainImage: boolean;
|
|
57
|
-
};
|
|
58
|
-
export
|
|
59
|
-
supplierCode: string;
|
|
60
|
-
doorCount: number;
|
|
61
|
-
passengerQuantity: number;
|
|
62
|
-
baggageQuantity: number;
|
|
63
|
-
modelName: string;
|
|
64
|
-
fuelType: string;
|
|
65
|
-
transmissionType: string;
|
|
66
|
-
airConditioning: boolean;
|
|
67
|
-
vehicleCategory: string;
|
|
68
|
-
vehicleClass: string;
|
|
69
|
-
images: SearchCarRentProductInfoImage[];
|
|
70
|
-
carRentCompanyName: string;
|
|
71
|
-
features: string[];
|
|
72
|
-
shortDescription: string;
|
|
73
|
-
description?: string;
|
|
74
|
-
};
|
|
75
|
-
export
|
|
76
|
-
offers: SearchCarRentProductOffer[];
|
|
77
|
-
info: SearchCarRentProductInfo;
|
|
78
|
-
};
|
|
79
|
-
export
|
|
80
|
-
searchKey: string;
|
|
81
|
-
offersCount: number;
|
|
82
|
-
processed: boolean;
|
|
83
|
-
carFilters: SearchCarRentFilters;
|
|
84
|
-
products: SearchCarRentProduct[];
|
|
85
|
-
};
|
|
86
|
-
export
|
|
87
|
-
supplierCode: string;
|
|
88
|
-
carRentCompanyName: string;
|
|
89
|
-
images: string[];
|
|
90
|
-
features: string[];
|
|
91
|
-
shortDescription: string;
|
|
92
|
-
description?: string;
|
|
93
|
-
locationCode: string;
|
|
94
|
-
type: string;
|
|
95
|
-
name: string;
|
|
96
|
-
address: string;
|
|
97
|
-
longitude?: number;
|
|
98
|
-
latitude?: number;
|
|
99
|
-
};
|
|
1
|
+
export type SearchCarRentFilters = {
|
|
2
|
+
priceFrom: number;
|
|
3
|
+
priceTo: number;
|
|
4
|
+
modelNames: string[];
|
|
5
|
+
vehicleCategories: string[];
|
|
6
|
+
vehicleClasses: string[];
|
|
7
|
+
transmissionTypes: string[];
|
|
8
|
+
fuelTypes: string[];
|
|
9
|
+
doorCount: number[];
|
|
10
|
+
passengerQuantity: number[];
|
|
11
|
+
baggageQuantity: number[];
|
|
12
|
+
features: string[];
|
|
13
|
+
carRentCompanyNames: string[];
|
|
14
|
+
};
|
|
15
|
+
export type SearchCarRentProductOfferSalesTermPrice = {
|
|
16
|
+
currency: string;
|
|
17
|
+
amount: number;
|
|
18
|
+
taxesAndFees?: (number | string)[];
|
|
19
|
+
};
|
|
20
|
+
export type SearchCarRentProductOfferSalesTerm = {
|
|
21
|
+
type: string;
|
|
22
|
+
price: SearchCarRentProductOfferSalesTermPrice;
|
|
23
|
+
originalSupplierCurrency: string;
|
|
24
|
+
promoCodeApplied: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type SearchCarRentProductOfferPoint = {
|
|
27
|
+
locationCode: string;
|
|
28
|
+
type: string;
|
|
29
|
+
name: string;
|
|
30
|
+
address: string;
|
|
31
|
+
longitude?: number;
|
|
32
|
+
latitude?: number;
|
|
33
|
+
};
|
|
34
|
+
export type SearchCarRentProductOfferCancellation = {
|
|
35
|
+
dateFrom: string;
|
|
36
|
+
dateTo: string;
|
|
37
|
+
price: SearchCarRentProductOfferSalesTermPrice;
|
|
38
|
+
convertedPrice: SearchCarRentProductOfferSalesTermPrice;
|
|
39
|
+
noShow: boolean;
|
|
40
|
+
};
|
|
41
|
+
export type SearchCarRentProductOffer = {
|
|
42
|
+
offerKey: string;
|
|
43
|
+
loyaltyPoints?: number;
|
|
44
|
+
cancellations?: SearchCarRentProductOfferCancellation[];
|
|
45
|
+
taxesAndFeesIncluded: boolean;
|
|
46
|
+
salesTerms: SearchCarRentProductOfferSalesTerm[];
|
|
47
|
+
available: boolean;
|
|
48
|
+
rateName: string;
|
|
49
|
+
pickUpPoints: SearchCarRentProductOfferPoint[];
|
|
50
|
+
returnPoints: SearchCarRentProductOfferPoint[];
|
|
51
|
+
chargeDescriptions: (string | number | null)[];
|
|
52
|
+
extraServices: boolean;
|
|
53
|
+
};
|
|
54
|
+
export type SearchCarRentProductInfoImage = {
|
|
55
|
+
url: string;
|
|
56
|
+
mainImage: boolean;
|
|
57
|
+
};
|
|
58
|
+
export type SearchCarRentProductInfo = {
|
|
59
|
+
supplierCode: string;
|
|
60
|
+
doorCount: number;
|
|
61
|
+
passengerQuantity: number;
|
|
62
|
+
baggageQuantity: number;
|
|
63
|
+
modelName: string;
|
|
64
|
+
fuelType: string;
|
|
65
|
+
transmissionType: string;
|
|
66
|
+
airConditioning: boolean;
|
|
67
|
+
vehicleCategory: string;
|
|
68
|
+
vehicleClass: string;
|
|
69
|
+
images: SearchCarRentProductInfoImage[];
|
|
70
|
+
carRentCompanyName: string;
|
|
71
|
+
features: string[];
|
|
72
|
+
shortDescription: string;
|
|
73
|
+
description?: string;
|
|
74
|
+
};
|
|
75
|
+
export type SearchCarRentProduct = {
|
|
76
|
+
offers: SearchCarRentProductOffer[];
|
|
77
|
+
info: SearchCarRentProductInfo;
|
|
78
|
+
};
|
|
79
|
+
export type SearchCarRentResponse = {
|
|
80
|
+
searchKey: string;
|
|
81
|
+
offersCount: number;
|
|
82
|
+
processed: boolean;
|
|
83
|
+
carFilters: SearchCarRentFilters;
|
|
84
|
+
products: SearchCarRentProduct[];
|
|
85
|
+
};
|
|
86
|
+
export type SearchCarRentOffer = {
|
|
87
|
+
supplierCode: string;
|
|
88
|
+
carRentCompanyName: string;
|
|
89
|
+
images: string[];
|
|
90
|
+
features: string[];
|
|
91
|
+
shortDescription: string;
|
|
92
|
+
description?: string;
|
|
93
|
+
locationCode: string;
|
|
94
|
+
type: string;
|
|
95
|
+
name: string;
|
|
96
|
+
address: string;
|
|
97
|
+
longitude?: number;
|
|
98
|
+
latitude?: number;
|
|
99
|
+
};
|
package/providers/bb/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from './ACTIVITY_THEMES';
|
|
2
|
-
export * from './Activity';
|
|
3
|
-
export * from './ActivityInfo';
|
|
4
|
-
export * from './ActivityInfoImage';
|
|
5
|
-
export * from './ActivityInfoLocation';
|
|
6
|
-
export * from './ActivityPoint';
|
|
7
|
-
export * from './AuthorizationResponse';
|
|
8
|
-
export * from './Offer';
|
|
9
|
-
export * from './OfferPoint';
|
|
10
|
-
export * from './Product';
|
|
11
|
-
export * from './SearchActivitiesResponse';
|
|
12
|
-
export * from './SearchAccommodationResponse';
|
|
13
|
-
export * from './SearchCarRentResponse';
|
|
1
|
+
export * from './ACTIVITY_THEMES';
|
|
2
|
+
export * from './Activity';
|
|
3
|
+
export * from './ActivityInfo';
|
|
4
|
+
export * from './ActivityInfoImage';
|
|
5
|
+
export * from './ActivityInfoLocation';
|
|
6
|
+
export * from './ActivityPoint';
|
|
7
|
+
export * from './AuthorizationResponse';
|
|
8
|
+
export * from './Offer';
|
|
9
|
+
export * from './OfferPoint';
|
|
10
|
+
export * from './Product';
|
|
11
|
+
export * from './SearchActivitiesResponse';
|
|
12
|
+
export * from './SearchAccommodationResponse';
|
|
13
|
+
export * from './SearchCarRentResponse';
|