@incident-io/sdk 2.8.0 → 2.10.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.
- package/dist/cjs/apis/IncidentFormsV3Api.d.ts +131 -0
- package/dist/cjs/apis/IncidentFormsV3Api.js +279 -0
- package/dist/cjs/apis/StatusPageComponentsV2Api.d.ts +129 -0
- package/dist/cjs/apis/StatusPageComponentsV2Api.js +273 -0
- package/dist/cjs/apis/index.d.ts +2 -0
- package/dist/cjs/apis/index.js +2 -0
- package/dist/cjs/models/IncidentFormLifecycleElementConfigV3.d.ts +30 -0
- package/dist/cjs/models/IncidentFormLifecycleElementConfigV3.js +48 -0
- package/dist/cjs/models/IncidentFormLifecycleElementPayloadV3.d.ts +115 -0
- package/dist/cjs/models/IncidentFormLifecycleElementPayloadV3.js +110 -0
- package/dist/cjs/models/IncidentFormLifecycleElementV3.d.ts +115 -0
- package/dist/cjs/models/IncidentFormLifecycleElementV3.js +110 -0
- package/dist/cjs/models/IncidentFormV3.d.ts +68 -0
- package/dist/cjs/models/IncidentFormV3.js +85 -0
- package/dist/cjs/models/IncidentFormsCreatePayloadV3.d.ts +56 -0
- package/dist/cjs/models/IncidentFormsCreatePayloadV3.js +72 -0
- package/dist/cjs/models/IncidentFormsCreateResultV3.d.ts +31 -0
- package/dist/cjs/models/IncidentFormsCreateResultV3.js +51 -0
- package/dist/cjs/models/IncidentFormsListResultV3.d.ts +36 -0
- package/dist/cjs/models/IncidentFormsListResultV3.js +56 -0
- package/dist/cjs/models/IncidentFormsShowResultV3.d.ts +31 -0
- package/dist/cjs/models/IncidentFormsShowResultV3.js +51 -0
- package/dist/cjs/models/IncidentFormsUpdatePayloadV3.d.ts +56 -0
- package/dist/cjs/models/IncidentFormsUpdatePayloadV3.js +72 -0
- package/dist/cjs/models/IncidentFormsUpdateResultV3.d.ts +31 -0
- package/dist/cjs/models/IncidentFormsUpdateResultV3.js +51 -0
- package/dist/cjs/models/StatusPageComponentV2.d.ts +46 -0
- package/dist/cjs/models/StatusPageComponentV2.js +61 -0
- package/dist/cjs/models/StatusPageComponentsCreatePayloadV2.d.ts +34 -0
- package/dist/cjs/models/StatusPageComponentsCreatePayloadV2.js +52 -0
- package/dist/cjs/models/StatusPageComponentsCreateResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsCreateResultV2.js +51 -0
- package/dist/cjs/models/StatusPageComponentsListResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsListResultV2.js +51 -0
- package/dist/cjs/models/StatusPageComponentsShowResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsShowResultV2.js +51 -0
- package/dist/cjs/models/StatusPageComponentsUpdatePayloadV2.d.ts +34 -0
- package/dist/cjs/models/StatusPageComponentsUpdatePayloadV2.js +52 -0
- package/dist/cjs/models/StatusPageComponentsUpdateResultV2.d.ts +31 -0
- package/dist/cjs/models/StatusPageComponentsUpdateResultV2.js +51 -0
- package/dist/cjs/models/index.d.ts +17 -0
- package/dist/cjs/models/index.js +17 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/apis/IncidentFormsV3Api.d.ts +131 -0
- package/dist/esm/apis/IncidentFormsV3Api.js +242 -0
- package/dist/esm/apis/StatusPageComponentsV2Api.d.ts +129 -0
- package/dist/esm/apis/StatusPageComponentsV2Api.js +236 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/IncidentFormLifecycleElementConfigV3.d.ts +30 -0
- package/dist/esm/models/IncidentFormLifecycleElementConfigV3.js +41 -0
- package/dist/esm/models/IncidentFormLifecycleElementPayloadV3.d.ts +115 -0
- package/dist/esm/models/IncidentFormLifecycleElementPayloadV3.js +102 -0
- package/dist/esm/models/IncidentFormLifecycleElementV3.d.ts +115 -0
- package/dist/esm/models/IncidentFormLifecycleElementV3.js +102 -0
- package/dist/esm/models/IncidentFormV3.d.ts +68 -0
- package/dist/esm/models/IncidentFormV3.js +77 -0
- package/dist/esm/models/IncidentFormsCreatePayloadV3.d.ts +56 -0
- package/dist/esm/models/IncidentFormsCreatePayloadV3.js +64 -0
- package/dist/esm/models/IncidentFormsCreateResultV3.d.ts +31 -0
- package/dist/esm/models/IncidentFormsCreateResultV3.js +44 -0
- package/dist/esm/models/IncidentFormsListResultV3.d.ts +36 -0
- package/dist/esm/models/IncidentFormsListResultV3.js +49 -0
- package/dist/esm/models/IncidentFormsShowResultV3.d.ts +31 -0
- package/dist/esm/models/IncidentFormsShowResultV3.js +44 -0
- package/dist/esm/models/IncidentFormsUpdatePayloadV3.d.ts +56 -0
- package/dist/esm/models/IncidentFormsUpdatePayloadV3.js +64 -0
- package/dist/esm/models/IncidentFormsUpdateResultV3.d.ts +31 -0
- package/dist/esm/models/IncidentFormsUpdateResultV3.js +44 -0
- package/dist/esm/models/StatusPageComponentV2.d.ts +46 -0
- package/dist/esm/models/StatusPageComponentV2.js +54 -0
- package/dist/esm/models/StatusPageComponentsCreatePayloadV2.d.ts +34 -0
- package/dist/esm/models/StatusPageComponentsCreatePayloadV2.js +45 -0
- package/dist/esm/models/StatusPageComponentsCreateResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsCreateResultV2.js +44 -0
- package/dist/esm/models/StatusPageComponentsListResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsListResultV2.js +44 -0
- package/dist/esm/models/StatusPageComponentsShowResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsShowResultV2.js +44 -0
- package/dist/esm/models/StatusPageComponentsUpdatePayloadV2.d.ts +34 -0
- package/dist/esm/models/StatusPageComponentsUpdatePayloadV2.js +45 -0
- package/dist/esm/models/StatusPageComponentsUpdateResultV2.d.ts +31 -0
- package/dist/esm/models/StatusPageComponentsUpdateResultV2.js +44 -0
- package/dist/esm/models/index.d.ts +17 -0
- package/dist/esm/models/index.js +17 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
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 StatusPageComponentsCreatePayloadV2
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusPageComponentsCreatePayloadV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Optional short description of this component
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Human-readable name for the component
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the StatusPageComponentsCreatePayloadV2 interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfStatusPageComponentsCreatePayloadV2(value: object): value is StatusPageComponentsCreatePayloadV2;
|
|
31
|
+
export declare function StatusPageComponentsCreatePayloadV2FromJSON(json: any): StatusPageComponentsCreatePayloadV2;
|
|
32
|
+
export declare function StatusPageComponentsCreatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageComponentsCreatePayloadV2;
|
|
33
|
+
export declare function StatusPageComponentsCreatePayloadV2ToJSON(json: any): StatusPageComponentsCreatePayloadV2;
|
|
34
|
+
export declare function StatusPageComponentsCreatePayloadV2ToJSONTyped(value?: StatusPageComponentsCreatePayloadV2 | 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
|
+
/**
|
|
15
|
+
* Check if a given object implements the StatusPageComponentsCreatePayloadV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfStatusPageComponentsCreatePayloadV2(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function StatusPageComponentsCreatePayloadV2FromJSON(json) {
|
|
23
|
+
return StatusPageComponentsCreatePayloadV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function StatusPageComponentsCreatePayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
31
|
+
'name': json['name'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StatusPageComponentsCreatePayloadV2ToJSON(json) {
|
|
35
|
+
return StatusPageComponentsCreatePayloadV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StatusPageComponentsCreatePayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'description': value['description'],
|
|
43
|
+
'name': value['name'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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 { StatusPageComponentV2 } from './StatusPageComponentV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StatusPageComponentsCreateResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface StatusPageComponentsCreateResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
status_page_component: StatusPageComponentV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StatusPageComponentsCreateResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfStatusPageComponentsCreateResultV2(value: object): value is StatusPageComponentsCreateResultV2;
|
|
28
|
+
export declare function StatusPageComponentsCreateResultV2FromJSON(json: any): StatusPageComponentsCreateResultV2;
|
|
29
|
+
export declare function StatusPageComponentsCreateResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageComponentsCreateResultV2;
|
|
30
|
+
export declare function StatusPageComponentsCreateResultV2ToJSON(json: any): StatusPageComponentsCreateResultV2;
|
|
31
|
+
export declare function StatusPageComponentsCreateResultV2ToJSONTyped(value?: StatusPageComponentsCreateResultV2 | 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 { StatusPageComponentV2FromJSON, StatusPageComponentV2ToJSON, } from './StatusPageComponentV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the StatusPageComponentsCreateResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfStatusPageComponentsCreateResultV2(value) {
|
|
19
|
+
if (!('status_page_component' in value) || value['status_page_component'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function StatusPageComponentsCreateResultV2FromJSON(json) {
|
|
24
|
+
return StatusPageComponentsCreateResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function StatusPageComponentsCreateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'status_page_component': StatusPageComponentV2FromJSON(json['status_page_component']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StatusPageComponentsCreateResultV2ToJSON(json) {
|
|
35
|
+
return StatusPageComponentsCreateResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StatusPageComponentsCreateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'status_page_component': StatusPageComponentV2ToJSON(value['status_page_component']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 { StatusPageComponentV2 } from './StatusPageComponentV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StatusPageComponentsListResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface StatusPageComponentsListResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
status_page_components: Array<StatusPageComponentV2>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StatusPageComponentsListResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfStatusPageComponentsListResultV2(value: object): value is StatusPageComponentsListResultV2;
|
|
28
|
+
export declare function StatusPageComponentsListResultV2FromJSON(json: any): StatusPageComponentsListResultV2;
|
|
29
|
+
export declare function StatusPageComponentsListResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageComponentsListResultV2;
|
|
30
|
+
export declare function StatusPageComponentsListResultV2ToJSON(json: any): StatusPageComponentsListResultV2;
|
|
31
|
+
export declare function StatusPageComponentsListResultV2ToJSONTyped(value?: StatusPageComponentsListResultV2 | 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 { StatusPageComponentV2FromJSON, StatusPageComponentV2ToJSON, } from './StatusPageComponentV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the StatusPageComponentsListResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfStatusPageComponentsListResultV2(value) {
|
|
19
|
+
if (!('status_page_components' in value) || value['status_page_components'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function StatusPageComponentsListResultV2FromJSON(json) {
|
|
24
|
+
return StatusPageComponentsListResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function StatusPageComponentsListResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'status_page_components': (json['status_page_components'].map(StatusPageComponentV2FromJSON)),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StatusPageComponentsListResultV2ToJSON(json) {
|
|
35
|
+
return StatusPageComponentsListResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StatusPageComponentsListResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'status_page_components': (value['status_page_components'].map(StatusPageComponentV2ToJSON)),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -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 { StatusPageComponentV2 } from './StatusPageComponentV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StatusPageComponentsShowResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface StatusPageComponentsShowResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
status_page_component: StatusPageComponentV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StatusPageComponentsShowResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfStatusPageComponentsShowResultV2(value: object): value is StatusPageComponentsShowResultV2;
|
|
28
|
+
export declare function StatusPageComponentsShowResultV2FromJSON(json: any): StatusPageComponentsShowResultV2;
|
|
29
|
+
export declare function StatusPageComponentsShowResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageComponentsShowResultV2;
|
|
30
|
+
export declare function StatusPageComponentsShowResultV2ToJSON(json: any): StatusPageComponentsShowResultV2;
|
|
31
|
+
export declare function StatusPageComponentsShowResultV2ToJSONTyped(value?: StatusPageComponentsShowResultV2 | 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 { StatusPageComponentV2FromJSON, StatusPageComponentV2ToJSON, } from './StatusPageComponentV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the StatusPageComponentsShowResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfStatusPageComponentsShowResultV2(value) {
|
|
19
|
+
if (!('status_page_component' in value) || value['status_page_component'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function StatusPageComponentsShowResultV2FromJSON(json) {
|
|
24
|
+
return StatusPageComponentsShowResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function StatusPageComponentsShowResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'status_page_component': StatusPageComponentV2FromJSON(json['status_page_component']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StatusPageComponentsShowResultV2ToJSON(json) {
|
|
35
|
+
return StatusPageComponentsShowResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StatusPageComponentsShowResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'status_page_component': StatusPageComponentV2ToJSON(value['status_page_component']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 StatusPageComponentsUpdatePayloadV2
|
|
16
|
+
*/
|
|
17
|
+
export interface StatusPageComponentsUpdatePayloadV2 {
|
|
18
|
+
/**
|
|
19
|
+
* Optional short description of this component
|
|
20
|
+
*/
|
|
21
|
+
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Human-readable name for the component
|
|
24
|
+
*/
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the StatusPageComponentsUpdatePayloadV2 interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfStatusPageComponentsUpdatePayloadV2(value: object): value is StatusPageComponentsUpdatePayloadV2;
|
|
31
|
+
export declare function StatusPageComponentsUpdatePayloadV2FromJSON(json: any): StatusPageComponentsUpdatePayloadV2;
|
|
32
|
+
export declare function StatusPageComponentsUpdatePayloadV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageComponentsUpdatePayloadV2;
|
|
33
|
+
export declare function StatusPageComponentsUpdatePayloadV2ToJSON(json: any): StatusPageComponentsUpdatePayloadV2;
|
|
34
|
+
export declare function StatusPageComponentsUpdatePayloadV2ToJSONTyped(value?: StatusPageComponentsUpdatePayloadV2 | 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
|
+
/**
|
|
15
|
+
* Check if a given object implements the StatusPageComponentsUpdatePayloadV2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfStatusPageComponentsUpdatePayloadV2(value) {
|
|
18
|
+
if (!('name' in value) || value['name'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function StatusPageComponentsUpdatePayloadV2FromJSON(json) {
|
|
23
|
+
return StatusPageComponentsUpdatePayloadV2FromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function StatusPageComponentsUpdatePayloadV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
31
|
+
'name': json['name'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StatusPageComponentsUpdatePayloadV2ToJSON(json) {
|
|
35
|
+
return StatusPageComponentsUpdatePayloadV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StatusPageComponentsUpdatePayloadV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'description': value['description'],
|
|
43
|
+
'name': value['name'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -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 { StatusPageComponentV2 } from './StatusPageComponentV2.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface StatusPageComponentsUpdateResultV2
|
|
17
|
+
*/
|
|
18
|
+
export interface StatusPageComponentsUpdateResultV2 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
status_page_component: StatusPageComponentV2;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the StatusPageComponentsUpdateResultV2 interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfStatusPageComponentsUpdateResultV2(value: object): value is StatusPageComponentsUpdateResultV2;
|
|
28
|
+
export declare function StatusPageComponentsUpdateResultV2FromJSON(json: any): StatusPageComponentsUpdateResultV2;
|
|
29
|
+
export declare function StatusPageComponentsUpdateResultV2FromJSONTyped(json: any, ignoreDiscriminator: boolean): StatusPageComponentsUpdateResultV2;
|
|
30
|
+
export declare function StatusPageComponentsUpdateResultV2ToJSON(json: any): StatusPageComponentsUpdateResultV2;
|
|
31
|
+
export declare function StatusPageComponentsUpdateResultV2ToJSONTyped(value?: StatusPageComponentsUpdateResultV2 | 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 { StatusPageComponentV2FromJSON, StatusPageComponentV2ToJSON, } from './StatusPageComponentV2.js';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the StatusPageComponentsUpdateResultV2 interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfStatusPageComponentsUpdateResultV2(value) {
|
|
19
|
+
if (!('status_page_component' in value) || value['status_page_component'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
return true;
|
|
22
|
+
}
|
|
23
|
+
export function StatusPageComponentsUpdateResultV2FromJSON(json) {
|
|
24
|
+
return StatusPageComponentsUpdateResultV2FromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function StatusPageComponentsUpdateResultV2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if (json == null) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'status_page_component': StatusPageComponentV2FromJSON(json['status_page_component']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function StatusPageComponentsUpdateResultV2ToJSON(json) {
|
|
35
|
+
return StatusPageComponentsUpdateResultV2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function StatusPageComponentsUpdateResultV2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'status_page_component': StatusPageComponentV2ToJSON(value['status_page_component']),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -754,6 +754,16 @@ export * from './IncidentDebriefV2.js';
|
|
|
754
754
|
export * from './IncidentDurationMetricV2.js';
|
|
755
755
|
export * from './IncidentDurationMetricWithValueV2.js';
|
|
756
756
|
export * from './IncidentEditPayloadV2.js';
|
|
757
|
+
export * from './IncidentFormLifecycleElementConfigV3.js';
|
|
758
|
+
export * from './IncidentFormLifecycleElementPayloadV3.js';
|
|
759
|
+
export * from './IncidentFormLifecycleElementV3.js';
|
|
760
|
+
export * from './IncidentFormV3.js';
|
|
761
|
+
export * from './IncidentFormsCreatePayloadV3.js';
|
|
762
|
+
export * from './IncidentFormsCreateResultV3.js';
|
|
763
|
+
export * from './IncidentFormsListResultV3.js';
|
|
764
|
+
export * from './IncidentFormsShowResultV3.js';
|
|
765
|
+
export * from './IncidentFormsUpdatePayloadV3.js';
|
|
766
|
+
export * from './IncidentFormsUpdateResultV3.js';
|
|
757
767
|
export * from './IncidentMembershipV1.js';
|
|
758
768
|
export * from './IncidentMembershipsCreatePayloadV1.js';
|
|
759
769
|
export * from './IncidentMembershipsCreateResultV1.js';
|
|
@@ -1046,6 +1056,13 @@ export * from './SeveritiesUpdateResultV1.js';
|
|
|
1046
1056
|
export * from './SeverityV1.js';
|
|
1047
1057
|
export * from './SeverityV2.js';
|
|
1048
1058
|
export * from './StatusPageComponentAvailabilityV2.js';
|
|
1059
|
+
export * from './StatusPageComponentV2.js';
|
|
1060
|
+
export * from './StatusPageComponentsCreatePayloadV2.js';
|
|
1061
|
+
export * from './StatusPageComponentsCreateResultV2.js';
|
|
1062
|
+
export * from './StatusPageComponentsListResultV2.js';
|
|
1063
|
+
export * from './StatusPageComponentsShowResultV2.js';
|
|
1064
|
+
export * from './StatusPageComponentsUpdatePayloadV2.js';
|
|
1065
|
+
export * from './StatusPageComponentsUpdateResultV2.js';
|
|
1049
1066
|
export * from './StatusPageIncidentAffectedComponentV2.js';
|
|
1050
1067
|
export * from './StatusPageIncidentComponentImpactV2.js';
|
|
1051
1068
|
export * from './StatusPageIncidentUpdateV2.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -756,6 +756,16 @@ export * from './IncidentDebriefV2.js';
|
|
|
756
756
|
export * from './IncidentDurationMetricV2.js';
|
|
757
757
|
export * from './IncidentDurationMetricWithValueV2.js';
|
|
758
758
|
export * from './IncidentEditPayloadV2.js';
|
|
759
|
+
export * from './IncidentFormLifecycleElementConfigV3.js';
|
|
760
|
+
export * from './IncidentFormLifecycleElementPayloadV3.js';
|
|
761
|
+
export * from './IncidentFormLifecycleElementV3.js';
|
|
762
|
+
export * from './IncidentFormV3.js';
|
|
763
|
+
export * from './IncidentFormsCreatePayloadV3.js';
|
|
764
|
+
export * from './IncidentFormsCreateResultV3.js';
|
|
765
|
+
export * from './IncidentFormsListResultV3.js';
|
|
766
|
+
export * from './IncidentFormsShowResultV3.js';
|
|
767
|
+
export * from './IncidentFormsUpdatePayloadV3.js';
|
|
768
|
+
export * from './IncidentFormsUpdateResultV3.js';
|
|
759
769
|
export * from './IncidentMembershipV1.js';
|
|
760
770
|
export * from './IncidentMembershipsCreatePayloadV1.js';
|
|
761
771
|
export * from './IncidentMembershipsCreateResultV1.js';
|
|
@@ -1048,6 +1058,13 @@ export * from './SeveritiesUpdateResultV1.js';
|
|
|
1048
1058
|
export * from './SeverityV1.js';
|
|
1049
1059
|
export * from './SeverityV2.js';
|
|
1050
1060
|
export * from './StatusPageComponentAvailabilityV2.js';
|
|
1061
|
+
export * from './StatusPageComponentV2.js';
|
|
1062
|
+
export * from './StatusPageComponentsCreatePayloadV2.js';
|
|
1063
|
+
export * from './StatusPageComponentsCreateResultV2.js';
|
|
1064
|
+
export * from './StatusPageComponentsListResultV2.js';
|
|
1065
|
+
export * from './StatusPageComponentsShowResultV2.js';
|
|
1066
|
+
export * from './StatusPageComponentsUpdatePayloadV2.js';
|
|
1067
|
+
export * from './StatusPageComponentsUpdateResultV2.js';
|
|
1051
1068
|
export * from './StatusPageIncidentAffectedComponentV2.js';
|
|
1052
1069
|
export * from './StatusPageIncidentComponentImpactV2.js';
|
|
1053
1070
|
export * from './StatusPageIncidentUpdateV2.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.10.0";
|
package/dist/esm/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Written by `make build` from package.json. Do not edit.
|
|
2
|
-
export const VERSION = "2.
|
|
2
|
+
export const VERSION = "2.10.0";
|