@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.
- package/README.md +8 -0
- package/dist/esm/models/auth-error-message-enum.d.ts +27 -0
- package/dist/esm/models/auth-error-message-enum.js +30 -0
- package/dist/esm/models/booking-error-messages-enum.d.ts +20 -0
- package/dist/esm/models/booking-error-messages-enum.js +23 -0
- package/dist/esm/models/common-error-messages-enum.d.ts +33 -0
- package/dist/esm/models/common-error-messages-enum.js +36 -0
- package/dist/esm/models/exposed-enums-dto.d.ts +67 -0
- package/dist/esm/models/exposed-enums-dto.js +14 -0
- package/dist/esm/models/image-error-messages-enum.d.ts +25 -0
- package/dist/esm/models/image-error-messages-enum.js +28 -0
- package/dist/esm/models/index.d.ts +8 -0
- package/dist/esm/models/index.js +8 -0
- package/dist/esm/models/location.d.ts +4 -4
- package/dist/esm/models/role-error-messages-enum.d.ts +23 -0
- package/dist/esm/models/role-error-messages-enum.js +26 -0
- package/dist/esm/models/room-detail.d.ts +7 -0
- package/dist/esm/models/room-error-messages-enum.d.ts +19 -0
- package/dist/esm/models/room-error-messages-enum.js +22 -0
- package/dist/esm/models/sort-case-enum.d.ts +20 -0
- package/dist/esm/models/sort-case-enum.js +23 -0
- package/dist/models/auth-error-message-enum.d.ts +27 -0
- package/dist/models/auth-error-message-enum.js +33 -0
- package/dist/models/booking-error-messages-enum.d.ts +20 -0
- package/dist/models/booking-error-messages-enum.js +26 -0
- package/dist/models/common-error-messages-enum.d.ts +33 -0
- package/dist/models/common-error-messages-enum.js +39 -0
- package/dist/models/exposed-enums-dto.d.ts +67 -0
- package/dist/models/exposed-enums-dto.js +15 -0
- package/dist/models/image-error-messages-enum.d.ts +25 -0
- package/dist/models/image-error-messages-enum.js +31 -0
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/dist/models/location.d.ts +4 -4
- package/dist/models/role-error-messages-enum.d.ts +23 -0
- package/dist/models/role-error-messages-enum.js +29 -0
- package/dist/models/room-detail.d.ts +7 -0
- package/dist/models/room-error-messages-enum.d.ts +19 -0
- package/dist/models/room-error-messages-enum.js +25 -0
- package/dist/models/sort-case-enum.d.ts +20 -0
- package/dist/models/sort-case-enum.js +26 -0
- package/package.json +1 -1
|
@@ -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 = {}));
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/models/index.js
CHANGED
|
@@ -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 {
|
|
20
|
+
* @type {string}
|
|
21
21
|
* @memberof Location
|
|
22
22
|
*/
|
|
23
|
-
'latitude':
|
|
23
|
+
'latitude': string;
|
|
24
24
|
/**
|
|
25
25
|
* Longitude of the location
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {string}
|
|
27
27
|
* @memberof Location
|
|
28
28
|
*/
|
|
29
|
-
'longitude':
|
|
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 = {}));
|
|
@@ -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,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 = {}));
|