@mtnmanager/sdk 1.4.6 → 1.4.8

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.
Files changed (40) hide show
  1. package/README.md +9 -6
  2. package/dist/apis/MtnManagerApi.d.ts +135 -72
  3. package/dist/apis/MtnManagerApi.js +111 -72
  4. package/dist/esm/apis/MtnManagerApi.d.ts +135 -72
  5. package/dist/esm/apis/MtnManagerApi.js +111 -72
  6. package/dist/esm/models/Schedule.d.ts +1 -1
  7. package/dist/esm/models/TrailMapElement.d.ts +3 -1
  8. package/dist/esm/models/TrailMapElement.js +14 -0
  9. package/dist/esm/models/TrailMapElementOneOf4.d.ts +48 -4
  10. package/dist/esm/models/TrailMapElementOneOf4.js +30 -5
  11. package/dist/esm/models/TrailMapElementOneOf5.d.ts +83 -0
  12. package/dist/esm/models/{PointMarkerOneOf1.js → TrailMapElementOneOf5.js} +18 -16
  13. package/dist/esm/models/TrailMapElementOneOf6.d.ts +88 -0
  14. package/dist/esm/models/{PointMarkerOneOf2.js → TrailMapElementOneOf6.js} +18 -16
  15. package/dist/esm/models/index.d.ts +2 -4
  16. package/dist/esm/models/index.js +2 -4
  17. package/dist/models/Schedule.d.ts +1 -1
  18. package/dist/models/TrailMapElement.d.ts +3 -1
  19. package/dist/models/TrailMapElement.js +14 -0
  20. package/dist/models/TrailMapElementOneOf4.d.ts +48 -4
  21. package/dist/models/TrailMapElementOneOf4.js +30 -5
  22. package/dist/models/TrailMapElementOneOf5.d.ts +83 -0
  23. package/dist/models/{PointMarkerOneOf1.js → TrailMapElementOneOf5.js} +24 -22
  24. package/dist/models/TrailMapElementOneOf6.d.ts +88 -0
  25. package/dist/models/{PointMarkerOneOf2.js → TrailMapElementOneOf6.js} +24 -22
  26. package/dist/models/index.d.ts +2 -4
  27. package/dist/models/index.js +2 -4
  28. package/package.json +1 -1
  29. package/dist/esm/models/PointMarker.d.ts +0 -24
  30. package/dist/esm/models/PointMarker.js +0 -58
  31. package/dist/esm/models/PointMarkerOneOf.d.ts +0 -77
  32. package/dist/esm/models/PointMarkerOneOf.js +0 -71
  33. package/dist/esm/models/PointMarkerOneOf1.d.ts +0 -77
  34. package/dist/esm/models/PointMarkerOneOf2.d.ts +0 -82
  35. package/dist/models/PointMarker.d.ts +0 -24
  36. package/dist/models/PointMarker.js +0 -64
  37. package/dist/models/PointMarkerOneOf.d.ts +0 -77
  38. package/dist/models/PointMarkerOneOf.js +0 -79
  39. package/dist/models/PointMarkerOneOf1.d.ts +0 -77
  40. package/dist/models/PointMarkerOneOf2.d.ts +0 -82
@@ -13,67 +13,69 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PointMarkerOneOf1KindEnum = void 0;
17
- exports.instanceOfPointMarkerOneOf1 = instanceOfPointMarkerOneOf1;
18
- exports.PointMarkerOneOf1FromJSON = PointMarkerOneOf1FromJSON;
19
- exports.PointMarkerOneOf1FromJSONTyped = PointMarkerOneOf1FromJSONTyped;
20
- exports.PointMarkerOneOf1ToJSON = PointMarkerOneOf1ToJSON;
21
- exports.PointMarkerOneOf1ToJSONTyped = PointMarkerOneOf1ToJSONTyped;
16
+ exports.TrailMapElementOneOf5TypeEnum = void 0;
17
+ exports.instanceOfTrailMapElementOneOf5 = instanceOfTrailMapElementOneOf5;
18
+ exports.TrailMapElementOneOf5FromJSON = TrailMapElementOneOf5FromJSON;
19
+ exports.TrailMapElementOneOf5FromJSONTyped = TrailMapElementOneOf5FromJSONTyped;
20
+ exports.TrailMapElementOneOf5ToJSON = TrailMapElementOneOf5ToJSON;
21
+ exports.TrailMapElementOneOf5ToJSONTyped = TrailMapElementOneOf5ToJSONTyped;
22
22
  const ParkingLot_1 = require("./ParkingLot");
23
23
  const MarkerIcon_1 = require("./MarkerIcon");
24
24
  /**
25
25
  * @export
26
26
  */
27
- exports.PointMarkerOneOf1KindEnum = {
28
- ParkingLot: 'parking_lot'
27
+ exports.TrailMapElementOneOf5TypeEnum = {
28
+ ParkingLotMarker: 'parking_lot_marker'
29
29
  };
30
30
  /**
31
- * Check if a given object implements the PointMarkerOneOf1 interface.
31
+ * Check if a given object implements the TrailMapElementOneOf5 interface.
32
32
  */
33
- function instanceOfPointMarkerOneOf1(value) {
33
+ function instanceOfTrailMapElementOneOf5(value) {
34
+ if (!('type' in value) || value['type'] === undefined)
35
+ return false;
36
+ if (value['type'] !== 'parking_lot_marker')
37
+ return false;
34
38
  if (!('uuid' in value) || value['uuid'] === undefined)
35
39
  return false;
36
40
  if (!('x' in value) || value['x'] === undefined)
37
41
  return false;
38
42
  if (!('y' in value) || value['y'] === undefined)
39
43
  return false;
40
- if (!('kind' in value) || value['kind'] === undefined)
41
- return false;
42
- if (value['kind'] !== 'parking_lot')
43
- return false;
44
44
  return true;
45
45
  }
46
- function PointMarkerOneOf1FromJSON(json) {
47
- return PointMarkerOneOf1FromJSONTyped(json, false);
46
+ function TrailMapElementOneOf5FromJSON(json) {
47
+ return TrailMapElementOneOf5FromJSONTyped(json, false);
48
48
  }
49
- function PointMarkerOneOf1FromJSONTyped(json, ignoreDiscriminator) {
49
+ function TrailMapElementOneOf5FromJSONTyped(json, ignoreDiscriminator) {
50
50
  if (json == null) {
51
51
  return json;
52
52
  }
53
53
  return {
54
+ 'type': json['type'],
54
55
  'uuid': json['uuid'],
55
56
  'x': json['x'],
56
57
  'y': json['y'],
57
58
  'icon': json['icon'] == null ? undefined : (0, MarkerIcon_1.MarkerIconFromJSON)(json['icon']),
58
59
  'color': json['color'] == null ? undefined : json['color'],
59
60
  'parkingLot': json['parking_lot'] == null ? undefined : (0, ParkingLot_1.ParkingLotFromJSON)(json['parking_lot']),
60
- 'kind': json['kind'],
61
+ 'groupLabel': json['group_label'] == null ? undefined : json['group_label'],
61
62
  };
62
63
  }
63
- function PointMarkerOneOf1ToJSON(json) {
64
- return PointMarkerOneOf1ToJSONTyped(json, false);
64
+ function TrailMapElementOneOf5ToJSON(json) {
65
+ return TrailMapElementOneOf5ToJSONTyped(json, false);
65
66
  }
66
- function PointMarkerOneOf1ToJSONTyped(value, ignoreDiscriminator = false) {
67
+ function TrailMapElementOneOf5ToJSONTyped(value, ignoreDiscriminator = false) {
67
68
  if (value == null) {
68
69
  return value;
69
70
  }
70
71
  return {
72
+ 'type': value['type'],
71
73
  'uuid': value['uuid'],
72
74
  'x': value['x'],
73
75
  'y': value['y'],
74
76
  'icon': (0, MarkerIcon_1.MarkerIconToJSON)(value['icon']),
75
77
  'color': value['color'],
76
78
  'parking_lot': (0, ParkingLot_1.ParkingLotToJSON)(value['parkingLot']),
77
- 'kind': value['kind'],
79
+ 'group_label': value['groupLabel'],
78
80
  };
79
81
  }
@@ -0,0 +1,88 @@
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 TrailMapElementOneOf6
17
+ */
18
+ export interface TrailMapElementOneOf6 {
19
+ /**
20
+ *
21
+ * @type {TrailMapElementOneOf6TypeEnum}
22
+ * @memberof TrailMapElementOneOf6
23
+ */
24
+ type: TrailMapElementOneOf6TypeEnum;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TrailMapElementOneOf6
29
+ */
30
+ uuid: string;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof TrailMapElementOneOf6
35
+ */
36
+ x: number;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof TrailMapElementOneOf6
41
+ */
42
+ y: number;
43
+ /**
44
+ *
45
+ * @type {MarkerIcon}
46
+ * @memberof TrailMapElementOneOf6
47
+ */
48
+ icon?: MarkerIcon | null;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof TrailMapElementOneOf6
53
+ */
54
+ color?: string | null;
55
+ /**
56
+ *
57
+ * @type {string}
58
+ * @memberof TrailMapElementOneOf6
59
+ */
60
+ label: string;
61
+ /**
62
+ *
63
+ * @type {boolean}
64
+ * @memberof TrailMapElementOneOf6
65
+ */
66
+ searchable?: boolean | null;
67
+ /**
68
+ *
69
+ * @type {string}
70
+ * @memberof TrailMapElementOneOf6
71
+ */
72
+ groupLabel?: string | null;
73
+ }
74
+ /**
75
+ * @export
76
+ */
77
+ export declare const TrailMapElementOneOf6TypeEnum: {
78
+ readonly GenericMarker: "generic_marker";
79
+ };
80
+ export type TrailMapElementOneOf6TypeEnum = typeof TrailMapElementOneOf6TypeEnum[keyof typeof TrailMapElementOneOf6TypeEnum];
81
+ /**
82
+ * Check if a given object implements the TrailMapElementOneOf6 interface.
83
+ */
84
+ export declare function instanceOfTrailMapElementOneOf6(value: object): value is TrailMapElementOneOf6;
85
+ export declare function TrailMapElementOneOf6FromJSON(json: any): TrailMapElementOneOf6;
86
+ export declare function TrailMapElementOneOf6FromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapElementOneOf6;
87
+ export declare function TrailMapElementOneOf6ToJSON(json: any): TrailMapElementOneOf6;
88
+ export declare function TrailMapElementOneOf6ToJSONTyped(value?: TrailMapElementOneOf6 | null, ignoreDiscriminator?: boolean): any;
@@ -13,23 +13,27 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.PointMarkerOneOf2KindEnum = void 0;
17
- exports.instanceOfPointMarkerOneOf2 = instanceOfPointMarkerOneOf2;
18
- exports.PointMarkerOneOf2FromJSON = PointMarkerOneOf2FromJSON;
19
- exports.PointMarkerOneOf2FromJSONTyped = PointMarkerOneOf2FromJSONTyped;
20
- exports.PointMarkerOneOf2ToJSON = PointMarkerOneOf2ToJSON;
21
- exports.PointMarkerOneOf2ToJSONTyped = PointMarkerOneOf2ToJSONTyped;
16
+ exports.TrailMapElementOneOf6TypeEnum = void 0;
17
+ exports.instanceOfTrailMapElementOneOf6 = instanceOfTrailMapElementOneOf6;
18
+ exports.TrailMapElementOneOf6FromJSON = TrailMapElementOneOf6FromJSON;
19
+ exports.TrailMapElementOneOf6FromJSONTyped = TrailMapElementOneOf6FromJSONTyped;
20
+ exports.TrailMapElementOneOf6ToJSON = TrailMapElementOneOf6ToJSON;
21
+ exports.TrailMapElementOneOf6ToJSONTyped = TrailMapElementOneOf6ToJSONTyped;
22
22
  const MarkerIcon_1 = require("./MarkerIcon");
23
23
  /**
24
24
  * @export
25
25
  */
26
- exports.PointMarkerOneOf2KindEnum = {
27
- Generic: 'generic'
26
+ exports.TrailMapElementOneOf6TypeEnum = {
27
+ GenericMarker: 'generic_marker'
28
28
  };
29
29
  /**
30
- * Check if a given object implements the PointMarkerOneOf2 interface.
30
+ * Check if a given object implements the TrailMapElementOneOf6 interface.
31
31
  */
32
- function instanceOfPointMarkerOneOf2(value) {
32
+ function instanceOfTrailMapElementOneOf6(value) {
33
+ if (!('type' in value) || value['type'] === undefined)
34
+ return false;
35
+ if (value['type'] !== 'generic_marker')
36
+ return false;
33
37
  if (!('uuid' in value) || value['uuid'] === undefined)
34
38
  return false;
35
39
  if (!('x' in value) || value['x'] === undefined)
@@ -38,20 +42,17 @@ function instanceOfPointMarkerOneOf2(value) {
38
42
  return false;
39
43
  if (!('label' in value) || value['label'] === undefined)
40
44
  return false;
41
- if (!('kind' in value) || value['kind'] === undefined)
42
- return false;
43
- if (value['kind'] !== 'generic')
44
- return false;
45
45
  return true;
46
46
  }
47
- function PointMarkerOneOf2FromJSON(json) {
48
- return PointMarkerOneOf2FromJSONTyped(json, false);
47
+ function TrailMapElementOneOf6FromJSON(json) {
48
+ return TrailMapElementOneOf6FromJSONTyped(json, false);
49
49
  }
50
- function PointMarkerOneOf2FromJSONTyped(json, ignoreDiscriminator) {
50
+ function TrailMapElementOneOf6FromJSONTyped(json, ignoreDiscriminator) {
51
51
  if (json == null) {
52
52
  return json;
53
53
  }
54
54
  return {
55
+ 'type': json['type'],
55
56
  'uuid': json['uuid'],
56
57
  'x': json['x'],
57
58
  'y': json['y'],
@@ -59,17 +60,18 @@ function PointMarkerOneOf2FromJSONTyped(json, ignoreDiscriminator) {
59
60
  'color': json['color'] == null ? undefined : json['color'],
60
61
  'label': json['label'],
61
62
  'searchable': json['searchable'] == null ? undefined : json['searchable'],
62
- 'kind': json['kind'],
63
+ 'groupLabel': json['group_label'] == null ? undefined : json['group_label'],
63
64
  };
64
65
  }
65
- function PointMarkerOneOf2ToJSON(json) {
66
- return PointMarkerOneOf2ToJSONTyped(json, false);
66
+ function TrailMapElementOneOf6ToJSON(json) {
67
+ return TrailMapElementOneOf6ToJSONTyped(json, false);
67
68
  }
68
- function PointMarkerOneOf2ToJSONTyped(value, ignoreDiscriminator = false) {
69
+ function TrailMapElementOneOf6ToJSONTyped(value, ignoreDiscriminator = false) {
69
70
  if (value == null) {
70
71
  return value;
71
72
  }
72
73
  return {
74
+ 'type': value['type'],
73
75
  'uuid': value['uuid'],
74
76
  'x': value['x'],
75
77
  'y': value['y'],
@@ -77,6 +79,6 @@ function PointMarkerOneOf2ToJSONTyped(value, ignoreDiscriminator = false) {
77
79
  'color': value['color'],
78
80
  'label': value['label'],
79
81
  'searchable': value['searchable'],
80
- 'kind': value['kind'],
82
+ 'group_label': value['groupLabel'],
81
83
  };
82
84
  }
@@ -35,10 +35,6 @@ export * from './OverviewTerrainParks';
35
35
  export * from './ParkingLot';
36
36
  export * from './ParkingLotStatus';
37
37
  export * from './PathUuid';
38
- export * from './PointMarker';
39
- export * from './PointMarkerOneOf';
40
- export * from './PointMarkerOneOf1';
41
- export * from './PointMarkerOneOf2';
42
38
  export * from './Region';
43
39
  export * from './ResortInfo';
44
40
  export * from './ResortStatus';
@@ -65,6 +61,8 @@ export * from './TrailMapElementOneOf1';
65
61
  export * from './TrailMapElementOneOf2';
66
62
  export * from './TrailMapElementOneOf3';
67
63
  export * from './TrailMapElementOneOf4';
64
+ export * from './TrailMapElementOneOf5';
65
+ export * from './TrailMapElementOneOf6';
68
66
  export * from './TrailMapSummary';
69
67
  export * from './UnitPreference';
70
68
  export * from './Weather';
@@ -53,10 +53,6 @@ __exportStar(require("./OverviewTerrainParks"), exports);
53
53
  __exportStar(require("./ParkingLot"), exports);
54
54
  __exportStar(require("./ParkingLotStatus"), exports);
55
55
  __exportStar(require("./PathUuid"), exports);
56
- __exportStar(require("./PointMarker"), exports);
57
- __exportStar(require("./PointMarkerOneOf"), exports);
58
- __exportStar(require("./PointMarkerOneOf1"), exports);
59
- __exportStar(require("./PointMarkerOneOf2"), exports);
60
56
  __exportStar(require("./Region"), exports);
61
57
  __exportStar(require("./ResortInfo"), exports);
62
58
  __exportStar(require("./ResortStatus"), exports);
@@ -83,6 +79,8 @@ __exportStar(require("./TrailMapElementOneOf1"), exports);
83
79
  __exportStar(require("./TrailMapElementOneOf2"), exports);
84
80
  __exportStar(require("./TrailMapElementOneOf3"), exports);
85
81
  __exportStar(require("./TrailMapElementOneOf4"), exports);
82
+ __exportStar(require("./TrailMapElementOneOf5"), exports);
83
+ __exportStar(require("./TrailMapElementOneOf6"), exports);
86
84
  __exportStar(require("./TrailMapSummary"), exports);
87
85
  __exportStar(require("./UnitPreference"), exports);
88
86
  __exportStar(require("./Weather"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "1.4.6",
3
+ "version": "1.4.8",
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",
@@ -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,58 +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 { instanceOfPointMarkerOneOf, PointMarkerOneOfFromJSONTyped, PointMarkerOneOfToJSON, } from './PointMarkerOneOf';
15
- import { instanceOfPointMarkerOneOf1, PointMarkerOneOf1FromJSONTyped, PointMarkerOneOf1ToJSON, } from './PointMarkerOneOf1';
16
- import { instanceOfPointMarkerOneOf2, PointMarkerOneOf2FromJSONTyped, PointMarkerOneOf2ToJSON, } from './PointMarkerOneOf2';
17
- export function PointMarkerFromJSON(json) {
18
- return PointMarkerFromJSONTyped(json, false);
19
- }
20
- export function PointMarkerFromJSONTyped(json, ignoreDiscriminator) {
21
- if (json == null) {
22
- return json;
23
- }
24
- if (typeof json !== 'object') {
25
- return json;
26
- }
27
- if (instanceOfPointMarkerOneOf(json)) {
28
- return PointMarkerOneOfFromJSONTyped(json, true);
29
- }
30
- if (instanceOfPointMarkerOneOf1(json)) {
31
- return PointMarkerOneOf1FromJSONTyped(json, true);
32
- }
33
- if (instanceOfPointMarkerOneOf2(json)) {
34
- return PointMarkerOneOf2FromJSONTyped(json, true);
35
- }
36
- return {};
37
- }
38
- export function PointMarkerToJSON(json) {
39
- return PointMarkerToJSONTyped(json, false);
40
- }
41
- export function PointMarkerToJSONTyped(value, ignoreDiscriminator = false) {
42
- if (value == null) {
43
- return value;
44
- }
45
- if (typeof value !== 'object') {
46
- return value;
47
- }
48
- if (instanceOfPointMarkerOneOf(value)) {
49
- return PointMarkerOneOfToJSON(value);
50
- }
51
- if (instanceOfPointMarkerOneOf1(value)) {
52
- return PointMarkerOneOf1ToJSON(value);
53
- }
54
- if (instanceOfPointMarkerOneOf2(value)) {
55
- return PointMarkerOneOf2ToJSON(value);
56
- }
57
- return {};
58
- }
@@ -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,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;