@mtnmanager/sdk 1.8.0 → 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.
@@ -67,6 +67,12 @@ export interface Lift {
67
67
  * @memberof Lift
68
68
  */
69
69
  heated: boolean;
70
+ /**
71
+ * Riders per chair or cabin, if available.
72
+ * @type {number}
73
+ * @memberof Lift
74
+ */
75
+ capacity?: number | null;
70
76
  /**
71
77
  * Estimated travel time in minutes.
72
78
  * @type {number}
@@ -54,6 +54,7 @@ export function LiftFromJSONTyped(json, ignoreDiscriminator) {
54
54
  'highSpeed': json['high_speed'],
55
55
  'bubble': json['bubble'],
56
56
  'heated': json['heated'],
57
+ 'capacity': json['capacity'] === undefined ? undefined : json['capacity'] === null ? null : json['capacity'],
57
58
  'travelTime': json['travel_time'] === undefined ? undefined : json['travel_time'] === null ? null : json['travel_time'],
58
59
  'lengthFt': json['length_ft'] === undefined ? undefined : json['length_ft'] === null ? null : json['length_ft'],
59
60
  'lengthM': json['length_m'] === undefined ? undefined : json['length_m'] === null ? null : json['length_m'],
@@ -86,6 +87,7 @@ export function LiftToJSONTyped(value, ignoreDiscriminator = false) {
86
87
  'high_speed': value['highSpeed'],
87
88
  'bubble': value['bubble'],
88
89
  'heated': value['heated'],
90
+ 'capacity': value['capacity'],
89
91
  'travel_time': value['travelTime'],
90
92
  'length_ft': value['lengthFt'],
91
93
  'length_m': value['lengthM'],
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Current operational status of the resort.
13
+ * Whether the resort is open right now, from today's scheduled hours.
14
14
  * @export
15
15
  */
16
16
  export declare const ResortStatus: {
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Current operational status of the resort.
15
+ * Whether the resort is open right now, from today's scheduled hours.
16
16
  * @export
17
17
  */
18
18
  export const ResortStatus = {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Difficulty rating for a ski run.
13
+ * Difficulty rating for a ski run. Stored as TEXT in `runs.difficulty`.
14
14
  * @export
15
15
  */
16
16
  export declare const RunDifficulty: {
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Difficulty rating for a ski run.
15
+ * Difficulty rating for a ski run. Stored as TEXT in `runs.difficulty`.
16
16
  * @export
17
17
  */
18
18
  export const RunDifficulty = {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Operational status of a ski run.
13
+ * Operational status of a ski run. Stored as TEXT in `runs.status`.
14
14
  * @export
15
15
  */
16
16
  export declare const RunStatus: {
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  /**
15
- * Operational status of a ski run.
15
+ * Operational status of a ski run. Stored as TEXT in `runs.status`.
16
16
  * @export
17
17
  */
18
18
  export const RunStatus = {
@@ -67,6 +67,12 @@ export interface Lift {
67
67
  * @memberof Lift
68
68
  */
69
69
  heated: boolean;
70
+ /**
71
+ * Riders per chair or cabin, if available.
72
+ * @type {number}
73
+ * @memberof Lift
74
+ */
75
+ capacity?: number | null;
70
76
  /**
71
77
  * Estimated travel time in minutes.
72
78
  * @type {number}
@@ -61,6 +61,7 @@ function LiftFromJSONTyped(json, ignoreDiscriminator) {
61
61
  'highSpeed': json['high_speed'],
62
62
  'bubble': json['bubble'],
63
63
  'heated': json['heated'],
64
+ 'capacity': json['capacity'] === undefined ? undefined : json['capacity'] === null ? null : json['capacity'],
64
65
  'travelTime': json['travel_time'] === undefined ? undefined : json['travel_time'] === null ? null : json['travel_time'],
65
66
  'lengthFt': json['length_ft'] === undefined ? undefined : json['length_ft'] === null ? null : json['length_ft'],
66
67
  'lengthM': json['length_m'] === undefined ? undefined : json['length_m'] === null ? null : json['length_m'],
@@ -93,6 +94,7 @@ function LiftToJSONTyped(value, ignoreDiscriminator = false) {
93
94
  'high_speed': value['highSpeed'],
94
95
  'bubble': value['bubble'],
95
96
  'heated': value['heated'],
97
+ 'capacity': value['capacity'],
96
98
  'travel_time': value['travelTime'],
97
99
  'length_ft': value['lengthFt'],
98
100
  'length_m': value['lengthM'],
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Current operational status of the resort.
13
+ * Whether the resort is open right now, from today's scheduled hours.
14
14
  * @export
15
15
  */
16
16
  export declare const ResortStatus: {
@@ -20,7 +20,7 @@ exports.ResortStatusFromJSONTyped = ResortStatusFromJSONTyped;
20
20
  exports.ResortStatusToJSON = ResortStatusToJSON;
21
21
  exports.ResortStatusToJSONTyped = ResortStatusToJSONTyped;
22
22
  /**
23
- * Current operational status of the resort.
23
+ * Whether the resort is open right now, from today's scheduled hours.
24
24
  * @export
25
25
  */
26
26
  exports.ResortStatus = {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Difficulty rating for a ski run.
13
+ * Difficulty rating for a ski run. Stored as TEXT in `runs.difficulty`.
14
14
  * @export
15
15
  */
16
16
  export declare const RunDifficulty: {
@@ -20,7 +20,7 @@ exports.RunDifficultyFromJSONTyped = RunDifficultyFromJSONTyped;
20
20
  exports.RunDifficultyToJSON = RunDifficultyToJSON;
21
21
  exports.RunDifficultyToJSONTyped = RunDifficultyToJSONTyped;
22
22
  /**
23
- * Difficulty rating for a ski run.
23
+ * Difficulty rating for a ski run. Stored as TEXT in `runs.difficulty`.
24
24
  * @export
25
25
  */
26
26
  exports.RunDifficulty = {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Operational status of a ski run.
13
+ * Operational status of a ski run. Stored as TEXT in `runs.status`.
14
14
  * @export
15
15
  */
16
16
  export declare const RunStatus: {
@@ -20,7 +20,7 @@ exports.RunStatusFromJSONTyped = RunStatusFromJSONTyped;
20
20
  exports.RunStatusToJSON = RunStatusToJSON;
21
21
  exports.RunStatusToJSONTyped = RunStatusToJSONTyped;
22
22
  /**
23
- * Operational status of a ski run.
23
+ * Operational status of a ski run. Stored as TEXT in `runs.status`.
24
24
  * @export
25
25
  */
26
26
  exports.RunStatus = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "1.8.0",
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",