@mtnmanager/sdk 0.0.8 → 0.0.9

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.8
1
+ # @mtnmanager/sdk@0.0.9
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -107,7 +107,7 @@ and is automatically generated by the
107
107
  [OpenAPI Generator](https://openapi-generator.tech) project:
108
108
 
109
109
  - API version: `1.0.0`
110
- - Package version: `0.0.8`
110
+ - Package version: `0.0.9`
111
111
  - Generator version: `7.17.0`
112
112
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
113
113
 
@@ -19,16 +19,16 @@ import type { LiftType } from './LiftType';
19
19
  export interface PublicLift {
20
20
  /**
21
21
  *
22
- * @type {number}
22
+ * @type {string}
23
23
  * @memberof PublicLift
24
24
  */
25
- areaId?: number | null;
25
+ areaName?: string | null;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof PublicLift
30
30
  */
31
- areaName?: string | null;
31
+ areaUuid?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {number}
@@ -39,8 +39,8 @@ export function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
39
39
  return json;
40
40
  }
41
41
  return {
42
- 'areaId': json['area_id'] == null ? undefined : json['area_id'],
43
42
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
43
+ 'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
44
44
  'capacityPerHour': json['capacity_per_hour'] == null ? undefined : json['capacity_per_hour'],
45
45
  'highSpeed': json['high_speed'],
46
46
  'liftType': LiftTypeFromJSON(json['lift_type']),
@@ -59,8 +59,8 @@ export function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
59
59
  return value;
60
60
  }
61
61
  return {
62
- 'area_id': value['areaId'],
63
62
  'area_name': value['areaName'],
63
+ 'area_uuid': value['areaUuid'],
64
64
  'capacity_per_hour': value['capacityPerHour'],
65
65
  'high_speed': value['highSpeed'],
66
66
  'lift_type': LiftTypeToJSON(value['liftType']),
@@ -19,16 +19,16 @@ import type { RunDifficulty } from './RunDifficulty';
19
19
  export interface PublicRun {
20
20
  /**
21
21
  *
22
- * @type {number}
22
+ * @type {string}
23
23
  * @memberof PublicRun
24
24
  */
25
- areaId?: number | null;
25
+ areaName?: string | null;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof PublicRun
30
30
  */
31
- areaName?: string | null;
31
+ areaUuid?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {string}
@@ -41,8 +41,8 @@ export function PublicRunFromJSONTyped(json, ignoreDiscriminator) {
41
41
  return json;
42
42
  }
43
43
  return {
44
- 'areaId': json['area_id'] == null ? undefined : json['area_id'],
45
44
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
45
+ 'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
46
46
  'conditionNotes': json['condition_notes'],
47
47
  'difficulty': RunDifficultyFromJSON(json['difficulty']),
48
48
  'groomedToday': json['groomed_today'],
@@ -62,8 +62,8 @@ export function PublicRunToJSONTyped(value, ignoreDiscriminator = false) {
62
62
  return value;
63
63
  }
64
64
  return {
65
- 'area_id': value['areaId'],
66
65
  'area_name': value['areaName'],
66
+ 'area_uuid': value['areaUuid'],
67
67
  'condition_notes': value['conditionNotes'],
68
68
  'difficulty': RunDifficultyToJSON(value['difficulty']),
69
69
  'groomed_today': value['groomedToday'],
@@ -19,16 +19,16 @@ import type { SurfaceCondition } from './SurfaceCondition';
19
19
  export interface PublicSnowReport {
20
20
  /**
21
21
  *
22
- * @type {number}
22
+ * @type {string}
23
23
  * @memberof PublicSnowReport
24
24
  */
25
- areaId?: number | null;
25
+ areaName?: string | null;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof PublicSnowReport
30
30
  */
31
- areaName?: string | null;
31
+ areaUuid?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {number}
@@ -37,8 +37,8 @@ export function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
37
37
  return json;
38
38
  }
39
39
  return {
40
- 'areaId': json['area_id'] == null ? undefined : json['area_id'],
41
40
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
41
+ 'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
42
42
  'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
43
43
  'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
44
44
  'conditionNotes': json['condition_notes'],
@@ -58,8 +58,8 @@ export function PublicSnowReportToJSONTyped(value, ignoreDiscriminator = false)
58
58
  return value;
59
59
  }
60
60
  return {
61
- 'area_id': value['areaId'],
62
61
  'area_name': value['areaName'],
62
+ 'area_uuid': value['areaUuid'],
63
63
  'base_depth_cm': value['baseDepthCm'],
64
64
  'base_depth_in': value['baseDepthIn'],
65
65
  'condition_notes': value['conditionNotes'],
@@ -19,16 +19,16 @@ import type { LiftType } from './LiftType';
19
19
  export interface PublicLift {
20
20
  /**
21
21
  *
22
- * @type {number}
22
+ * @type {string}
23
23
  * @memberof PublicLift
24
24
  */
25
- areaId?: number | null;
25
+ areaName?: string | null;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof PublicLift
30
30
  */
31
- areaName?: string | null;
31
+ areaUuid?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {number}
@@ -46,8 +46,8 @@ function PublicLiftFromJSONTyped(json, ignoreDiscriminator) {
46
46
  return json;
47
47
  }
48
48
  return {
49
- 'areaId': json['area_id'] == null ? undefined : json['area_id'],
50
49
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
50
+ 'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
51
51
  'capacityPerHour': json['capacity_per_hour'] == null ? undefined : json['capacity_per_hour'],
52
52
  'highSpeed': json['high_speed'],
53
53
  'liftType': (0, LiftType_1.LiftTypeFromJSON)(json['lift_type']),
@@ -66,8 +66,8 @@ function PublicLiftToJSONTyped(value, ignoreDiscriminator = false) {
66
66
  return value;
67
67
  }
68
68
  return {
69
- 'area_id': value['areaId'],
70
69
  'area_name': value['areaName'],
70
+ 'area_uuid': value['areaUuid'],
71
71
  'capacity_per_hour': value['capacityPerHour'],
72
72
  'high_speed': value['highSpeed'],
73
73
  'lift_type': (0, LiftType_1.LiftTypeToJSON)(value['liftType']),
@@ -19,16 +19,16 @@ import type { RunDifficulty } from './RunDifficulty';
19
19
  export interface PublicRun {
20
20
  /**
21
21
  *
22
- * @type {number}
22
+ * @type {string}
23
23
  * @memberof PublicRun
24
24
  */
25
- areaId?: number | null;
25
+ areaName?: string | null;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof PublicRun
30
30
  */
31
- areaName?: string | null;
31
+ areaUuid?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {string}
@@ -48,8 +48,8 @@ function PublicRunFromJSONTyped(json, ignoreDiscriminator) {
48
48
  return json;
49
49
  }
50
50
  return {
51
- 'areaId': json['area_id'] == null ? undefined : json['area_id'],
52
51
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
52
+ 'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
53
53
  'conditionNotes': json['condition_notes'],
54
54
  'difficulty': (0, RunDifficulty_1.RunDifficultyFromJSON)(json['difficulty']),
55
55
  'groomedToday': json['groomed_today'],
@@ -69,8 +69,8 @@ function PublicRunToJSONTyped(value, ignoreDiscriminator = false) {
69
69
  return value;
70
70
  }
71
71
  return {
72
- 'area_id': value['areaId'],
73
72
  'area_name': value['areaName'],
73
+ 'area_uuid': value['areaUuid'],
74
74
  'condition_notes': value['conditionNotes'],
75
75
  'difficulty': (0, RunDifficulty_1.RunDifficultyToJSON)(value['difficulty']),
76
76
  'groomed_today': value['groomedToday'],
@@ -19,16 +19,16 @@ import type { SurfaceCondition } from './SurfaceCondition';
19
19
  export interface PublicSnowReport {
20
20
  /**
21
21
  *
22
- * @type {number}
22
+ * @type {string}
23
23
  * @memberof PublicSnowReport
24
24
  */
25
- areaId?: number | null;
25
+ areaName?: string | null;
26
26
  /**
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof PublicSnowReport
30
30
  */
31
- areaName?: string | null;
31
+ areaUuid?: string | null;
32
32
  /**
33
33
  *
34
34
  * @type {number}
@@ -44,8 +44,8 @@ function PublicSnowReportFromJSONTyped(json, ignoreDiscriminator) {
44
44
  return json;
45
45
  }
46
46
  return {
47
- 'areaId': json['area_id'] == null ? undefined : json['area_id'],
48
47
  'areaName': json['area_name'] == null ? undefined : json['area_name'],
48
+ 'areaUuid': json['area_uuid'] == null ? undefined : json['area_uuid'],
49
49
  'baseDepthCm': json['base_depth_cm'] == null ? undefined : json['base_depth_cm'],
50
50
  'baseDepthIn': json['base_depth_in'] == null ? undefined : json['base_depth_in'],
51
51
  'conditionNotes': json['condition_notes'],
@@ -65,8 +65,8 @@ function PublicSnowReportToJSONTyped(value, ignoreDiscriminator = false) {
65
65
  return value;
66
66
  }
67
67
  return {
68
- 'area_id': value['areaId'],
69
68
  'area_name': value['areaName'],
69
+ 'area_uuid': value['areaUuid'],
70
70
  'base_depth_cm': value['baseDepthCm'],
71
71
  'base_depth_in': value['baseDepthIn'],
72
72
  'condition_notes': value['conditionNotes'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "OpenAPI client for @mtnmanager/sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",