@tripian/model 8.2.5 → 9.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/api/v4/models/Accommodation.d.ts +1 -1
  2. package/api/v4/models/Booking.d.ts +1 -1
  3. package/api/v4/models/BookingProduct.d.ts +1 -1
  4. package/api/v4/models/Business.d.ts +1 -1
  5. package/api/v4/models/BusinessInfoCategory.d.ts +1 -1
  6. package/api/v4/models/BusinessNameAddress.d.ts +1 -1
  7. package/api/v4/models/BusinessReport.d.ts +3 -3
  8. package/api/v4/models/BusinessSearch.d.ts +2 -2
  9. package/api/v4/models/BusinessVerify.d.ts +1 -1
  10. package/api/v4/models/Campaign.d.ts +3 -3
  11. package/api/v4/models/CampaignCustomerReport.d.ts +2 -2
  12. package/api/v4/models/CampaignReport.d.ts +2 -2
  13. package/api/v4/models/City.d.ts +2 -2
  14. package/api/v4/models/Companion.d.ts +1 -1
  15. package/api/v4/models/ConfigList.d.ts +4 -4
  16. package/api/v4/models/Continent.d.ts +1 -1
  17. package/api/v4/models/Coordinate.d.ts +1 -1
  18. package/api/v4/models/Country.d.ts +1 -1
  19. package/api/v4/models/Coupon.d.ts +1 -1
  20. package/api/v4/models/CouponApplication.d.ts +5 -5
  21. package/api/v4/models/Device.d.ts +1 -1
  22. package/api/v4/models/Favorite.d.ts +2 -2
  23. package/api/v4/models/Feedbacks.d.ts +2 -2
  24. package/api/v4/models/HourFormat.d.ts +1 -1
  25. package/api/v4/models/Image.d.ts +1 -1
  26. package/api/v4/models/ImageOwner.d.ts +1 -1
  27. package/api/v4/models/Notification.d.ts +1 -1
  28. package/api/v4/models/NotificationMetaData.d.ts +2 -2
  29. package/api/v4/models/NotificationSettings.d.ts +1 -1
  30. package/api/v4/models/NotificationUnseen.d.ts +1 -1
  31. package/api/v4/models/Offer.d.ts +2 -2
  32. package/api/v4/models/OfferCustomer.d.ts +1 -1
  33. package/api/v4/models/OfferProductType.d.ts +1 -1
  34. package/api/v4/models/Plan.d.ts +1 -1
  35. package/api/v4/models/Poi.d.ts +2 -2
  36. package/api/v4/models/PoiCategory.d.ts +1 -1
  37. package/api/v4/models/PoiCategoryGroup.d.ts +1 -1
  38. package/api/v4/models/PoiCategoryParent.d.ts +1 -1
  39. package/api/v4/models/PoiReference.d.ts +1 -1
  40. package/api/v4/models/PreRegister.d.ts +1 -1
  41. package/api/v4/models/Question.d.ts +1 -1
  42. package/api/v4/models/QuestionAnswer.d.ts +1 -1
  43. package/api/v4/models/Recommendation.d.ts +1 -1
  44. package/api/v4/models/Step.d.ts +2 -2
  45. package/api/v4/models/SubAnswer.d.ts +1 -1
  46. package/api/v4/models/TasteItem.d.ts +1 -1
  47. package/api/v4/models/TimeFrame.d.ts +1 -1
  48. package/api/v4/models/Token.d.ts +1 -1
  49. package/api/v4/models/TokenPayload.d.ts +1 -1
  50. package/api/v4/models/TokenRefresh.d.ts +1 -1
  51. package/api/v4/models/TopTen.d.ts +1 -1
  52. package/api/v4/models/TourAndTickets.d.ts +1 -1
  53. package/api/v4/models/Trip.d.ts +1 -1
  54. package/api/v4/models/TripProfile.d.ts +1 -1
  55. package/api/v4/models/TripReference.d.ts +1 -1
  56. package/api/v4/models/User.d.ts +1 -1
  57. package/api/v4/models/UserFeedback.d.ts +1 -1
  58. package/api/v4/models/UserReaction.d.ts +2 -2
  59. package/api/v4/models/UserReservation.d.ts +2 -2
  60. package/api/v4/models/UserResetPassword.d.ts +1 -1
  61. package/api/v4/models/VoucherOffer.d.ts +2 -2
  62. package/api/v4/requests/CompanionRequest.d.ts +1 -1
  63. package/api/v4/requests/FeedbackRequest.d.ts +2 -2
  64. package/api/v4/requests/LoginRequest.d.ts +1 -1
  65. package/api/v4/requests/OfferAddRequest.d.ts +1 -1
  66. package/api/v4/requests/OfferRequest.d.ts +1 -1
  67. package/api/v4/requests/PlanUpdateRequest.d.ts +1 -1
  68. package/api/v4/requests/PoisRequest.d.ts +1 -1
  69. package/api/v4/requests/PoisRequestCoordinate.d.ts +1 -1
  70. package/api/v4/requests/PoisRequestMustTry.d.ts +1 -1
  71. package/api/v4/requests/PoisRequestName.d.ts +1 -1
  72. package/api/v4/requests/RegisterRequest.d.ts +2 -2
  73. package/api/v4/requests/TokenRefreshRequest.d.ts +1 -1
  74. package/api/v4/requests/UserReactionRequest.d.ts +2 -2
  75. package/api/v4/requests/UserReservationRequest.d.ts +2 -2
  76. package/api/v4/requests/UserUpdateRequest.d.ts +2 -1
  77. package/api/v4/requests/VoucherOfferAddRequest.d.ts +1 -1
  78. package/api/v4/responses/DataPayload.d.ts +1 -1
  79. package/api/v4/responses/DeleteUpdateResponse.d.ts +1 -1
  80. package/api/v4/responses/ErrorResponse.d.ts +1 -1
  81. package/api/v4/responses/Pagination.d.ts +1 -1
  82. package/api/v4/responses/SuccessResponse.d.ts +1 -1
  83. package/helper/index.d.ts +1 -1
  84. package/index.js.map +1 -1
  85. package/package.json +1 -1
  86. package/providers/bb/Activity.d.ts +1 -1
  87. package/providers/bb/ActivityInfo.d.ts +1 -1
  88. package/providers/bb/ActivityInfoImage.d.ts +1 -1
  89. package/providers/bb/ActivityInfoLocation.d.ts +1 -1
  90. package/providers/bb/ActivityPoint.d.ts +1 -1
  91. package/providers/bb/AuthorizationResponse.d.ts +1 -1
  92. package/providers/bb/CatalogGroup.d.ts +1 -1
  93. package/providers/bb/Offer.d.ts +1 -1
  94. package/providers/bb/OfferPoint.d.ts +1 -1
  95. package/providers/bb/Product.d.ts +1 -1
  96. package/providers/bb/SearchAccommodationResponse.d.ts +5 -5
  97. package/providers/bb/SearchActivitiesResponse.d.ts +1 -1
  98. package/providers/bb/SearchCarRentResponse.d.ts +11 -11
  99. package/providers/gyg/CatalogGroup.d.ts +1 -1
  100. package/providers/gyg/Categories.d.ts +1 -1
  101. package/providers/gyg/Category.d.ts +1 -1
  102. package/providers/gyg/MetaData.d.ts +1 -1
  103. package/providers/gyg/PaymentConfiguration.d.ts +1 -1
  104. package/providers/gyg/PaymentConfigurations.d.ts +1 -1
  105. package/providers/gyg/Tour.d.ts +1 -1
  106. package/providers/gyg/TourAvailabilities.d.ts +1 -1
  107. package/providers/gyg/TourAvailability.d.ts +1 -1
  108. package/providers/gyg/TourBooking.d.ts +1 -1
  109. package/providers/gyg/TourBookingCart.d.ts +1 -1
  110. package/providers/gyg/TourBookingCartRequest.d.ts +1 -1
  111. package/providers/gyg/TourBookingCartWithDetails.d.ts +1 -1
  112. package/providers/gyg/TourBookingCarts.d.ts +1 -1
  113. package/providers/gyg/TourBookingInfo.d.ts +1 -1
  114. package/providers/gyg/TourBookingInfos.d.ts +1 -1
  115. package/providers/gyg/TourBookingRequest.d.ts +1 -1
  116. package/providers/gyg/TourBookings.d.ts +1 -1
  117. package/providers/gyg/TourCategories.d.ts +1 -1
  118. package/providers/gyg/TourCoordinates.d.ts +1 -1
  119. package/providers/gyg/TourData.d.ts +1 -1
  120. package/providers/gyg/TourDataFormPersonsCategory.d.ts +1 -1
  121. package/providers/gyg/TourDataOption.d.ts +1 -1
  122. package/providers/gyg/TourDataOptionAvailability.d.ts +1 -1
  123. package/providers/gyg/TourDateRange.d.ts +1 -1
  124. package/providers/gyg/TourDurations.d.ts +1 -1
  125. package/providers/gyg/TourLocations.d.ts +1 -1
  126. package/providers/gyg/TourOption.d.ts +1 -1
  127. package/providers/gyg/TourOptionDetails.d.ts +1 -1
  128. package/providers/gyg/TourOptionPricing.d.ts +1 -1
  129. package/providers/gyg/TourOptionPricings.d.ts +1 -1
  130. package/providers/gyg/TourOptions.d.ts +1 -1
  131. package/providers/gyg/TourPictures.d.ts +1 -1
  132. package/providers/gyg/TourPrice.d.ts +1 -1
  133. package/providers/gyg/TourReservationDetails.d.ts +1 -1
  134. package/providers/gyg/TourShoppingFormData.d.ts +1 -1
  135. package/providers/gyg/TourViewport.d.ts +1 -1
  136. package/providers/gyg/Tours.d.ts +1 -1
  137. package/providers/viator/CatalogGroup.d.ts +1 -1
  138. package/providers/viator/Duration.d.ts +1 -1
  139. package/providers/viator/Product.d.ts +2 -2
  140. package/providers/viator/ProductInfo.d.ts +19 -19
  141. package/providers/yelp/Business.d.ts +1 -1
  142. package/providers/yelp/Hold.d.ts +1 -1
  143. package/providers/yelp/HoldRequest.d.ts +1 -1
  144. package/providers/yelp/Opening.d.ts +1 -1
  145. package/providers/yelp/OpeningTime.d.ts +1 -1
  146. package/providers/yelp/Openings.d.ts +1 -1
  147. package/providers/yelp/OpeningsRequest.d.ts +1 -1
  148. package/providers/yelp/Reservation.d.ts +1 -1
  149. package/providers/yelp/ReservationInfo.d.ts +1 -1
  150. package/providers/yelp/ReservationRequest.d.ts +1 -1
  151. package/providers/yelp/ReservationStatusResponse.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { Coordinate } from './Coordinate';
2
- export declare type Accommodation = {
2
+ export type Accommodation = {
3
3
  address: string | null;
4
4
  coordinate: Coordinate | null;
5
5
  imageUrl: string | null;
@@ -1,7 +1,7 @@
1
1
  import { PROVIDER_ID } from '../enums/PROVIDER_ID';
2
2
  import { PROVIDER_NAME } from '../enums/PROVIDER_NAME';
3
3
  import { BookingProduct } from './BookingProduct';
4
- export declare type Booking = {
4
+ export type Booking = {
5
5
  providerId: PROVIDER_ID;
6
6
  providerName: PROVIDER_NAME;
7
7
  products: BookingProduct[];
@@ -1,4 +1,4 @@
1
- export declare type BookingProduct = {
1
+ export type BookingProduct = {
2
2
  id: number;
3
3
  title: string;
4
4
  currency: string | null;
@@ -1,7 +1,7 @@
1
1
  import { BusinessNameAddress } from './BusinessNameAddress';
2
2
  import { Coordinate } from './Coordinate';
3
3
  import { Image } from './Image';
4
- export declare type Business = BusinessNameAddress & {
4
+ export type Business = BusinessNameAddress & {
5
5
  id: number;
6
6
  image: Image;
7
7
  gallery: Image[];
@@ -1,4 +1,4 @@
1
- export declare type BusinessInfoCategory = {
1
+ export type BusinessInfoCategory = {
2
2
  id: number;
3
3
  name: string;
4
4
  description: string | null;
@@ -1,4 +1,4 @@
1
- export declare type BusinessNameAddress = {
1
+ export type BusinessNameAddress = {
2
2
  name: string;
3
3
  address: string;
4
4
  };
@@ -1,12 +1,12 @@
1
- export declare type BusinessReportItem = {
1
+ export type BusinessReportItem = {
2
2
  businessUserId: number;
3
3
  businessUserEmail: string;
4
4
  businessUserFullname: string;
5
- businessPoiId: number;
5
+ businessPoiId: string;
6
6
  businessPoiName: string;
7
7
  status: 'Pre Registered' | 'Waiting For Validation' | 'Active' | 'Rejected';
8
8
  activeVoucherOfferIds: number[];
9
9
  totalRedeemedAmount: number;
10
10
  totalReimbursedAmount: number;
11
11
  };
12
- export declare type BusinessReport = BusinessReportItem[];
12
+ export type BusinessReport = BusinessReportItem[];
@@ -1,7 +1,7 @@
1
1
  import { BusinessNameAddress } from './BusinessNameAddress';
2
- export declare type BusinessSearch = {
2
+ export type BusinessSearch = {
3
3
  business: BusinessNameAddress;
4
4
  origin: string;
5
- tripianPoiId?: number;
5
+ tripianPoiId?: string;
6
6
  googlePlaceId?: string;
7
7
  };
@@ -1,4 +1,4 @@
1
- export declare type BusinessVerify = {
1
+ export type BusinessVerify = {
2
2
  verificationStatus: string;
3
3
  valid: boolean;
4
4
  };
@@ -1,10 +1,10 @@
1
1
  import { CAMPAIGN_STATUS } from '../enums/CAMPAIGN_STATUS';
2
- export declare type CampaignUpdateRequest = {
2
+ export type CampaignUpdateRequest = {
3
3
  endDate: string;
4
4
  maximumRecipients: number;
5
5
  description: string;
6
6
  };
7
- export declare type CampaignAddRequest = CampaignUpdateRequest & {
7
+ export type CampaignAddRequest = CampaignUpdateRequest & {
8
8
  title: string;
9
9
  category: 'Voucher';
10
10
  limited: boolean;
@@ -12,7 +12,7 @@ export declare type CampaignAddRequest = CampaignUpdateRequest & {
12
12
  amount: number;
13
13
  maximumOfferAmount: number;
14
14
  };
15
- export declare type Campaign = CampaignAddRequest & {
15
+ export type Campaign = CampaignAddRequest & {
16
16
  id: number;
17
17
  currency: string;
18
18
  assignedVouchers: number;
@@ -1,4 +1,4 @@
1
- export declare type CampaignCustomerReportItem = {
1
+ export type CampaignCustomerReportItem = {
2
2
  applicationId: number;
3
3
  applicationDate: string;
4
4
  applicationCustomerId: number;
@@ -25,4 +25,4 @@ export declare type CampaignCustomerReportItem = {
25
25
  redeemedDatetimes: string[];
26
26
  lengthOfStay: number;
27
27
  };
28
- export declare type CampaignCustomerReport = CampaignCustomerReportItem[];
28
+ export type CampaignCustomerReport = CampaignCustomerReportItem[];
@@ -1,4 +1,4 @@
1
- export declare type CampaignReportItem = {
1
+ export type CampaignReportItem = {
2
2
  id: number;
3
3
  businessId: number;
4
4
  businessName: string;
@@ -13,4 +13,4 @@ export declare type CampaignReportItem = {
13
13
  customerRedeemDateTime: string;
14
14
  reimbursedDateTime?: string;
15
15
  };
16
- export declare type CampaignReport = CampaignReportItem[];
16
+ export type CampaignReport = CampaignReportItem[];
@@ -3,14 +3,14 @@ import { Coordinate } from './Coordinate';
3
3
  import { Country } from './Country';
4
4
  import { TasteItem } from './TasteItem';
5
5
  import { LOCATION_TYPE } from '../enums/LOCATION_TYPE';
6
- export declare type ParentLocation = {
6
+ export type ParentLocation = {
7
7
  id: number;
8
8
  name: string;
9
9
  locationType: LOCATION_TYPE;
10
10
  boundary: number[];
11
11
  coordinate: Coordinate;
12
12
  };
13
- export declare type City = {
13
+ export type City = {
14
14
  boundary: number[];
15
15
  coordinate: Coordinate;
16
16
  country: Country;
@@ -1,4 +1,4 @@
1
- export declare type Companion = {
1
+ export type Companion = {
2
2
  id: number;
3
3
  title: string;
4
4
  name: string;
@@ -7,7 +7,7 @@ export declare enum CONFIG_CONTENTS_PROVIDER_NAME {
7
7
  YELP = "yelp",
8
8
  UBER = "uber"
9
9
  }
10
- export declare type ProviderObject = {
10
+ export type ProviderObject = {
11
11
  id: PROVIDER_ID;
12
12
  name: string;
13
13
  apiUrl: string;
@@ -15,7 +15,7 @@ export declare type ProviderObject = {
15
15
  prod: boolean;
16
16
  clientId: string;
17
17
  };
18
- export declare type Theme = {
18
+ export type Theme = {
19
19
  dark: {
20
20
  primary: string;
21
21
  secondary: string;
@@ -41,12 +41,12 @@ export declare type Theme = {
41
41
  headerBg: string;
42
42
  };
43
43
  };
44
- export declare type MenuLink = {
44
+ export type MenuLink = {
45
45
  name: string;
46
46
  url: string;
47
47
  external_link: boolean;
48
48
  };
49
- export declare type ConfigList = {
49
+ export type ConfigList = {
50
50
  apiKey: string;
51
51
  whiteLabels: {
52
52
  reverseProxyUrl: string;
@@ -1,4 +1,4 @@
1
- export declare type Continent = {
1
+ export type Continent = {
2
2
  name: string;
3
3
  slug: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type Coordinate = {
1
+ export type Coordinate = {
2
2
  lat: number;
3
3
  lng: number;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { Continent } from './Continent';
2
- export declare type Country = {
2
+ export type Country = {
3
3
  name: string;
4
4
  code: string;
5
5
  continent: Continent;
@@ -1,5 +1,5 @@
1
1
  import { OFFER_CURRENCY } from '../enums/OFFER_CURRENCY';
2
- export declare type Coupon = {
2
+ export type Coupon = {
3
3
  id: number;
4
4
  currency: OFFER_CURRENCY;
5
5
  balance: number;
@@ -1,9 +1,9 @@
1
- export declare type TravelInformation = {
1
+ export type TravelInformation = {
2
2
  adults: number;
3
3
  nameOfProperty: string;
4
4
  proofOfHolidayBookingUrl: string;
5
5
  };
6
- export declare type PersonalInformation = {
6
+ export type PersonalInformation = {
7
7
  title: 'Mr' | 'Mrs' | 'Ms';
8
8
  firstName: string;
9
9
  lastName: string;
@@ -16,16 +16,16 @@ export declare type PersonalInformation = {
16
16
  emailAddress: string;
17
17
  phoneNumber: string;
18
18
  };
19
- export declare type MarketingQuestions = {
19
+ export type MarketingQuestions = {
20
20
  howDidYouHear: string;
21
21
  howDidYouBookYourTrip: 'Online' | 'Travel Agent/ Tour Operator' | 'Direct with hotel';
22
22
  };
23
- export declare type CouponApplicationRequest = {
23
+ export type CouponApplicationRequest = {
24
24
  travelInformation: TravelInformation;
25
25
  personalInformations: PersonalInformation[];
26
26
  marketingQuestions: MarketingQuestions;
27
27
  };
28
- export declare type CouponApplication = {
28
+ export type CouponApplication = {
29
29
  id: number;
30
30
  applicationDate: string;
31
31
  travelInformation: TravelInformation;
@@ -1,4 +1,4 @@
1
- export declare type Device = {
1
+ export type Device = {
2
2
  deviceId: string;
3
3
  serviceToken: string | null;
4
4
  deviceOs: string;
@@ -1,6 +1,6 @@
1
- export declare type Favorite = {
1
+ export type Favorite = {
2
2
  id: number;
3
- poiId: number;
3
+ poiId: string;
4
4
  cityId: number;
5
5
  tripHash: string | null;
6
6
  };
@@ -1,9 +1,9 @@
1
- export declare type FeedbackSubjects = {
1
+ export type FeedbackSubjects = {
2
2
  id: number;
3
3
  title: string;
4
4
  subjectType: 'main' | 'poi';
5
5
  };
6
- export declare type Feedbacks = {
6
+ export type Feedbacks = {
7
7
  mainSubjects: FeedbackSubjects[];
8
8
  poiSubjects: FeedbackSubjects[];
9
9
  };
@@ -1,4 +1,4 @@
1
- export declare type HourFormat = {
1
+ export type HourFormat = {
2
2
  day: string;
3
3
  clock: string[];
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { ImageOwner } from './ImageOwner';
2
- export declare type Image = {
2
+ export type Image = {
3
3
  width: number | null;
4
4
  height: number | null;
5
5
  url: string;
@@ -1,4 +1,4 @@
1
- export declare type ImageOwner = {
1
+ export type ImageOwner = {
2
2
  title: string | null;
3
3
  url: string | null;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { NotificationMetaData } from './NotificationMetaData';
2
- export declare type Notification = {
2
+ export type Notification = {
3
3
  notificationTitle: string;
4
4
  notificationBody: string;
5
5
  metadata: NotificationMetaData | null;
@@ -1,4 +1,4 @@
1
- export declare type NotificationMetaData = {
1
+ export type NotificationMetaData = {
2
2
  offerId: number;
3
- poiId: number | null;
3
+ poiId: string | null;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type NotificationSettings = {
1
+ export type NotificationSettings = {
2
2
  id: number;
3
3
  name: string;
4
4
  description: string | null;
@@ -1,3 +1,3 @@
1
- export declare type NotificationUnseen = {
1
+ export type NotificationUnseen = {
2
2
  anyUnseenNotification: boolean;
3
3
  };
@@ -3,9 +3,9 @@ import { OFFER_STATUS } from '../enums/OFFER_STATUS';
3
3
  import { OFFER_TYPE } from '../enums/OFFER_TYPE';
4
4
  import { OfferProductType } from './OfferProductType';
5
5
  import { TimeFrame } from './TimeFrame';
6
- export declare type Offer = {
6
+ export type Offer = {
7
7
  id: number;
8
- tripianPoiId: number;
8
+ tripianPoiId: string;
9
9
  businessId: number;
10
10
  title: string;
11
11
  description?: string;
@@ -1,4 +1,4 @@
1
- export declare type OfferCustomer = {
1
+ export type OfferCustomer = {
2
2
  customerFirstName: string;
3
3
  customerLastName: string;
4
4
  arrivalDate?: string;
@@ -1,5 +1,5 @@
1
1
  import { PRODUCT_TYPE_NAME } from '../enums/PRODUCT_TYPE_NAME';
2
- export declare type OfferProductType = {
2
+ export type OfferProductType = {
3
3
  id: number;
4
4
  name: PRODUCT_TYPE_NAME;
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Step } from './Step';
2
- export declare type Plan = {
2
+ export type Plan = {
3
3
  id: number;
4
4
  date: string;
5
5
  startTime: string;
@@ -4,8 +4,8 @@ import { PoiCategory } from './PoiCategory';
4
4
  import { TasteItem } from './TasteItem';
5
5
  import { Booking } from './Booking';
6
6
  import { Offer } from './Offer';
7
- export declare type Poi = {
8
- id: number;
7
+ export type Poi = {
8
+ id: string;
9
9
  cityId: number;
10
10
  name: string;
11
11
  image: Image;
@@ -1,5 +1,5 @@
1
1
  import { PoiCategoryParent } from './PoiCategoryParent';
2
- export declare type PoiCategory = {
2
+ export type PoiCategory = {
3
3
  id: number;
4
4
  name: string;
5
5
  description: string | null;
@@ -1,5 +1,5 @@
1
1
  import { POI_CATEGORY_GROUP } from '../enums/POI_CATEGORY_GROUP';
2
- export declare type PoiCategoryGroup = {
2
+ export type PoiCategoryGroup = {
3
3
  ids: number[];
4
4
  group: POI_CATEGORY_GROUP;
5
5
  };
@@ -1,4 +1,4 @@
1
- export declare type PoiCategoryParent = {
1
+ export type PoiCategoryParent = {
2
2
  id: number;
3
3
  name: string;
4
4
  description: string | null;
@@ -1,7 +1,7 @@
1
1
  import { Coordinate } from './Coordinate';
2
2
  import { PoiCategory } from './PoiCategory';
3
3
  import { Image } from './Image';
4
- export declare type PoiReference = {
4
+ export type PoiReference = {
5
5
  id: number;
6
6
  name: string;
7
7
  image: Image | null;
@@ -1,4 +1,4 @@
1
- export declare type PreRegister = {
1
+ export type PreRegister = {
2
2
  name: string;
3
3
  email: string;
4
4
  cityId: number;
@@ -1,6 +1,6 @@
1
1
  import { QUESTIONS_CATEGORY } from '../enums/QUESTIONS_CATEGORY';
2
2
  import { QuestionAnswer } from './QuestionAnswer';
3
- export declare type Question = {
3
+ export type Question = {
4
4
  id: number;
5
5
  name: string;
6
6
  order: number;
@@ -1,5 +1,5 @@
1
1
  import { SubAnswer } from './SubAnswer';
2
- export declare type QuestionAnswer = {
2
+ export type QuestionAnswer = {
3
3
  id: number;
4
4
  name: string;
5
5
  description: string;
@@ -1,5 +1,5 @@
1
1
  import { PoiReference } from './PoiReference';
2
- export declare type Recommendation = {
2
+ export type Recommendation = {
3
3
  poiRef: PoiReference;
4
4
  score: number;
5
5
  };
@@ -1,6 +1,6 @@
1
1
  import { Poi } from './Poi';
2
- export declare type Step = {
3
- alternatives: number[];
2
+ export type Step = {
3
+ alternatives: string[];
4
4
  id: number;
5
5
  order: number;
6
6
  poi: Poi;
@@ -1,4 +1,4 @@
1
- export declare type SubAnswer = {
1
+ export type SubAnswer = {
2
2
  id: number;
3
3
  name: string;
4
4
  };
@@ -1,5 +1,5 @@
1
1
  import { Image } from './Image';
2
- export declare type TasteItem = {
2
+ export type TasteItem = {
3
3
  id: number;
4
4
  name: string;
5
5
  poiCount: number | null;
@@ -1,4 +1,4 @@
1
- export declare type TimeFrame = {
1
+ export type TimeFrame = {
2
2
  start: string;
3
3
  end: string;
4
4
  };
@@ -1,4 +1,4 @@
1
1
  import { TokenRefresh } from './TokenRefresh';
2
- export declare type Token = TokenRefresh & {
2
+ export type Token = TokenRefresh & {
3
3
  refreshToken: string;
4
4
  };
@@ -1,4 +1,4 @@
1
- export declare type TokenPayload = {
1
+ export type TokenPayload = {
2
2
  'cognito:username': string;
3
3
  sub: string;
4
4
  email_verified: boolean;
@@ -1,4 +1,4 @@
1
- export declare type TokenRefresh = {
1
+ export type TokenRefresh = {
2
2
  idToken: string;
3
3
  expiresIn: number;
4
4
  tokenType: string;
@@ -1,6 +1,6 @@
1
1
  import { PoiCategory } from './PoiCategory';
2
2
  import { Poi } from './Poi';
3
- export declare type TopTen = {
3
+ export type TopTen = {
4
4
  category: PoiCategory;
5
5
  topTenPoi: Poi[];
6
6
  };
@@ -1,4 +1,4 @@
1
- export declare type TourAndTickets = {
1
+ export type TourAndTickets = {
2
2
  cityId: number;
3
3
  cityName: string;
4
4
  arrivalDatetime: string;
@@ -1,5 +1,5 @@
1
1
  import { Plan } from './Plan';
2
2
  import { TripReference } from './TripReference';
3
- export declare type Trip = TripReference & {
3
+ export type Trip = TripReference & {
4
4
  plans: Plan[];
5
5
  };
@@ -1,5 +1,5 @@
1
1
  import { Accommodation } from './Accommodation';
2
- export declare type TripProfile = {
2
+ export type TripProfile = {
3
3
  cityId: number;
4
4
  arrivalDatetime: string;
5
5
  departureDatetime: string;
@@ -1,6 +1,6 @@
1
1
  import { TripProfile } from './TripProfile';
2
2
  import { City } from './City';
3
- export declare type TripReference = {
3
+ export type TripReference = {
4
4
  city: City;
5
5
  id: number;
6
6
  shared: boolean;
@@ -1,6 +1,6 @@
1
1
  import { USER_TYPE } from '../enums/USER_TYPE';
2
2
  import { UserResetPassword } from './UserResetPassword';
3
- export declare type User = UserResetPassword & {
3
+ export type User = UserResetPassword & {
4
4
  userType: USER_TYPE;
5
5
  timezone: any;
6
6
  dateOfBirth: string | null;
@@ -1,4 +1,4 @@
1
- export declare type UserFeedback = {
1
+ export type UserFeedback = {
2
2
  desc: string;
3
3
  is_read: boolean;
4
4
  subject_id: number;
@@ -1,7 +1,7 @@
1
1
  import { REACTION } from '../enums/REACTION';
2
- export declare type UserReaction = {
2
+ export type UserReaction = {
3
3
  id: number;
4
- poiId: number;
4
+ poiId: string;
5
5
  stepId: number | null;
6
6
  tripHash: string | null;
7
7
  reaction: REACTION;
@@ -1,10 +1,10 @@
1
- export declare type UserReservation = {
1
+ export type UserReservation = {
2
2
  id: number;
3
3
  key: string;
4
4
  value: Object;
5
5
  provider: string;
6
6
  tripHash: string;
7
- poiId: number;
7
+ poiId: string;
8
8
  createdAt: string;
9
9
  updatedAt: string;
10
10
  };
@@ -1,4 +1,4 @@
1
- export declare type UserResetPassword = {
1
+ export type UserResetPassword = {
2
2
  id: number;
3
3
  email: string;
4
4
  firstName: string;
@@ -1,9 +1,9 @@
1
1
  import { OFFER_CURRENCY } from '../enums/OFFER_CURRENCY';
2
2
  import { VoucherOfferAddRequest } from '../requests/VoucherOfferAddRequest';
3
3
  import { TimeFrame } from './TimeFrame';
4
- export declare type VoucherOffer = VoucherOfferAddRequest & {
4
+ export type VoucherOffer = VoucherOfferAddRequest & {
5
5
  id: number;
6
- tripianPoiId: number;
6
+ tripianPoiId: string;
7
7
  businessId: number;
8
8
  caption: string;
9
9
  currency: OFFER_CURRENCY;
@@ -1,4 +1,4 @@
1
- export declare type CompanionRequest = {
1
+ export type CompanionRequest = {
2
2
  title: string;
3
3
  name: string;
4
4
  answers?: number[];
@@ -1,7 +1,7 @@
1
- export declare type FeedbackRequest = {
1
+ export type FeedbackRequest = {
2
2
  subjectType: 'main' | 'poi';
3
3
  subjectId: number;
4
4
  desc: string;
5
5
  tripHash?: string;
6
- poiId?: number;
6
+ poiId?: string;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import { Device } from '../models/Device';
2
- export declare type LoginRequest = {
2
+ export type LoginRequest = {
3
3
  email: string;
4
4
  password: string;
5
5
  business?: boolean;