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

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 (40) 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-error-messages-enum.d.ts +19 -0
  18. package/dist/esm/models/room-error-messages-enum.js +22 -0
  19. package/dist/esm/models/sort-case-enum.d.ts +20 -0
  20. package/dist/esm/models/sort-case-enum.js +23 -0
  21. package/dist/models/auth-error-message-enum.d.ts +27 -0
  22. package/dist/models/auth-error-message-enum.js +33 -0
  23. package/dist/models/booking-error-messages-enum.d.ts +20 -0
  24. package/dist/models/booking-error-messages-enum.js +26 -0
  25. package/dist/models/common-error-messages-enum.d.ts +33 -0
  26. package/dist/models/common-error-messages-enum.js +39 -0
  27. package/dist/models/exposed-enums-dto.d.ts +67 -0
  28. package/dist/models/exposed-enums-dto.js +15 -0
  29. package/dist/models/image-error-messages-enum.d.ts +25 -0
  30. package/dist/models/image-error-messages-enum.js +31 -0
  31. package/dist/models/index.d.ts +8 -0
  32. package/dist/models/index.js +8 -0
  33. package/dist/models/location.d.ts +4 -4
  34. package/dist/models/role-error-messages-enum.d.ts +23 -0
  35. package/dist/models/role-error-messages-enum.js +29 -0
  36. package/dist/models/room-error-messages-enum.d.ts +19 -0
  37. package/dist/models/room-error-messages-enum.js +25 -0
  38. package/dist/models/sort-case-enum.d.ts +20 -0
  39. package/dist/models/sort-case-enum.js +26 -0
  40. 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 = {}));
@@ -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 = {}));
@@ -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,33 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AuthErrorMessageEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var AuthErrorMessageEnum;
23
+ (function (AuthErrorMessageEnum) {
24
+ AuthErrorMessageEnum["InvalidEmailOrPhone"] = "invalidEmailOrPhone";
25
+ AuthErrorMessageEnum["WrongUsernameOrPassword"] = "wrongUsernameOrPassword";
26
+ AuthErrorMessageEnum["InvalidRefreshToken"] = "invalidRefreshToken";
27
+ AuthErrorMessageEnum["PhoneIsRequired"] = "phoneIsRequired";
28
+ AuthErrorMessageEnum["EmailIsRequired"] = "emailIsRequired";
29
+ AuthErrorMessageEnum["EmailNotVerified"] = "emailNotVerified";
30
+ AuthErrorMessageEnum["PhoneNotVerified"] = "phoneNotVerified";
31
+ AuthErrorMessageEnum["UserAlreadyExists"] = "userAlreadyExists";
32
+ AuthErrorMessageEnum["SentEmailFailed"] = "sentEmailFailed";
33
+ })(AuthErrorMessageEnum || (exports.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,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.BookingErrorMessagesEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var BookingErrorMessagesEnum;
23
+ (function (BookingErrorMessagesEnum) {
24
+ BookingErrorMessagesEnum["MaximumGuestsExceeded"] = "maximumGuestsExceeded";
25
+ BookingErrorMessagesEnum["BookingNotFound"] = "bookingNotFound";
26
+ })(BookingErrorMessagesEnum || (exports.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,39 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.CommonErrorMessagesEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var CommonErrorMessagesEnum;
23
+ (function (CommonErrorMessagesEnum) {
24
+ CommonErrorMessagesEnum["NotFound"] = "notFound";
25
+ CommonErrorMessagesEnum["EitherPhoneOrEmailIsRequired"] = "eitherPhoneOrEmailIsRequired";
26
+ CommonErrorMessagesEnum["EmailExisted"] = "emailExisted";
27
+ CommonErrorMessagesEnum["PhoneExisted"] = "phoneExisted";
28
+ CommonErrorMessagesEnum["UserNotFound"] = "userNotFound";
29
+ CommonErrorMessagesEnum["PhoneLengthError"] = "phoneLengthError";
30
+ CommonErrorMessagesEnum["InvalidPhoneFormat"] = "invalidPhoneFormat";
31
+ CommonErrorMessagesEnum["NameTooShort"] = "nameTooShort";
32
+ CommonErrorMessagesEnum["NameTooLong"] = "nameTooLong";
33
+ CommonErrorMessagesEnum["InvalidAvatarUrl"] = "invalidAvatarUrl";
34
+ CommonErrorMessagesEnum["EmptyUpdatePayload"] = "emptyUpdatePayload";
35
+ CommonErrorMessagesEnum["UserHasActiveBookings"] = "userHasActiveBookings";
36
+ CommonErrorMessagesEnum["ImageNotFound"] = "imageNotFound";
37
+ CommonErrorMessagesEnum["GetImageFailed"] = "getImageFailed";
38
+ CommonErrorMessagesEnum["RequestFailed"] = "requestFailed";
39
+ })(CommonErrorMessagesEnum || (exports.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,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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,31 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ImageErrorMessagesEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var ImageErrorMessagesEnum;
23
+ (function (ImageErrorMessagesEnum) {
24
+ ImageErrorMessagesEnum["InvalidImageFormat"] = "invalidImageFormat";
25
+ ImageErrorMessagesEnum["InvalidImageSize"] = "invalidImageSize";
26
+ ImageErrorMessagesEnum["InvalidImageType"] = "invalidImageType";
27
+ ImageErrorMessagesEnum["InvalidImageUrl"] = "invalidImageUrl";
28
+ ImageErrorMessagesEnum["ImageUploadFailed"] = "imageUploadFailed";
29
+ ImageErrorMessagesEnum["ImageDeleteFailed"] = "imageDeleteFailed";
30
+ ImageErrorMessagesEnum["ImageNotFound"] = "imageNotFound";
31
+ })(ImageErrorMessagesEnum || (exports.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';
@@ -20,9 +20,11 @@ __exportStar(require("./amenities-pagination-result-dto"), exports);
20
20
  __exportStar(require("./amenity"), exports);
21
21
  __exportStar(require("./amenity-translation-dto"), exports);
22
22
  __exportStar(require("./analytics-summary-dto"), exports);
23
+ __exportStar(require("./auth-error-message-enum"), exports);
23
24
  __exportStar(require("./block-activity"), exports);
24
25
  __exportStar(require("./block-or-unblock-user-dto"), exports);
25
26
  __exportStar(require("./booking"), exports);
27
+ __exportStar(require("./booking-error-messages-enum"), exports);
26
28
  __exportStar(require("./bookings-pagination-result-dto"), exports);
27
29
  __exportStar(require("./branch"), exports);
28
30
  __exportStar(require("./branch-detail"), exports);
@@ -33,6 +35,7 @@ __exportStar(require("./branches-pagination-result-dto"), exports);
33
35
  __exportStar(require("./cancel-booking-dto"), exports);
34
36
  __exportStar(require("./cancel-payment-request-dto"), exports);
35
37
  __exportStar(require("./change-password-dto"), exports);
38
+ __exportStar(require("./common-error-messages-enum"), exports);
36
39
  __exportStar(require("./confirm-payment-webhook-dto"), exports);
37
40
  __exportStar(require("./create-amenity-dto"), exports);
38
41
  __exportStar(require("./create-booking-at-hotel-dto"), exports);
@@ -47,6 +50,7 @@ __exportStar(require("./create-room-promotion-dto"), exports);
47
50
  __exportStar(require("./create-user-dto"), exports);
48
51
  __exportStar(require("./delete-user-dto"), exports);
49
52
  __exportStar(require("./detail-translation-content"), exports);
53
+ __exportStar(require("./exposed-enums-dto"), exports);
50
54
  __exportStar(require("./filter-amenity-dto"), exports);
51
55
  __exportStar(require("./filter-bookings-dto"), exports);
52
56
  __exportStar(require("./filter-branches-dto"), exports);
@@ -63,6 +67,7 @@ __exportStar(require("./hotel-room"), exports);
63
67
  __exportStar(require("./hotel-room-pagination-result-dto"), exports);
64
68
  __exportStar(require("./hotel-room-translation-dto"), exports);
65
69
  __exportStar(require("./image"), exports);
70
+ __exportStar(require("./image-error-messages-enum"), exports);
66
71
  __exportStar(require("./image-upload-response-dto"), exports);
67
72
  __exportStar(require("./immediate-delete-rooms-dto"), exports);
68
73
  __exportStar(require("./initiate-forgot-password-email-dto"), exports);
@@ -101,10 +106,12 @@ __exportStar(require("./response-with-message"), exports);
101
106
  __exportStar(require("./revenue-by-room-type-dto"), exports);
102
107
  __exportStar(require("./revenue-timeline-dto"), exports);
103
108
  __exportStar(require("./revoke-session-response-dto"), exports);
109
+ __exportStar(require("./role-error-messages-enum"), exports);
104
110
  __exportStar(require("./room-detail"), exports);
105
111
  __exportStar(require("./room-detail-infinite-pagination-result-dto"), exports);
106
112
  __exportStar(require("./room-detail-pagination-result-dto"), exports);
107
113
  __exportStar(require("./room-detail-translation-dto"), exports);
114
+ __exportStar(require("./room-error-messages-enum"), exports);
108
115
  __exportStar(require("./room-performance-dto"), exports);
109
116
  __exportStar(require("./room-price-history"), exports);
110
117
  __exportStar(require("./room-price-history-translation-dto"), exports);
@@ -115,6 +122,7 @@ __exportStar(require("./session-response-dto"), exports);
115
122
  __exportStar(require("./sort-amenity-dto"), exports);
116
123
  __exportStar(require("./sort-bookings-dto"), exports);
117
124
  __exportStar(require("./sort-branch-dto"), exports);
125
+ __exportStar(require("./sort-case-enum"), exports);
118
126
  __exportStar(require("./sort-hotel-room-dto"), exports);
119
127
  __exportStar(require("./sort-province-dto"), exports);
120
128
  __exportStar(require("./sort-room-detail-dto"), exports);
@@ -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,29 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RoleErrorMessagesEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var RoleErrorMessagesEnum;
23
+ (function (RoleErrorMessagesEnum) {
24
+ RoleErrorMessagesEnum["RoleNotFound"] = "roleNotFound";
25
+ RoleErrorMessagesEnum["CannotBeAdmin"] = "cannotBeAdmin";
26
+ RoleErrorMessagesEnum["CannotBeStaff"] = "cannotBeStaff";
27
+ RoleErrorMessagesEnum["CannotBeCustomer"] = "cannotBeCustomer";
28
+ RoleErrorMessagesEnum["InvalidRoleChange"] = "invalidRoleChange";
29
+ })(RoleErrorMessagesEnum || (exports.RoleErrorMessagesEnum = RoleErrorMessagesEnum = {}));
@@ -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,25 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RoomErrorMessagesEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var RoomErrorMessagesEnum;
23
+ (function (RoomErrorMessagesEnum) {
24
+ RoomErrorMessagesEnum["RoomNotFound"] = "roomNotFound";
25
+ })(RoomErrorMessagesEnum || (exports.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,26 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * AHomeVilla documentation
6
+ * This is AHomeVilla\'s APIs description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SortCaseEnum = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var SortCaseEnum;
23
+ (function (SortCaseEnum) {
24
+ SortCaseEnum["Asc"] = "asc";
25
+ SortCaseEnum["Desc"] = "desc";
26
+ })(SortCaseEnum || (exports.SortCaseEnum = SortCaseEnum = {}));
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "openapi-client",
11
11
  "openapi-generator"
12
12
  ],
13
- "version": "2025.12.04.171535",
13
+ "version": "2025.12.22.063347",
14
14
  "main": "dist/index.js",
15
15
  "scripts": {
16
16
  "prepare": "npm run build",