@mtnmanager/sdk 1.7.3 → 1.8.0
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.
- package/README.md +10 -0
- package/dist/esm/models/AmenityCategory.d.ts +1 -0
- package/dist/esm/models/AmenityCategory.js +2 -1
- package/dist/esm/models/AppConfig.d.ts +41 -0
- package/dist/esm/models/AppConfig.js +47 -0
- package/dist/esm/models/ClosureReason.d.ts +1 -0
- package/dist/esm/models/ClosureReason.js +2 -1
- package/dist/esm/models/DayOfWeek.d.ts +1 -0
- package/dist/esm/models/DayOfWeek.js +2 -1
- package/dist/esm/models/FeatureSize.d.ts +1 -0
- package/dist/esm/models/FeatureSize.js +2 -1
- package/dist/esm/models/FeatureType.d.ts +1 -0
- package/dist/esm/models/FeatureType.js +2 -1
- package/dist/esm/models/GeometryMode.d.ts +26 -0
- package/dist/esm/models/GeometryMode.js +44 -0
- package/dist/esm/models/LiftStatus.d.ts +1 -0
- package/dist/esm/models/LiftStatus.js +2 -1
- package/dist/esm/models/LiftType.d.ts +1 -0
- package/dist/esm/models/LiftType.js +2 -1
- package/dist/esm/models/MarkerIcon.d.ts +1 -0
- package/dist/esm/models/MarkerIcon.js +2 -1
- package/dist/esm/models/Overview.d.ts +6 -3
- package/dist/esm/models/Overview.js +2 -2
- package/dist/esm/models/OverviewNews.d.ts +27 -2
- package/dist/esm/models/OverviewNews.js +10 -0
- package/dist/esm/models/ParkingLotStatus.d.ts +1 -0
- package/dist/esm/models/ParkingLotStatus.js +2 -1
- package/dist/esm/models/Region.d.ts +1 -0
- package/dist/esm/models/Region.js +2 -1
- package/dist/esm/models/ResortStatus.d.ts +1 -0
- package/dist/esm/models/ResortStatus.js +2 -1
- package/dist/esm/models/RunDifficulty.d.ts +1 -0
- package/dist/esm/models/RunDifficulty.js +2 -1
- package/dist/esm/models/RunStatus.d.ts +1 -0
- package/dist/esm/models/RunStatus.js +2 -1
- package/dist/esm/models/SeasonType.d.ts +1 -0
- package/dist/esm/models/SeasonType.js +2 -1
- package/dist/esm/models/SnowReport.d.ts +0 -6
- package/dist/esm/models/SnowReport.js +0 -4
- package/dist/esm/models/SummerTrailDifficulty.d.ts +1 -0
- package/dist/esm/models/SummerTrailDifficulty.js +2 -1
- package/dist/esm/models/SummerTrailStatus.d.ts +1 -0
- package/dist/esm/models/SummerTrailStatus.js +2 -1
- package/dist/esm/models/SummerTrailType.d.ts +1 -0
- package/dist/esm/models/SummerTrailType.js +2 -1
- package/dist/esm/models/SurfaceCondition.d.ts +1 -0
- package/dist/esm/models/SurfaceCondition.js +2 -1
- package/dist/esm/models/TerrainParkFeatureStatus.d.ts +1 -0
- package/dist/esm/models/TerrainParkFeatureStatus.js +2 -1
- package/dist/esm/models/TerrainParkStatus.d.ts +1 -0
- package/dist/esm/models/TerrainParkStatus.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf1.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf1.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf2.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf2.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf3.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf3.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf4.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf4.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf5.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf5.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf6.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf6.js +2 -1
- package/dist/esm/models/TrailMapElementOneOf7.d.ts +1 -0
- package/dist/esm/models/TrailMapElementOneOf7.js +2 -1
- package/dist/esm/models/TrailMapStaticElementOneOf.d.ts +64 -0
- package/dist/esm/models/TrailMapStaticElementOneOf.js +66 -0
- package/dist/esm/models/TrailMapStaticElementOneOf1.d.ts +78 -0
- package/dist/esm/models/TrailMapStaticElementOneOf1.js +72 -0
- package/dist/esm/models/TrailMapStaticElementOneOf2.d.ts +78 -0
- package/dist/esm/models/TrailMapStaticElementOneOf2.js +72 -0
- package/dist/esm/models/TrailMapStaticElementOneOf3.d.ts +64 -0
- package/dist/esm/models/TrailMapStaticElementOneOf3.js +66 -0
- package/dist/esm/models/TrailMapStaticElementOneOf4.d.ts +83 -0
- package/dist/esm/models/TrailMapStaticElementOneOf4.js +75 -0
- package/dist/esm/models/TrailMapStaticElementOneOf5.d.ts +83 -0
- package/dist/esm/models/TrailMapStaticElementOneOf5.js +75 -0
- package/dist/esm/models/TrailMapStaticElementOneOf6.d.ts +83 -0
- package/dist/esm/models/TrailMapStaticElementOneOf6.js +75 -0
- package/dist/esm/models/TrailMapStaticPath.d.ts +40 -0
- package/dist/esm/models/TrailMapStaticPath.js +47 -0
- package/dist/esm/models/UnitPreference.d.ts +1 -0
- package/dist/esm/models/UnitPreference.js +2 -1
- package/dist/esm/models/WeatherConditionCode.d.ts +1 -0
- package/dist/esm/models/WeatherConditionCode.js +2 -1
- package/dist/esm/models/index.d.ts +10 -0
- package/dist/esm/models/index.js +10 -0
- package/dist/models/AmenityCategory.d.ts +1 -0
- package/dist/models/AmenityCategory.js +2 -1
- package/dist/models/AppConfig.d.ts +41 -0
- package/dist/models/AppConfig.js +54 -0
- package/dist/models/ClosureReason.d.ts +1 -0
- package/dist/models/ClosureReason.js +2 -1
- package/dist/models/DayOfWeek.d.ts +1 -0
- package/dist/models/DayOfWeek.js +2 -1
- package/dist/models/FeatureSize.d.ts +1 -0
- package/dist/models/FeatureSize.js +2 -1
- package/dist/models/FeatureType.d.ts +1 -0
- package/dist/models/FeatureType.js +2 -1
- package/dist/models/GeometryMode.d.ts +26 -0
- package/dist/models/GeometryMode.js +52 -0
- package/dist/models/LiftStatus.d.ts +1 -0
- package/dist/models/LiftStatus.js +2 -1
- package/dist/models/LiftType.d.ts +1 -0
- package/dist/models/LiftType.js +2 -1
- package/dist/models/MarkerIcon.d.ts +1 -0
- package/dist/models/MarkerIcon.js +2 -1
- package/dist/models/Overview.d.ts +6 -3
- package/dist/models/Overview.js +2 -2
- package/dist/models/OverviewNews.d.ts +27 -2
- package/dist/models/OverviewNews.js +10 -0
- package/dist/models/ParkingLotStatus.d.ts +1 -0
- package/dist/models/ParkingLotStatus.js +2 -1
- package/dist/models/Region.d.ts +1 -0
- package/dist/models/Region.js +2 -1
- package/dist/models/ResortStatus.d.ts +1 -0
- package/dist/models/ResortStatus.js +2 -1
- package/dist/models/RunDifficulty.d.ts +1 -0
- package/dist/models/RunDifficulty.js +2 -1
- package/dist/models/RunStatus.d.ts +1 -0
- package/dist/models/RunStatus.js +2 -1
- package/dist/models/SeasonType.d.ts +1 -0
- package/dist/models/SeasonType.js +2 -1
- package/dist/models/SnowReport.d.ts +0 -6
- package/dist/models/SnowReport.js +0 -4
- package/dist/models/SummerTrailDifficulty.d.ts +1 -0
- package/dist/models/SummerTrailDifficulty.js +2 -1
- package/dist/models/SummerTrailStatus.d.ts +1 -0
- package/dist/models/SummerTrailStatus.js +2 -1
- package/dist/models/SummerTrailType.d.ts +1 -0
- package/dist/models/SummerTrailType.js +2 -1
- package/dist/models/SurfaceCondition.d.ts +1 -0
- package/dist/models/SurfaceCondition.js +2 -1
- package/dist/models/TerrainParkFeatureStatus.d.ts +1 -0
- package/dist/models/TerrainParkFeatureStatus.js +2 -1
- package/dist/models/TerrainParkStatus.d.ts +1 -0
- package/dist/models/TerrainParkStatus.js +2 -1
- package/dist/models/TrailMapElementOneOf.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf.js +2 -1
- package/dist/models/TrailMapElementOneOf1.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf1.js +2 -1
- package/dist/models/TrailMapElementOneOf2.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf2.js +2 -1
- package/dist/models/TrailMapElementOneOf3.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf3.js +2 -1
- package/dist/models/TrailMapElementOneOf4.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf4.js +2 -1
- package/dist/models/TrailMapElementOneOf5.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf5.js +2 -1
- package/dist/models/TrailMapElementOneOf6.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf6.js +2 -1
- package/dist/models/TrailMapElementOneOf7.d.ts +1 -0
- package/dist/models/TrailMapElementOneOf7.js +2 -1
- package/dist/models/TrailMapStaticElementOneOf.d.ts +64 -0
- package/dist/models/TrailMapStaticElementOneOf.js +74 -0
- package/dist/models/TrailMapStaticElementOneOf1.d.ts +78 -0
- package/dist/models/TrailMapStaticElementOneOf1.js +80 -0
- package/dist/models/TrailMapStaticElementOneOf2.d.ts +78 -0
- package/dist/models/TrailMapStaticElementOneOf2.js +80 -0
- package/dist/models/TrailMapStaticElementOneOf3.d.ts +64 -0
- package/dist/models/TrailMapStaticElementOneOf3.js +74 -0
- package/dist/models/TrailMapStaticElementOneOf4.d.ts +83 -0
- package/dist/models/TrailMapStaticElementOneOf4.js +83 -0
- package/dist/models/TrailMapStaticElementOneOf5.d.ts +83 -0
- package/dist/models/TrailMapStaticElementOneOf5.js +83 -0
- package/dist/models/TrailMapStaticElementOneOf6.d.ts +83 -0
- package/dist/models/TrailMapStaticElementOneOf6.js +83 -0
- package/dist/models/TrailMapStaticPath.d.ts +40 -0
- package/dist/models/TrailMapStaticPath.js +54 -0
- package/dist/models/UnitPreference.d.ts +1 -0
- package/dist/models/UnitPreference.js +2 -1
- package/dist/models/WeatherConditionCode.d.ts +1 -0
- package/dist/models/WeatherConditionCode.js +2 -1
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MtnManager API
|
|
3
|
+
* The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MarkerIcon } from './MarkerIcon';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TrailMapStaticElementOneOf5
|
|
17
|
+
*/
|
|
18
|
+
export interface TrailMapStaticElementOneOf5 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TrailMapStaticElementOneOf5TypeEnum}
|
|
22
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
23
|
+
*/
|
|
24
|
+
type: TrailMapStaticElementOneOf5TypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
29
|
+
*/
|
|
30
|
+
uuid: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
35
|
+
*/
|
|
36
|
+
x: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
41
|
+
*/
|
|
42
|
+
y: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {MarkerIcon}
|
|
46
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
47
|
+
*/
|
|
48
|
+
icon?: MarkerIcon | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
53
|
+
*/
|
|
54
|
+
color?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
59
|
+
*/
|
|
60
|
+
parkingLotUuid: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TrailMapStaticElementOneOf5
|
|
65
|
+
*/
|
|
66
|
+
groupLabel?: string | null;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const TrailMapStaticElementOneOf5TypeEnum: {
|
|
72
|
+
readonly ParkingLotMarker: "parking_lot_marker";
|
|
73
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
74
|
+
};
|
|
75
|
+
export type TrailMapStaticElementOneOf5TypeEnum = typeof TrailMapStaticElementOneOf5TypeEnum[keyof typeof TrailMapStaticElementOneOf5TypeEnum];
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the TrailMapStaticElementOneOf5 interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfTrailMapStaticElementOneOf5(value: object): value is TrailMapStaticElementOneOf5;
|
|
80
|
+
export declare function TrailMapStaticElementOneOf5FromJSON(json: any): TrailMapStaticElementOneOf5;
|
|
81
|
+
export declare function TrailMapStaticElementOneOf5FromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapStaticElementOneOf5;
|
|
82
|
+
export declare function TrailMapStaticElementOneOf5ToJSON(json: any): TrailMapStaticElementOneOf5;
|
|
83
|
+
export declare function TrailMapStaticElementOneOf5ToJSONTyped(value?: TrailMapStaticElementOneOf5 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* MtnManager API
|
|
6
|
+
* The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TrailMapStaticElementOneOf5TypeEnum = void 0;
|
|
17
|
+
exports.instanceOfTrailMapStaticElementOneOf5 = instanceOfTrailMapStaticElementOneOf5;
|
|
18
|
+
exports.TrailMapStaticElementOneOf5FromJSON = TrailMapStaticElementOneOf5FromJSON;
|
|
19
|
+
exports.TrailMapStaticElementOneOf5FromJSONTyped = TrailMapStaticElementOneOf5FromJSONTyped;
|
|
20
|
+
exports.TrailMapStaticElementOneOf5ToJSON = TrailMapStaticElementOneOf5ToJSON;
|
|
21
|
+
exports.TrailMapStaticElementOneOf5ToJSONTyped = TrailMapStaticElementOneOf5ToJSONTyped;
|
|
22
|
+
const MarkerIcon_1 = require("./MarkerIcon");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.TrailMapStaticElementOneOf5TypeEnum = {
|
|
27
|
+
ParkingLotMarker: 'parking_lot_marker',
|
|
28
|
+
UnknownDefaultOpenApi: '11184809'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TrailMapStaticElementOneOf5 interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfTrailMapStaticElementOneOf5(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (value['type'] !== 'parking_lot_marker')
|
|
37
|
+
return false;
|
|
38
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if ((!('parkingLotUuid' in value) && !('parking_lot_uuid' in value)) || (value['parkingLotUuid'] === undefined && value['parking_lot_uuid'] === undefined))
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function TrailMapStaticElementOneOf5FromJSON(json) {
|
|
49
|
+
return TrailMapStaticElementOneOf5FromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function TrailMapStaticElementOneOf5FromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'type': json['type'],
|
|
57
|
+
'uuid': json['uuid'],
|
|
58
|
+
'x': json['x'],
|
|
59
|
+
'y': json['y'],
|
|
60
|
+
'icon': json['icon'] === undefined ? undefined : json['icon'] === null ? null : (0, MarkerIcon_1.MarkerIconFromJSON)(json['icon']),
|
|
61
|
+
'color': json['color'] === undefined ? undefined : json['color'] === null ? null : json['color'],
|
|
62
|
+
'parkingLotUuid': json['parking_lot_uuid'],
|
|
63
|
+
'groupLabel': json['group_label'] === undefined ? undefined : json['group_label'] === null ? null : json['group_label'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function TrailMapStaticElementOneOf5ToJSON(json) {
|
|
67
|
+
return TrailMapStaticElementOneOf5ToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function TrailMapStaticElementOneOf5ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'type': value['type'],
|
|
75
|
+
'uuid': value['uuid'],
|
|
76
|
+
'x': value['x'],
|
|
77
|
+
'y': value['y'],
|
|
78
|
+
'icon': (0, MarkerIcon_1.MarkerIconToJSON)(value['icon']),
|
|
79
|
+
'color': value['color'],
|
|
80
|
+
'parking_lot_uuid': value['parkingLotUuid'],
|
|
81
|
+
'group_label': value['groupLabel'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MtnManager API
|
|
3
|
+
* The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import type { MarkerIcon } from './MarkerIcon';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TrailMapStaticElementOneOf6
|
|
17
|
+
*/
|
|
18
|
+
export interface TrailMapStaticElementOneOf6 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {TrailMapStaticElementOneOf6TypeEnum}
|
|
22
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
23
|
+
*/
|
|
24
|
+
type: TrailMapStaticElementOneOf6TypeEnum;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
29
|
+
*/
|
|
30
|
+
uuid: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
35
|
+
*/
|
|
36
|
+
x: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
41
|
+
*/
|
|
42
|
+
y: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {MarkerIcon}
|
|
46
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
47
|
+
*/
|
|
48
|
+
icon?: MarkerIcon | null;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
53
|
+
*/
|
|
54
|
+
color?: string | null;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
59
|
+
*/
|
|
60
|
+
webcamUuid: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof TrailMapStaticElementOneOf6
|
|
65
|
+
*/
|
|
66
|
+
groupLabel?: string | null;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* @export
|
|
70
|
+
*/
|
|
71
|
+
export declare const TrailMapStaticElementOneOf6TypeEnum: {
|
|
72
|
+
readonly WebcamMarker: "webcam_marker";
|
|
73
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
74
|
+
};
|
|
75
|
+
export type TrailMapStaticElementOneOf6TypeEnum = typeof TrailMapStaticElementOneOf6TypeEnum[keyof typeof TrailMapStaticElementOneOf6TypeEnum];
|
|
76
|
+
/**
|
|
77
|
+
* Check if a given object implements the TrailMapStaticElementOneOf6 interface.
|
|
78
|
+
*/
|
|
79
|
+
export declare function instanceOfTrailMapStaticElementOneOf6(value: object): value is TrailMapStaticElementOneOf6;
|
|
80
|
+
export declare function TrailMapStaticElementOneOf6FromJSON(json: any): TrailMapStaticElementOneOf6;
|
|
81
|
+
export declare function TrailMapStaticElementOneOf6FromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapStaticElementOneOf6;
|
|
82
|
+
export declare function TrailMapStaticElementOneOf6ToJSON(json: any): TrailMapStaticElementOneOf6;
|
|
83
|
+
export declare function TrailMapStaticElementOneOf6ToJSONTyped(value?: TrailMapStaticElementOneOf6 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* MtnManager API
|
|
6
|
+
* The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.TrailMapStaticElementOneOf6TypeEnum = void 0;
|
|
17
|
+
exports.instanceOfTrailMapStaticElementOneOf6 = instanceOfTrailMapStaticElementOneOf6;
|
|
18
|
+
exports.TrailMapStaticElementOneOf6FromJSON = TrailMapStaticElementOneOf6FromJSON;
|
|
19
|
+
exports.TrailMapStaticElementOneOf6FromJSONTyped = TrailMapStaticElementOneOf6FromJSONTyped;
|
|
20
|
+
exports.TrailMapStaticElementOneOf6ToJSON = TrailMapStaticElementOneOf6ToJSON;
|
|
21
|
+
exports.TrailMapStaticElementOneOf6ToJSONTyped = TrailMapStaticElementOneOf6ToJSONTyped;
|
|
22
|
+
const MarkerIcon_1 = require("./MarkerIcon");
|
|
23
|
+
/**
|
|
24
|
+
* @export
|
|
25
|
+
*/
|
|
26
|
+
exports.TrailMapStaticElementOneOf6TypeEnum = {
|
|
27
|
+
WebcamMarker: 'webcam_marker',
|
|
28
|
+
UnknownDefaultOpenApi: '11184809'
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the TrailMapStaticElementOneOf6 interface.
|
|
32
|
+
*/
|
|
33
|
+
function instanceOfTrailMapStaticElementOneOf6(value) {
|
|
34
|
+
if (!('type' in value) || value['type'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (value['type'] !== 'webcam_marker')
|
|
37
|
+
return false;
|
|
38
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('x' in value) || value['x'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('y' in value) || value['y'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
if ((!('webcamUuid' in value) && !('webcam_uuid' in value)) || (value['webcamUuid'] === undefined && value['webcam_uuid'] === undefined))
|
|
45
|
+
return false;
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
function TrailMapStaticElementOneOf6FromJSON(json) {
|
|
49
|
+
return TrailMapStaticElementOneOf6FromJSONTyped(json, false);
|
|
50
|
+
}
|
|
51
|
+
function TrailMapStaticElementOneOf6FromJSONTyped(json, ignoreDiscriminator) {
|
|
52
|
+
if (json == null) {
|
|
53
|
+
return json;
|
|
54
|
+
}
|
|
55
|
+
return {
|
|
56
|
+
'type': json['type'],
|
|
57
|
+
'uuid': json['uuid'],
|
|
58
|
+
'x': json['x'],
|
|
59
|
+
'y': json['y'],
|
|
60
|
+
'icon': json['icon'] === undefined ? undefined : json['icon'] === null ? null : (0, MarkerIcon_1.MarkerIconFromJSON)(json['icon']),
|
|
61
|
+
'color': json['color'] === undefined ? undefined : json['color'] === null ? null : json['color'],
|
|
62
|
+
'webcamUuid': json['webcam_uuid'],
|
|
63
|
+
'groupLabel': json['group_label'] === undefined ? undefined : json['group_label'] === null ? null : json['group_label'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function TrailMapStaticElementOneOf6ToJSON(json) {
|
|
67
|
+
return TrailMapStaticElementOneOf6ToJSONTyped(json, false);
|
|
68
|
+
}
|
|
69
|
+
function TrailMapStaticElementOneOf6ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
return {
|
|
74
|
+
'type': value['type'],
|
|
75
|
+
'uuid': value['uuid'],
|
|
76
|
+
'x': value['x'],
|
|
77
|
+
'y': value['y'],
|
|
78
|
+
'icon': (0, MarkerIcon_1.MarkerIconToJSON)(value['icon']),
|
|
79
|
+
'color': value['color'],
|
|
80
|
+
'webcam_uuid': value['webcamUuid'],
|
|
81
|
+
'group_label': value['groupLabel'],
|
|
82
|
+
};
|
|
83
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MtnManager API
|
|
3
|
+
* The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: support@mtnmanager.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Path params for the versioned static endpoint: the map's UUID plus the
|
|
14
|
+
* specific `version` the client is asking for. The version lives in the URL so
|
|
15
|
+
* each version is an immutable resource (see `get_trail_map_static`).
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TrailMapStaticPath
|
|
18
|
+
*/
|
|
19
|
+
export interface TrailMapStaticPath {
|
|
20
|
+
/**
|
|
21
|
+
* Trail map UUID
|
|
22
|
+
* @type {string}
|
|
23
|
+
* @memberof TrailMapStaticPath
|
|
24
|
+
*/
|
|
25
|
+
uuid: string;
|
|
26
|
+
/**
|
|
27
|
+
* The map version being requested (from `TrailMapSummary.version`)
|
|
28
|
+
* @type {number}
|
|
29
|
+
* @memberof TrailMapStaticPath
|
|
30
|
+
*/
|
|
31
|
+
version: number;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the TrailMapStaticPath interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfTrailMapStaticPath(value: object): value is TrailMapStaticPath;
|
|
37
|
+
export declare function TrailMapStaticPathFromJSON(json: any): TrailMapStaticPath;
|
|
38
|
+
export declare function TrailMapStaticPathFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapStaticPath;
|
|
39
|
+
export declare function TrailMapStaticPathToJSON(json: any): TrailMapStaticPath;
|
|
40
|
+
export declare function TrailMapStaticPathToJSONTyped(value?: TrailMapStaticPath | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* MtnManager API
|
|
6
|
+
* The MtnManager API provides real-time access to your ski resort’s public operational data. Use it to display current conditions on your website, mobile app, or digital signage.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
* Contact: support@mtnmanager.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfTrailMapStaticPath = instanceOfTrailMapStaticPath;
|
|
17
|
+
exports.TrailMapStaticPathFromJSON = TrailMapStaticPathFromJSON;
|
|
18
|
+
exports.TrailMapStaticPathFromJSONTyped = TrailMapStaticPathFromJSONTyped;
|
|
19
|
+
exports.TrailMapStaticPathToJSON = TrailMapStaticPathToJSON;
|
|
20
|
+
exports.TrailMapStaticPathToJSONTyped = TrailMapStaticPathToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the TrailMapStaticPath interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfTrailMapStaticPath(value) {
|
|
25
|
+
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function TrailMapStaticPathFromJSON(json) {
|
|
32
|
+
return TrailMapStaticPathFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function TrailMapStaticPathFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'uuid': json['uuid'],
|
|
40
|
+
'version': json['version'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function TrailMapStaticPathToJSON(json) {
|
|
44
|
+
return TrailMapStaticPathToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function TrailMapStaticPathToJSONTyped(value, ignoreDiscriminator = false) {
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'uuid': value['uuid'],
|
|
52
|
+
'version': value['version'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
export declare const UnitPreference: {
|
|
17
17
|
readonly Metric: "metric";
|
|
18
18
|
readonly Imperial: "imperial";
|
|
19
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
19
20
|
};
|
|
20
21
|
export type UnitPreference = typeof UnitPreference[keyof typeof UnitPreference];
|
|
21
22
|
export declare function instanceOfUnitPreference(value: any): boolean;
|
|
@@ -25,7 +25,8 @@ exports.UnitPreferenceToJSONTyped = UnitPreferenceToJSONTyped;
|
|
|
25
25
|
*/
|
|
26
26
|
exports.UnitPreference = {
|
|
27
27
|
Metric: 'metric',
|
|
28
|
-
Imperial: 'imperial'
|
|
28
|
+
Imperial: 'imperial',
|
|
29
|
+
UnknownDefaultOpenApi: '11184809'
|
|
29
30
|
};
|
|
30
31
|
function instanceOfUnitPreference(value) {
|
|
31
32
|
for (const key in exports.UnitPreference) {
|
|
@@ -49,6 +49,7 @@ export declare const WeatherConditionCode: {
|
|
|
49
49
|
readonly Hurricane: "Hurricane";
|
|
50
50
|
readonly TropicalStorm: "TropicalStorm";
|
|
51
51
|
readonly Unknown: "Unknown";
|
|
52
|
+
readonly UnknownDefaultOpenApi: "11184809";
|
|
52
53
|
};
|
|
53
54
|
export type WeatherConditionCode = typeof WeatherConditionCode[keyof typeof WeatherConditionCode];
|
|
54
55
|
export declare function instanceOfWeatherConditionCode(value: any): boolean;
|
|
@@ -58,7 +58,8 @@ exports.WeatherConditionCode = {
|
|
|
58
58
|
HeavySnow: 'HeavySnow',
|
|
59
59
|
Hurricane: 'Hurricane',
|
|
60
60
|
TropicalStorm: 'TropicalStorm',
|
|
61
|
-
Unknown: 'Unknown'
|
|
61
|
+
Unknown: 'Unknown',
|
|
62
|
+
UnknownDefaultOpenApi: '11184809'
|
|
62
63
|
};
|
|
63
64
|
function instanceOfWeatherConditionCode(value) {
|
|
64
65
|
for (const key in exports.WeatherConditionCode) {
|
package/dist/models/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './Amenity';
|
|
|
2
2
|
export * from './AmenityCalendarEntry';
|
|
3
3
|
export * from './AmenityCategory';
|
|
4
4
|
export * from './AmenitySchedule';
|
|
5
|
+
export * from './AppConfig';
|
|
5
6
|
export * from './CalendarDay';
|
|
6
7
|
export * from './ClosureReason';
|
|
7
8
|
export * from './CurrentWeather';
|
|
@@ -17,6 +18,7 @@ export * from './FeatureType';
|
|
|
17
18
|
export * from './FullReport';
|
|
18
19
|
export * from './GeoBounds';
|
|
19
20
|
export * from './GeoPoint';
|
|
21
|
+
export * from './GeometryMode';
|
|
20
22
|
export * from './HourlyForecast';
|
|
21
23
|
export * from './HourlyForecastImperial';
|
|
22
24
|
export * from './HourlyForecastMetric';
|
|
@@ -62,6 +64,14 @@ export * from './TrailMapElementOneOf4';
|
|
|
62
64
|
export * from './TrailMapElementOneOf5';
|
|
63
65
|
export * from './TrailMapElementOneOf6';
|
|
64
66
|
export * from './TrailMapElementOneOf7';
|
|
67
|
+
export * from './TrailMapStaticElementOneOf';
|
|
68
|
+
export * from './TrailMapStaticElementOneOf1';
|
|
69
|
+
export * from './TrailMapStaticElementOneOf2';
|
|
70
|
+
export * from './TrailMapStaticElementOneOf3';
|
|
71
|
+
export * from './TrailMapStaticElementOneOf4';
|
|
72
|
+
export * from './TrailMapStaticElementOneOf5';
|
|
73
|
+
export * from './TrailMapStaticElementOneOf6';
|
|
74
|
+
export * from './TrailMapStaticPath';
|
|
65
75
|
export * from './TrailMapSummary';
|
|
66
76
|
export * from './UnitPreference';
|
|
67
77
|
export * from './Weather';
|
package/dist/models/index.js
CHANGED
|
@@ -20,6 +20,7 @@ __exportStar(require("./Amenity"), exports);
|
|
|
20
20
|
__exportStar(require("./AmenityCalendarEntry"), exports);
|
|
21
21
|
__exportStar(require("./AmenityCategory"), exports);
|
|
22
22
|
__exportStar(require("./AmenitySchedule"), exports);
|
|
23
|
+
__exportStar(require("./AppConfig"), exports);
|
|
23
24
|
__exportStar(require("./CalendarDay"), exports);
|
|
24
25
|
__exportStar(require("./ClosureReason"), exports);
|
|
25
26
|
__exportStar(require("./CurrentWeather"), exports);
|
|
@@ -35,6 +36,7 @@ __exportStar(require("./FeatureType"), exports);
|
|
|
35
36
|
__exportStar(require("./FullReport"), exports);
|
|
36
37
|
__exportStar(require("./GeoBounds"), exports);
|
|
37
38
|
__exportStar(require("./GeoPoint"), exports);
|
|
39
|
+
__exportStar(require("./GeometryMode"), exports);
|
|
38
40
|
__exportStar(require("./HourlyForecast"), exports);
|
|
39
41
|
__exportStar(require("./HourlyForecastImperial"), exports);
|
|
40
42
|
__exportStar(require("./HourlyForecastMetric"), exports);
|
|
@@ -80,6 +82,14 @@ __exportStar(require("./TrailMapElementOneOf4"), exports);
|
|
|
80
82
|
__exportStar(require("./TrailMapElementOneOf5"), exports);
|
|
81
83
|
__exportStar(require("./TrailMapElementOneOf6"), exports);
|
|
82
84
|
__exportStar(require("./TrailMapElementOneOf7"), exports);
|
|
85
|
+
__exportStar(require("./TrailMapStaticElementOneOf"), exports);
|
|
86
|
+
__exportStar(require("./TrailMapStaticElementOneOf1"), exports);
|
|
87
|
+
__exportStar(require("./TrailMapStaticElementOneOf2"), exports);
|
|
88
|
+
__exportStar(require("./TrailMapStaticElementOneOf3"), exports);
|
|
89
|
+
__exportStar(require("./TrailMapStaticElementOneOf4"), exports);
|
|
90
|
+
__exportStar(require("./TrailMapStaticElementOneOf5"), exports);
|
|
91
|
+
__exportStar(require("./TrailMapStaticElementOneOf6"), exports);
|
|
92
|
+
__exportStar(require("./TrailMapStaticPath"), exports);
|
|
83
93
|
__exportStar(require("./TrailMapSummary"), exports);
|
|
84
94
|
__exportStar(require("./UnitPreference"), exports);
|
|
85
95
|
__exportStar(require("./Weather"), exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mtnmanager/sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
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",
|