@mtnmanager/sdk 0.0.13 → 0.0.14

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.13
1
+ # @mtnmanager/sdk@0.0.14
2
2
 
3
3
  A TypeScript SDK client for the your-resort.mtnmanager.com API.
4
4
 
@@ -100,7 +100,7 @@ and is automatically generated by the
100
100
  [OpenAPI Generator](https://openapi-generator.tech) project:
101
101
 
102
102
  - API version: `1.0.0`
103
- - Package version: `0.0.13`
103
+ - Package version: `0.0.14`
104
104
  - Generator version: `7.17.0`
105
105
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
106
106
 
@@ -40,13 +40,19 @@ export interface PublicSnowReport {
40
40
  * @type {number}
41
41
  * @memberof PublicSnowReport
42
42
  */
43
- baseDepthCm?: number | null;
43
+ areaDisplayOrder?: number | null;
44
44
  /**
45
45
  *
46
46
  * @type {number}
47
47
  * @memberof PublicSnowReport
48
48
  */
49
- baseDepthIn?: number | null;
49
+ baseDepthCm: number;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof PublicSnowReport
54
+ */
55
+ baseDepthIn: number;
50
56
  /**
51
57
  *
52
58
  * @type {SurfaceCondition}
@@ -19,6 +19,10 @@ import { SurfaceConditionFromJSON, SurfaceConditionToJSON, } from './SurfaceCond
19
19
  export function instanceOfPublicSnowReport(value) {
20
20
  if (!('uuid' in value) || value['uuid'] === undefined)
21
21
  return false;
22
+ if (!('baseDepthCm' in value) || value['baseDepthCm'] === undefined)
23
+ return false;
24
+ if (!('baseDepthIn' in value) || value['baseDepthIn'] === undefined)
25
+ return false;
22
26
  if (!('conditionNotes' in value) || value['conditionNotes'] === undefined)
23
27
  return false;
24
28
  if (!('reportedAt' in value) || value['reportedAt'] === undefined)
@@ -40,8 +44,9 @@ export function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
40
44
  'uuid': json['uuid'],
41
45
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
42
46
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
43
- 'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
44
- 'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
47
+ 'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
48
+ 'baseDepthCm': json['base_depth_cm'],
49
+ 'baseDepthIn': json['base_depth_in'],
45
50
  'surfaceCondition': json['surface_condition'] == null ? undefined : SurfaceConditionFromJSON(json['surface_condition']),
46
51
  'secondarySurfaceCondition': json['secondary_surface_condition'] == null ? undefined : SurfaceConditionFromJSON(json['secondary_surface_condition']),
47
52
  'conditionNotes': json['condition_notes'],
@@ -61,6 +66,7 @@ export function PublicSnowReportToJSONTyped(value, ignoreDiscriminator = false)
61
66
  'uuid': value['uuid'],
62
67
  'area_uuid': value['areaUuid'],
63
68
  'area_name': value['areaName'],
69
+ 'area_display_order': value['areaDisplayOrder'],
64
70
  'base_depth_cm': value['baseDepthCm'],
65
71
  'base_depth_in': value['baseDepthIn'],
66
72
  'surface_condition': SurfaceConditionToJSON(value['surfaceCondition']),
@@ -40,13 +40,19 @@ export interface PublicSnowReport {
40
40
  * @type {number}
41
41
  * @memberof PublicSnowReport
42
42
  */
43
- baseDepthCm?: number | null;
43
+ areaDisplayOrder?: number | null;
44
44
  /**
45
45
  *
46
46
  * @type {number}
47
47
  * @memberof PublicSnowReport
48
48
  */
49
- baseDepthIn?: number | null;
49
+ baseDepthCm: number;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof PublicSnowReport
54
+ */
55
+ baseDepthIn: number;
50
56
  /**
51
57
  *
52
58
  * @type {SurfaceCondition}
@@ -26,6 +26,10 @@ const SurfaceCondition_1 = require("./SurfaceCondition");
26
26
  function instanceOfPublicSnowReport(value) {
27
27
  if (!('uuid' in value) || value['uuid'] === undefined)
28
28
  return false;
29
+ if (!('baseDepthCm' in value) || value['baseDepthCm'] === undefined)
30
+ return false;
31
+ if (!('baseDepthIn' in value) || value['baseDepthIn'] === undefined)
32
+ return false;
29
33
  if (!('conditionNotes' in value) || value['conditionNotes'] === undefined)
30
34
  return false;
31
35
  if (!('reportedAt' in value) || value['reportedAt'] === undefined)
@@ -47,8 +51,9 @@ function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
47
51
  'uuid': json['uuid'],
48
52
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
49
53
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
50
- 'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
51
- 'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
54
+ 'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
55
+ 'baseDepthCm': json['base_depth_cm'],
56
+ 'baseDepthIn': json['base_depth_in'],
52
57
  'surfaceCondition': json['surface_condition'] == null ? undefined : (0, SurfaceCondition_1.SurfaceConditionFromJSON)(json['surface_condition']),
53
58
  'secondarySurfaceCondition': json['secondary_surface_condition'] == null ? undefined : (0, SurfaceCondition_1.SurfaceConditionFromJSON)(json['secondary_surface_condition']),
54
59
  'conditionNotes': json['condition_notes'],
@@ -68,6 +73,7 @@ function PublicSnowReportToJSONTyped(value, ignoreDiscriminator = false) {
68
73
  'uuid': value['uuid'],
69
74
  'area_uuid': value['areaUuid'],
70
75
  'area_name': value['areaName'],
76
+ 'area_display_order': value['areaDisplayOrder'],
71
77
  'base_depth_cm': value['baseDepthCm'],
72
78
  'base_depth_in': value['baseDepthIn'],
73
79
  'surface_condition': (0, SurfaceCondition_1.SurfaceConditionToJSON)(value['surfaceCondition']),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",