@incident-io/sdk 2.44.0 → 2.46.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.
Files changed (41) hide show
  1. package/dist/cjs/apis/StatusPagesV2Api.d.ts +25 -0
  2. package/dist/cjs/apis/StatusPagesV2Api.js +47 -0
  3. package/dist/cjs/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.d.ts +30 -0
  4. package/dist/cjs/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js +50 -0
  5. package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.d.ts +58 -0
  6. package/dist/cjs/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js +79 -0
  7. package/dist/cjs/models/StatusPageCustomerPageComponentV2.d.ts +57 -0
  8. package/dist/cjs/models/StatusPageCustomerPageComponentV2.js +75 -0
  9. package/dist/cjs/models/StatusPageCustomerPageGroupV2.d.ts +47 -0
  10. package/dist/cjs/models/StatusPageCustomerPageGroupV2.js +65 -0
  11. package/dist/cjs/models/StatusPageCustomerPageItemV2.d.ts +36 -0
  12. package/dist/cjs/models/StatusPageCustomerPageItemV2.js +52 -0
  13. package/dist/cjs/models/StatusPageCustomerPageV2.d.ts +68 -0
  14. package/dist/cjs/models/StatusPageCustomerPageV2.js +88 -0
  15. package/dist/cjs/models/StatusPagesShowStatusPageCustomerPageResultV2.d.ts +31 -0
  16. package/dist/cjs/models/StatusPagesShowStatusPageCustomerPageResultV2.js +51 -0
  17. package/dist/cjs/models/index.d.ts +7 -0
  18. package/dist/cjs/models/index.js +7 -0
  19. package/dist/cjs/version.d.ts +1 -1
  20. package/dist/cjs/version.js +1 -1
  21. package/dist/esm/apis/StatusPagesV2Api.d.ts +25 -0
  22. package/dist/esm/apis/StatusPagesV2Api.js +47 -0
  23. package/dist/esm/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.d.ts +30 -0
  24. package/dist/esm/models/AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js +43 -0
  25. package/dist/esm/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.d.ts +58 -0
  26. package/dist/esm/models/AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js +72 -0
  27. package/dist/esm/models/StatusPageCustomerPageComponentV2.d.ts +57 -0
  28. package/dist/esm/models/StatusPageCustomerPageComponentV2.js +67 -0
  29. package/dist/esm/models/StatusPageCustomerPageGroupV2.d.ts +47 -0
  30. package/dist/esm/models/StatusPageCustomerPageGroupV2.js +58 -0
  31. package/dist/esm/models/StatusPageCustomerPageItemV2.d.ts +36 -0
  32. package/dist/esm/models/StatusPageCustomerPageItemV2.js +45 -0
  33. package/dist/esm/models/StatusPageCustomerPageV2.d.ts +68 -0
  34. package/dist/esm/models/StatusPageCustomerPageV2.js +80 -0
  35. package/dist/esm/models/StatusPagesShowStatusPageCustomerPageResultV2.d.ts +31 -0
  36. package/dist/esm/models/StatusPagesShowStatusPageCustomerPageResultV2.js +44 -0
  37. package/dist/esm/models/index.d.ts +7 -0
  38. package/dist/esm/models/index.js +7 -0
  39. package/dist/esm/version.d.ts +1 -1
  40. package/dist/esm/version.js +1 -1
  41. package/package.json +1 -1
@@ -0,0 +1,72 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { parseDateTime, serializeDateTime } from '../runtime.js';
15
+ import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
16
+ import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
17
+ import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
18
+ import { AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON, AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON, } from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
19
+ /**
20
+ * Check if a given object implements the AuditLogsTelemetryDataSourceAccessInheritanceChangedV1 interface.
21
+ */
22
+ export function instanceOfAuditLogsTelemetryDataSourceAccessInheritanceChangedV1(value) {
23
+ if (!('action' in value) || value['action'] === undefined)
24
+ return false;
25
+ if (!('actor' in value) || value['actor'] === undefined)
26
+ return false;
27
+ if (!('context' in value) || value['context'] === undefined)
28
+ return false;
29
+ if (!('metadata' in value) || value['metadata'] === undefined)
30
+ return false;
31
+ if (!('occurred_at' in value) || value['occurred_at'] === undefined)
32
+ return false;
33
+ if (!('targets' in value) || value['targets'] === undefined)
34
+ return false;
35
+ if (!('version' in value) || value['version'] === undefined)
36
+ return false;
37
+ return true;
38
+ }
39
+ export function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSON(json) {
40
+ return AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json, false);
41
+ }
42
+ export function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1FromJSONTyped(json, ignoreDiscriminator) {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+ 'action': json['action'],
48
+ 'actor': AuditLogActorV2FromJSON(json['actor']),
49
+ 'context': AuditLogEntryContextV2FromJSON(json['context']),
50
+ 'metadata': AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2FromJSON(json['metadata']),
51
+ 'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
52
+ 'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
53
+ 'version': json['version'],
54
+ };
55
+ }
56
+ export function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSON(json) {
57
+ return AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(json, false);
58
+ }
59
+ export function AuditLogsTelemetryDataSourceAccessInheritanceChangedV1ToJSONTyped(value, ignoreDiscriminator = false) {
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'action': value['action'],
65
+ 'actor': AuditLogActorV2ToJSON(value['actor']),
66
+ 'context': AuditLogEntryContextV2ToJSON(value['context']),
67
+ 'metadata': AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2ToJSON(value['metadata']),
68
+ 'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
69
+ 'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
70
+ 'version': value['version'],
71
+ };
72
+ }
@@ -0,0 +1,57 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface StatusPageCustomerPageComponentV2
16
+ */
17
+ export interface StatusPageCustomerPageComponentV2 {
18
+ /**
19
+ * The ID of this component. Incidents and maintenance windows refer to components by this ID.
20
+ */
21
+ component_id: string;
22
+ /**
23
+ * A description shown under the component's name, if it has one
24
+ */
25
+ description?: string;
26
+ /**
27
+ * Whether the page shows this component's uptime
28
+ */
29
+ display_uptime: boolean;
30
+ /**
31
+ * The name of this component
32
+ */
33
+ name: string;
34
+ /**
35
+ * The current status of this component
36
+ */
37
+ status: StatusPageCustomerPageComponentV2StatusEnum;
38
+ }
39
+ /**
40
+ * @export
41
+ */
42
+ export declare const StatusPageCustomerPageComponentV2StatusEnum: {
43
+ readonly Operational: "operational";
44
+ readonly UnderMaintenance: "under_maintenance";
45
+ readonly DegradedPerformance: "degraded_performance";
46
+ readonly PartialOutage: "partial_outage";
47
+ readonly FullOutage: "full_outage";
48
+ };
49
+ export type StatusPageCustomerPageComponentV2StatusEnum = typeof StatusPageCustomerPageComponentV2StatusEnum[keyof typeof StatusPageCustomerPageComponentV2StatusEnum];
50
+ /**
51
+ * Check if a given object implements the StatusPageCustomerPageComponentV2 interface.
52
+ */
53
+ export declare function instanceOfStatusPageCustomerPageComponentV2(value: object): value is StatusPageCustomerPageComponentV2;
54
+ export declare function StatusPageCustomerPageComponentV2FromJSON(json: any): StatusPageCustomerPageComponentV2;
55
+ export declare function StatusPageCustomerPageComponentV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageCustomerPageComponentV2;
56
+ export declare function StatusPageCustomerPageComponentV2ToJSON(json: any): StatusPageCustomerPageComponentV2;
57
+ export declare function StatusPageCustomerPageComponentV2ToJSONTyped(value?: StatusPageCustomerPageComponentV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ /**
15
+ * @export
16
+ */
17
+ export const StatusPageCustomerPageComponentV2StatusEnum = {
18
+ Operational: 'operational',
19
+ UnderMaintenance: 'under_maintenance',
20
+ DegradedPerformance: 'degraded_performance',
21
+ PartialOutage: 'partial_outage',
22
+ FullOutage: 'full_outage',
23
+ };
24
+ /**
25
+ * Check if a given object implements the StatusPageCustomerPageComponentV2 interface.
26
+ */
27
+ export function instanceOfStatusPageCustomerPageComponentV2(value) {
28
+ if (!('component_id' in value) || value['component_id'] === undefined)
29
+ return false;
30
+ if (!('display_uptime' in value) || value['display_uptime'] === undefined)
31
+ return false;
32
+ if (!('name' in value) || value['name'] === undefined)
33
+ return false;
34
+ if (!('status' in value) || value['status'] === undefined)
35
+ return false;
36
+ return true;
37
+ }
38
+ export function StatusPageCustomerPageComponentV2FromJSON(json) {
39
+ return StatusPageCustomerPageComponentV2FromJSONTyped(json, false);
40
+ }
41
+ export function StatusPageCustomerPageComponentV2FromJSONTyped(json, ignoreDiscriminator) {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+ 'component_id': json['component_id'],
47
+ 'description': json['description'] == null ? undefined : json['description'],
48
+ 'display_uptime': json['display_uptime'],
49
+ 'name': json['name'],
50
+ 'status': json['status'],
51
+ };
52
+ }
53
+ export function StatusPageCustomerPageComponentV2ToJSON(json) {
54
+ return StatusPageCustomerPageComponentV2ToJSONTyped(json, false);
55
+ }
56
+ export function StatusPageCustomerPageComponentV2ToJSONTyped(value, ignoreDiscriminator = false) {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'component_id': value['component_id'],
62
+ 'description': value['description'],
63
+ 'display_uptime': value['display_uptime'],
64
+ 'name': value['name'],
65
+ 'status': value['status'],
66
+ };
67
+ }
@@ -0,0 +1,47 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { StatusPageCustomerPageComponentV2 } from './StatusPageCustomerPageComponentV2.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StatusPageCustomerPageGroupV2
17
+ */
18
+ export interface StatusPageCustomerPageGroupV2 {
19
+ /**
20
+ * Array of components belonging to this group
21
+ */
22
+ components: Array<StatusPageCustomerPageComponentV2>;
23
+ /**
24
+ * A description shown under the group's name
25
+ */
26
+ description?: string;
27
+ /**
28
+ * Whether the page shows uptime aggregated across the group's components
29
+ */
30
+ display_aggregated_uptime: boolean;
31
+ /**
32
+ * Unique ID of this component group
33
+ */
34
+ id: string;
35
+ /**
36
+ * The name of this component group
37
+ */
38
+ name: string;
39
+ }
40
+ /**
41
+ * Check if a given object implements the StatusPageCustomerPageGroupV2 interface.
42
+ */
43
+ export declare function instanceOfStatusPageCustomerPageGroupV2(value: object): value is StatusPageCustomerPageGroupV2;
44
+ export declare function StatusPageCustomerPageGroupV2FromJSON(json: any): StatusPageCustomerPageGroupV2;
45
+ export declare function StatusPageCustomerPageGroupV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageCustomerPageGroupV2;
46
+ export declare function StatusPageCustomerPageGroupV2ToJSON(json: any): StatusPageCustomerPageGroupV2;
47
+ export declare function StatusPageCustomerPageGroupV2ToJSONTyped(value?: StatusPageCustomerPageGroupV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,58 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { StatusPageCustomerPageComponentV2FromJSON, StatusPageCustomerPageComponentV2ToJSON, } from './StatusPageCustomerPageComponentV2.js';
15
+ /**
16
+ * Check if a given object implements the StatusPageCustomerPageGroupV2 interface.
17
+ */
18
+ export function instanceOfStatusPageCustomerPageGroupV2(value) {
19
+ if (!('components' in value) || value['components'] === undefined)
20
+ return false;
21
+ if (!('display_aggregated_uptime' in value) || value['display_aggregated_uptime'] === undefined)
22
+ return false;
23
+ if (!('id' in value) || value['id'] === undefined)
24
+ return false;
25
+ if (!('name' in value) || value['name'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ export function StatusPageCustomerPageGroupV2FromJSON(json) {
30
+ return StatusPageCustomerPageGroupV2FromJSONTyped(json, false);
31
+ }
32
+ export function StatusPageCustomerPageGroupV2FromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'components': (json['components'].map(StatusPageCustomerPageComponentV2FromJSON)),
38
+ 'description': json['description'] == null ? undefined : json['description'],
39
+ 'display_aggregated_uptime': json['display_aggregated_uptime'],
40
+ 'id': json['id'],
41
+ 'name': json['name'],
42
+ };
43
+ }
44
+ export function StatusPageCustomerPageGroupV2ToJSON(json) {
45
+ return StatusPageCustomerPageGroupV2ToJSONTyped(json, false);
46
+ }
47
+ export function StatusPageCustomerPageGroupV2ToJSONTyped(value, ignoreDiscriminator = false) {
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'components': (value['components'].map(StatusPageCustomerPageComponentV2ToJSON)),
53
+ 'description': value['description'],
54
+ 'display_aggregated_uptime': value['display_aggregated_uptime'],
55
+ 'id': value['id'],
56
+ 'name': value['name'],
57
+ };
58
+ }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { StatusPageCustomerPageComponentV2 } from './StatusPageCustomerPageComponentV2.js';
13
+ import type { StatusPageCustomerPageGroupV2 } from './StatusPageCustomerPageGroupV2.js';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface StatusPageCustomerPageItemV2
18
+ */
19
+ export interface StatusPageCustomerPageItemV2 {
20
+ /**
21
+ *
22
+ */
23
+ component?: StatusPageCustomerPageComponentV2;
24
+ /**
25
+ *
26
+ */
27
+ group?: StatusPageCustomerPageGroupV2;
28
+ }
29
+ /**
30
+ * Check if a given object implements the StatusPageCustomerPageItemV2 interface.
31
+ */
32
+ export declare function instanceOfStatusPageCustomerPageItemV2(value: object): value is StatusPageCustomerPageItemV2;
33
+ export declare function StatusPageCustomerPageItemV2FromJSON(json: any): StatusPageCustomerPageItemV2;
34
+ export declare function StatusPageCustomerPageItemV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageCustomerPageItemV2;
35
+ export declare function StatusPageCustomerPageItemV2ToJSON(json: any): StatusPageCustomerPageItemV2;
36
+ export declare function StatusPageCustomerPageItemV2ToJSONTyped(value?: StatusPageCustomerPageItemV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,45 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { StatusPageCustomerPageComponentV2FromJSON, StatusPageCustomerPageComponentV2ToJSON, } from './StatusPageCustomerPageComponentV2.js';
15
+ import { StatusPageCustomerPageGroupV2FromJSON, StatusPageCustomerPageGroupV2ToJSON, } from './StatusPageCustomerPageGroupV2.js';
16
+ /**
17
+ * Check if a given object implements the StatusPageCustomerPageItemV2 interface.
18
+ */
19
+ export function instanceOfStatusPageCustomerPageItemV2(value) {
20
+ return true;
21
+ }
22
+ export function StatusPageCustomerPageItemV2FromJSON(json) {
23
+ return StatusPageCustomerPageItemV2FromJSONTyped(json, false);
24
+ }
25
+ export function StatusPageCustomerPageItemV2FromJSONTyped(json, ignoreDiscriminator) {
26
+ if (json == null) {
27
+ return json;
28
+ }
29
+ return {
30
+ 'component': json['component'] == null ? undefined : StatusPageCustomerPageComponentV2FromJSON(json['component']),
31
+ 'group': json['group'] == null ? undefined : StatusPageCustomerPageGroupV2FromJSON(json['group']),
32
+ };
33
+ }
34
+ export function StatusPageCustomerPageItemV2ToJSON(json) {
35
+ return StatusPageCustomerPageItemV2ToJSONTyped(json, false);
36
+ }
37
+ export function StatusPageCustomerPageItemV2ToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'component': StatusPageCustomerPageComponentV2ToJSON(value['component']),
43
+ 'group': StatusPageCustomerPageGroupV2ToJSON(value['group']),
44
+ };
45
+ }
@@ -0,0 +1,68 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { StatusPageMaintenanceV2 } from './StatusPageMaintenanceV2.js';
13
+ import type { StatusPageCustomerPageItemV2 } from './StatusPageCustomerPageItemV2.js';
14
+ import type { StatusPageIncidentV2 } from './StatusPageIncidentV2.js';
15
+ /**
16
+ * One customer's page on a customer status page: its status, components and incidents.
17
+ * @export
18
+ * @interface StatusPageCustomerPageV2
19
+ */
20
+ export interface StatusPageCustomerPageV2 {
21
+ /**
22
+ * Components and groups shown on this page, in display order
23
+ */
24
+ components: Array<StatusPageCustomerPageItemV2>;
25
+ /**
26
+ * The external ID of the catalog entry that defines this customer's page
27
+ */
28
+ customer_id: string;
29
+ /**
30
+ * Maintenance windows in progress or scheduled for this customer
31
+ */
32
+ maintenances: Array<StatusPageMaintenanceV2>;
33
+ /**
34
+ * The name of this customer's page
35
+ */
36
+ name: string;
37
+ /**
38
+ * Incidents currently affecting this customer
39
+ */
40
+ ongoing_incidents: Array<StatusPageIncidentV2>;
41
+ /**
42
+ * Incidents from this page's history window, including ongoing incidents
43
+ */
44
+ recent_incidents: Array<StatusPageIncidentV2>;
45
+ /**
46
+ * The worst current status of any component on this page, or operational when nothing is affected
47
+ */
48
+ status: StatusPageCustomerPageV2StatusEnum;
49
+ }
50
+ /**
51
+ * @export
52
+ */
53
+ export declare const StatusPageCustomerPageV2StatusEnum: {
54
+ readonly Operational: "operational";
55
+ readonly UnderMaintenance: "under_maintenance";
56
+ readonly DegradedPerformance: "degraded_performance";
57
+ readonly PartialOutage: "partial_outage";
58
+ readonly FullOutage: "full_outage";
59
+ };
60
+ export type StatusPageCustomerPageV2StatusEnum = typeof StatusPageCustomerPageV2StatusEnum[keyof typeof StatusPageCustomerPageV2StatusEnum];
61
+ /**
62
+ * Check if a given object implements the StatusPageCustomerPageV2 interface.
63
+ */
64
+ export declare function instanceOfStatusPageCustomerPageV2(value: object): value is StatusPageCustomerPageV2;
65
+ export declare function StatusPageCustomerPageV2FromJSON(json: any): StatusPageCustomerPageV2;
66
+ export declare function StatusPageCustomerPageV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageCustomerPageV2;
67
+ export declare function StatusPageCustomerPageV2ToJSON(json: any): StatusPageCustomerPageV2;
68
+ export declare function StatusPageCustomerPageV2ToJSONTyped(value?: StatusPageCustomerPageV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,80 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { StatusPageMaintenanceV2FromJSON, StatusPageMaintenanceV2ToJSON, } from './StatusPageMaintenanceV2.js';
15
+ import { StatusPageCustomerPageItemV2FromJSON, StatusPageCustomerPageItemV2ToJSON, } from './StatusPageCustomerPageItemV2.js';
16
+ import { StatusPageIncidentV2FromJSON, StatusPageIncidentV2ToJSON, } from './StatusPageIncidentV2.js';
17
+ /**
18
+ * @export
19
+ */
20
+ export const StatusPageCustomerPageV2StatusEnum = {
21
+ Operational: 'operational',
22
+ UnderMaintenance: 'under_maintenance',
23
+ DegradedPerformance: 'degraded_performance',
24
+ PartialOutage: 'partial_outage',
25
+ FullOutage: 'full_outage',
26
+ };
27
+ /**
28
+ * Check if a given object implements the StatusPageCustomerPageV2 interface.
29
+ */
30
+ export function instanceOfStatusPageCustomerPageV2(value) {
31
+ if (!('components' in value) || value['components'] === undefined)
32
+ return false;
33
+ if (!('customer_id' in value) || value['customer_id'] === undefined)
34
+ return false;
35
+ if (!('maintenances' in value) || value['maintenances'] === undefined)
36
+ return false;
37
+ if (!('name' in value) || value['name'] === undefined)
38
+ return false;
39
+ if (!('ongoing_incidents' in value) || value['ongoing_incidents'] === undefined)
40
+ return false;
41
+ if (!('recent_incidents' in value) || value['recent_incidents'] === undefined)
42
+ return false;
43
+ if (!('status' in value) || value['status'] === undefined)
44
+ return false;
45
+ return true;
46
+ }
47
+ export function StatusPageCustomerPageV2FromJSON(json) {
48
+ return StatusPageCustomerPageV2FromJSONTyped(json, false);
49
+ }
50
+ export function StatusPageCustomerPageV2FromJSONTyped(json, ignoreDiscriminator) {
51
+ if (json == null) {
52
+ return json;
53
+ }
54
+ return {
55
+ 'components': (json['components'].map(StatusPageCustomerPageItemV2FromJSON)),
56
+ 'customer_id': json['customer_id'],
57
+ 'maintenances': (json['maintenances'].map(StatusPageMaintenanceV2FromJSON)),
58
+ 'name': json['name'],
59
+ 'ongoing_incidents': (json['ongoing_incidents'].map(StatusPageIncidentV2FromJSON)),
60
+ 'recent_incidents': (json['recent_incidents'].map(StatusPageIncidentV2FromJSON)),
61
+ 'status': json['status'],
62
+ };
63
+ }
64
+ export function StatusPageCustomerPageV2ToJSON(json) {
65
+ return StatusPageCustomerPageV2ToJSONTyped(json, false);
66
+ }
67
+ export function StatusPageCustomerPageV2ToJSONTyped(value, ignoreDiscriminator = false) {
68
+ if (value == null) {
69
+ return value;
70
+ }
71
+ return {
72
+ 'components': (value['components'].map(StatusPageCustomerPageItemV2ToJSON)),
73
+ 'customer_id': value['customer_id'],
74
+ 'maintenances': (value['maintenances'].map(StatusPageMaintenanceV2ToJSON)),
75
+ 'name': value['name'],
76
+ 'ongoing_incidents': (value['ongoing_incidents'].map(StatusPageIncidentV2ToJSON)),
77
+ 'recent_incidents': (value['recent_incidents'].map(StatusPageIncidentV2ToJSON)),
78
+ 'status': value['status'],
79
+ };
80
+ }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * incident.io
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { StatusPageCustomerPageV2 } from './StatusPageCustomerPageV2.js';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface StatusPagesShowStatusPageCustomerPageResultV2
17
+ */
18
+ export interface StatusPagesShowStatusPageCustomerPageResultV2 {
19
+ /**
20
+ *
21
+ */
22
+ customer_page: StatusPageCustomerPageV2;
23
+ }
24
+ /**
25
+ * Check if a given object implements the StatusPagesShowStatusPageCustomerPageResultV2 interface.
26
+ */
27
+ export declare function instanceOfStatusPagesShowStatusPageCustomerPageResultV2(value: object): value is StatusPagesShowStatusPageCustomerPageResultV2;
28
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2FromJSON(json: any): StatusPagesShowStatusPageCustomerPageResultV2;
29
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPagesShowStatusPageCustomerPageResultV2;
30
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2ToJSON(json: any): StatusPagesShowStatusPageCustomerPageResultV2;
31
+ export declare function StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(value?: StatusPagesShowStatusPageCustomerPageResultV2 | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,44 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * incident.io
5
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ import { StatusPageCustomerPageV2FromJSON, StatusPageCustomerPageV2ToJSON, } from './StatusPageCustomerPageV2.js';
15
+ /**
16
+ * Check if a given object implements the StatusPagesShowStatusPageCustomerPageResultV2 interface.
17
+ */
18
+ export function instanceOfStatusPagesShowStatusPageCustomerPageResultV2(value) {
19
+ if (!('customer_page' in value) || value['customer_page'] === undefined)
20
+ return false;
21
+ return true;
22
+ }
23
+ export function StatusPagesShowStatusPageCustomerPageResultV2FromJSON(json) {
24
+ return StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json, false);
25
+ }
26
+ export function StatusPagesShowStatusPageCustomerPageResultV2FromJSONTyped(json, ignoreDiscriminator) {
27
+ if (json == null) {
28
+ return json;
29
+ }
30
+ return {
31
+ 'customer_page': StatusPageCustomerPageV2FromJSON(json['customer_page']),
32
+ };
33
+ }
34
+ export function StatusPagesShowStatusPageCustomerPageResultV2ToJSON(json) {
35
+ return StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(json, false);
36
+ }
37
+ export function StatusPagesShowStatusPageCustomerPageResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'customer_page': StatusPageCustomerPageV2ToJSON(value['customer_page']),
43
+ };
44
+ }
@@ -243,6 +243,7 @@ export * from './AuditLogReliabilityReviewSpendLimitUpdatedMetadataV2.js';
243
243
  export * from './AuditLogSCIMGroupSeatMappingChangedMetadataV2.js';
244
244
  export * from './AuditLogScheduleOverrideMetadataV2.js';
245
245
  export * from './AuditLogTargetV2.js';
246
+ export * from './AuditLogTelemetryDataSourceAccessInheritanceChangedMetadataV2.js';
246
247
  export * from './AuditLogTelemetryDataSourceAccessModeChangedMetadataV2.js';
247
248
  export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2.js';
248
249
  export * from './AuditLogTelemetryDataSourceAccessPolicyChangedMetadataV2V2.js';
@@ -667,6 +668,7 @@ export * from './AuditLogsTeamRoleUpdatedV1.js';
667
668
  export * from './AuditLogsTeamRoleUpdatedV2.js';
668
669
  export * from './AuditLogsTeamSettingsUpdatedV1.js';
669
670
  export * from './AuditLogsTeamSettingsUpdatedV2.js';
671
+ export * from './AuditLogsTelemetryDataSourceAccessInheritanceChangedV1.js';
670
672
  export * from './AuditLogsTelemetryDataSourceAccessModeChangedV1.js';
671
673
  export * from './AuditLogsTelemetryDataSourceAccessModeChangedV2.js';
672
674
  export * from './AuditLogsTelemetryDataSourceAccessPolicyChangedV1.js';
@@ -1340,6 +1342,10 @@ export * from './StatusPageComponentsListResultV2.js';
1340
1342
  export * from './StatusPageComponentsShowResultV2.js';
1341
1343
  export * from './StatusPageComponentsUpdatePayloadV2.js';
1342
1344
  export * from './StatusPageComponentsUpdateResultV2.js';
1345
+ export * from './StatusPageCustomerPageComponentV2.js';
1346
+ export * from './StatusPageCustomerPageGroupV2.js';
1347
+ export * from './StatusPageCustomerPageItemV2.js';
1348
+ export * from './StatusPageCustomerPageV2.js';
1343
1349
  export * from './StatusPageIncidentAffectedComponentV2.js';
1344
1350
  export * from './StatusPageIncidentComponentImpactV2.js';
1345
1351
  export * from './StatusPageIncidentUpdateV2.js';
@@ -1373,6 +1379,7 @@ export * from './StatusPagesListStatusPageIncidentsResultV2.js';
1373
1379
  export * from './StatusPagesListStatusPageMaintenancesResultV2.js';
1374
1380
  export * from './StatusPagesListStatusPagesResultV2.js';
1375
1381
  export * from './StatusPagesShowStatusPageComponentAvailabilityResultV2.js';
1382
+ export * from './StatusPagesShowStatusPageCustomerPageResultV2.js';
1376
1383
  export * from './StatusPagesShowStatusPageIncidentResultV2.js';
1377
1384
  export * from './StatusPagesShowStatusPageMaintenanceResultV2.js';
1378
1385
  export * from './StatusPagesShowStatusPageResultV2.js';