@mtnmanager/sdk 1.7.1 → 1.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -53,6 +53,12 @@ export interface ResortInfo {
|
|
|
53
53
|
* @memberof ResortInfo
|
|
54
54
|
*/
|
|
55
55
|
unitPreference: UnitPreference;
|
|
56
|
+
/**
|
|
57
|
+
* Full public URL to the resort's logo image. `null` if no logo is set.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ResortInfo
|
|
60
|
+
*/
|
|
61
|
+
logoUrl?: string | null;
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
58
64
|
* Check if a given object implements the ResortInfo interface.
|
|
@@ -45,6 +45,7 @@ export function ResortInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'timezone': json['timezone'],
|
|
46
46
|
'region': RegionFromJSON(json['region']),
|
|
47
47
|
'unitPreference': UnitPreferenceFromJSON(json['unit_preference']),
|
|
48
|
+
'logoUrl': json['logo_url'] == null ? undefined : json['logo_url'],
|
|
48
49
|
};
|
|
49
50
|
}
|
|
50
51
|
export function ResortInfoToJSON(json) {
|
|
@@ -61,5 +62,6 @@ export function ResortInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
62
|
'timezone': value['timezone'],
|
|
62
63
|
'region': RegionToJSON(value['region']),
|
|
63
64
|
'unit_preference': UnitPreferenceToJSON(value['unitPreference']),
|
|
65
|
+
'logo_url': value['logoUrl'],
|
|
64
66
|
};
|
|
65
67
|
}
|
|
@@ -53,6 +53,12 @@ export interface ResortInfo {
|
|
|
53
53
|
* @memberof ResortInfo
|
|
54
54
|
*/
|
|
55
55
|
unitPreference: UnitPreference;
|
|
56
|
+
/**
|
|
57
|
+
* Full public URL to the resort's logo image. `null` if no logo is set.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof ResortInfo
|
|
60
|
+
*/
|
|
61
|
+
logoUrl?: string | null;
|
|
56
62
|
}
|
|
57
63
|
/**
|
|
58
64
|
* Check if a given object implements the ResortInfo interface.
|
|
@@ -52,6 +52,7 @@ function ResortInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'timezone': json['timezone'],
|
|
53
53
|
'region': (0, Region_1.RegionFromJSON)(json['region']),
|
|
54
54
|
'unitPreference': (0, UnitPreference_1.UnitPreferenceFromJSON)(json['unit_preference']),
|
|
55
|
+
'logoUrl': json['logo_url'] == null ? undefined : json['logo_url'],
|
|
55
56
|
};
|
|
56
57
|
}
|
|
57
58
|
function ResortInfoToJSON(json) {
|
|
@@ -68,5 +69,6 @@ function ResortInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
68
69
|
'timezone': value['timezone'],
|
|
69
70
|
'region': (0, Region_1.RegionToJSON)(value['region']),
|
|
70
71
|
'unit_preference': (0, UnitPreference_1.UnitPreferenceToJSON)(value['unitPreference']),
|
|
72
|
+
'logo_url': value['logoUrl'],
|
|
71
73
|
};
|
|
72
74
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtnmanager/sdk",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.2",
|
|
4
4
|
"description": "SDK for interacting with the MtnManager API, providing real-time access to your ski resort's public operational data.",
|
|
5
5
|
"author": "OpenAPI-Generator",
|
|
6
6
|
"main": "./dist/index.js",
|