@apaleo/angular-api-proxy-availability
Advanced tools
Comparing version 1.6.201 to 1.6.202
@@ -36,2 +36,6 @@ /** | ||
/** | ||
* Filter result by requested unit group types | ||
*/ | ||
unitGroupTypes?: Array<UnitGroupTypesEnum>; | ||
/** | ||
* The time slice definition ids | ||
@@ -71,2 +75,4 @@ */ | ||
const TimeSliceTemplateEnumValues: readonly TimeSliceTemplateEnum[]; | ||
type UnitGroupTypesEnum = 'BedRoom' | 'MeetingRoom' | 'EventSpace' | 'ParkingLot' | 'Other'; | ||
const UnitGroupTypesEnumValues: readonly UnitGroupTypesEnum[]; | ||
} | ||
@@ -125,2 +131,3 @@ export declare namespace availabilityUnitsGet { | ||
* @param $params.timeSliceTemplate The time slice template, defaults to 'over night' | ||
* @param $params.unitGroupTypes Filter result by requested unit group types | ||
* @param $params.timeSliceDefinitionIds The time slice definition ids | ||
@@ -127,0 +134,0 @@ * @param $params.unitGroupIds The unit group ids |
@@ -35,2 +35,3 @@ /** | ||
availabilityUnitGroupsGet.TimeSliceTemplateEnumValues = Object.freeze(['DayUse', 'OverNight']); | ||
availabilityUnitGroupsGet.UnitGroupTypesEnumValues = Object.freeze(['BedRoom', 'MeetingRoom', 'EventSpace', 'ParkingLot', 'Other']); | ||
})(availabilityUnitGroupsGet || (availabilityUnitGroupsGet = {})); | ||
@@ -85,2 +86,3 @@ export var availabilityUnitsGet; | ||
var timeSliceTemplate = $params.timeSliceTemplate; | ||
var unitGroupTypes = $params.unitGroupTypes; | ||
var timeSliceDefinitionIds = $params.timeSliceDefinitionIds; | ||
@@ -107,2 +109,5 @@ var unitGroupIds = $params.unitGroupIds; | ||
} | ||
if (unitGroupTypes) { | ||
queryParameters = queryParameters.set('unitGroupTypes', unitGroupTypes.join(COLLECTION_FORMATS['csv'])); | ||
} | ||
if (timeSliceDefinitionIds) { | ||
@@ -109,0 +114,0 @@ queryParameters = queryParameters.set('timeSliceDefinitionIds', timeSliceDefinitionIds.join(COLLECTION_FORMATS['csv'])); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"AvailabilityService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":165,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":172,"character":51}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":172,"character":62},"arguments":[{"__symbolic":"reference","module":"../variables","name":"BASE_PATH","line":172,"character":69}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":172,"character":99}}]],"parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":172,"character":38},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../configuration","name":"Configuration","line":172,"character":125}]}],"canConsumeForm":[{"__symbolic":"method"}],"availabilityUnitGroupsGet":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"availabilityUnitsGet":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"AvailabilityService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":175,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":182,"character":51}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":182,"character":62},"arguments":[{"__symbolic":"reference","module":"../variables","name":"BASE_PATH","line":182,"character":69}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":182,"character":99}}]],"parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":182,"character":38},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","module":"../configuration","name":"Configuration","line":182,"character":125}]}],"canConsumeForm":[{"__symbolic":"method"}],"availabilityUnitGroupsGet":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}],"availabilityUnitsGet":[{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"},{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "@apaleo/angular-api-proxy-availability", | ||
"version": "1.6.201", | ||
"version": "1.6.202", | ||
"description": "", | ||
@@ -11,3 +11,3 @@ "main": "index.js", | ||
"@angular/platform-browser": "^8.1.0", | ||
"@apaleo/angular-api-proxy-common": "^1.6.201", | ||
"@apaleo/angular-api-proxy-common": "^1.6.202", | ||
"rxjs": "^6.0.0", | ||
@@ -26,3 +26,3 @@ "tslib": "^1.9.2", | ||
"@angular/platform-server": "^8.1.0", | ||
"@apaleo/angular-api-proxy-common": "^1.6.201", | ||
"@apaleo/angular-api-proxy-common": "^1.6.202", | ||
"rxjs": "^6.0.0", | ||
@@ -29,0 +29,0 @@ "tslib": "^1.9.2", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
153613
1959