@mtnmanager/sdk 1.7.4 → 1.8.1

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