@mtnmanager/sdk 0.0.32 → 0.0.34

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 CHANGED
@@ -1,4 +1,4 @@
1
- # @mtnmanager/sdk@0.0.32
1
+ # @mtnmanager/sdk@0.0.34
2
2
 
3
3
  A TypeScript SDK client for the your-resort.mtnmanager.com API.
4
4
 
@@ -112,7 +112,7 @@ and is automatically generated by the
112
112
  [OpenAPI Generator](https://openapi-generator.tech) project:
113
113
 
114
114
  - API version: `1.0.0`
115
- - Package version: `0.0.32`
115
+ - Package version: `0.0.34`
116
116
  - Generator version: `7.18.0`
117
117
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
118
118
 
@@ -38,6 +38,12 @@ export interface PublicLift {
38
38
  * @memberof PublicLift
39
39
  */
40
40
  slug: string;
41
+ /**
42
+ * Optional lift number for map reference.
43
+ * @type {number}
44
+ * @memberof PublicLift
45
+ */
46
+ number?: number | null;
41
47
  /**
42
48
  * Type of lift (gondola, quad, etc.).
43
49
  * @type {LiftType}
@@ -42,6 +42,7 @@ export function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
42
42
  'uuid': json['uuid'],
43
43
  'name': json['name'],
44
44
  'slug': json['slug'],
45
+ 'number': json['number'] == null ? undefined : json['number'],
45
46
  'liftType': LiftTypeFromJSON(json['lift_type']),
46
47
  'status': LiftStatusFromJSON(json['status']),
47
48
  'waitTimeMinutes': json['wait_time_minutes'] == null ? undefined : json['wait_time_minutes'],
@@ -63,6 +64,7 @@ export function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
63
64
  'uuid': value['uuid'],
64
65
  'name': value['name'],
65
66
  'slug': value['slug'],
67
+ 'number': value['number'],
66
68
  'lift_type': LiftTypeToJSON(value['liftType']),
67
69
  'status': LiftStatusToJSON(value['status']),
68
70
  'wait_time_minutes': value['waitTimeMinutes'],
@@ -49,17 +49,24 @@ export interface PublicResortStatus {
49
49
  */
50
50
  season: SeasonType;
51
51
  /**
52
- * General notes or announcements about current conditions.
52
+ * General notes or announcements about current conditions (markdown source).
53
53
  * @type {string}
54
54
  * @memberof PublicResortStatus
55
55
  */
56
56
  notes: string;
57
57
  /**
58
- * When the resort status was last updated.
58
+ * General notes or announcements rendered as HTML from markdown.
59
+ * Images are stripped for security.
60
+ * @type {string}
61
+ * @memberof PublicResortStatus
62
+ */
63
+ notesHtml: string;
64
+ /**
65
+ * When the resort status notes were last updated.
59
66
  * @type {Date}
60
67
  * @memberof PublicResortStatus
61
68
  */
62
- updatedAt?: Date | null;
69
+ notesUpdatedAt?: Date | null;
63
70
  /**
64
71
  * Number of runs currently open.
65
72
  * Only included if the runs status feature is enabled.
@@ -23,6 +23,8 @@ export function instanceOfPublicResortStatus(value) {
23
23
  return false;
24
24
  if (!('notes' in value) || value['notes'] === undefined)
25
25
  return false;
26
+ if (!('notesHtml' in value) || value['notesHtml'] === undefined)
27
+ return false;
26
28
  if (!('totalRuns' in value) || value['totalRuns'] === undefined)
27
29
  return false;
28
30
  if (!('totalLifts' in value) || value['totalLifts'] === undefined)
@@ -42,7 +44,8 @@ export function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
42
44
  'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
43
45
  'season': SeasonTypeFromJSON(json['season']),
44
46
  'notes': json['notes'],
45
- 'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
47
+ 'notesHtml': json['notes_html'],
48
+ 'notesUpdatedAt': json['notes_updated_at'] == null ? undefined : (new Date(json['notes_updated_at'])),
46
49
  'openRuns': json['open_runs'] == null ? undefined : json['open_runs'],
47
50
  'groomedRuns': json['groomed_runs'] == null ? undefined : json['groomed_runs'],
48
51
  'totalRuns': json['total_runs'],
@@ -71,7 +74,8 @@ export function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false
71
74
  'closes_at': value['closesAt'],
72
75
  'season': SeasonTypeToJSON(value['season']),
73
76
  'notes': value['notes'],
74
- 'updated_at': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
77
+ 'notes_html': value['notesHtml'],
78
+ 'notes_updated_at': value['notesUpdatedAt'] == null ? value['notesUpdatedAt'] : value['notesUpdatedAt'].toISOString(),
75
79
  'open_runs': value['openRuns'],
76
80
  'groomed_runs': value['groomedRuns'],
77
81
  'total_runs': value['totalRuns'],
@@ -38,6 +38,12 @@ export interface PublicLift {
38
38
  * @memberof PublicLift
39
39
  */
40
40
  slug: string;
41
+ /**
42
+ * Optional lift number for map reference.
43
+ * @type {number}
44
+ * @memberof PublicLift
45
+ */
46
+ number?: number | null;
41
47
  /**
42
48
  * Type of lift (gondola, quad, etc.).
43
49
  * @type {LiftType}
@@ -49,6 +49,7 @@ function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'uuid': json['uuid'],
50
50
  'name': json['name'],
51
51
  'slug': json['slug'],
52
+ 'number': json['number'] == null ? undefined : json['number'],
52
53
  'liftType': (0, LiftType_1.LiftTypeFromJSON)(json['lift_type']),
53
54
  'status': (0, LiftStatus_1.LiftStatusFromJSON)(json['status']),
54
55
  'waitTimeMinutes': json['wait_time_minutes'] == null ? undefined : json['wait_time_minutes'],
@@ -70,6 +71,7 @@ function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
70
71
  'uuid': value['uuid'],
71
72
  'name': value['name'],
72
73
  'slug': value['slug'],
74
+ 'number': value['number'],
73
75
  'lift_type': (0, LiftType_1.LiftTypeToJSON)(value['liftType']),
74
76
  'status': (0, LiftStatus_1.LiftStatusToJSON)(value['status']),
75
77
  'wait_time_minutes': value['waitTimeMinutes'],
@@ -49,17 +49,24 @@ export interface PublicResortStatus {
49
49
  */
50
50
  season: SeasonType;
51
51
  /**
52
- * General notes or announcements about current conditions.
52
+ * General notes or announcements about current conditions (markdown source).
53
53
  * @type {string}
54
54
  * @memberof PublicResortStatus
55
55
  */
56
56
  notes: string;
57
57
  /**
58
- * When the resort status was last updated.
58
+ * General notes or announcements rendered as HTML from markdown.
59
+ * Images are stripped for security.
60
+ * @type {string}
61
+ * @memberof PublicResortStatus
62
+ */
63
+ notesHtml: string;
64
+ /**
65
+ * When the resort status notes were last updated.
59
66
  * @type {Date}
60
67
  * @memberof PublicResortStatus
61
68
  */
62
- updatedAt?: Date | null;
69
+ notesUpdatedAt?: Date | null;
63
70
  /**
64
71
  * Number of runs currently open.
65
72
  * Only included if the runs status feature is enabled.
@@ -30,6 +30,8 @@ function instanceOfPublicResortStatus(value) {
30
30
  return false;
31
31
  if (!('notes' in value) || value['notes'] === undefined)
32
32
  return false;
33
+ if (!('notesHtml' in value) || value['notesHtml'] === undefined)
34
+ return false;
33
35
  if (!('totalRuns' in value) || value['totalRuns'] === undefined)
34
36
  return false;
35
37
  if (!('totalLifts' in value) || value['totalLifts'] === undefined)
@@ -49,7 +51,8 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
49
51
  'closesAt': json['closes_at'] == null ? undefined : json['closes_at'],
50
52
  'season': (0, SeasonType_1.SeasonTypeFromJSON)(json['season']),
51
53
  'notes': json['notes'],
52
- 'updatedAt': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
54
+ 'notesHtml': json['notes_html'],
55
+ 'notesUpdatedAt': json['notes_updated_at'] == null ? undefined : (new Date(json['notes_updated_at'])),
53
56
  'openRuns': json['open_runs'] == null ? undefined : json['open_runs'],
54
57
  'groomedRuns': json['groomed_runs'] == null ? undefined : json['groomed_runs'],
55
58
  'totalRuns': json['total_runs'],
@@ -78,7 +81,8 @@ function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false) {
78
81
  'closes_at': value['closesAt'],
79
82
  'season': (0, SeasonType_1.SeasonTypeToJSON)(value['season']),
80
83
  'notes': value['notes'],
81
- 'updated_at': value['updatedAt'] == null ? value['updatedAt'] : value['updatedAt'].toISOString(),
84
+ 'notes_html': value['notesHtml'],
85
+ 'notes_updated_at': value['notesUpdatedAt'] == null ? value['notesUpdatedAt'] : value['notesUpdatedAt'].toISOString(),
82
86
  'open_runs': value['openRuns'],
83
87
  'groomed_runs': value['groomedRuns'],
84
88
  'total_runs': value['totalRuns'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.32",
3
+ "version": "0.0.34",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",