@mtnmanager/sdk 0.0.16 → 0.0.18

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.16
1
+ # @mtnmanager/sdk@0.0.18
2
2
 
3
3
  A TypeScript SDK client for the your-resort.mtnmanager.com API.
4
4
 
@@ -101,7 +101,7 @@ and is automatically generated by the
101
101
  [OpenAPI Generator](https://openapi-generator.tech) project:
102
102
 
103
103
  - API version: `1.0.0`
104
- - Package version: `0.0.16`
104
+ - Package version: `0.0.18`
105
105
  - Generator version: `7.17.0`
106
106
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
107
107
 
@@ -16,6 +16,8 @@
16
16
  export declare const LiftStatus: {
17
17
  readonly Open: "open";
18
18
  readonly Closed: "closed";
19
+ readonly OnHold: "on_hold";
20
+ readonly Unknown: "unknown";
19
21
  };
20
22
  export type LiftStatus = typeof LiftStatus[keyof typeof LiftStatus];
21
23
  export declare function instanceOfLiftStatus(value: any): boolean;
@@ -17,7 +17,9 @@
17
17
  */
18
18
  export const LiftStatus = {
19
19
  Open: 'open',
20
- Closed: 'closed'
20
+ Closed: 'closed',
21
+ OnHold: 'on_hold',
22
+ Unknown: 'unknown'
21
23
  };
22
24
  export function instanceOfLiftStatus(value) {
23
25
  for (const key in LiftStatus) {
@@ -77,6 +77,12 @@ export interface PublicLift {
77
77
  * @memberof PublicLift
78
78
  */
79
79
  areaDisplayOrder?: number | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof PublicLift
84
+ */
85
+ updatedAt?: string | null;
80
86
  }
81
87
  /**
82
88
  * Check if a given object implements the PublicLift interface.
@@ -49,6 +49,7 @@ export function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
50
50
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
51
51
  'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
52
+ 'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
52
53
  };
53
54
  }
54
55
  export function PublicLiftToJSON(json) {
@@ -69,5 +70,6 @@ export function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
69
70
  'area_uuid': value['areaUuid'],
70
71
  'area_name': value['areaName'],
71
72
  'area_display_order': value['areaDisplayOrder'],
73
+ 'updated_at': value['updatedAt'],
72
74
  };
73
75
  }
@@ -71,6 +71,12 @@ export interface PublicResortStatus {
71
71
  * @memberof PublicResortStatus
72
72
  */
73
73
  totalRuns: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof PublicResortStatus
78
+ */
79
+ runsUpdatedAt?: string | null;
74
80
  /**
75
81
  *
76
82
  * @type {number}
@@ -83,6 +89,12 @@ export interface PublicResortStatus {
83
89
  * @memberof PublicResortStatus
84
90
  */
85
91
  totalLifts: number;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof PublicResortStatus
96
+ */
97
+ liftsUpdatedAt?: string | null;
86
98
  }
87
99
  /**
88
100
  * Check if a given object implements the PublicResortStatus interface.
@@ -52,8 +52,10 @@ export function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
52
52
  'openRuns': json['open_runs'],
53
53
  'groomedRuns': json['groomed_runs'],
54
54
  'totalRuns': json['total_runs'],
55
+ 'runsUpdatedAt': json['runs_updated_at'] == null ? undefined : json['runs_updated_at'],
55
56
  'openLifts': json['open_lifts'],
56
57
  'totalLifts': json['total_lifts'],
58
+ 'liftsUpdatedAt': json['lifts_updated_at'] == null ? undefined : json['lifts_updated_at'],
57
59
  };
58
60
  }
59
61
  export function PublicResortStatusToJSON(json) {
@@ -73,7 +75,9 @@ export function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false
73
75
  'open_runs': value['openRuns'],
74
76
  'groomed_runs': value['groomedRuns'],
75
77
  'total_runs': value['totalRuns'],
78
+ 'runs_updated_at': value['runsUpdatedAt'],
76
79
  'open_lifts': value['openLifts'],
77
80
  'total_lifts': value['totalLifts'],
81
+ 'lifts_updated_at': value['liftsUpdatedAt'],
78
82
  };
79
83
  }
@@ -16,6 +16,7 @@
16
16
  export declare const RunStatus: {
17
17
  readonly Open: "open";
18
18
  readonly Closed: "closed";
19
+ readonly Unknown: "unknown";
19
20
  };
20
21
  export type RunStatus = typeof RunStatus[keyof typeof RunStatus];
21
22
  export declare function instanceOfRunStatus(value: any): boolean;
@@ -17,7 +17,8 @@
17
17
  */
18
18
  export const RunStatus = {
19
19
  Open: 'open',
20
- Closed: 'closed'
20
+ Closed: 'closed',
21
+ Unknown: 'unknown'
21
22
  };
22
23
  export function instanceOfRunStatus(value) {
23
24
  for (const key in RunStatus) {
@@ -16,6 +16,8 @@
16
16
  export declare const LiftStatus: {
17
17
  readonly Open: "open";
18
18
  readonly Closed: "closed";
19
+ readonly OnHold: "on_hold";
20
+ readonly Unknown: "unknown";
19
21
  };
20
22
  export type LiftStatus = typeof LiftStatus[keyof typeof LiftStatus];
21
23
  export declare function instanceOfLiftStatus(value: any): boolean;
@@ -25,7 +25,9 @@ exports.LiftStatusToJSONTyped = LiftStatusToJSONTyped;
25
25
  */
26
26
  exports.LiftStatus = {
27
27
  Open: 'open',
28
- Closed: 'closed'
28
+ Closed: 'closed',
29
+ OnHold: 'on_hold',
30
+ Unknown: 'unknown'
29
31
  };
30
32
  function instanceOfLiftStatus(value) {
31
33
  for (const key in exports.LiftStatus) {
@@ -77,6 +77,12 @@ export interface PublicLift {
77
77
  * @memberof PublicLift
78
78
  */
79
79
  areaDisplayOrder?: number | null;
80
+ /**
81
+ *
82
+ * @type {string}
83
+ * @memberof PublicLift
84
+ */
85
+ updatedAt?: string | null;
80
86
  }
81
87
  /**
82
88
  * Check if a given object implements the PublicLift interface.
@@ -56,6 +56,7 @@ function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
56
56
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
57
57
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
58
58
  'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
59
+ 'updatedAt': json['updated_at'] == null ? undefined : json['updated_at'],
59
60
  };
60
61
  }
61
62
  function PublicLiftToJSON(json) {
@@ -76,5 +77,6 @@ function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
76
77
  'area_uuid': value['areaUuid'],
77
78
  'area_name': value['areaName'],
78
79
  'area_display_order': value['areaDisplayOrder'],
80
+ 'updated_at': value['updatedAt'],
79
81
  };
80
82
  }
@@ -71,6 +71,12 @@ export interface PublicResortStatus {
71
71
  * @memberof PublicResortStatus
72
72
  */
73
73
  totalRuns: number;
74
+ /**
75
+ *
76
+ * @type {string}
77
+ * @memberof PublicResortStatus
78
+ */
79
+ runsUpdatedAt?: string | null;
74
80
  /**
75
81
  *
76
82
  * @type {number}
@@ -83,6 +89,12 @@ export interface PublicResortStatus {
83
89
  * @memberof PublicResortStatus
84
90
  */
85
91
  totalLifts: number;
92
+ /**
93
+ *
94
+ * @type {string}
95
+ * @memberof PublicResortStatus
96
+ */
97
+ liftsUpdatedAt?: string | null;
86
98
  }
87
99
  /**
88
100
  * Check if a given object implements the PublicResortStatus interface.
@@ -59,8 +59,10 @@ function PublicResortStatusFromJSONTyped(json, ignoreDiscriminator) {
59
59
  'openRuns': json['open_runs'],
60
60
  'groomedRuns': json['groomed_runs'],
61
61
  'totalRuns': json['total_runs'],
62
+ 'runsUpdatedAt': json['runs_updated_at'] == null ? undefined : json['runs_updated_at'],
62
63
  'openLifts': json['open_lifts'],
63
64
  'totalLifts': json['total_lifts'],
65
+ 'liftsUpdatedAt': json['lifts_updated_at'] == null ? undefined : json['lifts_updated_at'],
64
66
  };
65
67
  }
66
68
  function PublicResortStatusToJSON(json) {
@@ -80,7 +82,9 @@ function PublicResortStatusToJSONTyped(value, ignoreDiscriminator = false) {
80
82
  'open_runs': value['openRuns'],
81
83
  'groomed_runs': value['groomedRuns'],
82
84
  'total_runs': value['totalRuns'],
85
+ 'runs_updated_at': value['runsUpdatedAt'],
83
86
  'open_lifts': value['openLifts'],
84
87
  'total_lifts': value['totalLifts'],
88
+ 'lifts_updated_at': value['liftsUpdatedAt'],
85
89
  };
86
90
  }
@@ -16,6 +16,7 @@
16
16
  export declare const RunStatus: {
17
17
  readonly Open: "open";
18
18
  readonly Closed: "closed";
19
+ readonly Unknown: "unknown";
19
20
  };
20
21
  export type RunStatus = typeof RunStatus[keyof typeof RunStatus];
21
22
  export declare function instanceOfRunStatus(value: any): boolean;
@@ -25,7 +25,8 @@ exports.RunStatusToJSONTyped = RunStatusToJSONTyped;
25
25
  */
26
26
  exports.RunStatus = {
27
27
  Open: 'open',
28
- Closed: 'closed'
28
+ Closed: 'closed',
29
+ Unknown: 'unknown'
29
30
  };
30
31
  function instanceOfRunStatus(value) {
31
32
  for (const key in exports.RunStatus) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",