@incident-io/sdk 2.36.0 → 2.38.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/AuditLogExtensionConnectorCalledMetadataV5V2.d.ts +74 -0
- package/dist/cjs/models/AuditLogExtensionConnectorCalledMetadataV5V2.js +78 -0
- package/dist/cjs/models/AuditLogOrganisationSettingsUpdatedMetadataV3V2.d.ts +42 -0
- package/dist/cjs/models/AuditLogOrganisationSettingsUpdatedMetadataV3V2.js +54 -0
- package/dist/cjs/models/AuditLogsExtensionConnectorCalledV6.d.ts +58 -0
- package/dist/cjs/models/AuditLogsExtensionConnectorCalledV6.js +79 -0
- package/dist/cjs/models/AuditLogsOrganisationSettingsUpdatedV3.d.ts +58 -0
- package/dist/cjs/models/AuditLogsOrganisationSettingsUpdatedV3.js +79 -0
- package/dist/cjs/models/index.d.ts +4 -0
- package/dist/cjs/models/index.js +4 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/models/AuditLogExtensionConnectorCalledMetadataV5V2.d.ts +74 -0
- package/dist/esm/models/AuditLogExtensionConnectorCalledMetadataV5V2.js +71 -0
- package/dist/esm/models/AuditLogOrganisationSettingsUpdatedMetadataV3V2.d.ts +42 -0
- package/dist/esm/models/AuditLogOrganisationSettingsUpdatedMetadataV3V2.js +47 -0
- package/dist/esm/models/AuditLogsExtensionConnectorCalledV6.d.ts +58 -0
- package/dist/esm/models/AuditLogsExtensionConnectorCalledV6.js +72 -0
- package/dist/esm/models/AuditLogsOrganisationSettingsUpdatedV3.d.ts +58 -0
- package/dist/esm/models/AuditLogsOrganisationSettingsUpdatedV3.js +72 -0
- package/dist/esm/models/index.d.ts +4 -0
- package/dist/esm/models/index.js +4 -0
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,74 @@
|
|
|
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 AuditLogExtensionConnectorCalledMetadataV5V2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogExtensionConnectorCalledMetadataV5V2 {
|
|
18
|
+
/**
|
|
19
|
+
* What decided: the connector's access policy, or a decision pinned on this tool (policy, override)
|
|
20
|
+
*/
|
|
21
|
+
access_source?: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the approval request this call executed, when a person's approval is what permitted it
|
|
24
|
+
*/
|
|
25
|
+
approval_id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* ID of the user who approved the approval request this call executed
|
|
28
|
+
*/
|
|
29
|
+
approved_by?: string;
|
|
30
|
+
/**
|
|
31
|
+
* What calling the tool does to the connected system, as the tool's own server describes it (read, write, destructive, unknown)
|
|
32
|
+
*/
|
|
33
|
+
_class?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The incident the call was made for, when incident-scoped
|
|
36
|
+
*/
|
|
37
|
+
incident_id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The investigation that made the call, when investigation-driven
|
|
40
|
+
*/
|
|
41
|
+
investigation_id?: string;
|
|
42
|
+
/**
|
|
43
|
+
* How the call ended (success, error, denied, requires_approval). A denied call was refused by the connector's access policy and a requires_approval call is waiting for a person's approval; neither reached the connected system
|
|
44
|
+
*/
|
|
45
|
+
outcome: string;
|
|
46
|
+
/**
|
|
47
|
+
* Why the call was allowed, refused or made to wait (allowed, denied_by_rule, disabled, unknown_rule_type, rule_not_found, not_read, no_person_present, not_in_allow_list, requires_approval)
|
|
48
|
+
*/
|
|
49
|
+
reason?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The kind of connector that was called (mcp, http)
|
|
52
|
+
*/
|
|
53
|
+
source_kind: string;
|
|
54
|
+
/**
|
|
55
|
+
* The product surface the call ran from (chat, investigation, explore, mcp_client, verify), or internal for system paths with no surface
|
|
56
|
+
*/
|
|
57
|
+
surface: string;
|
|
58
|
+
/**
|
|
59
|
+
* ID of our stored record of this call, absent for a call that was refused or is waiting for approval
|
|
60
|
+
*/
|
|
61
|
+
telemetry_query_id?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the call was permitted to change the connected system (true, false)
|
|
64
|
+
*/
|
|
65
|
+
write: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the AuditLogExtensionConnectorCalledMetadataV5V2 interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfAuditLogExtensionConnectorCalledMetadataV5V2(value: object): value is AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
71
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2FromJSON(json: any): AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
72
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
73
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2ToJSON(json: any): AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
74
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped(value?: AuditLogExtensionConnectorCalledMetadataV5V2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogExtensionConnectorCalledMetadataV5V2 = instanceOfAuditLogExtensionConnectorCalledMetadataV5V2;
|
|
17
|
+
exports.AuditLogExtensionConnectorCalledMetadataV5V2FromJSON = AuditLogExtensionConnectorCalledMetadataV5V2FromJSON;
|
|
18
|
+
exports.AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped = AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped;
|
|
19
|
+
exports.AuditLogExtensionConnectorCalledMetadataV5V2ToJSON = AuditLogExtensionConnectorCalledMetadataV5V2ToJSON;
|
|
20
|
+
exports.AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped = AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuditLogExtensionConnectorCalledMetadataV5V2 interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuditLogExtensionConnectorCalledMetadataV5V2(value) {
|
|
25
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('source_kind' in value) || value['source_kind'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
if (!('surface' in value) || value['surface'] === undefined)
|
|
30
|
+
return false;
|
|
31
|
+
if (!('write' in value) || value['write'] === undefined)
|
|
32
|
+
return false;
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
function AuditLogExtensionConnectorCalledMetadataV5V2FromJSON(json) {
|
|
36
|
+
return AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
function AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
+
if (json == null) {
|
|
40
|
+
return json;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'access_source': json['access_source'] == null ? undefined : json['access_source'],
|
|
44
|
+
'approval_id': json['approval_id'] == null ? undefined : json['approval_id'],
|
|
45
|
+
'approved_by': json['approved_by'] == null ? undefined : json['approved_by'],
|
|
46
|
+
'_class': json['class'] == null ? undefined : json['class'],
|
|
47
|
+
'incident_id': json['incident_id'] == null ? undefined : json['incident_id'],
|
|
48
|
+
'investigation_id': json['investigation_id'] == null ? undefined : json['investigation_id'],
|
|
49
|
+
'outcome': json['outcome'],
|
|
50
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
51
|
+
'source_kind': json['source_kind'],
|
|
52
|
+
'surface': json['surface'],
|
|
53
|
+
'telemetry_query_id': json['telemetry_query_id'] == null ? undefined : json['telemetry_query_id'],
|
|
54
|
+
'write': json['write'],
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
function AuditLogExtensionConnectorCalledMetadataV5V2ToJSON(json) {
|
|
58
|
+
return AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped(json, false);
|
|
59
|
+
}
|
|
60
|
+
function AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
61
|
+
if (value == null) {
|
|
62
|
+
return value;
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
'access_source': value['access_source'],
|
|
66
|
+
'approval_id': value['approval_id'],
|
|
67
|
+
'approved_by': value['approved_by'],
|
|
68
|
+
'class': value['_class'],
|
|
69
|
+
'incident_id': value['incident_id'],
|
|
70
|
+
'investigation_id': value['investigation_id'],
|
|
71
|
+
'outcome': value['outcome'],
|
|
72
|
+
'reason': value['reason'],
|
|
73
|
+
'source_kind': value['source_kind'],
|
|
74
|
+
'surface': value['surface'],
|
|
75
|
+
'telemetry_query_id': value['telemetry_query_id'],
|
|
76
|
+
'write': value['write'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 AuditLogOrganisationSettingsUpdatedMetadataV3V2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogOrganisationSettingsUpdatedMetadataV3V2 {
|
|
18
|
+
/**
|
|
19
|
+
* The organisation name after the change
|
|
20
|
+
*/
|
|
21
|
+
after_organisation_name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The organisation name before the change
|
|
24
|
+
*/
|
|
25
|
+
before_organisation_name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The default timezone that was set
|
|
28
|
+
*/
|
|
29
|
+
default_timezone?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The number of days incident channel messages are kept for, empty when they are kept indefinitely
|
|
32
|
+
*/
|
|
33
|
+
message_retention_days?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the AuditLogOrganisationSettingsUpdatedMetadataV3V2 interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfAuditLogOrganisationSettingsUpdatedMetadataV3V2(value: object): value is AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
39
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON(json: any): AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
40
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
41
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON(json: any): AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
42
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped(value?: AuditLogOrganisationSettingsUpdatedMetadataV3V2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogOrganisationSettingsUpdatedMetadataV3V2 = instanceOfAuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
17
|
+
exports.AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON = AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON;
|
|
18
|
+
exports.AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped = AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped;
|
|
19
|
+
exports.AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON = AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON;
|
|
20
|
+
exports.AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped = AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the AuditLogOrganisationSettingsUpdatedMetadataV3V2 interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfAuditLogOrganisationSettingsUpdatedMetadataV3V2(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON(json) {
|
|
28
|
+
return AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'after_organisation_name': json['after_organisation_name'] == null ? undefined : json['after_organisation_name'],
|
|
36
|
+
'before_organisation_name': json['before_organisation_name'] == null ? undefined : json['before_organisation_name'],
|
|
37
|
+
'default_timezone': json['default_timezone'] == null ? undefined : json['default_timezone'],
|
|
38
|
+
'message_retention_days': json['message_retention_days'] == null ? undefined : json['message_retention_days'],
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON(json) {
|
|
42
|
+
return AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'after_organisation_name': value['after_organisation_name'],
|
|
50
|
+
'before_organisation_name': value['before_organisation_name'],
|
|
51
|
+
'default_timezone': value['default_timezone'],
|
|
52
|
+
'message_retention_days': value['message_retention_days'],
|
|
53
|
+
};
|
|
54
|
+
}
|
|
@@ -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 { AuditLogExtensionConnectorCalledMetadataV5V2 } from './AuditLogExtensionConnectorCalledMetadataV5V2.js';
|
|
13
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsExtensionConnectorCalledV6
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsExtensionConnectorCalledV6 {
|
|
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: AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
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 AuditLogsExtensionConnectorCalledV6 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsExtensionConnectorCalledV6(value: object): value is AuditLogsExtensionConnectorCalledV6;
|
|
55
|
+
export declare function AuditLogsExtensionConnectorCalledV6FromJSON(json: any): AuditLogsExtensionConnectorCalledV6;
|
|
56
|
+
export declare function AuditLogsExtensionConnectorCalledV6FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsExtensionConnectorCalledV6;
|
|
57
|
+
export declare function AuditLogsExtensionConnectorCalledV6ToJSON(json: any): AuditLogsExtensionConnectorCalledV6;
|
|
58
|
+
export declare function AuditLogsExtensionConnectorCalledV6ToJSONTyped(value?: AuditLogsExtensionConnectorCalledV6 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogsExtensionConnectorCalledV6 = instanceOfAuditLogsExtensionConnectorCalledV6;
|
|
17
|
+
exports.AuditLogsExtensionConnectorCalledV6FromJSON = AuditLogsExtensionConnectorCalledV6FromJSON;
|
|
18
|
+
exports.AuditLogsExtensionConnectorCalledV6FromJSONTyped = AuditLogsExtensionConnectorCalledV6FromJSONTyped;
|
|
19
|
+
exports.AuditLogsExtensionConnectorCalledV6ToJSON = AuditLogsExtensionConnectorCalledV6ToJSON;
|
|
20
|
+
exports.AuditLogsExtensionConnectorCalledV6ToJSONTyped = AuditLogsExtensionConnectorCalledV6ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogExtensionConnectorCalledMetadataV5V2_js_1 = require("./AuditLogExtensionConnectorCalledMetadataV5V2.js");
|
|
23
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
24
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
25
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsExtensionConnectorCalledV6 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsExtensionConnectorCalledV6(value) {
|
|
30
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function AuditLogsExtensionConnectorCalledV6FromJSON(json) {
|
|
47
|
+
return AuditLogsExtensionConnectorCalledV6FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsExtensionConnectorCalledV6FromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'action': json['action'],
|
|
55
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2FromJSON)(json['actor']),
|
|
56
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2FromJSON)(json['context']),
|
|
57
|
+
'metadata': (0, AuditLogExtensionConnectorCalledMetadataV5V2_js_1.AuditLogExtensionConnectorCalledMetadataV5V2FromJSON)(json['metadata']),
|
|
58
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : (0, runtime_js_1.parseDateTime)(json['occurred_at'])),
|
|
59
|
+
'targets': (json['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2FromJSON)),
|
|
60
|
+
'version': json['version'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function AuditLogsExtensionConnectorCalledV6ToJSON(json) {
|
|
64
|
+
return AuditLogsExtensionConnectorCalledV6ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsExtensionConnectorCalledV6ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'action': value['action'],
|
|
72
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2ToJSON)(value['actor']),
|
|
73
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2ToJSON)(value['context']),
|
|
74
|
+
'metadata': (0, AuditLogExtensionConnectorCalledMetadataV5V2_js_1.AuditLogExtensionConnectorCalledMetadataV5V2ToJSON)(value['metadata']),
|
|
75
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
|
|
76
|
+
'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
|
|
77
|
+
'version': value['version'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -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 { AuditLogOrganisationSettingsUpdatedMetadataV3V2 } from './AuditLogOrganisationSettingsUpdatedMetadataV3V2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsOrganisationSettingsUpdatedV3
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsOrganisationSettingsUpdatedV3 {
|
|
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: AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
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 AuditLogsOrganisationSettingsUpdatedV3 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsOrganisationSettingsUpdatedV3(value: object): value is AuditLogsOrganisationSettingsUpdatedV3;
|
|
55
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3FromJSON(json: any): AuditLogsOrganisationSettingsUpdatedV3;
|
|
56
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsOrganisationSettingsUpdatedV3;
|
|
57
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3ToJSON(json: any): AuditLogsOrganisationSettingsUpdatedV3;
|
|
58
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped(value?: AuditLogsOrganisationSettingsUpdatedV3 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* incident.io
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.instanceOfAuditLogsOrganisationSettingsUpdatedV3 = instanceOfAuditLogsOrganisationSettingsUpdatedV3;
|
|
17
|
+
exports.AuditLogsOrganisationSettingsUpdatedV3FromJSON = AuditLogsOrganisationSettingsUpdatedV3FromJSON;
|
|
18
|
+
exports.AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped = AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped;
|
|
19
|
+
exports.AuditLogsOrganisationSettingsUpdatedV3ToJSON = AuditLogsOrganisationSettingsUpdatedV3ToJSON;
|
|
20
|
+
exports.AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped = AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped;
|
|
21
|
+
const runtime_js_1 = require("../runtime.js");
|
|
22
|
+
const AuditLogActorV2_js_1 = require("./AuditLogActorV2.js");
|
|
23
|
+
const AuditLogOrganisationSettingsUpdatedMetadataV3V2_js_1 = require("./AuditLogOrganisationSettingsUpdatedMetadataV3V2.js");
|
|
24
|
+
const AuditLogEntryContextV2_js_1 = require("./AuditLogEntryContextV2.js");
|
|
25
|
+
const AuditLogTargetV2_js_1 = require("./AuditLogTargetV2.js");
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the AuditLogsOrganisationSettingsUpdatedV3 interface.
|
|
28
|
+
*/
|
|
29
|
+
function instanceOfAuditLogsOrganisationSettingsUpdatedV3(value) {
|
|
30
|
+
if (!('action' in value) || value['action'] === undefined)
|
|
31
|
+
return false;
|
|
32
|
+
if (!('actor' in value) || value['actor'] === undefined)
|
|
33
|
+
return false;
|
|
34
|
+
if (!('context' in value) || value['context'] === undefined)
|
|
35
|
+
return false;
|
|
36
|
+
if (!('metadata' in value) || value['metadata'] === undefined)
|
|
37
|
+
return false;
|
|
38
|
+
if (!('occurred_at' in value) || value['occurred_at'] === undefined)
|
|
39
|
+
return false;
|
|
40
|
+
if (!('targets' in value) || value['targets'] === undefined)
|
|
41
|
+
return false;
|
|
42
|
+
if (!('version' in value) || value['version'] === undefined)
|
|
43
|
+
return false;
|
|
44
|
+
return true;
|
|
45
|
+
}
|
|
46
|
+
function AuditLogsOrganisationSettingsUpdatedV3FromJSON(json) {
|
|
47
|
+
return AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped(json, ignoreDiscriminator) {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
'action': json['action'],
|
|
55
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2FromJSON)(json['actor']),
|
|
56
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2FromJSON)(json['context']),
|
|
57
|
+
'metadata': (0, AuditLogOrganisationSettingsUpdatedMetadataV3V2_js_1.AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON)(json['metadata']),
|
|
58
|
+
'occurred_at': (json['occurred_at'] == null ? json['occurred_at'] : (0, runtime_js_1.parseDateTime)(json['occurred_at'])),
|
|
59
|
+
'targets': (json['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2FromJSON)),
|
|
60
|
+
'version': json['version'],
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
function AuditLogsOrganisationSettingsUpdatedV3ToJSON(json) {
|
|
64
|
+
return AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
function AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
67
|
+
if (value == null) {
|
|
68
|
+
return value;
|
|
69
|
+
}
|
|
70
|
+
return {
|
|
71
|
+
'action': value['action'],
|
|
72
|
+
'actor': (0, AuditLogActorV2_js_1.AuditLogActorV2ToJSON)(value['actor']),
|
|
73
|
+
'context': (0, AuditLogEntryContextV2_js_1.AuditLogEntryContextV2ToJSON)(value['context']),
|
|
74
|
+
'metadata': (0, AuditLogOrganisationSettingsUpdatedMetadataV3V2_js_1.AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON)(value['metadata']),
|
|
75
|
+
'occurred_at': value['occurred_at'] == null ? value['occurred_at'] : (0, runtime_js_1.serializeDateTime)(value['occurred_at']),
|
|
76
|
+
'targets': (value['targets'].map(AuditLogTargetV2_js_1.AuditLogTargetV2ToJSON)),
|
|
77
|
+
'version': value['version'],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
@@ -210,6 +210,7 @@ export * from './AuditLogExtensionConnectorCalledMetadataV2.js';
|
|
|
210
210
|
export * from './AuditLogExtensionConnectorCalledMetadataV2V2.js';
|
|
211
211
|
export * from './AuditLogExtensionConnectorCalledMetadataV3V2.js';
|
|
212
212
|
export * from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
|
|
213
|
+
export * from './AuditLogExtensionConnectorCalledMetadataV5V2.js';
|
|
213
214
|
export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
|
|
214
215
|
export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
215
216
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
@@ -223,6 +224,7 @@ export * from './AuditLogOnCallNotificationMethodMetadataV2.js';
|
|
|
223
224
|
export * from './AuditLogOnCallNotificationPauseMetadataV2.js';
|
|
224
225
|
export * from './AuditLogOnCallUpsellRequestedMetadataV2.js';
|
|
225
226
|
export * from './AuditLogOrganisationSettingsUpdatedMetadataV2.js';
|
|
227
|
+
export * from './AuditLogOrganisationSettingsUpdatedMetadataV3V2.js';
|
|
226
228
|
export * from './AuditLogPolicyMetadataV2.js';
|
|
227
229
|
export * from './AuditLogPrivateAlertAccessAttemptedMetadataV2.js';
|
|
228
230
|
export * from './AuditLogPrivateEscalationAccessAttemptedMetadataV2.js';
|
|
@@ -361,6 +363,7 @@ export * from './AuditLogsExtensionConnectorCalledV2.js';
|
|
|
361
363
|
export * from './AuditLogsExtensionConnectorCalledV3.js';
|
|
362
364
|
export * from './AuditLogsExtensionConnectorCalledV4.js';
|
|
363
365
|
export * from './AuditLogsExtensionConnectorCalledV5.js';
|
|
366
|
+
export * from './AuditLogsExtensionConnectorCalledV6.js';
|
|
364
367
|
export * from './AuditLogsExtensionPluginCreatedV1.js';
|
|
365
368
|
export * from './AuditLogsExtensionPluginCreatedV2.js';
|
|
366
369
|
export * from './AuditLogsExtensionPluginDeletedV1.js';
|
|
@@ -502,6 +505,7 @@ export * from './AuditLogsOnCallUpsellRequestedV1.js';
|
|
|
502
505
|
export * from './AuditLogsOnCallUpsellRequestedV2.js';
|
|
503
506
|
export * from './AuditLogsOrganisationSettingsUpdatedV1.js';
|
|
504
507
|
export * from './AuditLogsOrganisationSettingsUpdatedV2.js';
|
|
508
|
+
export * from './AuditLogsOrganisationSettingsUpdatedV3.js';
|
|
505
509
|
export * from './AuditLogsPolicyCreatedV1.js';
|
|
506
510
|
export * from './AuditLogsPolicyCreatedV2.js';
|
|
507
511
|
export * from './AuditLogsPolicyCreatedV3.js';
|
package/dist/cjs/models/index.js
CHANGED
|
@@ -228,6 +228,7 @@ __exportStar(require("./AuditLogExtensionConnectorCalledMetadataV2.js"), exports
|
|
|
228
228
|
__exportStar(require("./AuditLogExtensionConnectorCalledMetadataV2V2.js"), exports);
|
|
229
229
|
__exportStar(require("./AuditLogExtensionConnectorCalledMetadataV3V2.js"), exports);
|
|
230
230
|
__exportStar(require("./AuditLogExtensionConnectorCalledMetadataV4V2.js"), exports);
|
|
231
|
+
__exportStar(require("./AuditLogExtensionConnectorCalledMetadataV5V2.js"), exports);
|
|
231
232
|
__exportStar(require("./AuditLogExtensionPluginCreatedMetadataV2.js"), exports);
|
|
232
233
|
__exportStar(require("./AuditLogExtensionPluginUpdatedMetadataV2.js"), exports);
|
|
233
234
|
__exportStar(require("./AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js"), exports);
|
|
@@ -241,6 +242,7 @@ __exportStar(require("./AuditLogOnCallNotificationMethodMetadataV2.js"), exports
|
|
|
241
242
|
__exportStar(require("./AuditLogOnCallNotificationPauseMetadataV2.js"), exports);
|
|
242
243
|
__exportStar(require("./AuditLogOnCallUpsellRequestedMetadataV2.js"), exports);
|
|
243
244
|
__exportStar(require("./AuditLogOrganisationSettingsUpdatedMetadataV2.js"), exports);
|
|
245
|
+
__exportStar(require("./AuditLogOrganisationSettingsUpdatedMetadataV3V2.js"), exports);
|
|
244
246
|
__exportStar(require("./AuditLogPolicyMetadataV2.js"), exports);
|
|
245
247
|
__exportStar(require("./AuditLogPrivateAlertAccessAttemptedMetadataV2.js"), exports);
|
|
246
248
|
__exportStar(require("./AuditLogPrivateEscalationAccessAttemptedMetadataV2.js"), exports);
|
|
@@ -379,6 +381,7 @@ __exportStar(require("./AuditLogsExtensionConnectorCalledV2.js"), exports);
|
|
|
379
381
|
__exportStar(require("./AuditLogsExtensionConnectorCalledV3.js"), exports);
|
|
380
382
|
__exportStar(require("./AuditLogsExtensionConnectorCalledV4.js"), exports);
|
|
381
383
|
__exportStar(require("./AuditLogsExtensionConnectorCalledV5.js"), exports);
|
|
384
|
+
__exportStar(require("./AuditLogsExtensionConnectorCalledV6.js"), exports);
|
|
382
385
|
__exportStar(require("./AuditLogsExtensionPluginCreatedV1.js"), exports);
|
|
383
386
|
__exportStar(require("./AuditLogsExtensionPluginCreatedV2.js"), exports);
|
|
384
387
|
__exportStar(require("./AuditLogsExtensionPluginDeletedV1.js"), exports);
|
|
@@ -520,6 +523,7 @@ __exportStar(require("./AuditLogsOnCallUpsellRequestedV1.js"), exports);
|
|
|
520
523
|
__exportStar(require("./AuditLogsOnCallUpsellRequestedV2.js"), exports);
|
|
521
524
|
__exportStar(require("./AuditLogsOrganisationSettingsUpdatedV1.js"), exports);
|
|
522
525
|
__exportStar(require("./AuditLogsOrganisationSettingsUpdatedV2.js"), exports);
|
|
526
|
+
__exportStar(require("./AuditLogsOrganisationSettingsUpdatedV3.js"), exports);
|
|
523
527
|
__exportStar(require("./AuditLogsPolicyCreatedV1.js"), exports);
|
|
524
528
|
__exportStar(require("./AuditLogsPolicyCreatedV2.js"), exports);
|
|
525
529
|
__exportStar(require("./AuditLogsPolicyCreatedV3.js"), exports);
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.38.0";
|
package/dist/cjs/version.js
CHANGED
|
@@ -0,0 +1,74 @@
|
|
|
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 AuditLogExtensionConnectorCalledMetadataV5V2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogExtensionConnectorCalledMetadataV5V2 {
|
|
18
|
+
/**
|
|
19
|
+
* What decided: the connector's access policy, or a decision pinned on this tool (policy, override)
|
|
20
|
+
*/
|
|
21
|
+
access_source?: string;
|
|
22
|
+
/**
|
|
23
|
+
* ID of the approval request this call executed, when a person's approval is what permitted it
|
|
24
|
+
*/
|
|
25
|
+
approval_id?: string;
|
|
26
|
+
/**
|
|
27
|
+
* ID of the user who approved the approval request this call executed
|
|
28
|
+
*/
|
|
29
|
+
approved_by?: string;
|
|
30
|
+
/**
|
|
31
|
+
* What calling the tool does to the connected system, as the tool's own server describes it (read, write, destructive, unknown)
|
|
32
|
+
*/
|
|
33
|
+
_class?: string;
|
|
34
|
+
/**
|
|
35
|
+
* The incident the call was made for, when incident-scoped
|
|
36
|
+
*/
|
|
37
|
+
incident_id?: string;
|
|
38
|
+
/**
|
|
39
|
+
* The investigation that made the call, when investigation-driven
|
|
40
|
+
*/
|
|
41
|
+
investigation_id?: string;
|
|
42
|
+
/**
|
|
43
|
+
* How the call ended (success, error, denied, requires_approval). A denied call was refused by the connector's access policy and a requires_approval call is waiting for a person's approval; neither reached the connected system
|
|
44
|
+
*/
|
|
45
|
+
outcome: string;
|
|
46
|
+
/**
|
|
47
|
+
* Why the call was allowed, refused or made to wait (allowed, denied_by_rule, disabled, unknown_rule_type, rule_not_found, not_read, no_person_present, not_in_allow_list, requires_approval)
|
|
48
|
+
*/
|
|
49
|
+
reason?: string;
|
|
50
|
+
/**
|
|
51
|
+
* The kind of connector that was called (mcp, http)
|
|
52
|
+
*/
|
|
53
|
+
source_kind: string;
|
|
54
|
+
/**
|
|
55
|
+
* The product surface the call ran from (chat, investigation, explore, mcp_client, verify), or internal for system paths with no surface
|
|
56
|
+
*/
|
|
57
|
+
surface: string;
|
|
58
|
+
/**
|
|
59
|
+
* ID of our stored record of this call, absent for a call that was refused or is waiting for approval
|
|
60
|
+
*/
|
|
61
|
+
telemetry_query_id?: string;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the call was permitted to change the connected system (true, false)
|
|
64
|
+
*/
|
|
65
|
+
write: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the AuditLogExtensionConnectorCalledMetadataV5V2 interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfAuditLogExtensionConnectorCalledMetadataV5V2(value: object): value is AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
71
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2FromJSON(json: any): AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
72
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
73
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2ToJSON(json: any): AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
74
|
+
export declare function AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped(value?: AuditLogExtensionConnectorCalledMetadataV5V2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,71 @@
|
|
|
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 AuditLogExtensionConnectorCalledMetadataV5V2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogExtensionConnectorCalledMetadataV5V2(value) {
|
|
18
|
+
if (!('outcome' in value) || value['outcome'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
if (!('source_kind' in value) || value['source_kind'] === undefined)
|
|
21
|
+
return false;
|
|
22
|
+
if (!('surface' in value) || value['surface'] === undefined)
|
|
23
|
+
return false;
|
|
24
|
+
if (!('write' in value) || value['write'] === undefined)
|
|
25
|
+
return false;
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
export function AuditLogExtensionConnectorCalledMetadataV5V2FromJSON(json) {
|
|
29
|
+
return AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function AuditLogExtensionConnectorCalledMetadataV5V2FromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if (json == null) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'access_source': json['access_source'] == null ? undefined : json['access_source'],
|
|
37
|
+
'approval_id': json['approval_id'] == null ? undefined : json['approval_id'],
|
|
38
|
+
'approved_by': json['approved_by'] == null ? undefined : json['approved_by'],
|
|
39
|
+
'_class': json['class'] == null ? undefined : json['class'],
|
|
40
|
+
'incident_id': json['incident_id'] == null ? undefined : json['incident_id'],
|
|
41
|
+
'investigation_id': json['investigation_id'] == null ? undefined : json['investigation_id'],
|
|
42
|
+
'outcome': json['outcome'],
|
|
43
|
+
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
44
|
+
'source_kind': json['source_kind'],
|
|
45
|
+
'surface': json['surface'],
|
|
46
|
+
'telemetry_query_id': json['telemetry_query_id'] == null ? undefined : json['telemetry_query_id'],
|
|
47
|
+
'write': json['write'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
export function AuditLogExtensionConnectorCalledMetadataV5V2ToJSON(json) {
|
|
51
|
+
return AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped(json, false);
|
|
52
|
+
}
|
|
53
|
+
export function AuditLogExtensionConnectorCalledMetadataV5V2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
|
+
if (value == null) {
|
|
55
|
+
return value;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
'access_source': value['access_source'],
|
|
59
|
+
'approval_id': value['approval_id'],
|
|
60
|
+
'approved_by': value['approved_by'],
|
|
61
|
+
'class': value['_class'],
|
|
62
|
+
'incident_id': value['incident_id'],
|
|
63
|
+
'investigation_id': value['investigation_id'],
|
|
64
|
+
'outcome': value['outcome'],
|
|
65
|
+
'reason': value['reason'],
|
|
66
|
+
'source_kind': value['source_kind'],
|
|
67
|
+
'surface': value['surface'],
|
|
68
|
+
'telemetry_query_id': value['telemetry_query_id'],
|
|
69
|
+
'write': value['write'],
|
|
70
|
+
};
|
|
71
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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 AuditLogOrganisationSettingsUpdatedMetadataV3V2
|
|
16
|
+
*/
|
|
17
|
+
export interface AuditLogOrganisationSettingsUpdatedMetadataV3V2 {
|
|
18
|
+
/**
|
|
19
|
+
* The organisation name after the change
|
|
20
|
+
*/
|
|
21
|
+
after_organisation_name?: string;
|
|
22
|
+
/**
|
|
23
|
+
* The organisation name before the change
|
|
24
|
+
*/
|
|
25
|
+
before_organisation_name?: string;
|
|
26
|
+
/**
|
|
27
|
+
* The default timezone that was set
|
|
28
|
+
*/
|
|
29
|
+
default_timezone?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The number of days incident channel messages are kept for, empty when they are kept indefinitely
|
|
32
|
+
*/
|
|
33
|
+
message_retention_days?: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the AuditLogOrganisationSettingsUpdatedMetadataV3V2 interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfAuditLogOrganisationSettingsUpdatedMetadataV3V2(value: object): value is AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
39
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON(json: any): AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
40
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
41
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON(json: any): AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
42
|
+
export declare function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped(value?: AuditLogOrganisationSettingsUpdatedMetadataV3V2 | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 AuditLogOrganisationSettingsUpdatedMetadataV3V2 interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAuditLogOrganisationSettingsUpdatedMetadataV3V2(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON(json) {
|
|
21
|
+
return AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'after_organisation_name': json['after_organisation_name'] == null ? undefined : json['after_organisation_name'],
|
|
29
|
+
'before_organisation_name': json['before_organisation_name'] == null ? undefined : json['before_organisation_name'],
|
|
30
|
+
'default_timezone': json['default_timezone'] == null ? undefined : json['default_timezone'],
|
|
31
|
+
'message_retention_days': json['message_retention_days'] == null ? undefined : json['message_retention_days'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON(json) {
|
|
35
|
+
return AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'after_organisation_name': value['after_organisation_name'],
|
|
43
|
+
'before_organisation_name': value['before_organisation_name'],
|
|
44
|
+
'default_timezone': value['default_timezone'],
|
|
45
|
+
'message_retention_days': value['message_retention_days'],
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -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 { AuditLogExtensionConnectorCalledMetadataV5V2 } from './AuditLogExtensionConnectorCalledMetadataV5V2.js';
|
|
13
|
+
import type { AuditLogActorV2 } from './AuditLogActorV2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsExtensionConnectorCalledV6
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsExtensionConnectorCalledV6 {
|
|
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: AuditLogExtensionConnectorCalledMetadataV5V2;
|
|
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 AuditLogsExtensionConnectorCalledV6 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsExtensionConnectorCalledV6(value: object): value is AuditLogsExtensionConnectorCalledV6;
|
|
55
|
+
export declare function AuditLogsExtensionConnectorCalledV6FromJSON(json: any): AuditLogsExtensionConnectorCalledV6;
|
|
56
|
+
export declare function AuditLogsExtensionConnectorCalledV6FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsExtensionConnectorCalledV6;
|
|
57
|
+
export declare function AuditLogsExtensionConnectorCalledV6ToJSON(json: any): AuditLogsExtensionConnectorCalledV6;
|
|
58
|
+
export declare function AuditLogsExtensionConnectorCalledV6ToJSONTyped(value?: AuditLogsExtensionConnectorCalledV6 | 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 { AuditLogExtensionConnectorCalledMetadataV5V2FromJSON, AuditLogExtensionConnectorCalledMetadataV5V2ToJSON, } from './AuditLogExtensionConnectorCalledMetadataV5V2.js';
|
|
16
|
+
import { AuditLogActorV2FromJSON, AuditLogActorV2ToJSON, } from './AuditLogActorV2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsExtensionConnectorCalledV6 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsExtensionConnectorCalledV6(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 AuditLogsExtensionConnectorCalledV6FromJSON(json) {
|
|
40
|
+
return AuditLogsExtensionConnectorCalledV6FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsExtensionConnectorCalledV6FromJSONTyped(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': AuditLogExtensionConnectorCalledMetadataV5V2FromJSON(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 AuditLogsExtensionConnectorCalledV6ToJSON(json) {
|
|
57
|
+
return AuditLogsExtensionConnectorCalledV6ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsExtensionConnectorCalledV6ToJSONTyped(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': AuditLogExtensionConnectorCalledMetadataV5V2ToJSON(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 { AuditLogOrganisationSettingsUpdatedMetadataV3V2 } from './AuditLogOrganisationSettingsUpdatedMetadataV3V2.js';
|
|
14
|
+
import type { AuditLogEntryContextV2 } from './AuditLogEntryContextV2.js';
|
|
15
|
+
import type { AuditLogTargetV2 } from './AuditLogTargetV2.js';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface AuditLogsOrganisationSettingsUpdatedV3
|
|
20
|
+
*/
|
|
21
|
+
export interface AuditLogsOrganisationSettingsUpdatedV3 {
|
|
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: AuditLogOrganisationSettingsUpdatedMetadataV3V2;
|
|
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 AuditLogsOrganisationSettingsUpdatedV3 interface.
|
|
53
|
+
*/
|
|
54
|
+
export declare function instanceOfAuditLogsOrganisationSettingsUpdatedV3(value: object): value is AuditLogsOrganisationSettingsUpdatedV3;
|
|
55
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3FromJSON(json: any): AuditLogsOrganisationSettingsUpdatedV3;
|
|
56
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped(json: any, ignoreDiscriminator: boolean): AuditLogsOrganisationSettingsUpdatedV3;
|
|
57
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3ToJSON(json: any): AuditLogsOrganisationSettingsUpdatedV3;
|
|
58
|
+
export declare function AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped(value?: AuditLogsOrganisationSettingsUpdatedV3 | 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 { AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON, AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON, } from './AuditLogOrganisationSettingsUpdatedMetadataV3V2.js';
|
|
17
|
+
import { AuditLogEntryContextV2FromJSON, AuditLogEntryContextV2ToJSON, } from './AuditLogEntryContextV2.js';
|
|
18
|
+
import { AuditLogTargetV2FromJSON, AuditLogTargetV2ToJSON, } from './AuditLogTargetV2.js';
|
|
19
|
+
/**
|
|
20
|
+
* Check if a given object implements the AuditLogsOrganisationSettingsUpdatedV3 interface.
|
|
21
|
+
*/
|
|
22
|
+
export function instanceOfAuditLogsOrganisationSettingsUpdatedV3(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 AuditLogsOrganisationSettingsUpdatedV3FromJSON(json) {
|
|
40
|
+
return AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
export function AuditLogsOrganisationSettingsUpdatedV3FromJSONTyped(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': AuditLogOrganisationSettingsUpdatedMetadataV3V2FromJSON(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 AuditLogsOrganisationSettingsUpdatedV3ToJSON(json) {
|
|
57
|
+
return AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped(json, false);
|
|
58
|
+
}
|
|
59
|
+
export function AuditLogsOrganisationSettingsUpdatedV3ToJSONTyped(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': AuditLogOrganisationSettingsUpdatedMetadataV3V2ToJSON(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
|
+
}
|
|
@@ -210,6 +210,7 @@ export * from './AuditLogExtensionConnectorCalledMetadataV2.js';
|
|
|
210
210
|
export * from './AuditLogExtensionConnectorCalledMetadataV2V2.js';
|
|
211
211
|
export * from './AuditLogExtensionConnectorCalledMetadataV3V2.js';
|
|
212
212
|
export * from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
|
|
213
|
+
export * from './AuditLogExtensionConnectorCalledMetadataV5V2.js';
|
|
213
214
|
export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
|
|
214
215
|
export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
215
216
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
@@ -223,6 +224,7 @@ export * from './AuditLogOnCallNotificationMethodMetadataV2.js';
|
|
|
223
224
|
export * from './AuditLogOnCallNotificationPauseMetadataV2.js';
|
|
224
225
|
export * from './AuditLogOnCallUpsellRequestedMetadataV2.js';
|
|
225
226
|
export * from './AuditLogOrganisationSettingsUpdatedMetadataV2.js';
|
|
227
|
+
export * from './AuditLogOrganisationSettingsUpdatedMetadataV3V2.js';
|
|
226
228
|
export * from './AuditLogPolicyMetadataV2.js';
|
|
227
229
|
export * from './AuditLogPrivateAlertAccessAttemptedMetadataV2.js';
|
|
228
230
|
export * from './AuditLogPrivateEscalationAccessAttemptedMetadataV2.js';
|
|
@@ -361,6 +363,7 @@ export * from './AuditLogsExtensionConnectorCalledV2.js';
|
|
|
361
363
|
export * from './AuditLogsExtensionConnectorCalledV3.js';
|
|
362
364
|
export * from './AuditLogsExtensionConnectorCalledV4.js';
|
|
363
365
|
export * from './AuditLogsExtensionConnectorCalledV5.js';
|
|
366
|
+
export * from './AuditLogsExtensionConnectorCalledV6.js';
|
|
364
367
|
export * from './AuditLogsExtensionPluginCreatedV1.js';
|
|
365
368
|
export * from './AuditLogsExtensionPluginCreatedV2.js';
|
|
366
369
|
export * from './AuditLogsExtensionPluginDeletedV1.js';
|
|
@@ -502,6 +505,7 @@ export * from './AuditLogsOnCallUpsellRequestedV1.js';
|
|
|
502
505
|
export * from './AuditLogsOnCallUpsellRequestedV2.js';
|
|
503
506
|
export * from './AuditLogsOrganisationSettingsUpdatedV1.js';
|
|
504
507
|
export * from './AuditLogsOrganisationSettingsUpdatedV2.js';
|
|
508
|
+
export * from './AuditLogsOrganisationSettingsUpdatedV3.js';
|
|
505
509
|
export * from './AuditLogsPolicyCreatedV1.js';
|
|
506
510
|
export * from './AuditLogsPolicyCreatedV2.js';
|
|
507
511
|
export * from './AuditLogsPolicyCreatedV3.js';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -212,6 +212,7 @@ export * from './AuditLogExtensionConnectorCalledMetadataV2.js';
|
|
|
212
212
|
export * from './AuditLogExtensionConnectorCalledMetadataV2V2.js';
|
|
213
213
|
export * from './AuditLogExtensionConnectorCalledMetadataV3V2.js';
|
|
214
214
|
export * from './AuditLogExtensionConnectorCalledMetadataV4V2.js';
|
|
215
|
+
export * from './AuditLogExtensionConnectorCalledMetadataV5V2.js';
|
|
215
216
|
export * from './AuditLogExtensionPluginCreatedMetadataV2.js';
|
|
216
217
|
export * from './AuditLogExtensionPluginUpdatedMetadataV2.js';
|
|
217
218
|
export * from './AuditLogHrisTimeOffPolicyUpdatedMetadataV2.js';
|
|
@@ -225,6 +226,7 @@ export * from './AuditLogOnCallNotificationMethodMetadataV2.js';
|
|
|
225
226
|
export * from './AuditLogOnCallNotificationPauseMetadataV2.js';
|
|
226
227
|
export * from './AuditLogOnCallUpsellRequestedMetadataV2.js';
|
|
227
228
|
export * from './AuditLogOrganisationSettingsUpdatedMetadataV2.js';
|
|
229
|
+
export * from './AuditLogOrganisationSettingsUpdatedMetadataV3V2.js';
|
|
228
230
|
export * from './AuditLogPolicyMetadataV2.js';
|
|
229
231
|
export * from './AuditLogPrivateAlertAccessAttemptedMetadataV2.js';
|
|
230
232
|
export * from './AuditLogPrivateEscalationAccessAttemptedMetadataV2.js';
|
|
@@ -363,6 +365,7 @@ export * from './AuditLogsExtensionConnectorCalledV2.js';
|
|
|
363
365
|
export * from './AuditLogsExtensionConnectorCalledV3.js';
|
|
364
366
|
export * from './AuditLogsExtensionConnectorCalledV4.js';
|
|
365
367
|
export * from './AuditLogsExtensionConnectorCalledV5.js';
|
|
368
|
+
export * from './AuditLogsExtensionConnectorCalledV6.js';
|
|
366
369
|
export * from './AuditLogsExtensionPluginCreatedV1.js';
|
|
367
370
|
export * from './AuditLogsExtensionPluginCreatedV2.js';
|
|
368
371
|
export * from './AuditLogsExtensionPluginDeletedV1.js';
|
|
@@ -504,6 +507,7 @@ export * from './AuditLogsOnCallUpsellRequestedV1.js';
|
|
|
504
507
|
export * from './AuditLogsOnCallUpsellRequestedV2.js';
|
|
505
508
|
export * from './AuditLogsOrganisationSettingsUpdatedV1.js';
|
|
506
509
|
export * from './AuditLogsOrganisationSettingsUpdatedV2.js';
|
|
510
|
+
export * from './AuditLogsOrganisationSettingsUpdatedV3.js';
|
|
507
511
|
export * from './AuditLogsPolicyCreatedV1.js';
|
|
508
512
|
export * from './AuditLogsPolicyCreatedV2.js';
|
|
509
513
|
export * from './AuditLogsPolicyCreatedV3.js';
|
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "2.
|
|
1
|
+
export declare const VERSION = "2.38.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.38.0";
|