@apaleo/angular-api-proxy-booking
Advanced tools
Comparing version 0.12.197 to 0.12.198
@@ -9,3 +9,3 @@ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; | ||
/** | ||
* The type of the field allowed values for which will be provided | ||
* The type of the field allowed values will be provided for | ||
*/ | ||
@@ -18,3 +18,3 @@ type: TypeEnum; | ||
/** | ||
* This will filter all allowed values for the provided free text Currently it only looks up if the allowed value's description contains one of the provided values | ||
* Filter the result by the provided free text. If specified, only those allowed values whose value or description contains at least one lexeme will be returned | ||
*/ | ||
@@ -58,5 +58,5 @@ textSearch?: string; | ||
* | ||
* @param $params.type The type of the field allowed values for which will be provided | ||
* @param $params.type The type of the field allowed values will be provided for | ||
* @param $params.countryCode The country code of the property, in ISO 3166-1 alpha-2 code | ||
* @param $params.textSearch This will filter all allowed values for the provided free text Currently it only looks up if the allowed value's description contains one of the provided values | ||
* @param $params.textSearch Filter the result by the provided free text. If specified, only those allowed values whose value or description contains at least one lexeme will be returned | ||
* @param $params.apaleoCurrentDateTime Use this parameter to override the current date and time for the current request. Specify a date and time (without fractional second part) in UTC or with UTC offset as defined in the <a href=\"https://en.wikipedia.org/wiki/ISO_8601\">ISO8601:2004</a>.This header will only take effect on development environments. | ||
@@ -63,0 +63,0 @@ * @param $params.pageNumber Page number, 1-based. Default value is 1 (if this is not set or not positive). Results in 204 if there are no items on that page. |
@@ -133,2 +133,2 @@ /** | ||
}] }]; } }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9va3VwLnNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9hcGkvbG9va3VwLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7Ozs7R0FVRztBQUNILHVEQUF1RDtBQUV2RCxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQU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xy-booking", | ||
"version": "0.12.197", | ||
"version": "0.12.198", | ||
"description": "apaleo Api Proxy for Angular 12+", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
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
5373921