@mtnmanager/sdk 1.4.9 → 1.5.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.
- package/README.md +0 -7
- package/dist/apis/MtnManagerApi.d.ts +0 -75
- package/dist/apis/MtnManagerApi.js +0 -82
- package/dist/esm/apis/MtnManagerApi.d.ts +0 -75
- package/dist/esm/apis/MtnManagerApi.js +0 -82
- package/dist/esm/models/WeatherConditionCode.d.ts +19 -25
- package/dist/esm/models/WeatherConditionCode.js +19 -25
- package/dist/esm/models/index.d.ts +0 -5
- package/dist/esm/models/index.js +0 -5
- package/dist/models/WeatherConditionCode.d.ts +19 -25
- package/dist/models/WeatherConditionCode.js +19 -25
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/package.json +1 -1
- package/dist/esm/models/GeoControlPoint.d.ts +0 -50
- package/dist/esm/models/GeoControlPoint.js +0 -55
- package/dist/esm/models/MobileAppBanner.d.ts +0 -56
- package/dist/esm/models/MobileAppBanner.js +0 -59
- package/dist/esm/models/MobileAppResponse.d.ts +0 -34
- package/dist/esm/models/MobileAppResponse.js +0 -44
- package/dist/esm/models/TrailMap.d.ts +0 -91
- package/dist/esm/models/TrailMap.js +0 -81
- package/dist/esm/models/TrailMapElement.d.ts +0 -28
- package/dist/esm/models/TrailMapElement.js +0 -86
- package/dist/models/GeoControlPoint.d.ts +0 -50
- package/dist/models/GeoControlPoint.js +0 -62
- package/dist/models/MobileAppBanner.d.ts +0 -56
- package/dist/models/MobileAppBanner.js +0 -66
- package/dist/models/MobileAppResponse.d.ts +0 -34
- package/dist/models/MobileAppResponse.js +0 -51
- package/dist/models/TrailMap.d.ts +0 -91
- package/dist/models/TrailMap.js +0 -88
- package/dist/models/TrailMapElement.d.ts +0 -28
- package/dist/models/TrailMapElement.js +0 -92
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* MtnManager API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@mtnmanager.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { ResortInfoFromJSON, ResortInfoToJSON, } from './ResortInfo';
|
|
15
|
-
import { TrailMapElementFromJSON, TrailMapElementToJSON, } from './TrailMapElement';
|
|
16
|
-
import { SeasonTypeFromJSON, SeasonTypeToJSON, } from './SeasonType';
|
|
17
|
-
import { GeoControlPointFromJSON, GeoControlPointToJSON, } from './GeoControlPoint';
|
|
18
|
-
/**
|
|
19
|
-
* Check if a given object implements the TrailMap interface.
|
|
20
|
-
*/
|
|
21
|
-
export function instanceOfTrailMap(value) {
|
|
22
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
23
|
-
return false;
|
|
24
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
25
|
-
return false;
|
|
26
|
-
if (!('slug' in value) || value['slug'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('season' in value) || value['season'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if ((!('displayOrder' in value) && !('display_order' in value)) || (value['displayOrder'] === undefined && value['display_order'] === undefined))
|
|
31
|
-
return false;
|
|
32
|
-
if (!('version' in value) || value['version'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if ((!('backgroundImageUrl' in value) && !('background_image_url' in value)) || (value['backgroundImageUrl'] === undefined && value['background_image_url'] === undefined))
|
|
35
|
-
return false;
|
|
36
|
-
if (!('resort' in value) || value['resort'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('elements' in value) || value['elements'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
return true;
|
|
41
|
-
}
|
|
42
|
-
export function TrailMapFromJSON(json) {
|
|
43
|
-
return TrailMapFromJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
export function TrailMapFromJSONTyped(json, ignoreDiscriminator) {
|
|
46
|
-
if (json == null) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
return {
|
|
50
|
-
'uuid': json['uuid'],
|
|
51
|
-
'name': json['name'],
|
|
52
|
-
'slug': json['slug'],
|
|
53
|
-
'season': SeasonTypeFromJSON(json['season']),
|
|
54
|
-
'displayOrder': json['display_order'],
|
|
55
|
-
'version': json['version'],
|
|
56
|
-
'backgroundImageUrl': json['background_image_url'],
|
|
57
|
-
'resort': ResortInfoFromJSON(json['resort']),
|
|
58
|
-
'elements': (json['elements'].map(TrailMapElementFromJSON)),
|
|
59
|
-
'geoControlPoints': json['geo_control_points'] == null ? undefined : (json['geo_control_points'].map(GeoControlPointFromJSON)),
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
export function TrailMapToJSON(json) {
|
|
63
|
-
return TrailMapToJSONTyped(json, false);
|
|
64
|
-
}
|
|
65
|
-
export function TrailMapToJSONTyped(value, ignoreDiscriminator = false) {
|
|
66
|
-
if (value == null) {
|
|
67
|
-
return value;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
'uuid': value['uuid'],
|
|
71
|
-
'name': value['name'],
|
|
72
|
-
'slug': value['slug'],
|
|
73
|
-
'season': SeasonTypeToJSON(value['season']),
|
|
74
|
-
'display_order': value['displayOrder'],
|
|
75
|
-
'version': value['version'],
|
|
76
|
-
'background_image_url': value['backgroundImageUrl'],
|
|
77
|
-
'resort': ResortInfoToJSON(value['resort']),
|
|
78
|
-
'elements': (value['elements'].map(TrailMapElementToJSON)),
|
|
79
|
-
'geo_control_points': value['geoControlPoints'] == null ? undefined : (value['geoControlPoints'].map(GeoControlPointToJSON)),
|
|
80
|
-
};
|
|
81
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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 { TrailMapElementOneOf } from './TrailMapElementOneOf';
|
|
13
|
-
import type { TrailMapElementOneOf1 } from './TrailMapElementOneOf1';
|
|
14
|
-
import type { TrailMapElementOneOf2 } from './TrailMapElementOneOf2';
|
|
15
|
-
import type { TrailMapElementOneOf3 } from './TrailMapElementOneOf3';
|
|
16
|
-
import type { TrailMapElementOneOf4 } from './TrailMapElementOneOf4';
|
|
17
|
-
import type { TrailMapElementOneOf5 } from './TrailMapElementOneOf5';
|
|
18
|
-
import type { TrailMapElementOneOf6 } from './TrailMapElementOneOf6';
|
|
19
|
-
/**
|
|
20
|
-
* @type TrailMapElement
|
|
21
|
-
* A trail map element with full entity data from existing public models.
|
|
22
|
-
* @export
|
|
23
|
-
*/
|
|
24
|
-
export type TrailMapElement = TrailMapElementOneOf | TrailMapElementOneOf1 | TrailMapElementOneOf2 | TrailMapElementOneOf3 | TrailMapElementOneOf4 | TrailMapElementOneOf5 | TrailMapElementOneOf6;
|
|
25
|
-
export declare function TrailMapElementFromJSON(json: any): TrailMapElement;
|
|
26
|
-
export declare function TrailMapElementFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapElement;
|
|
27
|
-
export declare function TrailMapElementToJSON(json: any): any;
|
|
28
|
-
export declare function TrailMapElementToJSONTyped(value?: TrailMapElement | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* MtnManager API
|
|
5
|
-
* 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.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
* Contact: support@mtnmanager.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { instanceOfTrailMapElementOneOf, TrailMapElementOneOfFromJSONTyped, TrailMapElementOneOfToJSON, } from './TrailMapElementOneOf';
|
|
15
|
-
import { instanceOfTrailMapElementOneOf1, TrailMapElementOneOf1FromJSONTyped, TrailMapElementOneOf1ToJSON, } from './TrailMapElementOneOf1';
|
|
16
|
-
import { instanceOfTrailMapElementOneOf2, TrailMapElementOneOf2FromJSONTyped, TrailMapElementOneOf2ToJSON, } from './TrailMapElementOneOf2';
|
|
17
|
-
import { instanceOfTrailMapElementOneOf3, TrailMapElementOneOf3FromJSONTyped, TrailMapElementOneOf3ToJSON, } from './TrailMapElementOneOf3';
|
|
18
|
-
import { instanceOfTrailMapElementOneOf4, TrailMapElementOneOf4FromJSONTyped, TrailMapElementOneOf4ToJSON, } from './TrailMapElementOneOf4';
|
|
19
|
-
import { instanceOfTrailMapElementOneOf5, TrailMapElementOneOf5FromJSONTyped, TrailMapElementOneOf5ToJSON, } from './TrailMapElementOneOf5';
|
|
20
|
-
import { instanceOfTrailMapElementOneOf6, TrailMapElementOneOf6FromJSONTyped, TrailMapElementOneOf6ToJSON, } from './TrailMapElementOneOf6';
|
|
21
|
-
export function TrailMapElementFromJSON(json) {
|
|
22
|
-
return TrailMapElementFromJSONTyped(json, false);
|
|
23
|
-
}
|
|
24
|
-
export function TrailMapElementFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
-
if (json == null) {
|
|
26
|
-
return json;
|
|
27
|
-
}
|
|
28
|
-
if (typeof json !== 'object') {
|
|
29
|
-
return json;
|
|
30
|
-
}
|
|
31
|
-
if (instanceOfTrailMapElementOneOf(json)) {
|
|
32
|
-
return TrailMapElementOneOfFromJSONTyped(json, true);
|
|
33
|
-
}
|
|
34
|
-
if (instanceOfTrailMapElementOneOf1(json)) {
|
|
35
|
-
return TrailMapElementOneOf1FromJSONTyped(json, true);
|
|
36
|
-
}
|
|
37
|
-
if (instanceOfTrailMapElementOneOf2(json)) {
|
|
38
|
-
return TrailMapElementOneOf2FromJSONTyped(json, true);
|
|
39
|
-
}
|
|
40
|
-
if (instanceOfTrailMapElementOneOf3(json)) {
|
|
41
|
-
return TrailMapElementOneOf3FromJSONTyped(json, true);
|
|
42
|
-
}
|
|
43
|
-
if (instanceOfTrailMapElementOneOf4(json)) {
|
|
44
|
-
return TrailMapElementOneOf4FromJSONTyped(json, true);
|
|
45
|
-
}
|
|
46
|
-
if (instanceOfTrailMapElementOneOf5(json)) {
|
|
47
|
-
return TrailMapElementOneOf5FromJSONTyped(json, true);
|
|
48
|
-
}
|
|
49
|
-
if (instanceOfTrailMapElementOneOf6(json)) {
|
|
50
|
-
return TrailMapElementOneOf6FromJSONTyped(json, true);
|
|
51
|
-
}
|
|
52
|
-
return {};
|
|
53
|
-
}
|
|
54
|
-
export function TrailMapElementToJSON(json) {
|
|
55
|
-
return TrailMapElementToJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
export function TrailMapElementToJSONTyped(value, ignoreDiscriminator = false) {
|
|
58
|
-
if (value == null) {
|
|
59
|
-
return value;
|
|
60
|
-
}
|
|
61
|
-
if (typeof value !== 'object') {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
if (instanceOfTrailMapElementOneOf(value)) {
|
|
65
|
-
return TrailMapElementOneOfToJSON(value);
|
|
66
|
-
}
|
|
67
|
-
if (instanceOfTrailMapElementOneOf1(value)) {
|
|
68
|
-
return TrailMapElementOneOf1ToJSON(value);
|
|
69
|
-
}
|
|
70
|
-
if (instanceOfTrailMapElementOneOf2(value)) {
|
|
71
|
-
return TrailMapElementOneOf2ToJSON(value);
|
|
72
|
-
}
|
|
73
|
-
if (instanceOfTrailMapElementOneOf3(value)) {
|
|
74
|
-
return TrailMapElementOneOf3ToJSON(value);
|
|
75
|
-
}
|
|
76
|
-
if (instanceOfTrailMapElementOneOf4(value)) {
|
|
77
|
-
return TrailMapElementOneOf4ToJSON(value);
|
|
78
|
-
}
|
|
79
|
-
if (instanceOfTrailMapElementOneOf5(value)) {
|
|
80
|
-
return TrailMapElementOneOf5ToJSON(value);
|
|
81
|
-
}
|
|
82
|
-
if (instanceOfTrailMapElementOneOf6(value)) {
|
|
83
|
-
return TrailMapElementOneOf6ToJSON(value);
|
|
84
|
-
}
|
|
85
|
-
return {};
|
|
86
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
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
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface GeoControlPoint
|
|
16
|
-
*/
|
|
17
|
-
export interface GeoControlPoint {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof GeoControlPoint
|
|
22
|
-
*/
|
|
23
|
-
pixelX: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof GeoControlPoint
|
|
28
|
-
*/
|
|
29
|
-
pixelY: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof GeoControlPoint
|
|
34
|
-
*/
|
|
35
|
-
lat: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GeoControlPoint
|
|
40
|
-
*/
|
|
41
|
-
lng: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the GeoControlPoint interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfGeoControlPoint(value: object): value is GeoControlPoint;
|
|
47
|
-
export declare function GeoControlPointFromJSON(json: any): GeoControlPoint;
|
|
48
|
-
export declare function GeoControlPointFromJSONTyped(json: any, ignoreDiscriminator: boolean): GeoControlPoint;
|
|
49
|
-
export declare function GeoControlPointToJSON(json: any): GeoControlPoint;
|
|
50
|
-
export declare function GeoControlPointToJSONTyped(value?: GeoControlPoint | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +0,0 @@
|
|
|
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.instanceOfGeoControlPoint = instanceOfGeoControlPoint;
|
|
17
|
-
exports.GeoControlPointFromJSON = GeoControlPointFromJSON;
|
|
18
|
-
exports.GeoControlPointFromJSONTyped = GeoControlPointFromJSONTyped;
|
|
19
|
-
exports.GeoControlPointToJSON = GeoControlPointToJSON;
|
|
20
|
-
exports.GeoControlPointToJSONTyped = GeoControlPointToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the GeoControlPoint interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfGeoControlPoint(value) {
|
|
25
|
-
if ((!('pixelX' in value) && !('pixel_x' in value)) || (value['pixelX'] === undefined && value['pixel_x'] === undefined))
|
|
26
|
-
return false;
|
|
27
|
-
if ((!('pixelY' in value) && !('pixel_y' in value)) || (value['pixelY'] === undefined && value['pixel_y'] === undefined))
|
|
28
|
-
return false;
|
|
29
|
-
if (!('lat' in value) || value['lat'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('lng' in value) || value['lng'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function GeoControlPointFromJSON(json) {
|
|
36
|
-
return GeoControlPointFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function GeoControlPointFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'pixelX': json['pixel_x'],
|
|
44
|
-
'pixelY': json['pixel_y'],
|
|
45
|
-
'lat': json['lat'],
|
|
46
|
-
'lng': json['lng'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function GeoControlPointToJSON(json) {
|
|
50
|
-
return GeoControlPointToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function GeoControlPointToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
-
if (value == null) {
|
|
54
|
-
return value;
|
|
55
|
-
}
|
|
56
|
-
return {
|
|
57
|
-
'pixel_x': value['pixelX'],
|
|
58
|
-
'pixel_y': value['pixelY'],
|
|
59
|
-
'lat': value['lat'],
|
|
60
|
-
'lng': value['lng'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
* A banner shown in the mobile app.
|
|
14
|
-
* @export
|
|
15
|
-
* @interface MobileAppBanner
|
|
16
|
-
*/
|
|
17
|
-
export interface MobileAppBanner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MobileAppBanner
|
|
22
|
-
*/
|
|
23
|
-
title: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MobileAppBanner
|
|
28
|
-
*/
|
|
29
|
-
uuid: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof MobileAppBanner
|
|
34
|
-
*/
|
|
35
|
-
subtitle: string;
|
|
36
|
-
/**
|
|
37
|
-
* Full public URL of the banner image.
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof MobileAppBanner
|
|
40
|
-
*/
|
|
41
|
-
image: string;
|
|
42
|
-
/**
|
|
43
|
-
* Destination URL opened when the banner is tapped.
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof MobileAppBanner
|
|
46
|
-
*/
|
|
47
|
-
url: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the MobileAppBanner interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfMobileAppBanner(value: object): value is MobileAppBanner;
|
|
53
|
-
export declare function MobileAppBannerFromJSON(json: any): MobileAppBanner;
|
|
54
|
-
export declare function MobileAppBannerFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppBanner;
|
|
55
|
-
export declare function MobileAppBannerToJSON(json: any): MobileAppBanner;
|
|
56
|
-
export declare function MobileAppBannerToJSONTyped(value?: MobileAppBanner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,66 +0,0 @@
|
|
|
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.instanceOfMobileAppBanner = instanceOfMobileAppBanner;
|
|
17
|
-
exports.MobileAppBannerFromJSON = MobileAppBannerFromJSON;
|
|
18
|
-
exports.MobileAppBannerFromJSONTyped = MobileAppBannerFromJSONTyped;
|
|
19
|
-
exports.MobileAppBannerToJSON = MobileAppBannerToJSON;
|
|
20
|
-
exports.MobileAppBannerToJSONTyped = MobileAppBannerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the MobileAppBanner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfMobileAppBanner(value) {
|
|
25
|
-
if (!('title' in value) || value['title'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('subtitle' in value) || value['subtitle'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('image' in value) || value['image'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('url' in value) || value['url'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function MobileAppBannerFromJSON(json) {
|
|
38
|
-
return MobileAppBannerFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function MobileAppBannerFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'title': json['title'],
|
|
46
|
-
'uuid': json['uuid'],
|
|
47
|
-
'subtitle': json['subtitle'],
|
|
48
|
-
'image': json['image'],
|
|
49
|
-
'url': json['url'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function MobileAppBannerToJSON(json) {
|
|
53
|
-
return MobileAppBannerToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function MobileAppBannerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'title': value['title'],
|
|
61
|
-
'uuid': value['uuid'],
|
|
62
|
-
'subtitle': value['subtitle'],
|
|
63
|
-
'image': value['image'],
|
|
64
|
-
'url': value['url'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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 { MobileAppBanner } from './MobileAppBanner';
|
|
13
|
-
/**
|
|
14
|
-
* Aggregated mobile-app data for the resort. New mobile-app surface area is
|
|
15
|
-
* added as additional fields on this response.
|
|
16
|
-
* @export
|
|
17
|
-
* @interface MobileAppResponse
|
|
18
|
-
*/
|
|
19
|
-
export interface MobileAppResponse {
|
|
20
|
-
/**
|
|
21
|
-
* Banners shown in the mobile app, in display order.
|
|
22
|
-
* @type {Array<MobileAppBanner>}
|
|
23
|
-
* @memberof MobileAppResponse
|
|
24
|
-
*/
|
|
25
|
-
banners: Array<MobileAppBanner>;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* Check if a given object implements the MobileAppResponse interface.
|
|
29
|
-
*/
|
|
30
|
-
export declare function instanceOfMobileAppResponse(value: object): value is MobileAppResponse;
|
|
31
|
-
export declare function MobileAppResponseFromJSON(json: any): MobileAppResponse;
|
|
32
|
-
export declare function MobileAppResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppResponse;
|
|
33
|
-
export declare function MobileAppResponseToJSON(json: any): MobileAppResponse;
|
|
34
|
-
export declare function MobileAppResponseToJSONTyped(value?: MobileAppResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +0,0 @@
|
|
|
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.instanceOfMobileAppResponse = instanceOfMobileAppResponse;
|
|
17
|
-
exports.MobileAppResponseFromJSON = MobileAppResponseFromJSON;
|
|
18
|
-
exports.MobileAppResponseFromJSONTyped = MobileAppResponseFromJSONTyped;
|
|
19
|
-
exports.MobileAppResponseToJSON = MobileAppResponseToJSON;
|
|
20
|
-
exports.MobileAppResponseToJSONTyped = MobileAppResponseToJSONTyped;
|
|
21
|
-
const MobileAppBanner_1 = require("./MobileAppBanner");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the MobileAppResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfMobileAppResponse(value) {
|
|
26
|
-
if (!('banners' in value) || value['banners'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
return true;
|
|
29
|
-
}
|
|
30
|
-
function MobileAppResponseFromJSON(json) {
|
|
31
|
-
return MobileAppResponseFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
function MobileAppResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
-
if (json == null) {
|
|
35
|
-
return json;
|
|
36
|
-
}
|
|
37
|
-
return {
|
|
38
|
-
'banners': (json['banners'].map(MobileAppBanner_1.MobileAppBannerFromJSON)),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
function MobileAppResponseToJSON(json) {
|
|
42
|
-
return MobileAppResponseToJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function MobileAppResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'banners': (value['banners'].map(MobileAppBanner_1.MobileAppBannerToJSON)),
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,91 +0,0 @@
|
|
|
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 { ResortInfo } from './ResortInfo';
|
|
13
|
-
import type { TrailMapElement } from './TrailMapElement';
|
|
14
|
-
import type { SeasonType } from './SeasonType';
|
|
15
|
-
import type { GeoControlPoint } from './GeoControlPoint';
|
|
16
|
-
/**
|
|
17
|
-
* A public trail map with enriched entity data.
|
|
18
|
-
* @export
|
|
19
|
-
* @interface TrailMap
|
|
20
|
-
*/
|
|
21
|
-
export interface TrailMap {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof TrailMap
|
|
26
|
-
*/
|
|
27
|
-
uuid: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof TrailMap
|
|
32
|
-
*/
|
|
33
|
-
name: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof TrailMap
|
|
38
|
-
*/
|
|
39
|
-
slug: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {SeasonType}
|
|
43
|
-
* @memberof TrailMap
|
|
44
|
-
*/
|
|
45
|
-
season: SeasonType;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {number}
|
|
49
|
-
* @memberof TrailMap
|
|
50
|
-
*/
|
|
51
|
-
displayOrder: number;
|
|
52
|
-
/**
|
|
53
|
-
* Monotonically incremented on every update. Clients can compare this
|
|
54
|
-
* against a cached value to decide whether to reload the trail map.
|
|
55
|
-
* @type {number}
|
|
56
|
-
* @memberof TrailMap
|
|
57
|
-
*/
|
|
58
|
-
version: number;
|
|
59
|
-
/**
|
|
60
|
-
*
|
|
61
|
-
* @type {string}
|
|
62
|
-
* @memberof TrailMap
|
|
63
|
-
*/
|
|
64
|
-
backgroundImageUrl: string;
|
|
65
|
-
/**
|
|
66
|
-
*
|
|
67
|
-
* @type {ResortInfo}
|
|
68
|
-
* @memberof TrailMap
|
|
69
|
-
*/
|
|
70
|
-
resort: ResortInfo;
|
|
71
|
-
/**
|
|
72
|
-
*
|
|
73
|
-
* @type {Array<TrailMapElement>}
|
|
74
|
-
* @memberof TrailMap
|
|
75
|
-
*/
|
|
76
|
-
elements: Array<TrailMapElement>;
|
|
77
|
-
/**
|
|
78
|
-
*
|
|
79
|
-
* @type {Array<GeoControlPoint>}
|
|
80
|
-
* @memberof TrailMap
|
|
81
|
-
*/
|
|
82
|
-
geoControlPoints?: Array<GeoControlPoint> | null;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Check if a given object implements the TrailMap interface.
|
|
86
|
-
*/
|
|
87
|
-
export declare function instanceOfTrailMap(value: object): value is TrailMap;
|
|
88
|
-
export declare function TrailMapFromJSON(json: any): TrailMap;
|
|
89
|
-
export declare function TrailMapFromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMap;
|
|
90
|
-
export declare function TrailMapToJSON(json: any): TrailMap;
|
|
91
|
-
export declare function TrailMapToJSONTyped(value?: TrailMap | null, ignoreDiscriminator?: boolean): any;
|