@mtnmanager/sdk 1.4.6 → 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.
Files changed (34) hide show
  1. package/README.md +2 -4
  2. package/dist/esm/models/TrailMapElement.d.ts +3 -1
  3. package/dist/esm/models/TrailMapElement.js +14 -0
  4. package/dist/esm/models/TrailMapElementOneOf4.d.ts +42 -4
  5. package/dist/esm/models/TrailMapElementOneOf4.js +28 -5
  6. package/dist/esm/models/TrailMapElementOneOf5.d.ts +77 -0
  7. package/dist/esm/models/{PointMarkerOneOf1.js → TrailMapElementOneOf5.js} +16 -16
  8. package/dist/esm/models/TrailMapElementOneOf6.d.ts +82 -0
  9. package/dist/esm/models/{PointMarkerOneOf2.js → TrailMapElementOneOf6.js} +16 -16
  10. package/dist/esm/models/index.d.ts +2 -4
  11. package/dist/esm/models/index.js +2 -4
  12. package/dist/models/TrailMapElement.d.ts +3 -1
  13. package/dist/models/TrailMapElement.js +14 -0
  14. package/dist/models/TrailMapElementOneOf4.d.ts +42 -4
  15. package/dist/models/TrailMapElementOneOf4.js +28 -5
  16. package/dist/models/TrailMapElementOneOf5.d.ts +77 -0
  17. package/dist/models/{PointMarkerOneOf1.js → TrailMapElementOneOf5.js} +22 -22
  18. package/dist/models/TrailMapElementOneOf6.d.ts +82 -0
  19. package/dist/models/{PointMarkerOneOf2.js → TrailMapElementOneOf6.js} +22 -22
  20. package/dist/models/index.d.ts +2 -4
  21. package/dist/models/index.js +2 -4
  22. package/package.json +1 -1
  23. package/dist/esm/models/PointMarker.d.ts +0 -24
  24. package/dist/esm/models/PointMarker.js +0 -58
  25. package/dist/esm/models/PointMarkerOneOf.d.ts +0 -77
  26. package/dist/esm/models/PointMarkerOneOf.js +0 -71
  27. package/dist/esm/models/PointMarkerOneOf1.d.ts +0 -77
  28. package/dist/esm/models/PointMarkerOneOf2.d.ts +0 -82
  29. package/dist/models/PointMarker.d.ts +0 -24
  30. package/dist/models/PointMarker.js +0 -64
  31. package/dist/models/PointMarkerOneOf.d.ts +0 -77
  32. package/dist/models/PointMarkerOneOf.js +0 -79
  33. package/dist/models/PointMarkerOneOf1.d.ts +0 -77
  34. package/dist/models/PointMarkerOneOf2.d.ts +0 -82
@@ -19,12 +19,13 @@ exports.TrailMapElementOneOf4FromJSON = TrailMapElementOneOf4FromJSON;
19
19
  exports.TrailMapElementOneOf4FromJSONTyped = TrailMapElementOneOf4FromJSONTyped;
20
20
  exports.TrailMapElementOneOf4ToJSON = TrailMapElementOneOf4ToJSON;
21
21
  exports.TrailMapElementOneOf4ToJSONTyped = TrailMapElementOneOf4ToJSONTyped;
22
- const PointMarker_1 = require("./PointMarker");
22
+ const Amenity_1 = require("./Amenity");
23
+ const MarkerIcon_1 = require("./MarkerIcon");
23
24
  /**
24
25
  * @export
25
26
  */
26
27
  exports.TrailMapElementOneOf4TypeEnum = {
27
- PointMarker: 'point_marker'
28
+ AmenityMarker: 'amenity_marker'
28
29
  };
29
30
  /**
30
31
  * Check if a given object implements the TrailMapElementOneOf4 interface.
@@ -32,7 +33,13 @@ exports.TrailMapElementOneOf4TypeEnum = {
32
33
  function instanceOfTrailMapElementOneOf4(value) {
33
34
  if (!('type' in value) || value['type'] === undefined)
34
35
  return false;
35
- if (value['type'] !== 'point_marker')
36
+ if (value['type'] !== 'amenity_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)
36
43
  return false;
37
44
  return true;
38
45
  }
@@ -43,7 +50,15 @@ function TrailMapElementOneOf4FromJSONTyped(json, ignoreDiscriminator) {
43
50
  if (json == null) {
44
51
  return json;
45
52
  }
46
- return Object.assign(Object.assign({}, (0, PointMarker_1.PointMarkerFromJSONTyped)(json, true)), { 'type': json['type'] });
53
+ return {
54
+ 'type': json['type'],
55
+ 'uuid': json['uuid'],
56
+ 'x': json['x'],
57
+ 'y': json['y'],
58
+ 'icon': json['icon'] == null ? undefined : (0, MarkerIcon_1.MarkerIconFromJSON)(json['icon']),
59
+ 'color': json['color'] == null ? undefined : json['color'],
60
+ 'amenity': json['amenity'] == null ? undefined : (0, Amenity_1.AmenityFromJSON)(json['amenity']),
61
+ };
47
62
  }
48
63
  function TrailMapElementOneOf4ToJSON(json) {
49
64
  return TrailMapElementOneOf4ToJSONTyped(json, false);
@@ -52,5 +67,13 @@ function TrailMapElementOneOf4ToJSONTyped(value, ignoreDiscriminator = false) {
52
67
  if (value == null) {
53
68
  return value;
54
69
  }
55
- return Object.assign(Object.assign({}, (0, PointMarker_1.PointMarkerToJSONTyped)(value, true)), { 'type': value['type'] });
70
+ return {
71
+ 'type': value['type'],
72
+ 'uuid': value['uuid'],
73
+ 'x': value['x'],
74
+ 'y': value['y'],
75
+ 'icon': (0, MarkerIcon_1.MarkerIconToJSON)(value['icon']),
76
+ 'color': value['color'],
77
+ 'amenity': (0, Amenity_1.AmenityToJSON)(value['amenity']),
78
+ };
56
79
  }
@@ -0,0 +1,77 @@
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 TrailMapElementOneOf5
18
+ */
19
+ export interface TrailMapElementOneOf5 {
20
+ /**
21
+ *
22
+ * @type {TrailMapElementOneOf5TypeEnum}
23
+ * @memberof TrailMapElementOneOf5
24
+ */
25
+ type: TrailMapElementOneOf5TypeEnum;
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof TrailMapElementOneOf5
30
+ */
31
+ uuid: string;
32
+ /**
33
+ *
34
+ * @type {number}
35
+ * @memberof TrailMapElementOneOf5
36
+ */
37
+ x: number;
38
+ /**
39
+ *
40
+ * @type {number}
41
+ * @memberof TrailMapElementOneOf5
42
+ */
43
+ y: number;
44
+ /**
45
+ *
46
+ * @type {MarkerIcon}
47
+ * @memberof TrailMapElementOneOf5
48
+ */
49
+ icon?: MarkerIcon | null;
50
+ /**
51
+ *
52
+ * @type {string}
53
+ * @memberof TrailMapElementOneOf5
54
+ */
55
+ color?: string | null;
56
+ /**
57
+ *
58
+ * @type {ParkingLot}
59
+ * @memberof TrailMapElementOneOf5
60
+ */
61
+ parkingLot?: ParkingLot | null;
62
+ }
63
+ /**
64
+ * @export
65
+ */
66
+ export declare const TrailMapElementOneOf5TypeEnum: {
67
+ readonly ParkingLotMarker: "parking_lot_marker";
68
+ };
69
+ export type TrailMapElementOneOf5TypeEnum = typeof TrailMapElementOneOf5TypeEnum[keyof typeof TrailMapElementOneOf5TypeEnum];
70
+ /**
71
+ * Check if a given object implements the TrailMapElementOneOf5 interface.
72
+ */
73
+ export declare function instanceOfTrailMapElementOneOf5(value: object): value is TrailMapElementOneOf5;
74
+ export declare function TrailMapElementOneOf5FromJSON(json: any): TrailMapElementOneOf5;
75
+ export declare function TrailMapElementOneOf5FromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapElementOneOf5;
76
+ export declare function TrailMapElementOneOf5ToJSON(json: any): TrailMapElementOneOf5;
77
+ export declare function TrailMapElementOneOf5ToJSONTyped(value?: TrailMapElementOneOf5 | null, ignoreDiscriminator?: boolean): any;
@@ -13,67 +13,67 @@
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
61
  };
62
62
  }
63
- function PointMarkerOneOf1ToJSON(json) {
64
- return PointMarkerOneOf1ToJSONTyped(json, false);
63
+ function TrailMapElementOneOf5ToJSON(json) {
64
+ return TrailMapElementOneOf5ToJSONTyped(json, false);
65
65
  }
66
- function PointMarkerOneOf1ToJSONTyped(value, ignoreDiscriminator = false) {
66
+ function TrailMapElementOneOf5ToJSONTyped(value, ignoreDiscriminator = false) {
67
67
  if (value == null) {
68
68
  return value;
69
69
  }
70
70
  return {
71
+ 'type': value['type'],
71
72
  'uuid': value['uuid'],
72
73
  'x': value['x'],
73
74
  'y': value['y'],
74
75
  'icon': (0, MarkerIcon_1.MarkerIconToJSON)(value['icon']),
75
76
  'color': value['color'],
76
77
  'parking_lot': (0, ParkingLot_1.ParkingLotToJSON)(value['parkingLot']),
77
- 'kind': value['kind'],
78
78
  };
79
79
  }
@@ -0,0 +1,82 @@
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
+ * @export
70
+ */
71
+ export declare const TrailMapElementOneOf6TypeEnum: {
72
+ readonly GenericMarker: "generic_marker";
73
+ };
74
+ export type TrailMapElementOneOf6TypeEnum = typeof TrailMapElementOneOf6TypeEnum[keyof typeof TrailMapElementOneOf6TypeEnum];
75
+ /**
76
+ * Check if a given object implements the TrailMapElementOneOf6 interface.
77
+ */
78
+ export declare function instanceOfTrailMapElementOneOf6(value: object): value is TrailMapElementOneOf6;
79
+ export declare function TrailMapElementOneOf6FromJSON(json: any): TrailMapElementOneOf6;
80
+ export declare function TrailMapElementOneOf6FromJSONTyped(json: any, ignoreDiscriminator: boolean): TrailMapElementOneOf6;
81
+ export declare function TrailMapElementOneOf6ToJSON(json: any): TrailMapElementOneOf6;
82
+ 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,17 @@ 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
63
  };
64
64
  }
65
- function PointMarkerOneOf2ToJSON(json) {
66
- return PointMarkerOneOf2ToJSONTyped(json, false);
65
+ function TrailMapElementOneOf6ToJSON(json) {
66
+ return TrailMapElementOneOf6ToJSONTyped(json, false);
67
67
  }
68
- function PointMarkerOneOf2ToJSONTyped(value, ignoreDiscriminator = false) {
68
+ function TrailMapElementOneOf6ToJSONTyped(value, ignoreDiscriminator = false) {
69
69
  if (value == null) {
70
70
  return value;
71
71
  }
72
72
  return {
73
+ 'type': value['type'],
73
74
  'uuid': value['uuid'],
74
75
  'x': value['x'],
75
76
  'y': value['y'],
@@ -77,6 +78,5 @@ function PointMarkerOneOf2ToJSONTyped(value, ignoreDiscriminator = false) {
77
78
  'color': value['color'],
78
79
  'label': value['label'],
79
80
  'searchable': value['searchable'],
80
- 'kind': value['kind'],
81
81
  };
82
82
  }
@@ -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.7",
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;