@tripian/model 8.3.0 → 9.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/v4/models/Accommodation.d.ts +1 -1
- package/api/v4/models/Booking.d.ts +1 -1
- package/api/v4/models/BookingProduct.d.ts +1 -1
- package/api/v4/models/Business.d.ts +1 -1
- package/api/v4/models/BusinessInfoCategory.d.ts +1 -1
- package/api/v4/models/BusinessNameAddress.d.ts +1 -1
- package/api/v4/models/BusinessReport.d.ts +2 -2
- package/api/v4/models/BusinessSearch.d.ts +1 -1
- package/api/v4/models/BusinessVerify.d.ts +1 -1
- package/api/v4/models/Campaign.d.ts +3 -3
- package/api/v4/models/CampaignCustomerReport.d.ts +2 -2
- package/api/v4/models/CampaignReport.d.ts +2 -2
- package/api/v4/models/City.d.ts +2 -2
- package/api/v4/models/Companion.d.ts +1 -1
- package/api/v4/models/ConfigList.d.ts +4 -4
- package/api/v4/models/Continent.d.ts +1 -1
- package/api/v4/models/Coordinate.d.ts +1 -1
- package/api/v4/models/Country.d.ts +1 -1
- package/api/v4/models/Coupon.d.ts +1 -1
- package/api/v4/models/CouponApplication.d.ts +5 -5
- package/api/v4/models/Device.d.ts +1 -1
- package/api/v4/models/Favorite.d.ts +1 -1
- package/api/v4/models/Feedbacks.d.ts +2 -2
- package/api/v4/models/HourFormat.d.ts +1 -1
- package/api/v4/models/Image.d.ts +1 -1
- package/api/v4/models/ImageOwner.d.ts +1 -1
- package/api/v4/models/Notification.d.ts +1 -1
- package/api/v4/models/NotificationMetaData.d.ts +1 -1
- package/api/v4/models/NotificationSettings.d.ts +1 -1
- package/api/v4/models/NotificationUnseen.d.ts +1 -1
- package/api/v4/models/Offer.d.ts +1 -1
- package/api/v4/models/OfferCustomer.d.ts +1 -1
- package/api/v4/models/OfferProductType.d.ts +1 -1
- package/api/v4/models/Plan.d.ts +1 -1
- package/api/v4/models/Poi.d.ts +1 -1
- package/api/v4/models/PoiCategory.d.ts +1 -1
- package/api/v4/models/PoiCategoryGroup.d.ts +1 -1
- package/api/v4/models/PoiCategoryParent.d.ts +1 -1
- package/api/v4/models/PoiReference.d.ts +1 -1
- package/api/v4/models/PreRegister.d.ts +1 -1
- package/api/v4/models/Question.d.ts +1 -1
- package/api/v4/models/QuestionAnswer.d.ts +1 -1
- package/api/v4/models/Recommendation.d.ts +1 -1
- package/api/v4/models/Step.d.ts +1 -1
- package/api/v4/models/SubAnswer.d.ts +1 -1
- package/api/v4/models/TasteItem.d.ts +1 -1
- package/api/v4/models/TimeFrame.d.ts +1 -1
- package/api/v4/models/Token.d.ts +1 -1
- package/api/v4/models/TokenPayload.d.ts +1 -1
- package/api/v4/models/TokenRefresh.d.ts +1 -1
- package/api/v4/models/TopTen.d.ts +1 -1
- package/api/v4/models/TourAndTickets.d.ts +1 -1
- package/api/v4/models/Trip.d.ts +1 -1
- package/api/v4/models/TripProfile.d.ts +1 -1
- package/api/v4/models/TripReference.d.ts +1 -1
- package/api/v4/models/User.d.ts +1 -1
- package/api/v4/models/UserFeedback.d.ts +1 -1
- package/api/v4/models/UserReaction.d.ts +1 -1
- package/api/v4/models/UserReservation.d.ts +1 -1
- package/api/v4/models/UserResetPassword.d.ts +1 -1
- package/api/v4/models/VoucherOffer.d.ts +1 -1
- package/api/v4/requests/CompanionRequest.d.ts +1 -1
- package/api/v4/requests/FeedbackRequest.d.ts +1 -1
- package/api/v4/requests/LoginRequest.d.ts +1 -1
- package/api/v4/requests/OfferAddRequest.d.ts +1 -1
- package/api/v4/requests/OfferRequest.d.ts +1 -1
- package/api/v4/requests/PlanUpdateRequest.d.ts +1 -1
- package/api/v4/requests/PoisRequest.d.ts +1 -1
- package/api/v4/requests/PoisRequestCoordinate.d.ts +1 -1
- package/api/v4/requests/PoisRequestMustTry.d.ts +1 -1
- package/api/v4/requests/PoisRequestName.d.ts +1 -1
- package/api/v4/requests/RegisterRequest.d.ts +1 -1
- package/api/v4/requests/TokenRefreshRequest.d.ts +1 -1
- package/api/v4/requests/UserReactionRequest.d.ts +1 -1
- package/api/v4/requests/UserReservationRequest.d.ts +1 -1
- package/api/v4/requests/UserUpdateRequest.d.ts +1 -1
- package/api/v4/requests/VoucherOfferAddRequest.d.ts +1 -1
- package/api/v4/responses/DataPayload.d.ts +1 -1
- package/api/v4/responses/DeleteUpdateResponse.d.ts +1 -1
- package/api/v4/responses/ErrorResponse.d.ts +1 -1
- package/api/v4/responses/Pagination.d.ts +1 -1
- package/api/v4/responses/SuccessResponse.d.ts +1 -1
- package/package.json +1 -1
- package/providers/bb/Activity.d.ts +1 -1
- package/providers/bb/ActivityInfo.d.ts +1 -1
- package/providers/bb/ActivityInfoImage.d.ts +1 -1
- package/providers/bb/ActivityInfoLocation.d.ts +1 -1
- package/providers/bb/ActivityPoint.d.ts +1 -1
- package/providers/bb/AuthorizationResponse.d.ts +1 -1
- package/providers/bb/CatalogGroup.d.ts +1 -1
- package/providers/bb/Offer.d.ts +1 -1
- package/providers/bb/OfferPoint.d.ts +1 -1
- package/providers/bb/Product.d.ts +1 -1
- package/providers/bb/SearchAccommodationResponse.d.ts +5 -5
- package/providers/bb/SearchActivitiesResponse.d.ts +1 -1
- package/providers/bb/SearchCarRentResponse.d.ts +11 -11
- package/providers/gyg/CatalogGroup.d.ts +1 -1
- package/providers/gyg/Categories.d.ts +1 -1
- package/providers/gyg/Category.d.ts +1 -1
- package/providers/gyg/MetaData.d.ts +1 -1
- package/providers/gyg/PaymentConfiguration.d.ts +1 -1
- package/providers/gyg/PaymentConfigurations.d.ts +1 -1
- package/providers/gyg/Tour.d.ts +1 -1
- package/providers/gyg/TourAvailabilities.d.ts +1 -1
- package/providers/gyg/TourAvailability.d.ts +1 -1
- package/providers/gyg/TourBooking.d.ts +1 -1
- package/providers/gyg/TourBookingCart.d.ts +1 -1
- package/providers/gyg/TourBookingCartRequest.d.ts +1 -1
- package/providers/gyg/TourBookingCartWithDetails.d.ts +1 -1
- package/providers/gyg/TourBookingCarts.d.ts +1 -1
- package/providers/gyg/TourBookingInfo.d.ts +1 -1
- package/providers/gyg/TourBookingInfos.d.ts +1 -1
- package/providers/gyg/TourBookingRequest.d.ts +1 -1
- package/providers/gyg/TourBookings.d.ts +1 -1
- package/providers/gyg/TourCategories.d.ts +1 -1
- package/providers/gyg/TourCoordinates.d.ts +1 -1
- package/providers/gyg/TourData.d.ts +1 -1
- package/providers/gyg/TourDataFormPersonsCategory.d.ts +1 -1
- package/providers/gyg/TourDataOption.d.ts +1 -1
- package/providers/gyg/TourDataOptionAvailability.d.ts +1 -1
- package/providers/gyg/TourDateRange.d.ts +1 -1
- package/providers/gyg/TourDurations.d.ts +1 -1
- package/providers/gyg/TourLocations.d.ts +1 -1
- package/providers/gyg/TourOption.d.ts +1 -1
- package/providers/gyg/TourOptionDetails.d.ts +1 -1
- package/providers/gyg/TourOptionPricing.d.ts +1 -1
- package/providers/gyg/TourOptionPricings.d.ts +1 -1
- package/providers/gyg/TourOptions.d.ts +1 -1
- package/providers/gyg/TourPictures.d.ts +1 -1
- package/providers/gyg/TourPrice.d.ts +1 -1
- package/providers/gyg/TourReservationDetails.d.ts +1 -1
- package/providers/gyg/TourShoppingFormData.d.ts +1 -1
- package/providers/gyg/TourViewport.d.ts +1 -1
- package/providers/gyg/Tours.d.ts +1 -1
- package/providers/viator/CatalogGroup.d.ts +1 -1
- package/providers/viator/Duration.d.ts +1 -1
- package/providers/viator/Product.d.ts +2 -2
- package/providers/viator/ProductInfo.d.ts +19 -19
- package/providers/yelp/Business.d.ts +1 -1
- package/providers/yelp/Hold.d.ts +1 -1
- package/providers/yelp/HoldRequest.d.ts +1 -1
- package/providers/yelp/Opening.d.ts +1 -1
- package/providers/yelp/OpeningTime.d.ts +1 -1
- package/providers/yelp/Openings.d.ts +1 -1
- package/providers/yelp/OpeningsRequest.d.ts +1 -1
- package/providers/yelp/Reservation.d.ts +1 -1
- package/providers/yelp/ReservationInfo.d.ts +1 -1
- package/providers/yelp/ReservationRequest.d.ts +1 -1
- package/providers/yelp/ReservationStatusResponse.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ActivityInfoImage } from './ActivityInfoImage';
|
|
2
2
|
import { ActivityInfoLocation } from './ActivityInfoLocation';
|
|
3
3
|
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
4
|
-
export
|
|
4
|
+
export type ActivityInfo = {
|
|
5
5
|
name: string;
|
|
6
6
|
shortDescription: string;
|
|
7
7
|
fullDescription: string;
|
package/providers/bb/Offer.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SearchAccommodationRoomOfferInfo = {
|
|
2
2
|
roomType: string;
|
|
3
3
|
roomTypeServiceId: number;
|
|
4
4
|
roomTypeDescription: string;
|
|
@@ -20,7 +20,7 @@ export declare type SearchAccommodationRoomOfferInfo = {
|
|
|
20
20
|
alternate: boolean;
|
|
21
21
|
}[];
|
|
22
22
|
};
|
|
23
|
-
export
|
|
23
|
+
export type SearchAccommodationRoomOffer = {
|
|
24
24
|
offerKey: string;
|
|
25
25
|
cancellations?: {
|
|
26
26
|
convertedPrice: {
|
|
@@ -72,7 +72,7 @@ export declare type SearchAccommodationRoomOffer = {
|
|
|
72
72
|
onExtraBed: any[];
|
|
73
73
|
onWithoutPlace: any[];
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type SearchAccommodationHotelOfferInfo = {
|
|
76
76
|
name: string;
|
|
77
77
|
address: string;
|
|
78
78
|
category: number;
|
|
@@ -105,12 +105,12 @@ export declare type SearchAccommodationHotelOfferInfo = {
|
|
|
105
105
|
typeOTAName: string;
|
|
106
106
|
recommended: boolean;
|
|
107
107
|
};
|
|
108
|
-
export
|
|
108
|
+
export type SearchAccommodationHotelOffer = {
|
|
109
109
|
info: SearchAccommodationHotelOfferInfo;
|
|
110
110
|
roomOffers: SearchAccommodationRoomOffer[];
|
|
111
111
|
bookAllowed: boolean;
|
|
112
112
|
};
|
|
113
|
-
export
|
|
113
|
+
export type SearchAccommodationResponse = {
|
|
114
114
|
searchKey: string;
|
|
115
115
|
offersCount: number;
|
|
116
116
|
filters: any;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type SearchCarRentFilters = {
|
|
2
2
|
priceFrom: number;
|
|
3
3
|
priceTo: number;
|
|
4
4
|
modelNames: string[];
|
|
@@ -12,18 +12,18 @@ export declare type SearchCarRentFilters = {
|
|
|
12
12
|
features: string[];
|
|
13
13
|
carRentCompanyNames: string[];
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type SearchCarRentProductOfferSalesTermPrice = {
|
|
16
16
|
currency: string;
|
|
17
17
|
amount: number;
|
|
18
18
|
taxesAndFees?: (number | string)[];
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type SearchCarRentProductOfferSalesTerm = {
|
|
21
21
|
type: string;
|
|
22
22
|
price: SearchCarRentProductOfferSalesTermPrice;
|
|
23
23
|
originalSupplierCurrency: string;
|
|
24
24
|
promoCodeApplied: boolean;
|
|
25
25
|
};
|
|
26
|
-
export
|
|
26
|
+
export type SearchCarRentProductOfferPoint = {
|
|
27
27
|
locationCode: string;
|
|
28
28
|
type: string;
|
|
29
29
|
name: string;
|
|
@@ -31,14 +31,14 @@ export declare type SearchCarRentProductOfferPoint = {
|
|
|
31
31
|
longitude?: number;
|
|
32
32
|
latitude?: number;
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type SearchCarRentProductOfferCancellation = {
|
|
35
35
|
dateFrom: string;
|
|
36
36
|
dateTo: string;
|
|
37
37
|
price: SearchCarRentProductOfferSalesTermPrice;
|
|
38
38
|
convertedPrice: SearchCarRentProductOfferSalesTermPrice;
|
|
39
39
|
noShow: boolean;
|
|
40
40
|
};
|
|
41
|
-
export
|
|
41
|
+
export type SearchCarRentProductOffer = {
|
|
42
42
|
offerKey: string;
|
|
43
43
|
loyaltyPoints?: number;
|
|
44
44
|
cancellations?: SearchCarRentProductOfferCancellation[];
|
|
@@ -51,11 +51,11 @@ export declare type SearchCarRentProductOffer = {
|
|
|
51
51
|
chargeDescriptions: (string | number | null)[];
|
|
52
52
|
extraServices: boolean;
|
|
53
53
|
};
|
|
54
|
-
export
|
|
54
|
+
export type SearchCarRentProductInfoImage = {
|
|
55
55
|
url: string;
|
|
56
56
|
mainImage: boolean;
|
|
57
57
|
};
|
|
58
|
-
export
|
|
58
|
+
export type SearchCarRentProductInfo = {
|
|
59
59
|
supplierCode: string;
|
|
60
60
|
doorCount: number;
|
|
61
61
|
passengerQuantity: number;
|
|
@@ -72,18 +72,18 @@ export declare type SearchCarRentProductInfo = {
|
|
|
72
72
|
shortDescription: string;
|
|
73
73
|
description?: string;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type SearchCarRentProduct = {
|
|
76
76
|
offers: SearchCarRentProductOffer[];
|
|
77
77
|
info: SearchCarRentProductInfo;
|
|
78
78
|
};
|
|
79
|
-
export
|
|
79
|
+
export type SearchCarRentResponse = {
|
|
80
80
|
searchKey: string;
|
|
81
81
|
offersCount: number;
|
|
82
82
|
processed: boolean;
|
|
83
83
|
carFilters: SearchCarRentFilters;
|
|
84
84
|
products: SearchCarRentProduct[];
|
|
85
85
|
};
|
|
86
|
-
export
|
|
86
|
+
export type SearchCarRentOffer = {
|
|
87
87
|
supplierCode: string;
|
|
88
88
|
carRentCompanyName: string;
|
|
89
89
|
images: string[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MetaData } from './MetaData';
|
|
2
2
|
import { PaymentConfiguration } from './PaymentConfiguration';
|
|
3
|
-
export
|
|
3
|
+
export type PaymentConfigurations = {
|
|
4
4
|
metadata: MetaData;
|
|
5
5
|
data: {
|
|
6
6
|
payment_methods: Array<PaymentConfiguration>;
|
package/providers/gyg/Tour.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { TourCoordinates } from './TourCoordinates';
|
|
|
4
4
|
import { TourLocations } from './TourLocations';
|
|
5
5
|
import { TourPictures } from './TourPictures';
|
|
6
6
|
import { TourPrice } from './TourPrice';
|
|
7
|
-
export
|
|
7
|
+
export type Tour = {
|
|
8
8
|
tour_id: number;
|
|
9
9
|
tour_code: string;
|
|
10
10
|
cond_language: Array<string>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tour } from './Tour';
|
|
2
2
|
import { TourDataFormPersonsCategory } from './TourDataFormPersonsCategory';
|
|
3
3
|
import { TourDataOption } from './TourDataOption';
|
|
4
|
-
export
|
|
4
|
+
export type TourData = {
|
|
5
5
|
tour: Tour;
|
|
6
6
|
availableDates: string[];
|
|
7
7
|
formPersonsCategories: TourDataFormPersonsCategory[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TourDataOptionAvailability } from './TourDataOptionAvailability';
|
|
2
2
|
import { TourOption } from './TourOption';
|
|
3
|
-
export
|
|
3
|
+
export type TourDataOption = TourOption & {
|
|
4
4
|
availabilities: TourDataOptionAvailability[];
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TourAvailability } from './TourAvailability';
|
|
2
2
|
import { TourOptionPricing } from './TourOptionPricing';
|
|
3
|
-
export
|
|
3
|
+
export type TourDataOptionAvailability = {
|
|
4
4
|
availability_id: number;
|
|
5
5
|
} & TourAvailability & TourOptionPricing;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TourAvailability } from './TourAvailability';
|
|
2
2
|
import { TourOption } from './TourOption';
|
|
3
3
|
import { TourOptionPricing } from './TourOptionPricing';
|
|
4
|
-
export
|
|
4
|
+
export type TourOptionDetails = {
|
|
5
5
|
option: TourOption;
|
|
6
6
|
availabilities: TourAvailability[];
|
|
7
7
|
pricings?: TourOptionPricing;
|