@incident-io/sdk 2.7.0 → 2.8.0

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,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StatusPageStructureV2 } from './StatusPageStructureV2.js';
13
+ import type { ManagementMetaV2 } from './ManagementMetaV2.js';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -24,6 +25,10 @@ export interface StatusPagesShowStatusPageStructureResultV2 {
24
25
  * How the page shows uptime against its components
25
26
  */
26
27
  display_uptime_mode: StatusPagesShowStatusPageStructureResultV2DisplayUptimeModeEnum;
28
+ /**
29
+ *
30
+ */
31
+ management_meta: ManagementMetaV2;
27
32
  }
28
33
  /**
29
34
  * @export
@@ -20,6 +20,7 @@ exports.StatusPagesShowStatusPageStructureResultV2FromJSONTyped = StatusPagesSho
20
20
  exports.StatusPagesShowStatusPageStructureResultV2ToJSON = StatusPagesShowStatusPageStructureResultV2ToJSON;
21
21
  exports.StatusPagesShowStatusPageStructureResultV2ToJSONTyped = StatusPagesShowStatusPageStructureResultV2ToJSONTyped;
22
22
  const StatusPageStructureV2_js_1 = require("./StatusPageStructureV2.js");
23
+ const ManagementMetaV2_js_1 = require("./ManagementMetaV2.js");
23
24
  /**
24
25
  * @export
25
26
  */
@@ -36,6 +37,8 @@ function instanceOfStatusPagesShowStatusPageStructureResultV2(value) {
36
37
  return false;
37
38
  if (!('display_uptime_mode' in value) || value['display_uptime_mode'] === undefined)
38
39
  return false;
40
+ if (!('management_meta' in value) || value['management_meta'] === undefined)
41
+ return false;
39
42
  return true;
40
43
  }
41
44
  function StatusPagesShowStatusPageStructureResultV2FromJSON(json) {
@@ -48,6 +51,7 @@ function StatusPagesShowStatusPageStructureResultV2FromJSONTyped(json, ignoreDis
48
51
  return {
49
52
  'current_structure': (0, StatusPageStructureV2_js_1.StatusPageStructureV2FromJSON)(json['current_structure']),
50
53
  'display_uptime_mode': json['display_uptime_mode'],
54
+ 'management_meta': (0, ManagementMetaV2_js_1.ManagementMetaV2FromJSON)(json['management_meta']),
51
55
  };
52
56
  }
53
57
  function StatusPagesShowStatusPageStructureResultV2ToJSON(json) {
@@ -60,5 +64,6 @@ function StatusPagesShowStatusPageStructureResultV2ToJSONTyped(value, ignoreDisc
60
64
  return {
61
65
  'current_structure': (0, StatusPageStructureV2_js_1.StatusPageStructureV2ToJSON)(value['current_structure']),
62
66
  'display_uptime_mode': value['display_uptime_mode'],
67
+ 'management_meta': (0, ManagementMetaV2_js_1.ManagementMetaV2ToJSON)(value['management_meta']),
63
68
  };
64
69
  }
@@ -1 +1 @@
1
- export declare const VERSION = "2.7.0";
1
+ export declare const VERSION = "2.8.0";
@@ -2,4 +2,4 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
4
  // Written by `make build` from package.json. Do not edit.
5
- exports.VERSION = "2.7.0";
5
+ exports.VERSION = "2.8.0";
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StatusPageStructureV2 } from './StatusPageStructureV2.js';
13
+ import type { ManagementMetaV2 } from './ManagementMetaV2.js';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -24,6 +25,10 @@ export interface StatusPagesShowStatusPageStructureResultV2 {
24
25
  * How the page shows uptime against its components
25
26
  */
26
27
  display_uptime_mode: StatusPagesShowStatusPageStructureResultV2DisplayUptimeModeEnum;
28
+ /**
29
+ *
30
+ */
31
+ management_meta: ManagementMetaV2;
27
32
  }
28
33
  /**
29
34
  * @export
@@ -12,6 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { StatusPageStructureV2FromJSON, StatusPageStructureV2ToJSON, } from './StatusPageStructureV2.js';
15
+ import { ManagementMetaV2FromJSON, ManagementMetaV2ToJSON, } from './ManagementMetaV2.js';
15
16
  /**
16
17
  * @export
17
18
  */
@@ -28,6 +29,8 @@ export function instanceOfStatusPagesShowStatusPageStructureResultV2(value) {
28
29
  return false;
29
30
  if (!('display_uptime_mode' in value) || value['display_uptime_mode'] === undefined)
30
31
  return false;
32
+ if (!('management_meta' in value) || value['management_meta'] === undefined)
33
+ return false;
31
34
  return true;
32
35
  }
33
36
  export function StatusPagesShowStatusPageStructureResultV2FromJSON(json) {
@@ -40,6 +43,7 @@ export function StatusPagesShowStatusPageStructureResultV2FromJSONTyped(json, ig
40
43
  return {
41
44
  'current_structure': StatusPageStructureV2FromJSON(json['current_structure']),
42
45
  'display_uptime_mode': json['display_uptime_mode'],
46
+ 'management_meta': ManagementMetaV2FromJSON(json['management_meta']),
43
47
  };
44
48
  }
45
49
  export function StatusPagesShowStatusPageStructureResultV2ToJSON(json) {
@@ -52,5 +56,6 @@ export function StatusPagesShowStatusPageStructureResultV2ToJSONTyped(value, ign
52
56
  return {
53
57
  'current_structure': StatusPageStructureV2ToJSON(value['current_structure']),
54
58
  'display_uptime_mode': value['display_uptime_mode'],
59
+ 'management_meta': ManagementMetaV2ToJSON(value['management_meta']),
55
60
  };
56
61
  }
@@ -1 +1 @@
1
- export declare const VERSION = "2.7.0";
1
+ export declare const VERSION = "2.8.0";
@@ -1,2 +1,2 @@
1
1
  // Written by `make build` from package.json. Do not edit.
2
- export const VERSION = "2.7.0";
2
+ export const VERSION = "2.8.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@incident-io/sdk",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "TypeScript SDK for the incident.io API",
5
5
  "license": "MIT",
6
6
  "author": "incident.io <support@incident.io>",