@ahomevilla-hotel/node-sdk 2025.12.0-4.171535 → 2025.12.2-3.103119

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 (42) hide show
  1. package/README.md +8 -0
  2. package/dist/esm/models/auth-error-message-enum.d.ts +27 -0
  3. package/dist/esm/models/auth-error-message-enum.js +30 -0
  4. package/dist/esm/models/booking-error-messages-enum.d.ts +20 -0
  5. package/dist/esm/models/booking-error-messages-enum.js +23 -0
  6. package/dist/esm/models/common-error-messages-enum.d.ts +33 -0
  7. package/dist/esm/models/common-error-messages-enum.js +36 -0
  8. package/dist/esm/models/exposed-enums-dto.d.ts +67 -0
  9. package/dist/esm/models/exposed-enums-dto.js +14 -0
  10. package/dist/esm/models/image-error-messages-enum.d.ts +25 -0
  11. package/dist/esm/models/image-error-messages-enum.js +28 -0
  12. package/dist/esm/models/index.d.ts +8 -0
  13. package/dist/esm/models/index.js +8 -0
  14. package/dist/esm/models/location.d.ts +4 -4
  15. package/dist/esm/models/role-error-messages-enum.d.ts +23 -0
  16. package/dist/esm/models/role-error-messages-enum.js +26 -0
  17. package/dist/esm/models/room-detail.d.ts +7 -0
  18. package/dist/esm/models/room-error-messages-enum.d.ts +19 -0
  19. package/dist/esm/models/room-error-messages-enum.js +22 -0
  20. package/dist/esm/models/sort-case-enum.d.ts +20 -0
  21. package/dist/esm/models/sort-case-enum.js +23 -0
  22. package/dist/models/auth-error-message-enum.d.ts +27 -0
  23. package/dist/models/auth-error-message-enum.js +33 -0
  24. package/dist/models/booking-error-messages-enum.d.ts +20 -0
  25. package/dist/models/booking-error-messages-enum.js +26 -0
  26. package/dist/models/common-error-messages-enum.d.ts +33 -0
  27. package/dist/models/common-error-messages-enum.js +39 -0
  28. package/dist/models/exposed-enums-dto.d.ts +67 -0
  29. package/dist/models/exposed-enums-dto.js +15 -0
  30. package/dist/models/image-error-messages-enum.d.ts +25 -0
  31. package/dist/models/image-error-messages-enum.js +31 -0
  32. package/dist/models/index.d.ts +8 -0
  33. package/dist/models/index.js +8 -0
  34. package/dist/models/location.d.ts +4 -4
  35. package/dist/models/role-error-messages-enum.d.ts +23 -0
  36. package/dist/models/role-error-messages-enum.js +29 -0
  37. package/dist/models/room-detail.d.ts +7 -0
  38. package/dist/models/room-error-messages-enum.d.ts +19 -0
  39. package/dist/models/room-error-messages-enum.js +25 -0
  40. package/dist/models/sort-case-enum.d.ts +20 -0
  41. package/dist/models/sort-case-enum.js +26 -0
  42. package/package.json +1 -1
package/README.md CHANGED
@@ -156,9 +156,11 @@ Class | Method | HTTP request | Description
156
156
  - [Amenity](docs/Amenity.md)
157
157
  - [AmenityTranslationDto](docs/AmenityTranslationDto.md)
158
158
  - [AnalyticsSummaryDto](docs/AnalyticsSummaryDto.md)
159
+ - [AuthErrorMessageEnum](docs/AuthErrorMessageEnum.md)
159
160
  - [BlockActivity](docs/BlockActivity.md)
160
161
  - [BlockOrUnblockUserDto](docs/BlockOrUnblockUserDto.md)
161
162
  - [Booking](docs/Booking.md)
163
+ - [BookingErrorMessagesEnum](docs/BookingErrorMessagesEnum.md)
162
164
  - [BookingsPaginationResultDto](docs/BookingsPaginationResultDto.md)
163
165
  - [Branch](docs/Branch.md)
164
166
  - [BranchDetail](docs/BranchDetail.md)
@@ -169,6 +171,7 @@ Class | Method | HTTP request | Description
169
171
  - [CancelBookingDto](docs/CancelBookingDto.md)
170
172
  - [CancelPaymentRequestDto](docs/CancelPaymentRequestDto.md)
171
173
  - [ChangePasswordDto](docs/ChangePasswordDto.md)
174
+ - [CommonErrorMessagesEnum](docs/CommonErrorMessagesEnum.md)
172
175
  - [ConfirmPaymentWebhookDto](docs/ConfirmPaymentWebhookDto.md)
173
176
  - [CreateAmenityDto](docs/CreateAmenityDto.md)
174
177
  - [CreateBookingAtHotelDto](docs/CreateBookingAtHotelDto.md)
@@ -183,6 +186,7 @@ Class | Method | HTTP request | Description
183
186
  - [CreateUserDto](docs/CreateUserDto.md)
184
187
  - [DeleteUserDto](docs/DeleteUserDto.md)
185
188
  - [DetailTranslationContent](docs/DetailTranslationContent.md)
189
+ - [ExposedEnumsDto](docs/ExposedEnumsDto.md)
186
190
  - [FilterAmenityDto](docs/FilterAmenityDto.md)
187
191
  - [FilterBookingsDto](docs/FilterBookingsDto.md)
188
192
  - [FilterBranchesDto](docs/FilterBranchesDto.md)
@@ -199,6 +203,7 @@ Class | Method | HTTP request | Description
199
203
  - [HotelRoomPaginationResultDto](docs/HotelRoomPaginationResultDto.md)
200
204
  - [HotelRoomTranslationDto](docs/HotelRoomTranslationDto.md)
201
205
  - [Image](docs/Image.md)
206
+ - [ImageErrorMessagesEnum](docs/ImageErrorMessagesEnum.md)
202
207
  - [ImageUploadResponseDto](docs/ImageUploadResponseDto.md)
203
208
  - [ImmediateDeleteRoomsDto](docs/ImmediateDeleteRoomsDto.md)
204
209
  - [InitiateForgotPasswordEmailDto](docs/InitiateForgotPasswordEmailDto.md)
@@ -237,10 +242,12 @@ Class | Method | HTTP request | Description
237
242
  - [RevenueByRoomTypeDto](docs/RevenueByRoomTypeDto.md)
238
243
  - [RevenueTimelineDto](docs/RevenueTimelineDto.md)
239
244
  - [RevokeSessionResponseDto](docs/RevokeSessionResponseDto.md)
245
+ - [RoleErrorMessagesEnum](docs/RoleErrorMessagesEnum.md)
240
246
  - [RoomDetail](docs/RoomDetail.md)
241
247
  - [RoomDetailInfinitePaginationResultDto](docs/RoomDetailInfinitePaginationResultDto.md)
242
248
  - [RoomDetailPaginationResultDto](docs/RoomDetailPaginationResultDto.md)
243
249
  - [RoomDetailTranslationDto](docs/RoomDetailTranslationDto.md)
250
+ - [RoomErrorMessagesEnum](docs/RoomErrorMessagesEnum.md)
244
251
  - [RoomPerformanceDto](docs/RoomPerformanceDto.md)
245
252
  - [RoomPriceHistory](docs/RoomPriceHistory.md)
246
253
  - [RoomPriceHistoryTranslationDto](docs/RoomPriceHistoryTranslationDto.md)
@@ -251,6 +258,7 @@ Class | Method | HTTP request | Description
251
258
  - [SortAmenityDto](docs/SortAmenityDto.md)
252
259
  - [SortBookingsDto](docs/SortBookingsDto.md)
253
260
  - [SortBranchDto](docs/SortBranchDto.md)
261
+ - [SortCaseEnum](docs/SortCaseEnum.md)
254
262
  - [SortHotelRoomDto](docs/SortHotelRoomDto.md)
255
263
  - [SortProvinceDto](docs/SortProvinceDto.md)
256
264
  - [SortRoomDetailDto](docs/SortRoomDetailDto.md)
@@ -0,0 +1,27 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum AuthErrorMessageEnum {
18
+ InvalidEmailOrPhone = "invalidEmailOrPhone",
19
+ WrongUsernameOrPassword = "wrongUsernameOrPassword",
20
+ InvalidRefreshToken = "invalidRefreshToken",
21
+ PhoneIsRequired = "phoneIsRequired",
22
+ EmailIsRequired = "emailIsRequired",
23
+ EmailNotVerified = "emailNotVerified",
24
+ PhoneNotVerified = "phoneNotVerified",
25
+ UserAlreadyExists = "userAlreadyExists",
26
+ SentEmailFailed = "sentEmailFailed"
27
+ }
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var AuthErrorMessageEnum;
20
+ (function (AuthErrorMessageEnum) {
21
+ AuthErrorMessageEnum["InvalidEmailOrPhone"] = "invalidEmailOrPhone";
22
+ AuthErrorMessageEnum["WrongUsernameOrPassword"] = "wrongUsernameOrPassword";
23
+ AuthErrorMessageEnum["InvalidRefreshToken"] = "invalidRefreshToken";
24
+ AuthErrorMessageEnum["PhoneIsRequired"] = "phoneIsRequired";
25
+ AuthErrorMessageEnum["EmailIsRequired"] = "emailIsRequired";
26
+ AuthErrorMessageEnum["EmailNotVerified"] = "emailNotVerified";
27
+ AuthErrorMessageEnum["PhoneNotVerified"] = "phoneNotVerified";
28
+ AuthErrorMessageEnum["UserAlreadyExists"] = "userAlreadyExists";
29
+ AuthErrorMessageEnum["SentEmailFailed"] = "sentEmailFailed";
30
+ })(AuthErrorMessageEnum || (AuthErrorMessageEnum = {}));
@@ -0,0 +1,20 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum BookingErrorMessagesEnum {
18
+ MaximumGuestsExceeded = "maximumGuestsExceeded",
19
+ BookingNotFound = "bookingNotFound"
20
+ }
@@ -0,0 +1,23 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var BookingErrorMessagesEnum;
20
+ (function (BookingErrorMessagesEnum) {
21
+ BookingErrorMessagesEnum["MaximumGuestsExceeded"] = "maximumGuestsExceeded";
22
+ BookingErrorMessagesEnum["BookingNotFound"] = "bookingNotFound";
23
+ })(BookingErrorMessagesEnum || (BookingErrorMessagesEnum = {}));
@@ -0,0 +1,33 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum CommonErrorMessagesEnum {
18
+ NotFound = "notFound",
19
+ EitherPhoneOrEmailIsRequired = "eitherPhoneOrEmailIsRequired",
20
+ EmailExisted = "emailExisted",
21
+ PhoneExisted = "phoneExisted",
22
+ UserNotFound = "userNotFound",
23
+ PhoneLengthError = "phoneLengthError",
24
+ InvalidPhoneFormat = "invalidPhoneFormat",
25
+ NameTooShort = "nameTooShort",
26
+ NameTooLong = "nameTooLong",
27
+ InvalidAvatarUrl = "invalidAvatarUrl",
28
+ EmptyUpdatePayload = "emptyUpdatePayload",
29
+ UserHasActiveBookings = "userHasActiveBookings",
30
+ ImageNotFound = "imageNotFound",
31
+ GetImageFailed = "getImageFailed",
32
+ RequestFailed = "requestFailed"
33
+ }
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var CommonErrorMessagesEnum;
20
+ (function (CommonErrorMessagesEnum) {
21
+ CommonErrorMessagesEnum["NotFound"] = "notFound";
22
+ CommonErrorMessagesEnum["EitherPhoneOrEmailIsRequired"] = "eitherPhoneOrEmailIsRequired";
23
+ CommonErrorMessagesEnum["EmailExisted"] = "emailExisted";
24
+ CommonErrorMessagesEnum["PhoneExisted"] = "phoneExisted";
25
+ CommonErrorMessagesEnum["UserNotFound"] = "userNotFound";
26
+ CommonErrorMessagesEnum["PhoneLengthError"] = "phoneLengthError";
27
+ CommonErrorMessagesEnum["InvalidPhoneFormat"] = "invalidPhoneFormat";
28
+ CommonErrorMessagesEnum["NameTooShort"] = "nameTooShort";
29
+ CommonErrorMessagesEnum["NameTooLong"] = "nameTooLong";
30
+ CommonErrorMessagesEnum["InvalidAvatarUrl"] = "invalidAvatarUrl";
31
+ CommonErrorMessagesEnum["EmptyUpdatePayload"] = "emptyUpdatePayload";
32
+ CommonErrorMessagesEnum["UserHasActiveBookings"] = "userHasActiveBookings";
33
+ CommonErrorMessagesEnum["ImageNotFound"] = "imageNotFound";
34
+ CommonErrorMessagesEnum["GetImageFailed"] = "getImageFailed";
35
+ CommonErrorMessagesEnum["RequestFailed"] = "requestFailed";
36
+ })(CommonErrorMessagesEnum || (CommonErrorMessagesEnum = {}));
@@ -0,0 +1,67 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { AuthErrorMessageEnum } from './auth-error-message-enum';
13
+ import type { BookingErrorMessagesEnum } from './booking-error-messages-enum';
14
+ import type { CommonErrorMessagesEnum } from './common-error-messages-enum';
15
+ import type { ImageErrorMessagesEnum } from './image-error-messages-enum';
16
+ import type { RoleErrorMessagesEnum } from './role-error-messages-enum';
17
+ import type { RoomErrorMessagesEnum } from './room-error-messages-enum';
18
+ import type { SortCaseEnum } from './sort-case-enum';
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface ExposedEnumsDto
23
+ */
24
+ export interface ExposedEnumsDto {
25
+ /**
26
+ *
27
+ * @type {SortCaseEnum}
28
+ * @memberof ExposedEnumsDto
29
+ */
30
+ 'sortCase': SortCaseEnum;
31
+ /**
32
+ *
33
+ * @type {CommonErrorMessagesEnum}
34
+ * @memberof ExposedEnumsDto
35
+ */
36
+ 'commonErrorMessages': CommonErrorMessagesEnum;
37
+ /**
38
+ *
39
+ * @type {RoleErrorMessagesEnum}
40
+ * @memberof ExposedEnumsDto
41
+ */
42
+ 'roleErrorMessages': RoleErrorMessagesEnum;
43
+ /**
44
+ *
45
+ * @type {AuthErrorMessageEnum}
46
+ * @memberof ExposedEnumsDto
47
+ */
48
+ 'authErrorMessage': AuthErrorMessageEnum;
49
+ /**
50
+ *
51
+ * @type {ImageErrorMessagesEnum}
52
+ * @memberof ExposedEnumsDto
53
+ */
54
+ 'imageErrorMessages': ImageErrorMessagesEnum;
55
+ /**
56
+ *
57
+ * @type {RoomErrorMessagesEnum}
58
+ * @memberof ExposedEnumsDto
59
+ */
60
+ 'roomErrorMessages': RoomErrorMessagesEnum;
61
+ /**
62
+ *
63
+ * @type {BookingErrorMessagesEnum}
64
+ * @memberof ExposedEnumsDto
65
+ */
66
+ 'bookingErrorMessages': BookingErrorMessagesEnum;
67
+ }
@@ -0,0 +1,14 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export {};
@@ -0,0 +1,25 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum ImageErrorMessagesEnum {
18
+ InvalidImageFormat = "invalidImageFormat",
19
+ InvalidImageSize = "invalidImageSize",
20
+ InvalidImageType = "invalidImageType",
21
+ InvalidImageUrl = "invalidImageUrl",
22
+ ImageUploadFailed = "imageUploadFailed",
23
+ ImageDeleteFailed = "imageDeleteFailed",
24
+ ImageNotFound = "imageNotFound"
25
+ }
@@ -0,0 +1,28 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var ImageErrorMessagesEnum;
20
+ (function (ImageErrorMessagesEnum) {
21
+ ImageErrorMessagesEnum["InvalidImageFormat"] = "invalidImageFormat";
22
+ ImageErrorMessagesEnum["InvalidImageSize"] = "invalidImageSize";
23
+ ImageErrorMessagesEnum["InvalidImageType"] = "invalidImageType";
24
+ ImageErrorMessagesEnum["InvalidImageUrl"] = "invalidImageUrl";
25
+ ImageErrorMessagesEnum["ImageUploadFailed"] = "imageUploadFailed";
26
+ ImageErrorMessagesEnum["ImageDeleteFailed"] = "imageDeleteFailed";
27
+ ImageErrorMessagesEnum["ImageNotFound"] = "imageNotFound";
28
+ })(ImageErrorMessagesEnum || (ImageErrorMessagesEnum = {}));
@@ -4,9 +4,11 @@ export * from './amenities-pagination-result-dto';
4
4
  export * from './amenity';
5
5
  export * from './amenity-translation-dto';
6
6
  export * from './analytics-summary-dto';
7
+ export * from './auth-error-message-enum';
7
8
  export * from './block-activity';
8
9
  export * from './block-or-unblock-user-dto';
9
10
  export * from './booking';
11
+ export * from './booking-error-messages-enum';
10
12
  export * from './bookings-pagination-result-dto';
11
13
  export * from './branch';
12
14
  export * from './branch-detail';
@@ -17,6 +19,7 @@ export * from './branches-pagination-result-dto';
17
19
  export * from './cancel-booking-dto';
18
20
  export * from './cancel-payment-request-dto';
19
21
  export * from './change-password-dto';
22
+ export * from './common-error-messages-enum';
20
23
  export * from './confirm-payment-webhook-dto';
21
24
  export * from './create-amenity-dto';
22
25
  export * from './create-booking-at-hotel-dto';
@@ -31,6 +34,7 @@ export * from './create-room-promotion-dto';
31
34
  export * from './create-user-dto';
32
35
  export * from './delete-user-dto';
33
36
  export * from './detail-translation-content';
37
+ export * from './exposed-enums-dto';
34
38
  export * from './filter-amenity-dto';
35
39
  export * from './filter-bookings-dto';
36
40
  export * from './filter-branches-dto';
@@ -47,6 +51,7 @@ export * from './hotel-room';
47
51
  export * from './hotel-room-pagination-result-dto';
48
52
  export * from './hotel-room-translation-dto';
49
53
  export * from './image';
54
+ export * from './image-error-messages-enum';
50
55
  export * from './image-upload-response-dto';
51
56
  export * from './immediate-delete-rooms-dto';
52
57
  export * from './initiate-forgot-password-email-dto';
@@ -85,10 +90,12 @@ export * from './response-with-message';
85
90
  export * from './revenue-by-room-type-dto';
86
91
  export * from './revenue-timeline-dto';
87
92
  export * from './revoke-session-response-dto';
93
+ export * from './role-error-messages-enum';
88
94
  export * from './room-detail';
89
95
  export * from './room-detail-infinite-pagination-result-dto';
90
96
  export * from './room-detail-pagination-result-dto';
91
97
  export * from './room-detail-translation-dto';
98
+ export * from './room-error-messages-enum';
92
99
  export * from './room-performance-dto';
93
100
  export * from './room-price-history';
94
101
  export * from './room-price-history-translation-dto';
@@ -99,6 +106,7 @@ export * from './session-response-dto';
99
106
  export * from './sort-amenity-dto';
100
107
  export * from './sort-bookings-dto';
101
108
  export * from './sort-branch-dto';
109
+ export * from './sort-case-enum';
102
110
  export * from './sort-hotel-room-dto';
103
111
  export * from './sort-province-dto';
104
112
  export * from './sort-room-detail-dto';
@@ -4,9 +4,11 @@ export * from './amenities-pagination-result-dto';
4
4
  export * from './amenity';
5
5
  export * from './amenity-translation-dto';
6
6
  export * from './analytics-summary-dto';
7
+ export * from './auth-error-message-enum';
7
8
  export * from './block-activity';
8
9
  export * from './block-or-unblock-user-dto';
9
10
  export * from './booking';
11
+ export * from './booking-error-messages-enum';
10
12
  export * from './bookings-pagination-result-dto';
11
13
  export * from './branch';
12
14
  export * from './branch-detail';
@@ -17,6 +19,7 @@ export * from './branches-pagination-result-dto';
17
19
  export * from './cancel-booking-dto';
18
20
  export * from './cancel-payment-request-dto';
19
21
  export * from './change-password-dto';
22
+ export * from './common-error-messages-enum';
20
23
  export * from './confirm-payment-webhook-dto';
21
24
  export * from './create-amenity-dto';
22
25
  export * from './create-booking-at-hotel-dto';
@@ -31,6 +34,7 @@ export * from './create-room-promotion-dto';
31
34
  export * from './create-user-dto';
32
35
  export * from './delete-user-dto';
33
36
  export * from './detail-translation-content';
37
+ export * from './exposed-enums-dto';
34
38
  export * from './filter-amenity-dto';
35
39
  export * from './filter-bookings-dto';
36
40
  export * from './filter-branches-dto';
@@ -47,6 +51,7 @@ export * from './hotel-room';
47
51
  export * from './hotel-room-pagination-result-dto';
48
52
  export * from './hotel-room-translation-dto';
49
53
  export * from './image';
54
+ export * from './image-error-messages-enum';
50
55
  export * from './image-upload-response-dto';
51
56
  export * from './immediate-delete-rooms-dto';
52
57
  export * from './initiate-forgot-password-email-dto';
@@ -85,10 +90,12 @@ export * from './response-with-message';
85
90
  export * from './revenue-by-room-type-dto';
86
91
  export * from './revenue-timeline-dto';
87
92
  export * from './revoke-session-response-dto';
93
+ export * from './role-error-messages-enum';
88
94
  export * from './room-detail';
89
95
  export * from './room-detail-infinite-pagination-result-dto';
90
96
  export * from './room-detail-pagination-result-dto';
91
97
  export * from './room-detail-translation-dto';
98
+ export * from './room-error-messages-enum';
92
99
  export * from './room-performance-dto';
93
100
  export * from './room-price-history';
94
101
  export * from './room-price-history-translation-dto';
@@ -99,6 +106,7 @@ export * from './session-response-dto';
99
106
  export * from './sort-amenity-dto';
100
107
  export * from './sort-bookings-dto';
101
108
  export * from './sort-branch-dto';
109
+ export * from './sort-case-enum';
102
110
  export * from './sort-hotel-room-dto';
103
111
  export * from './sort-province-dto';
104
112
  export * from './sort-room-detail-dto';
@@ -17,14 +17,14 @@
17
17
  export interface Location {
18
18
  /**
19
19
  * Latitude of the location
20
- * @type {number}
20
+ * @type {string}
21
21
  * @memberof Location
22
22
  */
23
- 'latitude': number;
23
+ 'latitude': string;
24
24
  /**
25
25
  * Longitude of the location
26
- * @type {number}
26
+ * @type {string}
27
27
  * @memberof Location
28
28
  */
29
- 'longitude': number;
29
+ 'longitude': string;
30
30
  }
@@ -0,0 +1,23 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum RoleErrorMessagesEnum {
18
+ RoleNotFound = "roleNotFound",
19
+ CannotBeAdmin = "cannotBeAdmin",
20
+ CannotBeStaff = "cannotBeStaff",
21
+ CannotBeCustomer = "cannotBeCustomer",
22
+ InvalidRoleChange = "invalidRoleChange"
23
+ }
@@ -0,0 +1,26 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var RoleErrorMessagesEnum;
20
+ (function (RoleErrorMessagesEnum) {
21
+ RoleErrorMessagesEnum["RoleNotFound"] = "roleNotFound";
22
+ RoleErrorMessagesEnum["CannotBeAdmin"] = "cannotBeAdmin";
23
+ RoleErrorMessagesEnum["CannotBeStaff"] = "cannotBeStaff";
24
+ RoleErrorMessagesEnum["CannotBeCustomer"] = "cannotBeCustomer";
25
+ RoleErrorMessagesEnum["InvalidRoleChange"] = "invalidRoleChange";
26
+ })(RoleErrorMessagesEnum || (RoleErrorMessagesEnum = {}));
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { Amenity } from './amenity';
13
+ import type { Branch } from './branch';
13
14
  import type { Image } from './image';
14
15
  import type { RoomPriceHistory } from './room-price-history';
15
16
  import type { RoomPriceHistoryTranslationsInner } from './room-price-history-translations-inner';
@@ -67,6 +68,12 @@ export interface RoomDetail {
67
68
  * @memberof RoomDetail
68
69
  */
69
70
  'branchId': string;
71
+ /**
72
+ * Branch where this room is located
73
+ * @type {Branch}
74
+ * @memberof RoomDetail
75
+ */
76
+ 'branch': Branch;
70
77
  /**
71
78
  * Hotel Room\'s thumbnail image
72
79
  * @type {Image}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum RoomErrorMessagesEnum {
18
+ RoomNotFound = "roomNotFound"
19
+ }
@@ -0,0 +1,22 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var RoomErrorMessagesEnum;
20
+ (function (RoomErrorMessagesEnum) {
21
+ RoomErrorMessagesEnum["RoomNotFound"] = "roomNotFound";
22
+ })(RoomErrorMessagesEnum || (RoomErrorMessagesEnum = {}));
@@ -0,0 +1,20 @@
1
+ /**
2
+ * AHomeVilla documentation
3
+ * This is AHomeVilla\'s APIs description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum SortCaseEnum {
18
+ Asc = "asc",
19
+ Desc = "desc"
20
+ }
@@ -0,0 +1,23 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * AHomeVilla documentation
5
+ * This is AHomeVilla\'s APIs description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ export var SortCaseEnum;
20
+ (function (SortCaseEnum) {
21
+ SortCaseEnum["Asc"] = "asc";
22
+ SortCaseEnum["Desc"] = "desc";
23
+ })(SortCaseEnum || (SortCaseEnum = {}));