@ahomevilla-hotel/node-sdk 1.3.0 → 1.3.1
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 +46 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -2087,6 +2087,52 @@ export const FilterUserDtoRolesEnum = {
|
|
|
2087
2087
|
|
|
2088
2088
|
export type FilterUserDtoRolesEnum = typeof FilterUserDtoRolesEnum[keyof typeof FilterUserDtoRolesEnum];
|
|
2089
2089
|
|
|
2090
|
+
/**
|
|
2091
|
+
*
|
|
2092
|
+
* @export
|
|
2093
|
+
* @interface GetAnalyticsQueryDto
|
|
2094
|
+
*/
|
|
2095
|
+
export interface GetAnalyticsQueryDto {
|
|
2096
|
+
/**
|
|
2097
|
+
* Branch ID to get analytics for
|
|
2098
|
+
* @type {string}
|
|
2099
|
+
* @memberof GetAnalyticsQueryDto
|
|
2100
|
+
*/
|
|
2101
|
+
'branchId'?: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* Start date for analytics (YYYY-MM-DD)
|
|
2104
|
+
* @type {string}
|
|
2105
|
+
* @memberof GetAnalyticsQueryDto
|
|
2106
|
+
*/
|
|
2107
|
+
'startDate'?: string;
|
|
2108
|
+
/**
|
|
2109
|
+
* End date for analytics (YYYY-MM-DD)
|
|
2110
|
+
* @type {string}
|
|
2111
|
+
* @memberof GetAnalyticsQueryDto
|
|
2112
|
+
*/
|
|
2113
|
+
'endDate'?: string;
|
|
2114
|
+
/**
|
|
2115
|
+
* Period type for analytics
|
|
2116
|
+
* @type {string}
|
|
2117
|
+
* @memberof GetAnalyticsQueryDto
|
|
2118
|
+
*/
|
|
2119
|
+
'periodType'?: GetAnalyticsQueryDtoPeriodTypeEnum;
|
|
2120
|
+
/**
|
|
2121
|
+
* Number of months to analyze
|
|
2122
|
+
* @type {number}
|
|
2123
|
+
* @memberof GetAnalyticsQueryDto
|
|
2124
|
+
*/
|
|
2125
|
+
'months'?: number;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2128
|
+
export const GetAnalyticsQueryDtoPeriodTypeEnum = {
|
|
2129
|
+
Daily: 'DAILY',
|
|
2130
|
+
Monthly: 'MONTHLY',
|
|
2131
|
+
Yearly: 'YEARLY'
|
|
2132
|
+
} as const;
|
|
2133
|
+
|
|
2134
|
+
export type GetAnalyticsQueryDtoPeriodTypeEnum = typeof GetAnalyticsQueryDtoPeriodTypeEnum[keyof typeof GetAnalyticsQueryDtoPeriodTypeEnum];
|
|
2135
|
+
|
|
2090
2136
|
/**
|
|
2091
2137
|
*
|
|
2092
2138
|
* @export
|