@tripian/model 6.0.30 → 6.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/api/v4/enums/BOOKING_PRODUCT_INFO.d.ts +3 -3
  2. package/api/v4/enums/BUSINESS_RESULT_ORIGIN.d.ts +4 -4
  3. package/api/v4/enums/LOCATION_TYPE.d.ts +4 -4
  4. package/api/v4/enums/NOTIFICATION_TYPE.d.ts +5 -5
  5. package/api/v4/enums/OFFER_CURRENCY.d.ts +4 -4
  6. package/api/v4/enums/OFFER_RECEIVE_METHOD.d.ts +4 -4
  7. package/api/v4/enums/OFFER_STATUS.d.ts +6 -6
  8. package/api/v4/enums/OFFER_TYPE.d.ts +6 -6
  9. package/api/v4/enums/PLAN_STATUS.d.ts +7 -0
  10. package/api/v4/enums/POI_CATEGORY_GROUP.d.ts +7 -7
  11. package/api/v4/enums/PRODUCT_TYPE_NAME.d.ts +5 -5
  12. package/api/v4/enums/PROVIDER_ID.d.ts +7 -7
  13. package/api/v4/enums/PROVIDER_NAME.d.ts +6 -6
  14. package/api/v4/enums/QUESTIONS_CATEGORY.d.ts +5 -5
  15. package/api/v4/enums/REACTION.d.ts +5 -5
  16. package/api/v4/enums/REACTION_COMMENT.d.ts +4 -4
  17. package/api/v4/enums/RESPONSE_STATUS.d.ts +8 -8
  18. package/api/v4/enums/VERIFY_CHANNEL.d.ts +4 -4
  19. package/api/v4/index.d.ts +100 -98
  20. package/api/v4/models/Accommodation.d.ts +9 -9
  21. package/api/v4/models/Booking.d.ts +8 -8
  22. package/api/v4/models/BookingProduct.d.ts +13 -13
  23. package/api/v4/models/Business.d.ts +17 -17
  24. package/api/v4/models/BusinessInfoCategory.d.ts +6 -6
  25. package/api/v4/models/BusinessNameAddress.d.ts +4 -4
  26. package/api/v4/models/BusinessSearch.d.ts +7 -7
  27. package/api/v4/models/BusinessVerify.d.ts +4 -4
  28. package/api/v4/models/City.d.ts +17 -17
  29. package/api/v4/models/Companion.d.ts +8 -8
  30. package/api/v4/models/ConfigList.d.ts +89 -86
  31. package/api/v4/models/Continent.d.ts +4 -4
  32. package/api/v4/models/Coordinate.d.ts +4 -4
  33. package/api/v4/models/Country.d.ts +6 -6
  34. package/api/v4/models/Device.d.ts +7 -7
  35. package/api/v4/models/Favorite.d.ts +6 -6
  36. package/api/v4/models/Feedbacks.d.ts +9 -9
  37. package/api/v4/models/HourFormat.d.ts +4 -4
  38. package/api/v4/models/Image.d.ts +7 -7
  39. package/api/v4/models/ImageOwner.d.ts +4 -4
  40. package/api/v4/models/Notification.d.ts +8 -8
  41. package/api/v4/models/NotificationMetaData.d.ts +4 -4
  42. package/api/v4/models/NotificationSettings.d.ts +6 -6
  43. package/api/v4/models/NotificationUnseen.d.ts +3 -3
  44. package/api/v4/models/Offer.d.ts +28 -28
  45. package/api/v4/models/OfferCustomer.d.ts +6 -6
  46. package/api/v4/models/OfferProductType.d.ts +7 -7
  47. package/api/v4/models/Plan.d.ts +9 -9
  48. package/api/v4/models/Poi.d.ts +34 -34
  49. package/api/v4/models/PoiCategory.d.ts +7 -7
  50. package/api/v4/models/PoiCategoryGroup.d.ts +5 -5
  51. package/api/v4/models/PoiCategoryParent.d.ts +5 -5
  52. package/api/v4/models/PoiReference.d.ts +10 -10
  53. package/api/v4/models/PreRegister.d.ts +7 -7
  54. package/api/v4/models/Question.d.ts +16 -16
  55. package/api/v4/models/QuestionAnswer.d.ts +7 -7
  56. package/api/v4/models/Recommendation.d.ts +5 -5
  57. package/api/v4/models/Step.d.ts +9 -8
  58. package/api/v4/models/SubAnswer.d.ts +4 -4
  59. package/api/v4/models/TasteItem.d.ts +8 -8
  60. package/api/v4/models/TimeFrame.d.ts +4 -4
  61. package/api/v4/models/Token.d.ts +4 -4
  62. package/api/v4/models/TokenPayload.d.ts +28 -28
  63. package/api/v4/models/TokenRefresh.d.ts +5 -5
  64. package/api/v4/models/TopTen.d.ts +6 -6
  65. package/api/v4/models/Trip.d.ts +5 -5
  66. package/api/v4/models/TripProfile.d.ts +13 -13
  67. package/api/v4/models/TripReference.d.ts +8 -8
  68. package/api/v4/models/User.d.ts +6 -6
  69. package/api/v4/models/UserFeedback.d.ts +10 -0
  70. package/api/v4/models/UserReaction.d.ts +9 -9
  71. package/api/v4/models/UserReservation.d.ts +10 -10
  72. package/api/v4/models/UserResetPassword.d.ts +6 -6
  73. package/api/v4/requests/CompanionRequest.d.ts +6 -6
  74. package/api/v4/requests/FeedbackRequest.d.ts +7 -7
  75. package/api/v4/requests/LoginRequest.d.ts +6 -6
  76. package/api/v4/requests/OfferAddRequest.d.ts +21 -21
  77. package/api/v4/requests/OfferRequest.d.ts +8 -8
  78. package/api/v4/requests/PlanUpdateRequest.d.ts +5 -5
  79. package/api/v4/requests/PoisRequest.d.ts +17 -17
  80. package/api/v4/requests/PoisRequestCoordinate.d.ts +7 -7
  81. package/api/v4/requests/PoisRequestMustTry.d.ts +5 -5
  82. package/api/v4/requests/PoisRequestName.d.ts +7 -7
  83. package/api/v4/requests/RegisterRequest.d.ts +11 -11
  84. package/api/v4/requests/TokenRefreshRequest.d.ts +5 -5
  85. package/api/v4/requests/UserReactionRequest.d.ts +7 -7
  86. package/api/v4/requests/UserReservationRequest.d.ts +7 -7
  87. package/api/v4/requests/UserUpdateRequest.d.ts +7 -7
  88. package/api/v4/responses/DataPayload.d.ts +5 -5
  89. package/api/v4/responses/DeleteUpdateResponse.d.ts +3 -3
  90. package/api/v4/responses/ErrorResponse.d.ts +7 -7
  91. package/api/v4/responses/Pagination.d.ts +7 -7
  92. package/api/v4/responses/SuccessResponse.d.ts +10 -10
  93. package/helper/index.d.ts +46 -46
  94. package/helper/plural.d.ts +1 -1
  95. package/index.d.ts +4 -4
  96. package/index.js +1 -1
  97. package/index.js.map +1 -1
  98. package/package.json +21 -21
  99. package/providers/bb/ACTIVITY_THEMES.d.ts +14 -14
  100. package/providers/bb/Activity.d.ts +11 -11
  101. package/providers/bb/ActivityInfo.d.ts +16 -16
  102. package/providers/bb/ActivityInfoImage.d.ts +7 -7
  103. package/providers/bb/ActivityInfoLocation.d.ts +4 -4
  104. package/providers/bb/ActivityPoint.d.ts +9 -9
  105. package/providers/bb/AuthorizationResponse.d.ts +48 -48
  106. package/providers/bb/Offer.d.ts +58 -58
  107. package/providers/bb/OfferPoint.d.ts +6 -6
  108. package/providers/bb/Product.d.ts +19 -19
  109. package/providers/bb/SearchAccommodationResponse.d.ts +119 -119
  110. package/providers/bb/SearchActivitiesResponse.d.ts +20 -20
  111. package/providers/bb/SearchCarRentResponse.d.ts +99 -99
  112. package/providers/bb/index.d.ts +13 -13
  113. package/providers/gyg/CatalogGroup.d.ts +5 -5
  114. package/providers/gyg/Categories.d.ts +8 -8
  115. package/providers/gyg/Category.d.ts +6 -6
  116. package/providers/gyg/MetaData.d.ts +15 -15
  117. package/providers/gyg/PaymentConfiguration.d.ts +8 -8
  118. package/providers/gyg/PaymentConfigurations.d.ts +8 -8
  119. package/providers/gyg/Tour.d.ts +40 -40
  120. package/providers/gyg/TourAvailabilities.d.ts +8 -8
  121. package/providers/gyg/TourAvailability.d.ts +7 -7
  122. package/providers/gyg/TourBooking.d.ts +10 -10
  123. package/providers/gyg/TourBookingCart.d.ts +81 -81
  124. package/providers/gyg/TourBookingCartRequest.d.ts +49 -49
  125. package/providers/gyg/TourBookingCartWithDetails.d.ts +6 -6
  126. package/providers/gyg/TourBookingCarts.d.ts +6 -6
  127. package/providers/gyg/TourBookingInfo.d.ts +37 -37
  128. package/providers/gyg/TourBookingInfos.d.ts +8 -8
  129. package/providers/gyg/TourBookingRequest.d.ts +26 -26
  130. package/providers/gyg/TourBookings.d.ts +8 -8
  131. package/providers/gyg/TourCategories.d.ts +5 -5
  132. package/providers/gyg/TourCoordinates.d.ts +4 -4
  133. package/providers/gyg/TourDateRange.d.ts +4 -4
  134. package/providers/gyg/TourDurations.d.ts +4 -4
  135. package/providers/gyg/TourLocations.d.ts +13 -13
  136. package/providers/gyg/TourOption.d.ts +34 -34
  137. package/providers/gyg/TourOptionDetails.d.ts +8 -8
  138. package/providers/gyg/TourOptionPricing.d.ts +20 -20
  139. package/providers/gyg/TourOptionPricings.d.ts +8 -8
  140. package/providers/gyg/TourOptions.d.ts +8 -8
  141. package/providers/gyg/TourPictures.d.ts +6 -6
  142. package/providers/gyg/TourPrice.d.ts +11 -11
  143. package/providers/gyg/TourReservationDetails.d.ts +6 -6
  144. package/providers/gyg/TourShoppingFormData.d.ts +20 -20
  145. package/providers/gyg/TourViewport.d.ts +6 -6
  146. package/providers/gyg/Tours.d.ts +8 -8
  147. package/providers/gyg/index.d.ts +33 -33
  148. package/providers/index.d.ts +4 -4
  149. package/providers/yelp/Business.d.ts +31 -31
  150. package/providers/yelp/Hold.d.ts +10 -10
  151. package/providers/yelp/HoldRequest.d.ts +7 -7
  152. package/providers/yelp/Opening.d.ts +5 -5
  153. package/providers/yelp/OpeningTime.d.ts +4 -4
  154. package/providers/yelp/Openings.d.ts +4 -4
  155. package/providers/yelp/OpeningsRequest.d.ts +6 -6
  156. package/providers/yelp/Reservation.d.ts +5 -5
  157. package/providers/yelp/ReservationInfo.d.ts +8 -8
  158. package/providers/yelp/ReservationRequest.d.ts +12 -12
  159. package/providers/yelp/ReservationStatusResponse.d.ts +6 -6
  160. package/providers/yelp/index.d.ts +10 -10
@@ -1,8 +1,9 @@
1
- import { Poi } from './Poi';
2
- export declare type Step = {
3
- id: number;
4
- poi: Poi;
5
- score: number | null;
6
- order: number;
7
- alternatives: number[];
8
- };
1
+ import { Poi } from './Poi';
2
+ export type Step = {
3
+ alternatives: number[];
4
+ id: number;
5
+ order: number;
6
+ poi: Poi;
7
+ score: number | null;
8
+ scoreDetails: number[];
9
+ };
@@ -1,4 +1,4 @@
1
- export declare type SubAnswer = {
2
- id: number;
3
- name: string;
4
- };
1
+ export type SubAnswer = {
2
+ id: number;
3
+ name: string;
4
+ };
@@ -1,8 +1,8 @@
1
- import { Image } from './Image';
2
- export declare type TasteItem = {
3
- id: number;
4
- name: string;
5
- poiCount: number | null;
6
- description: string | null;
7
- image: Image;
8
- };
1
+ import { Image } from './Image';
2
+ export type TasteItem = {
3
+ id: number;
4
+ name: string;
5
+ poiCount: number | null;
6
+ description: string | null;
7
+ image: Image;
8
+ };
@@ -1,4 +1,4 @@
1
- export declare type TimeFrame = {
2
- start: string;
3
- end: string;
4
- };
1
+ export type TimeFrame = {
2
+ start: string;
3
+ end: string;
4
+ };
@@ -1,4 +1,4 @@
1
- import { TokenRefresh } from './TokenRefresh';
2
- export declare type Token = TokenRefresh & {
3
- refreshToken: string;
4
- };
1
+ import { TokenRefresh } from './TokenRefresh';
2
+ export type Token = TokenRefresh & {
3
+ refreshToken: string;
4
+ };
@@ -1,28 +1,28 @@
1
- export declare type TokenPayload = {
2
- 'cognito:username': string;
3
- sub: string;
4
- email_verified: boolean;
5
- iss: string;
6
- aud: string;
7
- token_use: string;
8
- auth_time: number;
9
- exp: number;
10
- iat: number;
11
- email: string;
12
- origin_jti?: string;
13
- event_id?: string;
14
- jti?: string;
15
- at_hash?: string;
16
- 'cognito:groups'?: string[];
17
- nonce?: string;
18
- identities?: {
19
- userId: string;
20
- providerName: string;
21
- providerType: string;
22
- issuer: null;
23
- primary: string;
24
- dateCreated: string;
25
- }[];
26
- name?: string;
27
- family_name?: string;
28
- };
1
+ export type TokenPayload = {
2
+ 'cognito:username': string;
3
+ sub: string;
4
+ email_verified: boolean;
5
+ iss: string;
6
+ aud: string;
7
+ token_use: string;
8
+ auth_time: number;
9
+ exp: number;
10
+ iat: number;
11
+ email: string;
12
+ origin_jti?: string;
13
+ event_id?: string;
14
+ jti?: string;
15
+ at_hash?: string;
16
+ 'cognito:groups'?: string[];
17
+ nonce?: string;
18
+ identities?: {
19
+ userId: string;
20
+ providerName: string;
21
+ providerType: string;
22
+ issuer: null;
23
+ primary: string;
24
+ dateCreated: string;
25
+ }[];
26
+ name?: string;
27
+ family_name?: string;
28
+ };
@@ -1,5 +1,5 @@
1
- export declare type TokenRefresh = {
2
- idToken: string;
3
- expiresIn: number;
4
- tokenType: string;
5
- };
1
+ export type TokenRefresh = {
2
+ idToken: string;
3
+ expiresIn: number;
4
+ tokenType: string;
5
+ };
@@ -1,6 +1,6 @@
1
- import { PoiCategory } from './PoiCategory';
2
- import { Poi } from './Poi';
3
- export declare type TopTen = {
4
- category: PoiCategory;
5
- topTenPoi: Poi[];
6
- };
1
+ import { PoiCategory } from './PoiCategory';
2
+ import { Poi } from './Poi';
3
+ export type TopTen = {
4
+ category: PoiCategory;
5
+ topTenPoi: Poi[];
6
+ };
@@ -1,5 +1,5 @@
1
- import { Plan } from './Plan';
2
- import { TripReference } from './TripReference';
3
- export declare type Trip = TripReference & {
4
- plans: Plan[];
5
- };
1
+ import { Plan } from './Plan';
2
+ import { TripReference } from './TripReference';
3
+ export type Trip = TripReference & {
4
+ plans: Plan[];
5
+ };
@@ -1,13 +1,13 @@
1
- import { Accommodation } from './Accommodation';
2
- export declare type TripProfile = {
3
- cityId: number;
4
- arrivalDatetime: string;
5
- departureDatetime: string;
6
- numberOfAdults: number;
7
- numberOfChildren?: number | null;
8
- accommodation?: Accommodation | null;
9
- answers: number[];
10
- companionIds: number[];
11
- excludeHash: string[];
12
- doNotGenerate?: number | null;
13
- };
1
+ import { Accommodation } from './Accommodation';
2
+ export type TripProfile = {
3
+ cityId: number;
4
+ arrivalDatetime: string;
5
+ departureDatetime: string;
6
+ numberOfAdults: number;
7
+ numberOfChildren?: number | null;
8
+ accommodation?: Accommodation | null;
9
+ answers: number[];
10
+ companionIds: number[];
11
+ excludeHash: string[];
12
+ doNotGenerate?: number | null;
13
+ };
@@ -1,8 +1,8 @@
1
- import { TripProfile } from './TripProfile';
2
- import { City } from './City';
3
- export declare type TripReference = {
4
- id: number;
5
- tripHash: string;
6
- tripProfile: TripProfile;
7
- city: City;
8
- };
1
+ import { TripProfile } from './TripProfile';
2
+ import { City } from './City';
3
+ export type TripReference = {
4
+ id: number;
5
+ tripHash: string;
6
+ tripProfile: TripProfile;
7
+ city: City;
8
+ };
@@ -1,6 +1,6 @@
1
- import { UserResetPassword } from './UserResetPassword';
2
- export declare type User = UserResetPassword & {
3
- dateOfBirth: string | null;
4
- answers: number[];
5
- businessId: number | null;
6
- };
1
+ import { UserResetPassword } from './UserResetPassword';
2
+ export type User = UserResetPassword & {
3
+ dateOfBirth: string | null;
4
+ answers: number[];
5
+ businessId: number | null;
6
+ };
@@ -0,0 +1,10 @@
1
+ export type UserFeedback = {
2
+ description: string;
3
+ is_read: boolean;
4
+ subject_id: number;
5
+ subject_type: string;
6
+ tripHash?: string;
7
+ poi_id?: number;
8
+ created_at: string;
9
+ replies: any[];
10
+ };
@@ -1,9 +1,9 @@
1
- import { REACTION } from '../enums/REACTION';
2
- export declare type UserReaction = {
3
- id: number;
4
- poiId: number;
5
- stepId: number | null;
6
- tripHash: string | null;
7
- reaction: REACTION;
8
- comment: string;
9
- };
1
+ import { REACTION } from '../enums/REACTION';
2
+ export type UserReaction = {
3
+ id: number;
4
+ poiId: number;
5
+ stepId: number | null;
6
+ tripHash: string | null;
7
+ reaction: REACTION;
8
+ comment: string;
9
+ };
@@ -1,10 +1,10 @@
1
- export declare type UserReservation = {
2
- id: number;
3
- key: string;
4
- value: Object;
5
- provider: string;
6
- tripHash: string;
7
- poiId: number;
8
- createdAt: string;
9
- updatedAt: string;
10
- };
1
+ export type UserReservation = {
2
+ id: number;
3
+ key: string;
4
+ value: Object;
5
+ provider: string;
6
+ tripHash: string;
7
+ poiId: number;
8
+ createdAt: string;
9
+ updatedAt: string;
10
+ };
@@ -1,6 +1,6 @@
1
- export declare type UserResetPassword = {
2
- id: number;
3
- email: string;
4
- firstName: string;
5
- lastName: string;
6
- };
1
+ export type UserResetPassword = {
2
+ id: number;
3
+ email: string;
4
+ firstName: string;
5
+ lastName: string;
6
+ };
@@ -1,6 +1,6 @@
1
- export declare type CompanionRequest = {
2
- title: string;
3
- name: string;
4
- answers?: number[];
5
- age: number;
6
- };
1
+ export type CompanionRequest = {
2
+ title: string;
3
+ name: string;
4
+ answers?: number[];
5
+ age: number;
6
+ };
@@ -1,7 +1,7 @@
1
- export declare type FeedbackRequest = {
2
- subjectType: 'main' | 'poi';
3
- subjectId: number;
4
- desc: string;
5
- tripHash?: string;
6
- poiId?: number;
7
- };
1
+ export type FeedbackRequest = {
2
+ subjectType: 'main' | 'poi';
3
+ subjectId: number;
4
+ desc: string;
5
+ tripHash?: string;
6
+ poiId?: number;
7
+ };
@@ -1,6 +1,6 @@
1
- import { Device } from '../models/Device';
2
- export declare type LoginRequest = {
3
- email: string;
4
- password: string;
5
- device?: Device;
6
- };
1
+ import { Device } from '../models/Device';
2
+ export type LoginRequest = {
3
+ email: string;
4
+ password: string;
5
+ device?: Device;
6
+ };
@@ -1,21 +1,21 @@
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 { TimeFrame } from '../models/TimeFrame';
5
- export declare type OfferAddRequest = {
6
- cityId: number;
7
- title: string;
8
- description?: string;
9
- currency: OFFER_CURRENCY;
10
- status?: OFFER_STATUS;
11
- threshold: number;
12
- discount: number;
13
- discountedProductCount?: number;
14
- quantity?: number;
15
- timeframe: TimeFrame;
16
- imageUrl?: string;
17
- productTypeId: number;
18
- productName?: string;
19
- offerType: OFFER_TYPE;
20
- giftName?: string;
21
- };
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 { TimeFrame } from '../models/TimeFrame';
5
+ export type OfferAddRequest = {
6
+ cityId: number;
7
+ title: string;
8
+ description?: string;
9
+ currency: OFFER_CURRENCY;
10
+ status?: OFFER_STATUS;
11
+ threshold: number;
12
+ discount: number;
13
+ discountedProductCount?: number;
14
+ quantity?: number;
15
+ timeframe: TimeFrame;
16
+ imageUrl?: string;
17
+ productTypeId: number;
18
+ productName?: string;
19
+ offerType: OFFER_TYPE;
20
+ giftName?: string;
21
+ };
@@ -1,8 +1,8 @@
1
- export declare type OfferRequest = {
2
- dateFrom: string;
3
- dateTo: string;
4
- poiIds?: string;
5
- boundary?: string;
6
- typeId?: string;
7
- excludeOptIn?: number;
8
- };
1
+ export type OfferRequest = {
2
+ dateFrom: string;
3
+ dateTo: string;
4
+ poiIds?: string;
5
+ boundary?: string;
6
+ typeId?: string;
7
+ excludeOptIn?: number;
8
+ };
@@ -1,5 +1,5 @@
1
- export declare type PlanUpdateRequest = {
2
- startTime?: string;
3
- endTime?: string;
4
- stepOrders?: Array<number>;
5
- };
1
+ export type PlanUpdateRequest = {
2
+ startTime?: string;
3
+ endTime?: string;
4
+ stepOrders?: Array<number>;
5
+ };
@@ -1,17 +1,17 @@
1
- export declare type PoisRequest = {
2
- cityId?: number;
3
- coordinate?: string;
4
- search?: string;
5
- poiIds?: string;
6
- mustTryIds?: string;
7
- poiCategories?: string;
8
- distance?: number;
9
- bounds?: string;
10
- sort?: string;
11
- order?: string;
12
- price?: string;
13
- rating?: string;
14
- page?: number;
15
- limit?: number;
16
- withOffers?: number;
17
- };
1
+ export type PoisRequest = {
2
+ cityId?: number;
3
+ coordinate?: string;
4
+ search?: string;
5
+ poiIds?: string;
6
+ mustTryIds?: string;
7
+ poiCategories?: string;
8
+ distance?: number;
9
+ bounds?: string;
10
+ sort?: string;
11
+ order?: string;
12
+ price?: string;
13
+ rating?: string;
14
+ page?: number;
15
+ limit?: number;
16
+ withOffers?: number;
17
+ };
@@ -1,7 +1,7 @@
1
- export declare type PoisRequestCoordinate = {
2
- poiCategories?: string;
3
- coordinate?: string;
4
- distance?: number;
5
- bounds?: string;
6
- limit: number;
7
- };
1
+ export type PoisRequestCoordinate = {
2
+ poiCategories?: string;
3
+ coordinate?: string;
4
+ distance?: number;
5
+ bounds?: string;
6
+ limit: number;
7
+ };
@@ -1,5 +1,5 @@
1
- export declare type PoisRequestMustTry = {
2
- cityId: number;
3
- mustTryIds?: string;
4
- limit: number;
5
- };
1
+ export type PoisRequestMustTry = {
2
+ cityId: number;
3
+ mustTryIds?: string;
4
+ limit: number;
5
+ };
@@ -1,7 +1,7 @@
1
- export declare type PoisRequestName = {
2
- cityId?: number;
3
- search?: string;
4
- poiCategories?: string;
5
- limit?: number;
6
- page?: number;
7
- };
1
+ export type PoisRequestName = {
2
+ cityId?: number;
3
+ search?: string;
4
+ poiCategories?: string;
5
+ limit?: number;
6
+ page?: number;
7
+ };
@@ -1,11 +1,11 @@
1
- import { Device } from '../models/Device';
2
- export declare type RegisterRequest = {
3
- firstName: string;
4
- lastName: string;
5
- email: string;
6
- password: string;
7
- dateOfBirth?: string;
8
- tripianPoiId?: number;
9
- googlePlaceId?: string;
10
- device?: Device;
11
- };
1
+ import { Device } from '../models/Device';
2
+ export type RegisterRequest = {
3
+ firstName: string;
4
+ lastName: string;
5
+ email: string;
6
+ password: string;
7
+ dateOfBirth?: string;
8
+ tripianPoiId?: number;
9
+ googlePlaceId?: string;
10
+ device?: Device;
11
+ };
@@ -1,5 +1,5 @@
1
- import { Device } from '../models/Device';
2
- export declare type TokenRefreshRequest = {
3
- refreshToken: string;
4
- device?: Device;
5
- };
1
+ import { Device } from '../models/Device';
2
+ export type TokenRefreshRequest = {
3
+ refreshToken: string;
4
+ device?: Device;
5
+ };
@@ -1,7 +1,7 @@
1
- import { REACTION } from '../enums/REACTION';
2
- export declare type UserReactionRequest = {
3
- poiId: number;
4
- stepId?: number;
5
- reaction: REACTION;
6
- comment?: string;
7
- };
1
+ import { REACTION } from '../enums/REACTION';
2
+ export type UserReactionRequest = {
3
+ poiId: number;
4
+ stepId?: number;
5
+ reaction: REACTION;
6
+ comment?: string;
7
+ };
@@ -1,7 +1,7 @@
1
- export declare type UserReservationRequest = {
2
- key: string;
3
- value: Object;
4
- provider: string;
5
- tripHash: string;
6
- poiId: number;
7
- };
1
+ export type UserReservationRequest = {
2
+ key: string;
3
+ value: Object;
4
+ provider: string;
5
+ tripHash: string;
6
+ poiId: number;
7
+ };
@@ -1,7 +1,7 @@
1
- export declare type UserUpdateRequest = {
2
- firstName?: string;
3
- lastName?: string;
4
- dateOfBirth?: string;
5
- answers?: number[];
6
- password?: string;
7
- };
1
+ export type UserUpdateRequest = {
2
+ firstName?: string;
3
+ lastName?: string;
4
+ dateOfBirth?: string;
5
+ answers?: number[];
6
+ password?: string;
7
+ };
@@ -1,5 +1,5 @@
1
- import { Pagination } from './Pagination';
2
- export declare type DataPayload<T> = {
3
- data: T;
4
- pagination?: Pagination;
5
- };
1
+ import { Pagination } from './Pagination';
2
+ export type DataPayload<T> = {
3
+ data: T;
4
+ pagination?: Pagination;
5
+ };
@@ -1,3 +1,3 @@
1
- export declare type DeleteUpdateResponse = {
2
- updated: boolean;
3
- };
1
+ export type DeleteUpdateResponse = {
2
+ updated: boolean;
3
+ };
@@ -1,7 +1,7 @@
1
- import { RESPONSE_STATUS } from '../enums/RESPONSE_STATUS';
2
- export declare type ErrorResponse = {
3
- status: RESPONSE_STATUS;
4
- success: boolean;
5
- message: string;
6
- UUID: string;
7
- };
1
+ import { RESPONSE_STATUS } from '../enums/RESPONSE_STATUS';
2
+ export type ErrorResponse = {
3
+ status: RESPONSE_STATUS;
4
+ success: boolean;
5
+ message: string;
6
+ UUID: string;
7
+ };
@@ -1,7 +1,7 @@
1
- export declare type Pagination = {
2
- total: number;
3
- perPage: number;
4
- totalPages: number;
5
- currentPage: number;
6
- count: number;
7
- };
1
+ export type Pagination = {
2
+ total: number;
3
+ perPage: number;
4
+ totalPages: number;
5
+ currentPage: number;
6
+ count: number;
7
+ };
@@ -1,10 +1,10 @@
1
- import { RESPONSE_STATUS } from '../enums/RESPONSE_STATUS';
2
- import { Pagination } from './Pagination';
3
- export declare type SuccessResponse<T> = {
4
- status: RESPONSE_STATUS;
5
- success: boolean;
6
- message: string;
7
- UUID: string;
8
- data: T;
9
- pagination?: Pagination;
10
- };
1
+ import { RESPONSE_STATUS } from '../enums/RESPONSE_STATUS';
2
+ import { Pagination } from './Pagination';
3
+ export type SuccessResponse<T> = {
4
+ status: RESPONSE_STATUS;
5
+ success: boolean;
6
+ message: string;
7
+ UUID: string;
8
+ data: T;
9
+ pagination?: Pagination;
10
+ };