@tripian/model 6.0.36 → 6.0.43
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 -7
- 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 +8 -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 -100
- 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 +108 -89
- 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 -9
- 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 +14 -10
- 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 +47 -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,3 +1,3 @@
|
|
|
1
|
-
export declare enum BOOKING_PRODUCT_INFO {
|
|
2
|
-
TICKET = "ticket"
|
|
3
|
-
}
|
|
1
|
+
export declare enum BOOKING_PRODUCT_INFO {
|
|
2
|
+
TICKET = "ticket"
|
|
3
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum BUSINESS_RESULT_ORIGIN {
|
|
2
|
-
TRIPIAN = "Tripian",
|
|
3
|
-
GOOGLE = "Google"
|
|
4
|
-
}
|
|
1
|
+
export declare enum BUSINESS_RESULT_ORIGIN {
|
|
2
|
+
TRIPIAN = "Tripian",
|
|
3
|
+
GOOGLE = "Google"
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum LOCATION_TYPE {
|
|
2
|
-
PARISH = "parish",
|
|
3
|
-
CITY = "city"
|
|
4
|
-
}
|
|
1
|
+
export declare enum LOCATION_TYPE {
|
|
2
|
+
PARISH = "parish",
|
|
3
|
+
CITY = "city"
|
|
4
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum NOTIFICATION_TYPE {
|
|
2
|
-
SUCCESS = "success",
|
|
3
|
-
ERROR = "error",
|
|
4
|
-
WARNING = "warning"
|
|
5
|
-
}
|
|
1
|
+
export declare enum NOTIFICATION_TYPE {
|
|
2
|
+
SUCCESS = "success",
|
|
3
|
+
ERROR = "error",
|
|
4
|
+
WARNING = "warning"
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum OFFER_CURRENCY {
|
|
2
|
-
USD = "USD",
|
|
3
|
-
CAD = "CAD"
|
|
4
|
-
}
|
|
1
|
+
export declare enum OFFER_CURRENCY {
|
|
2
|
+
USD = "USD",
|
|
3
|
+
CAD = "CAD"
|
|
4
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum OFFER_RECEIVE_METHOD {
|
|
2
|
-
TAKEOUT = "take-out",
|
|
3
|
-
DINEIN = "dine-in"
|
|
4
|
-
}
|
|
1
|
+
export declare enum OFFER_RECEIVE_METHOD {
|
|
2
|
+
TAKEOUT = "take-out",
|
|
3
|
+
DINEIN = "dine-in"
|
|
4
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum OFFER_STATUS {
|
|
2
|
-
ACTIVE = "active",
|
|
3
|
-
INACTIVE = "inactive",
|
|
4
|
-
ARCHIVE = "archive",
|
|
5
|
-
EXPIRED = "expired"
|
|
6
|
-
}
|
|
1
|
+
export declare enum OFFER_STATUS {
|
|
2
|
+
ACTIVE = "active",
|
|
3
|
+
INACTIVE = "inactive",
|
|
4
|
+
ARCHIVE = "archive",
|
|
5
|
+
EXPIRED = "expired"
|
|
6
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum OFFER_TYPE {
|
|
2
|
-
PERCENTAGE = "percentage",
|
|
3
|
-
AMOUNT = "amount",
|
|
4
|
-
QUANTITY = "quantity",
|
|
5
|
-
SPEND_FOR_GIFT = "spend_for_gift"
|
|
6
|
-
}
|
|
1
|
+
export declare enum OFFER_TYPE {
|
|
2
|
+
PERCENTAGE = "percentage",
|
|
3
|
+
AMOUNT = "amount",
|
|
4
|
+
QUANTITY = "quantity",
|
|
5
|
+
SPEND_FOR_GIFT = "spend_for_gift"
|
|
6
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum PLAN_STATUS {
|
|
2
|
-
STEPS_EMPTY = -1,
|
|
3
|
-
PENDING = 0,
|
|
4
|
-
FINISHED = 1,
|
|
5
|
-
WALKING_EXCEEDS = 2,
|
|
6
|
-
NOT_FOUND_ATTRS = 3
|
|
7
|
-
}
|
|
1
|
+
export declare enum PLAN_STATUS {
|
|
2
|
+
STEPS_EMPTY = -1,
|
|
3
|
+
PENDING = 0,
|
|
4
|
+
FINISHED = 1,
|
|
5
|
+
WALKING_EXCEEDS = 2,
|
|
6
|
+
NOT_FOUND_ATTRS = 3
|
|
7
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare enum POI_CATEGORY_GROUP {
|
|
2
|
-
ATTRACTION = "Attractions",
|
|
3
|
-
RESTAURANT = "Restaurants",
|
|
4
|
-
CAFE = "Cafes",
|
|
5
|
-
NIGHTLIFE = "Nightlife",
|
|
6
|
-
UNKNOWN = "Unknown"
|
|
7
|
-
}
|
|
1
|
+
export declare enum POI_CATEGORY_GROUP {
|
|
2
|
+
ATTRACTION = "Attractions",
|
|
3
|
+
RESTAURANT = "Restaurants",
|
|
4
|
+
CAFE = "Cafes",
|
|
5
|
+
NIGHTLIFE = "Nightlife",
|
|
6
|
+
UNKNOWN = "Unknown"
|
|
7
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum PRODUCT_TYPE_NAME {
|
|
2
|
-
FOOD = "food",
|
|
3
|
-
DRINK = "drink",
|
|
4
|
-
RETAIL = "retail"
|
|
5
|
-
}
|
|
1
|
+
export declare enum PRODUCT_TYPE_NAME {
|
|
2
|
+
FOOD = "food",
|
|
3
|
+
DRINK = "drink",
|
|
4
|
+
RETAIL = "retail"
|
|
5
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export declare enum PROVIDER_ID {
|
|
2
|
-
YELP = 2,
|
|
3
|
-
GYG = 4,
|
|
4
|
-
OPEN_TABLE = 5,
|
|
5
|
-
BOOK_BARBADOS = 6,
|
|
6
|
-
UBER = 7
|
|
7
|
-
|
|
1
|
+
export declare enum PROVIDER_ID {
|
|
2
|
+
YELP = 2,
|
|
3
|
+
GYG = 4,
|
|
4
|
+
OPEN_TABLE = 5,
|
|
5
|
+
BOOK_BARBADOS = 6,
|
|
6
|
+
UBER = 7,
|
|
7
|
+
TRAVELIFY = 8
|
|
8
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum PROVIDER_NAME {
|
|
2
|
-
YELP = "Yelp",
|
|
3
|
-
GYG = "Gyg",
|
|
4
|
-
OPEN_TABLE = "OpenTable",
|
|
5
|
-
BOOK_BARBADOS = "BookBarbados"
|
|
6
|
-
}
|
|
1
|
+
export declare enum PROVIDER_NAME {
|
|
2
|
+
YELP = "Yelp",
|
|
3
|
+
GYG = "Gyg",
|
|
4
|
+
OPEN_TABLE = "OpenTable",
|
|
5
|
+
BOOK_BARBADOS = "BookBarbados"
|
|
6
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum QUESTIONS_CATEGORY {
|
|
2
|
-
TRIP = "trip",
|
|
3
|
-
PROFILE = "profile",
|
|
4
|
-
COMPANION = "companion"
|
|
5
|
-
}
|
|
1
|
+
export declare enum QUESTIONS_CATEGORY {
|
|
2
|
+
TRIP = "trip",
|
|
3
|
+
PROFILE = "profile",
|
|
4
|
+
COMPANION = "companion"
|
|
5
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare enum REACTION {
|
|
2
|
-
THUMBS_UP = "Thumbs Up",
|
|
3
|
-
THUMBS_DOWN = "Thumbs Down",
|
|
4
|
-
NEUTRAL = "Neutral"
|
|
5
|
-
}
|
|
1
|
+
export declare enum REACTION {
|
|
2
|
+
THUMBS_UP = "Thumbs Up",
|
|
3
|
+
THUMBS_DOWN = "Thumbs Down",
|
|
4
|
+
NEUTRAL = "Neutral"
|
|
5
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum REACTION_COMMENT {
|
|
2
|
-
I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
|
|
3
|
-
I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
|
|
4
|
-
}
|
|
1
|
+
export declare enum REACTION_COMMENT {
|
|
2
|
+
I_HAVE_BEEN_THERE_BEFORE = "I`ve been there before",
|
|
3
|
+
I_DONT_LIKE_THIS_PLACE = "I don`t like this place"
|
|
4
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export declare enum RESPONSE_STATUS {
|
|
2
|
-
SUCCESS = 200,
|
|
3
|
-
BAD_REQUEST = 400,
|
|
4
|
-
UNAUTHORIZED = 401,
|
|
5
|
-
FORBIDDEN = 403,
|
|
6
|
-
NOTFLICT = 409,
|
|
7
|
-
INTERNAL_SERVER_ERROR = 500
|
|
8
|
-
}
|
|
1
|
+
export declare enum RESPONSE_STATUS {
|
|
2
|
+
SUCCESS = 200,
|
|
3
|
+
BAD_REQUEST = 400,
|
|
4
|
+
UNAUTHORIZED = 401,
|
|
5
|
+
FORBIDDEN = 403,
|
|
6
|
+
NOTFLICT = 409,
|
|
7
|
+
INTERNAL_SERVER_ERROR = 500
|
|
8
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum VERIFY_CHANNEL {
|
|
2
|
-
SMS = "sms",
|
|
3
|
-
CALL = "call"
|
|
4
|
-
}
|
|
1
|
+
export declare enum VERIFY_CHANNEL {
|
|
2
|
+
SMS = "sms",
|
|
3
|
+
CALL = "call"
|
|
4
|
+
}
|
package/api/v4/index.d.ts
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Enum
|
|
3
|
-
*/
|
|
4
|
-
export * from './enums/BOOKING_PRODUCT_INFO';
|
|
5
|
-
export * from './enums/BUSINESS_RESULT_ORIGIN';
|
|
6
|
-
export * from './enums/NOTIFICATION_TYPE';
|
|
7
|
-
export * from './enums/OFFER_CURRENCY';
|
|
8
|
-
export * from './enums/OFFER_RECEIVE_METHOD';
|
|
9
|
-
export * from './enums/OFFER_STATUS';
|
|
10
|
-
export * from './enums/OFFER_TYPE';
|
|
11
|
-
export * from './enums/POI_CATEGORY_GROUP';
|
|
12
|
-
export * from './enums/PRODUCT_TYPE_NAME';
|
|
13
|
-
export * from './enums/PROVIDER_ID';
|
|
14
|
-
export * from './enums/PROVIDER_NAME';
|
|
15
|
-
export * from './enums/REACTION';
|
|
16
|
-
export * from './enums/REACTION_COMMENT';
|
|
17
|
-
export * from './enums/RESPONSE_STATUS';
|
|
18
|
-
export * from './enums/PLAN_STATUS';
|
|
19
|
-
export * from './enums/QUESTIONS_CATEGORY';
|
|
20
|
-
export * from './enums/VERIFY_CHANNEL';
|
|
21
|
-
export * from './enums/LOCATION_TYPE';
|
|
22
|
-
/**
|
|
23
|
-
* Models
|
|
24
|
-
*/
|
|
25
|
-
export * from './models/Accommodation';
|
|
26
|
-
export * from './models/Booking';
|
|
27
|
-
export * from './models/BookingProduct';
|
|
28
|
-
export * from './models/Business';
|
|
29
|
-
export * from './models/Business';
|
|
30
|
-
export * from './models/BusinessInfoCategory';
|
|
31
|
-
export * from './models/BusinessSearch';
|
|
32
|
-
export * from './models/BusinessVerify';
|
|
33
|
-
export * from './models/City';
|
|
34
|
-
export * from './models/Companion';
|
|
35
|
-
export * from './models/ConfigList';
|
|
36
|
-
export * from './models/Continent';
|
|
37
|
-
export * from './models/Coordinate';
|
|
38
|
-
export * from './models/Country';
|
|
39
|
-
export * from './models/Device';
|
|
40
|
-
export * from './models/Favorite';
|
|
41
|
-
export * from './models/Feedbacks';
|
|
42
|
-
export * from './models/Image';
|
|
43
|
-
export * from './models/ImageOwner';
|
|
44
|
-
export * from './models/Notification';
|
|
45
|
-
export * from './models/NotificationMetaData';
|
|
46
|
-
export * from './models/NotificationSettings';
|
|
47
|
-
export * from './models/NotificationUnseen';
|
|
48
|
-
export * from './models/Offer';
|
|
49
|
-
export * from './models/OfferCustomer';
|
|
50
|
-
export * from './models/OfferProductType';
|
|
51
|
-
export * from './models/Plan';
|
|
52
|
-
export * from './models/Poi';
|
|
53
|
-
export * from './models/PoiCategory';
|
|
54
|
-
export * from './models/PoiCategoryParent';
|
|
55
|
-
export * from './models/PoiReference';
|
|
56
|
-
export * from './models/PreRegister';
|
|
57
|
-
export * from './models/Question';
|
|
58
|
-
export * from './models/Recommendation';
|
|
59
|
-
export * from './models/Step';
|
|
60
|
-
export * from './models/SubAnswer';
|
|
61
|
-
export * from './models/TasteItem';
|
|
62
|
-
export * from './models/TimeFrame';
|
|
63
|
-
export * from './models/Token';
|
|
64
|
-
export * from './models/TokenPayload';
|
|
65
|
-
export * from './models/TokenRefresh';
|
|
66
|
-
export * from './models/TopTen';
|
|
67
|
-
export * from './models/Trip';
|
|
68
|
-
export * from './models/TripProfile';
|
|
69
|
-
export * from './models/TripReference';
|
|
70
|
-
export * from './models/User';
|
|
71
|
-
export * from './models/UserReaction';
|
|
72
|
-
export * from './models/UserReservation';
|
|
73
|
-
export * from './models/UserResetPassword';
|
|
74
|
-
export * from './models/UserFeedback';
|
|
75
|
-
/**
|
|
76
|
-
* Requests
|
|
77
|
-
*/
|
|
78
|
-
export * from './requests/CompanionRequest';
|
|
79
|
-
export * from './requests/FeedbackRequest';
|
|
80
|
-
export * from './requests/LoginRequest';
|
|
81
|
-
export * from './requests/OfferAddRequest';
|
|
82
|
-
export * from './requests/OfferRequest';
|
|
83
|
-
export * from './requests/PlanUpdateRequest';
|
|
84
|
-
export * from './requests/PoisRequest';
|
|
85
|
-
export * from './requests/PoisRequestCoordinate';
|
|
86
|
-
export * from './requests/PoisRequestMustTry';
|
|
87
|
-
export * from './requests/PoisRequestName';
|
|
88
|
-
export * from './requests/RegisterRequest';
|
|
89
|
-
export * from './requests/TokenRefreshRequest';
|
|
90
|
-
export * from './requests/UserReactionRequest';
|
|
91
|
-
export * from './requests/UserReservationRequest';
|
|
92
|
-
export * from './requests/UserUpdateRequest';
|
|
93
|
-
/**
|
|
94
|
-
* Responses
|
|
95
|
-
*/
|
|
96
|
-
export * from './responses/DataPayload';
|
|
97
|
-
export * from './responses/DeleteUpdateResponse';
|
|
98
|
-
export * from './responses/ErrorResponse';
|
|
99
|
-
export * from './responses/Pagination';
|
|
100
|
-
export * from './responses/SuccessResponse';
|
|
1
|
+
/**
|
|
2
|
+
* Enum
|
|
3
|
+
*/
|
|
4
|
+
export * from './enums/BOOKING_PRODUCT_INFO';
|
|
5
|
+
export * from './enums/BUSINESS_RESULT_ORIGIN';
|
|
6
|
+
export * from './enums/NOTIFICATION_TYPE';
|
|
7
|
+
export * from './enums/OFFER_CURRENCY';
|
|
8
|
+
export * from './enums/OFFER_RECEIVE_METHOD';
|
|
9
|
+
export * from './enums/OFFER_STATUS';
|
|
10
|
+
export * from './enums/OFFER_TYPE';
|
|
11
|
+
export * from './enums/POI_CATEGORY_GROUP';
|
|
12
|
+
export * from './enums/PRODUCT_TYPE_NAME';
|
|
13
|
+
export * from './enums/PROVIDER_ID';
|
|
14
|
+
export * from './enums/PROVIDER_NAME';
|
|
15
|
+
export * from './enums/REACTION';
|
|
16
|
+
export * from './enums/REACTION_COMMENT';
|
|
17
|
+
export * from './enums/RESPONSE_STATUS';
|
|
18
|
+
export * from './enums/PLAN_STATUS';
|
|
19
|
+
export * from './enums/QUESTIONS_CATEGORY';
|
|
20
|
+
export * from './enums/VERIFY_CHANNEL';
|
|
21
|
+
export * from './enums/LOCATION_TYPE';
|
|
22
|
+
/**
|
|
23
|
+
* Models
|
|
24
|
+
*/
|
|
25
|
+
export * from './models/Accommodation';
|
|
26
|
+
export * from './models/Booking';
|
|
27
|
+
export * from './models/BookingProduct';
|
|
28
|
+
export * from './models/Business';
|
|
29
|
+
export * from './models/Business';
|
|
30
|
+
export * from './models/BusinessInfoCategory';
|
|
31
|
+
export * from './models/BusinessSearch';
|
|
32
|
+
export * from './models/BusinessVerify';
|
|
33
|
+
export * from './models/City';
|
|
34
|
+
export * from './models/Companion';
|
|
35
|
+
export * from './models/ConfigList';
|
|
36
|
+
export * from './models/Continent';
|
|
37
|
+
export * from './models/Coordinate';
|
|
38
|
+
export * from './models/Country';
|
|
39
|
+
export * from './models/Device';
|
|
40
|
+
export * from './models/Favorite';
|
|
41
|
+
export * from './models/Feedbacks';
|
|
42
|
+
export * from './models/Image';
|
|
43
|
+
export * from './models/ImageOwner';
|
|
44
|
+
export * from './models/Notification';
|
|
45
|
+
export * from './models/NotificationMetaData';
|
|
46
|
+
export * from './models/NotificationSettings';
|
|
47
|
+
export * from './models/NotificationUnseen';
|
|
48
|
+
export * from './models/Offer';
|
|
49
|
+
export * from './models/OfferCustomer';
|
|
50
|
+
export * from './models/OfferProductType';
|
|
51
|
+
export * from './models/Plan';
|
|
52
|
+
export * from './models/Poi';
|
|
53
|
+
export * from './models/PoiCategory';
|
|
54
|
+
export * from './models/PoiCategoryParent';
|
|
55
|
+
export * from './models/PoiReference';
|
|
56
|
+
export * from './models/PreRegister';
|
|
57
|
+
export * from './models/Question';
|
|
58
|
+
export * from './models/Recommendation';
|
|
59
|
+
export * from './models/Step';
|
|
60
|
+
export * from './models/SubAnswer';
|
|
61
|
+
export * from './models/TasteItem';
|
|
62
|
+
export * from './models/TimeFrame';
|
|
63
|
+
export * from './models/Token';
|
|
64
|
+
export * from './models/TokenPayload';
|
|
65
|
+
export * from './models/TokenRefresh';
|
|
66
|
+
export * from './models/TopTen';
|
|
67
|
+
export * from './models/Trip';
|
|
68
|
+
export * from './models/TripProfile';
|
|
69
|
+
export * from './models/TripReference';
|
|
70
|
+
export * from './models/User';
|
|
71
|
+
export * from './models/UserReaction';
|
|
72
|
+
export * from './models/UserReservation';
|
|
73
|
+
export * from './models/UserResetPassword';
|
|
74
|
+
export * from './models/UserFeedback';
|
|
75
|
+
/**
|
|
76
|
+
* Requests
|
|
77
|
+
*/
|
|
78
|
+
export * from './requests/CompanionRequest';
|
|
79
|
+
export * from './requests/FeedbackRequest';
|
|
80
|
+
export * from './requests/LoginRequest';
|
|
81
|
+
export * from './requests/OfferAddRequest';
|
|
82
|
+
export * from './requests/OfferRequest';
|
|
83
|
+
export * from './requests/PlanUpdateRequest';
|
|
84
|
+
export * from './requests/PoisRequest';
|
|
85
|
+
export * from './requests/PoisRequestCoordinate';
|
|
86
|
+
export * from './requests/PoisRequestMustTry';
|
|
87
|
+
export * from './requests/PoisRequestName';
|
|
88
|
+
export * from './requests/RegisterRequest';
|
|
89
|
+
export * from './requests/TokenRefreshRequest';
|
|
90
|
+
export * from './requests/UserReactionRequest';
|
|
91
|
+
export * from './requests/UserReservationRequest';
|
|
92
|
+
export * from './requests/UserUpdateRequest';
|
|
93
|
+
/**
|
|
94
|
+
* Responses
|
|
95
|
+
*/
|
|
96
|
+
export * from './responses/DataPayload';
|
|
97
|
+
export * from './responses/DeleteUpdateResponse';
|
|
98
|
+
export * from './responses/ErrorResponse';
|
|
99
|
+
export * from './responses/Pagination';
|
|
100
|
+
export * from './responses/SuccessResponse';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Coordinate } from './Coordinate';
|
|
2
|
-
export type Accommodation = {
|
|
3
|
-
address: string | null;
|
|
4
|
-
coordinate: Coordinate | null;
|
|
5
|
-
imageUrl: string | null;
|
|
6
|
-
name: string | null;
|
|
7
|
-
provider: string | null;
|
|
8
|
-
refID: string | null;
|
|
9
|
-
};
|
|
1
|
+
import { Coordinate } from './Coordinate';
|
|
2
|
+
export declare type Accommodation = {
|
|
3
|
+
address: string | null;
|
|
4
|
+
coordinate: Coordinate | null;
|
|
5
|
+
imageUrl: string | null;
|
|
6
|
+
name: string | null;
|
|
7
|
+
provider: string | null;
|
|
8
|
+
refID: string | null;
|
|
9
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PROVIDER_ID } from '../enums/PROVIDER_ID';
|
|
2
|
-
import { PROVIDER_NAME } from '../enums/PROVIDER_NAME';
|
|
3
|
-
import { BookingProduct } from './BookingProduct';
|
|
4
|
-
export type Booking = {
|
|
5
|
-
providerId: PROVIDER_ID;
|
|
6
|
-
providerName: PROVIDER_NAME;
|
|
7
|
-
products: BookingProduct[];
|
|
8
|
-
};
|
|
1
|
+
import { PROVIDER_ID } from '../enums/PROVIDER_ID';
|
|
2
|
+
import { PROVIDER_NAME } from '../enums/PROVIDER_NAME';
|
|
3
|
+
import { BookingProduct } from './BookingProduct';
|
|
4
|
+
export declare type Booking = {
|
|
5
|
+
providerId: PROVIDER_ID;
|
|
6
|
+
providerName: PROVIDER_NAME;
|
|
7
|
+
products: BookingProduct[];
|
|
8
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export type BookingProduct = {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
currency: string | null;
|
|
5
|
-
price: number | null;
|
|
6
|
-
priceDescription: string | null;
|
|
7
|
-
image: string | null;
|
|
8
|
-
rating: number | null;
|
|
9
|
-
ratingCount: number | null;
|
|
10
|
-
duration: string | null;
|
|
11
|
-
url: string | null;
|
|
12
|
-
info: string[];
|
|
13
|
-
};
|
|
1
|
+
export declare type BookingProduct = {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
currency: string | null;
|
|
5
|
+
price: number | null;
|
|
6
|
+
priceDescription: string | null;
|
|
7
|
+
image: string | null;
|
|
8
|
+
rating: number | null;
|
|
9
|
+
ratingCount: number | null;
|
|
10
|
+
duration: string | null;
|
|
11
|
+
url: string | null;
|
|
12
|
+
info: string[];
|
|
13
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { BusinessNameAddress } from './BusinessNameAddress';
|
|
2
|
-
import { Coordinate } from './Coordinate';
|
|
3
|
-
import { Image } from './Image';
|
|
4
|
-
export type Business = BusinessNameAddress & {
|
|
5
|
-
id: number;
|
|
6
|
-
image: Image;
|
|
7
|
-
gallery: Image[];
|
|
8
|
-
coordinates: Coordinate;
|
|
9
|
-
businessHours: string | null;
|
|
10
|
-
price: number | null;
|
|
11
|
-
rating: number | null;
|
|
12
|
-
ratingCount: number | null;
|
|
13
|
-
web: string | null;
|
|
14
|
-
phone: string;
|
|
15
|
-
isVerified: boolean;
|
|
16
|
-
cityId: number;
|
|
17
|
-
};
|
|
1
|
+
import { BusinessNameAddress } from './BusinessNameAddress';
|
|
2
|
+
import { Coordinate } from './Coordinate';
|
|
3
|
+
import { Image } from './Image';
|
|
4
|
+
export declare type Business = BusinessNameAddress & {
|
|
5
|
+
id: number;
|
|
6
|
+
image: Image;
|
|
7
|
+
gallery: Image[];
|
|
8
|
+
coordinates: Coordinate;
|
|
9
|
+
businessHours: string | null;
|
|
10
|
+
price: number | null;
|
|
11
|
+
rating: number | null;
|
|
12
|
+
ratingCount: number | null;
|
|
13
|
+
web: string | null;
|
|
14
|
+
phone: string;
|
|
15
|
+
isVerified: boolean;
|
|
16
|
+
cityId: number;
|
|
17
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type BusinessInfoCategory = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string | null;
|
|
5
|
-
parentCategoryId: number;
|
|
6
|
-
};
|
|
1
|
+
export declare type BusinessInfoCategory = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string | null;
|
|
5
|
+
parentCategoryId: number;
|
|
6
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type BusinessNameAddress = {
|
|
2
|
-
name: string;
|
|
3
|
-
address: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type BusinessNameAddress = {
|
|
2
|
+
name: string;
|
|
3
|
+
address: string;
|
|
4
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BusinessNameAddress } from './BusinessNameAddress';
|
|
2
|
-
export type BusinessSearch = {
|
|
3
|
-
business: BusinessNameAddress;
|
|
4
|
-
origin: string;
|
|
5
|
-
tripianPoiId?: number;
|
|
6
|
-
googlePlaceId?: string;
|
|
7
|
-
};
|
|
1
|
+
import { BusinessNameAddress } from './BusinessNameAddress';
|
|
2
|
+
export declare type BusinessSearch = {
|
|
3
|
+
business: BusinessNameAddress;
|
|
4
|
+
origin: string;
|
|
5
|
+
tripianPoiId?: number;
|
|
6
|
+
googlePlaceId?: string;
|
|
7
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type BusinessVerify = {
|
|
2
|
-
verificationStatus: string;
|
|
3
|
-
valid: boolean;
|
|
4
|
-
};
|
|
1
|
+
export declare type BusinessVerify = {
|
|
2
|
+
verificationStatus: string;
|
|
3
|
+
valid: boolean;
|
|
4
|
+
};
|
package/api/v4/models/City.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { Image } from './Image';
|
|
2
|
-
import { Coordinate } from './Coordinate';
|
|
3
|
-
import { Country } from './Country';
|
|
4
|
-
import { TasteItem } from './TasteItem';
|
|
5
|
-
import { LOCATION_TYPE } from '../enums/LOCATION_TYPE';
|
|
6
|
-
export type City = {
|
|
7
|
-
boundary: number[];
|
|
8
|
-
coordinate: Coordinate;
|
|
9
|
-
country: Country;
|
|
10
|
-
description: string | null;
|
|
11
|
-
id: number;
|
|
12
|
-
image: Image;
|
|
13
|
-
locationType: LOCATION_TYPE;
|
|
14
|
-
mustTries: TasteItem[];
|
|
15
|
-
name: string;
|
|
16
|
-
parentLocationId: number | null;
|
|
17
|
-
};
|
|
1
|
+
import { Image } from './Image';
|
|
2
|
+
import { Coordinate } from './Coordinate';
|
|
3
|
+
import { Country } from './Country';
|
|
4
|
+
import { TasteItem } from './TasteItem';
|
|
5
|
+
import { LOCATION_TYPE } from '../enums/LOCATION_TYPE';
|
|
6
|
+
export declare type City = {
|
|
7
|
+
boundary: number[];
|
|
8
|
+
coordinate: Coordinate;
|
|
9
|
+
country: Country;
|
|
10
|
+
description: string | null;
|
|
11
|
+
id: number;
|
|
12
|
+
image: Image;
|
|
13
|
+
locationType: LOCATION_TYPE;
|
|
14
|
+
mustTries: TasteItem[];
|
|
15
|
+
name: string;
|
|
16
|
+
parentLocationId: number | null;
|
|
17
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export type Companion = {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
name: string;
|
|
5
|
-
answers: number[];
|
|
6
|
-
age: number;
|
|
7
|
-
memberOfTrip: boolean;
|
|
8
|
-
};
|
|
1
|
+
export declare type Companion = {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
name: string;
|
|
5
|
+
answers: number[];
|
|
6
|
+
age: number;
|
|
7
|
+
memberOfTrip: boolean;
|
|
8
|
+
};
|