@mtnmanager/sdk 1.4.5 → 1.4.7
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 +2 -4
- package/dist/esm/models/TrailMapElement.d.ts +3 -1
- package/dist/esm/models/TrailMapElement.js +14 -0
- package/dist/esm/models/TrailMapElementOneOf4.d.ts +42 -4
- package/dist/esm/models/TrailMapElementOneOf4.js +28 -5
- package/dist/esm/models/TrailMapElementOneOf5.d.ts +77 -0
- package/dist/esm/models/{PointMarkerOneOf1.js → TrailMapElementOneOf5.js} +16 -16
- package/dist/esm/models/TrailMapElementOneOf6.d.ts +82 -0
- package/dist/esm/models/{PointMarkerOneOf2.js → TrailMapElementOneOf6.js} +16 -16
- package/dist/esm/models/index.d.ts +2 -4
- package/dist/esm/models/index.js +2 -4
- package/dist/models/TrailMapElement.d.ts +3 -1
- package/dist/models/TrailMapElement.js +14 -0
- package/dist/models/TrailMapElementOneOf4.d.ts +42 -4
- package/dist/models/TrailMapElementOneOf4.js +28 -5
- package/dist/models/TrailMapElementOneOf5.d.ts +77 -0
- package/dist/models/{PointMarkerOneOf1.js → TrailMapElementOneOf5.js} +22 -22
- package/dist/models/TrailMapElementOneOf6.d.ts +82 -0
- package/dist/models/{PointMarkerOneOf2.js → TrailMapElementOneOf6.js} +22 -22
- package/dist/models/index.d.ts +2 -4
- package/dist/models/index.js +2 -4
- package/package.json +1 -1
- package/dist/esm/models/PointMarker.d.ts +0 -24
- package/dist/esm/models/PointMarker.js +0 -58
- package/dist/esm/models/PointMarkerOneOf.d.ts +0 -77
- package/dist/esm/models/PointMarkerOneOf.js +0 -71
- package/dist/esm/models/PointMarkerOneOf1.d.ts +0 -77
- package/dist/esm/models/PointMarkerOneOf2.d.ts +0 -82
- package/dist/models/PointMarker.d.ts +0 -24
- package/dist/models/PointMarker.js +0 -64
- package/dist/models/PointMarkerOneOf.d.ts +0 -77
- package/dist/models/PointMarkerOneOf.js +0 -79
- package/dist/models/PointMarkerOneOf1.d.ts +0 -77
- package/dist/models/PointMarkerOneOf2.d.ts +0 -82
|
@@ -1,71 +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 { AmenityFromJSON, AmenityToJSON, } from './Amenity';
|
|
15
|
-
import { MarkerIconFromJSON, MarkerIconToJSON, } from './MarkerIcon';
|
|
16
|
-
/**
|
|
17
|
-
* @export
|
|
18
|
-
*/
|
|
19
|
-
export const PointMarkerOneOfKindEnum = {
|
|
20
|
-
Amenity: 'amenity'
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the PointMarkerOneOf interface.
|
|
24
|
-
*/
|
|
25
|
-
export function instanceOfPointMarkerOneOf(value) {
|
|
26
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('x' in value) || value['x'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('y' in value) || value['y'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
if (!('kind' in value) || value['kind'] === undefined)
|
|
33
|
-
return false;
|
|
34
|
-
if (value['kind'] !== 'amenity')
|
|
35
|
-
return false;
|
|
36
|
-
return true;
|
|
37
|
-
}
|
|
38
|
-
export function PointMarkerOneOfFromJSON(json) {
|
|
39
|
-
return PointMarkerOneOfFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
export function PointMarkerOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'uuid': json['uuid'],
|
|
47
|
-
'x': json['x'],
|
|
48
|
-
'y': json['y'],
|
|
49
|
-
'icon': json['icon'] == null ? undefined : MarkerIconFromJSON(json['icon']),
|
|
50
|
-
'color': json['color'] == null ? undefined : json['color'],
|
|
51
|
-
'amenity': json['amenity'] == null ? undefined : AmenityFromJSON(json['amenity']),
|
|
52
|
-
'kind': json['kind'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
export function PointMarkerOneOfToJSON(json) {
|
|
56
|
-
return PointMarkerOneOfToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
export function PointMarkerOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'uuid': value['uuid'],
|
|
64
|
-
'x': value['x'],
|
|
65
|
-
'y': value['y'],
|
|
66
|
-
'icon': MarkerIconToJSON(value['icon']),
|
|
67
|
-
'color': value['color'],
|
|
68
|
-
'amenity': AmenityToJSON(value['amenity']),
|
|
69
|
-
'kind': value['kind'],
|
|
70
|
-
};
|
|
71
|
-
}
|
|
@@ -1,77 +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 { ParkingLot } from './ParkingLot';
|
|
13
|
-
import type { MarkerIcon } from './MarkerIcon';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PointMarkerOneOf1
|
|
18
|
-
*/
|
|
19
|
-
export interface PointMarkerOneOf1 {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof PointMarkerOneOf1
|
|
24
|
-
*/
|
|
25
|
-
uuid: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof PointMarkerOneOf1
|
|
30
|
-
*/
|
|
31
|
-
x: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof PointMarkerOneOf1
|
|
36
|
-
*/
|
|
37
|
-
y: number;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {MarkerIcon}
|
|
41
|
-
* @memberof PointMarkerOneOf1
|
|
42
|
-
*/
|
|
43
|
-
icon?: MarkerIcon | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof PointMarkerOneOf1
|
|
48
|
-
*/
|
|
49
|
-
color?: string | null;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {ParkingLot}
|
|
53
|
-
* @memberof PointMarkerOneOf1
|
|
54
|
-
*/
|
|
55
|
-
parkingLot?: ParkingLot | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {PointMarkerOneOf1KindEnum}
|
|
59
|
-
* @memberof PointMarkerOneOf1
|
|
60
|
-
*/
|
|
61
|
-
kind: PointMarkerOneOf1KindEnum;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export declare const PointMarkerOneOf1KindEnum: {
|
|
67
|
-
readonly ParkingLot: "parking_lot";
|
|
68
|
-
};
|
|
69
|
-
export type PointMarkerOneOf1KindEnum = typeof PointMarkerOneOf1KindEnum[keyof typeof PointMarkerOneOf1KindEnum];
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the PointMarkerOneOf1 interface.
|
|
72
|
-
*/
|
|
73
|
-
export declare function instanceOfPointMarkerOneOf1(value: object): value is PointMarkerOneOf1;
|
|
74
|
-
export declare function PointMarkerOneOf1FromJSON(json: any): PointMarkerOneOf1;
|
|
75
|
-
export declare function PointMarkerOneOf1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PointMarkerOneOf1;
|
|
76
|
-
export declare function PointMarkerOneOf1ToJSON(json: any): PointMarkerOneOf1;
|
|
77
|
-
export declare function PointMarkerOneOf1ToJSONTyped(value?: PointMarkerOneOf1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,82 +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 { MarkerIcon } from './MarkerIcon';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PointMarkerOneOf2
|
|
17
|
-
*/
|
|
18
|
-
export interface PointMarkerOneOf2 {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof PointMarkerOneOf2
|
|
23
|
-
*/
|
|
24
|
-
uuid: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof PointMarkerOneOf2
|
|
29
|
-
*/
|
|
30
|
-
x: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof PointMarkerOneOf2
|
|
35
|
-
*/
|
|
36
|
-
y: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {MarkerIcon}
|
|
40
|
-
* @memberof PointMarkerOneOf2
|
|
41
|
-
*/
|
|
42
|
-
icon?: MarkerIcon | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof PointMarkerOneOf2
|
|
47
|
-
*/
|
|
48
|
-
color?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof PointMarkerOneOf2
|
|
53
|
-
*/
|
|
54
|
-
label: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {boolean}
|
|
58
|
-
* @memberof PointMarkerOneOf2
|
|
59
|
-
*/
|
|
60
|
-
searchable?: boolean | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {PointMarkerOneOf2KindEnum}
|
|
64
|
-
* @memberof PointMarkerOneOf2
|
|
65
|
-
*/
|
|
66
|
-
kind: PointMarkerOneOf2KindEnum;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export declare const PointMarkerOneOf2KindEnum: {
|
|
72
|
-
readonly Generic: "generic";
|
|
73
|
-
};
|
|
74
|
-
export type PointMarkerOneOf2KindEnum = typeof PointMarkerOneOf2KindEnum[keyof typeof PointMarkerOneOf2KindEnum];
|
|
75
|
-
/**
|
|
76
|
-
* Check if a given object implements the PointMarkerOneOf2 interface.
|
|
77
|
-
*/
|
|
78
|
-
export declare function instanceOfPointMarkerOneOf2(value: object): value is PointMarkerOneOf2;
|
|
79
|
-
export declare function PointMarkerOneOf2FromJSON(json: any): PointMarkerOneOf2;
|
|
80
|
-
export declare function PointMarkerOneOf2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PointMarkerOneOf2;
|
|
81
|
-
export declare function PointMarkerOneOf2ToJSON(json: any): PointMarkerOneOf2;
|
|
82
|
-
export declare function PointMarkerOneOf2ToJSONTyped(value?: PointMarkerOneOf2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,24 +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 { PointMarkerOneOf } from './PointMarkerOneOf';
|
|
13
|
-
import type { PointMarkerOneOf1 } from './PointMarkerOneOf1';
|
|
14
|
-
import type { PointMarkerOneOf2 } from './PointMarkerOneOf2';
|
|
15
|
-
/**
|
|
16
|
-
* @type PointMarker
|
|
17
|
-
* A point marker on a trail map, enriched with entity data where applicable.
|
|
18
|
-
* @export
|
|
19
|
-
*/
|
|
20
|
-
export type PointMarker = PointMarkerOneOf | PointMarkerOneOf1 | PointMarkerOneOf2;
|
|
21
|
-
export declare function PointMarkerFromJSON(json: any): PointMarker;
|
|
22
|
-
export declare function PointMarkerFromJSONTyped(json: any, ignoreDiscriminator: boolean): PointMarker;
|
|
23
|
-
export declare function PointMarkerToJSON(json: any): any;
|
|
24
|
-
export declare function PointMarkerToJSONTyped(value?: PointMarker | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,64 +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.PointMarkerFromJSON = PointMarkerFromJSON;
|
|
17
|
-
exports.PointMarkerFromJSONTyped = PointMarkerFromJSONTyped;
|
|
18
|
-
exports.PointMarkerToJSON = PointMarkerToJSON;
|
|
19
|
-
exports.PointMarkerToJSONTyped = PointMarkerToJSONTyped;
|
|
20
|
-
const PointMarkerOneOf_1 = require("./PointMarkerOneOf");
|
|
21
|
-
const PointMarkerOneOf1_1 = require("./PointMarkerOneOf1");
|
|
22
|
-
const PointMarkerOneOf2_1 = require("./PointMarkerOneOf2");
|
|
23
|
-
function PointMarkerFromJSON(json) {
|
|
24
|
-
return PointMarkerFromJSONTyped(json, false);
|
|
25
|
-
}
|
|
26
|
-
function PointMarkerFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
-
if (json == null) {
|
|
28
|
-
return json;
|
|
29
|
-
}
|
|
30
|
-
if (typeof json !== 'object') {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
if ((0, PointMarkerOneOf_1.instanceOfPointMarkerOneOf)(json)) {
|
|
34
|
-
return (0, PointMarkerOneOf_1.PointMarkerOneOfFromJSONTyped)(json, true);
|
|
35
|
-
}
|
|
36
|
-
if ((0, PointMarkerOneOf1_1.instanceOfPointMarkerOneOf1)(json)) {
|
|
37
|
-
return (0, PointMarkerOneOf1_1.PointMarkerOneOf1FromJSONTyped)(json, true);
|
|
38
|
-
}
|
|
39
|
-
if ((0, PointMarkerOneOf2_1.instanceOfPointMarkerOneOf2)(json)) {
|
|
40
|
-
return (0, PointMarkerOneOf2_1.PointMarkerOneOf2FromJSONTyped)(json, true);
|
|
41
|
-
}
|
|
42
|
-
return {};
|
|
43
|
-
}
|
|
44
|
-
function PointMarkerToJSON(json) {
|
|
45
|
-
return PointMarkerToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function PointMarkerToJSONTyped(value, ignoreDiscriminator = false) {
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
if (typeof value !== 'object') {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
if ((0, PointMarkerOneOf_1.instanceOfPointMarkerOneOf)(value)) {
|
|
55
|
-
return (0, PointMarkerOneOf_1.PointMarkerOneOfToJSON)(value);
|
|
56
|
-
}
|
|
57
|
-
if ((0, PointMarkerOneOf1_1.instanceOfPointMarkerOneOf1)(value)) {
|
|
58
|
-
return (0, PointMarkerOneOf1_1.PointMarkerOneOf1ToJSON)(value);
|
|
59
|
-
}
|
|
60
|
-
if ((0, PointMarkerOneOf2_1.instanceOfPointMarkerOneOf2)(value)) {
|
|
61
|
-
return (0, PointMarkerOneOf2_1.PointMarkerOneOf2ToJSON)(value);
|
|
62
|
-
}
|
|
63
|
-
return {};
|
|
64
|
-
}
|
|
@@ -1,77 +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 { Amenity } from './Amenity';
|
|
13
|
-
import type { MarkerIcon } from './MarkerIcon';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PointMarkerOneOf
|
|
18
|
-
*/
|
|
19
|
-
export interface PointMarkerOneOf {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof PointMarkerOneOf
|
|
24
|
-
*/
|
|
25
|
-
uuid: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof PointMarkerOneOf
|
|
30
|
-
*/
|
|
31
|
-
x: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof PointMarkerOneOf
|
|
36
|
-
*/
|
|
37
|
-
y: number;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {MarkerIcon}
|
|
41
|
-
* @memberof PointMarkerOneOf
|
|
42
|
-
*/
|
|
43
|
-
icon?: MarkerIcon | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof PointMarkerOneOf
|
|
48
|
-
*/
|
|
49
|
-
color?: string | null;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {Amenity}
|
|
53
|
-
* @memberof PointMarkerOneOf
|
|
54
|
-
*/
|
|
55
|
-
amenity?: Amenity | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {PointMarkerOneOfKindEnum}
|
|
59
|
-
* @memberof PointMarkerOneOf
|
|
60
|
-
*/
|
|
61
|
-
kind: PointMarkerOneOfKindEnum;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export declare const PointMarkerOneOfKindEnum: {
|
|
67
|
-
readonly Amenity: "amenity";
|
|
68
|
-
};
|
|
69
|
-
export type PointMarkerOneOfKindEnum = typeof PointMarkerOneOfKindEnum[keyof typeof PointMarkerOneOfKindEnum];
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the PointMarkerOneOf interface.
|
|
72
|
-
*/
|
|
73
|
-
export declare function instanceOfPointMarkerOneOf(value: object): value is PointMarkerOneOf;
|
|
74
|
-
export declare function PointMarkerOneOfFromJSON(json: any): PointMarkerOneOf;
|
|
75
|
-
export declare function PointMarkerOneOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): PointMarkerOneOf;
|
|
76
|
-
export declare function PointMarkerOneOfToJSON(json: any): PointMarkerOneOf;
|
|
77
|
-
export declare function PointMarkerOneOfToJSONTyped(value?: PointMarkerOneOf | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,79 +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.PointMarkerOneOfKindEnum = void 0;
|
|
17
|
-
exports.instanceOfPointMarkerOneOf = instanceOfPointMarkerOneOf;
|
|
18
|
-
exports.PointMarkerOneOfFromJSON = PointMarkerOneOfFromJSON;
|
|
19
|
-
exports.PointMarkerOneOfFromJSONTyped = PointMarkerOneOfFromJSONTyped;
|
|
20
|
-
exports.PointMarkerOneOfToJSON = PointMarkerOneOfToJSON;
|
|
21
|
-
exports.PointMarkerOneOfToJSONTyped = PointMarkerOneOfToJSONTyped;
|
|
22
|
-
const Amenity_1 = require("./Amenity");
|
|
23
|
-
const MarkerIcon_1 = require("./MarkerIcon");
|
|
24
|
-
/**
|
|
25
|
-
* @export
|
|
26
|
-
*/
|
|
27
|
-
exports.PointMarkerOneOfKindEnum = {
|
|
28
|
-
Amenity: 'amenity'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the PointMarkerOneOf interface.
|
|
32
|
-
*/
|
|
33
|
-
function instanceOfPointMarkerOneOf(value) {
|
|
34
|
-
if (!('uuid' in value) || value['uuid'] === undefined)
|
|
35
|
-
return false;
|
|
36
|
-
if (!('x' in value) || value['x'] === undefined)
|
|
37
|
-
return false;
|
|
38
|
-
if (!('y' in value) || value['y'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('kind' in value) || value['kind'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (value['kind'] !== 'amenity')
|
|
43
|
-
return false;
|
|
44
|
-
return true;
|
|
45
|
-
}
|
|
46
|
-
function PointMarkerOneOfFromJSON(json) {
|
|
47
|
-
return PointMarkerOneOfFromJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function PointMarkerOneOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
'uuid': json['uuid'],
|
|
55
|
-
'x': json['x'],
|
|
56
|
-
'y': json['y'],
|
|
57
|
-
'icon': json['icon'] == null ? undefined : (0, MarkerIcon_1.MarkerIconFromJSON)(json['icon']),
|
|
58
|
-
'color': json['color'] == null ? undefined : json['color'],
|
|
59
|
-
'amenity': json['amenity'] == null ? undefined : (0, Amenity_1.AmenityFromJSON)(json['amenity']),
|
|
60
|
-
'kind': json['kind'],
|
|
61
|
-
};
|
|
62
|
-
}
|
|
63
|
-
function PointMarkerOneOfToJSON(json) {
|
|
64
|
-
return PointMarkerOneOfToJSONTyped(json, false);
|
|
65
|
-
}
|
|
66
|
-
function PointMarkerOneOfToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
-
if (value == null) {
|
|
68
|
-
return value;
|
|
69
|
-
}
|
|
70
|
-
return {
|
|
71
|
-
'uuid': value['uuid'],
|
|
72
|
-
'x': value['x'],
|
|
73
|
-
'y': value['y'],
|
|
74
|
-
'icon': (0, MarkerIcon_1.MarkerIconToJSON)(value['icon']),
|
|
75
|
-
'color': value['color'],
|
|
76
|
-
'amenity': (0, Amenity_1.AmenityToJSON)(value['amenity']),
|
|
77
|
-
'kind': value['kind'],
|
|
78
|
-
};
|
|
79
|
-
}
|
|
@@ -1,77 +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 { ParkingLot } from './ParkingLot';
|
|
13
|
-
import type { MarkerIcon } from './MarkerIcon';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface PointMarkerOneOf1
|
|
18
|
-
*/
|
|
19
|
-
export interface PointMarkerOneOf1 {
|
|
20
|
-
/**
|
|
21
|
-
*
|
|
22
|
-
* @type {string}
|
|
23
|
-
* @memberof PointMarkerOneOf1
|
|
24
|
-
*/
|
|
25
|
-
uuid: string;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @type {number}
|
|
29
|
-
* @memberof PointMarkerOneOf1
|
|
30
|
-
*/
|
|
31
|
-
x: number;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof PointMarkerOneOf1
|
|
36
|
-
*/
|
|
37
|
-
y: number;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {MarkerIcon}
|
|
41
|
-
* @memberof PointMarkerOneOf1
|
|
42
|
-
*/
|
|
43
|
-
icon?: MarkerIcon | null;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof PointMarkerOneOf1
|
|
48
|
-
*/
|
|
49
|
-
color?: string | null;
|
|
50
|
-
/**
|
|
51
|
-
*
|
|
52
|
-
* @type {ParkingLot}
|
|
53
|
-
* @memberof PointMarkerOneOf1
|
|
54
|
-
*/
|
|
55
|
-
parkingLot?: ParkingLot | null;
|
|
56
|
-
/**
|
|
57
|
-
*
|
|
58
|
-
* @type {PointMarkerOneOf1KindEnum}
|
|
59
|
-
* @memberof PointMarkerOneOf1
|
|
60
|
-
*/
|
|
61
|
-
kind: PointMarkerOneOf1KindEnum;
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* @export
|
|
65
|
-
*/
|
|
66
|
-
export declare const PointMarkerOneOf1KindEnum: {
|
|
67
|
-
readonly ParkingLot: "parking_lot";
|
|
68
|
-
};
|
|
69
|
-
export type PointMarkerOneOf1KindEnum = typeof PointMarkerOneOf1KindEnum[keyof typeof PointMarkerOneOf1KindEnum];
|
|
70
|
-
/**
|
|
71
|
-
* Check if a given object implements the PointMarkerOneOf1 interface.
|
|
72
|
-
*/
|
|
73
|
-
export declare function instanceOfPointMarkerOneOf1(value: object): value is PointMarkerOneOf1;
|
|
74
|
-
export declare function PointMarkerOneOf1FromJSON(json: any): PointMarkerOneOf1;
|
|
75
|
-
export declare function PointMarkerOneOf1FromJSONTyped(json: any, ignoreDiscriminator: boolean): PointMarkerOneOf1;
|
|
76
|
-
export declare function PointMarkerOneOf1ToJSON(json: any): PointMarkerOneOf1;
|
|
77
|
-
export declare function PointMarkerOneOf1ToJSONTyped(value?: PointMarkerOneOf1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,82 +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 { MarkerIcon } from './MarkerIcon';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PointMarkerOneOf2
|
|
17
|
-
*/
|
|
18
|
-
export interface PointMarkerOneOf2 {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof PointMarkerOneOf2
|
|
23
|
-
*/
|
|
24
|
-
uuid: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof PointMarkerOneOf2
|
|
29
|
-
*/
|
|
30
|
-
x: number;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof PointMarkerOneOf2
|
|
35
|
-
*/
|
|
36
|
-
y: number;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {MarkerIcon}
|
|
40
|
-
* @memberof PointMarkerOneOf2
|
|
41
|
-
*/
|
|
42
|
-
icon?: MarkerIcon | null;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof PointMarkerOneOf2
|
|
47
|
-
*/
|
|
48
|
-
color?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof PointMarkerOneOf2
|
|
53
|
-
*/
|
|
54
|
-
label: string;
|
|
55
|
-
/**
|
|
56
|
-
*
|
|
57
|
-
* @type {boolean}
|
|
58
|
-
* @memberof PointMarkerOneOf2
|
|
59
|
-
*/
|
|
60
|
-
searchable?: boolean | null;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @type {PointMarkerOneOf2KindEnum}
|
|
64
|
-
* @memberof PointMarkerOneOf2
|
|
65
|
-
*/
|
|
66
|
-
kind: PointMarkerOneOf2KindEnum;
|
|
67
|
-
}
|
|
68
|
-
/**
|
|
69
|
-
* @export
|
|
70
|
-
*/
|
|
71
|
-
export declare const PointMarkerOneOf2KindEnum: {
|
|
72
|
-
readonly Generic: "generic";
|
|
73
|
-
};
|
|
74
|
-
export type PointMarkerOneOf2KindEnum = typeof PointMarkerOneOf2KindEnum[keyof typeof PointMarkerOneOf2KindEnum];
|
|
75
|
-
/**
|
|
76
|
-
* Check if a given object implements the PointMarkerOneOf2 interface.
|
|
77
|
-
*/
|
|
78
|
-
export declare function instanceOfPointMarkerOneOf2(value: object): value is PointMarkerOneOf2;
|
|
79
|
-
export declare function PointMarkerOneOf2FromJSON(json: any): PointMarkerOneOf2;
|
|
80
|
-
export declare function PointMarkerOneOf2FromJSONTyped(json: any, ignoreDiscriminator: boolean): PointMarkerOneOf2;
|
|
81
|
-
export declare function PointMarkerOneOf2ToJSON(json: any): PointMarkerOneOf2;
|
|
82
|
-
export declare function PointMarkerOneOf2ToJSONTyped(value?: PointMarkerOneOf2 | null, ignoreDiscriminator?: boolean): any;
|