@tripian/model 4.6.0 → 5.0.2
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 → v4}/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
- package/api/v4/enums/OFFER_CURRENCY.d.ts +4 -0
- package/api/v4/enums/OFFER_RECEIVE_METHOD.d.ts +4 -0
- package/api/v4/enums/OFFER_STATUS.d.ts +5 -0
- package/api/v4/enums/OFFER_TYPE.d.ts +5 -0
- package/api/{v3 → v4}/enums/POI_CATEGORY_GROUP.d.ts +7 -7
- package/api/v4/enums/PRODUCT_TYPE_NAME.d.ts +5 -0
- package/api/{v3 → v4}/enums/PROVIDER_ID.d.ts +7 -7
- package/api/{v3 → v4}/enums/PROVIDER_NAME.d.ts +7 -7
- package/api/v4/enums/QUESTIONS_CATEGORY.d.ts +5 -0
- package/api/v4/enums/REACTION.d.ts +5 -0
- package/api/{v3 → v4}/enums/REACTION_COMMENT.d.ts +4 -4
- package/api/v4/enums/RESPONSE_STATUS.d.ts +8 -0
- package/api/v4/enums/VERIFY_CHANNEL.d.ts +4 -0
- package/api/{v3 → v4}/index.d.ts +92 -69
- package/api/v4/models/Accommodation.d.ts +7 -0
- package/api/v4/models/Booking.d.ts +8 -0
- package/api/{v3 → v4}/models/BookingProduct.d.ts +13 -13
- package/api/v4/models/Business.d.ts +18 -0
- package/api/v4/models/BusinessInfoCategory.d.ts +6 -0
- package/api/v4/models/BusinessNameAddress.d.ts +4 -0
- package/api/v4/models/BusinessSearch.d.ts +7 -0
- package/api/v4/models/BusinessVerify.d.ts +4 -0
- package/api/{v3 → v4}/models/City.d.ts +15 -15
- package/api/{v3 → v4}/models/Companion.d.ts +8 -8
- package/api/{v3 → v4}/models/Continent.d.ts +4 -3
- package/api/{v3 → v4}/models/Coordinate.d.ts +4 -4
- package/api/{v3 → v4}/models/Country.d.ts +6 -6
- package/api/v4/models/Device.d.ts +7 -0
- package/api/v4/models/Favorite.d.ts +6 -0
- package/api/{v3 → v4}/models/HourFormat.d.ts +4 -4
- package/api/{v3 → v4}/models/Image.d.ts +7 -7
- package/api/{v3 → v4}/models/ImageOwner.d.ts +4 -5
- package/api/v4/models/Notification.d.ts +8 -0
- package/api/v4/models/NotificationMetaData.d.ts +4 -0
- package/api/v4/models/NotificationSettings.d.ts +6 -0
- package/api/v4/models/NotificationUnseen.d.ts +3 -0
- package/api/v4/models/Offer.d.ts +27 -0
- package/api/v4/models/OfferCustomer.d.ts +6 -0
- package/api/v4/models/OfferImage.d.ts +4 -0
- package/api/v4/models/OfferProductType.d.ts +7 -0
- package/api/{v3 → v4}/models/Plan.d.ts +9 -9
- package/api/{v3 → v4}/models/Poi.d.ts +34 -33
- package/api/{v3 → v4}/models/PoiCategory.d.ts +7 -7
- package/api/{v3 → v4}/models/PoiCategoryGroup.d.ts +5 -5
- package/api/v4/models/PoiCategoryParent.d.ts +5 -0
- package/api/{v3 → v4}/models/PoiReference.d.ts +10 -10
- package/api/v4/models/Question.d.ts +11 -0
- package/api/v4/models/QuestionAnswer.d.ts +6 -0
- package/api/{v3 → v4}/models/Recommendation.d.ts +5 -5
- package/api/{v3 → v4}/models/Step.d.ts +8 -10
- package/api/v4/models/SubAnswer.d.ts +4 -0
- package/api/{v3 → v4}/models/TasteItem.d.ts +8 -7
- package/api/v4/models/TimeFrame.d.ts +4 -0
- package/api/{v3 → v4}/models/Token.d.ts +4 -4
- package/api/v4/models/TokenPayload.d.ts +28 -0
- package/api/v4/models/TokenRefresh.d.ts +5 -0
- package/api/{v3 → v4}/models/TopTen.d.ts +6 -6
- package/api/{v3 → v4}/models/Trip.d.ts +5 -5
- package/api/v4/models/TripProfile.d.ts +13 -0
- package/api/{v3 → v4}/models/TripReference.d.ts +8 -8
- package/api/v4/models/User.d.ts +6 -0
- package/api/v4/models/UserReaction.d.ts +9 -0
- package/api/v4/models/UserReservation.d.ts +10 -0
- package/api/v4/models/UserResetPassword.d.ts +6 -0
- package/api/{v3 → v4}/requests/CompanionRequest.d.ts +6 -6
- package/api/v4/requests/LoginRequest.d.ts +6 -0
- package/api/v4/requests/OfferAddRequest.d.ts +22 -0
- package/api/v4/requests/OfferRequest.d.ts +8 -0
- package/api/v4/requests/PlanUpdateRequest.d.ts +5 -0
- package/api/v4/requests/PoisRequest.d.ts +17 -0
- package/api/v4/requests/PoisRequestCoordinate.d.ts +7 -0
- package/api/{v3 → v4}/requests/PoisRequestMustTry.d.ts +5 -5
- package/api/{v3 → v4}/requests/PoisRequestName.d.ts +7 -7
- package/api/v4/requests/RegisterRequest.d.ts +11 -0
- package/api/v4/requests/TokenRefreshRequest.d.ts +5 -0
- package/api/v4/requests/UserReactionRequest.d.ts +7 -0
- package/api/{v3 → v4}/requests/UserReservationRequest.d.ts +7 -7
- package/api/v4/requests/UserUpdateRequest.d.ts +7 -0
- package/api/{v3 → v4}/responses/DataPayload.d.ts +5 -5
- package/api/v4/responses/DeleteUpdateResponse.d.ts +3 -0
- package/api/v4/responses/ErrorResponse.d.ts +7 -0
- package/api/v4/responses/Pagination.d.ts +7 -0
- package/api/{v3 → v4}/responses/SuccessResponse.d.ts +10 -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 -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/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
- package/api/v3/enums/REACTION.d.ts +0 -5
- package/api/v3/enums/TRIP_PROFILE_PACE.d.ts +0 -5
- package/api/v3/models/Accommodation.d.ts +0 -7
- package/api/v3/models/Booking.d.ts +0 -6
- package/api/v3/models/Favorite.d.ts +0 -6
- package/api/v3/models/Option.d.ts +0 -6
- package/api/v3/models/PoiCategoryParent.d.ts +0 -4
- package/api/v3/models/PoiHours.d.ts +0 -4
- package/api/v3/models/Question.d.ts +0 -10
- package/api/v3/models/StepHours.d.ts +0 -4
- package/api/v3/models/SubOption.d.ts +0 -4
- package/api/v3/models/TasteItemImage.d.ts +0 -5
- package/api/v3/models/TokenPayload.d.ts +0 -13
- package/api/v3/models/TokenRefresh.d.ts +0 -5
- package/api/v3/models/TripProfile.d.ts +0 -14
- package/api/v3/models/User.d.ts +0 -8
- package/api/v3/models/UserProfile.d.ts +0 -4
- package/api/v3/models/UserReaction.d.ts +0 -12
- package/api/v3/models/UserReservation.d.ts +0 -10
- package/api/v3/requests/Device.d.ts +0 -7
- package/api/v3/requests/FavoriteRequest.d.ts +0 -4
- package/api/v3/requests/FavoriteUpdateRequest.d.ts +0 -4
- package/api/v3/requests/LoginRequestEmail.d.ts +0 -6
- package/api/v3/requests/LoginRequestTripHash.d.ts +0 -5
- package/api/v3/requests/LoginRequestUsername.d.ts +0 -5
- package/api/v3/requests/PlanUpdateRequest.d.ts +0 -5
- package/api/v3/requests/PoisRequest.d.ts +0 -12
- package/api/v3/requests/PoisRequestCoordinate.d.ts +0 -8
- package/api/v3/requests/RecommendationRequest.d.ts +0 -14
- package/api/v3/requests/RegisterRequestEmail.d.ts +0 -8
- package/api/v3/requests/RegisterRequestUsername.d.ts +0 -7
- package/api/v3/requests/StepRequest.d.ts +0 -5
- package/api/v3/requests/StepUpdateRequest.d.ts +0 -4
- package/api/v3/requests/TokenRefreshRequest.d.ts +0 -3
- package/api/v3/requests/UserProfileRequest.d.ts +0 -4
- package/api/v3/requests/UserReactionRequest.d.ts +0 -8
- package/api/v3/requests/UserUpdateRequest.d.ts +0 -7
- package/api/v3/responses/ErrorResponse.d.ts +0 -6
- package/api/v3/responses/Pagination.d.ts +0 -9
- package/api/v3/responses/PaginationLinks.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@tripian/model",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Tripian Inc web model",
|
|
5
|
-
"main": "index.js",
|
|
6
|
-
"types": "index.d.ts",
|
|
7
|
-
"keywords": [
|
|
8
|
-
"tripian",
|
|
9
|
-
"model"
|
|
10
|
-
],
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/Tripian-inc/ui-tripian-model.git"
|
|
14
|
-
},
|
|
15
|
-
"author": "Penguen Umut",
|
|
16
|
-
"license": "MIT",
|
|
17
|
-
"bugs": {
|
|
18
|
-
"url": "https://github.com/Tripian-inc/ui-tripian-model/issues"
|
|
19
|
-
},
|
|
20
|
-
"homepage": "https://github.com/Tripian-inc/ui-tripian-model#readme"
|
|
21
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@tripian/model",
|
|
3
|
+
"version": "5.0.2",
|
|
4
|
+
"description": "Tripian Inc web model",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"tripian",
|
|
9
|
+
"model"
|
|
10
|
+
],
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/Tripian-inc/ui-tripian-model.git"
|
|
14
|
+
},
|
|
15
|
+
"author": "Penguen Umut",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/Tripian-inc/ui-tripian-model/issues"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/Tripian-inc/ui-tripian-model#readme"
|
|
21
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export declare enum ACTIVITY_THEMES {
|
|
2
|
-
ON_THE_LAND = "On the Land",
|
|
3
|
-
FAMILY_FUN = "Family Fun",
|
|
4
|
-
SOFT_ADVENTURE = "Soft Adventure",
|
|
5
|
-
ON_THE_WATER = "On the Water",
|
|
6
|
-
WELLNESS = "Wellness",
|
|
7
|
-
ART_AND_CULTURE = "Arts & Culture",
|
|
8
|
-
HISTORY = "History",
|
|
9
|
-
UNDER_WATER = "Under Water",
|
|
10
|
-
IN_THE_AIR = "In the Air",
|
|
11
|
-
ROMANCE = "Romance",
|
|
12
|
-
FOODIE_DELIGHTS = "Foodie Delights",
|
|
13
|
-
UNDER_GROUND = "Under Ground"
|
|
14
|
-
}
|
|
1
|
+
export declare enum ACTIVITY_THEMES {
|
|
2
|
+
ON_THE_LAND = "On the Land",
|
|
3
|
+
FAMILY_FUN = "Family Fun",
|
|
4
|
+
SOFT_ADVENTURE = "Soft Adventure",
|
|
5
|
+
ON_THE_WATER = "On the Water",
|
|
6
|
+
WELLNESS = "Wellness",
|
|
7
|
+
ART_AND_CULTURE = "Arts & Culture",
|
|
8
|
+
HISTORY = "History",
|
|
9
|
+
UNDER_WATER = "Under Water",
|
|
10
|
+
IN_THE_AIR = "In the Air",
|
|
11
|
+
ROMANCE = "Romance",
|
|
12
|
+
FOODIE_DELIGHTS = "Foodie Delights",
|
|
13
|
+
UNDER_GROUND = "Under Ground"
|
|
14
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { ActivityPoint } from './ActivityPoint';
|
|
2
|
-
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
3
|
-
export declare type Activity = {
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
supplierCode: string;
|
|
7
|
-
pickUpPoints: ActivityPoint[];
|
|
8
|
-
dropOffPoints: ActivityPoint[];
|
|
9
|
-
shortDescription: string;
|
|
10
|
-
themes: ACTIVITY_THEMES[];
|
|
11
|
-
};
|
|
1
|
+
import { ActivityPoint } from './ActivityPoint';
|
|
2
|
+
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
3
|
+
export declare type Activity = {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
supplierCode: string;
|
|
7
|
+
pickUpPoints: ActivityPoint[];
|
|
8
|
+
dropOffPoints: ActivityPoint[];
|
|
9
|
+
shortDescription: string;
|
|
10
|
+
themes: ACTIVITY_THEMES[];
|
|
11
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ActivityInfoImage } from './ActivityInfoImage';
|
|
2
|
-
import { ActivityInfoLocation } from './ActivityInfoLocation';
|
|
3
|
-
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
4
|
-
export declare type ActivityInfo = {
|
|
5
|
-
name: string;
|
|
6
|
-
shortDescription: string;
|
|
7
|
-
fullDescription: string;
|
|
8
|
-
images: ActivityInfoImage[];
|
|
9
|
-
location: string;
|
|
10
|
-
departures: ActivityInfoLocation[];
|
|
11
|
-
destinations: ActivityInfoLocation[];
|
|
12
|
-
duration: number;
|
|
13
|
-
themes: ACTIVITY_THEMES[];
|
|
14
|
-
descriptions: any[];
|
|
15
|
-
comments: any[];
|
|
16
|
-
};
|
|
1
|
+
import { ActivityInfoImage } from './ActivityInfoImage';
|
|
2
|
+
import { ActivityInfoLocation } from './ActivityInfoLocation';
|
|
3
|
+
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
4
|
+
export declare type ActivityInfo = {
|
|
5
|
+
name: string;
|
|
6
|
+
shortDescription: string;
|
|
7
|
+
fullDescription: string;
|
|
8
|
+
images: ActivityInfoImage[];
|
|
9
|
+
location: string;
|
|
10
|
+
departures: ActivityInfoLocation[];
|
|
11
|
+
destinations: ActivityInfoLocation[];
|
|
12
|
+
duration: number;
|
|
13
|
+
themes: ACTIVITY_THEMES[];
|
|
14
|
+
descriptions: any[];
|
|
15
|
+
comments: any[];
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare type ActivityInfoImage = {
|
|
2
|
-
url: string;
|
|
3
|
-
mainImage: boolean;
|
|
4
|
-
orderNumber: number;
|
|
5
|
-
linkedEntityName?: string;
|
|
6
|
-
title?: string;
|
|
7
|
-
};
|
|
1
|
+
export declare type ActivityInfoImage = {
|
|
2
|
+
url: string;
|
|
3
|
+
mainImage: boolean;
|
|
4
|
+
orderNumber: number;
|
|
5
|
+
linkedEntityName?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type ActivityInfoLocation = {
|
|
2
|
-
point: string;
|
|
3
|
-
startTimes: any[];
|
|
4
|
-
};
|
|
1
|
+
export declare type ActivityInfoLocation = {
|
|
2
|
+
point: string;
|
|
3
|
+
startTimes: any[];
|
|
4
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare type ActivityPoint = {
|
|
2
|
-
countryId: number;
|
|
3
|
-
countryName: string;
|
|
4
|
-
cityId: number;
|
|
5
|
-
cityName: string;
|
|
6
|
-
name: string;
|
|
7
|
-
latitude: number;
|
|
8
|
-
longitude: number;
|
|
9
|
-
};
|
|
1
|
+
export declare type ActivityPoint = {
|
|
2
|
+
countryId: number;
|
|
3
|
+
countryName: string;
|
|
4
|
+
cityId: number;
|
|
5
|
+
cityName: string;
|
|
6
|
+
name: string;
|
|
7
|
+
latitude: number;
|
|
8
|
+
longitude: number;
|
|
9
|
+
};
|
|
@@ -1,48 +1,48 @@
|
|
|
1
|
-
export declare type AuthorizationResponse = {
|
|
2
|
-
settings: {
|
|
3
|
-
b2CPaymentWays: any[];
|
|
4
|
-
b2CPaymentMethods: number[];
|
|
5
|
-
name: string;
|
|
6
|
-
googleEnabled: boolean;
|
|
7
|
-
systemCurrency: string;
|
|
8
|
-
siteId: string;
|
|
9
|
-
salesId: number;
|
|
10
|
-
b2CId: number;
|
|
11
|
-
organizationId: number;
|
|
12
|
-
parentFirstLevelTOId: number;
|
|
13
|
-
managerName: string;
|
|
14
|
-
managerId: number;
|
|
15
|
-
managerNotification: boolean;
|
|
16
|
-
showCustomerCancellation: boolean;
|
|
17
|
-
withLogin: boolean;
|
|
18
|
-
allowMultiroomBooking: boolean;
|
|
19
|
-
showVisa: boolean;
|
|
20
|
-
showSupplierColumn: boolean;
|
|
21
|
-
showSupplierLogo: boolean;
|
|
22
|
-
showHotelNameColumn: boolean;
|
|
23
|
-
notRestrictChildrenCount: boolean;
|
|
24
|
-
allowSameTouristNames: boolean;
|
|
25
|
-
signUpAvailability: boolean;
|
|
26
|
-
signInAvailability: boolean;
|
|
27
|
-
signUpRequired: boolean;
|
|
28
|
-
isAutoPassword: boolean;
|
|
29
|
-
emaiValidation: boolean;
|
|
30
|
-
isInlineWindow: boolean;
|
|
31
|
-
sliderEffect: boolean;
|
|
32
|
-
allowFlexibleDatesSearch: boolean;
|
|
33
|
-
allowOnlyLatinForTuristName: boolean;
|
|
34
|
-
loyaltyEnabled: boolean;
|
|
35
|
-
voucherMode: string;
|
|
36
|
-
themeEnabled: boolean;
|
|
37
|
-
themeName: string;
|
|
38
|
-
showCompanyNameOnBankReceipt: boolean;
|
|
39
|
-
registrationPendingStatus: boolean;
|
|
40
|
-
notAllowSearchBeforeLogin: boolean;
|
|
41
|
-
showUpSell: boolean;
|
|
42
|
-
manuallyEnterLocations: boolean;
|
|
43
|
-
citiesAndRegionsInSeparateBlocks: boolean;
|
|
44
|
-
citiesAndRegionsInSameDropdown: boolean;
|
|
45
|
-
guestMemberLevelId: number;
|
|
46
|
-
};
|
|
47
|
-
token: string;
|
|
48
|
-
};
|
|
1
|
+
export declare type AuthorizationResponse = {
|
|
2
|
+
settings: {
|
|
3
|
+
b2CPaymentWays: any[];
|
|
4
|
+
b2CPaymentMethods: number[];
|
|
5
|
+
name: string;
|
|
6
|
+
googleEnabled: boolean;
|
|
7
|
+
systemCurrency: string;
|
|
8
|
+
siteId: string;
|
|
9
|
+
salesId: number;
|
|
10
|
+
b2CId: number;
|
|
11
|
+
organizationId: number;
|
|
12
|
+
parentFirstLevelTOId: number;
|
|
13
|
+
managerName: string;
|
|
14
|
+
managerId: number;
|
|
15
|
+
managerNotification: boolean;
|
|
16
|
+
showCustomerCancellation: boolean;
|
|
17
|
+
withLogin: boolean;
|
|
18
|
+
allowMultiroomBooking: boolean;
|
|
19
|
+
showVisa: boolean;
|
|
20
|
+
showSupplierColumn: boolean;
|
|
21
|
+
showSupplierLogo: boolean;
|
|
22
|
+
showHotelNameColumn: boolean;
|
|
23
|
+
notRestrictChildrenCount: boolean;
|
|
24
|
+
allowSameTouristNames: boolean;
|
|
25
|
+
signUpAvailability: boolean;
|
|
26
|
+
signInAvailability: boolean;
|
|
27
|
+
signUpRequired: boolean;
|
|
28
|
+
isAutoPassword: boolean;
|
|
29
|
+
emaiValidation: boolean;
|
|
30
|
+
isInlineWindow: boolean;
|
|
31
|
+
sliderEffect: boolean;
|
|
32
|
+
allowFlexibleDatesSearch: boolean;
|
|
33
|
+
allowOnlyLatinForTuristName: boolean;
|
|
34
|
+
loyaltyEnabled: boolean;
|
|
35
|
+
voucherMode: string;
|
|
36
|
+
themeEnabled: boolean;
|
|
37
|
+
themeName: string;
|
|
38
|
+
showCompanyNameOnBankReceipt: boolean;
|
|
39
|
+
registrationPendingStatus: boolean;
|
|
40
|
+
notAllowSearchBeforeLogin: boolean;
|
|
41
|
+
showUpSell: boolean;
|
|
42
|
+
manuallyEnterLocations: boolean;
|
|
43
|
+
citiesAndRegionsInSeparateBlocks: boolean;
|
|
44
|
+
citiesAndRegionsInSameDropdown: boolean;
|
|
45
|
+
guestMemberLevelId: number;
|
|
46
|
+
};
|
|
47
|
+
token: string;
|
|
48
|
+
};
|
package/providers/bb/Offer.d.ts
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
|
-
import { OfferPoint } from './OfferPoint';
|
|
2
|
-
export declare type Offer = {
|
|
3
|
-
offerKey: string;
|
|
4
|
-
taxesAndFeesIncluded: boolean;
|
|
5
|
-
salesTerms: [
|
|
6
|
-
{
|
|
7
|
-
type: string;
|
|
8
|
-
price: {
|
|
9
|
-
currency: string;
|
|
10
|
-
amount: number;
|
|
11
|
-
commission: {
|
|
12
|
-
currency: string;
|
|
13
|
-
amount: number;
|
|
14
|
-
percent: number;
|
|
15
|
-
};
|
|
16
|
-
taxesAndFees: [];
|
|
17
|
-
};
|
|
18
|
-
originalSupplierCurrency: string;
|
|
19
|
-
promoCodeApplied: boolean;
|
|
20
|
-
}
|
|
21
|
-
];
|
|
22
|
-
available: boolean;
|
|
23
|
-
nonRefundable: boolean;
|
|
24
|
-
date: string;
|
|
25
|
-
duration: number;
|
|
26
|
-
languages: [
|
|
27
|
-
{
|
|
28
|
-
langCode: string;
|
|
29
|
-
type: string;
|
|
30
|
-
}
|
|
31
|
-
];
|
|
32
|
-
startTimes: string[];
|
|
33
|
-
serviceName: string;
|
|
34
|
-
tariffName: string;
|
|
35
|
-
serviceCode: string;
|
|
36
|
-
pickUpPoints: OfferPoint[];
|
|
37
|
-
dropOffPoints: OfferPoint[];
|
|
38
|
-
availableTicketQuantity: [];
|
|
39
|
-
touristsQuantityRestrictions: {
|
|
40
|
-
minTourists: number;
|
|
41
|
-
maxTourists: number;
|
|
42
|
-
};
|
|
43
|
-
priceBreakDowns: [
|
|
44
|
-
{
|
|
45
|
-
touristType: string;
|
|
46
|
-
touristTypeId: number;
|
|
47
|
-
touristTypeName: string;
|
|
48
|
-
quantity: number;
|
|
49
|
-
price: {
|
|
50
|
-
currency: string;
|
|
51
|
-
amount: number;
|
|
52
|
-
originalCurrency: string;
|
|
53
|
-
originalAmount: number;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
serviceDescription?: string;
|
|
58
|
-
};
|
|
1
|
+
import { OfferPoint } from './OfferPoint';
|
|
2
|
+
export declare type Offer = {
|
|
3
|
+
offerKey: string;
|
|
4
|
+
taxesAndFeesIncluded: boolean;
|
|
5
|
+
salesTerms: [
|
|
6
|
+
{
|
|
7
|
+
type: string;
|
|
8
|
+
price: {
|
|
9
|
+
currency: string;
|
|
10
|
+
amount: number;
|
|
11
|
+
commission: {
|
|
12
|
+
currency: string;
|
|
13
|
+
amount: number;
|
|
14
|
+
percent: number;
|
|
15
|
+
};
|
|
16
|
+
taxesAndFees: [];
|
|
17
|
+
};
|
|
18
|
+
originalSupplierCurrency: string;
|
|
19
|
+
promoCodeApplied: boolean;
|
|
20
|
+
}
|
|
21
|
+
];
|
|
22
|
+
available: boolean;
|
|
23
|
+
nonRefundable: boolean;
|
|
24
|
+
date: string;
|
|
25
|
+
duration: number;
|
|
26
|
+
languages: [
|
|
27
|
+
{
|
|
28
|
+
langCode: string;
|
|
29
|
+
type: string;
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
startTimes: string[];
|
|
33
|
+
serviceName: string;
|
|
34
|
+
tariffName: string;
|
|
35
|
+
serviceCode: string;
|
|
36
|
+
pickUpPoints: OfferPoint[];
|
|
37
|
+
dropOffPoints: OfferPoint[];
|
|
38
|
+
availableTicketQuantity: [];
|
|
39
|
+
touristsQuantityRestrictions: {
|
|
40
|
+
minTourists: number;
|
|
41
|
+
maxTourists: number;
|
|
42
|
+
};
|
|
43
|
+
priceBreakDowns: [
|
|
44
|
+
{
|
|
45
|
+
touristType: string;
|
|
46
|
+
touristTypeId: number;
|
|
47
|
+
touristTypeName: string;
|
|
48
|
+
quantity: number;
|
|
49
|
+
price: {
|
|
50
|
+
currency: string;
|
|
51
|
+
amount: number;
|
|
52
|
+
originalCurrency: string;
|
|
53
|
+
originalAmount: number;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
];
|
|
57
|
+
serviceDescription?: string;
|
|
58
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare type OfferPoint = {
|
|
2
|
-
name: string;
|
|
3
|
-
timeShift: string;
|
|
4
|
-
latitude?: string;
|
|
5
|
-
longitude?: string;
|
|
6
|
-
};
|
|
1
|
+
export declare type OfferPoint = {
|
|
2
|
+
name: string;
|
|
3
|
+
timeShift: string;
|
|
4
|
+
latitude?: string;
|
|
5
|
+
longitude?: string;
|
|
6
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
2
|
-
import { Offer } from './Offer';
|
|
3
|
-
export declare type Product = {
|
|
4
|
-
info: {
|
|
5
|
-
id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
};
|
|
8
|
-
shortDescription: string;
|
|
9
|
-
fullDescription: string;
|
|
10
|
-
themes: ACTIVITY_THEMES[];
|
|
11
|
-
supplierId: string;
|
|
12
|
-
activityCompanyName: string;
|
|
13
|
-
mainImage: string;
|
|
14
|
-
productType: string;
|
|
15
|
-
type: string;
|
|
16
|
-
transportationType: string;
|
|
17
|
-
offers: Offer[];
|
|
18
|
-
recommended: boolean;
|
|
19
|
-
};
|
|
1
|
+
import { ACTIVITY_THEMES } from './ACTIVITY_THEMES';
|
|
2
|
+
import { Offer } from './Offer';
|
|
3
|
+
export declare type Product = {
|
|
4
|
+
info: {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
};
|
|
8
|
+
shortDescription: string;
|
|
9
|
+
fullDescription: string;
|
|
10
|
+
themes: ACTIVITY_THEMES[];
|
|
11
|
+
supplierId: string;
|
|
12
|
+
activityCompanyName: string;
|
|
13
|
+
mainImage: string;
|
|
14
|
+
productType: string;
|
|
15
|
+
type: string;
|
|
16
|
+
transportationType: string;
|
|
17
|
+
offers: Offer[];
|
|
18
|
+
recommended: boolean;
|
|
19
|
+
};
|