@mtnmanager/sdk 0.0.34 → 0.0.35

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.34
1
+ # @mtnmanager/sdk@0.0.35
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.34`
115
+ - Package version: `0.0.35`
116
116
  - Generator version: `7.18.0`
117
117
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
118
118
 
@@ -48,16 +48,18 @@ export interface PublicSnowReport {
48
48
  areaDisplayOrder?: number | null;
49
49
  /**
50
50
  * Current base depth in centimeters.
51
+ * Only included if the base depth feature is enabled.
51
52
  * @type {number}
52
53
  * @memberof PublicSnowReport
53
54
  */
54
- baseDepthCm: number;
55
+ baseDepthCm?: number | null;
55
56
  /**
56
57
  * Current base depth in inches.
58
+ * Only included if the base depth feature is enabled.
57
59
  * @type {number}
58
60
  * @memberof PublicSnowReport
59
61
  */
60
- baseDepthIn: number;
62
+ baseDepthIn?: number | null;
61
63
  /**
62
64
  *
63
65
  * @type {SurfaceCondition}
@@ -19,10 +19,6 @@ 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;
26
22
  if (!('conditionNotes' in value) || value['conditionNotes'] === undefined)
27
23
  return false;
28
24
  if (!('reportedAt' in value) || value['reportedAt'] === undefined)
@@ -45,8 +41,8 @@ export function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
45
41
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
46
42
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
47
43
  'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
48
- 'baseDepthCm': json['base_depth_cm'],
49
- 'baseDepthIn': json['base_depth_in'],
44
+ 'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
45
+ 'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
50
46
  'surfaceCondition': json['surface_condition'] == null ? undefined : SurfaceConditionFromJSON(json['surface_condition']),
51
47
  'secondarySurfaceCondition': json['secondary_surface_condition'] == null ? undefined : SurfaceConditionFromJSON(json['secondary_surface_condition']),
52
48
  'conditionNotes': json['condition_notes'],
@@ -48,16 +48,18 @@ export interface PublicSnowReport {
48
48
  areaDisplayOrder?: number | null;
49
49
  /**
50
50
  * Current base depth in centimeters.
51
+ * Only included if the base depth feature is enabled.
51
52
  * @type {number}
52
53
  * @memberof PublicSnowReport
53
54
  */
54
- baseDepthCm: number;
55
+ baseDepthCm?: number | null;
55
56
  /**
56
57
  * Current base depth in inches.
58
+ * Only included if the base depth feature is enabled.
57
59
  * @type {number}
58
60
  * @memberof PublicSnowReport
59
61
  */
60
- baseDepthIn: number;
62
+ baseDepthIn?: number | null;
61
63
  /**
62
64
  *
63
65
  * @type {SurfaceCondition}
@@ -26,10 +26,6 @@ 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;
33
29
  if (!('conditionNotes' in value) || value['conditionNotes'] === undefined)
34
30
  return false;
35
31
  if (!('reportedAt' in value) || value['reportedAt'] === undefined)
@@ -52,8 +48,8 @@ function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
52
48
  'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
53
49
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
54
50
  'areaDisplayOrder': json['area_display_order'] == null ? undefined : json['area_display_order'],
55
- 'baseDepthCm': json['base_depth_cm'],
56
- 'baseDepthIn': json['base_depth_in'],
51
+ 'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
52
+ 'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
57
53
  'surfaceCondition': json['surface_condition'] == null ? undefined : (0, SurfaceCondition_1.SurfaceConditionFromJSON)(json['surface_condition']),
58
54
  'secondarySurfaceCondition': json['secondary_surface_condition'] == null ? undefined : (0, SurfaceCondition_1.SurfaceConditionFromJSON)(json['secondary_surface_condition']),
59
55
  'conditionNotes': json['condition_notes'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",