Skip to content

Commit 2080da9

Browse files
author
MachineUserPTV
committed
Automatic synchronisation from developer.myptv.com
1 parent a11e402 commit 2080da9

File tree

10 files changed

+50
-22
lines changed

10 files changed

+50
-22
lines changed

typescript/apis/PlacesApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

typescript/models/BoundingBox.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

typescript/models/CausingError.ts

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,7 +26,13 @@ export interface CausingError {
2626
*/
2727
description: string;
2828
/**
29-
* A constant string that can be used to identify this error class programmatically. An errorCode can have **details** to provide information in additional properties which are described with the code they apply to. They are of type string unless otherwise specified.
29+
* A constant string that can be used to identify this error class programmatically.
30+
*
31+
* If additional information is available for an errorCode, it will be provided as key-value pairs with the parameter **details**. The keys available for a specific errorCode are documented directly with the errorCode. Unless stated otherwise, the values are of type string.
32+
*
33+
* As an example, the following errorCode provides one key-value pair in the **details**. The key is called **value**.
34+
* * `GENERAL_INVALID_VALUE` - A parameter is set to an invalid value.
35+
* * `value` - The invalid value.
3036
*
3137
* Note that additional errorCodes as well as the **details** of existing errorCodes may be added at any time. Furthermore, the **description** may change at any time.
3238
*
@@ -36,14 +42,20 @@ export interface CausingError {
3642
* * `GENERAL_UNRECOGNIZED_PARAMETER` - A parameter is unknown.
3743
* * `GENERAL_MISSING_PARAMETER` - A required parameter is missing.
3844
* * `GENERAL_DUPLICATE_PARAMETER` - A parameter is duplicated.
39-
* * `GENERAL_MINIMUM_VALUE_VIOLATED` - The minimum value restriction is violated.
45+
* * `GENERAL_MINIMUM_VALUE_VIOLATED` - The minimum value of a parameter is violated.
4046
* * `minimumValue` - The minimum value (integer or double).
41-
* * `GENERAL_MAXIMUM_VALUE_VIOLATED` - The maximum value restriction is violated.
47+
* * `GENERAL_MAXIMUM_VALUE_VIOLATED` - The maximum value of a parameter is violated.
4248
* * `maximumValue` - The maximum value (integer or double).
43-
* * `GENERAL_MINIMUM_LENGTH_VIOLATED` - The minimum length is violated.
44-
* * `minimumLength` - The minimum length (integer).
45-
* * `GENERAL_MAXIMUM_LENGTH_VIOLATED` - The maximum length is violated.
46-
* * `maximumLength` - The maximum length (integer).
49+
* * `GENERAL_MINIMUM_ITEMS_VIOLATED` - The minimum number of items of an array is violated.
50+
* * `minimumItems` - The minimum number of items (integer).
51+
* * `GENERAL_MAXIMUM_ITEMS_VIOLATED` - The maximum number of items of an array is violated.
52+
* * `maximumItems` - The maximum number of items (integer).
53+
* * `GENERAL_TYPE_VIOLATED` - The value of a parameter has an invalid type.
54+
* * `type` - The type.
55+
* * `GENERAL_PATTERN_VIOLATED` - The value of a string parameter does not satisfy the required pattern.
56+
* * `pattern` - The pattern.
57+
* * `GENERAL_ENUM_VIOLATED` - The value of a parameter is not one of the specified enum values.
58+
* * `enum` - The allowed enum values.
4759
* @type {string}
4860
* @memberof CausingError
4961
*/
@@ -56,10 +68,10 @@ export interface CausingError {
5668
parameter?: string;
5769
/**
5870
* Additional properties specific to this error class.
59-
* @type {{ [key: string]: string; }}
71+
* @type {{ [key: string]: any; }}
6072
* @memberof CausingError
6173
*/
62-
details?: { [key: string]: string; };
74+
details?: { [key: string]: any; };
6375
}
6476

6577
/**

typescript/models/DetailLevel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

typescript/models/ErrorResponse.ts

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -33,7 +33,13 @@ export interface ErrorResponse {
3333
*/
3434
description: string;
3535
/**
36-
* A constant string that can be used to identify this error class programmatically. An errorCode can have **details** to provide information in additional properties which are described with the code they apply to. They are of type string unless otherwise specified.
36+
* A constant string that can be used to identify this error class programmatically.
37+
*
38+
* If additional information is available for an errorCode, it will be provided as key-value pairs with the parameter **details**. The keys available for a specific errorCode are documented directly with the errorCode. Unless stated otherwise, the values are of type string.
39+
*
40+
* As an example, the following errorCode provides one key-value pair in the **details**. The key is called **message**.
41+
* * `GENERAL_UNAUTHENTICATED` - Invalid or missing authentication credentials.
42+
* * `message` - An additional error message.
3743
*
3844
* Note that additional errorCodes as well as the **details** of existing errorCodes may be added at any time. Furthermore, the **description** may change at any time.
3945
*

typescript/models/Place.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

typescript/models/PlacesSearchResult.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

typescript/models/ReferencePosition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

typescript/models/Warning.ts

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,9 +26,19 @@ export interface Warning {
2626
*/
2727
description: string;
2828
/**
29-
* A constant string that can be used to identify this warning class programmatically. A warningCode can have **details** to provide information in additional properties which are described with the code they apply to. They are of type string unless otherwise specified.
29+
* A constant string that can be used to identify this warning class programmatically.
3030
*
31-
* Note that additional warningCodes as well as the **details** of existing warningCodes may be added at any time. Furthermore, the **description** may change at any time.
31+
* If additional information is available for a warningCode, it will be provided as key-value pairs with the parameter **details**. The keys available for a specific warningCode are documented directly with the warningCode. Unless stated otherwise, the values are of type string.
32+
*
33+
* As an example, the following warningCode provides four key-value pairs in the **details**.
34+
* The keys are called **parameter**, **value**, **relatedParameter** and **relatedValue**.
35+
* * `GENERAL_PARAMETER_IGNORED` - A parameter was ignored.
36+
* * `parameter` - The ignored parameter.
37+
* * `value` - The value of the ignored parameter.
38+
* * `relatedParameter` - The parameter which caused the parameter in question to be ignored.
39+
* * `relatedValue` - The value which caused the parameter in question to be ignored. Not present if the conflict is independent of the value.
40+
*
41+
* Note that additional warningCode as well as the **details** of existing warningCode may be added at any time. Furthermore, the **description** may change at any time.
3242
*
3343
* * `GEOCODING_TIMEOUT` - The search ran into a timeout while trying to find results.
3444
* * `GEOCODING_INPUT_TOO_LONG` - The input was rejected because it is too long.

typescript/runtime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Geocoding OSM
55
* With the Geocoding OSM service places can be searched based on OSM data. The search is based on an address, text input or a geographical position.
66
*
7-
* The version of the OpenAPI document: 1.0
7+
* The version of the OpenAPI document: 1.1
88
*
99
*
1010
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)