@ahomevilla-hotel/node-sdk 1.1.5 → 1.1.6
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/api.ts +39 -21
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1974,10 +1974,10 @@ export interface HotelRoom {
|
|
|
1974
1974
|
'bookings'?: Array<Booking>;
|
|
1975
1975
|
/**
|
|
1976
1976
|
*
|
|
1977
|
-
* @type {
|
|
1977
|
+
* @type {UserCount}
|
|
1978
1978
|
* @memberof HotelRoom
|
|
1979
1979
|
*/
|
|
1980
|
-
'_count'?:
|
|
1980
|
+
'_count'?: UserCount;
|
|
1981
1981
|
}
|
|
1982
1982
|
|
|
1983
1983
|
export const HotelRoomStatusEnum = {
|
|
@@ -1989,19 +1989,6 @@ export const HotelRoomStatusEnum = {
|
|
|
1989
1989
|
|
|
1990
1990
|
export type HotelRoomStatusEnum = typeof HotelRoomStatusEnum[keyof typeof HotelRoomStatusEnum];
|
|
1991
1991
|
|
|
1992
|
-
/**
|
|
1993
|
-
* Count of bookings
|
|
1994
|
-
* @export
|
|
1995
|
-
* @interface HotelRoomCount
|
|
1996
|
-
*/
|
|
1997
|
-
export interface HotelRoomCount {
|
|
1998
|
-
/**
|
|
1999
|
-
*
|
|
2000
|
-
* @type {number}
|
|
2001
|
-
* @memberof HotelRoomCount
|
|
2002
|
-
*/
|
|
2003
|
-
'bookings'?: number;
|
|
2004
|
-
}
|
|
2005
1992
|
/**
|
|
2006
1993
|
*
|
|
2007
1994
|
* @export
|
|
@@ -3824,6 +3811,18 @@ export interface User {
|
|
|
3824
3811
|
* @memberof User
|
|
3825
3812
|
*/
|
|
3826
3813
|
'role': UserRoleEnum;
|
|
3814
|
+
/**
|
|
3815
|
+
* Branch details where user works
|
|
3816
|
+
* @type {Branch}
|
|
3817
|
+
* @memberof User
|
|
3818
|
+
*/
|
|
3819
|
+
'working_at'?: Branch;
|
|
3820
|
+
/**
|
|
3821
|
+
*
|
|
3822
|
+
* @type {UserCount}
|
|
3823
|
+
* @memberof User
|
|
3824
|
+
*/
|
|
3825
|
+
'_count'?: UserCount;
|
|
3827
3826
|
}
|
|
3828
3827
|
|
|
3829
3828
|
export const UserGenderEnum = {
|
|
@@ -3846,6 +3845,19 @@ export const UserRoleEnum = {
|
|
|
3846
3845
|
|
|
3847
3846
|
export type UserRoleEnum = typeof UserRoleEnum[keyof typeof UserRoleEnum];
|
|
3848
3847
|
|
|
3848
|
+
/**
|
|
3849
|
+
* Count of bookings
|
|
3850
|
+
* @export
|
|
3851
|
+
* @interface UserCount
|
|
3852
|
+
*/
|
|
3853
|
+
export interface UserCount {
|
|
3854
|
+
/**
|
|
3855
|
+
*
|
|
3856
|
+
* @type {number}
|
|
3857
|
+
* @memberof UserCount
|
|
3858
|
+
*/
|
|
3859
|
+
'bookings'?: number;
|
|
3860
|
+
}
|
|
3849
3861
|
/**
|
|
3850
3862
|
*
|
|
3851
3863
|
* @export
|
|
@@ -3948,6 +3960,18 @@ export interface UserDetail {
|
|
|
3948
3960
|
* @memberof UserDetail
|
|
3949
3961
|
*/
|
|
3950
3962
|
'role': UserDetailRoleEnum;
|
|
3963
|
+
/**
|
|
3964
|
+
* Branch details where user works
|
|
3965
|
+
* @type {Branch}
|
|
3966
|
+
* @memberof UserDetail
|
|
3967
|
+
*/
|
|
3968
|
+
'working_at'?: Branch;
|
|
3969
|
+
/**
|
|
3970
|
+
*
|
|
3971
|
+
* @type {UserCount}
|
|
3972
|
+
* @memberof UserDetail
|
|
3973
|
+
*/
|
|
3974
|
+
'_count'?: UserCount;
|
|
3951
3975
|
/**
|
|
3952
3976
|
* Date when user was blocked
|
|
3953
3977
|
* @type {string}
|
|
@@ -3984,12 +4008,6 @@ export interface UserDetail {
|
|
|
3984
4008
|
* @memberof UserDetail
|
|
3985
4009
|
*/
|
|
3986
4010
|
'branchId'?: string;
|
|
3987
|
-
/**
|
|
3988
|
-
* Branch details where user works
|
|
3989
|
-
* @type {Branch}
|
|
3990
|
-
* @memberof UserDetail
|
|
3991
|
-
*/
|
|
3992
|
-
'working_at'?: Branch;
|
|
3993
4011
|
/**
|
|
3994
4012
|
* User bookings history
|
|
3995
4013
|
* @type {Array<Booking>}
|