@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Duration } from './Duration';
|
|
2
|
-
export
|
|
2
|
+
export type ProductImage = {
|
|
3
3
|
imageSource: string;
|
|
4
4
|
caption: string;
|
|
5
5
|
isCover: boolean;
|
|
@@ -9,7 +9,7 @@ export declare type ProductImage = {
|
|
|
9
9
|
url: string;
|
|
10
10
|
}[];
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type Product = {
|
|
13
13
|
productCode: string;
|
|
14
14
|
title: string;
|
|
15
15
|
description: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Duration } from './Duration';
|
|
2
|
-
export
|
|
2
|
+
export type TicketInfo = {
|
|
3
3
|
ticketTypes: string[];
|
|
4
4
|
ticketTypeDescription: string;
|
|
5
5
|
ticketsPerBooking: string;
|
|
6
6
|
ticketsPerBookingDescription: string;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type PricingInfo = {
|
|
9
9
|
type: string;
|
|
10
10
|
ageBands: {
|
|
11
11
|
ageBand: string;
|
|
@@ -15,7 +15,7 @@ export declare type PricingInfo = {
|
|
|
15
15
|
maxTravelersPerBooking: number;
|
|
16
16
|
}[];
|
|
17
17
|
};
|
|
18
|
-
export
|
|
18
|
+
export type Logistics = {
|
|
19
19
|
redemption: {
|
|
20
20
|
redemptionType: string;
|
|
21
21
|
};
|
|
@@ -31,7 +31,7 @@ export declare type Logistics = {
|
|
|
31
31
|
additionalInfo: string;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
export
|
|
34
|
+
export type InclusionExclusion = {
|
|
35
35
|
category: string;
|
|
36
36
|
categoryDescription: string;
|
|
37
37
|
type: string;
|
|
@@ -39,11 +39,11 @@ export declare type InclusionExclusion = {
|
|
|
39
39
|
otherDescription?: string;
|
|
40
40
|
description?: string;
|
|
41
41
|
};
|
|
42
|
-
export
|
|
42
|
+
export type AdditionalInfo = {
|
|
43
43
|
type: string;
|
|
44
44
|
description: string;
|
|
45
45
|
};
|
|
46
|
-
export
|
|
46
|
+
export type CancellationPolicy = {
|
|
47
47
|
type: string;
|
|
48
48
|
description: string;
|
|
49
49
|
cancelIfBadWeather: boolean;
|
|
@@ -53,26 +53,26 @@ export declare type CancellationPolicy = {
|
|
|
53
53
|
percentageRefundable: number;
|
|
54
54
|
}[];
|
|
55
55
|
};
|
|
56
|
-
export
|
|
56
|
+
export type BookingConfirmationSettings = {
|
|
57
57
|
bookingCutoffType: string;
|
|
58
58
|
bookingCutoffInMinutes: number;
|
|
59
59
|
confirmationType: string;
|
|
60
60
|
};
|
|
61
|
-
export
|
|
61
|
+
export type BookingRequirements = {
|
|
62
62
|
minTravelersPerBooking: number;
|
|
63
63
|
maxTravelersPerBooking: number;
|
|
64
64
|
requiresAdultForBooking: boolean;
|
|
65
65
|
};
|
|
66
|
-
export
|
|
66
|
+
export type LanguageGuide = {
|
|
67
67
|
type: string;
|
|
68
68
|
language: string;
|
|
69
69
|
legacyGuide: string;
|
|
70
70
|
};
|
|
71
|
-
export
|
|
71
|
+
export type Destination = {
|
|
72
72
|
ref: string;
|
|
73
73
|
primary: boolean;
|
|
74
74
|
};
|
|
75
|
-
export
|
|
75
|
+
export type Itinerary = {
|
|
76
76
|
activityInfo: {
|
|
77
77
|
description: string;
|
|
78
78
|
location: {
|
|
@@ -87,7 +87,7 @@ export declare type Itinerary = {
|
|
|
87
87
|
privateTour: boolean;
|
|
88
88
|
skipTheLine: boolean;
|
|
89
89
|
};
|
|
90
|
-
export
|
|
90
|
+
export type TourImages = {
|
|
91
91
|
imageSource: string;
|
|
92
92
|
caption: string;
|
|
93
93
|
isCover: boolean;
|
|
@@ -97,37 +97,37 @@ export declare type TourImages = {
|
|
|
97
97
|
url: string;
|
|
98
98
|
}[];
|
|
99
99
|
};
|
|
100
|
-
export
|
|
100
|
+
export type ProductOption = {
|
|
101
101
|
productOptionCode: string;
|
|
102
102
|
description: string;
|
|
103
103
|
title: string;
|
|
104
104
|
languageGuides: LanguageGuide[];
|
|
105
105
|
};
|
|
106
|
-
export
|
|
106
|
+
export type TranslationInfo = {
|
|
107
107
|
containsMachineTranslatedText: boolean;
|
|
108
108
|
translationSource: string;
|
|
109
109
|
};
|
|
110
|
-
export
|
|
110
|
+
export type Supplier = {
|
|
111
111
|
name: string;
|
|
112
112
|
reference: string;
|
|
113
113
|
};
|
|
114
|
-
export
|
|
114
|
+
export type ReviewCount = {
|
|
115
115
|
rating: number;
|
|
116
116
|
count: number;
|
|
117
117
|
};
|
|
118
|
-
export
|
|
118
|
+
export type ReviewSource = {
|
|
119
119
|
averageRating: number;
|
|
120
120
|
provider: string;
|
|
121
121
|
reviewCounts: ReviewCount[];
|
|
122
122
|
totalCount: number;
|
|
123
123
|
};
|
|
124
|
-
export
|
|
124
|
+
export type Review = {
|
|
125
125
|
combinedAverageRating: number;
|
|
126
126
|
reviewCountTotals: ReviewCount[];
|
|
127
127
|
sources: ReviewSource[];
|
|
128
128
|
totalReviews: number;
|
|
129
129
|
};
|
|
130
|
-
export
|
|
130
|
+
export type ProductInfo = {
|
|
131
131
|
status: string;
|
|
132
132
|
productCode: string;
|
|
133
133
|
language: string;
|
package/providers/yelp/Hold.d.ts
CHANGED