@apaleo/angular-api-proxy-catalog
Advanced tools
Comparing version 0.2.10 to 0.2.11
@@ -39,2 +39,10 @@ import { Http, Headers } from '@angular/http'; | ||
/** | ||
* Filter packages by the specified property | ||
*/ | ||
propertyId: string; | ||
/** | ||
* Filter packages by the specified time slice definition | ||
*/ | ||
timeSliceDefinitionId?: string; | ||
/** | ||
* Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -118,2 +126,4 @@ */ | ||
* Get the list of packages for one specific property. | ||
* @param propertyId Filter packages by the specified property | ||
* @param timeSliceDefinitionId Filter packages by the specified time slice definition | ||
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -120,0 +130,0 @@ * @param pageSize Page size. If this is not set, the pageNumber parameter will be ignored |
@@ -234,2 +234,4 @@ /** | ||
* Get the list of packages for one specific property. | ||
* @param propertyId Filter packages by the specified property | ||
* @param timeSliceDefinitionId Filter packages by the specified time slice definition | ||
* @param pageNumber Page number, starting from 1. Results in 204 if there are no items on that page. | ||
@@ -244,2 +246,12 @@ * @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 catalogPackagesGet.'); | ||
} | ||
if (params.propertyId !== undefined) { | ||
queryParameters.set('propertyId', params.propertyId); | ||
} | ||
if (params.timeSliceDefinitionId !== undefined) { | ||
queryParameters.set('timeSliceDefinitionId', params.timeSliceDefinitionId); | ||
} | ||
if (params.pageNumber !== undefined) { | ||
@@ -246,0 +258,0 @@ queryParameters.set('pageNumber', params.pageNumber); |
{ | ||
"name": "@apaleo/angular-api-proxy-catalog", | ||
"version": "0.2.10", | ||
"version": "0.2.11", | ||
"description": "", | ||
@@ -12,3 +12,3 @@ "main": "index.js", | ||
"@angular/platform-browser": "^4.3.5", | ||
"@apaleo/angular-api-proxy-common": "^0.2.10", | ||
"@apaleo/angular-api-proxy-common": "^0.2.11", | ||
"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.10", | ||
"@apaleo/angular-api-proxy-common": "^0.2.11", | ||
"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
322001
4226