@mtnmanager/sdk 1.9.0 → 1.9.1

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.
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Guest powder alerts the resort offers. Both are `false` when the resort
14
- * doesn't offer powder alerts.
13
+ * Guest powder alerts the resort offers. Both channels are `false` (and
14
+ * `privacy_policy_url` is `null`) when the resort doesn't offer powder alerts.
15
15
  * @export
16
16
  * @interface PowderAlerts
17
17
  */
@@ -29,6 +29,13 @@ export interface PowderAlerts {
29
29
  * @memberof PowderAlerts
30
30
  */
31
31
  push: boolean;
32
+ /**
33
+ * Privacy policy to show guests when they sign up for powder alerts.
34
+ * Present whenever at least one channel is offered.
35
+ * @type {string}
36
+ * @memberof PowderAlerts
37
+ */
38
+ privacyPolicyUrl?: string | null;
32
39
  }
33
40
  /**
34
41
  * Check if a given object implements the PowderAlerts interface.
@@ -31,6 +31,7 @@ export function PowderAlertsFromJSONTyped(json, ignoreDiscriminator) {
31
31
  return {
32
32
  'text': json['text'],
33
33
  'push': json['push'],
34
+ 'privacyPolicyUrl': json['privacy_policy_url'] === undefined ? undefined : json['privacy_policy_url'] === null ? null : json['privacy_policy_url'],
34
35
  };
35
36
  }
36
37
  export function PowderAlertsToJSON(json) {
@@ -43,5 +44,6 @@ export function PowderAlertsToJSONTyped(value, ignoreDiscriminator = false) {
43
44
  return {
44
45
  'text': value['text'],
45
46
  'push': value['push'],
47
+ 'privacy_policy_url': value['privacyPolicyUrl'],
46
48
  };
47
49
  }
@@ -10,8 +10,8 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /**
13
- * Guest powder alerts the resort offers. Both are `false` when the resort
14
- * doesn't offer powder alerts.
13
+ * Guest powder alerts the resort offers. Both channels are `false` (and
14
+ * `privacy_policy_url` is `null`) when the resort doesn't offer powder alerts.
15
15
  * @export
16
16
  * @interface PowderAlerts
17
17
  */
@@ -29,6 +29,13 @@ export interface PowderAlerts {
29
29
  * @memberof PowderAlerts
30
30
  */
31
31
  push: boolean;
32
+ /**
33
+ * Privacy policy to show guests when they sign up for powder alerts.
34
+ * Present whenever at least one channel is offered.
35
+ * @type {string}
36
+ * @memberof PowderAlerts
37
+ */
38
+ privacyPolicyUrl?: string | null;
32
39
  }
33
40
  /**
34
41
  * Check if a given object implements the PowderAlerts interface.
@@ -38,6 +38,7 @@ function PowderAlertsFromJSONTyped(json, ignoreDiscriminator) {
38
38
  return {
39
39
  'text': json['text'],
40
40
  'push': json['push'],
41
+ 'privacyPolicyUrl': json['privacy_policy_url'] === undefined ? undefined : json['privacy_policy_url'] === null ? null : json['privacy_policy_url'],
41
42
  };
42
43
  }
43
44
  function PowderAlertsToJSON(json) {
@@ -50,5 +51,6 @@ function PowderAlertsToJSONTyped(value, ignoreDiscriminator = false) {
50
51
  return {
51
52
  'text': value['text'],
52
53
  'push': value['push'],
54
+ 'privacy_policy_url': value['privacyPolicyUrl'],
53
55
  };
54
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mtnmanager/sdk",
3
- "version": "1.9.0",
3
+ "version": "1.9.1",
4
4
  "description": "SDK for interacting with the MtnManager API, providing real-time access to your ski resort's public operational data.",
5
5
  "author": "OpenAPI-Generator",
6
6
  "main": "./dist/index.js",