@tripian/model 6.0.30 → 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 -0
- 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 -98
- 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 -86
- 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 -8
- 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
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
export
|
|
2
|
-
base_data: {
|
|
3
|
-
cnt_language: string;
|
|
4
|
-
currency: string;
|
|
5
|
-
};
|
|
6
|
-
data: {
|
|
7
|
-
booking: {
|
|
8
|
-
bookable: {
|
|
9
|
-
external_reference_id: string;
|
|
10
|
-
option_id: number;
|
|
11
|
-
datetime: string;
|
|
12
|
-
price: number;
|
|
13
|
-
categories: {
|
|
14
|
-
category_id: number;
|
|
15
|
-
number_of_participants: number;
|
|
16
|
-
}[];
|
|
17
|
-
booking_parameters?: {
|
|
18
|
-
name: string;
|
|
19
|
-
value_1?: string;
|
|
20
|
-
value_2?: string;
|
|
21
|
-
mandatory: boolean;
|
|
22
|
-
}[];
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
1
|
+
export type TourBookingRequest = {
|
|
2
|
+
base_data: {
|
|
3
|
+
cnt_language: string;
|
|
4
|
+
currency: string;
|
|
5
|
+
};
|
|
6
|
+
data: {
|
|
7
|
+
booking: {
|
|
8
|
+
bookable: {
|
|
9
|
+
external_reference_id: string;
|
|
10
|
+
option_id: number;
|
|
11
|
+
datetime: string;
|
|
12
|
+
price: number;
|
|
13
|
+
categories: {
|
|
14
|
+
category_id: number;
|
|
15
|
+
number_of_participants: number;
|
|
16
|
+
}[];
|
|
17
|
+
booking_parameters?: {
|
|
18
|
+
name: string;
|
|
19
|
+
value_1?: string;
|
|
20
|
+
value_2?: string;
|
|
21
|
+
mandatory: boolean;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { TourBooking } from './TourBooking';
|
|
3
|
-
export
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
bookings: Array<TourBooking>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { TourBooking } from './TourBooking';
|
|
3
|
+
export type TourBookings = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
bookings: Array<TourBooking>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
category_id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
parent_id?: number;
|
|
5
|
-
};
|
|
1
|
+
export type TourCategories = {
|
|
2
|
+
category_id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
parent_id?: number;
|
|
5
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
lat: number;
|
|
3
|
-
long: number;
|
|
4
|
-
};
|
|
1
|
+
export type TourCoordinates = {
|
|
2
|
+
lat: number;
|
|
3
|
+
long: number;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
start: string;
|
|
3
|
-
end: string;
|
|
4
|
-
};
|
|
1
|
+
export type TourDateRange = {
|
|
2
|
+
start: string;
|
|
3
|
+
end: string;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
duration: number;
|
|
3
|
-
unit: string;
|
|
4
|
-
};
|
|
1
|
+
export type TourDurations = {
|
|
2
|
+
duration: number;
|
|
3
|
+
unit: string;
|
|
4
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TourCoordinates } from './TourCoordinates';
|
|
2
|
-
import { TourViewport } from './TourViewport';
|
|
3
|
-
export
|
|
4
|
-
location_id: number;
|
|
5
|
-
type: string;
|
|
6
|
-
name: string;
|
|
7
|
-
english_name: string;
|
|
8
|
-
city?: string;
|
|
9
|
-
country: string;
|
|
10
|
-
coordinates: TourCoordinates;
|
|
11
|
-
parent_id?: number;
|
|
12
|
-
viewport: TourViewport;
|
|
13
|
-
};
|
|
1
|
+
import { TourCoordinates } from './TourCoordinates';
|
|
2
|
+
import { TourViewport } from './TourViewport';
|
|
3
|
+
export type TourLocations = {
|
|
4
|
+
location_id: number;
|
|
5
|
+
type: string;
|
|
6
|
+
name: string;
|
|
7
|
+
english_name: string;
|
|
8
|
+
city?: string;
|
|
9
|
+
country: string;
|
|
10
|
+
coordinates: TourCoordinates;
|
|
11
|
+
parent_id?: number;
|
|
12
|
+
viewport: TourViewport;
|
|
13
|
+
};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { TourCoordinates } from './TourCoordinates';
|
|
2
|
-
import { TourPrice } from './TourPrice';
|
|
3
|
-
export
|
|
4
|
-
option_id: number;
|
|
5
|
-
tour_id: number;
|
|
6
|
-
title: string;
|
|
7
|
-
description?: string;
|
|
8
|
-
pick_up?: string;
|
|
9
|
-
meeting_point: string;
|
|
10
|
-
drop_off?: string;
|
|
11
|
-
duration: number;
|
|
12
|
-
duration_unit: string;
|
|
13
|
-
cond_language: {
|
|
14
|
-
language_audio: string[];
|
|
15
|
-
language_booklet: string[];
|
|
16
|
-
language_live: string[];
|
|
17
|
-
};
|
|
18
|
-
booking_parameter: {
|
|
19
|
-
name: string;
|
|
20
|
-
value_1?: string;
|
|
21
|
-
value_2?: string;
|
|
22
|
-
description: string;
|
|
23
|
-
mandatory: boolean;
|
|
24
|
-
}[];
|
|
25
|
-
services: {
|
|
26
|
-
prt: boolean;
|
|
27
|
-
stl: boolean;
|
|
28
|
-
wlc: boolean;
|
|
29
|
-
}[];
|
|
30
|
-
coordinate_type: string;
|
|
31
|
-
coordinates: TourCoordinates;
|
|
32
|
-
price: TourPrice;
|
|
33
|
-
free_sale?: boolean;
|
|
34
|
-
};
|
|
1
|
+
import { TourCoordinates } from './TourCoordinates';
|
|
2
|
+
import { TourPrice } from './TourPrice';
|
|
3
|
+
export type TourOption = {
|
|
4
|
+
option_id: number;
|
|
5
|
+
tour_id: number;
|
|
6
|
+
title: string;
|
|
7
|
+
description?: string;
|
|
8
|
+
pick_up?: string;
|
|
9
|
+
meeting_point: string;
|
|
10
|
+
drop_off?: string;
|
|
11
|
+
duration: number;
|
|
12
|
+
duration_unit: string;
|
|
13
|
+
cond_language: {
|
|
14
|
+
language_audio: string[];
|
|
15
|
+
language_booklet: string[];
|
|
16
|
+
language_live: string[];
|
|
17
|
+
};
|
|
18
|
+
booking_parameter: {
|
|
19
|
+
name: string;
|
|
20
|
+
value_1?: string;
|
|
21
|
+
value_2?: string;
|
|
22
|
+
description: string;
|
|
23
|
+
mandatory: boolean;
|
|
24
|
+
}[];
|
|
25
|
+
services: {
|
|
26
|
+
prt: boolean;
|
|
27
|
+
stl: boolean;
|
|
28
|
+
wlc: boolean;
|
|
29
|
+
}[];
|
|
30
|
+
coordinate_type: string;
|
|
31
|
+
coordinates: TourCoordinates;
|
|
32
|
+
price: TourPrice;
|
|
33
|
+
free_sale?: boolean;
|
|
34
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TourAvailability } from './TourAvailability';
|
|
2
|
-
import { TourOption } from './TourOption';
|
|
3
|
-
import { TourOptionPricing } from './TourOptionPricing';
|
|
4
|
-
export
|
|
5
|
-
option: TourOption;
|
|
6
|
-
availabilities: TourAvailability[];
|
|
7
|
-
pricings?: TourOptionPricing;
|
|
8
|
-
};
|
|
1
|
+
import { TourAvailability } from './TourAvailability';
|
|
2
|
+
import { TourOption } from './TourOption';
|
|
3
|
+
import { TourOptionPricing } from './TourOptionPricing';
|
|
4
|
+
export type TourOptionDetails = {
|
|
5
|
+
option: TourOption;
|
|
6
|
+
availabilities: TourAvailability[];
|
|
7
|
+
pricings?: TourOptionPricing;
|
|
8
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export
|
|
2
|
-
pricing_id: number;
|
|
3
|
-
total_minimum_participants: number;
|
|
4
|
-
total_maximum_participants?: number;
|
|
5
|
-
categories: {
|
|
6
|
-
id: number;
|
|
7
|
-
name: string;
|
|
8
|
-
min_age: number;
|
|
9
|
-
max_age?: number;
|
|
10
|
-
stand_alone: boolean;
|
|
11
|
-
addon: boolean;
|
|
12
|
-
scale: {
|
|
13
|
-
min_participants: number;
|
|
14
|
-
max_participants: number;
|
|
15
|
-
retail_price: number;
|
|
16
|
-
net_price: number;
|
|
17
|
-
type: string;
|
|
18
|
-
}[];
|
|
19
|
-
}[];
|
|
20
|
-
};
|
|
1
|
+
export type TourOptionPricing = {
|
|
2
|
+
pricing_id: number;
|
|
3
|
+
total_minimum_participants: number;
|
|
4
|
+
total_maximum_participants?: number;
|
|
5
|
+
categories: {
|
|
6
|
+
id: number;
|
|
7
|
+
name: string;
|
|
8
|
+
min_age: number;
|
|
9
|
+
max_age?: number;
|
|
10
|
+
stand_alone: boolean;
|
|
11
|
+
addon: boolean;
|
|
12
|
+
scale: {
|
|
13
|
+
min_participants: number;
|
|
14
|
+
max_participants: number;
|
|
15
|
+
retail_price: number;
|
|
16
|
+
net_price: number;
|
|
17
|
+
type: string;
|
|
18
|
+
}[];
|
|
19
|
+
}[];
|
|
20
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { TourOptionPricing } from './TourOptionPricing';
|
|
3
|
-
export
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
pricing: Array<TourOptionPricing>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { TourOptionPricing } from './TourOptionPricing';
|
|
3
|
+
export type TourOptionPricings = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
pricing: Array<TourOptionPricing>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { TourOption } from './TourOption';
|
|
3
|
-
export
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
tour_options: Array<TourOption>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { TourOption } from './TourOption';
|
|
3
|
+
export type TourOptions = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
tour_options: Array<TourOption>;
|
|
7
|
+
};
|
|
8
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
id: number;
|
|
3
|
-
url: string;
|
|
4
|
-
ssl_url: string;
|
|
5
|
-
verified: boolean;
|
|
6
|
-
};
|
|
1
|
+
export type TourPictures = {
|
|
2
|
+
id: number;
|
|
3
|
+
url: string;
|
|
4
|
+
ssl_url: string;
|
|
5
|
+
verified: boolean;
|
|
6
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export
|
|
2
|
-
values: {
|
|
3
|
-
amount: number;
|
|
4
|
-
special?: {
|
|
5
|
-
original_price: number;
|
|
6
|
-
savings: number;
|
|
7
|
-
apps_only: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
1
|
+
export type TourPrice = {
|
|
2
|
+
values: {
|
|
3
|
+
amount: number;
|
|
4
|
+
special?: {
|
|
5
|
+
original_price: number;
|
|
6
|
+
savings: number;
|
|
7
|
+
apps_only: boolean;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
description: string;
|
|
11
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { TourBookingCartWithDetails } from './TourBookingCartWithDetails';
|
|
2
|
-
export
|
|
3
|
-
data: {
|
|
4
|
-
shopping_cart: TourBookingCartWithDetails;
|
|
5
|
-
};
|
|
6
|
-
};
|
|
1
|
+
import { TourBookingCartWithDetails } from './TourBookingCartWithDetails';
|
|
2
|
+
export type TourReservationDetails = {
|
|
3
|
+
data: {
|
|
4
|
+
shopping_cart: TourBookingCartWithDetails;
|
|
5
|
+
};
|
|
6
|
+
};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export
|
|
2
|
-
user: {
|
|
3
|
-
first_name: string;
|
|
4
|
-
last_name: string;
|
|
5
|
-
email: string;
|
|
6
|
-
country_code: string;
|
|
7
|
-
phone_number: string;
|
|
8
|
-
address_line_1: string;
|
|
9
|
-
postal_code: string;
|
|
10
|
-
city: string;
|
|
11
|
-
};
|
|
12
|
-
creditCard: {
|
|
13
|
-
holderName: string;
|
|
14
|
-
number: string;
|
|
15
|
-
cvc: string;
|
|
16
|
-
expiryMonth: string;
|
|
17
|
-
expiryYear: string;
|
|
18
|
-
generationtime: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
1
|
+
export type TourShoppingFormData = {
|
|
2
|
+
user: {
|
|
3
|
+
first_name: string;
|
|
4
|
+
last_name: string;
|
|
5
|
+
email: string;
|
|
6
|
+
country_code: string;
|
|
7
|
+
phone_number: string;
|
|
8
|
+
address_line_1: string;
|
|
9
|
+
postal_code: string;
|
|
10
|
+
city: string;
|
|
11
|
+
};
|
|
12
|
+
creditCard: {
|
|
13
|
+
holderName: string;
|
|
14
|
+
number: string;
|
|
15
|
+
cvc: string;
|
|
16
|
+
expiryMonth: string;
|
|
17
|
+
expiryYear: string;
|
|
18
|
+
generationtime: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
sw_lat: number;
|
|
3
|
-
sw_long: number;
|
|
4
|
-
ne_lat: number;
|
|
5
|
-
ne_long: number;
|
|
6
|
-
};
|
|
1
|
+
export type TourViewport = {
|
|
2
|
+
sw_lat: number;
|
|
3
|
+
sw_long: number;
|
|
4
|
+
ne_lat: number;
|
|
5
|
+
ne_long: number;
|
|
6
|
+
};
|
package/providers/gyg/Tours.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { MetaData } from './MetaData';
|
|
2
|
-
import { Tour } from './Tour';
|
|
3
|
-
export
|
|
4
|
-
metadata: MetaData;
|
|
5
|
-
data: {
|
|
6
|
-
tours: Array<Tour>;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
1
|
+
import { MetaData } from './MetaData';
|
|
2
|
+
import { Tour } from './Tour';
|
|
3
|
+
export type Tours = {
|
|
4
|
+
metadata: MetaData;
|
|
5
|
+
data: {
|
|
6
|
+
tours: Array<Tour>;
|
|
7
|
+
};
|
|
8
|
+
};
|
package/providers/gyg/index.d.ts
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
export * from './CatalogGroup';
|
|
2
|
-
export * from './Category';
|
|
3
|
-
export * from './Categories';
|
|
4
|
-
export * from './MetaData';
|
|
5
|
-
export * from './PaymentConfiguration';
|
|
6
|
-
export * from './PaymentConfigurations';
|
|
7
|
-
export * from './Tour';
|
|
8
|
-
export * from './TourAvailability';
|
|
9
|
-
export * from './TourAvailabilities';
|
|
10
|
-
export * from './TourBookingInfo';
|
|
11
|
-
export * from './TourBookingInfos';
|
|
12
|
-
export * from './TourBooking';
|
|
13
|
-
export * from './TourBookingCart';
|
|
14
|
-
export * from './TourBookingCarts';
|
|
15
|
-
export * from './TourBookingCartRequest';
|
|
16
|
-
export * from './TourBookings';
|
|
17
|
-
export * from './TourBookingRequest';
|
|
18
|
-
export * from './TourCategories';
|
|
19
|
-
export * from './TourCoordinates';
|
|
20
|
-
export * from './TourDateRange';
|
|
21
|
-
export * from './TourDurations';
|
|
22
|
-
export * from './TourLocations';
|
|
23
|
-
export * from './TourPictures';
|
|
24
|
-
export * from './TourPrice';
|
|
25
|
-
export * from './TourShoppingFormData';
|
|
26
|
-
export * from './TourOptionDetails';
|
|
27
|
-
export * from './TourOptionPricing';
|
|
28
|
-
export * from './TourOptionPricings';
|
|
29
|
-
export * from './TourOption';
|
|
30
|
-
export * from './TourOptions';
|
|
31
|
-
export * from './TourViewport';
|
|
32
|
-
export * from './TourReservationDetails';
|
|
33
|
-
export * from './Tours';
|
|
1
|
+
export * from './CatalogGroup';
|
|
2
|
+
export * from './Category';
|
|
3
|
+
export * from './Categories';
|
|
4
|
+
export * from './MetaData';
|
|
5
|
+
export * from './PaymentConfiguration';
|
|
6
|
+
export * from './PaymentConfigurations';
|
|
7
|
+
export * from './Tour';
|
|
8
|
+
export * from './TourAvailability';
|
|
9
|
+
export * from './TourAvailabilities';
|
|
10
|
+
export * from './TourBookingInfo';
|
|
11
|
+
export * from './TourBookingInfos';
|
|
12
|
+
export * from './TourBooking';
|
|
13
|
+
export * from './TourBookingCart';
|
|
14
|
+
export * from './TourBookingCarts';
|
|
15
|
+
export * from './TourBookingCartRequest';
|
|
16
|
+
export * from './TourBookings';
|
|
17
|
+
export * from './TourBookingRequest';
|
|
18
|
+
export * from './TourCategories';
|
|
19
|
+
export * from './TourCoordinates';
|
|
20
|
+
export * from './TourDateRange';
|
|
21
|
+
export * from './TourDurations';
|
|
22
|
+
export * from './TourLocations';
|
|
23
|
+
export * from './TourPictures';
|
|
24
|
+
export * from './TourPrice';
|
|
25
|
+
export * from './TourShoppingFormData';
|
|
26
|
+
export * from './TourOptionDetails';
|
|
27
|
+
export * from './TourOptionPricing';
|
|
28
|
+
export * from './TourOptionPricings';
|
|
29
|
+
export * from './TourOption';
|
|
30
|
+
export * from './TourOptions';
|
|
31
|
+
export * from './TourViewport';
|
|
32
|
+
export * from './TourReservationDetails';
|
|
33
|
+
export * from './Tours';
|
package/providers/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as Yelp from './yelp';
|
|
2
|
-
import * as Gyg from './gyg';
|
|
3
|
-
import * as Bb from './bb';
|
|
4
|
-
export { Yelp, Gyg, Bb };
|
|
1
|
+
import * as Yelp from './yelp';
|
|
2
|
+
import * as Gyg from './gyg';
|
|
3
|
+
import * as Bb from './bb';
|
|
4
|
+
export { Yelp, Gyg, Bb };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
export
|
|
2
|
-
id: string;
|
|
3
|
-
alias: string;
|
|
4
|
-
name: string;
|
|
5
|
-
image_url: string;
|
|
6
|
-
is_closed: boolean;
|
|
7
|
-
url: string;
|
|
8
|
-
review_count: number;
|
|
9
|
-
categories: Array<{
|
|
10
|
-
alias: string;
|
|
11
|
-
title: string;
|
|
12
|
-
}>;
|
|
13
|
-
rating: number;
|
|
14
|
-
coordinates: {
|
|
15
|
-
latitude: number;
|
|
16
|
-
longitude: number;
|
|
17
|
-
};
|
|
18
|
-
transactions: Array<string>;
|
|
19
|
-
location: {
|
|
20
|
-
address1?: string | null;
|
|
21
|
-
address2?: string | null;
|
|
22
|
-
address3?: string | null;
|
|
23
|
-
city: string;
|
|
24
|
-
zip_code: string;
|
|
25
|
-
country: string;
|
|
26
|
-
state: string;
|
|
27
|
-
display_address: Array<string>;
|
|
28
|
-
};
|
|
29
|
-
phone: string;
|
|
30
|
-
display_phone: string;
|
|
31
|
-
};
|
|
1
|
+
export type Business = {
|
|
2
|
+
id: string;
|
|
3
|
+
alias: string;
|
|
4
|
+
name: string;
|
|
5
|
+
image_url: string;
|
|
6
|
+
is_closed: boolean;
|
|
7
|
+
url: string;
|
|
8
|
+
review_count: number;
|
|
9
|
+
categories: Array<{
|
|
10
|
+
alias: string;
|
|
11
|
+
title: string;
|
|
12
|
+
}>;
|
|
13
|
+
rating: number;
|
|
14
|
+
coordinates: {
|
|
15
|
+
latitude: number;
|
|
16
|
+
longitude: number;
|
|
17
|
+
};
|
|
18
|
+
transactions: Array<string>;
|
|
19
|
+
location: {
|
|
20
|
+
address1?: string | null;
|
|
21
|
+
address2?: string | null;
|
|
22
|
+
address3?: string | null;
|
|
23
|
+
city: string;
|
|
24
|
+
zip_code: string;
|
|
25
|
+
country: string;
|
|
26
|
+
state: string;
|
|
27
|
+
display_address: Array<string>;
|
|
28
|
+
};
|
|
29
|
+
phone: string;
|
|
30
|
+
display_phone: string;
|
|
31
|
+
};
|
package/providers/yelp/Hold.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export
|
|
2
|
-
cancellation_policy: string;
|
|
3
|
-
credit_card_hold: boolean;
|
|
4
|
-
expires_at: number;
|
|
5
|
-
hold_id: string;
|
|
6
|
-
is_editable: boolean;
|
|
7
|
-
last_cancellation_date: number;
|
|
8
|
-
notes: string;
|
|
9
|
-
reserve_url: string;
|
|
10
|
-
};
|
|
1
|
+
export type Hold = {
|
|
2
|
+
cancellation_policy: string;
|
|
3
|
+
credit_card_hold: boolean;
|
|
4
|
+
expires_at: number;
|
|
5
|
+
hold_id: string;
|
|
6
|
+
is_editable: boolean;
|
|
7
|
+
last_cancellation_date: number;
|
|
8
|
+
notes: string;
|
|
9
|
+
reserve_url: string;
|
|
10
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export
|
|
2
|
-
businessId: string;
|
|
3
|
-
date: string;
|
|
4
|
-
time: string;
|
|
5
|
-
covers: number;
|
|
6
|
-
uniqueId: string;
|
|
7
|
-
};
|
|
1
|
+
export type HoldRequest = {
|
|
2
|
+
businessId: string;
|
|
3
|
+
date: string;
|
|
4
|
+
time: string;
|
|
5
|
+
covers: number;
|
|
6
|
+
uniqueId: string;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { OpeningTime } from './OpeningTime';
|
|
2
|
-
export
|
|
3
|
-
date: string;
|
|
4
|
-
times: OpeningTime[];
|
|
5
|
-
};
|
|
1
|
+
import { OpeningTime } from './OpeningTime';
|
|
2
|
+
export type Opening = {
|
|
3
|
+
date: string;
|
|
4
|
+
times: OpeningTime[];
|
|
5
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
2
|
-
credit_card_required: boolean;
|
|
3
|
-
time: string;
|
|
4
|
-
};
|
|
1
|
+
export type OpeningTime = {
|
|
2
|
+
credit_card_required: boolean;
|
|
3
|
+
time: string;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Opening } from './Opening';
|
|
2
|
-
export
|
|
3
|
-
reservation_times: Opening[];
|
|
4
|
-
};
|
|
1
|
+
import { Opening } from './Opening';
|
|
2
|
+
export type Openings = {
|
|
3
|
+
reservation_times: Opening[];
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
businessId: string;
|
|
3
|
-
date: string;
|
|
4
|
-
time: string;
|
|
5
|
-
covers: number;
|
|
6
|
-
};
|
|
1
|
+
export type OpeningsRequest = {
|
|
2
|
+
businessId: string;
|
|
3
|
+
date: string;
|
|
4
|
+
time: string;
|
|
5
|
+
covers: number;
|
|
6
|
+
};
|