@tripian/model 6.0.36 → 6.0.39
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 +90 -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 +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,89 +1,90 @@
|
|
|
1
|
-
import { PROVIDER_ID } from '../enums/PROVIDER_ID';
|
|
2
|
-
export declare enum CONFIG_CONTENTS_PROVIDER_NAME {
|
|
3
|
-
BOOKBARBADOS = "bookbarbados",
|
|
4
|
-
GYG = "gyg",
|
|
5
|
-
OPENTABLE = "opentable",
|
|
6
|
-
YELP = "yelp",
|
|
7
|
-
UBER = "uber"
|
|
8
|
-
}
|
|
9
|
-
export type ProviderObject = {
|
|
10
|
-
id: PROVIDER_ID;
|
|
11
|
-
name: string;
|
|
12
|
-
apiUrl: string;
|
|
13
|
-
apiKey: string;
|
|
14
|
-
prod: boolean;
|
|
15
|
-
clientId: string;
|
|
16
|
-
};
|
|
17
|
-
export type ConfigList = {
|
|
18
|
-
apiKey: string;
|
|
19
|
-
whiteLabels: {
|
|
20
|
-
reverseProxyUrl: string;
|
|
21
|
-
brandName: string;
|
|
22
|
-
logoPath: string;
|
|
23
|
-
theme: string;
|
|
24
|
-
googleAnalyticsUrl: {
|
|
25
|
-
business: string;
|
|
26
|
-
customer: string;
|
|
27
|
-
};
|
|
28
|
-
googleAnalyticsKey: {
|
|
29
|
-
business: string;
|
|
30
|
-
customer: string;
|
|
31
|
-
};
|
|
32
|
-
providers: {
|
|
33
|
-
name: CONFIG_CONTENTS_PROVIDER_NAME;
|
|
34
|
-
apikey: string;
|
|
35
|
-
apiurl: string;
|
|
36
|
-
prod: boolean;
|
|
37
|
-
}[];
|
|
38
|
-
cognito: {
|
|
39
|
-
clientId: string;
|
|
40
|
-
domain: string;
|
|
41
|
-
region: string;
|
|
42
|
-
identityProviders: string[];
|
|
43
|
-
};
|
|
44
|
-
colors?: {
|
|
45
|
-
primary: string;
|
|
46
|
-
secondary: string;
|
|
47
|
-
success: string;
|
|
48
|
-
warning: string;
|
|
49
|
-
info: string;
|
|
50
|
-
danger: string;
|
|
51
|
-
textPrimary: string;
|
|
52
|
-
background: string;
|
|
53
|
-
headerTextColor: string;
|
|
54
|
-
headerBg: string;
|
|
55
|
-
};
|
|
56
|
-
formBgImgUrl?: string;
|
|
57
|
-
formHeaderImgUrl?: string;
|
|
58
|
-
appBackgroundImgUrl?: string;
|
|
59
|
-
rootPath?: string;
|
|
60
|
-
defaultDestinationId?: number;
|
|
61
|
-
brandUrl?: string;
|
|
62
|
-
tosUrl?: string;
|
|
63
|
-
ppUrl?: string;
|
|
64
|
-
};
|
|
65
|
-
baseFeatures: {
|
|
66
|
-
showRegister: boolean;
|
|
67
|
-
showLogin: boolean;
|
|
68
|
-
showSideNav: boolean;
|
|
69
|
-
showHome: boolean;
|
|
70
|
-
showUserProfile: boolean;
|
|
71
|
-
showChangePassword: boolean;
|
|
72
|
-
showTripModeQuestion: boolean;
|
|
73
|
-
showCreateTrip: boolean;
|
|
74
|
-
showUpdateTrip: boolean;
|
|
75
|
-
showOverview: boolean;
|
|
76
|
-
showOffers: boolean;
|
|
77
|
-
showStepCardThumbs: boolean;
|
|
78
|
-
loginWithToken: boolean;
|
|
79
|
-
loginWithHash: boolean;
|
|
80
|
-
saveSession: boolean;
|
|
81
|
-
showStepScoreDetail: boolean;
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
};
|
|
1
|
+
import { PROVIDER_ID } from '../enums/PROVIDER_ID';
|
|
2
|
+
export declare enum CONFIG_CONTENTS_PROVIDER_NAME {
|
|
3
|
+
BOOKBARBADOS = "bookbarbados",
|
|
4
|
+
GYG = "gyg",
|
|
5
|
+
OPENTABLE = "opentable",
|
|
6
|
+
YELP = "yelp",
|
|
7
|
+
UBER = "uber"
|
|
8
|
+
}
|
|
9
|
+
export declare type ProviderObject = {
|
|
10
|
+
id: PROVIDER_ID;
|
|
11
|
+
name: string;
|
|
12
|
+
apiUrl: string;
|
|
13
|
+
apiKey: string;
|
|
14
|
+
prod: boolean;
|
|
15
|
+
clientId: string;
|
|
16
|
+
};
|
|
17
|
+
export declare type ConfigList = {
|
|
18
|
+
apiKey: string;
|
|
19
|
+
whiteLabels: {
|
|
20
|
+
reverseProxyUrl: string;
|
|
21
|
+
brandName: string;
|
|
22
|
+
logoPath: string;
|
|
23
|
+
theme: string;
|
|
24
|
+
googleAnalyticsUrl: {
|
|
25
|
+
business: string;
|
|
26
|
+
customer: string;
|
|
27
|
+
};
|
|
28
|
+
googleAnalyticsKey: {
|
|
29
|
+
business: string;
|
|
30
|
+
customer: string;
|
|
31
|
+
};
|
|
32
|
+
providers: {
|
|
33
|
+
name: CONFIG_CONTENTS_PROVIDER_NAME;
|
|
34
|
+
apikey: string;
|
|
35
|
+
apiurl: string;
|
|
36
|
+
prod: boolean;
|
|
37
|
+
}[];
|
|
38
|
+
cognito: {
|
|
39
|
+
clientId: string;
|
|
40
|
+
domain: string;
|
|
41
|
+
region: string;
|
|
42
|
+
identityProviders: string[];
|
|
43
|
+
};
|
|
44
|
+
colors?: {
|
|
45
|
+
primary: string;
|
|
46
|
+
secondary: string;
|
|
47
|
+
success: string;
|
|
48
|
+
warning: string;
|
|
49
|
+
info: string;
|
|
50
|
+
danger: string;
|
|
51
|
+
textPrimary: string;
|
|
52
|
+
background: string;
|
|
53
|
+
headerTextColor: string;
|
|
54
|
+
headerBg: string;
|
|
55
|
+
};
|
|
56
|
+
formBgImgUrl?: string;
|
|
57
|
+
formHeaderImgUrl?: string;
|
|
58
|
+
appBackgroundImgUrl?: string;
|
|
59
|
+
rootPath?: string;
|
|
60
|
+
defaultDestinationId?: number;
|
|
61
|
+
brandUrl?: string;
|
|
62
|
+
tosUrl?: string;
|
|
63
|
+
ppUrl?: string;
|
|
64
|
+
};
|
|
65
|
+
baseFeatures: {
|
|
66
|
+
showRegister: boolean;
|
|
67
|
+
showLogin: boolean;
|
|
68
|
+
showSideNav: boolean;
|
|
69
|
+
showHome: boolean;
|
|
70
|
+
showUserProfile: boolean;
|
|
71
|
+
showChangePassword: boolean;
|
|
72
|
+
showTripModeQuestion: boolean;
|
|
73
|
+
showCreateTrip: boolean;
|
|
74
|
+
showUpdateTrip: boolean;
|
|
75
|
+
showOverview: boolean;
|
|
76
|
+
showOffers: boolean;
|
|
77
|
+
showStepCardThumbs: boolean;
|
|
78
|
+
loginWithToken: boolean;
|
|
79
|
+
loginWithHash: boolean;
|
|
80
|
+
saveSession: boolean;
|
|
81
|
+
showStepScoreDetail: boolean;
|
|
82
|
+
showTravelGuide: boolean;
|
|
83
|
+
};
|
|
84
|
+
providers: {
|
|
85
|
+
tourAndTicket: ProviderObject[];
|
|
86
|
+
accommodation: ProviderObject[];
|
|
87
|
+
restaurant: ProviderObject[];
|
|
88
|
+
transportation: ProviderObject[];
|
|
89
|
+
};
|
|
90
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Continent = {
|
|
2
|
-
name: string;
|
|
3
|
-
slug: string;
|
|
4
|
-
};
|
|
1
|
+
export declare type Continent = {
|
|
2
|
+
name: string;
|
|
3
|
+
slug: string;
|
|
4
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type Coordinate = {
|
|
2
|
-
lat: number;
|
|
3
|
-
lng: number;
|
|
4
|
-
};
|
|
1
|
+
export declare type Coordinate = {
|
|
2
|
+
lat: number;
|
|
3
|
+
lng: number;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Continent } from './Continent';
|
|
2
|
-
export type Country = {
|
|
3
|
-
name: string;
|
|
4
|
-
code: string;
|
|
5
|
-
continent: Continent;
|
|
6
|
-
};
|
|
1
|
+
import { Continent } from './Continent';
|
|
2
|
+
export declare type Country = {
|
|
3
|
+
name: string;
|
|
4
|
+
code: string;
|
|
5
|
+
continent: Continent;
|
|
6
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type Device = {
|
|
2
|
-
deviceId: string;
|
|
3
|
-
serviceToken: string | null;
|
|
4
|
-
deviceOs: string;
|
|
5
|
-
osVersion: string;
|
|
6
|
-
bundleId: string;
|
|
7
|
-
};
|
|
1
|
+
export declare type Device = {
|
|
2
|
+
deviceId: string;
|
|
3
|
+
serviceToken: string | null;
|
|
4
|
+
deviceOs: string;
|
|
5
|
+
osVersion: string;
|
|
6
|
+
bundleId: string;
|
|
7
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type Favorite = {
|
|
2
|
-
id: number;
|
|
3
|
-
poiId: number;
|
|
4
|
-
cityId: number;
|
|
5
|
-
tripHash: string | null;
|
|
6
|
-
};
|
|
1
|
+
export declare type Favorite = {
|
|
2
|
+
id: number;
|
|
3
|
+
poiId: number;
|
|
4
|
+
cityId: number;
|
|
5
|
+
tripHash: string | null;
|
|
6
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export type FeedbackSubjects = {
|
|
2
|
-
id: number;
|
|
3
|
-
title: string;
|
|
4
|
-
subjectType: 'main' | 'poi';
|
|
5
|
-
};
|
|
6
|
-
export type Feedbacks = {
|
|
7
|
-
mainSubjects: FeedbackSubjects[];
|
|
8
|
-
poiSubjects: FeedbackSubjects[];
|
|
9
|
-
};
|
|
1
|
+
export declare type FeedbackSubjects = {
|
|
2
|
+
id: number;
|
|
3
|
+
title: string;
|
|
4
|
+
subjectType: 'main' | 'poi';
|
|
5
|
+
};
|
|
6
|
+
export declare type Feedbacks = {
|
|
7
|
+
mainSubjects: FeedbackSubjects[];
|
|
8
|
+
poiSubjects: FeedbackSubjects[];
|
|
9
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type HourFormat = {
|
|
2
|
-
day: string;
|
|
3
|
-
clock: string[];
|
|
4
|
-
};
|
|
1
|
+
export declare type HourFormat = {
|
|
2
|
+
day: string;
|
|
3
|
+
clock: string[];
|
|
4
|
+
};
|
package/api/v4/models/Image.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ImageOwner } from './ImageOwner';
|
|
2
|
-
export type Image = {
|
|
3
|
-
width: number | null;
|
|
4
|
-
height: number | null;
|
|
5
|
-
url: string;
|
|
6
|
-
imageOwner: ImageOwner | null;
|
|
7
|
-
};
|
|
1
|
+
import { ImageOwner } from './ImageOwner';
|
|
2
|
+
export declare type Image = {
|
|
3
|
+
width: number | null;
|
|
4
|
+
height: number | null;
|
|
5
|
+
url: string;
|
|
6
|
+
imageOwner: ImageOwner | null;
|
|
7
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ImageOwner = {
|
|
2
|
-
title: string | null;
|
|
3
|
-
url: string | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type ImageOwner = {
|
|
2
|
+
title: string | null;
|
|
3
|
+
url: string | null;
|
|
4
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { NotificationMetaData } from './NotificationMetaData';
|
|
2
|
-
export type Notification = {
|
|
3
|
-
notificationTitle: string;
|
|
4
|
-
notificationBody: string;
|
|
5
|
-
metadata: NotificationMetaData | null;
|
|
6
|
-
notificationType: string;
|
|
7
|
-
hasSeen: boolean;
|
|
8
|
-
};
|
|
1
|
+
import { NotificationMetaData } from './NotificationMetaData';
|
|
2
|
+
export declare type Notification = {
|
|
3
|
+
notificationTitle: string;
|
|
4
|
+
notificationBody: string;
|
|
5
|
+
metadata: NotificationMetaData | null;
|
|
6
|
+
notificationType: string;
|
|
7
|
+
hasSeen: boolean;
|
|
8
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type NotificationMetaData = {
|
|
2
|
-
offerId: number;
|
|
3
|
-
poiId: number | null;
|
|
4
|
-
};
|
|
1
|
+
export declare type NotificationMetaData = {
|
|
2
|
+
offerId: number;
|
|
3
|
+
poiId: number | null;
|
|
4
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type NotificationSettings = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string | null;
|
|
5
|
-
checked: boolean;
|
|
6
|
-
};
|
|
1
|
+
export declare type NotificationSettings = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string | null;
|
|
5
|
+
checked: boolean;
|
|
6
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export type NotificationUnseen = {
|
|
2
|
-
anyUnseenNotification: boolean;
|
|
3
|
-
};
|
|
1
|
+
export declare type NotificationUnseen = {
|
|
2
|
+
anyUnseenNotification: boolean;
|
|
3
|
+
};
|
package/api/v4/models/Offer.d.ts
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { OFFER_CURRENCY } from '../enums/OFFER_CURRENCY';
|
|
2
|
-
import { OFFER_STATUS } from '../enums/OFFER_STATUS';
|
|
3
|
-
import { OFFER_TYPE } from '../enums/OFFER_TYPE';
|
|
4
|
-
import { OfferProductType } from './OfferProductType';
|
|
5
|
-
import { TimeFrame } from './TimeFrame';
|
|
6
|
-
export type Offer = {
|
|
7
|
-
id: number;
|
|
8
|
-
tripianPoiId: number;
|
|
9
|
-
businessId: number;
|
|
10
|
-
title: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
currency: OFFER_CURRENCY;
|
|
13
|
-
caption: string;
|
|
14
|
-
productName?: string;
|
|
15
|
-
giftName?: string;
|
|
16
|
-
threshold: number;
|
|
17
|
-
discount: number;
|
|
18
|
-
discountedProductCount: number;
|
|
19
|
-
quantity: number;
|
|
20
|
-
timeframe: TimeFrame;
|
|
21
|
-
imageUrl: string;
|
|
22
|
-
productType: OfferProductType;
|
|
23
|
-
offerType: OFFER_TYPE;
|
|
24
|
-
usage: number;
|
|
25
|
-
optIn: boolean;
|
|
26
|
-
optInClaimDate?: string;
|
|
27
|
-
status: OFFER_STATUS;
|
|
28
|
-
};
|
|
1
|
+
import { OFFER_CURRENCY } from '../enums/OFFER_CURRENCY';
|
|
2
|
+
import { OFFER_STATUS } from '../enums/OFFER_STATUS';
|
|
3
|
+
import { OFFER_TYPE } from '../enums/OFFER_TYPE';
|
|
4
|
+
import { OfferProductType } from './OfferProductType';
|
|
5
|
+
import { TimeFrame } from './TimeFrame';
|
|
6
|
+
export declare type Offer = {
|
|
7
|
+
id: number;
|
|
8
|
+
tripianPoiId: number;
|
|
9
|
+
businessId: number;
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
currency: OFFER_CURRENCY;
|
|
13
|
+
caption: string;
|
|
14
|
+
productName?: string;
|
|
15
|
+
giftName?: string;
|
|
16
|
+
threshold: number;
|
|
17
|
+
discount: number;
|
|
18
|
+
discountedProductCount: number;
|
|
19
|
+
quantity: number;
|
|
20
|
+
timeframe: TimeFrame;
|
|
21
|
+
imageUrl: string;
|
|
22
|
+
productType: OfferProductType;
|
|
23
|
+
offerType: OFFER_TYPE;
|
|
24
|
+
usage: number;
|
|
25
|
+
optIn: boolean;
|
|
26
|
+
optInClaimDate?: string;
|
|
27
|
+
status: OFFER_STATUS;
|
|
28
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type OfferCustomer = {
|
|
2
|
-
customerFirstName: string;
|
|
3
|
-
customerLastName: string;
|
|
4
|
-
offerClaimDate: string;
|
|
5
|
-
ImInDatetime: string;
|
|
6
|
-
};
|
|
1
|
+
export declare type OfferCustomer = {
|
|
2
|
+
customerFirstName: string;
|
|
3
|
+
customerLastName: string;
|
|
4
|
+
offerClaimDate: string;
|
|
5
|
+
ImInDatetime: string;
|
|
6
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { OFFER_RECEIVE_METHOD } from '../enums/OFFER_RECEIVE_METHOD';
|
|
2
|
-
import { PRODUCT_TYPE_NAME } from '../enums/PRODUCT_TYPE_NAME';
|
|
3
|
-
export type OfferProductType = {
|
|
4
|
-
id: number;
|
|
5
|
-
name: PRODUCT_TYPE_NAME;
|
|
6
|
-
receiveMethod: OFFER_RECEIVE_METHOD;
|
|
7
|
-
};
|
|
1
|
+
import { OFFER_RECEIVE_METHOD } from '../enums/OFFER_RECEIVE_METHOD';
|
|
2
|
+
import { PRODUCT_TYPE_NAME } from '../enums/PRODUCT_TYPE_NAME';
|
|
3
|
+
export declare type OfferProductType = {
|
|
4
|
+
id: number;
|
|
5
|
+
name: PRODUCT_TYPE_NAME;
|
|
6
|
+
receiveMethod: OFFER_RECEIVE_METHOD;
|
|
7
|
+
};
|
package/api/v4/models/Plan.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Step } from './Step';
|
|
2
|
-
export type Plan = {
|
|
3
|
-
id: number;
|
|
4
|
-
date: string;
|
|
5
|
-
startTime: string;
|
|
6
|
-
endTime: string;
|
|
7
|
-
generatedStatus: number;
|
|
8
|
-
steps: Array<Step>;
|
|
9
|
-
};
|
|
1
|
+
import { Step } from './Step';
|
|
2
|
+
export declare type Plan = {
|
|
3
|
+
id: number;
|
|
4
|
+
date: string;
|
|
5
|
+
startTime: string;
|
|
6
|
+
endTime: string;
|
|
7
|
+
generatedStatus: number;
|
|
8
|
+
steps: Array<Step>;
|
|
9
|
+
};
|
package/api/v4/models/Poi.d.ts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import { Image } from './Image';
|
|
2
|
-
import { Coordinate } from './Coordinate';
|
|
3
|
-
import { PoiCategory } from './PoiCategory';
|
|
4
|
-
import { TasteItem } from './TasteItem';
|
|
5
|
-
import { Booking } from './Booking';
|
|
6
|
-
import { Offer } from './Offer';
|
|
7
|
-
export type Poi = {
|
|
8
|
-
id: number;
|
|
9
|
-
cityId: number;
|
|
10
|
-
name: string;
|
|
11
|
-
image: Image;
|
|
12
|
-
gallery: Image[];
|
|
13
|
-
price: number | null;
|
|
14
|
-
rating: number | null;
|
|
15
|
-
ratingCount: number | null;
|
|
16
|
-
description: string | null;
|
|
17
|
-
web: string | null;
|
|
18
|
-
phone: string | null;
|
|
19
|
-
address: string;
|
|
20
|
-
icon: string;
|
|
21
|
-
coordinate: Coordinate;
|
|
22
|
-
bookings: Booking[];
|
|
23
|
-
category: PoiCategory[];
|
|
24
|
-
tags: string[];
|
|
25
|
-
mustTries: TasteItem[];
|
|
26
|
-
cuisines: string | null;
|
|
27
|
-
attention: string | null;
|
|
28
|
-
hours: string | null;
|
|
29
|
-
closed: number[];
|
|
30
|
-
distance: number | null;
|
|
31
|
-
safety: string[];
|
|
32
|
-
status: boolean;
|
|
33
|
-
offers: Offer[];
|
|
34
|
-
};
|
|
1
|
+
import { Image } from './Image';
|
|
2
|
+
import { Coordinate } from './Coordinate';
|
|
3
|
+
import { PoiCategory } from './PoiCategory';
|
|
4
|
+
import { TasteItem } from './TasteItem';
|
|
5
|
+
import { Booking } from './Booking';
|
|
6
|
+
import { Offer } from './Offer';
|
|
7
|
+
export declare type Poi = {
|
|
8
|
+
id: number;
|
|
9
|
+
cityId: number;
|
|
10
|
+
name: string;
|
|
11
|
+
image: Image;
|
|
12
|
+
gallery: Image[];
|
|
13
|
+
price: number | null;
|
|
14
|
+
rating: number | null;
|
|
15
|
+
ratingCount: number | null;
|
|
16
|
+
description: string | null;
|
|
17
|
+
web: string | null;
|
|
18
|
+
phone: string | null;
|
|
19
|
+
address: string;
|
|
20
|
+
icon: string;
|
|
21
|
+
coordinate: Coordinate;
|
|
22
|
+
bookings: Booking[];
|
|
23
|
+
category: PoiCategory[];
|
|
24
|
+
tags: string[];
|
|
25
|
+
mustTries: TasteItem[];
|
|
26
|
+
cuisines: string | null;
|
|
27
|
+
attention: string | null;
|
|
28
|
+
hours: string | null;
|
|
29
|
+
closed: number[];
|
|
30
|
+
distance: number | null;
|
|
31
|
+
safety: string[];
|
|
32
|
+
status: boolean;
|
|
33
|
+
offers: Offer[];
|
|
34
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { PoiCategoryParent } from './PoiCategoryParent';
|
|
2
|
-
export type PoiCategory = {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string | null;
|
|
6
|
-
parent: PoiCategoryParent | null;
|
|
7
|
-
};
|
|
1
|
+
import { PoiCategoryParent } from './PoiCategoryParent';
|
|
2
|
+
export declare type PoiCategory = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string | null;
|
|
6
|
+
parent: PoiCategoryParent | null;
|
|
7
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
|
|
2
|
-
export type PoiCategoryGroup = {
|
|
3
|
-
ids: number[];
|
|
4
|
-
group: POI_CATEGORY_GROUP;
|
|
5
|
-
};
|
|
1
|
+
import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
|
|
2
|
+
export declare type PoiCategoryGroup = {
|
|
3
|
+
ids: number[];
|
|
4
|
+
group: POI_CATEGORY_GROUP;
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export type PoiCategoryParent = {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
description: string | null;
|
|
5
|
-
};
|
|
1
|
+
export declare type PoiCategoryParent = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string | null;
|
|
5
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Coordinate } from './Coordinate';
|
|
2
|
-
import { PoiCategory } from './PoiCategory';
|
|
3
|
-
import { Image } from './Image';
|
|
4
|
-
export type PoiReference = {
|
|
5
|
-
id: number;
|
|
6
|
-
name: string;
|
|
7
|
-
image: Image | null;
|
|
8
|
-
coordinate: Coordinate | null;
|
|
9
|
-
category: PoiCategory[];
|
|
10
|
-
};
|
|
1
|
+
import { Coordinate } from './Coordinate';
|
|
2
|
+
import { PoiCategory } from './PoiCategory';
|
|
3
|
+
import { Image } from './Image';
|
|
4
|
+
export declare type PoiReference = {
|
|
5
|
+
id: number;
|
|
6
|
+
name: string;
|
|
7
|
+
image: Image | null;
|
|
8
|
+
coordinate: Coordinate | null;
|
|
9
|
+
category: PoiCategory[];
|
|
10
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type PreRegister = {
|
|
2
|
-
name: string;
|
|
3
|
-
email: string;
|
|
4
|
-
cityId: number;
|
|
5
|
-
businessName: string;
|
|
6
|
-
googlePlaceId: string;
|
|
7
|
-
};
|
|
1
|
+
export declare type PreRegister = {
|
|
2
|
+
name: string;
|
|
3
|
+
email: string;
|
|
4
|
+
cityId: number;
|
|
5
|
+
businessName: string;
|
|
6
|
+
googlePlaceId: string;
|
|
7
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { QUESTIONS_CATEGORY } from '../enums/QUESTIONS_CATEGORY';
|
|
2
|
-
import { QuestionAnswer } from './QuestionAnswer';
|
|
3
|
-
export type Question = {
|
|
4
|
-
id: number;
|
|
5
|
-
name: string;
|
|
6
|
-
order: number;
|
|
7
|
-
selectMultiple: boolean;
|
|
8
|
-
skippable: boolean;
|
|
9
|
-
stepId: number;
|
|
10
|
-
theme: string;
|
|
11
|
-
iconUrl: string;
|
|
12
|
-
title: string;
|
|
13
|
-
description: string;
|
|
14
|
-
category: QUESTIONS_CATEGORY;
|
|
15
|
-
answers: QuestionAnswer[];
|
|
16
|
-
};
|
|
1
|
+
import { QUESTIONS_CATEGORY } from '../enums/QUESTIONS_CATEGORY';
|
|
2
|
+
import { QuestionAnswer } from './QuestionAnswer';
|
|
3
|
+
export declare type Question = {
|
|
4
|
+
id: number;
|
|
5
|
+
name: string;
|
|
6
|
+
order: number;
|
|
7
|
+
selectMultiple: boolean;
|
|
8
|
+
skippable: boolean;
|
|
9
|
+
stepId: number;
|
|
10
|
+
theme: string;
|
|
11
|
+
iconUrl: string;
|
|
12
|
+
title: string;
|
|
13
|
+
description: string;
|
|
14
|
+
category: QUESTIONS_CATEGORY;
|
|
15
|
+
answers: QuestionAnswer[];
|
|
16
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SubAnswer } from './SubAnswer';
|
|
2
|
-
export type QuestionAnswer = {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
description: string;
|
|
6
|
-
subAnswers: SubAnswer[];
|
|
7
|
-
};
|
|
1
|
+
import { SubAnswer } from './SubAnswer';
|
|
2
|
+
export declare type QuestionAnswer = {
|
|
3
|
+
id: number;
|
|
4
|
+
name: string;
|
|
5
|
+
description: string;
|
|
6
|
+
subAnswers: SubAnswer[];
|
|
7
|
+
};
|