@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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
export declare 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 declare type SearchCarRentProductOfferSalesTermPrice = {
|
|
16
|
+
currency: string;
|
|
17
|
+
amount: number;
|
|
18
|
+
taxesAndFees?: (number | string)[];
|
|
19
|
+
};
|
|
20
|
+
export declare type SearchCarRentProductOfferSalesTerm = {
|
|
21
|
+
type: string;
|
|
22
|
+
price: SearchCarRentProductOfferSalesTermPrice;
|
|
23
|
+
originalSupplierCurrency: string;
|
|
24
|
+
promoCodeApplied: boolean;
|
|
25
|
+
};
|
|
26
|
+
export declare type SearchCarRentProductOfferPoint = {
|
|
27
|
+
locationCode: string;
|
|
28
|
+
type: string;
|
|
29
|
+
name: string;
|
|
30
|
+
address: string;
|
|
31
|
+
longitude?: number;
|
|
32
|
+
latitude?: number;
|
|
33
|
+
};
|
|
34
|
+
export declare type SearchCarRentProductOfferCancellation = {
|
|
35
|
+
dateFrom: string;
|
|
36
|
+
dateTo: string;
|
|
37
|
+
price: SearchCarRentProductOfferSalesTermPrice;
|
|
38
|
+
convertedPrice: SearchCarRentProductOfferSalesTermPrice;
|
|
39
|
+
noShow: boolean;
|
|
40
|
+
};
|
|
41
|
+
export declare 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 declare type SearchCarRentProductInfoImage = {
|
|
55
|
+
url: string;
|
|
56
|
+
mainImage: boolean;
|
|
57
|
+
};
|
|
58
|
+
export declare 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 declare type SearchCarRentProduct = {
|
|
76
|
+
offers: SearchCarRentProductOffer[];
|
|
77
|
+
info: SearchCarRentProductInfo;
|
|
78
|
+
};
|
|
79
|
+
export declare type SearchCarRentResponse = {
|
|
80
|
+
searchKey: string;
|
|
81
|
+
offersCount: number;
|
|
82
|
+
processed: boolean;
|
|
83
|
+
carFilters: SearchCarRentFilters;
|
|
84
|
+
products: SearchCarRentProduct[];
|
|
85
|
+
};
|
|
86
|
+
export declare 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,11 +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';
|
|
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,16 +1,16 @@
|
|
|
1
|
-
import { BookingRef } from './BookingRef';
|
|
2
|
-
import { BookingInformation } from './BookingInformation';
|
|
3
|
-
import { BookingContact } from './BookingContact';
|
|
4
|
-
import { BookingLocation } from './BookingLocation';
|
|
5
|
-
import { BookingSupplier } from './BookingSupplier';
|
|
6
|
-
export declare type Booking = BookingRef & {
|
|
7
|
-
description: string;
|
|
8
|
-
imageUrls: string[];
|
|
9
|
-
information: BookingInformation[];
|
|
10
|
-
contact: BookingContact;
|
|
11
|
-
locations: BookingLocation[];
|
|
12
|
-
supplier: BookingSupplier;
|
|
13
|
-
termsAndConditions: string | null;
|
|
14
|
-
isWishlisted: any | null;
|
|
15
|
-
disclaimer: any | null;
|
|
16
|
-
};
|
|
1
|
+
import { BookingRef } from './BookingRef';
|
|
2
|
+
import { BookingInformation } from './BookingInformation';
|
|
3
|
+
import { BookingContact } from './BookingContact';
|
|
4
|
+
import { BookingLocation } from './BookingLocation';
|
|
5
|
+
import { BookingSupplier } from './BookingSupplier';
|
|
6
|
+
export declare type Booking = BookingRef & {
|
|
7
|
+
description: string;
|
|
8
|
+
imageUrls: string[];
|
|
9
|
+
information: BookingInformation[];
|
|
10
|
+
contact: BookingContact;
|
|
11
|
+
locations: BookingLocation[];
|
|
12
|
+
supplier: BookingSupplier;
|
|
13
|
+
termsAndConditions: string | null;
|
|
14
|
+
isWishlisted: any | null;
|
|
15
|
+
disclaimer: any | null;
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare type BookingContact = {
|
|
2
|
-
name: string;
|
|
3
|
-
email: string | null;
|
|
4
|
-
website: string | null;
|
|
5
|
-
address: string | null;
|
|
6
|
-
phones: string | null;
|
|
7
|
-
};
|
|
1
|
+
export declare type BookingContact = {
|
|
2
|
+
name: string;
|
|
3
|
+
email: string | null;
|
|
4
|
+
website: string | null;
|
|
5
|
+
address: string | null;
|
|
6
|
+
phones: string | null;
|
|
7
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type BookingInformation = {
|
|
2
|
-
label: string;
|
|
3
|
-
value: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type BookingInformation = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type BookingLocation = {
|
|
2
|
-
address?: string;
|
|
3
|
-
latitude: number;
|
|
4
|
-
longitude: number;
|
|
5
|
-
};
|
|
1
|
+
export declare type BookingLocation = {
|
|
2
|
+
address?: string;
|
|
3
|
+
latitude: number;
|
|
4
|
+
longitude: number;
|
|
5
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export declare type BookingPrice = {
|
|
2
|
-
value: number;
|
|
3
|
-
baseCurrency: string;
|
|
4
|
-
exchangeEnabled: boolean;
|
|
5
|
-
exchangeRates: {
|
|
6
|
-
aed: number;
|
|
7
|
-
aud: number;
|
|
8
|
-
cad: number;
|
|
9
|
-
chf: number;
|
|
10
|
-
dkk: number;
|
|
11
|
-
eur: number;
|
|
12
|
-
gbp: number;
|
|
13
|
-
hkd: number;
|
|
14
|
-
huf: number;
|
|
15
|
-
jpy: number;
|
|
16
|
-
nok: number;
|
|
17
|
-
pln: number;
|
|
18
|
-
sek: number;
|
|
19
|
-
sgd: number;
|
|
20
|
-
usd: number;
|
|
21
|
-
glx: number;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
1
|
+
export declare type BookingPrice = {
|
|
2
|
+
value: number;
|
|
3
|
+
baseCurrency: string;
|
|
4
|
+
exchangeEnabled: boolean;
|
|
5
|
+
exchangeRates: {
|
|
6
|
+
aed: number;
|
|
7
|
+
aud: number;
|
|
8
|
+
cad: number;
|
|
9
|
+
chf: number;
|
|
10
|
+
dkk: number;
|
|
11
|
+
eur: number;
|
|
12
|
+
gbp: number;
|
|
13
|
+
hkd: number;
|
|
14
|
+
huf: number;
|
|
15
|
+
jpy: number;
|
|
16
|
+
nok: number;
|
|
17
|
+
pln: number;
|
|
18
|
+
sek: number;
|
|
19
|
+
sgd: number;
|
|
20
|
+
usd: number;
|
|
21
|
+
glx: number;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { BookingSubCategory } from './BookingSubCategory';
|
|
2
|
-
import { BookingPrice } from './BookingPrice';
|
|
3
|
-
import { BookingLocation } from './BookingLocation';
|
|
4
|
-
export declare type BookingRef = {
|
|
5
|
-
id: string;
|
|
6
|
-
title: string;
|
|
7
|
-
subTitle: string;
|
|
8
|
-
city: string | null;
|
|
9
|
-
country: string | null;
|
|
10
|
-
thumbnail: string;
|
|
11
|
-
priceStartingAt: BookingPrice;
|
|
12
|
-
minimumEarningValue?: BookingPrice;
|
|
13
|
-
pointsDisclaimer: string;
|
|
14
|
-
categories: string[];
|
|
15
|
-
subCategories: BookingSubCategory[];
|
|
16
|
-
isAvailable: boolean;
|
|
17
|
-
purchaseStrategy: string;
|
|
18
|
-
checkoutStrategy: string;
|
|
19
|
-
geoLocation: BookingLocation | null;
|
|
20
|
-
providerTranslationAttribution: {
|
|
21
|
-
image: string | null;
|
|
22
|
-
link: string | null;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
1
|
+
import { BookingSubCategory } from './BookingSubCategory';
|
|
2
|
+
import { BookingPrice } from './BookingPrice';
|
|
3
|
+
import { BookingLocation } from './BookingLocation';
|
|
4
|
+
export declare type BookingRef = {
|
|
5
|
+
id: string;
|
|
6
|
+
title: string;
|
|
7
|
+
subTitle: string;
|
|
8
|
+
city: string | null;
|
|
9
|
+
country: string | null;
|
|
10
|
+
thumbnail: string;
|
|
11
|
+
priceStartingAt: BookingPrice;
|
|
12
|
+
minimumEarningValue?: BookingPrice;
|
|
13
|
+
pointsDisclaimer: string;
|
|
14
|
+
categories: string[];
|
|
15
|
+
subCategories: BookingSubCategory[];
|
|
16
|
+
isAvailable: boolean;
|
|
17
|
+
purchaseStrategy: string;
|
|
18
|
+
checkoutStrategy: string;
|
|
19
|
+
geoLocation: BookingLocation | null;
|
|
20
|
+
providerTranslationAttribution: {
|
|
21
|
+
image: string | null;
|
|
22
|
+
link: string | null;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BookingRef } from './BookingRef';
|
|
2
|
-
import { BookingSearchResultAggregation } from './BookingSearchResultAggregation';
|
|
3
|
-
export declare type BookingSearchResult = {
|
|
4
|
-
aggregation: BookingSearchResultAggregation;
|
|
5
|
-
items: BookingRef[];
|
|
6
|
-
skip: number;
|
|
7
|
-
take: number;
|
|
8
|
-
parameters: any;
|
|
9
|
-
total: number;
|
|
10
|
-
};
|
|
1
|
+
import { BookingRef } from './BookingRef';
|
|
2
|
+
import { BookingSearchResultAggregation } from './BookingSearchResultAggregation';
|
|
3
|
+
export declare type BookingSearchResult = {
|
|
4
|
+
aggregation: BookingSearchResultAggregation;
|
|
5
|
+
items: BookingRef[];
|
|
6
|
+
skip: number;
|
|
7
|
+
take: number;
|
|
8
|
+
parameters: any;
|
|
9
|
+
total: number;
|
|
10
|
+
};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { BookingPrice } from './BookingPrice';
|
|
2
|
-
declare type BookingSearchResultAggregationCity = {
|
|
3
|
-
label: string;
|
|
4
|
-
count: number;
|
|
5
|
-
};
|
|
6
|
-
declare type BookingSearchResultAggregationCategory = {
|
|
7
|
-
label: string;
|
|
8
|
-
count: number;
|
|
9
|
-
};
|
|
10
|
-
export declare type BookingSearchResultAggregation = {
|
|
11
|
-
price: {
|
|
12
|
-
max: BookingPrice;
|
|
13
|
-
min: BookingPrice;
|
|
14
|
-
};
|
|
15
|
-
cities: BookingSearchResultAggregationCity[];
|
|
16
|
-
categories: BookingSearchResultAggregationCategory[];
|
|
17
|
-
};
|
|
18
|
-
export {};
|
|
1
|
+
import { BookingPrice } from './BookingPrice';
|
|
2
|
+
declare type BookingSearchResultAggregationCity = {
|
|
3
|
+
label: string;
|
|
4
|
+
count: number;
|
|
5
|
+
};
|
|
6
|
+
declare type BookingSearchResultAggregationCategory = {
|
|
7
|
+
label: string;
|
|
8
|
+
count: number;
|
|
9
|
+
};
|
|
10
|
+
export declare type BookingSearchResultAggregation = {
|
|
11
|
+
price: {
|
|
12
|
+
max: BookingPrice;
|
|
13
|
+
min: BookingPrice;
|
|
14
|
+
};
|
|
15
|
+
cities: BookingSearchResultAggregationCity[];
|
|
16
|
+
categories: BookingSearchResultAggregationCategory[];
|
|
17
|
+
};
|
|
18
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type BookingSubCategory = {
|
|
2
|
-
id: string;
|
|
3
|
-
label: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type BookingSubCategory = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type BookingSupplier = {
|
|
2
|
-
name: string;
|
|
3
|
-
trademark: string | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type BookingSupplier = {
|
|
2
|
+
name: string;
|
|
3
|
+
trademark: string | null;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CatalogGroup } from './CatalogGroup';
|
|
2
|
-
export declare type Catalog = {
|
|
3
|
-
groups: CatalogGroup[];
|
|
4
|
-
};
|
|
1
|
+
import { CatalogGroup } from './CatalogGroup';
|
|
2
|
+
export declare type Catalog = {
|
|
3
|
+
groups: CatalogGroup[];
|
|
4
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { BookingRef } from './BookingRef';
|
|
2
|
-
export declare type CatalogGroup = {
|
|
3
|
-
type: string;
|
|
4
|
-
title: string;
|
|
5
|
-
subTitle: string | null;
|
|
6
|
-
description: string;
|
|
7
|
-
featured: boolean;
|
|
8
|
-
items: BookingRef[];
|
|
9
|
-
groupSearch: any | null;
|
|
10
|
-
};
|
|
1
|
+
import { BookingRef } from './BookingRef';
|
|
2
|
+
export declare type CatalogGroup = {
|
|
3
|
+
type: string;
|
|
4
|
+
title: string;
|
|
5
|
+
subTitle: string | null;
|
|
6
|
+
description: string;
|
|
7
|
+
featured: boolean;
|
|
8
|
+
items: BookingRef[];
|
|
9
|
+
groupSearch: any | null;
|
|
10
|
+
};
|
package/providers/glx/Token.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type Token = {
|
|
2
|
-
created: string;
|
|
3
|
-
expires: string;
|
|
4
|
-
token: string;
|
|
5
|
-
};
|
|
1
|
+
export declare type Token = {
|
|
2
|
+
created: string;
|
|
3
|
+
expires: string;
|
|
4
|
+
token: string;
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare type TourRating = {
|
|
2
|
-
id: string;
|
|
3
|
-
rate: number;
|
|
4
|
-
rateCount: number;
|
|
5
|
-
};
|
|
1
|
+
export declare type TourRating = {
|
|
2
|
+
id: string;
|
|
3
|
+
rate: number;
|
|
4
|
+
rateCount: number;
|
|
5
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type TourReview = {
|
|
2
|
-
id: string;
|
|
3
|
-
rate: number;
|
|
4
|
-
username: string;
|
|
5
|
-
comment: string;
|
|
6
|
-
};
|
|
1
|
+
export declare type TourReview = {
|
|
2
|
+
id: string;
|
|
3
|
+
rate: number;
|
|
4
|
+
username: string;
|
|
5
|
+
comment: string;
|
|
6
|
+
};
|
package/providers/glx/index.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './Token';
|
|
2
|
-
export * from './TourRating';
|
|
3
|
-
export * from './TourReview';
|
|
4
|
-
export * from './BookingContact';
|
|
5
|
-
export * from './BookingInformation';
|
|
6
|
-
export * from './BookingLocation';
|
|
7
|
-
export * from './BookingPrice';
|
|
8
|
-
export * from './BookingSubCategory';
|
|
9
|
-
export * from './BookingSupplier';
|
|
10
|
-
export * from './BookingRef';
|
|
11
|
-
export * from './Booking';
|
|
12
|
-
export * from './BookingSearchResultAggregation';
|
|
13
|
-
export * from './BookingSearchResult';
|
|
14
|
-
export * from './CatalogGroup';
|
|
15
|
-
export * from './Catalog';
|
|
1
|
+
export * from './Token';
|
|
2
|
+
export * from './TourRating';
|
|
3
|
+
export * from './TourReview';
|
|
4
|
+
export * from './BookingContact';
|
|
5
|
+
export * from './BookingInformation';
|
|
6
|
+
export * from './BookingLocation';
|
|
7
|
+
export * from './BookingPrice';
|
|
8
|
+
export * from './BookingSubCategory';
|
|
9
|
+
export * from './BookingSupplier';
|
|
10
|
+
export * from './BookingRef';
|
|
11
|
+
export * from './Booking';
|
|
12
|
+
export * from './BookingSearchResultAggregation';
|
|
13
|
+
export * from './BookingSearchResult';
|
|
14
|
+
export * from './CatalogGroup';
|
|
15
|
+
export * from './Catalog';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Tour } from './Tour';
|
|
2
|
-
export declare 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 declare 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 declare 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 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
|
+
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 declare 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 declare 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,36 +1,36 @@
|
|
|
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
|
-
overall_rating: number;
|
|
20
|
-
number_of_ratings: number;
|
|
21
|
-
highlights?: Array<string>;
|
|
22
|
-
inclusions?: string;
|
|
23
|
-
exclusions?: string;
|
|
24
|
-
pictures: Array<TourPictures>;
|
|
25
|
-
coordinates: TourCoordinates;
|
|
26
|
-
price?: TourPrice;
|
|
27
|
-
categories: Array<TourCategories>;
|
|
28
|
-
locations: Array<TourLocations>;
|
|
29
|
-
url: string;
|
|
30
|
-
translations?: Array<string>;
|
|
31
|
-
free_sale?: boolean;
|
|
32
|
-
mobile_voucher?: boolean;
|
|
33
|
-
supplier_id?: number;
|
|
34
|
-
durations: Array<TourDurations>;
|
|
35
|
-
cancellation_policy_text?: string;
|
|
36
|
-
};
|
|
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
|
+
overall_rating: number;
|
|
20
|
+
number_of_ratings: number;
|
|
21
|
+
highlights?: Array<string>;
|
|
22
|
+
inclusions?: string;
|
|
23
|
+
exclusions?: string;
|
|
24
|
+
pictures: Array<TourPictures>;
|
|
25
|
+
coordinates: TourCoordinates;
|
|
26
|
+
price?: TourPrice;
|
|
27
|
+
categories: Array<TourCategories>;
|
|
28
|
+
locations: Array<TourLocations>;
|
|
29
|
+
url: string;
|
|
30
|
+
translations?: Array<string>;
|
|
31
|
+
free_sale?: boolean;
|
|
32
|
+
mobile_voucher?: boolean;
|
|
33
|
+
supplier_id?: number;
|
|
34
|
+
durations: Array<TourDurations>;
|
|
35
|
+
cancellation_policy_text?: string;
|
|
36
|
+
};
|