@apaleo/angular-api-proxy-catalog
Advanced tools
Comparing version 0.2.7 to 0.2.8
@@ -39,7 +39,7 @@ import { Http, Headers } from '@angular/http'; | ||
/** | ||
* Return inventory items for specific property | ||
* Filter inventory items by the specified property | ||
*/ | ||
propertyId: string; | ||
/** | ||
* Return inventory items with the specific time slice definition | ||
* Filter inventory items by the specified time slice definition | ||
*/ | ||
@@ -126,4 +126,4 @@ timeSliceDefinitionId?: string; | ||
* Get the list of inventory-based catalog entries. | ||
* @param propertyId Return inventory items for specific property | ||
* @param timeSliceDefinitionId Return inventory items with the specific time slice definition | ||
* @param propertyId Filter inventory items by the specified property | ||
* @param timeSliceDefinitionId Filter inventory items by the specified time slice definition | ||
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -130,0 +130,0 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored |
@@ -234,4 +234,4 @@ /** | ||
* Get the list of inventory-based catalog entries. | ||
* @param propertyId Return inventory items for specific property | ||
* @param timeSliceDefinitionId Return inventory items with the specific time slice definition | ||
* @param propertyId Filter inventory items by the specified property | ||
* @param timeSliceDefinitionId Filter inventory items by the specified time slice definition | ||
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -238,0 +238,0 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored |
@@ -39,2 +39,6 @@ import { Http, Headers } from '@angular/http'; | ||
/** | ||
* Filter services by the specified property | ||
*/ | ||
propertyId: string; | ||
/** | ||
* Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -124,2 +128,3 @@ */ | ||
* Get the list of services. | ||
* @param propertyId Filter services by the specified property | ||
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -126,0 +131,0 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored |
@@ -238,2 +238,3 @@ /** | ||
* Get the list of services. | ||
* @param propertyId Filter services by the specified property | ||
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -249,2 +250,9 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored | ||
var headers = new Headers(this.defaultHeaders.toJSON()); // https://github.com/angular/angular/issues/6845 | ||
// verify required parameter 'propertyId' is not null or undefined | ||
if (params.propertyId === null || params.propertyId === undefined) { | ||
throw new Error('Required parameter propertyId was null or undefined when calling catalogServicesGet.'); | ||
} | ||
if (params.propertyId !== undefined) { | ||
queryParameters.set('propertyId', params.propertyId); | ||
} | ||
if (params.pageNumber !== undefined) { | ||
@@ -251,0 +259,0 @@ queryParameters.set('pageNumber', params.pageNumber); |
{ | ||
"name": "@apaleo/angular-api-proxy-catalog", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"@angular/platform-browser": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.7", | ||
"@apaleo/angular-api-proxy-common": "^0.2.8", | ||
"rxjs": "^5.4.2", | ||
@@ -28,3 +28,3 @@ "tslib": "^1.7.1", | ||
"@angular/platform-server": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.7", | ||
"@apaleo/angular-api-proxy-common": "^0.2.8", | ||
"rxjs": "^5.4.2", | ||
@@ -31,0 +31,0 @@ "tslib": "^1.7.1", |
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
320464
4204