@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.
Files changed (149) hide show
  1. package/api/v4/models/Accommodation.d.ts +1 -1
  2. package/api/v4/models/Booking.d.ts +1 -1
  3. package/api/v4/models/BookingProduct.d.ts +1 -1
  4. package/api/v4/models/Business.d.ts +1 -1
  5. package/api/v4/models/BusinessInfoCategory.d.ts +1 -1
  6. package/api/v4/models/BusinessNameAddress.d.ts +1 -1
  7. package/api/v4/models/BusinessReport.d.ts +2 -2
  8. package/api/v4/models/BusinessSearch.d.ts +1 -1
  9. package/api/v4/models/BusinessVerify.d.ts +1 -1
  10. package/api/v4/models/Campaign.d.ts +3 -3
  11. package/api/v4/models/CampaignCustomerReport.d.ts +2 -2
  12. package/api/v4/models/CampaignReport.d.ts +2 -2
  13. package/api/v4/models/City.d.ts +2 -2
  14. package/api/v4/models/Companion.d.ts +1 -1
  15. package/api/v4/models/ConfigList.d.ts +4 -4
  16. package/api/v4/models/Continent.d.ts +1 -1
  17. package/api/v4/models/Coordinate.d.ts +1 -1
  18. package/api/v4/models/Country.d.ts +1 -1
  19. package/api/v4/models/Coupon.d.ts +1 -1
  20. package/api/v4/models/CouponApplication.d.ts +5 -5
  21. package/api/v4/models/Device.d.ts +1 -1
  22. package/api/v4/models/Favorite.d.ts +1 -1
  23. package/api/v4/models/Feedbacks.d.ts +2 -2
  24. package/api/v4/models/HourFormat.d.ts +1 -1
  25. package/api/v4/models/Image.d.ts +1 -1
  26. package/api/v4/models/ImageOwner.d.ts +1 -1
  27. package/api/v4/models/Notification.d.ts +1 -1
  28. package/api/v4/models/NotificationMetaData.d.ts +1 -1
  29. package/api/v4/models/NotificationSettings.d.ts +1 -1
  30. package/api/v4/models/NotificationUnseen.d.ts +1 -1
  31. package/api/v4/models/Offer.d.ts +1 -1
  32. package/api/v4/models/OfferCustomer.d.ts +1 -1
  33. package/api/v4/models/OfferProductType.d.ts +1 -1
  34. package/api/v4/models/Plan.d.ts +1 -1
  35. package/api/v4/models/Poi.d.ts +1 -1
  36. package/api/v4/models/PoiCategory.d.ts +1 -1
  37. package/api/v4/models/PoiCategoryGroup.d.ts +1 -1
  38. package/api/v4/models/PoiCategoryParent.d.ts +1 -1
  39. package/api/v4/models/PoiReference.d.ts +1 -1
  40. package/api/v4/models/PreRegister.d.ts +1 -1
  41. package/api/v4/models/Question.d.ts +1 -1
  42. package/api/v4/models/QuestionAnswer.d.ts +1 -1
  43. package/api/v4/models/Recommendation.d.ts +1 -1
  44. package/api/v4/models/Step.d.ts +1 -1
  45. package/api/v4/models/SubAnswer.d.ts +1 -1
  46. package/api/v4/models/TasteItem.d.ts +1 -1
  47. package/api/v4/models/TimeFrame.d.ts +1 -1
  48. package/api/v4/models/Token.d.ts +1 -1
  49. package/api/v4/models/TokenPayload.d.ts +1 -1
  50. package/api/v4/models/TokenRefresh.d.ts +1 -1
  51. package/api/v4/models/TopTen.d.ts +1 -1
  52. package/api/v4/models/TourAndTickets.d.ts +1 -1
  53. package/api/v4/models/Trip.d.ts +1 -1
  54. package/api/v4/models/TripProfile.d.ts +1 -1
  55. package/api/v4/models/TripReference.d.ts +1 -1
  56. package/api/v4/models/User.d.ts +1 -1
  57. package/api/v4/models/UserFeedback.d.ts +1 -1
  58. package/api/v4/models/UserReaction.d.ts +1 -1
  59. package/api/v4/models/UserReservation.d.ts +1 -1
  60. package/api/v4/models/UserResetPassword.d.ts +1 -1
  61. package/api/v4/models/VoucherOffer.d.ts +1 -1
  62. package/api/v4/requests/CompanionRequest.d.ts +1 -1
  63. package/api/v4/requests/FeedbackRequest.d.ts +1 -1
  64. package/api/v4/requests/LoginRequest.d.ts +1 -1
  65. package/api/v4/requests/OfferAddRequest.d.ts +1 -1
  66. package/api/v4/requests/OfferRequest.d.ts +1 -1
  67. package/api/v4/requests/PlanUpdateRequest.d.ts +1 -1
  68. package/api/v4/requests/PoisRequest.d.ts +1 -1
  69. package/api/v4/requests/PoisRequestCoordinate.d.ts +1 -1
  70. package/api/v4/requests/PoisRequestMustTry.d.ts +1 -1
  71. package/api/v4/requests/PoisRequestName.d.ts +1 -1
  72. package/api/v4/requests/RegisterRequest.d.ts +1 -1
  73. package/api/v4/requests/TokenRefreshRequest.d.ts +1 -1
  74. package/api/v4/requests/UserReactionRequest.d.ts +1 -1
  75. package/api/v4/requests/UserReservationRequest.d.ts +1 -1
  76. package/api/v4/requests/UserUpdateRequest.d.ts +1 -1
  77. package/api/v4/requests/VoucherOfferAddRequest.d.ts +1 -1
  78. package/api/v4/responses/DataPayload.d.ts +1 -1
  79. package/api/v4/responses/DeleteUpdateResponse.d.ts +1 -1
  80. package/api/v4/responses/ErrorResponse.d.ts +1 -1
  81. package/api/v4/responses/Pagination.d.ts +1 -1
  82. package/api/v4/responses/SuccessResponse.d.ts +1 -1
  83. package/package.json +1 -1
  84. package/providers/bb/Activity.d.ts +1 -1
  85. package/providers/bb/ActivityInfo.d.ts +1 -1
  86. package/providers/bb/ActivityInfoImage.d.ts +1 -1
  87. package/providers/bb/ActivityInfoLocation.d.ts +1 -1
  88. package/providers/bb/ActivityPoint.d.ts +1 -1
  89. package/providers/bb/AuthorizationResponse.d.ts +1 -1
  90. package/providers/bb/CatalogGroup.d.ts +1 -1
  91. package/providers/bb/Offer.d.ts +1 -1
  92. package/providers/bb/OfferPoint.d.ts +1 -1
  93. package/providers/bb/Product.d.ts +1 -1
  94. package/providers/bb/SearchAccommodationResponse.d.ts +5 -5
  95. package/providers/bb/SearchActivitiesResponse.d.ts +1 -1
  96. package/providers/bb/SearchCarRentResponse.d.ts +11 -11
  97. package/providers/gyg/CatalogGroup.d.ts +1 -1
  98. package/providers/gyg/Categories.d.ts +1 -1
  99. package/providers/gyg/Category.d.ts +1 -1
  100. package/providers/gyg/MetaData.d.ts +1 -1
  101. package/providers/gyg/PaymentConfiguration.d.ts +1 -1
  102. package/providers/gyg/PaymentConfigurations.d.ts +1 -1
  103. package/providers/gyg/Tour.d.ts +1 -1
  104. package/providers/gyg/TourAvailabilities.d.ts +1 -1
  105. package/providers/gyg/TourAvailability.d.ts +1 -1
  106. package/providers/gyg/TourBooking.d.ts +1 -1
  107. package/providers/gyg/TourBookingCart.d.ts +1 -1
  108. package/providers/gyg/TourBookingCartRequest.d.ts +1 -1
  109. package/providers/gyg/TourBookingCartWithDetails.d.ts +1 -1
  110. package/providers/gyg/TourBookingCarts.d.ts +1 -1
  111. package/providers/gyg/TourBookingInfo.d.ts +1 -1
  112. package/providers/gyg/TourBookingInfos.d.ts +1 -1
  113. package/providers/gyg/TourBookingRequest.d.ts +1 -1
  114. package/providers/gyg/TourBookings.d.ts +1 -1
  115. package/providers/gyg/TourCategories.d.ts +1 -1
  116. package/providers/gyg/TourCoordinates.d.ts +1 -1
  117. package/providers/gyg/TourData.d.ts +1 -1
  118. package/providers/gyg/TourDataFormPersonsCategory.d.ts +1 -1
  119. package/providers/gyg/TourDataOption.d.ts +1 -1
  120. package/providers/gyg/TourDataOptionAvailability.d.ts +1 -1
  121. package/providers/gyg/TourDateRange.d.ts +1 -1
  122. package/providers/gyg/TourDurations.d.ts +1 -1
  123. package/providers/gyg/TourLocations.d.ts +1 -1
  124. package/providers/gyg/TourOption.d.ts +1 -1
  125. package/providers/gyg/TourOptionDetails.d.ts +1 -1
  126. package/providers/gyg/TourOptionPricing.d.ts +1 -1
  127. package/providers/gyg/TourOptionPricings.d.ts +1 -1
  128. package/providers/gyg/TourOptions.d.ts +1 -1
  129. package/providers/gyg/TourPictures.d.ts +1 -1
  130. package/providers/gyg/TourPrice.d.ts +1 -1
  131. package/providers/gyg/TourReservationDetails.d.ts +1 -1
  132. package/providers/gyg/TourShoppingFormData.d.ts +1 -1
  133. package/providers/gyg/TourViewport.d.ts +1 -1
  134. package/providers/gyg/Tours.d.ts +1 -1
  135. package/providers/viator/CatalogGroup.d.ts +1 -1
  136. package/providers/viator/Duration.d.ts +1 -1
  137. package/providers/viator/Product.d.ts +2 -2
  138. package/providers/viator/ProductInfo.d.ts +19 -19
  139. package/providers/yelp/Business.d.ts +1 -1
  140. package/providers/yelp/Hold.d.ts +1 -1
  141. package/providers/yelp/HoldRequest.d.ts +1 -1
  142. package/providers/yelp/Opening.d.ts +1 -1
  143. package/providers/yelp/OpeningTime.d.ts +1 -1
  144. package/providers/yelp/Openings.d.ts +1 -1
  145. package/providers/yelp/OpeningsRequest.d.ts +1 -1
  146. package/providers/yelp/Reservation.d.ts +1 -1
  147. package/providers/yelp/ReservationInfo.d.ts +1 -1
  148. package/providers/yelp/ReservationRequest.d.ts +1 -1
  149. package/providers/yelp/ReservationStatusResponse.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Product } from './Product';
2
- export declare type CatalogGroup = {
2
+ export type CatalogGroup = {
3
3
  title: string;
4
4
  items: Product[];
5
5
  parentTagIds: number[];
@@ -1,4 +1,4 @@
1
- export declare type Duration = {
1
+ export type Duration = {
2
2
  fixedDurationInMinutes?: number;
3
3
  variableDurationFromMinutes?: number;
4
4
  variableDurationToMinutes?: number;
@@ -1,5 +1,5 @@
1
1
  import { Duration } from './Duration';
2
- export declare type ProductImage = {
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 declare type Product = {
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 declare type TicketInfo = {
2
+ export type TicketInfo = {
3
3
  ticketTypes: string[];
4
4
  ticketTypeDescription: string;
5
5
  ticketsPerBooking: string;
6
6
  ticketsPerBookingDescription: string;
7
7
  };
8
- export declare type PricingInfo = {
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 declare type Logistics = {
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 declare type InclusionExclusion = {
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 declare type AdditionalInfo = {
42
+ export type AdditionalInfo = {
43
43
  type: string;
44
44
  description: string;
45
45
  };
46
- export declare type CancellationPolicy = {
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 declare type BookingConfirmationSettings = {
56
+ export type BookingConfirmationSettings = {
57
57
  bookingCutoffType: string;
58
58
  bookingCutoffInMinutes: number;
59
59
  confirmationType: string;
60
60
  };
61
- export declare type BookingRequirements = {
61
+ export type BookingRequirements = {
62
62
  minTravelersPerBooking: number;
63
63
  maxTravelersPerBooking: number;
64
64
  requiresAdultForBooking: boolean;
65
65
  };
66
- export declare type LanguageGuide = {
66
+ export type LanguageGuide = {
67
67
  type: string;
68
68
  language: string;
69
69
  legacyGuide: string;
70
70
  };
71
- export declare type Destination = {
71
+ export type Destination = {
72
72
  ref: string;
73
73
  primary: boolean;
74
74
  };
75
- export declare type Itinerary = {
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 declare type TourImages = {
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 declare type ProductOption = {
100
+ export type ProductOption = {
101
101
  productOptionCode: string;
102
102
  description: string;
103
103
  title: string;
104
104
  languageGuides: LanguageGuide[];
105
105
  };
106
- export declare type TranslationInfo = {
106
+ export type TranslationInfo = {
107
107
  containsMachineTranslatedText: boolean;
108
108
  translationSource: string;
109
109
  };
110
- export declare type Supplier = {
110
+ export type Supplier = {
111
111
  name: string;
112
112
  reference: string;
113
113
  };
114
- export declare type ReviewCount = {
114
+ export type ReviewCount = {
115
115
  rating: number;
116
116
  count: number;
117
117
  };
118
- export declare type ReviewSource = {
118
+ export type ReviewSource = {
119
119
  averageRating: number;
120
120
  provider: string;
121
121
  reviewCounts: ReviewCount[];
122
122
  totalCount: number;
123
123
  };
124
- export declare type Review = {
124
+ export type Review = {
125
125
  combinedAverageRating: number;
126
126
  reviewCountTotals: ReviewCount[];
127
127
  sources: ReviewSource[];
128
128
  totalReviews: number;
129
129
  };
130
- export declare type ProductInfo = {
130
+ export type ProductInfo = {
131
131
  status: string;
132
132
  productCode: string;
133
133
  language: string;
@@ -1,4 +1,4 @@
1
- export declare type Business = {
1
+ export type Business = {
2
2
  id: string;
3
3
  alias: string;
4
4
  name: string;
@@ -1,4 +1,4 @@
1
- export declare type Hold = {
1
+ export type Hold = {
2
2
  cancellation_policy: string;
3
3
  credit_card_hold: boolean;
4
4
  expires_at: number;
@@ -1,4 +1,4 @@
1
- export declare type HoldRequest = {
1
+ export type HoldRequest = {
2
2
  businessId: string;
3
3
  date: string;
4
4
  time: string;
@@ -1,5 +1,5 @@
1
1
  import { OpeningTime } from './OpeningTime';
2
- export declare type Opening = {
2
+ export type Opening = {
3
3
  date: string;
4
4
  times: OpeningTime[];
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare type OpeningTime = {
1
+ export type OpeningTime = {
2
2
  credit_card_required: boolean;
3
3
  time: string;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { Opening } from './Opening';
2
- export declare type Openings = {
2
+ export type Openings = {
3
3
  reservation_times: Opening[];
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type OpeningsRequest = {
1
+ export type OpeningsRequest = {
2
2
  businessId: string;
3
3
  date: string;
4
4
  time: string;
@@ -1,4 +1,4 @@
1
- export declare type Reservation = {
1
+ export type Reservation = {
2
2
  confirmation_url: string;
3
3
  notes: string;
4
4
  reservation_id: string;
@@ -1,5 +1,5 @@
1
1
  import { ReservationRequest } from './ReservationRequest';
2
- export declare type ReservationInfo = {
2
+ export type ReservationInfo = {
3
3
  confirm_url: string;
4
4
  reservation_id: string;
5
5
  reservation_details: ReservationRequest;
@@ -1,4 +1,4 @@
1
- export declare type ReservationRequest = {
1
+ export type ReservationRequest = {
2
2
  businessId: string;
3
3
  date: string;
4
4
  time: string;
@@ -1,4 +1,4 @@
1
- export declare type ReservationStatusResponse = {
1
+ export type ReservationStatusResponse = {
2
2
  active: boolean;
3
3
  date: string;
4
4
  time: string;