@incident-io/sdk 2.11.0 → 2.13.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/models/AuditLogExtensionPluginCreatedMetadataV2.d.ts +42 -0
- package/dist/cjs/models/AuditLogExtensionPluginCreatedMetadataV2.js +60 -0
- package/dist/cjs/models/AuditLogExtensionPluginUpdatedMetadataV2.d.ts +94 -0
- package/dist/cjs/models/AuditLogExtensionPluginUpdatedMetadataV2.js +82 -0
- package/dist/cjs/models/AuditLogInvestigationTriggerMetadataV2.d.ts +54 -0
- package/dist/cjs/models/AuditLogInvestigationTriggerMetadataV2.js +70 -0
- package/dist/cjs/models/AuditLogTargetV2.d.ts +3 -0
- package/dist/cjs/models/AuditLogTargetV2.js +3 -0
- package/dist/cjs/models/AuditLogsExtensionPluginCreatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsExtensionPluginCreatedV1.js +79 -0
- package/dist/cjs/models/AuditLogsExtensionPluginDeletedV1.d.ts +53 -0
- package/dist/cjs/models/AuditLogsExtensionPluginDeletedV1.js +74 -0
- package/dist/cjs/models/AuditLogsExtensionPluginUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsExtensionPluginUpdatedV1.js +79 -0
- package/dist/cjs/models/AuditLogsGlossaryEntryCreatedV1.d.ts +53 -0
- package/dist/cjs/models/AuditLogsGlossaryEntryCreatedV1.js +74 -0
- package/dist/cjs/models/AuditLogsGlossaryEntryDeletedV1.d.ts +53 -0
- package/dist/cjs/models/AuditLogsGlossaryEntryDeletedV1.js +74 -0
- package/dist/cjs/models/AuditLogsGlossaryEntryUpdatedV1.d.ts +53 -0
- package/dist/cjs/models/AuditLogsGlossaryEntryUpdatedV1.js +74 -0
- package/dist/cjs/models/AuditLogsInvestigationTriggerCreatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsInvestigationTriggerCreatedV1.js +79 -0
- package/dist/cjs/models/AuditLogsInvestigationTriggerDeletedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsInvestigationTriggerDeletedV1.js +79 -0
- package/dist/cjs/models/AuditLogsInvestigationTriggerUpdatedV1.d.ts +58 -0
- package/dist/cjs/models/AuditLogsInvestigationTriggerUpdatedV1.js +79 -0
- package/dist/cjs/models/PostmortemDocumentsAttachPayloadV1.d.ts +1 -1
- package/dist/cjs/models/index.d.ts +12 -0
- package/dist/cjs/models/index.js +12 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogExtensionPluginCreatedMetadataV2.d.ts +42 -0
- package/dist/esm/models/AuditLogExtensionPluginCreatedMetadataV2.js +53 -0
- package/dist/esm/models/AuditLogExtensionPluginUpdatedMetadataV2.d.ts +94 -0
- package/dist/esm/models/AuditLogExtensionPluginUpdatedMetadataV2.js +75 -0
- package/dist/esm/models/AuditLogInvestigationTriggerMetadataV2.d.ts +54 -0
- package/dist/esm/models/AuditLogInvestigationTriggerMetadataV2.js +63 -0
- package/dist/esm/models/AuditLogTargetV2.d.ts +3 -0
- package/dist/esm/models/AuditLogTargetV2.js +3 -0
- package/dist/esm/models/AuditLogsExtensionPluginCreatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsExtensionPluginCreatedV1.js +72 -0
- package/dist/esm/models/AuditLogsExtensionPluginDeletedV1.d.ts +53 -0
- package/dist/esm/models/AuditLogsExtensionPluginDeletedV1.js +67 -0
- package/dist/esm/models/AuditLogsExtensionPluginUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsExtensionPluginUpdatedV1.js +72 -0
- package/dist/esm/models/AuditLogsGlossaryEntryCreatedV1.d.ts +53 -0
- package/dist/esm/models/AuditLogsGlossaryEntryCreatedV1.js +67 -0
- package/dist/esm/models/AuditLogsGlossaryEntryDeletedV1.d.ts +53 -0
- package/dist/esm/models/AuditLogsGlossaryEntryDeletedV1.js +67 -0
- package/dist/esm/models/AuditLogsGlossaryEntryUpdatedV1.d.ts +53 -0
- package/dist/esm/models/AuditLogsGlossaryEntryUpdatedV1.js +67 -0
- package/dist/esm/models/AuditLogsInvestigationTriggerCreatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsInvestigationTriggerCreatedV1.js +72 -0
- package/dist/esm/models/AuditLogsInvestigationTriggerDeletedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsInvestigationTriggerDeletedV1.js +72 -0
- package/dist/esm/models/AuditLogsInvestigationTriggerUpdatedV1.d.ts +58 -0
- package/dist/esm/models/AuditLogsInvestigationTriggerUpdatedV1.js +72 -0
- package/dist/esm/models/PostmortemDocumentsAttachPayloadV1.d.ts +1 -1
- package/dist/esm/models/index.d.ts +12 -0
- package/dist/esm/models/index.js +12 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
+
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
|
+
/**
|
|
19
|
+
* Check if a given object implements the AuditLogsGlossaryEntryCreatedV1 interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfAuditLogsGlossaryEntryCreatedV1(value) {
|
|
22
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function AuditLogsGlossaryEntryCreatedV1FromJSON(json) {
|
|
37
|
+
return AuditLogsGlossaryEntryCreatedV1FromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AuditLogsGlossaryEntryCreatedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'action': json['action'],
|
|
45
|
+
'actor': AuditLogActorV2FromJSON(json['actor']),
|
|
46
|
+
'context': AuditLogEntryContextV2FromJSON(json['context']),
|
|
47
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
|
|
48
|
+
'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
|
|
49
|
+
'version': json['version'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function AuditLogsGlossaryEntryCreatedV1ToJSON(json) {
|
|
53
|
+
return AuditLogsGlossaryEntryCreatedV1ToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function AuditLogsGlossaryEntryCreatedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'action': value['action'],
|
|
61
|
+
'actor': AuditLogActorV2ToJSON(value['actor']),
|
|
62
|
+
'context': AuditLogEntryContextV2ToJSON(value['context']),
|
|
63
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
|
|
64
|
+
'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
|
|
65
|
+
'version': value['version'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AuditLogsGlossaryEntryDeletedV1
|
|
19
|
+
*/
|
|
20
|
+
export interface AuditLogsGlossaryEntryDeletedV1 {
|
|
21
|
+
/**
|
|
22
|
+
* The type of log entry that this is
|
|
23
|
+
*/
|
|
24
|
+
action: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
actor: AuditLogActorV2;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
context: AuditLogEntryContextV2;
|
|
33
|
+
/**
|
|
34
|
+
* When the entry occurred
|
|
35
|
+
*/
|
|
36
|
+
occurred_at: Date;
|
|
37
|
+
/**
|
|
38
|
+
* The custom field that was created
|
|
39
|
+
*/
|
|
40
|
+
targets: Array<AuditLogTargetV2>;
|
|
41
|
+
/**
|
|
42
|
+
* Which version the event is
|
|
43
|
+
*/
|
|
44
|
+
version: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the AuditLogsGlossaryEntryDeletedV1 interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAuditLogsGlossaryEntryDeletedV1(value: object): value is AuditLogsGlossaryEntryDeletedV1;
|
|
50
|
+
export declare function AuditLogsGlossaryEntryDeletedV1FromJSON(json: any): AuditLogsGlossaryEntryDeletedV1;
|
|
51
|
+
export declare function AuditLogsGlossaryEntryDeletedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsGlossaryEntryDeletedV1;
|
|
52
|
+
export declare function AuditLogsGlossaryEntryDeletedV1ToJSON(json: any): AuditLogsGlossaryEntryDeletedV1;
|
|
53
|
+
export declare function AuditLogsGlossaryEntryDeletedV1ToJSONTyped(value?: AuditLogsGlossaryEntryDeletedV1 | 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
|
+
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
|
+
/**
|
|
19
|
+
* Check if a given object implements the AuditLogsGlossaryEntryDeletedV1 interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfAuditLogsGlossaryEntryDeletedV1(value) {
|
|
22
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function AuditLogsGlossaryEntryDeletedV1FromJSON(json) {
|
|
37
|
+
return AuditLogsGlossaryEntryDeletedV1FromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AuditLogsGlossaryEntryDeletedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'action': json['action'],
|
|
45
|
+
'actor': AuditLogActorV2FromJSON(json['actor']),
|
|
46
|
+
'context': AuditLogEntryContextV2FromJSON(json['context']),
|
|
47
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
|
|
48
|
+
'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
|
|
49
|
+
'version': json['version'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function AuditLogsGlossaryEntryDeletedV1ToJSON(json) {
|
|
53
|
+
return AuditLogsGlossaryEntryDeletedV1ToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function AuditLogsGlossaryEntryDeletedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'action': value['action'],
|
|
61
|
+
'actor': AuditLogActorV2ToJSON(value['actor']),
|
|
62
|
+
'context': AuditLogEntryContextV2ToJSON(value['context']),
|
|
63
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
|
|
64
|
+
'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
|
|
65
|
+
'version': value['version'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface AuditLogsGlossaryEntryUpdatedV1
|
|
19
|
+
*/
|
|
20
|
+
export interface AuditLogsGlossaryEntryUpdatedV1 {
|
|
21
|
+
/**
|
|
22
|
+
* The type of log entry that this is
|
|
23
|
+
*/
|
|
24
|
+
action: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
actor: AuditLogActorV2;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
*/
|
|
32
|
+
context: AuditLogEntryContextV2;
|
|
33
|
+
/**
|
|
34
|
+
* When the entry occurred
|
|
35
|
+
*/
|
|
36
|
+
occurred_at: Date;
|
|
37
|
+
/**
|
|
38
|
+
* The custom field that was created
|
|
39
|
+
*/
|
|
40
|
+
targets: Array<AuditLogTargetV2>;
|
|
41
|
+
/**
|
|
42
|
+
* Which version the event is
|
|
43
|
+
*/
|
|
44
|
+
version: number;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Check if a given object implements the AuditLogsGlossaryEntryUpdatedV1 interface.
|
|
48
|
+
*/
|
|
49
|
+
export declare function instanceOfAuditLogsGlossaryEntryUpdatedV1(value: object): value is AuditLogsGlossaryEntryUpdatedV1;
|
|
50
|
+
export declare function AuditLogsGlossaryEntryUpdatedV1FromJSON(json: any): AuditLogsGlossaryEntryUpdatedV1;
|
|
51
|
+
export declare function AuditLogsGlossaryEntryUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsGlossaryEntryUpdatedV1;
|
|
52
|
+
export declare function AuditLogsGlossaryEntryUpdatedV1ToJSON(json: any): AuditLogsGlossaryEntryUpdatedV1;
|
|
53
|
+
export declare function AuditLogsGlossaryEntryUpdatedV1ToJSONTyped(value?: AuditLogsGlossaryEntryUpdatedV1 | 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
|
+
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
|
+
/**
|
|
19
|
+
* Check if a given object implements the AuditLogsGlossaryEntryUpdatedV1 interface.
|
|
20
|
+
*/
|
|
21
|
+
export function instanceOfAuditLogsGlossaryEntryUpdatedV1(value) {
|
|
22
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
29
|
+
return false;
|
|
30
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
export function AuditLogsGlossaryEntryUpdatedV1FromJSON(json) {
|
|
37
|
+
return AuditLogsGlossaryEntryUpdatedV1FromJSONTyped(json, false);
|
|
38
|
+
}
|
|
39
|
+
export function AuditLogsGlossaryEntryUpdatedV1FromJSONTyped(json, ignoreDiscriminator) {
|
|
40
|
+
if (json == null) {
|
|
41
|
+
return json;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'action': json['action'],
|
|
45
|
+
'actor': AuditLogActorV2FromJSON(json['actor']),
|
|
46
|
+
'context': AuditLogEntryContextV2FromJSON(json['context']),
|
|
47
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : parseDateTime(json['occurred_at'])),
|
|
48
|
+
'targets': (json['targets'].map(AuditLogTargetV2FromJSON)),
|
|
49
|
+
'version': json['version'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
export function AuditLogsGlossaryEntryUpdatedV1ToJSON(json) {
|
|
53
|
+
return AuditLogsGlossaryEntryUpdatedV1ToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
export function AuditLogsGlossaryEntryUpdatedV1ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
return {
|
|
60
|
+
'action': value['action'],
|
|
61
|
+
'actor': AuditLogActorV2ToJSON(value['actor']),
|
|
62
|
+
'context': AuditLogEntryContextV2ToJSON(value['context']),
|
|
63
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : serializeDateTime(value['occurred_at']),
|
|
64
|
+
'targets': (value['targets'].map(AuditLogTargetV2ToJSON)),
|
|
65
|
+
'version': value['version'],
|
|
66
|
+
};
|
|
67
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
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 { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogInvestigationTriggerMetadataV2 } from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsInvestigationTriggerCreatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsInvestigationTriggerCreatedV1 {
|
|
22
|
+
/**
|
|
23
|
+
* The type of log entry that this is
|
|
24
|
+
*/
|
|
25
|
+
action: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
actor: AuditLogActorV2;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
context: AuditLogEntryContextV2;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
metadata: AuditLogInvestigationTriggerMetadataV2;
|
|
38
|
+
/**
|
|
39
|
+
* When the entry occurred
|
|
40
|
+
*/
|
|
41
|
+
occurred_at: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The custom field that was created
|
|
44
|
+
*/
|
|
45
|
+
targets: Array<AuditLogTargetV2>;
|
|
46
|
+
/**
|
|
47
|
+
* Which version the event is
|
|
48
|
+
*/
|
|
49
|
+
version: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AuditLogsInvestigationTriggerCreatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsInvestigationTriggerCreatedV1(value: object): value is AuditLogsInvestigationTriggerCreatedV1;
|
|
55
|
+
export declare function AuditLogsInvestigationTriggerCreatedV1FromJSON(json: any): AuditLogsInvestigationTriggerCreatedV1;
|
|
56
|
+
export declare function AuditLogsInvestigationTriggerCreatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationTriggerCreatedV1;
|
|
57
|
+
export declare function AuditLogsInvestigationTriggerCreatedV1ToJSON(json: any): AuditLogsInvestigationTriggerCreatedV1;
|
|
58
|
+
export declare function AuditLogsInvestigationTriggerCreatedV1ToJSONTyped(value?: AuditLogsInvestigationTriggerCreatedV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 { AuditLogInvestigationTriggerMetadataV2FromJSON, AuditLogInvestigationTriggerMetadataV2ToJSON, } from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsInvestigationTriggerCreatedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsInvestigationTriggerCreatedV1(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 AuditLogsInvestigationTriggerCreatedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsInvestigationTriggerCreatedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsInvestigationTriggerCreatedV1FromJSONTyped(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': AuditLogInvestigationTriggerMetadataV2FromJSON(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 AuditLogsInvestigationTriggerCreatedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsInvestigationTriggerCreatedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsInvestigationTriggerCreatedV1ToJSONTyped(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': AuditLogInvestigationTriggerMetadataV2ToJSON(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,58 @@
|
|
|
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 { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogInvestigationTriggerMetadataV2 } from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsInvestigationTriggerDeletedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsInvestigationTriggerDeletedV1 {
|
|
22
|
+
/**
|
|
23
|
+
* The type of log entry that this is
|
|
24
|
+
*/
|
|
25
|
+
action: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
actor: AuditLogActorV2;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
context: AuditLogEntryContextV2;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
metadata: AuditLogInvestigationTriggerMetadataV2;
|
|
38
|
+
/**
|
|
39
|
+
* When the entry occurred
|
|
40
|
+
*/
|
|
41
|
+
occurred_at: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The custom field that was created
|
|
44
|
+
*/
|
|
45
|
+
targets: Array<AuditLogTargetV2>;
|
|
46
|
+
/**
|
|
47
|
+
* Which version the event is
|
|
48
|
+
*/
|
|
49
|
+
version: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AuditLogsInvestigationTriggerDeletedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsInvestigationTriggerDeletedV1(value: object): value is AuditLogsInvestigationTriggerDeletedV1;
|
|
55
|
+
export declare function AuditLogsInvestigationTriggerDeletedV1FromJSON(json: any): AuditLogsInvestigationTriggerDeletedV1;
|
|
56
|
+
export declare function AuditLogsInvestigationTriggerDeletedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationTriggerDeletedV1;
|
|
57
|
+
export declare function AuditLogsInvestigationTriggerDeletedV1ToJSON(json: any): AuditLogsInvestigationTriggerDeletedV1;
|
|
58
|
+
export declare function AuditLogsInvestigationTriggerDeletedV1ToJSONTyped(value?: AuditLogsInvestigationTriggerDeletedV1 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 { AuditLogInvestigationTriggerMetadataV2FromJSON, AuditLogInvestigationTriggerMetadataV2ToJSON, } from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsInvestigationTriggerDeletedV1 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsInvestigationTriggerDeletedV1(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 AuditLogsInvestigationTriggerDeletedV1FromJSON(json) {
|
|
40
|
+
return AuditLogsInvestigationTriggerDeletedV1FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsInvestigationTriggerDeletedV1FromJSONTyped(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': AuditLogInvestigationTriggerMetadataV2FromJSON(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 AuditLogsInvestigationTriggerDeletedV1ToJSON(json) {
|
|
57
|
+
return AuditLogsInvestigationTriggerDeletedV1ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsInvestigationTriggerDeletedV1ToJSONTyped(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': AuditLogInvestigationTriggerMetadataV2ToJSON(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,58 @@
|
|
|
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 { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
13
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
14
|
+
import type { AuditLogInvestigationTriggerMetadataV2 } from './AuditLogInvestigationTriggerMetadataV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsInvestigationTriggerUpdatedV1
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsInvestigationTriggerUpdatedV1 {
|
|
22
|
+
/**
|
|
23
|
+
* The type of log entry that this is
|
|
24
|
+
*/
|
|
25
|
+
action: string;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
actor: AuditLogActorV2;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
context: AuditLogEntryContextV2;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
*/
|
|
37
|
+
metadata: AuditLogInvestigationTriggerMetadataV2;
|
|
38
|
+
/**
|
|
39
|
+
* When the entry occurred
|
|
40
|
+
*/
|
|
41
|
+
occurred_at: Date;
|
|
42
|
+
/**
|
|
43
|
+
* The custom field that was created
|
|
44
|
+
*/
|
|
45
|
+
targets: Array<AuditLogTargetV2>;
|
|
46
|
+
/**
|
|
47
|
+
* Which version the event is
|
|
48
|
+
*/
|
|
49
|
+
version: number;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Check if a given object implements the AuditLogsInvestigationTriggerUpdatedV1 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsInvestigationTriggerUpdatedV1(value: object): value is AuditLogsInvestigationTriggerUpdatedV1;
|
|
55
|
+
export declare function AuditLogsInvestigationTriggerUpdatedV1FromJSON(json: any): AuditLogsInvestigationTriggerUpdatedV1;
|
|
56
|
+
export declare function AuditLogsInvestigationTriggerUpdatedV1FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsInvestigationTriggerUpdatedV1;
|
|
57
|
+
export declare function AuditLogsInvestigationTriggerUpdatedV1ToJSON(json: any): AuditLogsInvestigationTriggerUpdatedV1;
|
|
58
|
+
export declare function AuditLogsInvestigationTriggerUpdatedV1ToJSONTyped(value?: AuditLogsInvestigationTriggerUpdatedV1 | null, ignoreDiscriminator?: boolean): any;
|